/* =========================================================
   Casa Milliams — styles.css
   Coastal quiet-luxury · editorial layout
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    --bone:       #faf7f2;
    --bone-2:     #f3ede3;
    --sand:       #efe7da;
    --sand-deep:  #e4d8c5;
    --clay:       #b8946b;
    --clay-deep:  #9a7850;
    --espresso:   #2c2620;
    --ink:        #3a342d;
    --stone:      #8c8275;
    --line:       rgba(44, 38, 32, .14);
    --line-soft:  rgba(44, 38, 32, .08);
    --white:      #ffffff;

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans:  "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

    --maxw: 1280px;
    --pad: clamp(20px, 5vw, 80px);
    --radius: 2px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--bone);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography helpers ---------- */
.display-lg, .display-md {
    font-family: var(--serif);
    font-weight: 300;
    color: var(--espresso);
    line-height: 1.08;
    letter-spacing: -.01em;
}
.display-lg { font-size: clamp(2rem, 5.4vw, 4.1rem); }
.display-md { font-size: clamp(1.7rem, 3.8vw, 2.9rem); }

.eyebrow {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-weight: 500;
    color: var(--clay-deep);
}
.muted { color: var(--stone); }

.sec-index {
    font-family: var(--serif);
    font-style: italic;
    font-size: .95rem;
    color: var(--clay);
    letter-spacing: .04em;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.section { padding-block: clamp(64px, 9vw, 140px); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 16px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all .35s var(--ease);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-solid {
    background: var(--espresso);
    color: var(--bone);
    border-color: var(--espresso);
}
.btn-solid:hover { background: var(--clay-deep); border-color: var(--clay-deep); transform: translateY(-2px); }
.btn-line {
    background: transparent;
    color: var(--espresso);
    border-color: currentColor;
}
.btn-line:hover { background: var(--espresso); color: var(--bone); transform: translateY(-2px); }
.btn.full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
    padding-block: 22px;
}
.site-header.scrolled {
    background: rgba(250, 247, 242, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line-soft);
    padding-block: 12px;
}
.nav-inner {
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-text {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--espresso);
}
.brand-text em { font-style: italic; color: var(--clay-deep); margin-left: .3em; }
.brand-sub {
    font-size: .58rem;
    text-transform: uppercase;
    letter-spacing: .32em;
    color: var(--stone);
    margin-top: 5px;
}
/* on hero (not scrolled) make brand light */
.site-header:not(.scrolled) .brand-text { color: var(--white); }
.site-header:not(.scrolled) .brand-text em { color: #e7d4bd; }
.site-header:not(.scrolled) .brand-sub { color: rgba(255,255,255,.8); }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a {
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
    transition: color .3s var(--ease);
}
.site-header:not(.scrolled) .main-nav a { color: rgba(255,255,255,.92); }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: currentColor;
    transition: width .35s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.nav-cta {
    border: 1px solid currentColor;
    padding: 9px 20px !important;
    border-radius: 50px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .72rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--espresso); color: var(--bone) !important; border-color: var(--espresso); }
.site-header:not(.scrolled) .nav-cta:hover { background: var(--white); color: var(--espresso) !important; border-color: var(--white); }

.nav-lang { display: flex; align-items: center; gap: 7px; }
.lang-btn {
    background: none; border: none; cursor: pointer;
    font-family: var(--sans);
    font-size: .76rem; font-weight: 500;
    letter-spacing: .08em;
    color: inherit;
    opacity: .55;
    transition: opacity .25s;
    padding: 2px;
}
.site-header:not(.scrolled) .nav-lang { color: #fff; }
.lang-btn:hover { opacity: .85; }
.lang-btn.active { opacity: 1; color: var(--clay-deep); }
.site-header:not(.scrolled) .lang-btn.active { color: #f1ddc4; }
.lang-sep { opacity: .35; font-size: .7rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none; border: none; cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.nav-toggle span {
    width: 26px; height: 1.5px;
    background: var(--espresso);
    transition: transform .35s var(--ease), opacity .25s;
}
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-open .nav-toggle span { background: var(--espresso); }
.nav-open .nav-toggle span:first-child { transform: translateY(3.7px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(28,24,20,.62) 0%, rgba(28,24,20,.12) 38%, rgba(28,24,20,0) 62%),
        linear-gradient(to right, rgba(28,24,20,.34) 0%, rgba(28,24,20,0) 55%);
}
.hero-inner {
    max-width: var(--maxw);
    margin-inline: auto;
    width: 100%;
    padding: 0 var(--pad) clamp(70px, 12vh, 130px);
}
.hero-eyebrow { color: rgba(255,255,255,.9); margin-bottom: 22px; }
.hero-title {
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(3rem, 11vw, 8.5rem);
    line-height: .94;
    letter-spacing: -.02em;
    max-width: 12ch;
}
.hero-sub {
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    font-weight: 300;
    max-width: 46ch;
    margin: 24px 0 36px;
    color: rgba(255,255,255,.92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-line { color: #fff; }
.hero .btn-line:hover { background: #fff; color: var(--espresso); }

.hero-scroll {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 20px;
    display: flex; justify-content: center;
}
.hero-scroll span {
    width: 3px; height: 8px;
    background: #fff; border-radius: 3px;
    margin-top: 7px;
    animation: scrolldot 1.8s infinite var(--ease);
}
@keyframes scrolldot { 0%{opacity:0;transform:translateY(-3px)} 50%{opacity:1} 100%{opacity:0;transform:translateY(9px)} }

/* ---------- Editorial heads ---------- */
.editorial-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.editorial-head::before {
    content: "";
    width: 34px; height: 1px;
    background: var(--clay);
    flex: none;
}
.editorial-head.light .eyebrow { color: #f1ddc4; }
.editorial-head.light .sec-index { color: #f1ddc4; }
.editorial-head.light::before { background: #f1ddc4; }

.editorial-head-row { margin-bottom: clamp(36px, 5vw, 64px); }
.editorial-head-row .display-md { margin-bottom: 12px; max-width: 18ch; }

/* ---------- 01 · Over ---------- */
.over { padding-top: clamp(80px, 11vw, 160px); }
.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.editorial-head { grid-column: 1 / -1; }
.editorial .display-lg { max-width: 14ch; }
.editorial-body { padding-top: 6px; }
.editorial-body p + p { margin-top: 18px; }
.signature {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--clay-deep);
    margin-top: 26px !important;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: clamp(48px, 7vw, 90px);
    padding-top: clamp(36px, 5vw, 56px);
    border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 300;
    color: var(--espresso);
    line-height: 1;
}
.stat-label {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--stone);
}

/* ---------- Stripe divider ---------- */
.stripe-divider {
    height: 16px;
    background-image: repeating-linear-gradient(
        90deg,
        var(--espresso) 0, var(--espresso) 12px,
        transparent 12px, transparent 24px
    );
    opacity: .9;
}

/* ---------- Split sections ---------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { overflow: hidden; border-radius: var(--radius); }
.split-media img {
    width: 100%; height: 100%;
    max-height: 640px;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.split-media:hover img { transform: scale(1.04); }
.split-text .display-md { margin: 6px 0 22px; }
.split-text p + p { margin-top: 16px; }

/* ---------- Amenity grid ---------- */
.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 44px);
    margin-top: clamp(52px, 7vw, 90px);
    padding-top: clamp(40px, 5vw, 60px);
    border-top: 1px solid var(--line);
}
.amenity-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.18rem;
    color: var(--espresso);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
}
.amenity-list li {
    font-size: .92rem;
    color: var(--ink);
    padding: 7px 0 7px 18px;
    position: relative;
}
.amenity-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 16px;
    width: 6px; height: 6px;
    border: 1px solid var(--clay);
    border-radius: 50%;
}

/* ---------- Feature trio ---------- */
.feature-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 24px);
    margin-top: clamp(40px, 6vw, 72px);
}
.feat { overflow: hidden; border-radius: var(--radius); position: relative; }
.feat img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1.1s var(--ease); }
.feat:hover img { transform: scale(1.05); }
.feat figcaption {
    position: absolute;
    left: 0; bottom: 0; right: 0;
    padding: 26px 20px 16px;
    color: #fff;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    background: linear-gradient(to top, rgba(28,24,20,.6), transparent);
}

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
    gap: 14px;
}
.g-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--sand);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item figcaption {
    position: absolute;
    left: 14px; bottom: 12px;
    color: #fff;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: all .4s var(--ease);
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.g-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,24,20,.45), transparent 55%);
    opacity: 0; transition: opacity .4s var(--ease);
}
.g-item:hover figcaption { opacity: 1; transform: translateY(0); }
.g-item:hover::after { opacity: 1; }

