/* ==========================================================
   Smart Fix Tech Repair
   ========================================================== */

:root {
  /* Dark surfaces */
  --night: #0A0E1A;
  --night-2: #121828;
  --night-3: #05070F;
  --on-night: #F3F4F7;
  --on-night-2: #A3AABB;
  --on-night-3: #747C90;
  --line-night: rgba(255, 255, 255, 0.10);

  /* Light surfaces */
  --paper: #F4F3EF;
  --white: #FFFFFF;
  --ink: #0A0E1A;
  --ink-2: #4B5265;
  --ink-3: #7A8194;
  --line: #E2E0DA;
  --line-strong: #D2D0C8;

  /* Brand */
  --accent: #2F5BFF;
  --accent-hover: #2148E0;
  --danger: #C2312B;
  --success: #1E7A4C;

  --font-display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 18px;
  --container: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #E6E8EE; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.24); color: var(--on-night); }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, 0.7); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }

/* ---------- Utility bar ---------- */

.utility {
  background: var(--night-3);
  color: var(--on-night-3);
  font-size: 13px;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.utility a { text-decoration: none; transition: color .15s ease; }
.utility a:hover { color: var(--on-night); }
.utility-right a { color: var(--on-night); font-weight: 500; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-night); }

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

/* Logo, recreated from the Smart Fix flyer */
.logo-mark { width: 40px; height: 45px; flex: none; }
.logo-text {
  display: flex;
  flex-direction: column;
  font-family: "Montserrat", var(--font-body);
  color: #fff;
}
.logo-word {
  font-weight: 800;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-fix {
  background: linear-gradient(90deg, #4C8DFF 0%, #6F7BFF 45%, #A06BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-sub::before,
.logo-sub::after {
  content: "";
  flex: 1;
  min-width: 8px;
  height: 1.5px;
  border-radius: 2px;
}
.logo-sub::before { background: linear-gradient(90deg, #1E9BFF, #3B6BFF); margin-right: 0.24em; }
.logo-sub::after { background: linear-gradient(90deg, #3B6BFF, #7A2FF2); }

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-night-2);
  text-decoration: none;
  transition: color .15s ease;
}
.nav a:hover { color: var(--on-night); }
.nav .nav-book { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--on-night);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  background: var(--night);
  color: var(--on-night);
  padding: 64px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 56px;
  align-items: center;
}

.kicker {
  font-size: 15px;
  color: var(--on-night-2);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.hero h1 .muted { color: #6F7890; }

.lede {
  margin-top: 28px;
  max-width: 31em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-night-2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--night-2);
}
.hero-photo img,
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Quick booking bar */
.quick {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: stretch;
  margin-top: 56px;
  padding: 8px;
  background: var(--white);
  border-radius: 14px;
  color: var(--ink);
}
.quick-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 20px;
  position: relative;
}
.quick-field + .quick-field::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 1px;
  background: var(--line);
}
.quick-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.quick-field select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0E1A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 18px;
  padding: 2px 28px 2px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}
.quick-field:focus-within { background: #F6F6F3; border-radius: 10px; }
.quick-btn { min-height: 60px; padding: 0 28px; }

/* Promise strip */
.promises {
  list-style: none;
  margin: 0;
  padding: 44px 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.promises li {
  padding: 0 28px;
  border-left: 1px solid var(--line-night);
}
.promises li:first-child { padding-left: 0; border-left: 0; }
.promises strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--on-night);
}
.promises span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--on-night-3);
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section.light { background: var(--paper); }
.section.dark { background: var(--night); color: var(--on-night); }

.head-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.head-row h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -0.032em;
  line-height: 1.02;
}
.head-row p {
  justify-self: end;
  max-width: 28em;
  font-size: 17px;
  color: var(--ink-2);
}
.dark .head-row p { color: var(--on-night-2); }

/* ---------- Repairs ---------- */

.repairs {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: stretch;
}
.repairs-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 480px;
  background: var(--line);
}
.repairs-photo img { width: 100%; height: 100%; object-fit: cover; }
.repairs-panel { min-width: 0; }

.tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line-strong);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  padding: 0 0 16px;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color .15s ease, box-shadow .15s ease;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--ink);
}

.tab-panel:focus-visible { outline-offset: 6px; }

.repair-list { list-style: none; margin: 0; padding: 0; }
.repair-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.repair-list h3 { font-size: 20px; letter-spacing: -0.02em; }
.repair-list p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 34em; }
.repair-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.repair-list a .ico { width: 16px; height: 16px; transition: transform .15s ease; }
.repair-list a:hover { color: var(--accent); }
.repair-list a:hover .ico { transform: translateX(3px); }

/* ---------- Process ---------- */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process figure {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--night-2);
  margin-bottom: 24px;
}
.process img { width: 100%; height: 100%; object-fit: cover; }
.step-no {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--on-night-3);
  font-variant-numeric: tabular-nums;
}
.process h3 { margin-top: 8px; font-size: 21px; letter-spacing: -0.02em; }
.process p { margin-top: 10px; font-size: 15px; color: var(--on-night-2); }

/* ---------- Booking ---------- */

.book-card {
  display: grid;
  grid-template-columns: 0.78fr 1.42fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.book-intro {
  padding: 56px 48px 48px;
  background: var(--night);
  color: var(--on-night);
}
.book-intro h2 {
  font-size: clamp(36px, 3.8vw, 50px);
  letter-spacing: -0.032em;
}
.book-intro > p {
  margin-top: 16px;
  color: var(--on-night-2);
}

.next-steps {
  list-style: none;
  margin: 40px 0 48px;
  padding: 0;
}
.next-steps li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 15px;
  color: var(--on-night-2);
}
.next-steps li + li { margin-top: 18px; }
.next-steps span {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-night);
  transform: translateY(-1px);
}

.book-intro-inner {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}
.book-contact {
  padding-top: 28px;
  border-top: 1px solid var(--line-night);
}
.book-contact p { font-size: 14px; color: var(--on-night-3); }
.book-phone {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.book-contact-links { display: flex; gap: 20px; margin-top: 14px; }
.book-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-night-2);
  text-decoration: none;
}
.book-contact-links a:hover { color: var(--on-night); }
.book-contact-links .ico { width: 16px; height: 16px; }

.book-form-wrap { padding: 32px 48px 44px; }

