/* ==========================================================
   Agence immobilière – public site
   Palette: sage #577568 · beige #DECBAF · brass #B9864B · brown #845033
   ========================================================== */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --sage: #577568;
  --sage-600: #4a6559;
  --sage-800: #2f4239;
  --sage-900: #1e2b26;
  --beige: #decbaf;
  --beige-200: #ece1cf;
  --beige-100: #f4ede2;
  --paper: #fbf8f3;
  --white: #fff;
  --brass: #b9864b;
  --brass-300: #d6b183;
  --brown: #845033;
  --brown-700: #6b3f27;
  --ink: #1f2622;
  --ink-2: #454e49;
  --ink-3: #636a66;
  --line: #e6dccc;
  --line-2: #d9ccb7;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r: 6px;
  --r-lg: 10px;
  --hd: 78px;
  --shadow-sm: 0 1px 2px rgba(31, 38, 34, .05), 0 4px 14px -6px rgba(31, 38, 34, .12);
  --shadow: 0 1px 2px rgba(31, 38, 34, .05), 0 18px 40px -18px rgba(31, 38, 34, .28);
  --shadow-lg: 0 2px 4px rgba(31, 38, 34, .05), 0 30px 60px -24px rgba(31, 38, 34, .35);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16.5px/1.68 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brown-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--beige); color: var(--ink); }

.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; color: #fff; }
.muted { color: var(--ink-3); font-size: .92rem; }

.h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brown);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brass); }
.eyebrow-light { color: var(--beige); }
.eyebrow-light::before { background: var(--brass-300); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bg-h: var(--sage-800);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border: 1px solid transparent; border-radius: 3px;
  background: var(--bg); color: var(--fg); font-weight: 650; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg-h);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease-out);
}
.btn:hover { color: var(--fg); }
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform .45s var(--ease-out); }
.btn:hover .i[class] { transform: translateX(3px); }
.btn-primary { --bg: var(--brown); --bg-h: var(--brown-700); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bg-h: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { --fg: #fff; }
.btn-light { --bg: var(--paper); --fg: var(--ink); --bg-h: var(--beige); }
.btn-wa { --bg: var(--sage); --bg-h: var(--sage-800); }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: .4em .2em; color: var(--brown); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-weight: 650; text-decoration: none; color: var(--ink);
  padding-bottom: 4px; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link-arrow:hover { color: var(--brown); background-size: 0 1px; background-position: 100% 100%; }
.link-arrow .i { transition: transform .45s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(5px); }

.badge {
  display: inline-flex; align-items: center; padding: .32em .75em; border-radius: 2px;
  background: rgba(251, 248, 243, .94); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.badge-gold { background: var(--brass); color: #fff; }
.badge-dark { background: var(--sage-900); color: #fff; }
.badge-line { background: transparent; border: 1px solid var(--line-2); }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd);
  color: var(--ink); background: rgba(251, 248, 243, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  transition: transform .6s var(--ease-out), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s;
}
.hd.is-hidden { transform: translateY(-100%); }
.pg-home .hd:not(.is-solid) { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hd-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 34px; height: 34px; color: var(--brass); transition: transform .8s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .005em; line-height: 1; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; color: inherit; text-decoration: none; font-size: .94rem; font-weight: 550;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-call { display: none !important; }
.hd-call {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid currentColor; border-radius: 3px;
  color: inherit; text-decoration: none; font-weight: 650; font-size: .9rem; transition: background .35s, color .35s, border-color .35s;
}
.hd-call:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; position: relative; color: inherit; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

main { display: block; }
body:not(.pg-home) main { padding-top: var(--hd); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--sage-900); }
.hero-slides, .hero-slides img, .hero-shade { position: absolute; inset: 0; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.8s var(--ease-io); }
.hero-slides img.is-on { opacity: 1; animation: kenburns 9s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero-shade { background:
  linear-gradient(180deg, rgba(20, 29, 25, .62) 0%, rgba(20, 29, 25, .1) 32%, rgba(20, 29, 25, .25) 58%, rgba(20, 29, 25, .82) 100%),
  linear-gradient(90deg, rgba(20, 29, 25, .45) 0%, rgba(20, 29, 25, 0) 60%); }
.hero-in { position: relative; z-index: 2; padding-top: calc(var(--hd) + 60px); padding-bottom: 36px; }
.hero-title { font-size: clamp(2.9rem, 7vw, 6.1rem); font-weight: 500; line-height: .98; color: #fff; max-width: 13.5ch; margin-bottom: 22px; }
.hero-sub { font-size: 1.14rem; max-width: 54ch; color: rgba(255, 255, 255, .9); margin-bottom: 34px; }
.hero-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; }
.hero-progress { display: flex; gap: 10px; }
.hero-progress i { position: relative; width: 54px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero-progress i::after { content: ""; position: absolute; inset: 0; background: var(--brass-300); transform: scaleX(0); transform-origin: left; }
.hero-progress i.is-on::after { animation: progress var(--slide, 7s) linear forwards; }
.hero-progress i.is-done::after { transform: scaleX(1); }
@keyframes progress { to { transform: scaleX(1); } }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero-scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0)); animation: drip 2.4s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* search */
.search { width: min(100%, 940px); background: rgba(251, 248, 243, .97); color: var(--ink); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-lg); }
.search-tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 6px 6px 8px; background: var(--beige-100); border-radius: 4px; padding: 4px; }
.search-tabs label { position: relative; z-index: 1; cursor: pointer; }
.search-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.search-tabs span { display: block; padding: 8px 22px; font-weight: 650; font-size: .9rem; text-align: center; color: var(--ink-2); transition: color .4s; }
.search-tabs input:checked + span { color: #fff; }
.search-tabs input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
.search-tabs-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--sage); border-radius: 3px; transition: transform .55s var(--ease-out); }
.search-tabs.is-right .search-tabs-ink { transform: translateX(100%); }
.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch; }
.sf { display: flex; flex-direction: column; gap: 2px; padding: 10px 20px; border-right: 1px solid var(--line); min-width: 0; }
.sf:nth-child(3) { border-right: 0; }
.sf-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.sf select { border: 0; background: transparent; padding: 4px 0; font-weight: 600; font-size: 1rem; cursor: pointer; min-width: 0; }
.sf select:focus { outline: none; }
.sf:focus-within { background: var(--beige-100); border-radius: 4px; }
.search-go { border-radius: 6px; padding: 0 30px; }

