/* Mobile Clutch Repair — light premium customer UI */

:root {
  --bg: #ffffff;
  --bg-subtle: #f6f8fa;
  --bg-muted: #eef1f4;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #00c853;
  --accent-soft: #e8f8ef;
  --accent-text: #007a3d;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --ok-bg: #ecfdf5;
  --ok-border: #a7f3d0;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --mobile-bar: 68px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  background: #ffffff;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mobile-bar) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

main {
  background: #ffffff;
}

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

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
}

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

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem 1.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.header-phone {
  margin-left: auto;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  font-size: 0.9rem;
}

.header-cta {
  margin-left: 0.25rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-header.is-open .site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  padding: 1rem 1.25rem 1.25rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header.is-open .header-phone {
  display: none;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }

  .header-phone {
    margin-left: 0.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary,
.btn--gold {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover,
.btn--gold:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn--ghost {
  background: var(--bg);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

.btn--block {
  width: 100%;
}

.hero {
  padding: 1.5rem 0 2rem;
  background: #ffffff;
}

@media (min-width: 960px) {
  .hero {
    padding: 2.25rem 0 2.75rem;
    background: linear-gradient(180deg, var(--bg-subtle) 0%, #ffffff 50%);
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
}

@media (max-width: 959px) {
  .hero-visual-stack {
    order: -1;
  }
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.trust-pills span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-title em {
  font-style: normal;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin: 0 0 1.25rem;
  max-width: 42ch;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.trust-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M6.5 11.5 3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.price-chip strong {
  color: var(--text);
  font-size: 1rem;
}

.hero-visual-stack {
  display: grid;
  gap: 1rem;
}

.hero-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-muted);
}

.hero-banner img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-banner__caption {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* Panels & forms */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: var(--shadow-lg);
}

.panel--quote {
  border-color: var(--border);
}

.panel__head {
  margin-bottom: 1rem;
}

.panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel__lead {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.section {
  padding: 2.5rem 0;
}

.section--tight {
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.section-cta-link {
  text-align: center;
  margin: 1.25rem 0 0;
}

.section-cta-link a {
  text-decoration: none;
  font-weight: 600;
}

.callout {
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
}

.callout--info {
  background: var(--bg-subtle);
}

.callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}

.callout p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.prose--center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.vehicle-make-block {
  margin-bottom: 2.25rem;
}

.vehicle-make-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}

.section--alt {
  background: var(--bg-subtle);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.section-lead {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1.0625rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.stat span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.card p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-item figcaption {
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.gallery-item strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.reviews {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin: 0;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-meta strong {
  font-size: 0.9375rem;
}

.stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.review p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.area-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

.area-link {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.area-link:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  color: inherit;
}

.area-link strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9375rem;
}

.area-link span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

.form-row--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 540px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.field__label em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.alert--ok {
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  color: var(--accent-text);
}

.alert--err {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: #b91c1c;
}

.page-hero {
  padding: 2rem 0 1.25rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.page-hero .lead {
  color: var(--text-secondary);
  max-width: 58ch;
  margin: 0;
  font-size: 1.0625rem;
}

.prose {
  max-width: 68ch;
  color: var(--text-secondary);
}

.prose h2 {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.75rem;
}

.prose p {
  margin: 0 0 1rem;
}

.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text);
}

.split {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .split--aside {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: var(--bg);
  margin-bottom: 0.65rem;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links--cols {
  columns: 2;
  column-gap: 1rem;
}

.footer-lead {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.footer-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1rem;
}

.brand--footer .brand-name {
  font-weight: 700;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.5rem;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.mobile-bar__call {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: var(--bg);
}

@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }

  .mobile-bar {
    display: none;
  }
}

/* Mobile UX */
@media (max-width: 959px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .panel {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
    min-height: 48px;
  }

  .btn {
    min-height: 48px;
    width: 100%;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: calc(50% - 0.35rem);
  }

  .hero-actions {
    width: 100%;
  }

  .price-chip {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .header-phone {
    font-size: 0.8125rem;
  }

  .site-header.is-open .site-nav a {
    padding: 0.65rem 0;
    font-size: 1rem;
  }

  .page-hero {
    padding: 1.5rem 0 1rem;
  }

  .section {
    padding: 2rem 0;
  }

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

  .aside-card {
    position: static;
  }
}

@media (max-width: 959px) {
  .hero-actions .btn--ghost {
    width: 100%;
    min-width: 100%;
  }
}
