/* =========================
           VARIABLES
        ========================= */

        :root {
            --blue: #0877b9;
            --blue-dark: #075487;
            --blue-light: #eaf7fd;

            --green: #159b70;
            --green-dark: #087154;

            --orange: #ff9f1c;

            --text: #17212b;
            --text-light: #64727d;

            --white: #ffffff;
            --light: #f7fafc;

            --border: #e7edf1;

            --shadow: 0 20px 50px rgba(15, 49, 72, 0.10);

            --radius: 20px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: "DM Sans", sans-serif;
            color: var(--text);
            background: var(--white);
            line-height: 1.6;
        }

        img {
            width: 100%;
            display: block;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            width: min(1180px, 90%);
            margin: auto;
        }


        /* =========================
           HEADER
        ========================= */

        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;

            background: #fff;
            backdrop-filter: blur(14px);

            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .navbar {
            height: 82px;

            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo img {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }

        .logo-text {
            line-height: 1.05;
        }

        .logo-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--blue-dark);
        }

        .logo-subtitle {
            font-size: 16px;
            letter-spacing: 2px;
            color: var(--green);
            font-weight: 600;
        }

        .logo-slogan {
            font-size: 16px;
            color: var(--text-light);
            font-style: italic;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 34px;
        }

        .nav-links a {
            font-size: 14px;
            font-weight: 600;
            color: #35434d;
            transition: .25s;
        }

        .nav-links a:hover {
            color: var(--blue);
        }

        .nav-cta {
            background: var(--blue);
            color: white !important;

            padding: 12px 21px;
            border-radius: 100px;

            box-shadow: 0 8px 20px rgba(8,119,185,.22);
        }

        .nav-cta:hover {
            background: var(--blue-dark);
            transform: translateY(-2px);
        }


        /* =========================
           HERO
        ========================= */

        .hero {
            height: 100vh;
            max-height: 750px;
            padding-top: 82px;

            position: relative;
            overflow: hidden;

            display: flex;
            align-items: center;
        }

        .hero-bg {
            position: absolute;
            inset: 0;

            z-index: -2;
            object-fit: bottom;

            pointer-events: none;
        }

        .hero-bg video {
            pointer-events: none;
        }

        .hero::after {
            content: "";
            position: absolute;

            width: 500px;
            height: 500px;

            right: -200px;
            bottom: -300px;

            background: rgba(21,155,112,.35);

            border-radius: 50%;
            filter: blur(80px);

            z-index: -1;
        }

        .hero-content {
            max-width: 650px;
            color: white;
        }

        .hero-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;

            padding: 8px 15px;

            border: 1px solid rgba(255,255,255,.35);
            background: rgba(255,255,255,.12);
            backdrop-filter: blur(10px);

            border-radius: 100px;

            font-size: 13px;
            font-weight: 600;

            margin-bottom: 25px;
        }

        .hero-tag span {
            width: 7px;
            height: 7px;

            background: #43d99a;
            border-radius: 50%;
        }

        .hero h1 {
            font-family: "Playfair Display", serif;

            font-size: clamp(48px, 6vw, 76px);
            line-height: 1.04;

            font-weight: 600;

            margin-bottom: 25px;
        }

        .hero h1 em {
            color: #7ee0bc;
            font-style: normal;
        }

        .hero p {
            max-width: 550px;

            font-size: 18px;
            line-height: 1.7;

            color: rgba(255,255,255,.88);

            margin-bottom: 34px;
        }

        .hero-buttons {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;

            padding: 15px 25px;

            border-radius: 100px;

            font-weight: 700;
            font-size: 14px;

            transition: .25s;
        }

        .btn-primary {
            background: var(--green);
            color: white;

            box-shadow: 0 12px 30px rgba(21,155,112,.30);
        }

        .btn-primary:hover {
            background: var(--green-dark);
            transform: translateY(-3px);
        }

        .btn-outline {
            border: 1px solid rgba(255,255,255,.5);
            color: white;
            background: rgba(255,255,255,.08);
            backdrop-filter: blur(8px);
        }

        .btn-outline:hover {
            background: white;
            color: var(--blue-dark);
        }

/* =========================
   FLOATING SEARCH CARD
========================= */

