:root,
html[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F6F7F9;
  --surface-elev: #FFFFFF;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --ink: #0A0D14;
  --body: #334155;
  --muted: #5A6475;
  --accent: #059669;
  --accent-hover: #047857;
  --accent-ink: #FFFFFF;
  --accent-soft: #ECFDF5;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --glass-bg: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(15, 23, 42, 0.10);
  --head-bg: rgba(255, 255, 255, 0.86);
  --shadow-stage: 0 28px 70px rgba(10, 13, 20, 0.08);
  --shadow-pop: 0 14px 36px rgba(10, 13, 20, 0.14);
  --font-head: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html[data-theme="dark"] {
  --bg: #07090F;
  --surface: #0E131F;
  --surface-elev: #111827;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.20);
  --ink: #F8FAFC;
  --body: #CBD5E1;
  --muted: #94A3B8;
  --accent: #10B981;
  --accent-hover: #34D399;
  --accent-ink: #031912;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --danger: #F87171;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --glass-bg: rgba(14, 19, 31, 0.86);
  --glass-border: rgba(255, 255, 255, 0.14);
  --head-bg: rgba(7, 9, 15, 0.86);
  --shadow-stage: 0 32px 80px rgba(0, 0, 0, 0.55);
  --shadow-pop: 0 16px 40px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.03em;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.accent { color: var(--accent); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.process-grid > *,
.quote-grid > *,
.q-segs > *,
.q-inputs > *,
.quote-metrics > * {
  min-width: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface); border-color: var(--ink); }

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--head-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.head-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.14s ease;
}
.main-nav a:hover { color: var(--ink); }

.head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.head-link,
.head-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.14s ease;
}
.head-link:hover,
.head-phone:hover { color: var(--ink); }
.head-phone {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ink);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}
.theme-toggle:hover { background: var(--surface); border-color: var(--border-strong); }