/* ---------- stats ---------- */
.stats { background: var(--beige-100); border-bottom: 1px solid var(--line); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 600; line-height: 1; color: var(--brown); }
.stat span:not([data-count]) { display: block; margin-top: 10px; font-size: .92rem; color: var(--ink-2); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-sand { background: var(--beige-100); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 34px 28px; }
.card { position: relative; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--beige-200); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .75s var(--ease-io), transform 1.4s var(--ease-out); }
.card-media img.is-on { opacity: 1; transform: scale(1); }
.card:hover .card-media img.is-on { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(20, 29, 25, .35)); opacity: 0; transition: opacity .6s; pointer-events: none; }
.card:hover .card-media::after { opacity: 1; }
.card-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease-out); }
.card:hover .card-dots { opacity: 1; transform: none; }
.card-dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .6); transition: width .5s var(--ease-out), background .4s; }
.card-dots i.is-on { width: 20px; background: #fff; }
.card-badges { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-sold { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: #fff; background: rgba(30, 43, 38, .45); letter-spacing: .04em; }
.card.is-sold img { filter: grayscale(.5); }
.card-body { padding: 20px 22px 22px; }
.card-loc { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: .84rem; font-weight: 600; color: var(--sage-600); }
.card-title { font-size: 1.55rem; line-height: 1.12; margin-bottom: 14px; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; padding: 0 0 16px; list-style: none; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.card-facts li { display: inline-flex; align-items: center; gap: 6px; }
.card-facts .i { color: var(--brass); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-price { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--brown); line-height: 1; }
.card-go { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); transition: background .5s var(--ease-out), color .4s, border-color .4s, transform .6s var(--ease-out); transform: rotate(-45deg); }
.card:hover .card-go { background: var(--brown); border-color: var(--brown); color: #fff; transform: rotate(0); }

/* ---------- cities ---------- */
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.city { position: relative; height: clamp(300px, 34vw, 460px); overflow: hidden; border-radius: var(--r-lg); color: #fff; text-decoration: none; isolation: isolate; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,29,25,0) 40%, rgba(20,29,25,.78)); transition: opacity .6s; }
.city:hover img { transform: scale(1.08); }
.city:hover { color: #fff; }
.city-txt { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.city-name { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; line-height: 1; }
.city-count { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 650; padding: 7px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; transition: background .5s, color .5s, border-color .5s; }
.city:hover .city-count { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- split / steps ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.split-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.split-note { position: absolute; left: 22px; bottom: 22px; background: var(--paper); padding: 18px 22px; border-radius: var(--r); box-shadow: var(--shadow); }
.split-note strong { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--brown); }
.split-note span { font-size: .86rem; color: var(--ink-2); }
.split-text .h2 { margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 26px 0; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2); transform-origin: left; transition: transform 1.2s var(--ease-out) calc(var(--d, 0) * 90ms + 100ms); }
.js .steps li:not(.is-in)::before { transform: scaleX(0); }
.step-n { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--brass); line-height: 1.3; }
.steps h3 { font-size: 1.6rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }

/* ---------- abroad ---------- */
.abroad { position: relative; overflow: hidden; color: #fff; padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; }
.abroad-bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.abroad-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(30, 43, 38, .94) 0%, rgba(30, 43, 38, .8) 45%, rgba(30, 43, 38, .2) 100%); }
.abroad-in { max-width: 1260px; }
.abroad .h2 { color: #fff; max-width: 15ch; margin-bottom: 34px; }
.abroad-list { list-style: none; margin: 0 0 40px; padding: 0; max-width: 560px; display: grid; gap: 18px; }
.abroad-list li { display: flex; gap: 16px; align-items: flex-start; color: rgba(255, 255, 255, .88); }
.abroad-list .i { width: 26px; height: 26px; color: var(--brass-300); margin-top: 1px; }
.abroad-list strong { color: #fff; }

/* ---------- CTA ---------- */
.cta-band { background: var(--beige); padding: clamp(56px, 7vw, 84px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in .h2 { margin-bottom: 10px; }
.cta-in p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- page heads ---------- */
.page-head { padding: clamp(48px, 7vw, 84px) 0 clamp(32px, 4vw, 48px); }
.page-head .h1 { margin: 14px 0 16px; max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brown); text-decoration: underline; }
.crumbs-light, .crumbs-light a { color: rgba(255, 255, 255, .85); }
.crumbs-light a:hover { color: #fff; }
.page-head-img { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; margin-top: calc(var(--hd) * -1); padding-top: calc(var(--hd) + 80px); }
.ph-bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.ph-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,29,25,.45), rgba(20,29,25,.72)); }
.page-head-img .h1 { color: #fff; }
.pg-agence .hd:not(.is-solid) { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- filters ---------- */
.results-wrap { padding-bottom: clamp(72px, 9vw, 120px); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.seg { display: inline-flex; padding: 4px; background: var(--beige-100); border-radius: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 16px; border-radius: 3px; font-weight: 650; font-size: .9rem; color: var(--ink-2); transition: background .4s var(--ease-out), color .3s; }
.seg input:checked + span { background: var(--sage); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.fl { display: flex; flex-direction: column; gap: 4px; flex: 1 1 170px; min-width: 0; }
.fl > span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fl select, .fl input, .sort select { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); font-weight: 550; }
.fl select:focus, .fl input:focus, .sort select:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: transparent; }
.fl-num { flex-basis: 150px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 30px 0 26px; }
.results-count { margin: 0; color: var(--ink-2); }
.results-count strong { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin-right: 4px; }
.results-tools { display: flex; gap: 12px; align-items: center; }
.sort select { width: auto; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; background: var(--paper); font-weight: 650; font-size: .88rem; color: var(--ink-2); transition: background .3s, color .3s; }
.view-toggle button.is-on { background: var(--ink); color: #fff; }
.card.is-out { display: none; }
.card.is-enter { animation: card-in .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 60ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty h2 { font-size: 1.9rem; margin-bottom: 10px; }
.empty p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 22px; }
.empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.map-view { height: min(72vh, 720px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--beige-100); }

/* map markers */
.pm-wrap { background: none; border: 0; }
.pm { display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; padding: 6px 11px; border-radius: 99px; background: var(--paper); color: var(--ink); font: 700 .82rem/1 var(--sans); box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); transition: background .3s, color .3s, transform .3s var(--ease-out); }
.pm::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.pm:hover, .pm.is-on { background: var(--brown); color: #fff; transform: translate(-50%, -100%) scale(1.08); }
.pm-pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--brown); transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 0 0 5px rgba(132,80,51,.2); }
.map-pop { display: block; width: 230px; color: var(--ink); text-decoration: none; font-family: var(--sans); }
.map-pop img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.map-pop strong { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.map-pop span { color: var(--brown); font-weight: 700; }
.leaflet-popup-content-wrapper { border-radius: 8px; }
.leaflet-container { font-family: var(--sans); }
.leaflet-tile-pane { filter: grayscale(.45) sepia(.18) brightness(1.03); }

/* ---------- listing page ---------- */
.listing { padding-top: 26px; }
.l-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin: 22px 0 30px; }
.l-head-main { flex: 1 1 520px; min-width: 0; }
.l-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.l-badges .badge { background: var(--beige-100); }
.l-badges .badge-gold { background: var(--brass); }
.l-badges .badge-dark { background: var(--sage-900); }
.l-badges .badge-line { background: transparent; }
.l-title { font-size: clamp(2.3rem, 4.6vw, 3.8rem); max-width: 22ch; margin-bottom: 14px; }
.l-loc { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 4px 8px; margin: 0; color: var(--ink-2); font-weight: 550; }
.l-loc .i { color: var(--brass); margin-top: .2em; }
.l-loc-txt { flex: 0 1 auto; min-width: 0; }
@media (max-width: 640px) { .l-loc-txt { flex: 1 1 0; } }
.l-ref { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--line-2); color: var(--ink-3); font-size: .9rem; }
.l-price { text-align: right; }
.l-price strong { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3rem); font-weight: 700; line-height: 1; color: var(--brown); }
.l-price span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-3); }

.gallery { margin-bottom: 54px; }
.g-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-900); }
.g-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease-io), visibility 0s 1s; visibility: hidden; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.2s var(--ease-out); cursor: zoom-in; }
.g-slide.is-on { opacity: 1; visibility: visible; transition: opacity 1s var(--ease-io), visibility 0s; z-index: 1; }
.g-slide.is-on img { transform: scale(1); }
.g-slide.is-prev { z-index: 0; visibility: visible; }
.g-nav, .g-full { position: absolute; z-index: 3; display: grid; place-items: center; border: 0; background: rgba(251, 248, 243, .92); color: var(--ink); box-shadow: var(--shadow-sm); transition: background .3s, color .3s, opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.g-nav { top: 50%; width: 54px; height: 54px; border-radius: 50%; margin-top: -27px; }
.g-nav .i { width: 22px; height: 22px; }
.g-prev { left: 20px; }
.g-next { right: 20px; }
.g-nav:hover, .g-full:hover { background: var(--brown); color: #fff; }
.g-full { top: 18px; right: 18px; display: inline-flex; gap: 8px; padding: 9px 14px; border-radius: 3px; font-weight: 650; font-size: .85rem; }
.g-count { position: absolute; z-index: 3; left: 20px; bottom: 18px; margin: 0; padding: 6px 12px; background: rgba(30, 43, 38, .72); color: #fff; border-radius: 99px; font-size: .84rem; font-weight: 650; letter-spacing: .06em; }
.g-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); }
.g-bar i { display: block; height: 100%; width: 0; background: var(--brass); transition: width .9s var(--ease-out); }
@media (hover: hover) {
  .g-stage .g-nav { opacity: 0; }
  .g-prev { transform: translateX(-10px); }
  .g-next { transform: translateX(10px); }
  .g-stage:hover .g-nav { opacity: 1; transform: none; }
}
.g-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.g-thumb { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; background: var(--beige-200); opacity: .55; transition: opacity .4s; }
.g-thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--brass); border-radius: inherit; opacity: 0; transition: opacity .4s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.g-thumb:hover { opacity: .9; }
.g-thumb:hover img { transform: scale(1.06); }
.g-thumb.is-on { opacity: 1; }
.g-thumb.is-on::after { opacity: 1; }

