/* =========================
           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;
        }

        html, body {
    overflow-x: hidden;
}

        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);
        }



/* =========================================
   CIELOS ABIERTOS — SERVICIOS
========================================= */

.ca-servicios {
    --ca-navy: #092b4c;
    --ca-blue: #087bb5;
    --ca-teal: #079a9b;
    --ca-green: #16a77a;
    --ca-text: #304e69;
    --ca-muted: #667f94;
    --ca-border: #e7eef3;
    --ca-surface: #ffffff;

    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding: 100px 0 85px;

    background:
        radial-gradient(
            ellipse at 0% 0%,
            rgba(90, 184, 224, 0.10),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 100% 20%,
            rgba(35, 191, 167, 0.08),
            transparent 35%
        ),
        #f8fbfd;

    color: var(--ca-navy);

    font-family: "DM Sans", "Segoe UI", sans-serif;
}

.ca-servicios *,
.ca-servicios *::before,
.ca-servicios *::after {
    box-sizing: border-box;
}

.ca-servicios img {
    display: block;
    width: 100%;
}

.ca-servicios a {
    text-decoration: none;
}

.ca-container {
    width: min(1380px, calc(100% - 64px));
    margin-inline: auto;
}


/* =========================================
   ENCABEZADO
========================================= */

.ca-servicios-header {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.ca-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    margin-bottom: 18px;

    color: var(--ca-teal);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.ca-eyebrow-line {
    width: 28px;
    height: 1px;
    background: var(--ca-teal);
    opacity: 0.65;
}

.ca-servicios-header h2 {
    margin: 0 0 18px;

    color: var(--ca-navy);

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -1.4px;
}

.ca-servicios-header h2 span {
    display: block;

    color: var(--ca-teal);
    font-style: italic;
}

.ca-servicios-header > p {
    max-width: 650px;
    margin: 0 auto;

    color: var(--ca-text);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   GRID DE TARJETAS
========================================= */

.ca-servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.ca-service-card {
    --ca-accent: #079a9b;
    --ca-tint: #e3f8f5;

    position: relative;
    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    background: var(--ca-surface);

    border: 1px solid rgba(17, 61, 91, 0.07);
    border-radius: 17px;

    box-shadow: 0 7px 25px rgba(13, 51, 79, 0.035);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.ca-service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(8, 123, 181, 0.17);

    box-shadow: 0 20px 45px rgba(13, 51, 79, 0.11);
}

.ca-caribe {
    --ca-accent: #079c91;
    --ca-tint: #e1f8f2;
}

.ca-mar {
    --ca-accent: #168dce;
    --ca-tint: #e4f4fd;
}

.ca-brasil {
    --ca-accent: #d69a13;
    --ca-tint: #fff5d8;
}

.ca-local {
    --ca-accent: #16a477;
    --ca-tint: #e0f7eb;
}

.ca-tematicas {
    --ca-accent: #8a61c5;
    --ca-tint: #f1eafa;
}


/* =========================================
   IMÁGENES
========================================= */

.ca-service-image {
    position: relative;
    display: block;

    height: 190px;
    overflow: hidden;

    background: #dceaf0;
}

.ca-service-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(4, 27, 45, 0.03) 35%,
        rgba(4, 27, 45, 0.38) 100%
    );

    pointer-events: none;
}

.ca-service-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.65s cubic-bezier(.2, .7, .2, 1);
}

.ca-service-card:hover .ca-service-image img {
    transform: scale(1.07);
}

.ca-image-number {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;

    background: rgba(8, 37, 57, 0.30);
    color: white;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;

    backdrop-filter: blur(8px);
}


/* =========================================
   ICONO
========================================= */

.ca-service-icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    margin: -27px auto 0;

    border: 4px solid white;
    border-radius: 50%;

    background: var(--ca-accent);
    color: white;

    box-shadow: 0 5px 15px rgba(20, 50, 70, 0.10);
}

.ca-service-icon svg {
    width: 24px;
    height: 24px;
}


/* =========================================
   CONTENIDO
========================================= */

.ca-service-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;

    padding: 17px 19px 23px;

    text-align: center;
}

.ca-service-category {
    display: block;

    min-height: 30px;
    margin-bottom: 8px;

    color: var(--ca-muted);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.65px;
    line-height: 1.5;
    text-transform: uppercase;
}

.ca-service-body h3 {
    margin: 0 0 5px;

    color: var(--ca-navy);

    font-size: 21px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.45px;
    text-transform: uppercase;
}

.ca-service-subtitle {
    display: block;

    min-height: 24px;
    margin-bottom: 13px;

    color: var(--ca-accent);

    font-size: 13px;
    font-weight: 600;
}

.ca-service-body > p {
    width: 100%;
    margin: 0 0 22px;

    color: var(--ca-text);

    font-size: 13px;
    line-height: 1.75;
}

.ca-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: auto;
    padding-top: 5px;

    color: var(--ca-accent);

    font-size: 12px;
    font-weight: 800;

    transition: gap 0.25s ease;
}

.ca-service-link span {
    font-size: 17px;
    line-height: 1;
}

.ca-service-link:hover {
    gap: 14px;
}

.ca-service-link:focus-visible,
.ca-service-image:focus-visible {
    outline: 3px solid var(--ca-accent);
    outline-offset: 4px;
}


/* =========================================
   CTA INFERIOR
========================================= */