.booking-form fieldset {
  border: 0;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.booking-form legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.booking-form legend + * { clear: both; }

.row { display: grid; gap: 16px; }
.row.two { grid-template-columns: 1fr 1fr; }
.row + .row { margin-top: 16px; }

.field { display: flex; flex-direction: column; min-width: 0; }
.chips ~ .field { margin-top: 20px; }

.field label,
.field .label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.optional { font-weight: 400; color: var(--ink-3); margin-left: 6px; font-size: 13px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5265' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #A2A7B4; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.14);
}
.field.invalid input,
.field.invalid select { border-color: var(--danger); }

.error { font-size: 13px; color: var(--danger); margin-top: 6px; }
.error:empty { display: none; }

.hint { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.hint:empty { display: none; }
.field select:disabled { background-color: var(--paper); color: var(--ink-3); cursor: not-allowed; }
.field select:disabled:hover { border-color: var(--line-strong); }

/* Repair chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  background: var(--white);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  user-select: none;
}
.chip:hover span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before {
  content: "";
  width: 12px; height: 12px;
  margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips.invalid .chip span { border-color: var(--danger); }

/* Segmented control */
.segmented {
  display: flex;
  padding: 4px;
  gap: 4px;
  min-height: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.segmented label { position: relative; flex: 1; margin: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease;
}
.segmented input:checked + span {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(10, 14, 26, 0.14);
}
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding-top: 32px;
}
.fineprint { font-size: 13px; color: var(--ink-3); }

#submit-btn { position: relative; }
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
#submit-btn.loading .spinner { display: inline-block; }
#submit-btn.loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #FFF6E5;
  border: 1px solid #F1D9A8;
  color: #6B4A0E;
  font-size: 14px;
}
.form-notice a { font-weight: 600; }

.form-status:empty { display: none; }
.form-status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 15px;
}
.form-status:focus { outline: none; }
.form-status.error-state { background: #FDECEB; border: 1px solid #F3C4C1; color: #7A1E19; }
.form-status a { font-weight: 600; }

/* Success panel replaces the form */
.booking-success { padding: 24px 0 8px; }
.booking-success:focus { outline: none; }
.success-mark {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #E3F4EA;
  color: var(--success);
  margin-bottom: 20px;
}
.success-mark .ico { width: 24px; height: 24px; stroke-width: 2.2; }
.booking-success h3 { font-size: 28px; letter-spacing: -0.03em; }
.booking-success p { margin-top: 10px; color: var(--ink-2); }
.summary { margin: 24px 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.summary li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.summary span { color: var(--ink-3); }

/* ---------- Visit ---------- */

.visit { background: var(--white); }
.visit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.visit-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 568 / 463;
  background: var(--line);
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }

.visit-info h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -0.032em;
}
.visit-list { margin: 40px 0 0; }
.visit-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 4px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.visit-list > div:last-child { border-bottom: 1px solid var(--line); }
.visit-list > div { grid-template-columns: 44px 1fr; align-items: center; }
.visit-list dt { grid-row: 1 / span 2; align-self: start; }
.visit-list dd { margin: 0; grid-column: 2; font-size: 17px; font-weight: 500; }
.visit-list dd:first-of-type { min-height: 44px; display: flex; flex-direction: column; justify-content: center; }
.vi {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--night);
  color: #fff;
}
.vi svg { width: 20px; height: 20px; fill: currentColor; }
.vi-insta { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.visit-list dd a { text-decoration: none; }
.visit-list dd a:hover { color: var(--accent); }
/* Store hours */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
}
.open-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #B4B9C6;
}
.open-status.is-open { color: var(--success); }
.open-status.is-open::before { background: #2FB36B; box-shadow: 0 0 0 3px rgba(47, 179, 107, 0.18); }
.hours { margin-top: 8px; border-collapse: collapse; font-size: 15px; font-weight: 400; }
.hours th,
.hours td { padding: 3px 0; text-align: left; vertical-align: top; }
.hours th { padding-right: 24px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.hours td { color: var(--ink-2); }
.hours tr.today th,
.hours tr.today td { color: var(--ink); font-weight: 600; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.arrow-link .ico { width: 16px; height: 16px; }

.map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 340px;
  background: var(--paper);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.4) contrast(1.02); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night-3);
  color: var(--on-night-3);
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { margin-top: 20px; line-height: 1.7; max-width: 26em; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--on-night);
  margin-bottom: 14px;
}
.footer-col p { line-height: 2; }
.site-footer a { text-decoration: none; transition: color .15s ease; }
.footer-col a:hover,
.footer-bottom a:hover { color: var(--on-night); }
.footer-bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-night);
  font-size: 13px;
}

/* ---------- Mobile bar ---------- */

.mobile-bar { display: none; }

/* ---------- Interaction ---------- */

.btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s ease, box-shadow .2s ease; }
.btn:active { transform: scale(0.97); }
.btn-primary:hover { box-shadow: 0 8px 22px -10px rgba(47, 91, 255, 0.7); }

/* Current section in the nav */
.nav a { position: relative; }
.nav a.active { color: var(--on-night); }
@media (min-width: 861px) {
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .25s ease;
  }
  .nav a:hover::after,
  .nav a.active::after { transform: scaleX(1); }
}

/* Video play/pause */
.hero-photo { position: relative; }
.video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 14, 26, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity .2s ease, background-color .2s ease, transform .12s ease;
}
.video-toggle:hover { opacity: 1; background: rgba(10, 14, 26, 0.8); }
.video-toggle:active { transform: scale(0.94); }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle.paused .i-play { display: block; }
.video-toggle.paused .i-pause { display: none; }

/* Photo hover zoom */
.repairs-photo img,
.process figure img,
.visit-photo img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.repairs-photo:hover img,
.process li:hover figure img,
.visit-photo:hover img { transform: scale(1.04); }