.l-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 5vw, 72px); align-items: start; padding-bottom: clamp(70px, 9vw, 110px); }
.facts { list-style: none; margin: 0 0 50px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts li { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.facts .i { width: 26px; height: 26px; color: var(--brass); margin-bottom: 12px; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; }
.facts span { font-size: .84rem; color: var(--ink-3); }
.l-sec { margin-bottom: 50px; }
.l-sec .h3 { margin-bottom: 18px; }
.prose p { color: var(--ink-2); font-size: 1.04rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.features li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 550; }
.features .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sage); color: #fff; stroke-width: 2.2; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.docs a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .3s, transform .5s var(--ease-out); }
.docs a:hover { border-color: var(--brass); transform: translateX(4px); }
.docs .i { width: 24px; height: 24px; color: var(--brown); }
.docs em { margin-left: auto; font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }
.l-map { height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--beige-100); border: 1px solid var(--line); margin-bottom: 12px; position: relative; z-index: 0; }

.l-side { position: sticky; top: calc(var(--hd) + 24px); }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.side-price { margin: 0 0 4px; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--brown); line-height: 1.05; }
.side-agency { margin: 0 0 20px; font-weight: 650; }
.side-agency span { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-3); }
.side-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.side-actions .btn { padding-inline: 1em; }
.visit { padding-top: 22px; border-top: 1px solid var(--line); }
.side-h { font-size: 1.5rem; margin-bottom: 14px; }
.fld { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.fld > span { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.fld input, .fld textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(185, 134, 75, .22); }
.fld textarea { resize: vertical; min-height: 84px; }
.form-msg { margin: 12px 0 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: var(--sage-600); }
.form-msg.err { color: var(--brown); }
.share { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.share > span { margin-right: auto; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--ink); transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease-out); }
.share a:hover, .share button:hover { background: var(--sage); border-color: var(--sage); color: #fff; transform: translateY(-2px); }
.share button.is-done { background: var(--sage); color: #fff; border-color: var(--sage); }
.similar .cards { margin-top: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(17, 24, 21, .96); display: grid; place-items: center; opacity: 0; transition: opacity .5s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-stage { position: absolute; inset: 70px 90px; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .7s var(--ease-io), transform 1s var(--ease-out); }
.lb-stage img.is-on { opacity: 1; transform: none; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; transition: background .3s, border-color .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; color: rgba(255, 255, 255, .8); font-size: .9rem; letter-spacing: .08em; }

.mobile-bar { display: none; }

/* ---------- about / contact ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-text p:first-child { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.35; color: var(--ink); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-stats .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 24px; }
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); align-items: start; padding-bottom: 50px; }
.contact-info { display: grid; gap: 12px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); text-decoration: none; font-weight: 600; transition: border-color .35s, transform .5s var(--ease-out), box-shadow .5s; }
a.info-card:hover { color: var(--ink); border-color: var(--brass); transform: translateX(5px); box-shadow: var(--shadow-sm); }
.info-card .i { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--beige-100); color: var(--brown); }
.info-card small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow); }
.contact-form .h3 { margin-bottom: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.contact-map-wrap { padding-bottom: clamp(70px, 9vw, 110px); }
.contact-map { height: 420px; }
.nf { text-align: left; padding-top: 80px; }
.nf-code { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: .9; margin: 0; color: var(--beige); font-weight: 700; }

/* ---------- footer ---------- */
.ft { background: var(--sage-900); color: rgba(244, 237, 226, .82); padding-top: clamp(60px, 8vw, 96px); }
.ft a { color: rgba(244, 237, 226, .88); text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.ft-brand .brand { color: #fff; margin-bottom: 16px; }
.ft-brand .brand:hover { text-decoration: none; }
.ft-brand p { max-width: 34ch; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(244, 237, 226, .25); transition: background .35s, border-color .35s; }
.ft-social a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-col h2 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-300); margin-bottom: 6px; }
.ft-col p { margin: 0; }
.ft-hours { font-size: .9rem; color: rgba(244, 237, 226, .7); }
.ft-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(244, 237, 226, .14); font-size: .86rem; color: rgba(244, 237, 226, .66); }
.ft-bottom p { margin: 0; }

/* floating WhatsApp */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sage); color: #fff; box-shadow: 0 12px 28px -10px rgba(30, 43, 38, .7); transform: translateY(120px); transition: transform .7s var(--ease-out), background .3s; }
.fab-wa .i { width: 28px; height: 28px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sage); animation: ring 2.8s var(--ease-out) infinite; }
.fab-wa:hover { background: var(--sage-800); color: #fff; }
.fab-wa.is-in { transform: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================
   Motion
   ========================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 2s var(--ease-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + 80ms); }
.js [data-split].is-in .w > span { transform: none; }
.js .hero .search { transition-delay: .55s; }

/* cross-page transitions (Chrome / Edge / Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: var(--ease-out); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; clip-path: none; }
  .hero-slides img.is-on { animation: none; transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .ft-top { grid-template-columns: 1fr 1fr; }
  .l-grid { grid-template-columns: minmax(0, 1fr) 330px; }
}
@media (max-width: 980px) {
  .hd-call { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hd) 0 auto; height: calc(100svh - var(--hd)); margin: 0; padding: 28px clamp(16px, 4vw, 40px) 40px;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); color: var(--ink);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s; overflow-y: auto;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
  .nav a { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .06s; } .nav.is-open a:nth-child(3) { transition-delay: .12s; }
  .nav.is-open a:nth-child(4) { transition-delay: .18s; } .nav.is-open a:nth-child(5) { transition-delay: .24s; } .nav.is-open a:nth-child(6) { transition-delay: .3s; }
  .nav a::after { display: none; }
  .nav .nav-call { display: flex !important; align-items: center; gap: 12px; margin-top: 24px; font-family: var(--sans); font-size: 1.1rem; border: 0; color: var(--brown); }
  body.nav-open { overflow: hidden; }
  body.nav-open .hd { background: var(--paper) !important; color: var(--ink) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .sf:nth-child(2) { border-right: 0; }
  .sf:nth-child(3) { border-top: 1px solid var(--line); }
  .search-go { margin: 6px; padding: 14px; }
  .stats-in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .about, .contact { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 4 / 3; }
  .l-grid { grid-template-columns: 1fr; }
  .l-side { position: static; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 248, 243, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line); }
  body:has(.mobile-bar) .fab-wa { display: none; }
  body:has(.mobile-bar) .ft { padding-bottom: 70px; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --hd: 66px; }
  body { font-size: 16px; }
  .brand-name { font-size: 1.3rem; }
  .brand-mark { width: 28px; height: 28px; }
  .hero { min-height: max(640px, 100svh); }
  .hero-in { padding-bottom: 20px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 24px; }
  .search-fields { grid-template-columns: 1fr; }
  .sf { border-right: 0 !important; border-top: 1px solid var(--line); padding: 10px 14px; }
  .sf:first-child { border-top: 0; }
  .hero-scroll { display: none; }
  .stat { padding: 30px 16px; }
  .sec-head { margin-bottom: 32px; }
  .filters { padding: 14px; }
  .seg { width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .fl, .fl-num { flex-basis: calc(50% - 9px); }
  .results-tools { width: 100%; justify-content: space-between; }
  .view-toggle span { display: none; }
  .l-head { flex-direction: column; align-items: flex-start; }
  .l-head-main { flex: none; width: 100%; }
  .l-ref { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; }
  .l-price { text-align: left; }
  .g-stage { aspect-ratio: 4 / 3; border-radius: var(--r); margin: 0 calc(clamp(16px, 4vw, 40px) * -1); border-radius: 0; }
  .g-nav { width: 42px; height: 42px; margin-top: -21px; }
  .g-prev { left: 10px; } .g-next { right: 10px; }
  .g-full span { display: none; }
  .g-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .features { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .side-card { padding: 22px; }
  .row2 { grid-template-columns: 1fr; }
  .lb-stage { inset: 64px 0; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .ft-top { grid-template-columns: 1fr; gap: 32px; }
  .city { height: 280px; }
  .about-stats .stat { padding: 22px 16px; }
}
