:root {
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 56px;
  --space-7: 72px;
  --space-8: 88px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-muted: #f1f3f6;
  --card: #ffffff;
  --border: #dfe3ea;
  --text: #14171b;
  --text-muted: #5f6773;

  --accent: #e4a100;
  --accent-hover: #cc9000;
  --accent-contrast: #1a1405;

  --focus-ring: #e4a100;
  --focus-ring-offset: #ffffff;

  --shadow-sm: 0 1px 2px rgba(20, 23, 27, 0.06);
  --shadow-md: 0 8px 22px rgba(20, 23, 27, 0.08);
}

[data-theme="dark"] {
  --bg: #111418;
  --surface: #181d23;
  --surface-muted: #202730;
  --card: #181d23;
  --border: #2d3642;
  --text: #edf1f5;
  --text-muted: #a7b0bc;

  --accent: #f0b100;
  --accent-hover: #d89f00;
  --accent-contrast: #201805;

  --focus-ring: #f0b100;
  --focus-ring-offset: #111418;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-menu-btn[hidden] {
  display: none !important;
}

.nav-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
}

.brand {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 2px;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Header account widget ──────────────────────────────── */
.nav-account { position: relative; display: inline-flex; }

/* Logged-out: Sign In button — matches Book Repair button size/shape */
.nav-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: inherit;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
}
.nav-signin-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(228,161,0,.06); }

/* Logged-in: profile chip — matches Book Repair button size/shape */
.nav-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.nav-profile:hover { border-color: var(--accent); }
.np-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.np-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-caret { color: var(--text-muted); transition: transform .2s; }
.nav-account.open .np-caret { transform: rotate(180deg); }