/* Process cards */
.process li h3 { transition: color .2s ease; }
.process li:hover h3 { color: #9DB5FF; }

/* Repair rows: whole row is tappable */
.repair-list li {
  position: relative;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.repair-list li { border-bottom: 0; }
.repair-list li::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 0;
  height: 1px;
  background: var(--line);
}
.repair-list li:hover { background: var(--white); }
.repair-list li:hover::after { opacity: 0; }
.repair-list li:hover a { color: var(--accent); }
.repair-list li:hover a .ico { transform: translateX(3px); }
.repair-list li:active { background: #ECEBE6; }

/* Tab panels */
.tab-panel:not([hidden]) { animation: panelIn .35s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Chips & quick bar feedback */
.chip:active span,
.segmented label:active span { transform: scale(0.97); }
.chip span, .segmented span { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease; }
.quick-field { transition: background-color .15s ease; border-radius: 10px; }
.quick-field:hover { background: #F6F6F3; }

/* Visit list */
.visit-list .vi { transition: transform .2s ease; }
.visit-list > div:hover .vi { transform: translateY(-2px); }

/* Touch devices: no sticky hover zoom */
@media (hover: none) {
  .repairs-photo:hover img,
  .process li:hover figure img,
  .visit-photo:hover img { transform: none; }
  .process li:hover h3 { color: inherit; }
  .repair-list li:hover { background: transparent; }
  .repair-list li:hover a { color: var(--ink); }
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1080px) {
  .hero-grid { gap: 48px; }
  .promises { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .promises li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .book-card { grid-template-columns: 1fr; }
  .book-intro { padding: 48px 40px; }
  .book-intro-inner { position: static; }
  .next-steps { margin-bottom: 36px; }
  .repairs { gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .utility-inner > a { display: none; }
  .utility-inner { justify-content: center; }

  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 24px;
    background: var(--night);
    border-bottom: 1px solid var(--line-night);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a {
    padding: 16px 0;
    font-size: 18px;
    color: var(--on-night);
    border-bottom: 1px solid var(--line-night);
  }
  .nav .nav-book { display: block; color: #8FA8FF; border-bottom: 0; }

  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 16 / 10; }

  .quick { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .quick-btn { grid-column: 1 / -1; margin-top: 8px; }

  .section { padding: 72px 0; }
  .head-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .head-row p { justify-self: start; }

  .repairs { grid-template-columns: 1fr; gap: 32px; }
  .repairs-photo { min-height: 0; aspect-ratio: 16 / 10; }

  .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .map { margin-top: 32px; height: 280px; }

  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 7, 15, 0.94);
    border-top: 1px solid var(--line-night);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .mobile-bar .btn { min-height: 48px; }
  body { padding-bottom: 70px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .hero h1 { font-size: 44px; }
  .lede { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }

  .quick { grid-template-columns: 1fr; padding: 6px; }
  .quick-field { padding: 12px 14px; }
  .quick-field + .quick-field::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }

  .promises { grid-template-columns: 1fr; padding: 40px 0 48px; row-gap: 0; }
  .promises li,
  .promises li:nth-child(3) { padding: 16px 0; border-left: 0; border-top: 1px solid var(--line-night); }
  .promises li:first-child { border-top: 0; padding-top: 0; }

  .section { padding: 56px 0; }

  .repair-list li { grid-template-columns: 1fr; gap: 4px; padding: 18px 12px; margin: 0 -12px; }
  .repair-list li::after { left: 12px; right: 12px; }
  .repair-list a { justify-self: start; padding: 0; min-height: 36px; }

  .process { grid-template-columns: 1fr; row-gap: 48px; }
  .process figure { aspect-ratio: 4 / 3; }

  .book-card { border-radius: 16px; }
  .book-intro { padding: 36px 22px; }
  .book-form-wrap { padding: 12px 20px 28px; }
  .row.two { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
  .summary li { grid-template-columns: 1fr; gap: 2px; }



  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }

}
