:root {
    --blue: #0877b9;
    --blue-dark: #064c79;
    --sun: #ffbe2e;
    --aqua: #00b8a9;
    --leaf: #22a06b;
    --ink: #183247;
    --muted: #64748b;
    --line: #dbe7ef;
    --bg: #f7fbfd;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(7, 77, 119, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo {
    width: clamp(132px, 15vw, 188px);
    height: auto;
    max-height: 72px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 700;
}

.site-nav a {
    color: var(--blue-dark);
}

.site-nav a:hover {
    color: var(--aqua);
}

.nav-whatsapp,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    color: var(--white) !important;
    background: var(--leaf);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(34, 160, 107, .22);
    gap: 8px;
}

a[href*="wa.me"]::before,
form[data-whatsapp-form] .button::before {
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16) url("../img/whatsapp.svg") center / 15px 17px no-repeat;
    flex: 0 0 auto;
}

.nav-whatsapp::before {
    width: 25px;
    height: 25px;
    background-size: 14px 16px;
}

.floating-whatsapp::before {
    width: 28px;
    height: 28px;
    background-size: 16px 18px;
}

.button.secondary {
    color: var(--blue-dark) !important;
    background: var(--sun);
    box-shadow: 0 10px 25px rgba(255, 190, 46, .25);
}

.button.outline {
    color: var(--blue-dark) !important;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--blue-dark);
    font-size: 22px;
}

.hero {
    position: relative;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    background: var(--blue-dark);
}

.hero-slides,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .8s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 48, 76, .04), rgba(4, 48, 76, .18));
}

.home-intro {
    padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 70px);
    color: var(--blue-dark);
    background: var(--white);
}

.home-intro h1 {
    max-width: 1000px;
}

.home-intro > p {
    max-width: 800px;
    font-size: 19px;
}

.hero-carousel-controls {
    position: absolute;
    z-index: 3;
    right: clamp(18px, 5vw, 70px);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-carousel-arrow,
.hero-carousel-dot {
    border: 0;
    color: var(--white);
    background: rgba(4, 48, 76, .72);
    cursor: pointer;
}

.hero-carousel-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    font-size: 22px;
}

.hero-carousel-dots {
    display: flex;
    gap: 8px;
}

.hero-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}

.hero-carousel-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--sun);
}

.hero-carousel-arrow:focus-visible,
.hero-carousel-dot:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 3px;
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 190, 46, .92);
    color: var(--blue-dark);
    font-weight: 900;
}

h1,
h2,
h3 {
    margin: 0 0 14px;
    line-height: 1.12;
}

h1 {
    font-size: clamp(42px, 7vw, 82px);
    max-width: 880px;
}

h2 {
    font-size: clamp(28px, 4vw, 46px);
}

h3 {
    font-size: 22px;
}

.hero p,
.page-hero p,
.section-intro {
    max-width: 760px;
    font-size: 19px;
}

.hero-actions,
.card-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.section {
    padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 70px);
}

.section.alt {
    background: var(--white);
}

.about-history-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
}

.about-history-photo {
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    background: var(--blue-dark);
    box-shadow: var(--shadow);
}

.about-history-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-history-photo figcaption {
    padding: 14px 18px;
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.about-history-content h2 {
    max-width: 700px;
}

.about-history-content p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.about-history-content .about-history-signature {
    margin-top: 30px;
    padding: 24px;
    border-left: 5px solid var(--sun);
    border-radius: 0 8px 8px 0;
    color: var(--blue-dark);
    background: #fff8e8;
    font-size: 19px;
    font-weight: 900;
}

.mission-section {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-dark), #0877b9);
}

.mission-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.mission-content .eyebrow {
    color: var(--blue-dark);
}

.mission-content p {
    max-width: 820px;
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.8;
}

.mission-highlight {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    color: var(--blue-dark);
    background: var(--white);
    box-shadow: var(--shadow);
}