.search-card {
    position: absolute;
    bottom: 165px;
    right: 7%;
    z-index: 5;

    width: 460px;
    max-width: 90%;

    padding: 25px;

    background: #fff;
    border-radius: 18px;

    box-shadow: var(--shadow);
}

.search-card-title {
    margin-bottom: 20px;

    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.search-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.search-card .field {
    display: flex;
    flex-direction: column;
    min-width: 0;

    padding: 11px 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #fff;

    transition: border-color .2s, box-shadow .2s;
}

.search-card .field:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 119, 185, .09);
}

.search-card .field label {
    display: block;
    margin-bottom: 5px;

    color: var(--text-light);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.search-card .field input,
.search-card .field select {
    display: block;
    width: 100%;
    min-width: 0;

    padding: 0;
    margin: 0;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--text);

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.search-card .field input::placeholder {
    color: #9aa5ad;
    font-weight: 400;
}

.search-card .field select {
    cursor: pointer;
}

.search-card .field select:invalid {
    color: #9aa5ad;
}

.search-button {
    display: block;
    width: 100%;
    min-height: 46px;

    margin-top: 16px;
    padding: 13px 16px;

    border: 0;
    border-radius: 10px;

    background: var(--blue);
    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: background .25s, transform .25s;
}

.search-button:hover {
    background: var(--blue-dark);
}

.search-button:active {
    transform: scale(.99);
}


        /* =========================
           TRUST BAR
        ========================= */

        .trust {
            padding: 105px 0 55px;
            background: white;
        }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(3,1fr);
            gap: 30px;
        }

        .trust-item {
            display: flex;
            gap: 15px;
            align-items: flex-start;
        }

        .trust-icon {
            min-width: 48px;
            height: 48px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 14px;

            background: var(--blue-light);
            color: var(--blue);

            font-size: 20px;
        }

        .trust-item h3 {
            font-size: 15px;
            margin-bottom: 3px;
        }

        .trust-item p {
            font-size: 13px;
            color: var(--text-light);
        }


        /* =========================
           SECTION GENERAL
        ========================= */

        section {
            padding: 100px 0;
        }

        .section-header {
            text-align: center;
            max-width: 650px;

            margin: 0 auto 50px;
        }

        .section-label {
            color: var(--green);
            text-transform: uppercase;

            letter-spacing: 2px;
            font-size: 11px;
            font-weight: 700;

            margin-bottom: 12px;
        }

        .section-header h2 {
            font-family: "Playfair Display", serif;

            font-size: clamp(36px, 4vw, 50px);
            line-height: 1.15;

            margin-bottom: 15px;
        }

        .section-header p {
            color: var(--text-light);
        }


        /* =========================
           DESTINATIONS
        ========================= */

        .destinations {
            background: var(--light);
        }

        .destination-grid {
            display: grid;

            grid-template-columns: 1.35fr 1fr 1fr;

            grid-template-rows: 250px 250px;

            gap: 18px;
        }

        .destination {
            position: relative;
            overflow: hidden;

            border-radius: var(--radius);
        }

        .destination:first-child {
            grid-row: span 2;
        }

        .destination:nth-child(6) {
            max-height: 250px;
        }

        .destination:nth-child(7) {
            grid-column: span 1;
            max-height: 250px;
        }

        .destination img {
            width: 100%;
            height: 100%;

            object-fit: cover;

            transition: transform .3s;
        }

        .destination:hover img {
            transform: scale(1.1);
        }

        .destination::after {
            content: "";

            position: absolute;
            inset: 0;

            background: linear-gradient(
                to top,
                rgba(0,0,0,.72),
                transparent 60%
            );
        }

        .destination-info {
            position: absolute;

            left: 25px;
            right: 25px;
            bottom: 22px;

            color: white;

            z-index: 2;
        }

        .destination-info span {
            font-size: 11px;
            opacity: .8;
        }

        .destination-info h3 {
            font-family: "Playfair Display", serif;
            font-size: 27px;
        }


        /* =========================
           ABOUT
        ========================= */

        .about {
            background: var(--light);
        }

        .about-grid {
            display: grid;

            grid-template-columns: 1fr 1fr;

            gap: 80px;

            align-items: center;
        }

        .about-image {
            height: 530px;

            border-radius: 30px;

            overflow: hidden;

            position: relative;
        }

        .about-image img {
            height: 100%;
            object-fit: cover;
        }

        .about-badge {
            position: absolute;

            bottom: 25px;
            left: 25px;

            padding: 18px 22px;

            background: white;

            border-radius: 15px;

            box-shadow: var(--shadow);
        }

        .about-badge strong {
            display: block;
            font-size: 22px;
            color: var(--blue);
        }

        .about-badge span {
            font-size: 12px;
            color: var(--text-light);
        }

        .about-content .section-label {
            text-align: left;
        }

        .about-content h2 {
            font-family: "Playfair Display", serif;

            font-size: clamp(38px, 4vw, 52px);

            line-height: 1.12;

            margin-bottom: 22px;
        }

        .about-content p {
            color: var(--text-light);

            margin-bottom: 17px;
        }


        /* =========================
           CTA
        ========================= */

        .cta {
            padding: 0 0 100px;
        }

        .cta-box {
            position: relative;
            overflow: hidden;

            padding: 70px;

            border-radius: 30px;

            background:
                linear-gradient(
                    120deg,
                    #075487,
                    #0877b9
                );

            color: white;
        }

        .cta-box::after {
            content: "";

            position: absolute;

            width: 350px;
            height: 350px;

            right: -120px;
            top: -180px;

            border-radius: 50%;

            border: 70px solid rgba(255,255,255,.08);
        }

        .cta-content {
            position: relative;
            z-index: 2;

            max-width: 650px;
        }

        .cta-box h2 {
            font-family: "Playfair Display", serif;

            font-size: 48px;
            line-height: 1.15;

            margin-bottom: 16px;
        }

        .cta-box p {
            color: rgba(255,255,255,.82);

            margin-bottom: 28px;
        }


        /* =========================
           FOOTER
        ========================= */

        footer {
            background: #0c1f2c;
            color: white;

            padding: 60px 0 25px;
        }

        .footer-grid {
            display: grid;

            grid-template-columns: 2fr 1fr 1fr 1fr;

            gap: 50px;

            padding-bottom: 45px;

            border-bottom: 1px solid rgba(255,255,255,.1);
        }

        .footer-brand p {
            color: #8da0ac;

            font-size: 13px;

            max-width: 320px;

            margin-top: 15px;
        }

        footer h4 {
            font-size: 14px;
            margin-bottom: 17px;
        }

        footer ul {
            list-style: none;
        }

        footer li {
            margin-bottom: 9px;
        }

        footer li a {
            color: #8da0ac;
            font-size: 13px;

            transition: .2s;
        }

        footer li a:hover {
            color: white;
        }

        .copyright {
            padding-top: 25px;

            color: #657984;

            font-size: 12px;

            display: flex;
            justify-content: space-between;
        }


        /* =========================
           WHATSAPP
        ========================= */

        .whatsapp {
            position: fixed;

            right: 24px;
            bottom: 24px;

            width: 58px;
            height: 58px;

            border-radius: 50%;

            display: flex;
            align-items: center;
            justify-content: center;

            background: transparent;

            color: white;

            font-size: 27px;


            z-index: 1000;

            transition: .25s;
        }

        .whatsapp img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            box-shadow: 0 10px 30px rgba(37,211,102,.35);
            transition: all .3s ease-in-out;

        }

        .whatsapp img:hover {
            transform: scale(1.08);
        }


        /* =========================
           MOBILE
        ========================= */

        @media (max-width: 900px) {

            .nav-links {
                display: none;
            }

            .search-card {
                display: none;
            }

            .hero {
                min-height: 680px;
            }

            .hero-bg {
                background:
                    linear-gradient(
                        90deg,
                        rgba(4,35,57,.85),
                        rgba(4,35,57,.45)
                    ),
                    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=85")
                    center / cover;
            }

        .destination:nth-child(6), .destination:nth-child(7) {
            position: relative;
            overflow: hidden;

            border-radius: var(--radius);
        }

            .trust-grid {
                grid-template-columns: 1fr;
            }

            .destination-grid {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: 230px 230px 230px;
            }

            .destination:first-child {
                grid-column: span 2;
                grid-row: span 1;
            }

            .services-grid {
                grid-template-columns: 1fr 1fr;
            }

            .about-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-image {
                height: 420px;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }


        @media (max-width: 600px) {

            .navbar {
                height: 70px;
            }

            .logo img {
                width: 43px;
                height: 43px;
            }

            .logo-title {
                font-size: 15px;
            }

            .logo-subtitle {
                font-size: 8px;
            }

            .hero {
                padding-top: 70px;
                min-height: 650px;
            }

            .hero h1 {
                font-size: 48px;
            }

            .hero p {
                font-size: 16px;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: stretch;
            }

            .btn {
                width: 100%;
            }

            section {
                padding: 75px 0;
            }

            .destination-grid {
                display: grid;

                grid-template-columns: 1fr;

                grid-template-rows:
                    260px
                    210px
                    210px
                    210px;
            }

            .destination:first-child {
                grid-column: auto;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .about-image {
                height: 350px;
            }

            .cta-box {
                padding: 45px 25px;
            }

            .cta-box h2 {
                font-size: 37px;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 35px;
            }

            .copyright {
                flex-direction: column;
                gap: 10px;
            }

            .whatsapp {
                right: 18px;
                bottom: 18px;

                width: 53px;
                height: 53px;
            }
        }

/* =========================
   MENÚ RESPONSIVE
========================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}

/* Animación hamburguesa → X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Evita scroll al abrir el menú */
body.menu-open {
    overflow: hidden;
}

/* Tablet y celulares */
@media (max-width: 768px) {

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .navbar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        position: relative;
        z-index: 1001;
        max-width: calc(100% - 55px);
    }

    .menu-toggle {
        display: flex;
        color: inherit;
        flex-shrink: 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;

        width: min(82%, 340px);
        height: 100dvh;
        padding: 105px 28px 35px;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;

        background: #ffffff;
        color: #172b4d;

        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);

        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;

        overflow-y: auto;
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        display: block;
        padding: 14px 12px;
        text-decoration: none;
        font-size: 16px;
    }

    .nav-links a:not(.nav-cta) {
        border-bottom: 1px solid #e9edf2;
    }

    .nav-links .nav-cta {
        margin-top: 14px;
        text-align: center;
        border-radius: 8px;
        padding: 15px 18px;
    }
}

