:root {
    --text-dark: #142623;
    --text-mid: #344945;
    --text-muted: #516764;
    --border: #dce7e3;
    --snow-white: #f5f8f6;
    --surface-tint: #edf5f0;
    --lake-teal-light: #e3f2ec;
    --lake-teal: var(--tour-accent, #11695c);
    --andean-blue: var(--tour-accent, #123b33);
    --gold: #9a500a;
    --danger: #a12a29;
    --radius: 20px;
    --headings: Manrope, 'DM Sans', system-ui, sans-serif;
    --page-width: 1240px;
    --gutter: clamp(18px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 'DM Sans', system-ui, sans-serif; color: var(--text-dark); background: #fff; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--lake-teal); }
img { max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #258576; outline-offset: 3px; }
.page-wrap, .sticky-inner, .footer-cajon-container, .footer-cajon-bottom {
    width: min(100% - 2 * var(--gutter), var(--page-width));
    margin-inline: auto;
}

.site-header { background: #fff; border-block-end: 1px solid var(--border); }
.site-header-inner, .site-preferences { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.site-header-inner { min-height: 74px; padding-block: 10px; }
.site-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 7px 14px;
    border-radius: 10px;
    /*background: var(--andean-blue); */
    color: #fff;
    font: 800 14px/1.25 var(--headings);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.site-brand img { display: block; width: auto; max-width: 155px; height: 34px; object-fit: contain; }
.site-preferences { justify-content: flex-end; }
.select-idiomas {
    min-width: 0;
    max-width: 146px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--text-dark);
    font-size: .835rem;
    cursor: pointer;
}
#moedaSelect { width: 92px; text-overflow: ellipsis; }

.tour-hero { padding-block: clamp(26px, 4vw, 48px) 26px; }
.tour-kicker {
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--lake-teal);
    font: 800 .79rem/1.45 var(--headings);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.tour-kicker::before { content: ''; width: 19px; height: 3px; flex: 0 0 auto; border-radius: 3px; background: var(--tour-accent); }
.tour-hero h1 {
    max-width: 1060px;
    font: 800 clamp(2.05rem, 4.15vw, 3.85rem)/1.075 var(--headings);
    letter-spacing: -.05em;
    text-wrap: pretty;
    overflow-wrap: anywhere;
}
.tour-hero h1 em { font-style: normal; color: var(--lake-teal); }
.tour-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.tour-meta:not(:empty) { margin-top: 18px; }
.tour-meta a, .tour-duration { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; }
.tour-duration { color: var(--text-muted); }
.tour-duration svg { flex-shrink: 0; }
.tour-rating { color: var(--text-dark); text-decoration: none; }
.tour-rating:hover { text-decoration: underline; }
.tour-rating span:last-child { color: var(--text-muted); }
.rating-star { color: var(--gold); font-size: 1.06rem; }
.tour-intro { max-width: 820px; margin-top: 13px; color: var(--text-muted); font-size: clamp(.96rem, 1.6vw, 1.08rem); }

.tour-media { position: relative; margin-top: 24px; }
.gallery {
    display: grid;
    gap: 8px;
    height: clamp(300px, 36vw, 465px);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-tint);
}
.gallery--3 { grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 2.25fr) minmax(0, 1fr); }
.gallery--3 .gallery-img:first-child { grid-row: span 2; }
.gallery--2 { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
.gallery-img { display: block; min-width: 0; min-height: 0; overflow: hidden; }
.gallery-img:focus-visible { outline-offset: -5px; outline-color: #fff; }
.gallery-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-img:hover img { transform: scale(1.035); }
.gallery-launch {
    position: absolute;
    inset-inline-end: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    background: #fff;
    border: 1px solid rgba(20, 38, 35, .16);
    border-radius: 10px;
    padding: 9px 13px;
    font-size: .88rem;
    font-weight: 700;
    box-shadow: 0 4px 16px #13272235;
}
.photo-grid-icon { width: 14px; height: 14px; background: radial-gradient(circle, currentColor 1.5px, transparent 1.9px) 0 0 / 5px 5px; }
.gallery-dialog {
    width: min(100% - 28px, 1100px);
    max-width: none;
    max-height: 92vh;
    padding: 12px;
    border: 1px solid #ffffff38;
    border-radius: 18px;
    background: #102620;
    color: #fff;
}
.gallery-dialog::backdrop { background: #091c18e8; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 9px 6px; }
.gallery-toolbar button, .gallery-stage button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ffffff60;
    border-radius: 50%;
    color: #fff;
    background: #183831;
    font-size: 1.55rem;
    line-height: 1;
}
.gallery-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.gallery-stage img { display: block; width: 100%; height: min(70vh, 680px); object-fit: contain; }

.sticky-bar { position: sticky; top: 0; z-index: 10; background: #fff; border-block: 1px solid var(--border); }
.sticky-inner { display: flex; gap: clamp(20px, 3vw, 40px); align-items: stretch; overflow-x: auto; scrollbar-width: thin; }
.sticky-inner a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    min-height: 58px;
    border-bottom: 3px solid transparent;
    padding-top: 3px;
    color: var(--text-mid);
    font-weight: 700;
    font-size: .89rem;
    text-decoration: none;
    white-space: nowrap;
}
.sticky-inner a:hover, .sticky-inner a[aria-current] { color: var(--lake-teal); border-bottom-color: var(--lake-teal); }
.sticky-inner a:focus-visible { outline-offset: -3px; }
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(335px, 375px);
    gap: clamp(30px, 5vw, 78px);
    align-items: start;
    padding-block: 33px 60px;
}
.highlights-inner, .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr)); gap: 13px; }
.highlights-inner { padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.hl-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-tint); }
.hl-icon { display: inline-flex; align-items: center; justify-content: center; width: 29px; flex: 0 0 29px; font-size: 1.23rem; line-height: 1.4; }
.hl-icon img, .hl-icon svg { width: 24px; height: 24px; object-fit: contain; }
.hl-label, .feature-item strong { font-size: .87rem; font-weight: 700; }
.hl-sub, .feature-item span:not(.hl-icon) { color: var(--text-muted); font-size: .81rem; line-height: 1.4; }
.feature-item { display: grid; align-content: start; justify-items: start; gap: 2px; padding: 15px; border: 1px solid var(--border); border-radius: 12px; }
.feature-item .hl-icon { margin-bottom: 3px; }
.section { padding-block: 32px; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.section:first-child { padding-top: 0; }
.section:last-child { border-bottom: 0; padding-bottom: 0; }
.section-title { margin-bottom: 18px; font: 800 clamp(1.45rem, 2.5vw, 2rem)/1.2 var(--headings); letter-spacing: -.032em; }
.desc-text, .it-desc, .review-text, .faq-a { color: var(--text-mid); }
.desc-text { line-height: 1.75; }
.desc-text p + p { margin-top: .85em; }
.feature-grid { margin-top: 18px; }

.itinerary-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 17px; }
.it-line { display: grid; grid-template-rows: auto 1fr; justify-items: center; }
.it-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lake-teal-light); color: var(--lake-teal); font-size: .88rem; font-weight: 800; }
.it-connector { width: 2px; background: var(--lake-teal-light); }
.itinerary-step:last-child .it-connector { display: none; }
.it-body { padding: 3px 0 24px; }
.itinerary-step:last-child .it-body { padding-bottom: 0; }
.it-label { font: 800 1.03rem/1.45 var(--headings); margin-bottom: 4px; }
.it-desc { font-size: .94rem; }

.inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inc-grid > div { border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.inc-heading { margin: 0 0 8px; font: 800 1rem/1.4 var(--headings); }
.inc-item { display: flex; align-items: flex-start; gap: 9px; padding-block: 5px; font-size: .92rem; color: var(--text-mid); }
.dot-yes, .dot-no { flex: 0 0 16px; font-weight: 800; color: var(--lake-teal); }
.dot-no { color: var(--text-muted); }
.tour-tip { margin-top: 14px; padding: 13px 16px; border-inline-start: 3px solid #dca458; background: #fff7e9; border-radius: 5px 12px 12px 5px; color: #67421d; font-size: .92rem; }
.tour-tip > strong { margin-inline-end: 6px; }

.reviews-header { display: flex; align-items: center; gap: 15px; margin-bottom: 17px; }
.big-score { font: 800 2.7rem/1 var(--headings); color: var(--andean-blue); }
.stars-row, .review-stars { color: var(--gold); letter-spacing: .09em; }
.review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 12px; }
.review-card { border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.reviewer { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.avatar { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 50%; color: #fff; font-size: .83rem; font-weight: 700; }
.reviewer-name { font-weight: 700; }
.reviewer-date { font-size: .79rem; color: var(--text-muted); }
.review-stars { font-size: .82rem; }
.review-text { margin-top: 5px; font-size: .91rem; }
.map-box { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.mapa { display: block; width: 100%; height: 280px; border: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 13px 2px; list-style: none; cursor: pointer; font-weight: 700; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q span { font-size: 1.3rem; color: var(--lake-teal); line-height: 1; }
.faq-item[open] .faq-q span { transform: rotate(45deg); }
.faq-a { padding: 0 20px 14px 2px; }

.booking-card {
    padding: clamp(17px, 2vw, 25px);
    border: 1px solid var(--border);
    border-top: 4px solid var(--tour-accent);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 13px 38px #123b3314, 0 2px 5px #123b330b;
}
#booking-title { font: 800 1.17rem/1.3 var(--headings); letter-spacing: -.022em; margin-bottom: 12px; }
.from-label { display: block; color: var(--text-muted); font-size: .79rem; }
.price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-big { font: 800 clamp(1.6rem, 2.6vw, 2.12rem)/1.2 var(--headings); letter-spacing: -.05em; overflow-wrap: anywhere; }
.price-label, .child-price { color: var(--text-muted); font-size: .83rem; }
.child-price { margin: 3px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 10px; min-width: 0; }
.form-group label, .qty-label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.form-group input, .form-group select {
    width: 100%;
    min-width: 0;
    height: 42px;
    background: #fff;
    color: var(--text-dark);
    padding: 0 10px;
    border: 1px solid #bacdc7;
    border-radius: 8px;
    font-size: .93rem;
}
.form-group input:focus, .form-group select:focus { border-color: var(--lake-teal); }
.form-group input[aria-invalid="true"] { border-color: var(--danger); }
.qty-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qty-ctrl { display: grid; grid-template-columns: 35px minmax(0, 1fr) 35px; min-height: 39px; border: 1px solid var(--border); border-radius: 9px; }
.qty-ctrl button { border: 0; border-radius: 8px; background: var(--snow-white); color: var(--lake-teal); font-size: 1.12rem; font-weight: 700; }
.qty-ctrl button:hover { background: var(--lake-teal-light); }
.qty-ctrl input { min-width: 0; width: 100%; text-align: center; border: 0; color: var(--text-dark); font-weight: 700; background: transparent; }
.summary-box, .modal-total { margin-block: 13px; padding: 10px 12px; border-radius: 10px; background: var(--snow-white); }
.summary-row, .modal-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 3px 0; font-size: .82rem; color: var(--text-mid); }
.summary-row.total, .modal-total-row.grand { margin-block: 4px; padding-top: 6px; border-top: 1px solid var(--border); font-size: .98rem; color: var(--text-dark); font-weight: 800; }
.summary-row > :last-child, .modal-total-row > :last-child { text-align: end; flex-shrink: 0; }
.btn-reserve, .btn-send, .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--lake-teal);
    color: #fff;
    font: 800 .95rem/1.3 var(--headings);
    text-align: center;
    text-decoration: none;
}
.btn-reserve, .btn-send { width: 100%; }
.btn-reserve:hover, .btn-send:hover, .sticky-cta:hover { background: var(--andean-blue); }
.btn-send:disabled { opacity: .65; cursor: wait; }
.trust-items { display: grid; gap: 6px; margin-top: 12px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--text-muted); }
.trust-item svg { flex-shrink: 0; color: var(--lake-teal); }
.booking-error { margin-top: 5px; font-size: .83rem; color: var(--danger); }
.mobile-booking { display: none; }

.modal-overlay {
    position: fixed;
    z-index: 60;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    background: #102622b8;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
    position: relative;
    width: min(100%, 560px);
    max-height: min(90vh, calc(100dvh - 32px));
    padding: 25px;
    overflow: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px #10262255;
}
.modal-close { position: absolute; inset-inline-end: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--snow-white); color: var(--text-dark); }
.modal-title { padding-inline-end: 35px; font: 800 1.55rem/1.2 var(--headings); letter-spacing: -.025em; }
.modal-sub { margin: 4px 0 14px; font-size: .92rem; color: var(--text-muted); }
.modal-section { margin-block: 14px; }
.modal-section-title { margin-bottom: 8px; font-size: .9rem; font-weight: 700; }
.modal-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.modal-contact { margin-bottom: 12px; padding: 12px; border-radius: 10px; background: var(--lake-teal-light); color: var(--andean-blue); font-size: .88rem; }
.modal-contact strong { display: block; }
.modal-loading { position: absolute; z-index: 2; inset: 0; place-content: center; align-items: center; justify-content: center; border-radius: inherit; background: #fffffff0; }
.modal-loading-box { display: grid; justify-items: center; gap: 5px; text-align: center; }
.modal-loading-box span { color: var(--text-muted); font-size: .87rem; }
.modal-spinner { width: 37px; height: 37px; margin-bottom: 6px; border: 4px solid var(--border); border-top-color: var(--lake-teal); border-radius: 50%; animation: gira .75s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.success-state { text-align: center; }
.success-icon { font-size: 2.8rem; }
.success-title { padding: 0; color: var(--lake-teal); }
.success-sub { color: var(--text-mid); font-size: .93rem; }

.footer-cajon { background: #102d27; color: #e1eeea; }
.footer-cajon-container { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: 23px; padding-block: 38px 28px; }
.footer-cajon-logo { display: block; max-width: 160px; max-height: 62px; margin-bottom: 9px; }
.footer-cajon h4 { color: #fff; margin-bottom: 8px; font: 800 .95rem/1.4 var(--headings); }
.footer-cajon ul { margin: 0; padding: 0; list-style: none; }
.footer-cajon li, .footer-cajon p { font-size: .87rem; margin-bottom: 5px; }
.footer-cajon a { color: #e1eeea; text-decoration: none; }
.footer-cajon a:hover { text-decoration: underline; }
.footer-cajon-whatsapp { display: inline-block; margin-top: 6px; font-size: .87rem; font-weight: 700; }
.footer-cajon-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; border-top: 1px solid #ffffff29; padding-block: 15px; font-size: .75rem; }
.wa-float { position: fixed; z-index: 11; inset-inline-end: 16px; bottom: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--lake-teal); color: #fff; box-shadow: 0 5px 18px #1426234d; }

@media (min-width: 901px) and (min-height: 820px) {
    .booking-card { position: sticky; top: 76px; }
    #reservar { align-self: stretch; }
}
@media (max-width: 900px) {
    .content-grid { grid-template-columns: minmax(0, 1fr); }
    body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
    .mobile-booking {
        position: fixed;
        inset: auto 0 0;
        z-index: 20;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        min-height: calc(69px + env(safe-area-inset-bottom));
        padding: 8px calc(var(--gutter) + 49px) calc(8px + env(safe-area-inset-bottom)) var(--gutter);
        border-top: 1px solid var(--border);
        background: #fff;
        box-shadow: 0 -6px 22px #143b3216;
    }
    .mobile-booking-price { display: grid; font-size: .75rem; color: var(--text-muted); line-height: 1.35; }
    .mobile-booking-price strong { color: var(--text-dark); font: 800 1.12rem/1.3 var(--headings); }
    .wa-float {
        z-index: 21;
        inset-inline-end: var(--gutter);
        bottom: calc(14px + env(safe-area-inset-bottom));
        width: 41px;
        height: 41px;
        border: 1px solid var(--border);
        background: var(--surface-tint);
        color: var(--lake-teal);
        box-shadow: none;
    }
    .wa-float svg { width: 22px; height: 22px; }
    .footer-cajon-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .site-header-inner { min-height: 62px; }
    .site-brand { min-height: 40px; padding-inline: 7px; }
    .site-brand img { max-width: min(30vw, 120px); height: 29px; }
    .site-preferences { gap: 5px; }
    .select-idiomas { max-width: 31vw; padding-inline: 5px; }
    #moedaSelect { width: 65px; }
    .tour-hero { padding-bottom: 17px; }
    .tour-media { margin-top: 17px; }
    .gallery { grid-template: minmax(0, 1fr) / minmax(0, 1fr); height: clamp(215px, 65vw, 365px); border-radius: 15px; }
    .gallery--3 .gallery-img:first-child { grid-row: auto; }
    .gallery-img:not(:first-child) { display: none; }
    .gallery-launch { inset-inline-end: 9px; top: 9px; bottom: auto; }
    .gallery-dialog { padding: 7px; }
    .gallery-stage { gap: 4px; }
    .gallery-stage button { width: 34px; height: 34px; }
    .sticky-inner a { min-height: 47px; }
    .content-grid { padding-block: 24px 40px; }
    .section { padding-block: 25px; }
    .highlights-inner, .feature-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 8px; }
    .inc-grid { grid-template-columns: 1fr; gap: 8px; }
    .modal { padding: 19px 15px; }
    .modal-form-row { grid-template-columns: 1fr; gap: 0; }
    .form-group input, .form-group select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gallery-img img, .modal-overlay { transition: none; }
}

.gallery-stage--single { grid-template-columns: minmax(0, 1fr); }
.desktop-booking { display: none; }
.pickup-link, .pickup-note { font-size: .78rem; }
@media (min-width: 901px) {
    .tour-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 26px; }
    .desktop-booking { display: grid; grid-template-columns: auto auto; gap: 14px; align-items: center; }
    .desktop-booking-price { display: grid; font-size: .78rem; color: var(--text-muted); line-height: 1.4; }
    .desktop-booking-price strong { font: 800 1.27rem/1.3 var(--headings); color: var(--text-dark); }
}
@media (max-width: 370px) {
    .qty-ctrl { grid-template-columns: 29px minmax(0, 1fr) 29px; }
}
.footer-cajon,
.hl-item {
    background: var(--tour-accent, #11695c);
}

.hl-item,
.hl-item .hl-sub {
    color: #fff;
}

.wa-float {
    background: #12805c;
    color: #fff;
    border-color: transparent;
}

.it-dot {
    background: var(--tour-accent, #11695c);
    color: #fff;
}

.hl-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}