/* ELEVAN Hungary public site. Minimal surfaces with glass elements (a web approximation, built from
   backdrop-filter, layered borders and highlights). Radius rule: buttons and fields are pills, cards are 24px. */
@font-face { font-family: Outfit; src: url('fonts/outfit-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: Outfit; src: url('fonts/outfit-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: Geist; src: url('fonts/geist-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: Geist; src: url('fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

:root {
    --ink: #171717; --body: #3c3b38; --muted: #66635c; --line: rgb(23 23 23 / 12%);
    --bg: #ffffff; --bg-soft: #F5F1E8; --surface: #ffffff; --field: #ffffff; --field-line: #8d8a82;
    --glass: rgb(255 255 255 / 62%); --glass-line: rgb(255 255 255 / 70%); --glass-shadow: 0 18px 50px rgb(36 34 28 / 14%);
    --brand: #171717; --brand-strong: #171717; --on-brand: #ffffff; --accent-text: #171717;
    --radius: 24px; --pill: 999px; --ease: cubic-bezier(.16, 1, .3, 1);
    color-scheme: light;
}
[data-brand="realestate"] { --brand: #243D53; --brand-strong: #243D53; --accent-text: #243D53; }
[data-brand="education"] { --brand: #183D32; --brand-strong: #183D32; --accent-text: #183D32; }
[data-brand="relocation"] { --brand: #A36B46; --brand-strong: #8A5634; --accent-text: #8A5634; }

@media (prefers-color-scheme: dark) { :root[data-theme="auto"] {
    --ink: #f6f3ec; --body: #d6d3cb; --muted: #a8a59c; --line: rgb(255 255 255 / 13%);
    --bg: #141414; --bg-soft: #1c1c1b; --surface: #1f1f1e; --field: #262625; --field-line: #807d75;
    --glass: rgb(38 38 37 / 58%); --glass-line: rgb(255 255 255 / 14%); --glass-shadow: 0 18px 50px rgb(0 0 0 / 42%); color-scheme: dark;
} }
:root[data-theme="dark"] {
    --ink: #f6f3ec; --body: #d6d3cb; --muted: #a8a59c; --line: rgb(255 255 255 / 13%);
    --bg: #141414; --bg-soft: #1c1c1b; --surface: #1f1f1e; --field: #262625; --field-line: #807d75;
    --glass: rgb(38 38 37 / 58%); --glass-line: rgb(255 255 255 / 14%); --glass-shadow: 0 18px 50px rgb(0 0 0 / 42%); color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] body[data-brand="realestate"] { --accent-text: #9CC0DE; } :root[data-theme="auto"] body[data-brand="education"] { --accent-text: #8FCDB6; } :root[data-theme="auto"] body[data-brand="relocation"] { --accent-text: #E0A77F; } :root[data-theme="auto"] body[data-brand="master"] { --accent-text: #f6f3ec; } }
:root[data-theme="dark"] body[data-brand="realestate"] { --accent-text: #9CC0DE; }
:root[data-theme="dark"] body[data-brand="education"] { --accent-text: #8FCDB6; }
:root[data-theme="dark"] body[data-brand="relocation"] { --accent-text: #E0A77F; }
:root[data-theme="dark"] body[data-brand="master"] { --accent-text: #f6f3ec; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.65 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: Outfit, Geist, sans-serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 500; }
h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 14px; } img { max-width: 100%; height: auto; display: block; }
a { color: inherit; } ul, ol { margin: 0; padding: 0; list-style: none; } dl, dd, figure { margin: 0; } address { font-style: normal; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.wrap { width: min(100% - 40px, 1280px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 820px); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 40; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--pill); }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.muted { color: var(--muted); } .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lead { font-size: clamp(18px, 1.5vw, 20px); max-width: 62ch; }
.rounded { border-radius: var(--radius); width: 100%; object-fit: cover; }
.wide { margin-block: 26px; }
.on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .on-light { display: none; } :root[data-theme="auto"] .on-dark { display: revert; } }
:root[data-theme="dark"] .on-light { display: none; } :root[data-theme="dark"] .on-dark { display: revert; }

/* Glass */
.glass { background: linear-gradient(135deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 4%)), var(--glass); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); border: 1px solid var(--glass-line); box-shadow: inset 0 1px 0 rgb(255 255 255 / 34%), var(--glass-shadow); }
.panel { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius); }
.panel--solid { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--line); box-shadow: 0 18px 50px rgb(30 28 22 / 7%); }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 26px; border: 1px solid var(--brand-strong); border-radius: var(--pill); background: var(--brand-strong); color: var(--on-brand); font: 500 16px/1.1 Geist, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), background .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgb(23 23 23 / 18%); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--field-line); }
.btn--light { background: #fff; color: #171717; border-color: #fff; }
.btn--glass { background: rgb(255 255 255 / 14%); color: #fff; border-color: rgb(255 255 255 / 45%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; cursor: pointer; transition: background .2s; }
.iconbtn:hover { background: rgb(127 127 127 / 18%); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 500; text-decoration: none; }
.more .ico { transition: transform .3s var(--ease); } .more:hover .ico { transform: translateX(4px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; } .row--tight { gap: 8px; margin-block: 12px; } .row--tight .btn { flex: 1; }

/* Announcement */
.announce { position: relative; z-index: 31; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 16px; background: #183D32; color: #fff; font-size: 14.5px; text-decoration: none; text-align: center; }
.announce__tag { flex: none; padding: 3px 10px; border-radius: var(--pill); background: #E9C46A; color: #183D32; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.announce__cta { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce .ico { transition: transform .3s var(--ease); } .announce:hover .ico { transform: translateX(4px); }
@media (max-width: 640px) { .announce { gap: 8px; font-size: 13px; } .announce__cta { display: none; } }
@media print { .announce { display: none; } }

/* Sample test */
.h2-sub { display: block; margin-top: 6px; font-size: .55em; font-weight: 500; color: var(--muted); }
.verify form + .muted { margin-top: 18px; }

/* Photo strip */
.photostrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 32px; }
.photostrip figure { margin: 0; }
.photostrip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
@media (max-width: 720px) { .photostrip { grid-template-columns: repeat(2, 1fr); gap: 10px; } .photostrip img { border-radius: 16px; } .photostrip--3 figure:last-child { grid-column: span 2; } }

/* Header */
.top { position: sticky; top: 12px; z-index: 30; width: min(100% - 24px, 1320px); margin: 12px auto -80px; }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding: 0 12px 0 34px; border-radius: var(--pill); color: var(--ink); }
.top__logo img { height: 36px; width: auto; }
.top__nav { display: flex; gap: 2px; }
.top__nav a { padding: 9px 15px; border-radius: var(--pill); font-size: 15.5px; text-decoration: none; transition: background .2s; }
.top__nav a:hover { background: rgb(127 127 127 / 16%); }
.top__nav a[aria-current] { color: var(--accent-text); font-weight: 600; }
.top__tools { display: flex; align-items: center; gap: 2px; }
.lang { padding: 8px 10px; border-radius: var(--pill); font-size: 14px; font-weight: 600; text-decoration: none; }
.top__menu { display: none; }
.mobile { margin-top: 8px; padding: 10px; border-radius: var(--radius); }
.mobile a { display: block; padding: 12px 16px; border-radius: 16px; color: var(--ink); text-decoration: none; font-size: 18px; }
.mobile a:hover { background: rgb(127 127 127 / 14%); }
@media (max-width: 1000px) { .top__nav { display: none; } .top__menu { display: inline-grid; } }

/* Heroes */
.hero { position: relative; display: grid; align-items: end; min-height: min(100dvh, 880px); padding: 120px 0 clamp(120px, 15vh, 170px); color: #fff; overflow: hidden; background: #171717; }
.hero picture, .hero picture img, .phero picture, .phero picture img, .closing picture, .closing picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(15 15 15 / 78%) 8%, rgb(15 15 15 / 40%) 56%, rgb(15 15 15 / 10%)), linear-gradient(0deg, rgb(15 15 15 / 44%), transparent 46%); }
.hero__in { position: relative; z-index: 1; max-width: 1280px; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 84px); max-width: 15ch; line-height: 1.04; }
.hero p { max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); margin: 18px 0 26px; color: rgb(255 255 255 / 92%); }
.hero--search { align-items: center; padding-bottom: 80px; }
.phero { position: relative; padding: 148px 0 64px; color: #fff; overflow: hidden; background: #171717; min-height: 420px; display: flex; align-items: flex-end; }
.phero__in { position: relative; z-index: 1; }
.phero h1 { color: #fff; max-width: 20ch; } .phero p { max-width: 58ch; margin: 14px 0 0; font-size: 19px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 14.5px; color: rgb(255 255 255 / 86%); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs--dark { color: var(--muted); margin-bottom: 18px; }
.rise { animation: rise .9s var(--ease) both; } .rise--2 { animation-delay: .1s; } .rise--3 { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Division strip: three image panels that widen on hover */
.divisions { position: relative; z-index: 2; margin-top: clamp(-120px, -9vh, -70px); }
.divisions__grid { display: flex; gap: 14px; height: 560px; }
.dcard { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--brand); transition: flex-grow .7s var(--ease); box-shadow: var(--glass-shadow); }
.dcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.dcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 26%, transparent), color-mix(in srgb, var(--brand) 92%, black) 92%); }
.dcard__body { position: absolute; inset: auto 0 0 0; z-index: 1; display: grid; gap: 8px; padding: 26px; }
.dcard__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; font-size: 20px; background: rgb(255 255 255 / 18%); border: 1px solid rgb(255 255 255 / 34%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.dcard strong { font: 500 clamp(26px, 2.6vw, 34px)/1.1 Outfit, sans-serif; letter-spacing: -.02em; }
.dcard__text { max-width: 36ch; color: rgb(255 255 255 / 92%); }
.dcard__list { display: flex; flex-wrap: wrap; gap: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.dcard__list span { padding: 4px 12px; font-size: 14px; border-radius: var(--pill); border: 1px solid rgb(255 255 255 / 38%); }
.dcard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 500; }
@media (hover: hover) and (min-width: 901px) {
    .divisions__grid:hover .dcard { flex-grow: .75; } .divisions__grid .dcard:hover { flex-grow: 1.7; }
    .dcard:hover img { transform: scale(1.05); } .dcard:hover .dcard__list { max-height: 120px; opacity: 1; }
}
@media (max-width: 900px) { .divisions { margin-top: -80px; } .divisions__grid { flex-direction: column; height: auto; } .dcard { min-height: 300px; flex: none; } .dcard__list { max-height: 120px; opacity: 1; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--first { padding-top: 130px; }
.section--tint { background: var(--bg-soft); }
.section--brand { background: var(--brand-strong); color: rgb(255 255 255 / 92%); }
.section--brand h2 { color: #fff; } .section--brand .muted { color: rgb(255 255 255 / 76%); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; } .section__head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--media { grid-template-columns: 1.05fr 1fr; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) { .split, .split--media { grid-template-columns: 1fr; } .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: 1fr; } }

.about-band { padding-block: clamp(70px, 9vw, 120px) clamp(40px, 6vw, 70px); }
.about-band__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.about-band__facts { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.fact { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.fact strong { font: 500 clamp(30px, 3vw, 44px)/1.05 Outfit, sans-serif; color: var(--ink); letter-spacing: -.03em; } .fact span { margin-top: 6px; color: var(--muted); }
.fact--ink { background: #171717; } .fact--ink strong { color: #fff; } .fact--ink span { color: rgb(255 255 255 / 76%); }
/* The picture fills the whole card: an inline <picture> gave the image no height to cover, leaving an empty band on top. */
.fact--photo { position: relative; grid-row: span 2; padding: 0; overflow: hidden; } .fact--photo picture { position: absolute; inset: 0; } .fact--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 900px) { .about-band__grid { grid-template-columns: 1fr; } .about-band__facts { height: 380px; } }

/* Property cards */
.pcard { min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgb(30 28 22 / 11%); }
.pcard__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.pcard__media { position: relative; aspect-ratio: 3 / 2; background: var(--bg-soft); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); } .pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__empty { display: grid; place-items: center; height: 100%; font-size: 34px; color: var(--muted); }
.tag { position: absolute; top: 12px; left: 12px; padding: 5px 13px; font-size: 13.5px; font-weight: 500; border-radius: var(--pill); }
.tag--state { background: rgb(23 23 23 / 76%); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pcard__body { padding: 18px 20px 20px; }
.pcard__price { margin: 0 0 6px; font: 500 22px/1.2 Outfit, sans-serif; color: var(--accent-text); letter-spacing: -.01em; } .pcard__price small { font: 400 14px Geist, sans-serif; color: var(--muted); }
.pcard h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17.5px; min-height: 2.5em; }
.pcard__facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; color: var(--muted); font-size: 14.5px; } .pcard__facts li { display: inline-flex; align-items: center; gap: 5px; }
.snap { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 340px); gap: 18px; padding: 6px max(20px, calc((100vw - 1280px) / 2)) 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - 1280px) / 2)); scrollbar-width: thin; }
.snap > * { scroll-snap-align: start; }

/* Bento */
.bento { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: repeat(2, minmax(230px, auto)); gap: 16px; margin-top: 12px; }
.bento__a { grid-row: span 2; } .bento__d { grid-column: span 2; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 26px; border-radius: var(--radius); background: var(--bg-soft); }
.tile .ico { font-size: 28px; margin-bottom: auto; color: var(--accent-text); } .tile p { margin: 0; }
.tile--ink { background: #171717; color: rgb(255 255 255 / 84%); } .tile--ink h3 { color: #fff; } .tile--ink .ico { color: #fff; }
.tile--photo { position: relative; overflow: hidden; color: #fff; min-height: 420px; } .tile--photo h3 { color: #fff; font-size: 26px; }
.tile--photo picture, .tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo > div { position: relative; padding: 16px 18px; border-radius: 18px; background: rgb(20 20 20 / 42%); border: 1px solid rgb(255 255 255 / 22%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; grid-template-rows: none; } .bento__a, .bento__d { grid-row: auto; grid-column: auto; } .tile { min-height: 190px; } .tile--photo { min-height: 360px; } }

.closing { position: relative; padding-block: clamp(70px, 9vw, 120px); color: #fff; overflow: hidden; background: #171717; }
.closing::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(14 14 14 / 78%), rgb(14 14 14 / 42%)); }
.closing__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: clamp(26px, 5vw, 80px); align-items: center; }
.closing h2 { color: #fff; } .closing p { font-size: 19px; }
.closing .glass { --glass: rgb(255 255 255 / 92%); --ink: #171717; --body: #3c3b38; --muted: #66635c; --line: rgb(23 23 23 / 12%); --field: #fff; --field-line: #8d8a82; color: var(--body); color-scheme: light; }
.closing .glass h2 { color: var(--ink); } .closing .btn { --brand-strong: #171717; --on-brand: #fff; }
@media (max-width: 900px) { .closing__in { grid-template-columns: 1fr; } }

.band { background: var(--brand-strong); color: #fff; } .band__in { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: 48px; } .band h2 { color: #fff; margin: 0 0 4px; } .band p { margin: 0; }

/* Forms */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 6px; min-width: 0; } .f--full { grid-column: 1 / -1; } .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f > span, .f__legend { font-size: 14.5px; font-weight: 500; color: var(--ink); }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 18px; font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--field-line); border-radius: var(--pill); transition: border-color .2s, box-shadow .2s; }
textarea { border-radius: 20px; resize: vertical; } select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-text) 22%, transparent); }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--brand-strong); flex: none; margin-top: 3px; }
.check, .tick { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; } .lead-form-gap, .lead .check { margin-block: 16px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-error { padding: 10px 16px; margin-bottom: 14px; border-radius: 16px; background: rgb(190 50 40 / 12%); color: #a32a20; }
.lead .btn { width: 100%; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .f--full { grid-column: auto; } }

.search { padding: 12px; border-radius: 28px; max-width: 880px; margin-top: 8px; color: var(--ink); }
.search__tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.search__tabs button, .search__tabs a { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 18px; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); font: 500 15.5px Geist, sans-serif; text-decoration: none; cursor: pointer; }
.search__tabs [aria-selected="true"] { background: var(--brand-strong); color: #fff; }
.search__fields { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 6px; }
@media (max-width: 760px) { .search__fields { grid-template-columns: 1fr 1fr; } .search__fields .btn { grid-column: 1 / -1; } }

/* Listing page */
.listing { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; margin-top: 28px; align-items: start; }
.listing--wide { grid-template-columns: 1fr; } .listing--wide .grid2 { grid-template-columns: repeat(3, 1fr); }
.filters { position: sticky; top: 96px; padding: 18px; border-radius: var(--radius); max-height: calc(100dvh - 110px); overflow: auto; }
.filters summary { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; } .filters summary::-webkit-details-marker { display: none; }
.filters form { display: grid; gap: 12px; margin-top: 14px; }
.listing__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; } .listing__top p { margin: 0; color: var(--muted); }
.inline { display: flex; align-items: center; gap: 8px; } .inline select { min-height: 42px; width: auto; }
.empty { padding: 44px 26px; border-radius: var(--radius); background: var(--bg-soft); text-align: center; } .empty p { max-width: 44ch; margin-inline: auto; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 30px; }
.pager__btn { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager__btn[aria-current] { background: var(--brand-strong); color: #fff; border-color: transparent; } .pager__btn[aria-disabled] { opacity: .4; } .pager__gap { align-self: center; }
@media (max-width: 960px) { .listing { grid-template-columns: 1fr; } .listing--wide .grid2 { grid-template-columns: repeat(2, 1fr); } .filters { position: static; max-height: none; } }
@media (max-width: 620px) { .listing--wide .grid2 { grid-template-columns: 1fr; } }

/* Property page */
.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; height: clamp(320px, 46vw, 560px); }
.gallery button:not(.gallery__all) { padding: 0; border: 0; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: var(--bg-soft); min-height: 0; }
.gallery__main { grid-row: span 2; } .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); } .gallery button:hover img { transform: scale(1.03); }
.gallery__all { position: absolute; right: 14px; bottom: 14px; min-height: 44px; padding: 8px 18px; background: rgb(23 23 23 / 62%); }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; } .gallery--1 .gallery__main { grid-row: auto; } .gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; } .gallery--2 .gallery__main { grid-row: auto; } .gallery--3, .gallery--4 { grid-template-columns: 2fr 1fr; }
@media (max-width: 760px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 72vw; } .gallery__main { grid-row: auto; grid-column: span 2; } .gallery__side:nth-of-type(n+4) { display: none; }
    .gallery--1 { grid-template-rows: 1fr; height: 66vw; } .gallery--2 { grid-template-columns: 1fr; } .gallery--2 .gallery__main { grid-column: auto; }
}
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(12 12 12 / 94%); color: #fff; }
.lightbox[open] { display: grid; place-items: center; } .lightbox::backdrop { background: rgb(12 12 12 / 94%); }
.lightbox img { max-width: 92vw; max-height: 88dvh; border-radius: 12px; } .lightbox > .iconbtn { position: absolute; background: rgb(255 255 255 / 12%); }
.lightbox [data-close] { top: 16px; right: 16px; } .lightbox__prev { left: 14px; top: 50%; } .lightbox__next { right: 14px; top: 50%; }
.property__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(26px, 4vw, 56px); margin-top: 30px; align-items: start; }
.property__grid section { margin-top: 38px; }
.property__grid h1 { font-size: clamp(30px, 3.4vw, 44px); }
.property__where { display: flex; align-items: center; gap: 7px; margin: 10px 0; color: var(--muted); }
.notice { padding: 13px 18px; border-radius: 16px; background: var(--bg-soft); color: var(--ink); } .section--brand .notice { background: rgb(255 255 255 / 12%); color: #fff; } .notice a { color: var(--accent-text); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 22px; }
.facts li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--bg-soft); } .facts .ico { grid-row: span 2; align-self: center; font-size: 20px; color: var(--accent-text); } .facts span { font-size: 13.5px; color: var(--muted); } .facts strong { font-weight: 500; color: var(--ink); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; } .checks li { display: flex; gap: 9px; align-items: flex-start; } .checks .ico { margin-top: 4px; color: var(--accent-text); } .checks--one { grid-template-columns: 1fr; margin-top: 14px; }
.near { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .near h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 17px; } .near li { padding-block: 3px; font-size: 15.5px; }
.plan { border-radius: 16px; border: 1px solid var(--line); margin-bottom: 12px; background: #fff; }
.mapbox { display: grid; justify-items: center; gap: 6px; margin-top: 18px; padding: 28px; min-height: 180px; align-content: center; border-radius: var(--radius); background: var(--bg-soft); text-align: center; } .mapbox p { margin: 0; font-size: 14px; color: var(--muted); } .mapbox iframe { width: 100%; height: 340px; border: 0; border-radius: 16px; }
.mapbox--open { padding: 8px; }
.sticky { position: sticky; top: 96px; } .property__side h2 { font-size: 21px; margin: 18px 0 12px; }
.price { margin: 0; font: 500 32px/1.1 Outfit, sans-serif; color: var(--accent-text); letter-spacing: -.02em; } .price small { font: 400 15px Geist, sans-serif; color: var(--muted); }
.costs { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; margin-top: 12px; font-size: 15.5px; } .costs dt { color: var(--muted); } .costs dd { color: var(--ink); text-align: right; }
.agent { display: grid; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); } .agent strong { color: var(--ink); font-weight: 500; } .agent span { color: var(--muted); font-size: 15px; }
.property__side .fields { grid-template-columns: 1fr; }
@media (max-width: 1040px) { .property__grid { grid-template-columns: 1fr; } .sticky { position: static; } }
@media (max-width: 560px) { .near { grid-template-columns: 1fr; } .gallery__all { min-height: 38px; padding: 4px 12px; font-size: 14px; } }

