/* 🎯 Sección de Paquetes */
.paquetes {
    text-align: center;
    margin: 80px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.paquetes h2 {
    color: var(--azul);
    font-size: 2rem;
    margin-bottom: 10px;
}

.paquetes .subtitulo {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 🃏 Grid de Paquetes */
.paquetes .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* 🎨 Card estándar */
.paquetes .card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paquetes .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.paquetes .card h3 {
    color: var(--azul);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.paquetes .card p {
    color: #444;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Botón general */
.paquetes .card .btn,
.card-bg .btn {
    background: var(--dorado);
    color: var(--azul);
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.paquetes .card .btn:hover,
.card-bg .btn:hover {
    background: #d4ac0d;
    color: #fff;
    transform: scale(1.05);
}

/* 🖼️ Cards con fondo */
.card-bg {
    position: relative;
    height: 320px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.card-bg .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.card-bg .card-content {
    position: relative;
    padding: 20px;
    text-align: left;
    z-index: 2;
}

.card-bg h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card-bg p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Forzar color claro dentro de las cards */
.card-bg p,
.card-bg .precio {
    color: #ffffff !important; /* blanco puro */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8); /* sombra para contraste */
}

.card-bg h3 {
    color: #57bcff !important; /* blanco puro */
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8); /* sombra para contraste */
}


/* Precio */
.precio {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 12px;
}
.precio span {
    font-weight: normal;
    color: #ddd;
    font-size: 0.9rem;
}

/* 🪟 Modal */
.modal {
    display: none; /* Oculto al inicio */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh; /* límite en altura */
    overflow-y: auto; /* scroll vertical si se necesita */
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--azul);
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #444;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Botón del modal */
.modal-content .btn {
    width: 100%;
    padding: 12px;
    background: var(--dorado);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.modal-content .btn:hover {
    background: #d4ac0d;
}

/* 📌 Detalles del paquete */
.detalle-paquete {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #444;
}

.precio-paquete {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dorado);
    margin-bottom: 20px;
}

/* 📌 Detalles del pago */
.pago-detalles {
    background: #f9f9f9;
    border-left: 4px solid var(--dorado);
    padding: 12px;
    margin: 10px 0 20px;
    font-size: 0.95rem;
    color: #333;
    border-radius: 6px;
}

.pago-detalles input {
    margin-top: 8px;
}

/* Modal de detalles */
.detalles-content {
    max-width: 600px;
    text-align: center;
}
.detalle-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.close-detalles {
    position: absolute;
    top: 15px; 
    right: 20px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* ❌ Botón cerrar */
.close {
    position: absolute;
    top: 15px; 
    right: 20px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

/* ✨ Animación */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95);}
    to { opacity: 1; transform: scale(1);}
}