/* ---------- 04 · Outdoor ---------- */
.outdoor { padding-top: clamp(56px, 8vw, 110px); }
.outdoor-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: var(--radius);
    margin-inline: var(--pad);
    color: #fff;
}
.outdoor-hero > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.outdoor-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,24,20,.66), rgba(28,24,20,.05) 60%);
}
.outdoor-caption {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 5vw, 60px);
    max-width: 620px;
}
.outdoor-caption .display-md { color: #fff; margin: 4px 0 16px; }
.outdoor-caption p { color: rgba(255,255,255,.92); }

.outdoor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}
.od { overflow: hidden; border-radius: var(--radius); cursor: pointer; aspect-ratio: 3/4; }
.od img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.od:hover img { transform: scale(1.06); }

/* ---------- 05 · Prices ---------- */
.prices { background: var(--bone-2); }
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.price-card {
    background: var(--bone);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(44,38,32,.35); }
.price-card.featured { background: var(--espresso); color: var(--bone); border-color: var(--espresso); }
.price-tag {
    position: absolute; top: 18px; right: 18px;
    font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
    background: var(--clay); color: #fff;
    padding: 5px 12px; border-radius: 50px;
}
.price-season {
    font-size: .76rem; text-transform: uppercase; letter-spacing: .2em;
    color: var(--clay-deep); margin-bottom: 18px;
}
.price-card.featured .price-season { color: #e7d4bd; }
.price-amt {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--espresso);
    line-height: 1;
    white-space: nowrap;
}
.price-amt span[data-i18n] { white-space: nowrap; }
.price-card.featured .price-amt {
    color: #fff;
    font-size: clamp(1.7rem, 2.5vw, 2.1rem);
}
.price-per {
    font-family: var(--sans);
    font-size: .82rem;
    letter-spacing: .04em;
    color: var(--stone);
    margin-left: 8px;
    white-space: nowrap;
}
.price-card.featured .price-per { color: rgba(255,255,255,.7); }
.price-desc { font-size: .88rem; color: var(--stone); margin-top: 14px; }
.price-card.featured .price-desc { color: rgba(255,255,255,.75); }

