:root {
    --cream: #FAF7F2;
    --cream-2: #F1ECE3;
    --cream-3: #EEE7DA;
    --forest: #12281F;
    --forest-hover: #1c3a2c;
    --forest-deep: #0d1f18;
    --gold: #B99A5B;
    --gold-hover: #cbae70;
    --ink: #2B2B28;
    --muted: #6E6A61;
    --wa: #25D366;
    --wa-ink: #0A3D1E;

    --line: rgba(185, 154, 91, 0.3);
    --line-soft: rgba(185, 154, 91, 0.18);

    --serif: 'Fraunces', serif;
    --sans: 'Manrope', system-ui, sans-serif;
    --mono: 'Space Mono', monospace;
    
    --pad-x: clamp(20px, 5vw, 72px);
    --section-y: clamp(64px, 9vw, 120px);
    --gap: clamp(16px, 2.4vw, 24px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

img, svg, video, iframe { max-width: 100%; }

html { scroll-behavior: smooth; }

html { overflow-x: clip; }

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--gold); }
input, select, textarea, button { font-family: inherit; }
::selection { background: var(--gold); color: var(--cream); }

@keyframes auraFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.gold { color: var(--gold); }
.media-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.hatch-a { background: repeating-linear-gradient(135deg, #ECE5D8 0 14px, #E4DBCB 14px 28px); }
.hatch-b { background: repeating-linear-gradient(135deg, #E4DBCB 0 14px, #DAD0BC 14px 28px); }
.hatch-c { background: repeating-linear-gradient(135deg, #E4DBCB 0 12px, #DAD0BC 12px 24px); }

[data-reveal] { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

.eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}
.accent { font-style: italic; color: var(--gold); }

.btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.btn-dark { padding: 16px 30px; background: var(--forest); color: var(--cream); transition: background 0.3s ease; }
.btn-dark:hover { background: var(--forest-hover); color: var(--cream); }
.btn-whatsapp { gap: 9px; padding: 16px 26px; background: var(--wa); color: var(--wa-ink); font-weight: 700; transition: filter 0.3s ease; }
.btn-whatsapp:hover { filter: brightness(1.08); color: var(--wa-ink); }

.link-underline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
}
.link-underline:hover { color: var(--gold); }

.carousel-nav-group { display: flex; align-items: center; gap: 20px; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.arrow-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(185, 154, 91, 0.5);
    background: transparent;
    color: var(--forest);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.arrow-btn:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.section { padding: var(--section-y) var(--pad-x); }
.section-cream { background: var(--cream-2); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(34px, 4.6vw, 66px);
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--forest);
    margin-top: 20px;
}
.section-forest .section-title { color: var(--cream); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 44px;
    flex-wrap: wrap;
    gap: 24px;
}

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad-x); }
.container-narrow { max-width: 900px; }
.container-wide { max-width: 1480px; }
.section-y { padding-block: var(--section-y); }

.grid { display: grid; gap: var(--gap); }
/* grid/flex children may shrink below their content — stops long words &
   fixed minmax tracks from forcing the row wider than the viewport */
.grid > *, .row > * { min-width: 0; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cols-6 { grid-template-columns: repeat(6, 1fr); }
/* min(col-min, 100%) so a card column can never exceed the viewport width */
.auto-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(var(--col-min, 240px), 100%), 1fr)); }

.row { display: flex; flex-wrap: wrap; gap: var(--gap); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { --gap: 12px; }
.gap-lg { --gap: 48px; }

@media (max-width: 900px) {
    .cols-2, .cols-3, .cols-4, .cols-5, .cols-6 { grid-template-columns: 1fr; }
}

.field {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(250, 247, 242, 0.28);
    padding: 12px 2px;
    color: var(--cream);
    font-size: 15px;
    outline: none;
}
.field-area { resize: none; }
.form-submit {
    margin-top: 12px;
    padding: 16px;
    background: var(--gold);
    color: var(--forest);
    border: none;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
}
.form-submit:hover { background: var(--gold-hover); }

.combo { position: relative; }
.combo-trigger {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: transparent; border: none; border-bottom: 1px solid rgba(250, 247, 242, 0.28);
    padding: 12px 2px; cursor: pointer;
    font-size: 15px; color: rgba(250, 247, 242, 0.6); text-align: left;
}
.combo.has-value .combo-trigger { color: var(--cream); }
.combo-caret { font-size: 9px; color: var(--gold); transition: transform 0.25s ease; }
.combo.is-open .combo-caret { transform: rotate(180deg); }
.combo-panel {
    display: none; flex-direction: column;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
    background: var(--cream); border: 1px solid rgba(185, 154, 91, 0.35);
    box-shadow: 0 16px 36px rgba(18, 40, 31, 0.18);
}
.combo.is-open .combo-panel { display: flex; }
.combo-search {
    flex-shrink: 0; width: 100%;
    background: transparent; border: none; border-bottom: 1px solid rgba(185, 154, 91, 0.25);
    padding: 13px 16px; font-family: var(--sans); font-size: 14px; color: var(--forest); outline: none;
}
.combo-search::placeholder { color: var(--muted); }
.combo-options { list-style: none; overflow-y: auto; max-height: 220px; }
.combo-option {
    padding: 11px 16px; font-size: 14px; color: var(--forest); cursor: pointer;
    border-bottom: 1px solid rgba(185, 154, 91, 0.12);
    transition: background 0.15s ease, color 0.15s ease;
}
.combo-option:hover { background: var(--cream-2); color: var(--gold); }
.combo-option.is-selected { color: var(--gold); }
.combo-option.is-hidden { display: none; }
.combo-empty { display: none; padding: 14px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.combo-empty.is-visible { display: block; }

.faq-head { margin-bottom: 48px; text-align: center; }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 4px; background: transparent; border: none; cursor: pointer; text-align: left; }
.faq-question { font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; color: var(--forest); }
.faq-toggle:hover .faq-question { color: var(--gold); }
.faq-sign { font-family: var(--serif); font-weight: 300; font-size: 30px; color: var(--gold); flex-shrink: 0; line-height: 1; }
.faq-answer { display: none; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 76ch; padding: 0 4px 30px; }
.faq-answer.is-open { display: block; }
.faq-end { border-top: 1px solid var(--line); }

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 28px;
    padding: 18px var(--pad-x);
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(185, 154, 91, 0.22);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--forest); white-space: nowrap; flex-shrink: 0; margin-right: 18px; }
.brand-mark {
    width: 38px; height: 38px; border-radius: 50%; background: var(--forest);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--gold); line-height: 1;
}
.brand-mark span { margin-top: -1px; }
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: 0.02em; }
.brand-name span { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 20px;
    flex: 1 1 auto;
    min-width: 0;
}
.nav-link {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}
.nav-link:hover { color: var(--gold); }
.nav-link-cta { color: var(--forest); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

.nav-toggle {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 11px; flex-shrink: 0;
    background: transparent; border: 1px solid rgba(185, 154, 91, 0.45); cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--forest); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 40;
    background: rgba(13, 31, 24, 0.5); opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
/* wrapper is invisible on desktop (nav-links stays a normal header flex item) */
.nav-drawer { display: contents; }

.lang { position: relative; }
.lang-btn {
    display: flex; align-items: center; gap: 7px;
    background: transparent; border: 1px solid rgba(185, 154, 91, 0.45);
    padding: 8px 12px; cursor: pointer;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest);
    transition: border-color 0.3s ease;
}
.lang-btn:hover { border-color: var(--gold); }
.lang-caret { font-size: 9px; color: var(--gold); }
.lang-menu {
    display: none;
    position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px;
    background: var(--cream); border: 1px solid rgba(185, 154, 91, 0.35);
    box-shadow: 0 16px 36px rgba(18, 40, 31, 0.16); z-index: 70; flex-direction: column;
}
.lang-menu.is-open { display: flex; }
.lang-option {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: transparent; border: none; border-bottom: 1px solid rgba(185, 154, 91, 0.14);
    cursor: pointer; text-align: left;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest);
}
.lang-option:hover { background: var(--cream-2); }
.lang-option-code { color: var(--gold); width: 24px; flex-shrink: 0; }
.lang-option-name { color: var(--muted); text-transform: none; letter-spacing: 0.02em; font-size: 12px; }

