/* =========================================================
   ALEXIS BIENES RAÍCES — Editorial luxury real estate
   ========================================================= */
:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #ffffff;
  --off: #f3f1ec;
  --gray: #6f6f6f;
  --line: rgba(10,10,10,.14);
  --line-light: rgba(255,255,255,.18);
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --pad: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(.77,0,.18,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--black); background: var(--white); font-weight: 300; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--black); color: var(--white); }

h1, h2, h3 { font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: -.01em; }
h2 { font-size: clamp(2.4rem, 6.4vw, 6.2rem); }
h3 { font-size: 1.05rem; letter-spacing: .14em; font-weight: 500; }
h1 em, h2 em, .footer-claim em { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: none; letter-spacing: -.02em; }

.label { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; color: var(--gray); margin-bottom: 1.8rem; }
.label.light { color: rgba(255,255,255,.7); }
.label.center { text-align: center; }

/* ---------- MASK / SPLIT ANIMATIONS ---------- */
.mask { display: block; overflow: hidden; }
.mask > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); }
.ready .mask > span { transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.split.in .w > span { transform: none; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.clip.in { clip-path: inset(0 0 0 0); }
.clip .img { transform: scale(1.25); transition: transform 2s var(--ease-out); }
.clip.in .img { transform: scale(1); }

/* ---------- LOADER ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--black); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem; transition: transform 1.1s var(--ease); }
.loader.done { transform: translateY(-100%); }
.loader-word { display: flex; overflow: hidden; font-size: clamp(3rem, 10vw, 8rem); font-weight: 500; letter-spacing: .12em; }
.loader-word span { display: inline-block; transform: translateY(100%); animation: letterUp .9s var(--ease-out) forwards; }
.loader-word span:nth-child(2) { animation-delay: .06s; } .loader-word span:nth-child(3) { animation-delay: .12s; }
.loader-word span:nth-child(4) { animation-delay: .18s; } .loader-word span:nth-child(5) { animation-delay: .24s; }
.loader-word span:nth-child(6) { animation-delay: .30s; }
@keyframes letterUp { to { transform: none; } }
.loader-bar { width: min(220px, 50vw); height: 1px; background: rgba(255,255,255,.2); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--white); transition: width .3s linear; }

/* ---------- CURSOR ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; width: 10px; height: 10px; border-radius: 50%; background: var(--white); mix-blend-mode: difference; pointer-events: none; transform: translate(-50%, -50%); transition: width .45s var(--ease-out), height .45s var(--ease-out), background .3s; display: grid; place-items: center; }
.cursor span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--black); opacity: 0; transition: opacity .3s; }
.cursor.big { width: 92px; height: 92px; mix-blend-mode: normal; }
.cursor.big span { opacity: 1; }
@media (hover: none), (max-width: 860px) { .cursor { display: none; } }

/* ---------- BUTTONS ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.15rem 2.4rem; font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light::before { background: var(--black); }
.btn-light:hover { color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); backdrop-filter: blur(6px); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark::before { background: #2a2a2a; }
.btn.full { width: 100%; padding: 1.4rem; }
.btn span { transition: transform .4s var(--ease-out); }
.btn:hover span { transform: translateX(6px); }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.7rem var(--pad); color: var(--white); transition: background .5s, padding .5s, color .5s, transform .5s var(--ease); }
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); color: var(--black); padding: 1.05rem var(--pad); }
.nav.hidden { transform: translateY(-100%); }
.logo { font-size: 1.45rem; font-weight: 600; letter-spacing: .2em; }
.logo em { font-family: var(--serif); font-style: italic; }
.nav-links { display: flex; gap: 2.8rem; }
.nav-links a { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; position: relative; display: flex; gap: .5rem; align-items: baseline; }
.nav-links small { font-size: .55rem; opacity: .5; letter-spacing: .1em; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; border: 1px solid currentColor; padding: .85rem 1.4rem; border-radius: 40px; transition: background .4s, color .4s; }
.nav-cta:hover { background: var(--white); color: var(--black); }
.nav.scrolled .nav-cta:hover { background: var(--black); color: var(--white); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 22px; position: relative; color: inherit; z-index: 2; }
.burger span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.burger span:first-child { top: 6px; } .burger span:last-child { bottom: 6px; }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; color: var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.hero-media { position: absolute; inset: -6% 0; background-size: cover; background-position: center; transform: scale(1.15); transition: transform 2.6s var(--ease-out); will-change: transform; }
.ready .hero-media { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.78) 100%); }
.hero-top { position: relative; display: flex; justify-content: space-between; padding: 7.5rem var(--pad) 0; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }
.hero-content { position: relative; padding: 0 var(--pad) 3.2rem; }
.hero h1 { font-size: clamp(2.8rem, 8.6vw, 9.2rem); line-height: .92; margin-bottom: 3rem; }
.hero h1 .mask:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .mask:nth-child(3) > span { transition-delay: .24s; }
.hero h1 .mask:nth-child(3) { font-size: .42em; letter-spacing: .06em; margin-top: .5em; font-weight: 300; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--line-light); opacity: 0; transform: translateY(20px); transition: opacity 1s .7s, transform 1s .7s var(--ease-out); }
.ready .hero-bottom { opacity: 1; transform: none; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-hint { font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; display: flex; align-items: center; gap: 1rem; }
.scroll-hint i { display: block; width: 1px; height: 46px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--black); color: var(--white); overflow: hidden; padding: 2.4rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: 3rem; animation: marquee 32s linear infinite; padding-left: 3rem; }
.marquee span { font-size: clamp(3rem, 8vw, 7.5rem); text-transform: uppercase; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.marquee .outline { color: transparent; -webkit-text-stroke: 1px var(--white); font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; }
.marquee b { font-size: 1.6rem; font-weight: 300; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: clamp(110px, 16vw, 240px) var(--pad); max-width: 1500px; margin: 0 auto; }
.manifesto-text { font-size: clamp(1.9rem, 4.6vw, 4.4rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 400; }
.manifesto-text .mw { color: rgba(10,10,10,.12); transition: color .35s; }
.manifesto-text .mw.on { color: var(--black); }
.manifesto-text .mw.serif { font-family: var(--serif); font-style: italic; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(2.4rem, 4vw, 4rem) var(--pad); border-right: 1px solid var(--line); }
.stat:nth-child(2) { transition-delay: .1s; } .stat:nth-child(3) { transition-delay: .2s; } .stat:nth-child(4) { transition-delay: .3s; border-right: 0; }
.stat strong { display: block; font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; margin-bottom: 1rem; }
.stat p { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); font-weight: 500; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(100px, 12vw, 180px) var(--pad); position: relative; }
.section-head { margin-bottom: clamp(3rem, 6vw, 6rem); max-width: 1100px; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(4rem, 7vw, 7rem); }

/* ---------- LISTINGS ---------- */
.listings { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2rem, 3vw, 3rem) clamp(1.2rem, 2.4vw, 2.4rem); }
.listing { grid-column: span 4; cursor: pointer; }
.listing--lg { grid-column: span 8; grid-row: span 2; }
.listing--wide { grid-column: 3 / span 10; }
.listing-img { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--off); }
.listing--lg .listing-img { aspect-ratio: auto; height: calc(100% - 6rem); min-height: 520px; }
.listing--wide .listing-img { aspect-ratio: 16/8; }
.listing-img .img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.listing:hover .listing-img .img { transform: scale(1.05); transition: transform 1.4s var(--ease-out); }
.tag { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 1; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: .5rem .9rem; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.listing-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-top: 1.4rem; }
.listing-info h3 { margin-bottom: .45rem; }
.listing-info p { font-size: .85rem; color: var(--gray); }
.listing-info .price { font-size: 1.1rem; color: var(--black); font-weight: 500; white-space: nowrap; letter-spacing: .02em; }
.price small { font-size: .65rem; letter-spacing: .15em; color: var(--gray); }

