/* ==========================================================================
   IRONKEY LOCKSMITH — DESIGN SYSTEM
   Concept: "Blueprint & Brass" — technical schematic precision (the way a
   locksmith actually thinks about a cylinder: cutaways, tolerances, exact
   pin heights) paired with the one warm material in that world: brass.
   Signature motif: the key-cut divider — a thin rule shaped like the
   bitting pattern of a cut key, used as the transition between sections
   instead of a plain hairline.
   ========================================================================== */

:root {
  /* Color */
  --ink: #16212C;          /* gunmetal — headers, primary text, dark surfaces */
  --blueprint: #1F3A52;    /* deep blueprint blue — hero surface */
  --blueprint-light: #2C4E6C;
  --brass: #B3813C;        /* primary accent — literal brass-key color */
  --brass-light: #D9A653;  /* hover / highlight */
  --brass-dim: #8C6529;
  --paper: #F0F2EF;        /* page background — cool drafting paper, not cream */
  --surface: #FFFFFF;
  --alert: #B3452C;        /* emergency CTA */
  --alert-light: #C85B3F;
  --trust-green: #2E6B52;
  --line: #C7CDC8;
  --line-dark: #3A4E5F;
  --ink-muted: #55636D;

  /* Type */
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Scale */
  --step-0: clamp(1rem, 0.95rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.6rem, 1.9rem + 2.8vw, 4rem);

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 44, 0.08), 0 1px 1px rgba(22, 33, 44, 0.05);
  --shadow-md: 0 6px 20px rgba(22, 33, 44, 0.12);
  --content-max: 1180px;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brass); color: var(--ink); padding: 0.6em 1em; font-weight: 600;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brass-light);
  outline-offset: 2px;
}

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.05; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-dim);
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.5em; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--alert { background: var(--alert); color: #fff; }
.btn--alert:hover { background: var(--alert-light); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--lg { padding: 1.05em 2em; font-size: 1.15rem; }
.btn--full { width: 100%; }

/* ---- Topbar ---------------------------------------------------------- */
.topbar { background: var(--ink); color: #DDE3E6; font-family: var(--font-mono); font-size: 0.78rem; }
.topbar__inner {
  max-width: var(--content-max); margin: 0 auto; padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.topbar__msg { opacity: 0.85; }
.topbar__phone { color: var(--brass-light); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .topbar__msg { display: none; } .topbar__inner { justify-content: flex-end; } }

/* ---- Header ---------------------------------------------------------- */
.site-header {
  background: var(--ink); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line-dark);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
  max-width: var(--content-max); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand__mark { color: var(--brass-light); display: inline-flex; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em; }
.brand--footer { color: var(--ink); }
.brand--footer .brand__mark { color: var(--brass); }

.main-nav { display: flex; gap: 24px; margin-left: 12px; flex: 1; }
.main-nav a { color: #C9D2D8; font-weight: 600; font-size: 0.92rem; }
.main-nav a:hover { color: #fff; }

.site-header__cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.phone-cta { display: flex; align-items: center; gap: 10px; color: #fff; }
.phone-cta__icon { color: var(--brass-light); background: rgba(179,129,60,0.18); border-radius: var(--radius-pill); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.phone-cta__text { display: flex; flex-direction: column; line-height: 1.2; }
.phone-cta__label { font-size: 0.7rem; color: var(--brass-light); font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
.phone-cta__number { font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ink);
    flex-direction: column; gap: 0; border-top: 1px solid var(--line-dark);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-header__inner { position: relative; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .phone-cta__label { display: none; }
}
@media (max-width: 480px) {
  .phone-cta__text { display: none; }
}

/* ---- Key-cut divider (signature motif) -------------------------------- */
.key-divider { color: var(--brass); background: var(--paper); line-height: 0; }
.key-divider svg { width: 100%; height: 16px; display: block; }
.key-divider--dark { background: var(--ink); color: var(--brass-dim); }

/* ---- Hero ---------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--blueprint) 0%, var(--ink) 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 64px 0 72px;
}
.hero::before {
  content: ""; position: absolute; right: -8%; top: -12%; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(217,166,83,0.14) 0%, transparent 68%);
  pointer-events: none;
}
.hero__schematic {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 460px; opacity: 0.14; color: var(--brass-light); pointer-events: none;
}
.hero__inner { position: relative; max-width: var(--content-max); margin: 0 auto; padding: 0 24px; display: grid; gap: 20px; max-width: 640px; }
.hero__eyebrow { color: var(--brass-light); }
.hero h1 { font-size: var(--step-4); }
.hero h1 em { font-style: normal; color: var(--brass-light); }
.hero__sub { font-size: var(--step-1); color: #D7DEE2; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.16); }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat b { font-family: var(--font-mono); font-size: 1.4rem; color: var(--brass-light); font-variant-numeric: tabular-nums; }
.hero__stat span { font-size: 0.8rem; color: #B9C3C9; }
@media (max-width: 720px) { .hero__schematic { display: none; } }

/* ---- Trust bar ---------------------------------------------------------- */
.trust-bar { background: var(--ink); color: #fff; padding: 20px 0; }
.trust-bar__inner {
  max-width: var(--content-max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.trust-bar__item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600; border-left: 1px solid var(--line-dark); padding-left: 14px; }
.trust-bar__item:first-child { border-left: none; padding-left: 0; }
.trust-bar__item .icon { color: var(--brass-light); flex-shrink: 0; }
@media (max-width: 900px) { .trust-bar__inner { grid-template-columns: repeat(2, 1fr); } .trust-bar__item { border-left: none; padding-left: 0; } }

/* ---- Section shell ---------------------------------------------------------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head h2 { font-size: var(--step-3); margin-top: 8px; }
.section__head p { color: var(--ink-muted); margin-top: 12px; font-size: 1.05rem; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section__head p { color: #B9C3C9; }
.section--blueprint {
  background-color: var(--blueprint);
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px; color: #fff;
}

/* ---- Service cards ---------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  padding: 26px 22px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card::before, .service-card::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--brass); opacity: 0;
  transition: opacity 0.15s ease;
}
.service-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.service-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.service-card:hover { transform: translateY(-3px); }
.service-card:hover::before, .service-card:hover::after { opacity: 1; }
.service-card .icon { color: var(--brass); width: 30px; height: 30px; }
.service-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }
.service-card p { color: var(--ink-muted); font-size: 0.92rem; flex: 1; }
.service-card__link { font-weight: 700; color: var(--brass-dim); font-size: 0.88rem; margin-top: 4px; }
.service-card__link:hover { text-decoration: underline; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.price-note { font-family: var(--font-mono); font-size: 0.85rem; color: var(--brass-dim); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 8px; }

/* ---- Map ---------------------------------------------------------- */
.map-section { background: var(--surface); }
.map-shell {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  background: var(--ink); border-radius: var(--radius-md); overflow: hidden;
}
.map-canvas { padding: 24px; position: relative; }
.map-canvas svg { width: 100%; height: auto; }
.map-state-outline { fill: none; stroke: var(--line-dark); stroke-width: 2; }
.map-pin { cursor: pointer; }
.map-pin circle { fill: var(--brass); stroke: var(--ink); stroke-width: 2; transition: r 0.15s ease, fill 0.15s ease; }
.map-pin--disabled circle { fill: var(--ink-muted); }
.map-pin:hover circle, .map-pin:focus circle { fill: var(--brass-light); }
.map-pin text { fill: #E7ECEF; font-family: var(--font-body); font-size: 11px; font-weight: 600; pointer-events: none; }
.map-pin--disabled text { fill: #7C8A93; }
.map-legend { display: flex; gap: 18px; padding: 0 24px 20px; font-size: 0.8rem; color: #B9C3C9; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.map-legend .dot--live { background: var(--brass); }
.map-legend .dot--soon { background: var(--ink-muted); }

.map-side { color: #fff; padding: 24px 32px 24px 0; }
.map-side p { color: #C9D2D8; margin-top: 10px; }
.map-side .btn { margin-top: 18px; }
@media (max-width: 860px) { .map-shell { grid-template-columns: 1fr; } .map-side { padding: 0 24px 24px; } }

/* ---- How it works ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: start; position: relative; }
.step { text-align: center; padding: 0 16px; position: relative; }
.step::after {
  content: "";
  position: absolute; top: 28px; left: 100%; width: 32px; height: 2px;
  background-image: linear-gradient(to right, var(--brass) 50%, transparent 0%);
  background-size: 8px 2px; background-repeat: repeat-x;
}
.step:last-child::after { display: none; }
.step__badge {
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--brass-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--ink-muted); font-size: 0.92rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 32px; } .step::after { display: none; } }

/* ---- Testimonials ---------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.testimonial-card__quote-mark { color: var(--brass); font-size: 1.6rem; line-height: 1; }
.testimonial-card p.quote { color: var(--ink); font-size: 0.96rem; flex: 1; }
.stars { color: var(--brass); letter-spacing: 2px; }
.testimonial-card__meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 10px; }
.testimonial-card__meta b { color: var(--ink); }
@media (max-width: 1000px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonials-footer { margin-top: 28px; text-align: center; color: var(--ink-muted); }
.testimonials-footer a { color: var(--brass-dim); font-weight: 700; }

/* ---- Local paragraph / E-E-A-T block ---------------------------------------------------------- */
.local-block { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brass); padding: 32px; }
.local-block p { font-size: 1.02rem; color: var(--ink); }
.local-block p + p { margin-top: 14px; }
.local-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.local-chip { font-family: var(--font-mono); font-size: 0.78rem; background: var(--paper); border: 1px solid var(--line); padding: 5px 12px; border-radius: var(--radius-pill); color: var(--ink-muted); }

/* ---- Also serving / border cities ---------------------------------------------------------- */
.border-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.border-card {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.border-card:hover { border-color: var(--brass); background: #FBF7EF; }
.border-card--disabled { color: var(--ink-muted); cursor: default; }
.border-card--disabled:hover { border-color: var(--line); background: var(--surface); }
.border-card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); }
.border-card__dot--live { background: var(--trust-green); }

.city-link { color: var(--brass-dim); font-weight: 600; }
.city-link:hover { text-decoration: underline; }
.city-link--disabled { color: var(--ink-muted); cursor: default; }

/* ---- FAQ ---------------------------------------------------------- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  width: 100%; text-align: left; background: none; border: none; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq-item__q .plus { color: var(--brass); font-family: var(--font-mono); font-size: 1.2rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item__a { padding: 0 0 18px; color: var(--ink-muted); max-width: 68ch; }
details.faq-item summary { cursor: pointer; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---- CTA banner ---------------------------------------------------------- */
.cta-banner { background: var(--alert); color: #fff; }
.cta-banner__inner {
  max-width: var(--content-max); margin: 0 auto; padding: 40px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-banner__eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #F3D9CF; }
.cta-banner__headline { font-size: var(--step-2); margin-top: 4px; max-width: 30ch; }
.cta-banner .btn--brass { color: var(--ink); font-family: var(--font-mono); font-size: 1.2rem; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { background: var(--paper); padding: 56px 0 0; }
.site-footer__grid {
  max-width: var(--content-max); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
}
.footer-col h3 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: var(--ink); font-size: 0.94rem; }
.footer-col a:hover { color: var(--brass-dim); }
.footer-col__more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--brass-dim); font-size: 0.88rem; }
.footer-tagline { color: var(--ink-muted); margin: 12px 0 16px; max-width: 32ch; }
.footer-phone { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.footer-hours { color: var(--ink-muted); font-size: 0.88rem; margin-top: 4px; }
.trust-badge-list { margin: 16px 0; display: grid; gap: 6px; font-size: 0.85rem; color: var(--ink-muted); }
.trust-badge-list span { color: var(--trust-green); font-weight: 700; }
.footer-license { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-muted); }
@media (max-width: 900px) {
  .footer-col--brand { grid-column: 1 / -1; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
}
.site-footer__bottom {
  margin-top: 40px; border-top: 1px solid var(--line); padding: 20px 24px;
  max-width: var(--content-max); margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.8rem; color: var(--ink-muted);
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---- Floating call button (mobile) ---------------------------------------------------------- */
.floating-call {
  position: fixed; bottom: 18px; right: 18px; z-index: 150;
  background: var(--alert); color: #fff; padding: 14px 18px; border-radius: var(--radius-pill);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(179,69,44,0.4);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.floating-call.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 860px) { .floating-call { display: none; } }
.floating-call span:last-child { display: none; }
@media (max-width: 400px) { .floating-call { padding: 14px; border-radius: 50%; } }

/* ---- Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-muted); padding: 16px 0; }
.breadcrumbs a { color: var(--brass-dim); font-weight: 600; }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* ---- Forms (review, contact) ---------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; }
.field--narrow { max-width: 120px; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field__optional { font-weight: 400; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  font: inherit; padding: 0.7em 0.85em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brass); }
.review-form__row { display: flex; gap: 16px; }
@media (max-width: 480px) { .review-form__row { flex-direction: column; gap: 0; } .field--narrow { max-width: none; } }
.review-form__honeypot { position: absolute; left: -9999px; top: -9999px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; margin-bottom: 14px; color: var(--ink-muted); cursor: pointer; }
.checkbox-field input { margin-top: 3px; }
.star-field { border: none; padding: 0; margin: 0 0 18px; }
.star-field legend { font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; padding: 0; }
.star-input { display: flex; flex-direction: row-reverse; gap: 4px; width: max-content; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.6rem; color: var(--line); cursor: pointer; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--brass); }
.review-form__status { font-weight: 700; min-height: 1.2em; }
.review-form__status.is-success { color: var(--trust-green); }
.review-form__status.is-error { color: var(--alert); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 18px; }
.contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__item .icon { color: var(--brass); flex-shrink: 0; margin-top: 2px; }
.contact-info__item h3 { font-family: var(--font-body); font-size: 1rem; }
.contact-info__item p, .contact-info__item a { color: var(--ink-muted); font-size: 0.94rem; }

/* ---- Modal ---------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(22,33,44,0.6); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal { background: var(--surface); max-width: 520px; width: 100%; padding: 32px; border-radius: var(--radius-md); position: relative; max-height: 90vh; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--ink-muted); }
.modal__title { font-size: var(--step-2); }
.modal__subtitle { color: var(--ink-muted); margin: 8px 0 20px; }

/* ---- Areas hub page ---------------------------------------------------------- */
.area-tier-group { margin-bottom: 36px; }
.area-tier-group h3 { font-family: var(--font-body); font-size: 1rem; color: var(--ink-muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.area-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 20px; }
@media (max-width: 800px) { .area-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .area-list-grid { grid-template-columns: 1fr; } }
.area-list-grid li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }

/* ---- Generic content pages (about/privacy/terms) ---------------------------------------------------------- */
.content-page { max-width: 760px; }
.content-page h2 { font-size: var(--step-2); margin: 40px 0 14px; }
.content-page h2:first-child { margin-top: 0; }
.content-page p { color: var(--ink); margin-bottom: 14px; }
.content-page ul { display: grid; gap: 8px; margin: 14px 0; padding-left: 22px; list-style: disc; }

/* ---- Admin ---------------------------------------------------------- */
.admin-shell { max-width: 1000px; margin: 40px auto; padding: 0 24px; }
.admin-card { background: var(--surface); border: 1px solid var(--line); padding: 24px; border-radius: var(--radius-md); margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.admin-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.admin-bar-row__label { width: 110px; font-family: var(--font-mono); font-size: 0.78rem; flex-shrink: 0; }
.admin-bar-row__bar { background: var(--brass); height: 14px; border-radius: 3px; }
.admin-bar-row__track { flex: 1; background: var(--paper); }
.login-form { max-width: 360px; margin: 80px auto; }