/* Dropdown menu */
.nav-profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.nav-account.open .nav-profile-menu { opacity: 1; visibility: visible; transform: none; }
.npm-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.npm-name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.npm-email { font-size: 12px; color: var(--text-muted); max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-profile-menu a,
.nav-profile-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 9px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.nav-profile-menu a svg,
.nav-profile-menu button svg { color: var(--text-muted); flex-shrink: 0; }
.nav-profile-menu a:hover,
.nav-profile-menu button:hover { background: var(--bg); }
.nav-profile-menu [data-signout] { color: #ef4444; }
.nav-profile-menu [data-signout] svg { color: #ef4444; }

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  font-weight: 600;
}

.mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: none;
  padding: var(--space-2);
  z-index: 120;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -10px;
  right: -10px;
  height: 12px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-grid a {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: var(--surface-muted);
  color: var(--text);
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  display: block;
}

.offer-strip {
  border-bottom: 1px solid var(--border);
  background: #fff7df;
  color: #4e3a04;
}

.offer-strip.hidden {
  display: none;
}

.offer-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 14px;
}

.quick-device-bar {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.quick-device-list {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.page-hero {
  padding: var(--space-7) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero.has-bg-image {
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom-color: transparent;
}

.page-hero.has-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 12, 16, 0.66) 0%,
    rgba(9, 12, 16, 0.50) 45%,
    rgba(9, 12, 16, 0.34) 100%
  );
  z-index: 0;
}

.page-hero.has-bg-image .container {
  position: relative;
  z-index: 1;
}

.page-hero.has-bg-image .page-hero-grid > :first-child h1,
.page-hero.has-bg-image .page-hero-grid > :first-child h2,
.page-hero.has-bg-image .page-hero-grid > :first-child h3,
.page-hero.has-bg-image .page-hero-grid > :first-child p,
.page-hero.has-bg-image .page-hero-grid > :first-child .eyebrow {
  color: #f8fafc;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-hero.has-bg-image .page-hero-grid > :first-child .muted,
.page-hero.has-bg-image .page-hero-grid > :first-child .lead {
  color: rgba(248, 250, 252, 0.9);
}

.page-hero.has-bg-image .kpi {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(226, 232, 240, 0.28);
}

.page-hero.has-bg-image .kpi strong,
.page-hero.has-bg-image .kpi .muted {
  color: #f8fafc;
}

.page-hero.has-bg-image .booking-panel {
  background: rgba(255, 255, 255, 0.95);
}

.page-hero.has-bg-image .booking-panel h3,
.page-hero.has-bg-image .booking-panel h4,
.page-hero.has-bg-image .booking-panel p,
.page-hero.has-bg-image .booking-panel .muted {
  color: #111827;
}

[data-theme="dark"] .page-hero.has-bg-image::before {
  background: linear-gradient(
    90deg,
    rgba(9, 12, 16, 0.48) 0%,
    rgba(9, 12, 16, 0.36) 45%,
    rgba(9, 12, 16, 0.24) 100%
  );
}

[data-theme="dark"] .page-hero.has-bg-image .booking-panel {
  background: rgba(255, 255, 255, 0.94);
}

[data-theme="dark"] .page-hero.has-bg-image .booking-method {
  background: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .page-hero.has-bg-image .booking-method h4,
[data-theme="dark"] .page-hero.has-bg-image .booking-method p {
  color: #f8fafc;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-4);
  align-items: center;
  min-height: 680px;
}

.page-hero-grid > :first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}

.eyebrow,
.section-label {
  margin: 0 0 var(--space-1);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
}

.page-hero h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  max-width: 17ch;
}

.lead {
  margin-top: var(--space-2);
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.hero-actions {
  margin-top: var(--space-3);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-media {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  background: var(--surface-muted);
  box-shadow: var(--shadow-sm);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.booking-panel h3 {
  font-family: "Unbounded", sans-serif;
  font-size: 1.2rem;
}

.booking-panel > p {
  margin: 0;
  color: var(--text-muted);
}

.booking-methods {
  display: grid;
  gap: 10px;
}

.booking-method {
  padding: var(--space-2);
}

.booking-method h4 {
  margin: 0 0 4px;
}

.booking-method p {
  margin: 0;
}

.section {
  padding: var(--space-8) 0;
}

.section.alt {
  background: var(--surface);
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
}

.section-header p {
  margin: var(--space-1) 0 0;
  color: var(--text-muted);
}

.grid-3,
.grid-2,
.grid-1,
.device-grid,
.trust-grid,
.how-grid {
  display: grid;
  gap: var(--space-2);
}

.grid-3,
.device-grid,
.trust-grid,
.how-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-1 {
  grid-template-columns: 1fr;
}

.card,
.device-card,
.trust-card,
.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
}

.card,
.device-card {
  display: grid;
  gap: var(--space-2);
}

button.device-card {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background 180ms ease;
}

button.device-card:hover {
  transform: translateY(-1px);
  border-color: #c7d0dc;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] button.device-card:hover {
  border-color: #3b4758;
  background: #1d2531;
}

.card p,
.muted,
.trust-card p,
.step-card p {
  color: var(--text-muted);
}

.store-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.device-card h3,
.trust-card h3,
.step-card h3 {
  font-size: 1.1rem;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.price-value {
  color: var(--accent);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-muted);
}

.btn {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

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

.btn.secondary:hover {
  background: var(--surface-muted);
}

.theme-toggle-btn {
  width: 60px;
  height: 34px;
  padding: 0 7px;
  position: relative;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.theme-toggle-btn:hover {
  background: var(--surface);
  border-color: #cfd5df;
}

[data-theme="dark"] .theme-toggle-btn {
  background: #202730;
  border-color: #2d3642;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: #252e39;
}

.theme-icon {
  color: var(--text-muted);
  display: inline-grid;
  place-items: center;
  z-index: 2;
  transition: color 180ms ease, opacity 180ms ease;
}

.theme-toggle-btn[data-mode="light"] .theme-icon-sun {
  color: #b78600;
}

.theme-toggle-btn[data-mode="dark"] .theme-icon-moon {
  color: #d6dde8;
}

.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.theme-toggle-btn[data-mode="dark"] .theme-knob {
  transform: translateX(26px);
}

.btn.inline-link {
  border: 0;
  min-height: auto;
  padding: 0;
  background: transparent;
  color: inherit;
}

.btn:active {
  transform: translateY(1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-ring-offset);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.kpi {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  background: var(--surface);
}

.kpi strong {
  display: block;
  font-size: 1.125rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.gallery-item {
  min-height: 180px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 58%);
}

.gallery-caption {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  color: #fff;
  z-index: 1;
  font-size: 0.875rem;
}

.how-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  font-weight: 700;
}

.locations-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3);
}

#locations-map {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-options,
.store-actions,
.nearest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.nearest-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.nearest-modal.open {
  display: flex;
}

.nearest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.58);
  backdrop-filter: blur(4px);
}

.nearest-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 24px));
  max-height: min(860px, calc(100dvh - 40px));
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: 20px;
  box-shadow: 0 24px 62px rgba(8, 12, 18, 0.3);
  padding: 28px;
  overflow: hidden;
  overflow-y: auto;
  animation: nearestModalIn 220ms ease-out;
}

.nearest-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.nearest-eta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
}

.nearest-eta .pill {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-muted);
  padding: 10px 12px;
}

.nearest-modal-card {
  display: grid;
  gap: 14px;
}

.nearest-modal-head {
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 184, 0, 0.08);
}

.nearest-modal-head h3 {
  margin: 8px 0 4px;
}