.site-footer { background: var(--forest-deep); color: rgba(250, 247, 242, 0.7); padding: 64px var(--pad-x) 36px; }
.site-footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 44px; border-bottom: 1px solid rgba(185, 154, 91, 0.2);
}
.site-footer-top > * { min-width: 0; }
.site-footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer-brand-mark {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(185, 154, 91, 0.14); border: 1px solid rgba(185, 154, 91, 0.5);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    font-family: var(--serif); font-size: 21px; color: var(--gold); line-height: 1;
}
.site-footer-brand-mark span { margin-top: -1px; }
.site-footer-brand-name { font-family: var(--serif); font-size: 24px; color: var(--cream); }
.site-footer-lead { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 34ch; }
.site-footer-col-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer-col-text { font-size: 14px; line-height: 1.9; }
.site-footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer-links a { color: rgba(250, 247, 242, 0.7); }
.site-footer-links a:hover { color: var(--gold); }
.site-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; flex-wrap: wrap; gap: 16px; }
.site-footer-copy { font-family: var(--mono); font-size: 11px; color: rgba(250, 247, 242, 0.45); }
.site-footer-legal { display: flex; gap: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.site-footer-legal a { color: rgba(250, 247, 242, 0.6); }
.site-footer-legal a:hover { color: var(--gold); }

.wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 100;
    width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
    animation: auraFloat 4s ease-in-out infinite;
}
.wa-float:hover { filter: brightness(1.06); }

@media (max-width: 900px) {
    .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); flex-wrap: nowrap; gap: 14px; }
    .brand { flex-shrink: 1; min-width: 0; margin-right: 0; gap: 10px; }
    .brand-mark { width: 34px; height: 34px; font-size: 19px; }
    .brand-name { font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
    .nav-toggle { display: flex; position: relative; z-index: 70; flex-shrink: 0; }
    .nav-overlay { display: block; }
    .nav-overlay.is-open { opacity: 1; pointer-events: auto; }
    .nav-drawer { display: block; position: fixed; inset: 0; z-index: 60; overflow: hidden; overflow: clip; pointer-events: none; }
    .nav-links {
        position: absolute; top: 0; right: 0;
        height: 100dvh; width: min(360px, 84vw);
        flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start;
        gap: 2px; padding: 92px 30px 40px;
        background: var(--cream); border-left: 1px solid var(--line);
        box-shadow: -24px 0 60px -34px rgba(13, 31, 24, 0.55);
        transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto; overscroll-behavior: contain; pointer-events: auto;
    }
    .nav-links.is-open { transform: translateX(0); }
    .nav-link { width: 100%; font-size: 13px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
    .nav-link-cta { margin-top: 18px; padding-bottom: 14px; }
    .lang { width: 100%; margin-top: 12px; }
    .lang-btn { width: 100%; justify-content: space-between; }
    .lang-menu { position: static; min-width: 0; box-shadow: none; margin-top: 10px; }

    body.nav-open { overflow: hidden; }
    body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    body.nav-open .wa-float { display: none; }

    .site-footer-top { grid-template-columns: 1fr; }
}
