:root {
    --green: #6a553c;
    --green-dark: #30271f;
    --olive: #e1b26d;
    --cream: #f7f2e9;
    --ink: #3c3026;
    --muted: #796b5b;
    --site-surface: #fffdfa;
    --site-line: #e7ded1;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    color: var(--ink);
    background: var(--site-surface);
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--olive);
    outline-offset: 3px;
}

.site-header {
    min-height: 82px;
    padding-right: max(5%, calc((100% - 1360px) / 2));
    padding-left: max(5%, calc((100% - 1360px) / 2));
    border-bottom: 1px solid rgb(48 39 31 / 9%);
    background: rgb(255 253 250 / 95%);
    box-shadow: 0 10px 30px rgb(48 39 31 / 7%);
    backdrop-filter: blur(16px);
}

.brand-logo {
    width: 76px;
    height: 76px;
    background: transparent;
}

.brand-logo-footer {
    width: 84px;
    height: 84px;
}

.main-nav {
    gap: clamp(13px, 1.45vw, 22px);
}

.main-nav > a {
    position: relative;
    padding: 9px 0;
    color: #5d5143;
    transition: color .2s ease;
}

.main-nav > a::after {
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    background: var(--olive);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible,
.nav-dropdown[open] > summary {
    color: var(--green);
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
    transform: scaleX(1);
}

.nav-dropdown-menu {
    border-color: var(--site-line);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgb(48 39 31 / 14%);
}

.language-switcher select {
    border-color: #e4d8c6;
    border-radius: 8px;
    background: #fff;
    color: var(--green-dark);
}

.button,
.site-header > .button {
    min-height: 46px;
    border-radius: 8px;
    background: var(--green);
    box-shadow: 0 8px 18px rgb(48 39 31 / 14%);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.button:hover,
.site-header > .button:hover {
    transform: translateY(-2px);
    background: #51402d;
    box-shadow: 0 12px 24px rgb(48 39 31 / 20%);
}

.hero {
    height: min(760px, 78svh);
    min-height: 590px;
    background-color: var(--green-dark);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgb(27 20 13 / 80%), rgb(35 27 18 / 40%) 58%, rgb(31 24 17 / 12%)),
        linear-gradient(0deg, rgb(20 15 10 / 36%), transparent 42%);
}

.hero-copy {
    width: min(680px, 84%);
    margin-left: clamp(36px, 11vw, 180px);
}

.hero h1,
.page-hero h1 {
    text-wrap: balance;
}

.hero h1 {
    font-size: clamp(58px, 7.2vw, 100px);
    line-height: 1.01;
}

.hero-copy > p {
    max-width: 540px;
    font-size: 16px;
    line-height: 1.85;
}

.hero-actions {
    gap: 20px;
}

.hero-actions .button {
    min-height: 54px;
    padding-right: 24px;
    padding-left: 24px;
}

.hero-slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

.hero-slide-count {
    left: max(6.5%, calc((100% - 1360px) / 2));
}

.booking-bar {
    padding: 25px max(7%, calc((100% - 1200px) / 2));
    background: linear-gradient(110deg, var(--green-dark), #6a553c);
    color: #fff;
}

.booking-label b {
    color: #fff;
}

.booking-label small {
    color: #e1d7c8;
}

.booking-bar .button {
    border: 1px solid rgb(255 255 255 / 28%);
    background: var(--olive);
    box-shadow: none;
    color: #30271f;
}

.booking-bar .button:hover {
    background: #edc98e;
}

.section-wrap {
    padding: clamp(64px, 8vw, 108px) max(6%, calc((100% - 1200px) / 2));
}

.intro-grid h2,
.signature h2,
.page-body h2 {
    color: var(--green-dark);
}

.intro-grid h2 em,
.signature h2 em,
.page-body h2 em,
.page-callout h2 em,
.booking-page h1 em {
    color: #8c744d;
}

.lead {
    color: #5b5146;
}

.experience-grid {
    gap: 16px;
    margin: 0 max(6%, calc((100% - 1320px) / 2));
}

.experience-card {
    min-height: 470px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgb(48 39 31 / 14%);
}

.experience-card::before {
    background: linear-gradient(0deg, rgb(27 20 13 / 84%), rgb(35 27 18 / 6%) 76%);
}

.experience-card h3 {
    max-width: 330px;
    font-size: clamp(28px, 3vw, 38px);
}

.circle-arrow {
    border-color: rgb(255 255 255 / 65%);
    background: rgb(255 255 255 / 10%);
    color: #fff;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.experience-card:hover .circle-arrow {
    transform: translate(2px, -2px);
    background: var(--olive);
    color: var(--green-dark);
}

.signature-image {
    border-radius: 14px;
    box-shadow: 0 22px 48px rgb(48 39 31 / 14%);
}

.quote-band {
    background:
        radial-gradient(ellipse at 50% 0, rgb(225 178 109 / 20%), transparent 58%),
        var(--green-dark);
}

.home-gallery {
    background:
        radial-gradient(ellipse at 88% 12%, rgb(225 178 109 / 18%), transparent 36%),
        linear-gradient(135deg, #30271f, #6a553c 58%, #493726);
}

.home-experience-intro,
.home-partners {
    background:
        radial-gradient(ellipse at 50% 0, rgb(225 178 109 / 16%), transparent 58%),
        var(--cream);
}

.home-about-status {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    background:
        radial-gradient(ellipse at 100% 0, rgb(225 178 109 / 13%), transparent 42%),
        var(--cream);
}

.home-about-status-copy {
    max-width: 760px;
}

.home-about-status-copy .eyebrow {
    color: #806344;
}

.home-about-status-copy h2 {
    margin: 16px 0 22px;
    color: var(--green-dark);
    font: 500 clamp(36px, 4vw, 54px)/1.12 var(--serif);
    letter-spacing: -.035em;
}

.home-about-status-copy p {
    margin: 0 0 15px;
    color: #5b5146;
    font-size: 15px;
    line-height: 1.8;
}

.home-about-status-copy p:last-child {
    margin-bottom: 0;
    color: var(--green);
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
}

.home-about-status .booking-status {
    width: 100%;
    margin-top: 0;
}

.page-hero {
    min-height: 470px;
}

.page-hero-image {
    filter: saturate(.88);
}

.page-hero-content {
    width: min(720px, 85%);
}

.page-callout {
    background:
        radial-gradient(ellipse at 50% 0, rgb(225 178 109 / 20%), transparent 60%),
        var(--green-dark);
    color: #fff;
}

.page-callout h2 {
    color: #fff;
}

.page-callout .eyebrow {
    justify-content: center;
    color: #e4d7bf;
}

.catalog-grid {
    gap: 24px;
}

.catalog-card {
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgb(48 39 31 / 7%);
    transition: transform .22s ease, box-shadow .22s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgb(48 39 31 / 14%);
}

.catalog-image {
    height: 235px;
}

.catalog-card-body {
    padding: 24px;
}

.catalog-card-body h2 {
    color: var(--green-dark);
}

.catalog-card-body p {
    color: #71685d;
    font-size: 13px;
}

.catalog-price b {
    color: var(--green);
}

.safari-detail-panel,
.home-review-card,
.about-pillar {
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgb(48 39 31 / 7%);
}

.safari-detail-panel {
    padding: clamp(22px, 3vw, 34px);
}

.form-card,
.booking-status {
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: linear-gradient(145deg, #fff, var(--cream));
    box-shadow: 0 14px 36px rgb(48 39 31 / 8%);
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.safari-filter-form input,
.safari-filter-form select {
    border-color: #e4d8c6;
    border-radius: 8px;
    background-color: #fffefa;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.safari-filter-form input:focus,
.safari-filter-form select:focus {
    border-color: var(--green);
    outline: 3px solid rgb(106 85 60 / 16%);
}

.footer {
    border-top: 4px solid var(--olive);
    background:
        radial-gradient(ellipse at 85% 0, rgb(225 178 109 / 12%), transparent 35%),
        linear-gradient(135deg, #30271f, #493726 58%, #30271f);
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link,
.footer-social-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgb(225 178 109 / 40%);
    border-radius: 50%;
    color: #f0d7b0;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-2px);
    background: var(--olive);
    color: var(--green-dark);
}

.footer-social-link svg,
.footer-social-icon svg {
    width: 19px;
    height: 19px;
}

.footer-social-icon {
    color: #d3c3a9;
    opacity: .8;
}

.home-reviews {
    background:
        radial-gradient(ellipse at 10% 0, rgb(225 178 109 / 15%), transparent 40%),
        var(--cream);
}

.home-review-card {
    border-color: var(--site-line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgb(48 39 31 / 7%);
}

.home-reviews-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: var(--site-surface);
    color: var(--muted);
    text-align: center;
}

.footer-brand .brand {
    border-color: rgb(225 178 109 / 55%);
    border-radius: 10px;
}

.footer-column h2 {
    color: #f0d7b0;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
    color: #f5dfb9;
}

.floating-whatsapp {
    top: auto;
    bottom: max(24px, env(safe-area-inset-bottom));
    transform: none;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .site-header {
        min-height: 76px;
        padding: 10px 5%;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 78px;
    }

    .site-header {
        min-height: 72px;
        padding: 8px 5%;
        gap: 9px;
    }

    .site-header > .brand .brand-logo {
        width: 56px;
        height: 56px;
    }

    .site-header > .button {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 10px;
    }

    .mobile-nav-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-color: #e4d8c6;
        border-radius: 8px;
        color: var(--green-dark);
    }

    .main-nav {
        padding-top: 8px;
    }

    .hero {
        height: min(660px, 78svh);
        min-height: 510px;
        background-position: 58% center;
    }

    .hero-copy {
        width: 86%;
        margin-left: 7%;
        padding-bottom: 12px;
    }

    .hero h1 {
        font-size: clamp(48px, 10vw, 66px);
    }

    .hero-copy > p {
        font-size: 14px;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 16px;
    }

    .booking-bar {
        padding: 20px 6%;
        gap: 14px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 0 6%;
    }

    .experience-card,
    .experience-card:last-child {
        min-height: 330px;
        grid-column: auto;
        padding: 24px;
    }

    .catalog-grid {
        gap: 16px;
    }

    .catalog-image {
        height: 220px;
    }

    .catalog-card-body {
        padding: 20px;
    }

    .home-about-status {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-about-status .booking-status {
        order: -1;
    }

    .home-about-status-copy p {
        font-size: 14px;
    }

    .home-why-grid {
        grid-template-columns: 1fr;
        gap: 13px;
        margin-top: 26px;
    }

    .home-why-card {
        min-height: 0;
    }

    .floating-whatsapp {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(8px, env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
    }

    .floating-whatsapp svg {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

.home-experience-intro h2,
.home-experts-copy h2,
.home-partners-inner h2 {
    color: var(--green-dark);
}

.home-gallery-link {
    color: #f0d7b0;
}

.home-gallery-card {
    background: #493726;
}

.home-reviews,
.safari-filter-form,
.travel-tool-empty,
.selected-safari {
    background: var(--cream);
}

.home-why-choose {
    background:
        radial-gradient(ellipse at 92% 10%, rgb(225 178 109 / 15%), transparent 34%),
        var(--cream);
}

.home-why-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.home-why-inner > h2 {
    margin: 16px 0 10px;
    color: var(--green-dark);
    font: 500 clamp(36px, 4vw, 52px)/1.12 var(--serif);
    letter-spacing: -.035em;
}

.home-why-intro {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.home-why-card {
    min-height: 235px;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: rgb(255 253 250 / 90%);
    box-shadow: 0 10px 30px rgb(48 39 31 / 6%);
}

.home-why-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #f3e7d4;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-why-card h3 {
    margin: 22px 0 10px;
    color: var(--green-dark);
    font: 500 22px/1.3 var(--serif);
}

.home-why-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.safari-filter-form {
    border-color: var(--site-line);
}

.safari-offer-badge,
.verified-review {
    background: #f3e7d4;
    color: var(--green);
}

.launch-notice::backdrop {
    background: rgb(48 39 31 / 74%);
}

.launch-notice-icon {
    background: var(--cream);
    color: #9a7648;
}

.launch-notice-dismiss:hover {
    background: #51402d;
}

.hero-slide {
    background-color: var(--green-dark);
}

.home-gallery-controls button:not(:disabled):hover,
.home-gallery-controls button:not(:disabled):focus-visible {
    border-color: var(--olive);
    background: rgb(225 178 109 / 18%);
}

.news-hero {
    background:
        radial-gradient(ellipse at 50% 0, rgb(225 178 109 / 18%), transparent 58%),
        linear-gradient(135deg, #30271f, #6a553c 58%, #493726);
}

.news-hero .eyebrow,
.news-hero p {
    color: #efe3d1;
}

.safari-comparison-toolbar,
.safari-favorites-empty {
    background: var(--cream);
    color: #6b5b49;
}

.safari-tool-button {
    border-color: #e4d8c6;
    color: var(--green);
}

.safari-tool-button:hover,
.safari-tool-button[aria-pressed="true"] {
    border-color: var(--green);
    background: #f3e7d4;
}

.safari-comparison-dialog {
    border-radius: 14px;
    color: var(--ink);
}

.safari-comparison-dialog::backdrop {
    background: rgb(35 27 18 / 72%);
}

.destination-map-choice {
    border-color: var(--site-line);
    color: var(--ink);
}

.destination-map-choice:hover,
.destination-map-choice.is-active {
    border-color: var(--olive);
    background: var(--cream);
}

.destination-map-marker {
    background: var(--green);
}

.destination-map-chevron,
.destination-map-details [data-map-safaris] a,
.safari-favorites-empty a {
    color: var(--green);
}

.travel-guide-number {
    color: #9a7648;
}

.gallery-page-link.is-current {
    border-color: var(--green);
    background: var(--green);
}

@media (max-width: 800px) {
    .home-why-grid {
        grid-template-columns: 1fr;
    }

    .home-why-card {
        min-height: 0;
    }
}