.ca-servicios-cta {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: 1.05fr 1px 1.2fr auto;
    align-items: center;
    gap: 32px;

    min-height: 180px;
    margin-top: 30px;
    padding: 35px 42px;

    overflow: hidden;

    border-radius: 21px;

    background:
        radial-gradient(
            circle at 100% 120%,
            rgba(16, 174, 151, 0.23),
            transparent 40%
        ),
        linear-gradient(115deg, #073c60, #07516c 58%, #063f58);

    box-shadow: 0 16px 40px rgba(6, 53, 79, 0.12);
}

.ca-cta-decoration {
    position: absolute;
    z-index: -1;

    right: -70px;
    bottom: -160px;

    width: 330px;
    height: 330px;

    border: 1px solid rgba(118, 231, 215, 0.25);
    border-radius: 50%;

    box-shadow:
        0 0 0 25px rgba(118, 231, 215, 0.035),
        0 0 0 50px rgba(118, 231, 215, 0.035);
}

.ca-cta-message > span {
    display: block;
    margin-bottom: 12px;

    color: #83ded1;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.ca-cta-message h3 {
    margin: 0;

    color: white;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(26px, 2.6vw, 37px);
    font-weight: 500;
    line-height: 1.2;
}

.ca-cta-divider {
    align-self: stretch;
    width: 1px;

    background: rgba(255, 255, 255, 0.24);
}

.ca-cta-description {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ca-cta-whatsapp {
    display: flex;
    flex-shrink: 0;

    width: 43px;
    height: 43px;

    align-items: center;
    justify-content: center;

    color: white;
}

.ca-cta-whatsapp svg {
    width: 35px;
    height: 35px;
}

.ca-cta-description p {
    margin: 0;

    color: white;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.ca-cta-description p span {
    display: inline-block;
    margin-top: 4px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 12px;
    font-weight: 400;
}

.ca-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-width: 165px;
    padding: 15px 21px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;

    background: #10ae83;
    color: white;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.ca-cta-button span {
    font-size: 19px;
    transition: transform 0.25s ease;
}

.ca-cta-button:hover {
    background: #0c966f;
    transform: translateY(-2px);
}

.ca-cta-button:hover span {
    transform: translateX(3px);
}

.ca-cta-button:focus-visible {
    outline: 3px solid white;
    outline-offset: 4px;
}



/* =========================
           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;
            }

            .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;
            }
        }

        
/* =========================================
   TABLETS
========================================= */

@media (max-width: 1150px) {
    .ca-container {
        width: min(100% - 48px, 950px);

    }

    .ca-servicios {
        padding: 85px 0 70px;
    }

    .ca-servicios-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .ca-service-image {
        height: 205px;
    }

    .ca-service-body {
        padding-inline: 22px;
    }

    .ca-servicios-cta {
        grid-template-columns: 1fr auto;
        gap: 24px;
        padding: 35px;
    }

    .ca-cta-divider {
        display: none;
    }

    .ca-cta-description {
        grid-column: 1;
        grid-row: 2;
    }

    .ca-cta-button {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}


/* =========================================
   MÓVILES
========================================= */

@media (max-width: 680px) {
    .ca-servicios {
        padding: 65px 0 55px;
    }

    .ca-container {
        width: calc(100% - 36px);
    }

    .ca-servicios-header {
        margin-bottom: 32px;
    }

    .ca-eyebrow {
        gap: 9px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .ca-eyebrow-line {
        width: 20px;
    }

    .ca-servicios-header h2 {
        margin-bottom: 15px;

        font-size: clamp(35px, 9vw, 45px);
        letter-spacing: -0.8px;
    }

    .ca-servicios-header > p {
        font-size: 14px;
        line-height: 1.75;
    }

    .ca-servicios-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ca-service-card {
        border-radius: 18px;
    }

    .ca-service-image {
        height: 225px;
    }

    .ca-service-icon {
        width: 57px;
        height: 57px;
    }

    .ca-service-body {
        padding: 17px 25px 25px;
    }

    .ca-service-category {
        min-height: auto;
        margin-bottom: 9px;
    }

    .ca-service-body h3 {
        font-size: 23px;
    }

    .ca-service-subtitle {
        margin-bottom: 12px;
    }

    .ca-service-body > p {
        max-width: 350px;
        margin-bottom: 20px;
        font-size: 14px;
    }

    .ca-service-link {
        padding-top: 8px;
        font-size: 13px;
    }

    .ca-servicios-cta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;

        min-height: auto;
        margin-top: 25px;
        padding: 30px 24px;

        border-radius: 18px;
    }

    .ca-cta-message h3 {
        font-size: 31px;
    }

    .ca-cta-description {
        align-items: flex-start;
        gap: 10px;
    }

    .ca-cta-description p {
        font-size: 13px;
    }

    .ca-cta-description p span {
        font-size: 12px;
    }

    .ca-cta-button {
        width: 100%;
        min-height: 51px;
        margin-top: 0;
    }
}


/* =========================================
   ACCESIBILIDAD
========================================= */

@media (prefers-reduced-motion: reduce) {
    .ca-servicios *,
    .ca-servicios *::before,
    .ca-servicios *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}



/* =========================
   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: relative;
        z-index: 1000;
    }

    .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;
    }
}
/*ahora a hacer el mediaquery para el logo-slogan*/
@media (max-width: 600px) {
    .logo-slogan {
        font-size: 14px;
    }
}