html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="dark"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-drawer {
  padding: 14px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer a {
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}

/* 1. HERO + FULL-BLEED MAP */
.hero {
  padding: 38px 0 36px;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-copy h1 .accent {
  display: block;
  margin-top: 4px;
}

.hero-sub {
  margin: 14px auto 22px;
  max-width: 580px;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Map Stage */
.map-stage {
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-stage);
}

#warsaw-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.map-districts {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: calc(100% - 210px);
}

.dist-pill {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.dist-pill:hover { color: var(--ink); }
.dist-pill[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}

.map-counter {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.86rem;
  color: var(--muted);
}
.map-counter strong {
  font-size: 1.08rem;
  color: var(--ink);
}
.map-counter b { color: var(--accent); font-weight: 700; }

.map-popover {
  position: absolute;
  z-index: 5;
  left: 56%;
  top: 46%;
  transform: translate(-50%, -100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-pop);
  max-width: 330px;
  pointer-events: auto;
  cursor: zoom-in;
  text-align: left;
  transition: left 0.28s cubic-bezier(0.22, 1, 0.36, 1), top 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.16s ease, border-color 0.16s ease;
}
.map-popover:hover { border-color: var(--accent); }
@media (min-width: 681px) {
  .map-popover:hover { transform: translate(-50%, calc(-100% - 2px)); }
}
.map-popover img {
  width: 76px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.pop-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pop-text strong {
  font-size: 0.88rem;
  font-family: var(--font-head);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pop-text span {
  font-size: 0.74rem;
  color: var(--accent);
  white-space: nowrap;
}

.map-drop-btn {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 6;
  border: 1px solid var(--glass-border);
  background: var(--ink);
  color: var(--bg);
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-pop);
  transition: transform 0.14s ease, background-color 0.14s ease;
}
.map-drop-btn:hover { transform: translateX(-50%) translateY(-2px); }
.map-drop-btn:active { transform: translateX(-50%) scale(0.97); }

/* Single hairline strip of 4 plain concrete facts */
.facts-strip {
  list-style: none;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.facts-strip li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.facts-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Sections */
.sec {
  padding: 108px 0;
}

.sec-head-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.sec-head-center h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.06;
}
.sec-head-center p {
  margin: 12px 0 0;
  font-size: 1.06rem;
  color: var(--muted);
}

/* 2. PROCESS & STAGE TAGS */
.process-head {
  margin-bottom: 36px;
}
.process-head h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.06;
}

.stage-tag {
  position: absolute;
  bottom: 18px;
  z-index: 2;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}
.stage-tag-right {
  right: 18px;
  bottom: 18px;
  background: rgba(10, 13, 20, 0.78);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.verify-wrap {
  max-width: 780px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.seg-control {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.seg-btn {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.seg-btn[aria-selected="true"] {
  background: var(--ink);
  color: var(--bg);
}

.verify-strip {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.9rem;
}
.vs-info { color: var(--ink); font-weight: 500; }
.vs-badge {
  font-family: var(--font-head);
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--accent);
}
.verify-strip[data-state="bad"] {
  background: var(--danger-soft);
  border-color: rgba(220, 38, 38, 0.28);
}
.verify-strip[data-state="bad"] .vs-badge { color: var(--danger); }

/* 3. 3-BEAT EDITORIAL PROCESS */
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

.beat-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.beat-row {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  opacity: 0.56;
  transition: opacity 0.18s ease, padding-left 0.18s ease;
}
.beat-row:hover { opacity: 0.85; }
.beat-row[aria-selected="true"] {
  opacity: 1;
  padding-left: 8px;
}

.beat-num {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 4px;
}

.beat-txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.beat-txt strong {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.beat-txt span {
  font-size: 0.96rem;
  color: var(--muted);
}

.panel-link {
  display: inline-flex;
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
}
.panel-link:hover { text-decoration: underline; }

.beat-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-stage);
}

.beat-panel {
  position: relative;
  width: 100%;
  height: 100%;
}
.beat-panel[hidden] { display: none; }
.beat-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beat-panel-dark {
  background: #0F172A;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.mini-console {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mc-top,
.mc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #94A3B8;
}
.mc-ok { color: #34D399; font-weight: 700; }

.mc-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mc-rows li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.96rem;
}
.mc-rows li span:last-child {
  font-size: 0.82rem;
  color: #34D399;
}

/* 4. QUOTE CONFIGURATOR & FORM */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.quote-left h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
}
.quote-lead {
  margin: 14px 0 32px;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 420px;
}

.quote-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.qm-item strong {
  display: block;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.qm-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.quote-direct {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.quote-direct a:hover { color: var(--accent); }
.quote-direct span { color: var(--muted); }

/* Form Card */
.quote-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}

.q-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.q-slider-head label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.q-slider-head strong {
  font-size: 1.38rem;
  color: var(--ink);
}

#q-range {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--border-strong);
  outline: none;
  cursor: pointer;
}
#q-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
#q-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.q-segs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}
.q-lbl {
  display: block;
  margin-bottom: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.seg-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.seg-track button {
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.seg-track button[aria-checked="true"] {
  background: var(--ink);
  color: var(--bg);
}

.q-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.q-inputs .field:first-child { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.field input,
.note-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.14s ease;
}
.field input:focus,
.note-wrap textarea:focus { border-color: var(--accent); }

.note-toggle {
  margin: 14px 0 18px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.note-toggle:hover { color: var(--ink); }
.note-wrap { margin: 0 0 18px; }
.note-wrap[hidden] { display: none; }

.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-status.ok { background: var(--accent-soft); color: var(--accent); }
.form-status.err { background: var(--danger-soft); color: var(--danger); }
.form-status[hidden] { display: none; }

/* 5. FAQ + FOOTER */
.sec-faq { padding: 40px 0 96px; }
.faq-wrap { max-width: 780px; }

.faq-list { border-top: 1px solid var(--border); }
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list summary {
  list-style: none;
  padding: 20px 0;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--muted);
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "-"; color: var(--accent); }
.faq-list details p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 680px;
}

.site-foot {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.foot-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.foot-links a:hover { color: var(--ink); }

/* Lightbox modal for real courier photos */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.photo-modal[hidden] { display: none; }

.pm-card {
  position: relative;
  max-width: 680px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-elev);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-stage);
}
.pm-card img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #07090F;
}
.pm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 9, 15, 0.72);
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pm-close:hover { background: rgba(7, 9, 15, 0.92); }
.pm-caption {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.pm-caption strong {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--ink);
}
.pm-caption span {
  font-size: 0.8rem;
  color: var(--accent);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Tablet & Mobile */
@media (max-width: 960px) {
  .main-nav,
  .head-phone,
  .head-link { display: none; }
  .nav-toggle { display: inline-flex; }

  .facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid,
  .quote-grid { grid-template-columns: 1fr; gap: 36px; }
  .q-segs { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .head-actions .btn-sm { display: none; }
  .hero { padding: 32px 0 24px; }
  .hero-copy { margin-bottom: 24px; }
  .hero-ctas .btn { width: 100%; }

  .map-stage {
    height: 450px;
    border-radius: 22px;
  }

  .map-districts {
    top: 12px;
    left: 12px;
    right: 12px;
    max-width: none;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .map-districts::-webkit-scrollbar { display: none; }

  .map-counter {
    top: 66px;
    right: auto;
    left: 12px;
    padding: 7px 13px;
    font-size: 0.8rem;
  }

  .map-popover {
    left: 12px !important;
    right: 12px;
    top: auto !important;
    bottom: 72px;
    transform: none;
    max-width: none;
  }

  .map-drop-btn {
    bottom: 14px;
    width: calc(100% - 24px);
    text-align: center;
  }

  .facts-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sec { padding: 64px 0; }
  .process-head { margin-bottom: 24px; }
  .stage-tag { font-size: 0.72rem; padding: 7px 11px; }
  .stage-tag-right { bottom: 12px; right: 12px; }

  .verify-wrap { margin-top: 36px; }
  .verify-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .quote-form { padding: 22px 18px; }
  .q-inputs { grid-template-columns: 1fr; }
}
