/* Opslagruimte Gent — redesign 2026 */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #0b1626; --ink-2: #26344a; --muted: #5a6779; --line: #e2e7ef; --bg: #ffffff; --bg-alt: #f3f6fb;
  --blue: #1553e0; --blue-d: #0d3fb5; --blue-soft: #e7eeff; --yellow: #ffc928; --yellow-d: #f2b600;
  --green: #0b7d45; --green-soft: #e0f5e9; --grey-soft: #eef1f5;
  --r: 18px; --r-sm: 12px; --shadow: 0 1px 2px rgba(11,22,38,.06), 0 12px 32px -12px rgba(11,22,38,.18);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.sub { color: var(--muted); margin-top: 12px; max-width: 56ch; }
.note { font-size: .88rem; color: var(--muted); margin-top: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(242,182,0,.9); }
.btn-primary:hover { background: var(--yellow-d); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-onDark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-onDark:hover { border-color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.logo b { font-weight: 800; }
.logo-mark { width: 30px; height: 30px; color: var(--blue); }
.logo-light { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .97rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.nav-toggle .i { display: block; width: 22px; height: 22px; }

/* hero */
.hero { background: var(--ink); color: #c9d3e2; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px); mask-image: linear-gradient(100deg, #000 0%, transparent 62%); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -220px; background: radial-gradient(closest-side, rgba(21,83,224,.55), transparent); }
.hero-in { position: relative; z-index: 1; width: min(1320px, 100% - 40px); display: grid; grid-template-columns: .56fr 1fr; gap: 48px; align-items: center; padding: 76px 0 88px; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.2rem + 2.6vw, 3.35rem); letter-spacing: -.035em; line-height: 1.03; }
.hero h1 em { font-style: normal; color: var(--yellow); display: block; }
.lead { font-size: 1.15rem; margin-top: 22px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 44px 0 0; }
.hero-facts > div { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.16); }
.hero-facts > div:first-child { padding-left: 0; border: 0; }
.hero-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8fa0b8; font-weight: 700; }
.hero-facts dd { margin: 4px 0 0; color: #fff; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hero-facts small { display: block; font-size: .85rem; font-weight: 500; color: #a9b7cb; letter-spacing: 0; }
.hero-media { position: relative; }
.hero-media img { border-radius: 28px; aspect-ratio: 10 / 7; width: 100%; object-fit: cover; object-position: 45% 50%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--muted); padding: 12px 18px 12px 14px; border-radius: 16px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; }
.chip b { display: block; color: var(--ink); font-size: 1rem; }
.chip .i { width: 38px; height: 38px; padding: 9px; background: var(--blue-soft); color: var(--blue); border-radius: 11px; }
.chip-a { left: -28px; bottom: 44px; }
.chip-b { right: -14px; top: 36px; }

/* sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

/* segmented control */
.seg { display: inline-flex; background: var(--grey-soft); padding: 4px; border-radius: 999px; }
.seg button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,22,38,.15); }
.seg-sm button { padding: 7px 16px; font-size: .9rem; }