.nearest-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nearest-meta-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px 12px;
}

.nearest-meta-item .k {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .nearest-modal {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    align-items: flex-end;
  }

  .nearest-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-radius: 18px 18px 12px 12px;
    padding: 16px;
  }
  .nearest-meta-grid,
  .nearest-eta {
    grid-template-columns: 1fr;
  }

  .nearest-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .mobile-cta-bar {
  display: none;
}

@keyframes nearestModalIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-1);
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link:hover {
  border-color: var(--accent);
  background: #fff4d2;
  transform: translateY(-1px);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-3);
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.12);
  pointer-events: none;
}

.contact-card-main {
  display: grid;
  gap: 14px;
}

.contact-card-main h3 {
  margin: 0;
}

.contact-line {
  margin: 0;
  display: grid;
  gap: 3px;
}

.contact-line strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-line a,
.contact-line span {
  font-weight: 600;
}

.contact-actions p {
  margin: 0;
}

.contact-card .btn.secondary:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.contact-card-side {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  padding: var(--space-2);
  display: grid;
  align-content: center;
  gap: 10px;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.contact-card-side:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.contact-card-side h4,
.contact-card-side p {
  margin: 0;
}

.breadcrumb {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
}

.form {
  display: grid;
  gap: var(--space-2);
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea,
select {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.wizard {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-3);
}

.wizard-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-2);
}

.wizard-step {
  min-width: 120px;
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-muted);
}

.wizard-step.active {
  border-color: var(--accent);
  color: var(--text);
  background: #fff4d2;
}

.wizard-panel {
  display: none;
}

.wizard-panel.active {
  display: grid;
  gap: var(--space-2);
}

.time-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.check-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2);
}

.check-card ul {
  margin: 0;
  padding-left: 16px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--text-muted);
}

.cta-band {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.site-footer {
  margin-top: var(--space-7);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  padding: var(--space-5) 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-3);
}

.footer-grid h4 {
  margin-bottom: var(--space-1);
}

.footer-grid a,
.footer-grid p {
  color: var(--text-muted);
  margin: 0 0 6px;
}

.footer-brand-logo {
  max-width: 260px;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--space-2) 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Repairs footer enhancements ── */
.repairs-trust-list {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-direction: column; gap: 5px;
}
.repairs-trust-list li {
  font-size: 12px; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.repairs-trust-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700; font-size: 11px;
}
.repairs-footer-cta {
  display: inline-block; margin-top: 12px;
  padding: 8px 16px; background: var(--accent);
  color: var(--accent-contrast, #111); font-size: 12px; font-weight: 700;
  border-radius: 8px; text-decoration: none; transition: background .15s;
}
.repairs-footer-cta:hover { background: var(--accent-hover); }
.footer-sw-link { margin-top: 10px; font-size: 12px; }
.footer-sw-link a { color: var(--text-muted); text-decoration: none; }
.footer-sw-link a:hover { color: var(--accent); }
.repairs-footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-bottom-badges { display: flex; gap: 16px; }
.footer-bottom-badges span {
  font-size: 12px; color: var(--text-muted);
  padding-left: 14px; position: relative;
}
.footer-bottom-badges span::before {
  content: '·'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 1024px) {
  .page-hero-grid,
  .locations-layout,
  .grid-3,
  .grid-2,
  .device-grid,
  .trust-grid,
  .how-grid,
  .how-stepper,
  .footer-grid,
  .kpi-strip,
  .wizard-steps,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-menu {
    width: 300px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .desktop-only {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 0;
    justify-content: space-between;
  }

  .nav-menu-btn {
    display: inline-flex !important;
    order: 3;
  }

  .nav-cta {
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    margin: 8px 0 0;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown > a {
    width: 100%;
    display: inline-flex;
  }

  .nav-dropdown .mega-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 8px;
  }

  .nav-dropdown:hover .mega-menu,
  .nav-dropdown:focus-within .mega-menu {
    display: block;
  }

  .theme-toggle-btn {
    width: 56px;
    height: 32px;
  }

  .page-hero,
  .section {
    padding: var(--space-6) 0;
  }

  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--space-1);
    border-top: 1px solid var(--border);
    background: var(--surface);
    z-index: 120;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ── section switcher ── */
.section-switcher {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.section-switcher .container {
  display: flex;
  gap: 4px;
  padding-top: 0;
  padding-bottom: 0;
}

.switcher-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted, #888);
  text-decoration: none;
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.switcher-tab:hover {
  color: var(--text);
}

.switcher-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.switcher-tab svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.switcher-tab.active svg,
.switcher-tab:hover svg {
  opacity: 1;
}