/* ---------- BANNER ---------- */
.banner { position: relative; height: 100vh; min-height: 620px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); }
.banner-media { position: absolute; inset: -15% 0; background-size: cover; background-position: center; will-change: transform; }
.banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.3), rgba(0,0,0,.65)); }
.banner-inner { position: relative; z-index: 1; padding: 0 var(--pad); }
.banner h2 { margin-bottom: 3rem; }

/* ---------- SERVICES ---------- */
.services { border-top: 1px solid var(--black); }
.service { position: relative; display: grid; grid-template-columns: 80px 1fr 1.1fr 40px; align-items: center; gap: 2rem; padding: clamp(1.8rem, 3vw, 2.8rem) 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .6s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; background: var(--black); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.services-section { isolation: isolate; }
.service:hover { padding-left: 2rem; padding-right: 2rem; color: var(--white); }
.service:hover::before { transform: scaleY(1); }
.service .num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; opacity: .55; }
.service h3 { font-size: clamp(2rem, 4.4vw, 4rem); letter-spacing: -.01em; font-weight: 400; }
.service p { font-size: .95rem; line-height: 1.7; opacity: .75; max-width: 440px; }
.service i { font-style: normal; font-size: 1.6rem; transition: transform .5s var(--ease-out); }
.service:hover i { transform: rotate(-45deg); }
.service-preview { position: fixed; top: 0; left: 0; width: 280px; height: 360px; pointer-events: none; z-index: 40; background-size: cover; background-position: center; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .4s, transform .5s var(--ease-out); }
.service-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--off); }
.about-img { position: relative; overflow: hidden; min-height: 860px; }
.about-img .img { position: absolute; inset: -10% 0; background-size: cover; background-position: center top; }
.about-text { padding: clamp(70px, 9vw, 150px) var(--pad); align-self: center; }
.about-text h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); margin-bottom: 2.6rem; }
.about-text p { line-height: 1.85; color: #3a3a3a; margin-bottom: 2.6rem; max-width: 540px; }
.about-text blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.25; margin-bottom: 2.6rem; max-width: 500px; padding-left: 1.6rem; border-left: 1px solid var(--black); }
.signature { font-family: var(--serif); font-style: italic; font-size: 2.4rem; }
.signature span { font-family: var(--sans); font-style: normal; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); margin-left: .6rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding: clamp(110px, 14vw, 200px) var(--pad); background: var(--black); color: var(--white); text-align: center; }
.t-slider { display: grid; max-width: 1150px; margin: 0 auto; }
.t { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); pointer-events: none; }
.t.active { opacity: 1; transform: none; pointer-events: auto; }
.t blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1.18; margin-bottom: 2.6rem; }
.t figcaption { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 500; }
.t-nav { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-top: 4rem; }
.t-count { font-size: .75rem; letter-spacing: .2em; color: rgba(255,255,255,.5); }
.t-count b { color: var(--white); font-weight: 500; }
.t-dots { display: flex; gap: 10px; }
.t-dots button { width: 44px; height: 13px; border: 0; background: transparent; cursor: pointer; position: relative; }
.t-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgba(255,255,255,.25); }
.t-dots button::after { content: ""; position: absolute; left: 0; top: 6px; height: 1px; width: 0; background: var(--white); }
.t-dots button.active::after { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 150px); padding: clamp(110px, 13vw, 190px) var(--pad); }
.contact-text h2 { margin-bottom: 2rem; }
.contact-text > p { color: var(--gray); margin-bottom: 3.4rem; font-size: 1.05rem; }
.contact-list { list-style: none; }
.contact-list li { padding: 1.3rem 0; border-top: 1px solid var(--line); display: flex; gap: 2rem; font-size: .98rem; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { width: 96px; flex-shrink: 0; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); padding-top: 4px; font-weight: 500; }
.contact-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.form { display: flex; flex-direction: column; gap: 2.4rem; align-self: end; }
.field { position: relative; }
.field input, .field textarea { width: 100%; font-family: var(--sans); font-size: 1.15rem; font-weight: 300; border: 0; border-bottom: 1px solid var(--line); padding: 1.6rem 0 .8rem; background: transparent; color: var(--black); outline: none; border-radius: 0; resize: vertical; transition: border-color .4s; }
.field input:focus, .field textarea:focus { border-color: var(--black); }
.field label { position: absolute; left: 0; top: 1.6rem; font-size: 1rem; color: var(--gray); pointer-events: none; transition: all .4s var(--ease-out); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.chips legend { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); font-weight: 500; margin-bottom: 1rem; width: 100%; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .75rem 1.4rem; border: 1px solid var(--line); border-radius: 40px; font-size: .78rem; letter-spacing: .1em; cursor: pointer; transition: all .35s; }
.chips span:hover { border-color: var(--black); }
.chips input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.chips input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--black); color: var(--white); padding: clamp(80px, 10vw, 140px) var(--pad) 2rem; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; padding-bottom: 4rem; border-bottom: 1px solid var(--line-light); }
.footer-claim { font-size: clamp(2.2rem, 5vw, 4.8rem); text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.footer-cta { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--white); border-radius: 50px; padding: 1.3rem 2.2rem; transition: background .4s, color .4s; }
.footer-cta:hover { background: var(--white); color: var(--black); }
.footer-mid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3rem 0; }
.footer nav, .social { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.footer nav a, .social a, .footer-bottom a { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .3s; font-weight: 500; }
.footer nav a:hover, .social a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-word { font-size: clamp(5rem, 27vw, 30rem); font-weight: 600; letter-spacing: -.03em; line-height: .8; text-align: center; color: var(--white); margin: 1rem 0 2.4rem; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.45); padding-top: 1.6rem; border-top: 1px solid var(--line-light); }