/* size finder */
.finder { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.sizes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.size { width: 100%; display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px 10px 10px; transition: border-color .15s, box-shadow .15s, background .15s; }
.size:hover { border-color: #b9c4d6; }
.size[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(21,83,224,.12); }
.size-area { display: flex; align-items: baseline; justify-content: center; gap: 3px; height: 52px; background: var(--ink); color: #fff; border-radius: 9px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; padding-top: 11px; }
.size[aria-pressed="true"] .size-area { background: var(--blue); }
.size-area small { font-size: .72rem; font-weight: 600; opacity: .8; }
.size-meta { display: grid; min-width: 0; }
.size-meta b { color: var(--ink); font-size: .96rem; line-height: 1.3; }
.size-meta span { color: var(--muted); font-size: .84rem; }
.size-meta .vol { font-style: normal; }
.size-free, .badge { font-size: .76rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.size-free.is-full, .badge-taken { background: var(--grey-soft); color: var(--muted); }

.detail { position: sticky; top: 92px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.detail-top { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 22px; align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.detail-top img { border-radius: var(--r-sm); background: #fff; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.detail-top h3 { font-size: 1.9rem; letter-spacing: -.03em; }
.detail-top h3 small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.detail-hint { color: var(--ink-2); margin-top: 6px; }
.detail-specs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.detail-specs b { color: var(--ink); }
.detail-price { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.detail-price b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.units { width: 100%; border-collapse: collapse; font-size: .93rem; }
.units th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 10px; font-weight: 700; }
.units td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.units th:first-child, .units td:first-child { padding-left: 22px; }
.units th:last-child, .units td:last-child { padding-right: 22px; text-align: right; }
.units .ref { font-weight: 800; color: var(--ink); }
.units .price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.units .price small { font-weight: 500; color: var(--muted); }
.units tr.taken td { color: #8b96a6; }
.units tr.taken .ref, .units tr.taken .price { color: #8b96a6; }
.units-scroll { max-height: 520px; overflow: auto; }
.row-actions { display: inline-flex; gap: 8px; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); }
.icon-btn:hover { border-color: var(--ink); }

/* floor plan */
.plan-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.legend { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.legend-tip { margin-left: 12px; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-left: 8px; }
.dot-free { background: var(--blue); } .dot-taken { background: #c3cbd8; }
.plan-scroll { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; padding: 16px; }
.plan { position: relative; min-width: 940px; }
.plan img { width: 100%; opacity: .9; }
.marker { position: absolute; transform: translate(0, 0); font-size: .72rem; font-weight: 800; line-height: 1; padding: 5px 6px; border-radius: 6px; border: 0; background: #c3cbd8; color: #4c5868; }
.marker.free { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(21,83,224,.45); }
.marker.free:hover { background: var(--ink); transform: scale(1.12); z-index: 2; }
.marker:hover { z-index: 2; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--r); padding: 30px 28px 32px; border: 1px solid var(--line); }
.steps .i { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); margin-bottom: 20px; }
.step-n { position: absolute; right: 24px; top: 14px; font-size: 4.2rem; font-weight: 800; color: var(--bg-alt); line-height: 1; letter-spacing: -.05em; }
.steps h3 { margin-bottom: 8px; position: relative; }
.steps p { color: var(--muted); font-size: .97rem; position: relative; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-rows: minmax(210px, auto); }
.tile { background: var(--bg-alt); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.tile > .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--blue); margin-bottom: auto; }
.tile h3 { margin: 18px 0 6px; }
.tile p { font-size: .95rem; color: var(--muted); }
.tile-dark { background: var(--ink); } .tile-dark h3 { color: #fff; } .tile-dark p { color: #a9b7cb; } .tile-dark > .i { background: rgba(255,255,255,.1); color: var(--yellow); }
.tile-accent { background: var(--yellow); grid-column: span 3; } .tile-accent p { color: #3d3310; } .tile-accent > .i { color: var(--ink); }
.tile-wide { grid-column: span 2; grid-row: span 2; }
.tile-photo { padding: 0; min-height: 240px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-cap { position: relative; margin-top: auto; padding: 60px 26px 24px; background: linear-gradient(180deg, transparent, rgba(11,22,38,.88)); }
.tile-cap h3 { color: #fff; margin: 0 0 6px; } .tile-cap p { color: #d5dceb; max-width: 46ch; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 10px; }
.qa { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); }
.qa[open] { border-color: #b9c4d6; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa-x { position: relative; width: 18px; height: 18px; flex: none; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .2s; }
.qa-x::after { transform: rotate(90deg); }
.qa[open] .qa-x::after { transform: rotate(0); }
.qa-a { padding: 0 22px 20px; color: var(--muted); display: grid; gap: 10px; }
.cta-card { margin-top: 40px; background: var(--ink); color: #c9d3e2; border-radius: var(--r); padding: 30px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; } .cta-card a:not(.btn) { color: #fff; }

/* contact */
.contact { background: var(--ink); color: #c9d3e2; padding: 96px 0; }
.contact h2 { color: #fff; } .contact .eyebrow { color: var(--yellow); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--yellow); }
.contact-list span { display: grid; } .contact-list b { color: #fff; font-size: 1.08rem; } .contact-list a { color: inherit; text-decoration: none; } .contact-list a:hover { text-decoration: underline; }
.map { border-radius: 24px; overflow: hidden; min-height: 420px; background: #14233a; display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map-ph { display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; padding: 30px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px); }
.map-ph .i { width: 44px; height: 44px; color: var(--yellow); } .map-ph b { display: block; color: #fff; } .map-ph p { font-size: .92rem; }

/* footer */
.site-footer { background: #070f1b; color: #94a3b8; font-size: .95rem; padding-top: 64px; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 16px; max-width: 38ch; }
.site-footer h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a, .site-footer .linklike { color: #cbd5e1; text-decoration: none; } .site-footer a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* sub pages */
.page-hero { background: var(--ink); color: #c9d3e2; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px); mask-image: linear-gradient(100deg, transparent 30%, #000); }
.page-hero .wrap { position: relative; } .page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.03em; }
.prose { font-size: 1rem; } .prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { font-size: 1.3rem; margin-top: 2.2em; letter-spacing: -.01em; }
.prose ul { padding-left: 1.2em; } .prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); }

/* dialog */
.unit-dialog { border: 0; padding: 0; border-radius: 24px; width: min(880px, calc(100% - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); color: var(--ink-2); }
.unit-dialog::backdrop { background: rgba(11,22,38,.6); backdrop-filter: blur(4px); }
.ud { display: grid; grid-template-columns: 1fr 1fr; }
.ud-plan { background: var(--bg-alt); padding: 22px; display: grid; align-content: center; gap: 12px; }
.ud-plan img { border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; width: 100%; }
.ud-plan a { font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ud-body { padding: 28px 28px 26px; position: relative; }
.ud-close { position: absolute; right: 14px; top: 14px; }
.ud-body h2 { font-size: 1.7rem; margin: 10px 0 4px; }
.ud-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 18px 0; }
.ud-specs div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ud-specs dt { color: var(--muted); } .ud-specs dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.ud-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ud-form label { display: grid; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.ud-form input, .ud-form select { font: inherit; font-weight: 600; color: var(--ink); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.ud-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 14px; font-size: .95rem; }
.ud-total b { font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; }
.ud-actions { display: grid; gap: 10px; } .ud-actions .btn { width: 100%; }
.ud-small { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* cookie */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(420px, calc(100% - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; font-size: .9rem; display: grid; gap: 14px; }
.cookie[hidden] { display: none; }
.cookie b { color: var(--ink); display: block; } .cookie div { display: flex; gap: 8px; justify-content: flex-end; }

/* responsive */
@media (max-width: 1080px) {
  .tile-accent { grid-column: span 2; }
  .header-phone span { display: none; }
  .finder { grid-template-columns: 1fr; }
  /* accordion: every size is one big tap target, its units open right underneath */
  .sizes { gap: 10px; }
  .sizes li { scroll-margin-top: 84px; }
  .size { grid-template-columns: 60px 1fr auto 14px; gap: 12px; padding: 10px 16px 10px 10px; min-height: 70px; }
  .size::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid #8b96a6; border-bottom: 2.5px solid #8b96a6; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
  .size[aria-pressed="true"]::after { transform: translateY(2px) rotate(-135deg); border-color: var(--blue); }
  .size-area { height: 50px; font-size: 1.2rem; padding-top: 11px; }
  .size-meta span { order: -1; font-size: 1rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .size-meta b { font-size: .86rem; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .size-meta .vol { display: none; }
  .size-full { background: var(--bg-alt); } .size-full .size-area { background: #8b96a6; } .size-full .size-meta b { color: var(--muted); }
  .sizes .detail { margin: 8px 0 8px; box-shadow: none; border-color: var(--blue); }
  .detail[hidden] { display: none; }
  .detail { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; box-shadow: var(--shadow); }
  .nav.open { display: flex; } .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-toggle { display: block; } .header-in { gap: 12px; } .header-cta { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding: 52px 0 64px; }
  .hero-media img { aspect-ratio: 16 / 11; } .chip-a { left: 12px; bottom: 12px; } .chip-b { right: 12px; top: 12px; }
  .section, .contact { padding: 68px 0; }
  .steps, .faq-grid, .contact-in, .footer-in { grid-template-columns: 1fr; } .faq-grid, .contact-in { gap: 36px; }
  .ud { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta .btn { display: none; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 20px 0; } .hero-facts > div:nth-child(3) { padding-left: 0; border: 0; grid-column: span 2; }
  .hero-actions .btn { flex: 1 1 100%; }
  .detail-top { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; } .detail-top h3 { font-size: 1.5rem; } .detail-specs { display: none; }
  .units thead { display: none; } .units-scroll { max-height: none; }
  .units tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
  .units td { padding: 0 !important; border: 0; text-align: left !important; }
  .units td[data-l]::before { content: attr(data-l) " "; color: var(--muted); font-size: .8rem; }
  .units td.ref { font-size: 1.05rem; } .units td.price { grid-column: 2; grid-row: 1; text-align: right !important; }
  .units td.act { grid-column: 2; grid-row: 2 / span 3; align-self: end; }
  .units td.hide-s { display: none; }
  .bento { grid-template-columns: 1fr; } .tile-wide, .tile-accent { grid-column: auto; grid-row: auto; } .tile-wide { min-height: 380px; }
  .ud-specs, .ud-form { grid-template-columns: 1fr; } .ud-body { padding: 22px 20px; }
  .chip { font-size: .78rem; padding: 9px 13px 9px 10px; } .chip .i { width: 32px; height: 32px; padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.contact-photo { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 62%; border-radius: 24px; margin-bottom: 64px; }
@media (max-width: 640px) { .contact-photo { aspect-ratio: 4 / 3; margin-bottom: 40px; } }

.hero-facts dd { white-space: nowrap; }
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding: 52px 0 64px; }
  .hero-media img { aspect-ratio: 16 / 9; } .chip-a { left: 12px; bottom: 12px; } .chip-b { right: 12px; top: 12px; }
}
@media (max-width: 640px) { .hero-media img { aspect-ratio: 16 / 11; } }

.lead-alert { display: block; margin-top: 10px; font-weight: 800; color: #ff4d4d; letter-spacing: .01em; }

/* period picker + SVG floor plan (api/plan.php) */
.period { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 14px 18px; margin-bottom: 24px; }
.period[hidden] { display: none; }
.period-t { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); margin-right: auto; }
.period-t .i { color: var(--blue); }
.period label { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.period input, .period select { font: inherit; font-weight: 700; color: var(--ink); padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.period-s { flex-basis: 100%; font-size: .88rem; color: var(--green); font-weight: 700; }
.period-s:empty { display: none; }
.plan { min-width: 860px; transition: opacity .15s; }
.plan.is-loading { opacity: .5; }
.plan svg { display: block; width: 100%; height: auto; }
.plan-off { padding: 40px 20px; text-align: center; color: var(--muted); min-width: 0; }
.plan:has(.plan-off) { min-width: 0; }
.ud-plan span { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ud-plan img { height: auto; }
.ud-noplan { grid-template-columns: 1fr; }
@media (max-width: 640px) { .period { padding: 12px 14px; } .period label { flex: 1 1 140px; flex-direction: column; align-items: stretch; gap: 4px; } }

[hidden] { display: none !important; }

/* unit popup with clickable floor plan */
.unit-dialog { width: min(1120px, calc(100% - 24px)); }
.ud { grid-template-columns: 1.35fr 1fr; }
.ud-plan { align-content: start; padding: 22px; gap: 12px; min-width: 0; }
.ud-plan-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.ud-plan-h b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ud-map { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow-x: auto; min-height: 120px; }
.ud-map svg { display: block; width: 100%; height: auto; }
.ud-plan .legend { flex-wrap: wrap; } .ud-plan .legend a { margin-left: auto; }
.dot-sel { background: var(--yellow); outline: 2px solid var(--ink); outline-offset: -2px; margin-left: 0; }
.ud-noplan { grid-template-columns: 1fr; }
@media (max-width: 900px) { .ud { grid-template-columns: 1fr; } .ud-map svg { min-width: 720px; } .ud-plan { padding: 16px; } }
.ud-plan .ud-plan-h span { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .85rem; }

.block-h { font-size: 1.35rem; margin: 0 0 16px; }
.planview { margin-bottom: 56px; }
.detail-top img { object-fit: contain; background: #f3f6fb; }
.detail-top { grid-template-columns: 290px 1fr; }
@media (max-width: 640px) { .detail-top { grid-template-columns: 130px 1fr; } }

/* size badges: green = has free units, grey = fully rented, blue = selected */
.size-area { background: var(--green); }
.size-full .size-area { background: #8b96a6; }
.size[aria-pressed="true"] .size-area { background: var(--blue); }
.size-free.is-full { background: #fde7e7; color: #c81e1e; }
.badge-taken { background: #fde7e7; color: #c81e1e; }
.no-free { grid-column: 1 / -1; padding: 22px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); color: var(--muted); }
.dot-taken { background: #fbd5d5; outline: 1px solid #f1a9a9; outline-offset: -1px; }
.dot-free { background: var(--green); }
