/* --- VARIABLES Y RESET --- */
:root {
    /* Paleta de Colores */
    --primary-color: #0056b3;
    --primary-dark: #003d82;
    --accent-color: #00a8e8;
    --secondary-color: #fbc02d; /* Dorado para detalles */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --error: #e74c3c;
    --success: #2ecc71;

    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Espaciado y UI */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: --font-body;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILIDADES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { color: var(--accent-color); }

.logo-icon {
    width: 24px;
    height: 24px;
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    background: url('https://i0.wp.com/travelandleisure-es.com/wp-content/uploads/2024/06/vuelos-baratos.jpg?fit=1300%2C915&ssl=1') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding-top: var(--header-height);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-subtitle {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--secondary-color);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- DESTINOS (Grid) --- */
.grid-destinos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-destino {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.card-destino:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-img-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-destino:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.card-body {
    padding: 25px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.rating { color: #f1c40f; }

.card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text .arrow { transition: transform 0.3s; }
.btn-text:hover .arrow { transform: translateX(5px); }

/* --- OFERTAS (Flex + Banner) --- */
.ofertas-layout {
    display: flex;
    gap: 30px;
    height: 450px;
}

.oferta-banner {
    flex: 2;
    display: flex;
    background-color: var(--primary-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    color: var(--white);
    position: relative;
}

.oferta-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.oferta-img {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.badge-oferta {
    background-color: var(--error);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 15px;
}

.oferta-content h3 { font-size: 2rem; margin-bottom: 10px; }
.oferta-content p { margin-bottom: 20px; opacity: 0.9; }

.precios {
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.precio-antes {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 10px;
}

.precio-ahora {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-dark);
    align-self: flex-start;
}

.btn-white:hover { background-color: var(--secondary-color); color: var(--text-dark); }

.ofertas-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mini-banner {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.mini-banner .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.mini-banner:hover .bg-img { transform: scale(1.05); }

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.mini-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: var(--white);
}

.link-arrow {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- PAQUETES (Box Layout) --- */
.bg-light { background-color: var(--bg-light); }

.grid-paquetes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.paquete-box {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.paquete-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.paquete-header { height: 180px; }
.paquete-header img { width: 100%; height: 100%; object-fit: cover; }

.paquete-body { padding: 20px; }
.paquete-body h4 { font-size: 1.2rem; margin-bottom: 8px; }
.paquete-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; }

.paquete-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.paquete-icons span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #eef4fc;
    padding: 4px 8px;
    border-radius: 4px;
}

.paquete-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.paquete-footer .precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* --- TESTIMONIOS (Carrusel) --- */
.testimonios {
    background-color: var(--white);
    overflow: hidden;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.carousel-track {
    position: relative;
    height: 300px; /* Ajustar según contenido */
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
    transform: translateX(50px);
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.user-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
}

.user-img img { width: 100%; height: 100%; object-fit: cover; }

.stars { color: #f1c40f; margin-bottom: 15px; letter-spacing: 2px; }

.opinion {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
}

.user-name { font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 5px; }
.user-role { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.control-btn {
    background: transparent;
    border: 1px solid var(--text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.control-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* --- CONTACTO --- */
.contacto {
    background-color: var(--primary-dark);
    color: var(--white);
}

.contacto-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.contacto-info { flex: 1; min-width: 300px; }

.contacto-info h3 { font-size: 2.5rem; margin-bottom: 20px; }
.contacto-info p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }

.info-list li { margin-bottom: 15px; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }

.contacto-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    transition: border 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-block { width: 100%; }

.error-msg { color: var(--error); font-size: 0.8rem; margin-top: 5px; display: block; min-height: 18px; }
.success-msg { color: var(--success); text-align: center; margin-top: 15px; font-weight: 600; display: none; }

/* --- FOOTER --- */
.footer {
    background-color: #111;
    color: #aaa;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo { color: var(--white); margin-bottom: 15px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }

.social-links { display: flex; gap: 15px; }
.social-links a { color: var(--white); font-weight: 700; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- ANIMACIONES --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: all 0.6s ease-out; }

.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .ofertas-layout { flex-direction: column; height: auto; }
    .oferta-banner { height: 400px; }
    .ofertas-grid { flex-direction: row; height: 250px; }
}

@media (max-width: 768px) {
    .hamburger { display: block; z-index: 1001; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s ease;
    }

    .nav-menu.active { right: 0; }
    .nav-list { flex-direction: column; gap: 40px; text-align: center; }
    
    /* Hamburguesa animada */
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .btn-nav { display: none; } /* Ocultar botón en móvil para simplificar */

    .grid-destinos, .grid-paquetes, .footer-grid { grid-template-columns: 1fr; }
    .ofertas-grid { flex-direction: column; }
    .hero-title { font-size: 2.2rem; }
    
    .oferta-banner { flex-direction: column-reverse; height: auto; }
    .oferta-img { height: 200px; clip-path: none; }
}

.destinos-page {
    padding-top: calc(var(--header-height) + 20px);
    background: radial-gradient(1200px 600px at 10% 10%, #f0f7ff 0%, #ffffff 60%);
}

.destinos-hero {
    background: linear-gradient(135deg, rgba(0,168,232,0.15), rgba(0,86,179,0.15));
    padding: 60px 0 30px;
}

.destinos-hero-inner h1 {
    font-size: 3rem;
    color: var(--primary-dark);
}

.destinos-hero-inner p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.cards-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.mosaic-card {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.mosaic-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.mosaic-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.mosaic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .6s ease;
}

.mosaic-card:hover .mosaic-image img { transform: scale(1.08); }

.mosaic-price {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(251,192,45,0.95);
    color: #111;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
}

.mosaic-content {
    padding: 22px;
}

.mosaic-content h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.mosaic-content p {
    color: var(--text-light);
    font-size: .95rem;
    margin-bottom: 16px;
}

.mosaic-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    font-weight: 700;
}

.mosaic-btn:hover { filter: brightness(1.05); }

@media (max-width: 768px) {
    .destinos-hero-inner h1 { font-size: 2.2rem; }
    .mosaic-image { height: 200px; }
}

.offers-page {
    padding-top: calc(var(--header-height) + 20px);
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.offers-hero {
    background: linear-gradient(135deg, rgba(251,192,45,0.15), rgba(0,168,232,0.15));
    padding: 60px 0 30px;
}

.offers-hero-inner h1 {
    font-size: 3rem;
    color: var(--primary-dark);
}

.offers-hero-inner p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.offer-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 18px 36px rgba(0,0,0,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
}

.offer-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(0,0,0,0.08); }

.offer-figure { position: relative; height: 220px; overflow: hidden; }
.offer-figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s ease; }
.offer-card:hover .offer-figure img { transform: scale(1.08); }

.offer-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(0,86,179,0.95);
    color: #fff;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
}

.offer-content { padding: 22px; }
.offer-title { color: var(--primary-dark); font-size: 1.25rem; margin-bottom: 8px; }
.offer-desc { color: var(--text-light); font-size: .95rem; margin-bottom: 16px; }

.offer-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font-family: var(--font-heading); }
.offer-old { text-decoration: line-through; opacity: .6; }
.offer-now { font-size: 1.5rem; font-weight: 800; color: var(--secondary-color); }

.offer-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--accent-color), var(--primary-color)); color: var(--white); font-weight: 700; }
.offer-btn:hover { filter: brightness(1.05); }

@media (max-width: 768px) {
    .offers-hero-inner h1 { font-size: 2.2rem; }
    .offer-figure { height: 200px; }
}

.packages-page {
    padding-top: calc(var(--header-height) + 20px);
    background: linear-gradient(180deg, #ffffff 0%, #eef4fc 100%);
}

.packages-hero {
    background: linear-gradient(135deg, rgba(0,86,179,0.12), rgba(0,168,232,0.12));
    padding: 60px 0 30px;
}

.packages-hero-inner h1 {
    font-size: 3rem;
    color: var(--primary-dark);
}

.packages-hero-inner p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.pack-card {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    box-shadow: 0 18px 36px rgba(0,0,0,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
}

.pack-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(0,0,0,0.08); }

.pack-figure { position: relative; height: 220px; overflow: hidden; }
.pack-figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s ease; }
.pack-card:hover .pack-figure img { transform: scale(1.08); }

.pack-ribbon {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(251,192,45,0.95);
    color: #111;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
}

.pack-content { padding: 22px; }
.pack-content h3 { color: var(--primary-dark); font-size: 1.25rem; margin-bottom: 8px; }
.pack-content p { color: var(--text-light); font-size: .95rem; margin-bottom: 16px; }

.pack-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; font-family: var(--font-heading); }
.price-old { text-decoration: line-through; opacity: .6; }
.price-now { font-size: 1.5rem; font-weight: 800; color: var(--secondary-color); }

.pack-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--accent-color), var(--primary-color)); color: var(--white); font-weight: 700; }
.pack-btn:hover { filter: brightness(1.05); }

@media (max-width: 768px) {
    .packages-hero-inner h1 { font-size: 2.2rem; }
    .pack-figure { height: 200px; }
}

.contact-page {
    padding-top: calc(var(--header-height) + 20px);
    background: radial-gradient(1200px 600px at 90% 10%, #f7fbff 0%, #ffffff 65%);
}

.contact-hero {
    background: linear-gradient(135deg, rgba(0,86,179,0.12), rgba(251,192,45,0.12));
    padding: 60px 0 30px;
}

.contact-hero-inner h1 { font-size: 3rem; color: var(--primary-dark); }
.contact-hero-inner p { margin-top: 10px; color: var(--text-light); font-size: 1.1rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 32px;
    margin-top: 30px;
}

.contact-card {
    background: linear-gradient(180deg, #ffffff, #f7fbff);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.06);
    overflow: hidden;
}

.contact-card-inner { padding: 28px; }
.contact-card-inner h3 { color: var(--primary-dark); font-size: 1.6rem; margin-bottom: 12px; }
.contact-list li { margin-bottom: 12px; font-size: 1rem; }
.contact-list a { color: var(--primary-color); font-weight: 700; }

.form-card {
    background: rgba(255,255,255,0.75);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.06);
    padding: 28px;
}

.form-card .contacto-form { box-shadow: none; padding: 0; border-radius: 0; }

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .contact-hero-inner h1 { font-size: 2.2rem; }
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.modal.active { display: flex; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 90%;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    display: flex;
    gap: 20px;
    align-items: center;
}

.modal-img {
    width: 50%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .modal-body { flex-direction: column; }
    .modal-img { width: 100%; height: 220px; }
}
