/* Concrete Realty, Inc. — site styles
   No external resources: fonts, images and scripts are all served from this site. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #16181b;
  --ink-2: #2b2f35;
  --muted: #5b6068;
  --line: #e3e1dc;
  --paper: #ffffff;
  --stone: #f5f3ef;
  --stone-2: #ebe8e2;
  --sun: #f2871e;
  --sun-deep: #b85f06;   /* accessible orange for text on light backgrounds */
  --ok: #1f7a4d;
  --err: #b42318;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(22,24,27,.06), 0 8px 24px rgba(22,24,27,.08);
  --shadow-lg: 0 24px 60px rgba(22,24,27,.18);
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); font-feature-settings: "cv11", "ss01"; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--sun); text-underline-offset: 3px; }
a:hover { color: var(--sun-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1 var(--font); padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sun); color: var(--ink); }
.btn-primary:hover { background: #ff9a33; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); }
.link-arrow::after { content: " →"; color: var(--sun-deep); transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(22,24,27,.06); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .97rem; padding: .55em .85em; border-radius: 999px; color: var(--ink); }
.nav a:hover { background: var(--stone); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--stone-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.phone-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.phone-link svg { width: 18px; height: 18px; color: var(--sun-deep); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav .nav-mobile-call { display: block; margin-top: 8px; text-align: center; }
}
@media (min-width: 981px) { .nav .nav-mobile-call { display: none; } }
@media (max-width: 520px) { .brand img { height: 42px; } .phone-link span { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero picture, .hero .hero-img { position: absolute; inset: 0; z-index: -2; }
.hero .hero-img img, .hero picture img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,15,17,.86) 0%, rgba(14,15,17,.62) 45%, rgba(14,15,17,.15) 100%); }
.hero-inner { padding: clamp(80px, 13vw, 160px) 0 clamp(70px, 9vw, 120px); max-width: 720px; }
.hero .eyebrow { color: var(--sun); }
.hero p.lead { color: rgba(255,255,255,.86); }
.hero h1 span { color: var(--sun); }
.hero-sm .hero-inner { padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 6vw, 80px); }
.hero-sm h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: .6rem; }
.crumbs a { color: #fff; }

/* Quick search */
.quick-search { position: relative; z-index: 2; margin-top: -44px; }
.qs-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; display: grid; grid-template-columns: 1.2fr 1.4fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 860px) { .qs-card { grid-template-columns: 1fr 1fr; } .qs-card .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .qs-card { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-stone { background: var(--stone); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .lead, .section-ink .muted { color: rgba(255,255,255,.75); }
.section-ink .eyebrow { color: var(--sun); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head p { margin: 0; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .25s, transform .25s, border-color .25s; }
a.card { text-decoration: none; display: block; color: var(--ink); }
a.card:hover, .card.hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 1em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--stone); display: grid; place-items: center; margin-bottom: 18px; color: var(--ink); }
.icon svg { width: 26px; height: 26px; }
.section-ink .card { background: #1f2226; border-color: #2c3036; color: #fff; }
.section-ink .card p { color: rgba(255,255,255,.72); }
.section-ink .icon { background: #2b2f35; color: var(--sun); }

/* Photo frame */
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--stone-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 3 / 2; }
.photo-stack { position: relative; }
.photo-stack .photo-badge { position: absolute; left: -18px; bottom: 28px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); max-width: 250px; font-size: .92rem; line-height: 1.4; }
.photo-badge strong { display: block; color: var(--sun); font-size: 1.05rem; margin-bottom: 2px; }
@media (max-width: 640px) { .photo-stack .photo-badge { left: 12px; } }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2316181b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.section-ink .checks li::before { background-color: var(--sun); }

/* Listings */
.listing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.listing:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.listing-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); border: 0; padding: 0; cursor: zoom-in; width: 100%; display: block; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.listing:hover .listing-media img { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--ink); font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.listing-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.listing-area { font-size: .85rem; color: var(--sun-deep); font-weight: 600; margin-bottom: 4px; }
.listing h3 { font-size: 1.15rem; margin-bottom: .55em; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; color: var(--ink-2); font-size: .84rem; }
.specs li { background: var(--stone); border-radius: 6px; padding: 3px 9px; }
.listing-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.listing-actions .btn { padding: .75em 1.1em; font-size: .92rem; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.listing[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 28px; }
.filters .field { flex: 1 1 180px; margin: 0; }
#listing-grid + .empty + p { margin-top: 24px; }
.result-count { font-size: .92rem; color: var(--muted); margin: 0 0 18px; }
.empty { text-align: center; padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery button { border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--stone-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .more-hidden { display: none; }
.gallery.expanded .more-hidden { display: block; }

/* Strip of neighborhoods */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; }
.section-ink .chips li { background: transparent; border-color: #3a3f46; color: #fff; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .9rem; }
.req { color: var(--sun-deep); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d6d3cc; border-radius: var(--radius-sm); padding: .72em .85em; width: 100%; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 128px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242,135,30,.25); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
input[type="file"] { padding: .55em; background: var(--stone); }
fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.radios label, .consent { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .92rem; }
.consent { color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 0; border-radius: 10px; font-weight: 600; }
.form-status:not(:empty) { padding: 12px 14px; }
.form-status.ok { background: #e7f5ee; color: var(--ok); }
.form-status.err { background: #fdecea; color: var(--err); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.cf-turnstile:empty { display: none; }
.tabs { display: inline-flex; background: var(--stone-2); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; font: 600 .95rem var(--font); padding: .65em 1.1em; border-radius: 999px; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
[role="tabpanel"][hidden] { display: none; }
noscript .form-status, .noscript-note { display: block; background: #fff6e8; color: #7a4100; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-out { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.calc-out .big { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--sun); line-height: 1; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.calc-out dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; font-size: .95rem; }
.calc-out dt { color: rgba(255,255,255,.7); }
.calc-out .muted { color: rgba(255,255,255,.65); margin: 16px 0 0; }
.calc-out dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.range-row { display: flex; gap: 12px; align-items: center; }
.range-row input[type="range"] { flex: 1; padding: 0; border: 0; accent-color: var(--sun-deep); box-shadow: none; }
.range-row output { min-width: 3.5em; font-weight: 600; text-align: right; }

/* IDX slot */
.idx-slot { border: 2px dashed #cfcac1; border-radius: var(--radius); padding: clamp(24px, 5vw, 48px); text-align: center; background: #fff; }
.idx-slot h3 { font-size: 1.4rem; }
.idx-slot p { max-width: 60ch; margin-inline: auto; color: var(--muted); }

/* Contact block */
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--sun-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(242,135,30,.55), rgba(242,135,30,0) 70%); }
.cta-band > * { position: relative; }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Stat-free value strip */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.values > div { padding: 26px; border-right: 1px solid var(--line); }
.values > div:last-child { border-right: 0; }
.values strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.values span { color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } .values > div:nth-child(2) { border-right: 0; } .values > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values > div { border-right: 0; border-bottom: 1px solid var(--line); } .values > div:last-child { border-bottom: 0; } }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.steps strong { display: block; }
.steps span { color: var(--muted); }

/* Service detail blocks */
.service { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

/* Dialog / lightbox */
dialog { border: 0; padding: 0; border-radius: 18px; max-width: min(960px, 94vw); width: 100%; max-height: 92vh; box-shadow: var(--shadow-lg); color: var(--ink); }
dialog::backdrop { background: rgba(10,11,13,.72); backdrop-filter: blur(3px); }
.dlg-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); cursor: pointer; font-size: 1.5rem; line-height: 1; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.dlg-media { background: #0d0e10; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.dlg-media img { max-height: 70vh; width: auto; max-width: 100%; object-fit: contain; }
.dlg-body { padding: 24px 28px 28px; }
.dlg-thumbs { display: flex; gap: 8px; padding: 10px 28px 0; overflow-x: auto; }
.dlg-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; width: 84px; flex: none; aspect-ratio: 4 / 3; cursor: pointer; background: none; }
.dlg-thumbs button[aria-current="true"] { border-color: var(--sun); }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { background: transparent; box-shadow: none; max-width: 96vw; overflow: visible; }
.lightbox img { max-height: 86vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; font-size: 1.4rem; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { color: #fff; text-align: center; margin-top: 10px; font-size: .9rem; }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { margin-top: 1.6em; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }

/* Footer */
.site-footer { background: #0f1113; color: rgba(255,255,255,.78); padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; }
.foot-logo img { height: 46px; width: auto; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid #262a2f; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; font-size: .85rem; }
.eho { display: inline-flex; align-items: center; gap: 10px; }
.eho svg { width: 34px; height: 34px; flex: none; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

@media print { .site-header, .site-footer, .btn, form { display: none !important; } }
.center .btn-row, .idx-slot .btn-row { justify-content: center; }
.idx-slot .icon { margin-inline: auto; }
.field .consent, .field .radios label { font-weight: 400; }