/* ---------- WHATSAPP ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.15); transition: transform .4s var(--ease-out); }
.wa-float:hover { transform: scale(1.1); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service { grid-template-columns: 60px 1fr 40px; }
  .service p { grid-column: 2 / 3; grid-row: 2; }
  .service i { grid-column: 3; grid-row: 1; }
  .service-preview { display: none; }
  .listing--lg { grid-column: span 12; grid-row: auto; }
  .listing--lg .listing-img { height: auto; min-height: 0; aspect-ratio: 16/10; }
  .listing { grid-column: span 6; }
  .listing--wide { grid-column: span 12; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0; background: var(--black); color: var(--white); flex-direction: column; justify-content: center; padding: 0 var(--pad); gap: 1.6rem; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
  .nav-links.open { clip-path: inset(0 0 0 0); }
  .nav-links a { font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: 0; font-weight: 400; }
  .nav-links a::after { display: none; }
  .nav-links small { font-size: .8rem; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .nav.menu-open { color: var(--white); background: transparent; backdrop-filter: none; }
  .hero-top p:last-child { display: none; }
  .hero-bottom { flex-direction: column; align-items: stretch; }
  .scroll-hint { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
  .about-img { min-height: 560px; }
  .listing, .listing--wide { grid-column: span 12; }
  .listing--wide .listing-img { aspect-ratio: 4/5; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .service { grid-template-columns: 1fr 30px; gap: 1rem; }
  .service .num { display: none; }
  .service p { grid-column: 1 / -1; }
  .service i { grid-column: 2; }
  .stat { padding: 2.4rem 20px; }
  .contact-list li { flex-direction: column; gap: .4rem; }
  .signature span { display: block; margin: .6rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