.prose { max-width: 72ch; } .prose h2 { font-size: 26px; margin: 28px 0 10px; } .prose h3 { margin: 22px 0 8px; } .prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; } .prose ol { list-style: decimal; padding-left: 22px; margin-bottom: 14px; } .prose a { color: var(--accent-text); } .prose img { border-radius: 16px; margin-block: 14px; } .prose li { margin-block: 3px; } .table-scroll { overflow-x: auto; }

/* Services, projects, education */
.links-rows { display: grid; gap: 10px; margin-top: 10px; }
.linkrow { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), border-color .2s; }
.linkrow:hover { transform: translateX(4px); border-color: var(--accent-text); } .linkrow > .ico:first-child { font-size: 26px; color: var(--accent-text); } .linkrow strong { display: block; color: var(--ink); font: 500 19px Outfit, sans-serif; } .linkrow span span { color: var(--muted); font-size: 15.5px; }
.mosaic { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: repeat(2, 240px); gap: 14px; }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; } .mosaic__item:first-child { grid-row: span 2; } .mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); } .mosaic__item:hover img { transform: scale(1.04); }
.mosaic__item > span { position: absolute; inset: auto 10px 10px 10px; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; background: rgb(20 20 20 / 48%); border: 1px solid rgb(255 255 255 / 20%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } .mosaic__item strong { display: block; font: 500 19px Outfit, sans-serif; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr; grid-template-rows: none; } .mosaic__item { height: 260px; } .mosaic__item:first-child { grid-row: auto; } }
.articles li + li { border-top: 1px solid var(--line); } .articles a { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 18px 2px; text-decoration: none; color: var(--ink); } .articles time { color: var(--muted); font-size: 15px; } .articles strong { font: 500 19px/1.3 Outfit, sans-serif; } .articles a:hover strong { color: var(--accent-text); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(26px, 4vw, 56px); align-items: start; margin-top: 8px; } .article-grid .fields { grid-template-columns: 1fr; } .article-grid .panel h2 { font-size: 22px; } .block { margin-bottom: 26px; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 30px; } .mini { padding: 18px 20px; border-radius: 18px; background: var(--bg-soft); } .mini h3 { font-size: 18px; margin-bottom: 4px; } .mini p { margin: 0; font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; } .chips li { padding: 7px 15px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 15px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; } .thumbs img { border-radius: 14px; }
@media (max-width: 1040px) { .article-grid { grid-template-columns: 1fr; } }
.unis { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin-top: 22px; }
.uni { position: relative; grid-column: span 12; min-height: 300px; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--brand-strong); }
/* Two wide cards, then rows of three; the last row always closes, however many universities there are. */
@media (min-width: 861px) {
    .uni { grid-column: span 4; }
    .uni:nth-child(-n+2), .uni:nth-last-child(2):nth-child(3n), .uni:last-child:nth-child(3n+1) { grid-column: span 6; }
    .uni:last-child:nth-child(3n) { grid-column: span 12; }
    .uni:first-child:nth-last-child(3), .uni:first-child:nth-last-child(3) ~ .uni { grid-column: span 4; }
}
.uni img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); } .uni:hover img { transform: scale(1.04); }
.uni > span { position: absolute; inset: auto 10px 10px 10px; padding: 14px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; background: rgb(14 32 26 / 56%); border: 1px solid rgb(255 255 255 / 20%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } .uni strong { display: block; margin-bottom: 2px; font: 500 19px/1.2 Outfit, sans-serif; }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 26px; counter-reset: step; margin-top: 14px; }
.path li { position: relative; padding: 18px 0 18px 58px; border-top: 1px solid var(--line); counter-increment: step; } .path li::before { content: counter(step); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft); color: var(--accent-text); font: 500 17px Outfit, sans-serif; } .path p { margin: 4px 0 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; } }
.iconlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .iconlist li { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / 11%); border: 1px solid rgb(255 255 255 / 16%); color: #fff; font-size: 15.5px; }
@media (max-width: 560px) { .iconlist { grid-template-columns: 1fr; } }
.programmes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 26px; } .programme { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); } .programme h3 { font-size: 17px; } .programme span { font-size: 14.5px; color: var(--muted); } .programme strong { color: var(--accent-text); font-weight: 500; } .programme small { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-block: 18px 24px; } .steps li { padding: 22px; border-radius: 20px; background: var(--bg-soft); } .steps li:nth-child(4) { background: var(--brand-strong); color: rgb(255 255 255 / 92%); } .steps li:nth-child(4) h3, .steps li:nth-child(4) .ico { color: #fff; } .steps .ico { font-size: 26px; color: var(--accent-text); margin-bottom: 14px; } .steps h3 { margin-bottom: 6px; font-size: 18px; } .steps p { margin: 0; font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.fee { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 5vw, 64px); align-items: center; } .fee__price { font: 500 clamp(52px, 7vw, 86px)/1 Outfit, sans-serif; color: #fff; letter-spacing: -.03em; }
@media (max-width: 860px) { .fee { grid-template-columns: 1fr; } }
.districts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-block: 16px; } .district { padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); } .district strong { display: block; font: 500 34px/1 Outfit, sans-serif; color: var(--accent-text); margin-bottom: 8px; } .district h3 { font-size: 18px; margin-bottom: 4px; } .district p { margin: 0; font-size: 15.5px; } .district--top { background: var(--bg-soft); border-color: transparent; }
@media (max-width: 860px) { .districts { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .districts { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); } .faq summary { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 18px 2px; font: 500 18px/1.3 Outfit, sans-serif; color: var(--ink); cursor: pointer; list-style: none; } .faq summary::-webkit-details-marker { display: none; } .faq .ico { transition: transform .3s var(--ease); } .faq details[open] .ico { transform: rotate(180deg); } .faq p { padding-right: 30px; }
.wizard__nav { display: flex; gap: 6px; margin-bottom: 18px; } .wizard__nav li { flex: 1; padding: 9px 12px; border-radius: var(--pill); background: var(--bg-soft); text-align: center; font-size: 14.5px; color: var(--muted); } .wizard__nav li[aria-current] { background: var(--brand-strong); color: #fff; } .wizard fieldset { border: 0; padding: 0; margin: 0; }
.wizard__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; } .wizard .btn { width: auto; } .tick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-block: 8px 16px; } @media (max-width: 560px) { .tick-grid { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 8px; } .team .tile { background: var(--surface); } .team a { color: var(--accent-text); }
.facts-list dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 16px; } .facts-list dt { color: var(--muted); } .facts-list dd { color: var(--ink); } @media (max-width: 560px) { .facts-list dl { grid-template-columns: 1fr; } }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; } .contact__list { margin-top: 26px; display: grid; grid-template-columns: 180px 1fr; gap: 12px 14px; } .contact__list dt { display: flex; gap: 8px; align-items: center; color: var(--muted); } .contact__list a { color: var(--accent-text); } @media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__list { grid-template-columns: 1fr; gap: 2px 0; } .contact__list dd { margin-bottom: 10px; } }
.thanks { max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 12px; } .thanks__icon { display: grid; place-items: center; width: 64px; height: 64px; font-size: 26px; border-radius: 50%; background: var(--bg-soft); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; } .quote { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); } .quote blockquote { margin: 0 0 10px; }

