/* Gjiri Homes — calm coastal real estate: salt white, deep petrol ink, brass */
:root {
  --salt: #F3F1EC; --paper: #FBFAF7; --white: #fff; --ink: #0F262C; --ink-2: #163640; --sea: #2A5F66; --sea-2: #3E7E85;
  --mist: #E4E8E5; --brass: #9C7A47; --brass-2: #C9A774; --mute: #5B6B6D; --line: rgba(15,38,44,.12); --line-l: rgba(243,241,236,.16);
  --serif: "Newsreader", Georgia, "Times New Roman", serif; --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --wa-bg: #25D366; --progress: var(--brass-2);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--salt); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.018em; margin: 0; }
em { font-style: italic; color: var(--sea); }
[data-split] em .w { padding-right: .12em; margin-right: -.12em; } /* keep italic overhang from being clipped */
p { margin: 0 0 1em; }
svg { flex: none; }
.wrap { width: min(1260px, 100% - 40px); margin-inline: auto; }
.h2 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin-bottom: .5em; }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--brass-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font: 600 15px/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out); text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; }
.btn--ink { background: var(--ink); color: var(--salt); }
.btn--ink:hover { background: var(--sea); }
.btn--brass { background: var(--brass-2); color: var(--ink); }
.btn--brass:hover { background: var(--salt); }
.btn--line { background: transparent; color: var(--ink); border-color: rgba(15,38,44,.28); }
.btn--line:hover { border-color: var(--ink); background: var(--white); }
.btn--wa { background: var(--ink); color: var(--salt); }
.btn--wa svg { color: #3ED37E; }
.btn--wa:hover { background: var(--sea); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--full { width: 100%; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: 80px; padding: 0 clamp(16px, 3vw, 40px); display: flex; align-items: center; gap: 28px; color: #fff; transition: background .4s, color .4s, box-shadow .4s; }
.hdr.is-scrolled { background: rgba(243,241,236,.93); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font: 400 27px/1 var(--serif); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 7px; }
.brand__name small { font: 600 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: .8; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .88; transition: opacity .2s; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__m { display: none; }
.hdr__r { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: 600 12px/1 var(--sans); letter-spacing: .08em; padding: 8px 10px; border-radius: 999px; cursor: pointer; opacity: .7; }
.lang button[aria-pressed="true"] { background: currentColor; opacity: 1; }
.lang button[aria-pressed="true"] { color: var(--ink); background: #fff; }
.hdr.is-scrolled .lang button[aria-pressed="true"] { color: var(--salt); background: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: none; position: relative; cursor: pointer; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .3s; }
.burger i:first-child { top: 19px; } .burger i:last-child { top: 25px; }
.nav-open .burger i:first-child { transform: translateY(3px) rotate(45deg); } .nav-open .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding-top: 130px; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero__bg img { width: 100%; height: 112%; margin-top: -4%; object-fit: cover; object-position: 50% 40%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,24,29,.62) 0%, rgba(9,24,29,.08) 26%, rgba(9,24,29,.12) 48%, rgba(9,24,29,.78) 100%); }
.hero__in { position: relative; padding-bottom: 46px; }
.hero h1 { font-size: clamp(3.1rem, 7.6vw, 7.4rem); font-weight: 350; line-height: .98; letter-spacing: -.03em; max-width: 11.5ch; text-wrap: balance; }
.hero h1 em { color: #fff; }
.hero .kicker { color: #E8D2A6; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero h1, .hero__lead { text-shadow: 0 2px 24px rgba(9,24,29,.35); }
.hero__lead { max-width: 50ch; color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.4vw, 1.22rem); margin: 26px 0 0; }

/* quick search */
.search { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 10px; align-items: end; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 12px; margin-bottom: -46px; box-shadow: 0 30px 60px -30px rgba(9,24,29,.5); }
.sfield, .ffield { display: grid; gap: 6px; min-width: 0; }
.sfield > span, .ffield > span, .sort > span { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-left: 4px; }
.sfield select, .ffield select, .sort select, .field select { appearance: none; -webkit-appearance: none; width: 100%; height: 50px; padding: 0 40px 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--salt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F262C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; font-size: 16px; cursor: pointer; }
.sfield select { height: 54px; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--sea); outline-offset: 1px; }
.search__go { height: 54px; padding-inline: 26px; }
.search__go svg { width: 18px; height: 18px; }
.seg { display: inline-flex; background: var(--salt); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; padding: 0 22px; height: 44px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--mute); transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--salt); }
.search .seg { height: 54px; align-self: end; }

/* trust strip */
.trust { background: var(--paper); padding: 92px 0 34px; border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { display: flex; align-items: center; gap: 12px; padding: 6px 22px; font-size: 15px; color: var(--ink-2); border-left: 1px solid var(--line); }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list svg { width: 26px; height: 26px; color: var(--brass); }

/* listings */
.homes { padding: clamp(80px, 10vw, 130px) 0; }
.sec-head { max-width: 760px; }
.filters { display: flex; gap: 12px; align-items: end; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 14px; }
.filters__top .seg { height: 50px; align-items: stretch; }
.filters__top .seg button { height: auto; }
.filters__toggle { display: none; }
.filters__more { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.switch { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 4px; cursor: pointer; font-size: 15px; font-weight: 500; white-space: nowrap; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { width: 42px; height: 24px; border-radius: 999px; background: #D6DBD8; position: relative; transition: background .25s; flex: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease-out); }
.switch input:checked + i { background: var(--sea); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--sea); outline-offset: 2px; }
.results { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 30px 0 20px; }
.results__count { margin: 0; font: 400 24px/1 var(--serif); }
.results__count b { font-weight: 500; }
.results__reset { border: 0; background: none; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--sea); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sort select { height: 44px; width: auto; min-width: 210px; background-color: var(--paper); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
.card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -32px rgba(15,38,44,.5); }
.card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.05); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(251,250,247,.94); color: var(--ink); font: 600 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.badge--rent { background: var(--sea); color: #fff; }
.badge--plan { background: var(--brass-2); color: var(--ink); }
.badge--sea { left: auto; right: 14px; background: rgba(15,38,44,.62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); letter-spacing: .04em; text-transform: none; font-size: 12.5px; }
.badge--sea svg { width: 15px; height: 15px; }
.card__body { padding: 18px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.card__ref { font: 600 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.card h3 { font-size: 24px; line-height: 1.14; margin-bottom: 14px; }
.card__spec { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--mute); }
.card__spec li { display: flex; align-items: center; gap: 6px; }
.card__spec svg { width: 17px; height: 17px; color: var(--sea); }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.price { margin: 0; font: 400 28px/1 var(--serif); letter-spacing: -.01em; }
.card__foot small { font-size: 13px; color: var(--mute); }
.card__go { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.card__go svg { width: 18px; height: 18px; }
.card:hover .card__go { background: var(--ink); border-color: var(--ink); color: var(--salt); }
.card__open { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.card__open:focus-visible { outline: 3px solid var(--sea); outline-offset: -3px; }
.empty { text-align: center; padding: 56px 24px; background: var(--paper); border: 1px dashed rgba(15,38,44,.25); border-radius: var(--r); color: var(--mute); }
.empty__t { font: 400 28px/1.15 var(--serif); color: var(--ink); }
.empty p { max-width: 52ch; margin-inline: auto; }
.empty__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.plan__grid > *, .buying__grid > *, .sell__grid > *, .about__grid > *, .faq__grid > *, .areas__head > * { min-width: 0; }

/* payment plan */
.plan { background: var(--ink); color: var(--salt); padding: clamp(90px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.plan::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%; border: 1px solid var(--line-l); box-shadow: 0 0 0 90px rgba(243,241,236,.02), 0 0 0 180px rgba(243,241,236,.015); pointer-events: none; }
.plan em { color: var(--brass-2); }
.plan__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.plan__text > p:not(.kicker) { color: rgba(243,241,236,.78); max-width: 46ch; }
.plan__note { font-size: 15px; border-left: 2px solid var(--brass-2); padding-left: 16px; }
.plan__picks { margin-top: 30px; }
.plan__picks > p { font-size: 14px; color: rgba(243,241,236,.6); margin-bottom: 10px; }
.plan__picks div { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__picks button { border: 1px solid var(--line-l); background: none; color: var(--salt); padding: 10px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.plan__picks button b { font-weight: 700; margin-right: 4px; }
.plan__picks button:hover { border-color: var(--brass-2); }
.plan__picks button[aria-pressed="true"] { background: var(--brass-2); border-color: var(--brass-2); color: var(--ink); }
.calc { background: var(--ink-2); border: 1px solid var(--line-l); border-radius: 26px; padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 22px; }
.cfield { display: grid; gap: 10px; }
.cfield__l { display: flex; justify-content: space-between; align-items: baseline; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(243,241,236,.66); }
.cfield__l output { font: 400 26px/1 var(--serif); letter-spacing: -.01em; text-transform: none; color: var(--salt); }
.cfield small { font-size: 13px; color: rgba(243,241,236,.5); }
.money { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid var(--line-l); padding-bottom: 6px; }
.money i { font: 400 34px/1 var(--serif); font-style: normal; color: var(--brass-2); }
.money input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; font: 400 clamp(34px, 4vw, 44px)/1.1 var(--serif); color: var(--salt); padding: 0; -moz-appearance: textfield; appearance: textfield; }
.money input::-webkit-outer-spin-button, .money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money input:focus-visible { outline: none; }
.money:focus-within { border-color: var(--brass-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--brass-2) var(--p, 50%), rgba(243,241,236,.18) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--salt); border: 6px solid var(--brass-2); margin-top: -10px; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(243,241,236,.18); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--brass-2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--salt); border: 6px solid var(--brass-2); }
input[type="range"]:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; border-radius: 6px; }
.calc__out { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-l); font-size: 15px; color: rgba(243,241,236,.75); }
.calc__row b { font-weight: 600; color: var(--salt); white-space: nowrap; }
.calc__big { display: grid; padding: 18px 0 2px; }
.calc__big span { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(243,241,236,.66); }
.calc__big b { font: 400 clamp(52px, 6.4vw, 76px)/1.05 var(--serif); letter-spacing: -.03em; color: var(--brass-2); margin-top: 6px; }
.calc__big small { font-size: 15px; color: rgba(243,241,236,.6); }

/* areas */
.areas { background: var(--paper); padding: clamp(90px, 11vw, 140px) 0; }
.areas__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: end; margin-bottom: 40px; }
.areas__head .h2 { margin-bottom: 0; }
.areas__img { margin: 0; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; }
.areas__img img { width: 100%; height: 100%; object-fit: cover; }
.areas__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.area { display: flex; flex-direction: column; background: var(--salt); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px 20px; }
.area h3 { font-size: 27px; margin-bottom: 10px; }
.area > p { font-size: 15px; color: var(--mute); line-height: 1.55; }
.area dl { margin: auto 0 0; display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.area dt { font: 600 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.area dd { margin: 3px 0 0; font: 400 19px/1.2 var(--serif); }
.area__go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 6px 0; font-weight: 600; font-size: 14px; color: var(--sea); cursor: pointer; align-self: flex-start; }
.area__go svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.area__go:hover svg { transform: translateX(4px); }
.areas__note { margin: 22px 0 0; font-size: 14px; color: var(--mute); }

/* buying guide */
.buying { padding: clamp(90px, 11vw, 140px) 0; }
.buying__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.buying__intro > p:not(.kicker) { color: var(--mute); max-width: 44ch; }
.note { margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brass-2); border-radius: 12px; padding: 18px 20px; font-size: 15px; color: var(--ink-2); }
.note p { margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 26px 0 24px 84px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 20px; font: 300 46px/1 var(--serif); color: var(--brass); letter-spacing: -.02em; }
.steps h3 { font-size: 26px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--mute); }

/* sell */
.sell { background: var(--paper); padding: clamp(90px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.sell__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; color: var(--sea); margin-top: 2px; }
.sell__img { margin: 0; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; }
.sell__img img { width: 100%; height: 100%; object-fit: cover; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3.2vw, 38px); display: grid; gap: 16px; box-shadow: 0 40px 70px -50px rgba(15,38,44,.5); }
.form h3 { font-size: 30px; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea { width: 100%; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--salt); }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sea); background-color: #fff; }
.form__fine { margin: 0; font-size: 13px; color: var(--mute); text-align: center; }

/* about */
.about { padding: clamp(90px, 11vw, 140px) 0; }
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__text > p:not(.kicker) { color: var(--ink-2); max-width: 50ch; font-size: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.stats div { padding: 22px 16px 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.stats div:nth-child(odd) { border-right: 1px solid var(--line); }
.stats div:nth-child(even) { padding-left: 22px; }
.stats b { font: 300 clamp(44px, 5vw, 60px)/1 var(--serif); letter-spacing: -.03em; color: var(--sea); }
.stats span:not([data-count]) { font-size: 14.5px; color: var(--mute); }
.map { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.visit { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.visit p { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; font-weight: 600; }
.visit p svg { width: 20px; height: 20px; color: var(--brass); }
.visit .visit__h { font-weight: 400; color: var(--mute); font-size: 15px; margin-bottom: 16px; }

/* faq */
.faq { background: var(--paper); padding: clamp(90px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font: 400 22px/1.25 var(--serif); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .35s var(--ease-out); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin: -4px 0 24px; color: var(--mute); max-width: 62ch; }

/* footer */
.ftr { background: var(--ink); color: var(--salt); padding: 80px 0 120px; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px 30px; }
.brand--big .brand__mark { width: 44px; height: 44px; }
.brand--big .brand__name { font-size: 40px; }
.ftr__brand p { margin-top: 16px; color: rgba(243,241,236,.66); max-width: 30ch; }
.ftr__h { font: 600 11.5px/1 var(--sans) !important; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2) !important; margin-bottom: 14px !important; }
.ftr__col p { margin: 0 0 8px; color: rgba(243,241,236,.78); font-size: 15px; }
.ftr__col a { text-decoration-color: rgba(243,241,236,.3); text-underline-offset: 4px; }
.ftr__col a:hover { color: var(--brass-2); }
.ftr__small { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: 13px; color: rgba(243,241,236,.55); }
.ftr__small a { color: var(--brass-2); }

/* detail modal */
html.modal-open { overflow: hidden; }
.modal { padding: 0; border: 0; width: min(1180px, 100% - 48px); max-width: none; height: min(780px, 100% - 48px); max-height: none; border-radius: 26px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.modal[open] { animation: modal-in .45s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; } }
.modal::backdrop { background: rgba(8,22,26,.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; height: 100%; }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.modal__x:hover { background: var(--ink); color: var(--salt); }
.gal { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--ink); min-height: 0; min-width: 0; }
.gal__main { position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.gal__nav { position: absolute; top: 50%; margin-top: -23px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(251,250,247,.92); color: var(--ink); font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.gal__nav:hover { background: #fff; }
.gal__prev { left: 14px; } .gal__next { right: 14px; }
.gal__count { position: absolute; right: 14px; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(15,38,44,.7); color: #fff; font-size: 13px; font-weight: 600; }
.gal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumbs button { flex: none; width: 78px; height: 56px; padding: 0; border: 0; border-radius: 9px; overflow: hidden; cursor: pointer; opacity: .5; transition: opacity .25s; background: var(--ink-2); }
.gal__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--brass-2); }
.gal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.m__info { overflow-y: auto; padding: 34px 34px 0; display: flex; flex-direction: column; min-width: 0; }
.m__ref { font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 0 50px 10px 0; }
.m__info h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.08; margin: 0 40px 14px 0; }
.m__price { font: 400 32px/1 var(--serif); margin: 0 0 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.m__price small { font: 500 14px/1 var(--sans); color: var(--mute); }
.m__facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 22px; border-top: 1px solid var(--line); }
.m__facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.m__facts div:nth-child(odd) { padding-right: 12px; }
.m__facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.m__facts dt { font: 600 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.m__facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16px; }
.m__desc { color: var(--ink-2); }
.m__h { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 6px 0 12px; }
.m__feat { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.m__feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.m__feat svg { width: 19px; height: 19px; color: var(--sea); margin-top: 2px; }
.m__plan { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 0; color: var(--sea); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; margin-bottom: 8px; }
.m__plan svg { width: 16px; height: 16px; }
.m__cta { position: sticky; bottom: 0; margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px 0 26px; background: linear-gradient(rgba(251,250,247,0), var(--paper) 22px); }
.m__cta .btn { padding: 15px 14px; font-size: 14.5px; }

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .areas__list { grid-template-columns: repeat(3, 1fr); }
  .filters__more { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .filters__more .switch { grid-column: 1 / -1; height: 36px; }
}
@media (max-width: 960px) {
  .nav { position: fixed; inset: 0; z-index: -1; background: var(--ink); color: var(--salt); flex-direction: column; justify-content: center; padding: 0 30px; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .3s; margin: 0; }
  .nav a { font: 400 40px/1.2 var(--serif); letter-spacing: -.02em; opacity: 1; }
  .nav__m { display: block; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .nav-open .hdr { color: var(--salt); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .hdr .lang button[aria-pressed="true"] { color: var(--ink); background: var(--salt); }
  .burger { display: block; } .hdr__cta { display: none; }
  .hdr__r { margin-left: auto; }
  .plan__grid, .buying__grid, .sell__grid, .about__grid, .faq__grid, .areas__head { grid-template-columns: 1fr; }
  .areas__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .areas__list::-webkit-scrollbar { display: none; }
  .area { flex: 0 0 min(300px, 78%); scroll-snap-align: start; scroll-margin-left: 20px; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  /* modal becomes a full-screen sheet */
  .modal { width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .modal__in { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .modal__x { position: fixed; top: 12px; right: 12px; background: rgba(251,250,247,.94); }
  .gal { padding: 0; gap: 0; }
  .gal__main { flex: none; aspect-ratio: 4/3; max-height: 62vh; border-radius: 0; }
  .gal__thumbs { padding: 10px 14px; }
  .m__info { overflow: visible; padding: 24px 20px 0; }
  .m__cta { padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 20px; margin-bottom: -150px; }
  .search .seg { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .search__go { grid-column: 1 / -1; }
  .trust { padding-top: 182px; }
  .trust__list { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .trust__list li { border-left: 0; padding: 0 10px 0 0; font-size: 14px; align-items: flex-start; }
  .trust__list svg { width: 22px; height: 22px; }
  .filters { display: block; padding: 10px; border-radius: 20px; }
  .filters__top { display: flex; gap: 8px; }
  .filters__top .seg { flex: 1; display: grid; grid-template-columns: 1fr 1fr; height: 48px; }
  .filters__toggle { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--salt); font-weight: 600; font-size: 15px; cursor: pointer; }
  .filters__toggle::after { content: ""; width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .3s; }
  .filters.is-open .filters__toggle::after { transform: translateY(2px) rotate(-135deg); }
  .filters__toggle b { min-width: 22px; height: 22px; border-radius: 999px; background: var(--sea); color: #fff; font-size: 12px; display: grid; place-items: center; padding: 0 6px; }
  .filters__more { display: none; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .filters.is-open .filters__more { display: grid; }
  .results { gap: 10px 14px; margin-top: 22px; }
  .sort > span { display: none; }
  .sort select { min-width: 0; max-width: 200px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .hdr { height: 68px; gap: 12px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 24px; }
  .hero { padding-top: 110px; min-height: 92svh; }
  .hero__in { padding-bottom: 34px; }
  .h2 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .form__row--stack { grid-template-columns: 1fr; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(9,24,29,.6) 0%, rgba(9,24,29,.08) 20%, rgba(9,24,29,.42) 50%, rgba(9,24,29,.86) 100%); }
  .steps li { padding-left: 64px; }
  .steps li::before { font-size: 38px; }
  .steps h3 { font-size: 23px; }
  .m__cta { grid-template-columns: 1fr; gap: 8px; }
  .m__facts dd { font-size: 15px; }
  .stats div:nth-child(even) { padding-left: 16px; }
  .ftr__in { grid-template-columns: 1fr; }
  .card h3 { font-size: 22px; }
}

/* screenshot mode */
.kit-shot .card, .kit-shot .modal[open] { animation: none; }