/* Respeta las preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .menu-toggle span,
    .nav-links {
        transition: none;
    }
}

/* =========================
   WHATSAPP RESPONSIVE
========================= */

@media (max-width: 768px) {
    .whatsapp {
        right: 16px;
        bottom: 18px;
        width: 50px;
        height: 50px;
    }

    .whatsapp img {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .whatsapp {
        right: 14px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .whatsapp img {
        width: 46px;
        height: 46px;
    }
}



/* TABLET */

@media (max-width: 900px) {
    .search-card {
        right: 4%;
        bottom: 180px;
        width: 420px;
        padding: 20px;
    }

    .search-fields {
        gap: 10px;
    }
}

/* CELULAR */

@media (max-width: 600px) {
    .search-card {
        position: relative;
        right: auto;
        bottom: auto;

        width: calc(100% - 32px);
        max-width: none;

        margin: 25px auto;
        padding: 20px;

        border-radius: 15px;
    }

    .search-card-title {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .search-fields {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .search-card .field {
        padding: 10px;
    }

    .search-card .field label {
        font-size: 10px;
    }

    .search-card .field input,
    .search-card .field select {
        font-size: 11px;
    }

    .search-button {
        font-size: 12px;
        padding: 13px 10px;
    }
}

/*ahora a hacer el mediaquery para el logo-slogan*/
@media (max-width: 600px) {
    .logo-slogan {
        font-size: 14px;
    }
}


/* =========================
   DESTINATIONS RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 992px) {
    .destination-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 15px;
    }

    .destination:first-child {
        grid-row: span 1;
    }

    .destination:nth-child(6),
    .destination:nth-child(7) {
        max-height: none;
    }

    .destination:nth-child(7) {
        grid-column: span 1;
    }

    .destination {
        height: 220px;
        min-width: 0;
    }

    .destination img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Celulares */
@media (max-width: 576px) {
    .destination-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
    }

    .destination,
    .destination:first-child,
    .destination:nth-child(6),
    .destination:nth-child(7) {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: 220px;
        max-height: none;
    }

    .destination img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .destination-info {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .destination-info h3 {
        font-size: 24px;
    }
}