/* Footer and floating */
.foot { padding-block: 60px 28px; background: var(--bg-soft); font-size: 15.5px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.foot h2 { font: 600 15px Geist, sans-serif; letter-spacing: 0; margin-bottom: 10px; } .foot nav a, .foot__grid > div:last-child a { display: block; padding-block: 3px; text-decoration: none; } .foot nav a:hover { color: var(--accent-text); }
.foot__brand img { width: 92px; height: auto; margin-bottom: 12px; } .foot__brand p { max-width: 32ch; }
.foot__social { display: flex; gap: 10px; margin-top: 10px; font-size: 20px; }
.foot__end { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; } .foot__credit a { color: inherit; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 24px; background: #1B8F4B; color: #fff; box-shadow: 0 12px 28px rgb(20 80 45 / 34%); transition: transform .35s var(--ease); } .wa:hover { transform: translateY(-3px); }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 25; display: grid; gap: 10px; width: min(100% - 32px, 400px); padding: 16px 18px; border-radius: 22px; font-size: 15px; color: var(--body); } .consent p { margin: 0; } .consent div { display: flex; gap: 8px; justify-content: flex-end; } .consent a { color: var(--accent-text); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); } .reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
@media print { .top, .wa, .consent, .foot { display: none; } }

/* Rebrand note, currency switch and smart search (1.0.2). */
.rebrand { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0 0 14px; padding: 7px 14px; border-radius: var(--pill); background: rgb(255 255 255 / 16%); border: 1px solid rgb(255 255 255 / 28%); color: #fff; font: 500 14px Geist, sans-serif; text-decoration: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
a.rebrand:hover { background: rgb(255 255 255 / 26%); }
.section__tools { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cur { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--pill); background: var(--bg-soft); border: 1px solid var(--line); }
.cur button { min-width: 36px; min-height: 32px; padding: 4px 10px; border: 0; border-radius: var(--pill); background: transparent; color: var(--ink); font: 500 14px Geist, sans-serif; cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--brand-strong); color: #fff; }
.property__side .cur { margin: 4px 0 10px; }
.f__pair { display: grid; grid-template-columns: 1fr auto; gap: 6px; } .f__pair select { width: auto; }
@media (max-width: 760px) { .search__fields .f--price { grid-column: 1 / -1; } }
/* Five steps on a phone: the current step keeps its name, the others show their number. */
.wizard__nav { counter-reset: step; } .wizard__nav li { counter-increment: step; min-width: 0; }
@media (max-width: 640px) { .wizard__nav li:not([aria-current]) { flex: 0 0 38px; padding-inline: 0; font-size: 0; } .wizard__nav li:not([aria-current])::before { content: counter(step); font-size: 14.5px; } }
.fields + .f__legend { margin-top: 24px; }

/* Google reviews carousel (1.0.5). */
.reviews .section__head { align-items: end; }
.reviews__src { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; color: var(--muted); }
.stars { color: #F5B400; letter-spacing: 1px; font-size: 15px; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; width: min(100% - 40px, 1280px); margin-inline: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); scroll-snap-align: start; }
.review figcaption { display: flex; align-items: center; gap: 12px; } .review figcaption > span { display: flex; flex-direction: column; gap: 2px; }
.review figcaption img, .review__initial { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review__initial { display: block; background: var(--ink); color: var(--bg); text-align: center; font: 500 19px/48px Outfit, sans-serif; }
.review blockquote { margin: 0; color: var(--ink); line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.review blockquote.is-open { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; color: var(--accent-text); font: 500 15px Geist, sans-serif; cursor: pointer; }
@media (max-width: 1024px) { .reviews__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .reviews__track { grid-auto-columns: 86%; } .reviews [data-prev], .reviews [data-next] { display: none; } }

/* Education: the medical entrance exam leads the page (1.0.6). */
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; } .hero__tags li { padding: 6px 14px; border-radius: var(--pill); border: 1px solid rgb(255 255 255 / 40%); color: #fff; font-size: 14.5px; }
.rebrand .ico { font-size: 17px; }
.exam__head { max-width: 760px; margin-bottom: 26px; }
.exam__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exam__card { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); } .exam__card > .ico { font-size: 26px; color: var(--accent-text); } .exam__card h3 { margin: 12px 0 6px; } .exam__card p { margin: 0; color: var(--muted); }
.exam__help { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; margin-top: 34px; }
.exam__prep { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); } .exam__prep h3 { margin-top: 0; } .exam__prep .btn { margin-top: 16px; }
@media (max-width: 960px) { .exam__grid, .exam__help { grid-template-columns: 1fr; } }

/* Staff bar: only for a signed-in admin, above the header (1.0.7). */
.staffbar { position: relative; z-index: 40; background: #171717; color: #fff; font-size: 13.5px; }
.staffbar__in { display: flex; align-items: center; gap: 8px; padding-block: 6px; }
.staffbar__who { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: auto; color: rgb(255 255 255 / 78%); }
.staffbar form { margin: 0; }
.staffbar__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 14px; border: 0; border-radius: var(--pill); background: #fff; color: #171717; font: 500 13.5px Geist, sans-serif; text-decoration: none; cursor: pointer; }
.staffbar__btn--ghost { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / 45%); }
@media (max-width: 640px) { .staffbar__who { display: none; } .staffbar__btn { flex: 1; justify-content: center; padding-inline: 8px; } }
@media print { .staffbar { display: none; } }

/* Office map with a liquid-glass card (1.0.7). Google sets cookies, so the map waits for a click or accepted cookies. */
.officemap { position: relative; overflow: hidden; height: 360px; border-radius: 32px; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 55%), transparent 55%), linear-gradient(135deg, #DCE3E8, #EFE9DE 60%, #E4E8DF); }
.officemap__stage { position: absolute; inset: 0; display: grid; place-items: center;
  background-image: linear-gradient(90deg, rgb(255 255 255 / 70%) 2px, transparent 2px), linear-gradient(0deg, rgb(255 255 255 / 70%) 2px, transparent 2px), linear-gradient(32deg, transparent 47%, rgb(255 255 255 / 85%) 47% 53%, transparent 53%);
  background-size: 120px 90px, 120px 90px, 100% 100%; }
.officemap__stage iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.officemap--loaded .officemap__stage { background: none; }
.officemap__load { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 1px solid rgb(255 255 255 / 70%); border-radius: var(--pill); background: rgb(255 255 255 / 55%); color: #171717; font: 500 15px Geist, sans-serif; cursor: pointer; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 10px 30px rgb(23 23 23 / 12%); }
.officemap__card { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: flex; gap: 14px; align-items: flex-start; max-width: min(420px, calc(100% - 36px)); padding: 18px 20px; border-radius: 26px; color: #171717;
  background: linear-gradient(145deg, rgb(255 255 255 / 62%), rgb(255 255 255 / 30%)); border: 1px solid rgb(255 255 255 / 75%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 95%), inset 0 -1px 0 rgb(255 255 255 / 25%), 0 18px 40px rgb(23 23 23 / 18%);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.officemap__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(80% 60% at 20% 0%, rgb(255 255 255 / 55%), transparent 60%); mix-blend-mode: soft-light; }
.officemap__pin { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #171717; color: #fff; font-size: 20px; }
.officemap__card strong { display: block; font: 500 18px Outfit, sans-serif; } .officemap__card address { font-style: normal; margin: 2px 0 8px; }
.officemap__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; } .officemap__links a { display: inline-flex; align-items: center; gap: 4px; color: #171717; font-weight: 500; text-decoration: none; } .officemap__links a:hover { text-decoration: underline; }
.officemap--foot { height: 300px; margin-bottom: 48px; }
.officemap--page { height: 440px; }
.section--flush { padding-top: 0; }
@media (prefers-reduced-transparency: reduce) { .officemap__card, .officemap__load { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 640px) { .officemap, .officemap--page { height: 420px; } .officemap--foot { height: 380px; } .officemap__card { left: 10px; right: 10px; bottom: 10px; max-width: none; } }
[data-theme="dark"] .officemap { background: radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 10%), transparent 55%), linear-gradient(135deg, #22272B, #1F1D1A 60%, #232620); }
[data-theme="dark"] .officemap__stage { background-image: linear-gradient(90deg, rgb(255 255 255 / 7%) 2px, transparent 2px), linear-gradient(0deg, rgb(255 255 255 / 7%) 2px, transparent 2px), linear-gradient(32deg, transparent 47%, rgb(255 255 255 / 10%) 47% 53%, transparent 53%); }
@media (prefers-color-scheme: dark) {
:root[data-theme="auto"] .officemap { background: radial-gradient(120% 90% at 85% 10%, rgb(255 255 255 / 10%), transparent 55%), linear-gradient(135deg, #22272B, #1F1D1A 60%, #232620); }
:root[data-theme="auto"] .officemap__stage { background-image: linear-gradient(90deg, rgb(255 255 255 / 7%) 2px, transparent 2px), linear-gradient(0deg, rgb(255 255 255 / 7%) 2px, transparent 2px), linear-gradient(32deg, transparent 47%, rgb(255 255 255 / 10%) 47% 53%, transparent 53%); }
}
@media (max-width: 640px) { .officemap__stage { place-items: start center; padding-top: 70px; } .officemap--loaded .officemap__stage { padding-top: 0; } }
.staffbar__btn { white-space: nowrap; }
@media (max-width: 420px) { .staffbar__in { gap: 6px; } .staffbar__btn { font-size: 12.5px; gap: 4px; padding-inline: 6px; } }

/* Search with AI (1.0.9). */
.ai { max-width: 880px; margin-top: 12px; padding: 16px; border-radius: 28px; color: var(--ink); }
.ai--hero { background: linear-gradient(150deg, rgb(255 255 255 / 92%), rgb(255 255 255 / 78%)); border: 1px solid rgb(255 255 255 / 85%); box-shadow: inset 0 1px 0 #fff, 0 20px 50px rgb(10 20 30 / 25%); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); }
.ai--page { max-width: none; margin: 4px 0 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.ai__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.ai__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); background: linear-gradient(120deg, #243D53, #3E6A8F); color: #fff; font: 500 14px Geist, sans-serif; }
.ai__hint { color: var(--muted); font-size: 14.5px; }
.ai__row { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: var(--pill); background: var(--bg); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.ai__row:focus-within { border-color: #3E6A8F; box-shadow: 0 0 0 4px rgb(62 106 143 / 18%); }
.ai__field { flex: 1; min-width: 0; padding-inline: 14px; } .ai__field input { width: 100%; min-height: 44px; border: 0; background: transparent; color: var(--ink); font: 400 16px Geist, sans-serif; outline: none; }
.ai__go { flex: none; gap: 8px; }
.ai__try { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.ai__try button { padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--pill); background: transparent; color: var(--ink); font: 400 14px Geist, sans-serif; cursor: pointer; } .ai__try button:hover { border-color: var(--ink); }
.ai__result { margin: -6px 0 22px; } .ai__result p { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; color: var(--ink); } .ai__result .ai__small { display: block; margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }
.pcard__why { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 8px; padding: 7px 10px; border-radius: 12px; background: rgb(62 106 143 / 10%); color: var(--ink); font-size: 14px; line-height: 1.4; } .pcard__why .ico { flex: none; margin-top: 2px; color: #3E6A8F; }
@media (max-width: 640px) { .ai__row { flex-direction: column; align-items: stretch; border-radius: 22px; } .ai__go { width: 100%; justify-content: center; } .ai__hint { display: none; } }
.ai--hero .ai__try, .ai--hero .ai__try > span, .ai--hero .ai__hint { color: #5C5A55; }

/* Real estate services: eyebrow, 2x2 cards and a building photo in a soft blob (1.0.10). */
.services { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 100% 40%, rgb(36 61 83 / 9%), transparent 60%), var(--bg); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--accent-text); font: 600 13px Geist, sans-serif; letter-spacing: .16em; text-transform: uppercase; } .eyebrow::before { content: ""; width: 44px; height: 2px; border-radius: 2px; background: currentColor; }
.services__main h2 { margin-bottom: 10px; } .services__main .lead { max-width: 60ch; margin-bottom: 28px; }
.services__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.svc { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 24px 22px; border-radius: 24px; color: var(--ink); text-decoration: none;
  background: linear-gradient(160deg, rgb(255 255 255 / 92%), rgb(255 255 255 / 70%)); border: 1px solid rgb(255 255 255 / 90%);
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px rgb(36 61 83 / 10%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .35s var(--ease), box-shadow .35s; }
.svc:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 22px 44px rgb(36 61 83 / 16%); }
.svc__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgb(36 61 83 / 8%); color: var(--accent-text); font-size: 28px; }
.svc__body strong { display: block; margin-bottom: 4px; font: 500 19px/1.25 Outfit, sans-serif; } .svc__body span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.svc__go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgb(36 61 83 / 9%); color: var(--accent-text); transition: background .25s, color .25s; }
.svc:hover .svc__go { background: var(--brand-strong); color: #fff; }
.services__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 180px 36px 180px 36px; overflow: hidden; box-shadow: 0 30px 60px rgb(36 61 83 / 18%); }
.services__media picture, .services__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .svc { background: linear-gradient(160deg, rgb(255 255 255 / 9%), rgb(255 255 255 / 4%)); border-color: rgb(255 255 255 / 12%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 14px 34px rgb(0 0 0 / 30%); } :root[data-theme="auto"] .svc__icon, :root[data-theme="auto"] .svc__go { background: rgb(255 255 255 / 8%); } }
:root[data-theme="dark"] .svc { background: linear-gradient(160deg, rgb(255 255 255 / 9%), rgb(255 255 255 / 4%)); border-color: rgb(255 255 255 / 12%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 14px 34px rgb(0 0 0 / 30%); }
:root[data-theme="dark"] .svc__icon, :root[data-theme="dark"] .svc__go { background: rgb(255 255 255 / 8%); }
@media (max-width: 1080px) { .services__grid { grid-template-columns: 1fr; } .services__media { max-width: 460px; aspect-ratio: 5 / 4; justify-self: center; width: 100%; border-radius: 120px 28px 120px 28px; } }
@media (max-width: 640px) { .services__cards { grid-template-columns: 1fr; } .svc { padding: 18px; } }

/* Districts with outlines, and values cards (1.0.13). */
.title-line { display: flex; align-items: center; gap: 16px; } .title-line::after { content: ""; width: 48px; height: 2px; border-radius: 2px; background: var(--accent-text); }
.dmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 20px 8px; }
.dcard2 { display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 10px; min-height: 196px; padding: 22px 18px 22px 24px; border-radius: 24px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.dcard2:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 18px 40px rgb(23 23 23 / 10%); }
.dcard2--top { background: var(--bg-soft); border-color: transparent; }
.dcard2__text strong { display: block; font: 500 38px/1 Outfit, sans-serif; color: var(--accent-text); margin-bottom: 8px; }
.dcard2__name { display: block; font: 500 19px/1.25 Outfit, sans-serif; margin-bottom: 8px; } .dcard2__about { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); }
.dcard2__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--accent-text); font-weight: 500; font-size: 14.5px; }
.dcard2__shape { width: 100%; height: auto; overflow: visible; } .dcard2__shape polygon { fill: color-mix(in srgb, var(--accent-text) 14%, transparent); stroke: var(--accent-text); stroke-width: 2.4; stroke-linejoin: round; transition: fill .35s; }
.dcard2:hover .dcard2__shape polygon { fill: color-mix(in srgb, var(--accent-text) 26%, transparent); }
.dcard2__shape text { fill: var(--accent-text); font: 600 17px Outfit, sans-serif; text-anchor: middle; }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.value { position: relative; overflow: hidden; padding: 24px; border-radius: 22px; background: linear-gradient(150deg, rgb(255 255 255 / 85%), rgb(255 255 255 / 55%)); border: 1px solid rgb(255 255 255 / 85%); box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgb(23 23 23 / 6%); }
.value::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: color-mix(in srgb, var(--accent-text) 7%, transparent); }
.value__no { display: flex; align-items: center; gap: 10px; font: 500 22px Outfit, sans-serif; color: var(--accent-text); } .value__no::after { content: ""; width: 24px; height: 1.5px; background: currentColor; }
.value h3 { margin: 10px 0 6px; font-size: 18px; } .value p { margin: 0; font-size: 15px; color: var(--muted); position: relative; z-index: 1; }
:root[data-theme="dark"] .value { background: linear-gradient(150deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)); border-color: rgb(255 255 255 / 12%); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .value { background: linear-gradient(150deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)); border-color: rgb(255 255 255 / 12%); box-shadow: none; } }
@media (max-width: 1080px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dmap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .values, .dmap { grid-template-columns: 1fr; } .dcard2 { grid-template-columns: 1fr 34%; } }
@media (max-width: 640px) { .title-line::after { display: none; } }
.about-band__grid p + p { margin-top: 14px; } .about-band__grid p + .btn { margin-top: 22px; }

/* Listing page redesign (1.0.15). */
.property__grid { margin-top: 18px; }
.property__titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .property__titlerow h1 { margin: 0; }
.property__share { flex: none; border: 1px solid var(--line); } .property__share.is-done { color: var(--accent-text); }
.property__where { flex-wrap: wrap; } .property__tag { padding: 3px 12px; border-radius: var(--pill); background: var(--bg-soft); color: var(--ink); font-size: 14px; }
.pgal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 10px; margin-top: 18px; height: clamp(300px, 36vw, 470px); }
.pgal--1 { grid-template-columns: 1fr; }
.pgal__main { position: relative; overflow: hidden; border-radius: 22px; background: var(--bg-soft); }
.pgal__open { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; background: none; } .pgal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgal__arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 88%); color: #171717; font-size: 18px; cursor: pointer; box-shadow: 0 6px 18px rgb(0 0 0 / 18%); }
.pgal__arrow--prev { left: 14px; } .pgal__arrow--next { right: 14px; }
.pgal__count { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); background: rgb(23 23 23 / 62%); color: #fff; font-size: 14px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pgal__side { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.pgal__side button { position: relative; padding: 0; border: 0; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--bg-soft); min-height: 0; }
.pgal__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(23 23 23 / 55%); color: #fff; font-weight: 500; }
.pchips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.pchips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 500; font-size: 15px; } .pchips .ico { color: var(--accent-text); }
.pside { padding: 26px; border-radius: 26px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 44px rgb(23 23 23 / 8%); }
.pside__label { margin: 0; color: var(--muted); font-size: 15px; } .pside .price { margin: 2px 0 8px; font-size: 34px; }
.pside__state { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 5px 12px; border-radius: var(--pill); background: rgb(52 168 83 / 12%); color: var(--ink); font-size: 14px; font-weight: 500; }
.pside__state span { width: 8px; height: 8px; border-radius: 50%; background: #34A853; } .pside__state--reserved span { background: #F5B400; } .pside__state--sold span, .pside__state--rented span { background: #A5281C; }
.pside__state--reserved { background: rgb(245 180 0 / 14%); } .pside__state--sold, .pside__state--rented { background: rgb(165 40 28 / 10%); }
.pside__actions { display: grid; gap: 10px; margin: 16px 0 6px; } .pside__actions .btn { width: 100%; justify-content: center; }
.pagent { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pagent img, .pagent__initial { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; } .pagent__initial { display: block; background: var(--ink); color: var(--bg); text-align: center; font: 500 24px/64px Outfit, sans-serif; }
.pagent div { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pagent strong { font: 500 17px Outfit, sans-serif; }
.pagent a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; } .pagent a .ico { color: var(--accent-text); }
.psection { margin-top: 44px; } .psection h2 { margin-bottom: 14px; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--bg); }
.specs li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.specs .ico { grid-row: span 2; font-size: 26px; color: var(--accent-text); } .specs span { color: var(--muted); font-size: 14px; } .specs strong { color: var(--ink); font-weight: 600; }
.pcols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.checks--two { columns: 2; column-gap: 24px; } .checks--two li { break-inside: avoid; }
.pconds { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0; margin: 0; padding: 6px; list-style: none; border-radius: 20px; background: var(--bg-soft); }
.pconds li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; } .pconds .ico { grid-row: span 2; font-size: 24px; color: var(--accent-text); } .pconds span { color: var(--muted); font-size: 13.5px; } .pconds strong { color: var(--ink); }
.pnear__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.pnear__map { display: grid; gap: 10px; } .mapbox--slim { min-height: 0; padding: 12px; margin: 0; }
.dshape { width: 100%; height: auto; aspect-ratio: 6 / 5; border-radius: 20px; background: var(--bg-soft); }
.dshape__grid { stroke: color-mix(in srgb, var(--ink) 7%, transparent); stroke-width: 1; fill: none; }
.dshape__river { fill: none; stroke: #9CC3E0; stroke-width: 9; stroke-linecap: round; opacity: .75; }
.dshape polygon, .dshape circle:not(.dshape__pin circle) { fill: color-mix(in srgb, var(--accent-text) 16%, transparent); stroke: var(--accent-text); stroke-width: 1.6; stroke-linejoin: round; }
.dshape__pin path { fill: var(--accent-text); } .dshape__pin circle { fill: #fff; } .dshape text { fill: var(--accent-text); font: 600 13px Outfit, sans-serif; text-anchor: middle; }
.pnear__lists { display: grid; gap: 18px; } .pnear__lists h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 6px; } .pnear__lists h3 .ico { color: var(--accent-text); }
.pnear__lists ul { margin: 0; padding-left: 30px; font-size: 14.5px; color: var(--muted); } .pnear__lists li { margin: 2px 0; }
.penquire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; padding-top: 10px; scroll-margin-top: 100px; }
@media (max-width: 1100px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pcols, .penquire { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pgal { grid-template-columns: 1fr; height: auto; } .pgal__main { aspect-ratio: 3 / 2; } .pgal__side { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; height: 64px; } .pnear__grid { grid-template-columns: 1fr; } .checks--two { columns: 1; } .specs li { padding: 14px; } .pside .price { font-size: 28px; } }

/* Search with AI hero box in dark mode: dark glass instead of the light one */
:root[data-theme="dark"] .ai--hero { background: linear-gradient(150deg, rgb(28 30 33 / 88%), rgb(20 22 25 / 76%)); border-color: rgb(255 255 255 / 14%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 20px 50px rgb(0 0 0 / 40%); }
:root[data-theme="dark"] .ai--hero .ai__try, :root[data-theme="dark"] .ai--hero .ai__try > span, :root[data-theme="dark"] .ai--hero .ai__hint { color: #B9B6AE; }
:root[data-theme="dark"] .ai--hero .ai__try button { border-color: rgb(255 255 255 / 22%); color: #F6F3EC; }
:root[data-theme="dark"] .ai--hero .ai__try button:hover { border-color: #F6F3EC; }
@media (prefers-color-scheme: dark) {
    :root[data-theme="auto"] .ai--hero { background: linear-gradient(150deg, rgb(28 30 33 / 88%), rgb(20 22 25 / 76%)); border-color: rgb(255 255 255 / 14%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 20px 50px rgb(0 0 0 / 40%); }
    :root[data-theme="auto"] .ai--hero .ai__try, :root[data-theme="auto"] .ai--hero .ai__try > span, :root[data-theme="auto"] .ai--hero .ai__hint { color: #B9B6AE; }
    :root[data-theme="auto"] .ai--hero .ai__try button { border-color: rgb(255 255 255 / 22%); color: #F6F3EC; }
}