.mission-highlight span {
    display: block;
    margin-bottom: 12px;
    color: var(--leaf);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mission-highlight p {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.55;
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 28px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.feature,
.testimonial,
.faq-item,
.form-panel,
.destination-band {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 30px rgba(24, 50, 71, .07);
}

.trip-card {
    overflow: hidden;
}

.trip-card img,
.gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.card-body,
.feature,
.testimonial,
.faq-item,
.form-panel,
.destination-band {
    padding: 22px;
}

.meta {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    color: var(--muted);
    font-weight: 700;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.pill-list li {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--blue-dark);
    background: #e7f7fb;
    font-weight: 800;
}

.feature {
    border-top: 5px solid var(--aqua);
}

.feature:nth-child(2) {
    border-top-color: var(--sun);
}

.feature:nth-child(3) {
    border-top-color: var(--leaf);
}

.page-hero {
    padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 70px);
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(4, 48, 76, .84), rgba(8, 119, 185, .55)),
        var(--hero-image, url('https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&w=1800&q=80')) center/cover;
}

.destination-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    display: block;
    overflow: hidden;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #eaf1f5;
    box-shadow: 0 8px 24px rgba(24, 50, 71, .1);
    cursor: zoom-in;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform .3s ease;
}

.gallery-item:hover img {
    transform: scale(1.035);
}

.gallery-item:focus-visible {
    outline: 4px solid var(--sun);
    outline-offset: 3px;
}

body.lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 18px;
    padding: 72px 28px 54px;
    color: var(--white);
    background: rgba(2, 20, 32, .94);
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-content {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
}

.gallery-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

.gallery-lightbox-content figcaption {
    font-size: 15px;
    text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
    border: 1px solid rgba(255, 255, 255, .45);
    color: var(--white);
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}

.gallery-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 32px;
}

.gallery-lightbox-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 28px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
    background: rgba(255, 255, 255, .24);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-arrow:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 3px;
}

.gallery-lightbox-counter {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    text-align: center;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--blue-dark);
}

.lead-form {
    display: grid;
    gap: 14px;
}

.lead-form label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

.lead-form input,
.lead-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
}

.cta {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(6, 76, 121, .95), rgba(0, 184, 169, .78)),
        url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?auto=format&fit=crop&w=1800&q=80') center/cover;
}

.site-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding: 42px clamp(18px, 5vw, 70px);
    color: var(--white);
    background: var(--blue-dark);
}

.site-footer a {
    display: block;
    margin: 8px 0;
    color: #d8f7ff;
}

.developer-credit {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: #ccecf5;
    font-size: 14px;
}

.developer-credit a {
    display: inline;
    color: var(--sun);
    font-weight: 800;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--white);
    background: var(--leaf);
    font-weight: 900;
    box-shadow: var(--shadow);
}

@media (max-width: 920px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .grid,
    .grid.two,
    .mission-layout,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-header,
    .destination-band {
        display: block;
    }

    .destination-band .button {
        margin-top: 14px;
    }

    .hero {
        min-height: 560px;
    }

    .hero-slide {
        object-position: 58% center;
    }

    .hero-carousel-controls {
        right: 18px;
        bottom: 18px;
    }
}

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

    .gallery-lightbox {
        grid-template-columns: 46px minmax(0, 1fr) 46px;
        gap: 6px;
        padding: 64px 8px 48px;
    }

    .gallery-lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .about-history-grid {
        grid-template-columns: 1fr;
    }

    .about-history-photo {
        width: min(340px, 100%);
        margin: 0 auto;
    }

    .brand {
        max-width: 210px;
    }

    .brand-logo {
        width: 138px;
        max-height: 58px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-actions .button,
    .cta-actions .button,
    .card-actions .button {
        width: 100%;
    }

    .hero {
        min-height: 440px;
    }

    .hero-carousel-controls {
        left: 18px;
        right: 18px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}