.terms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 44px;
    margin-top: 44px;
}
.term {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.term-k {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .16em;
    color: var(--clay-deep);
}
.term-v { font-size: .95rem; color: var(--ink); }

/* ---------- 06 · Rules ---------- */
.rule-list { margin-top: 26px; }
.rule-list li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
}
.rule-list.slim li { padding: 9px 0; border: none; font-size: .94rem; color: var(--ink); }
.rule-list.slim li::before { content: "—"; color: var(--clay); margin-right: 2px; }
.rule-ico { font-size: 1.15rem; line-height: 1.5; flex: none; }
.checkout { margin-top: 34px; padding: 26px 28px; background: var(--bone-2); border-radius: var(--radius); }
.checkout-title {
    font-family: var(--serif); font-weight: 400; font-size: 1.15rem;
    color: var(--espresso); margin-bottom: 8px;
}

/* ---------- 07 · Practical ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.info-card {
    background: var(--bone-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 32px 30px;
    transition: transform .4s var(--ease), background .4s var(--ease);
}
.info-card:hover { transform: translateY(-4px); background: var(--sand); }
.info-card h3 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.22rem;
    color: var(--espresso);
    margin-bottom: 12px;
}
.info-card p { font-size: .94rem; color: var(--ink); }
.info-link {
    display: inline-block;
    margin-top: 14px;
    font-size: .82rem;
    letter-spacing: .06em;
    color: var(--clay-deep);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, color .3s;
}
.info-link:hover { color: var(--espresso); border-color: var(--clay); }
.shop-links { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.shop-links a {
    font-size: .9rem;
    color: var(--clay-deep);
    width: fit-content;
    border-bottom: 1px solid transparent;
    transition: border-color .3s, color .3s;
}
.shop-links a:hover { color: var(--espresso); border-color: var(--clay); }

/* ---------- 08 · Contact ---------- */
.contact { background: var(--espresso); color: var(--bone); }
.contact .eyebrow { color: #e7d4bd; }
.contact .sec-index { color: #e7d4bd; }
.contact .editorial-head::before { background: #c9a986; }
.contact .display-md { color: var(--bone); }
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
}
.contact-intro p { color: rgba(250,247,242,.78); margin: 18px 0 30px; max-width: 44ch; }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-details li { display: flex; flex-direction: column; gap: 4px; }
.cd-k {
    font-size: .68rem; text-transform: uppercase; letter-spacing: .2em;
    color: #b89a78;
}
.contact-details a { color: var(--bone); border-bottom: 1px solid transparent; transition: border-color .3s; width: fit-content; }
.contact-details a:hover { border-color: #c9a986; }

.contact-form {
    background: var(--bone);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 44px);
    color: var(--ink);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .16em;
    color: var(--clay-deep); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
    font-family: var(--sans);
    font-size: .96rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 15px;
    transition: border-color .3s, box-shadow .3s;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(184,148,107,.16);
}
.field textarea { resize: vertical; }
.contact-form .btn { margin-top: 6px; }

.form-status {
    margin-top: 16px;
    font-size: .9rem;
    padding: 12px 16px;
    border-radius: var(--radius);
    text-align: center;
}
.form-status.ok { background: #e7efe2; color: #3f6b32; }
.form-status.error { background: #f6e8df; color: #9a5a32; }

/* ---------- Footer ---------- */
.site-footer { background: #211d18; color: rgba(250,247,242,.8); padding: clamp(48px, 6vw, 76px) 0 26px; }
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 38px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-text { color: var(--bone); font-size: 1.5rem; }
.footer-brand .brand-text em { color: #c9a986; }
.footer-brand p { font-size: .82rem; margin-top: 8px; color: rgba(250,247,242,.6); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-nav a { font-size: .82rem; letter-spacing: .04em; transition: color .3s; }
.footer-nav a:hover { color: #c9a986; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; text-align: right; }
.footer-contact a:hover { color: #c9a986; }
.footer-copy { text-align: center; font-size: .76rem; color: rgba(250,247,242,.45); padding-top: 26px; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(24, 20, 16, .94);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-img { max-width: 90vw; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lb-close, .lb-nav {
    position: absolute;
    background: none; border: none; color: #fff;
    cursor: pointer; opacity: .8;
    transition: opacity .25s, transform .25s;
}
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 24px; right: 30px; font-size: 2.4rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 24px; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-nav:hover { transform: translateY(-50%) scale(1.12); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .hero-scroll span { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .amenity-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1240px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        inset: 0;
        height: 100vh; height: 100dvh;
        background: var(--bone);
        transform: translateX(100%);
        transition: transform .5s var(--ease);
        padding: 100px var(--pad) 40px;
        overflow-y: auto;
        z-index: 999;
    }
    .nav-open .main-nav { transform: translateX(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a {
        display: block;
        color: var(--ink) !important;
        font-size: 1.15rem;
        padding: 15px 0;
        border-bottom: 1px solid var(--line-soft);
    }
    .main-nav a::after { display: none; }
    .main-nav a.nav-cta {
        display: inline-block;
        margin-top: 22px;
        border: 1px solid var(--espresso);
        font-size: .82rem !important;
        padding: 13px 28px !important;
    }
    .nav-lang { margin-top: 26px; color: var(--ink) !important; justify-content: flex-start; gap: 10px; }
    .nav-lang .lang-btn { font-size: 1rem; }
}

@media (max-width: 860px) {
    body { font-size: 16px; }
    .editorial { grid-template-columns: 1fr; gap: 22px; }
    .editorial .display-lg { max-width: none; }
    .split { grid-template-columns: 1fr; gap: 26px; }
    .split.reverse .split-media { order: 0; }
    .split-media img { max-height: 60vh; }
    .feature-trio { grid-template-columns: 1fr; }
    .feat img { aspect-ratio: 16/10; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .price-grid { grid-template-columns: 1fr; }
    .terms { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .outdoor-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-contact { text-align: left; }
}

@media (max-width: 560px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .g-item.g-wide { grid-column: span 2; }
    .amenity-grid { grid-template-columns: 1fr; }
    .terms { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .footer-inner { flex-direction: column; }
    .lb-nav { font-size: 2.2rem; padding: 0 12px; }
}
