/* ADAS Munkey LLC — production polish Jul 2026 */
:root {
  --bg: #121418;
  --bg-card: #1a1d24;
  --fg: #f4f6f8;
  --muted: #9aa3b2;
  --border: #2a303c;
  --arc-red: #e11d2e;
  --arc-red-hover: #f0283a;
  --section-pad: 3.5rem;
  --section-pad-spacious: 4.4rem;
  --ease-fast: 0.18s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}

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

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(18, 20, 24, 0.92);
  backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-lockup--footer {
  justify-content: center;
  margin: 0 auto 1rem;
}

.brand-logo {
  width: auto;
  height: 58px;
  max-width: min(520px, 78vw);
  object-fit: contain;
  filter: brightness(1.2) contrast(1.08) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.brand-logo--footer {
  height: 52px;
  max-width: min(460px, 80vw);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.site-nav a:not(.btn) {
  transition: color var(--ease-fast), opacity var(--ease-fast);
  opacity: 0.88;
}

.site-nav a:not(.btn):hover {
  color: #fff;
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--ease-fast), border-color var(--ease-fast),
    transform var(--ease-fast), box-shadow var(--ease-fast);
}

.btn-primary {
  background: var(--arc-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--arc-red-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: #4b5563;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(18, 20, 24, 0.93), rgba(18, 20, 24, 0.8)),
    url("https://images.unsplash.com/photo-1652852592938-15bf8c50ab6d?auto=format&fit=crop&w=1600&q=75")
      center / cover;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1.35rem;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: clamp(1.08rem, 2vw, 1.18rem);
  line-height: 1.65;
  color: #b8c0cc;
  max-width: 54ch;
  margin: 0 0 1rem;
}

.hero-authority {
  margin: 0 0 1.5rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  color: #e8ecf1;
  max-width: 48ch;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.service-strip {
  padding: 1.25rem 0 1.4rem;
  border-bottom: 1px solid var(--border);
  background: #0f1115;
}

.service-strip__label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-strip__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.65rem;
}

.service-strip__items li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--fg);
}

.service-strip__items svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--arc-red);
  flex-shrink: 0;
}

section {
  padding: var(--section-pad) 0;
}

#services,
#why-shops,
#shop-flow,
#credibility {
  padding-top: var(--section-pad-spacious);
  padding-bottom: var(--section-pad-spacious);
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.section-lead--tight {
  margin-bottom: 1rem;
}

.section-note {
  margin: -1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 60ch;
}

.section-note--center {
  margin-top: 1.5rem;
  text-align: center;
  max-width: none;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

#why-shops {
  background: #0f1115;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.credibility-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.credibility-band h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.credibility-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.credibility-display[data-credibility-mode="badges"] .credibility-metrics {
  display: none;
}

.credibility-display[data-credibility-mode="metrics"] .credibility-items {
  display: none;
}

.credibility-display[data-credibility-mode="metrics"] .credibility-metrics {
  display: grid;
}

.credibility-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.credibility-items li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
  background: rgba(18, 20, 24, 0.5);
}

.credibility-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  width: 100%;
  max-width: 52rem;
}

.credibility-metric {
  text-align: center;
  padding: 1rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.credibility-metric__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.credibility-metric__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.founder-story {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.founder-story__inner {
  max-width: 52rem;
}

.founder-story__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1.15rem;
}

.founder-story__title::before {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 1.5rem;
  border-radius: 2px;
  background: var(--arc-red);
}

.founder-quote {
  margin: 0 0 1.35rem;
  padding: 0 0 0 1.15rem;
  border: none;
  border-left: 3px solid var(--arc-red);
  font-size: clamp(1.05rem, 2vw, 1.12rem);
  line-height: 1.68;
  color: var(--fg);
  font-style: italic;
}

.founder-story .section-lead:last-of-type {
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  transition: transform var(--ease-fast), border-color var(--ease-fast),
    box-shadow var(--ease-fast);
}

.card:hover {
  transform: translateY(-2px);
  border-color: #3a4250;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.card-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--arc-red);
  flex-shrink: 0;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-icon--muted {
  color: var(--muted);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

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

.split img {
  border-radius: 12px;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.step {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: transform var(--ease-fast), border-color var(--ease-fast);
}

.step:hover {
  transform: translateY(-2px);
  border-color: #3a4250;
}

.step strong {
  display: block;
  color: var(--arc-red);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

#request-service {
  background: #0f1115;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.embed-wrap {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  --embed-card-bg: transparent;
  --embed-card-border: transparent;
  --embed-card-text: var(--fg);
  --embed-muted-text: var(--muted);
  --embed-button-bg: var(--arc-red);
  --embed-button-hover-bg: var(--arc-red-hover);
  --embed-button-text: #ffffff;
  --embed-card-shadow: none;
  --embed-overlay-bg: rgba(0, 0, 0, 0.78);
  --embed-shell-bg: var(--bg);
  --embed-font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

.embed-widget-mount {
  width: 100%;
}

.embed-wrap[data-arc-schedule-mounted="true"] {
  min-height: 0;
}

.site-footer {
  padding: 2.75rem 0 3.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .brand-line {
  color: var(--fg);
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.site-footer p:not(.brand-line):not(.powered) {
  margin: 0 0 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
}

.footer-nav a {
  color: var(--muted);
  transition: color var(--ease-fast), opacity var(--ease-fast);
  opacity: 0.9;
}

.footer-nav a:hover {
  color: var(--fg);
  opacity: 1;
}

.powered {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
}

@media (max-width: 720px) {
  .site-nav a:not(.btn) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .step:hover,
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}
