:root {
  --ink: #111214;
  --ink-soft: #272a2e;
  --paper: #f7f3e8;
  --white: #ffffff;
  --line: rgba(17, 18, 20, 0.14);
  --muted: #6b7076;
  --red: #d9282f;
  --gold: #f0b83a;
  --teal: #00847e;
  --green: #1f8f5f;
  --blue: #3c6fba;
  --shadow: 0 24px 80px rgba(17, 18, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 28px));
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 9px 10px;
  color: var(--white);
  background: rgba(17, 18, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-badge {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  color: var(--teal);
  background: var(--white);
  border-radius: 8px;
}

.brand-badge svg {
  width: 42px;
  height: 42px;
}

.badge-car {
  fill: #1398d3;
}

.badge-cut,
.badge-tool {
  fill: none;
  stroke: var(--white);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-wheel {
  fill: var(--ink);
  stroke: var(--white);
  stroke-width: 2;
}

.brand > span:not(.brand-badge) {
  display: grid;
  line-height: 1.08;
}

.brand strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.header-action,
.button,
.map-link,
.service-strip a,
.mode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.header-action {
  padding: 0 15px;
  color: var(--ink);
  background: var(--white);
}

.header-action svg,
.button svg,
.map-link svg,
.service-strip svg,
.mode-button svg,
.service-card svg,
.price-card svg,
.mobile-call-bar svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-photo,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04);
}

.hero-shade {
  background:
    radial-gradient(circle at 78% 42%, rgba(240, 184, 58, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(17, 18, 20, 0.92) 0%, rgba(17, 18, 20, 0.68) 38%, rgba(17, 18, 20, 0.2) 72%, rgba(17, 18, 20, 0.56) 100%),
    linear-gradient(180deg, rgba(17, 18, 20, 0.5) 0%, rgba(17, 18, 20, 0.14) 46%, rgba(17, 18, 20, 0.82) 100%);
}

.hero-grid {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black 0%, black 32%, transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(690px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  padding: clamp(124px, 17vh, 180px) 0 80px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(3rem, 9vw, 7.7rem);
  line-height: 0.94;
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 920;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  min-width: 150px;
  padding: 0 19px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.mode-button:hover,
.service-strip a:hover,
.map-link:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 38px rgba(217, 40, 47, 0.35);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
}

.call-strip {
  color: var(--white);
  background: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.hero-scene {
  position: absolute;
  z-index: 2;
  right: max(-70px, calc((100vw - 1360px) / 2));
  bottom: -6vh;
  width: min(62vw, 900px);
  aspect-ratio: 4 / 3;
  pointer-events: none;
}

.hero-scene canvas {
  width: 100%;
  height: 100%;
}

.canvas-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.service-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1180px, calc(100% - 28px));
  margin: -34px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-strip a {
  min-height: 86px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.service-strip a:last-child {
  border-right: 0;
}

.warranty-slider {
  padding: clamp(62px, 7vw, 92px) 0;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 132, 126, 0.08), transparent 30%, rgba(217, 40, 47, 0.08)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.warranty-intro {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: end;
}

.warranty-intro h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
}

.warranty-intro p:last-child {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 650;
}

.warranty-intro a {
  color: var(--red);
  font-weight: 900;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(14vw, 170px);
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 6px 14px 12px;
  animation: logo-slide 30s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-tile {
  flex: 0 0 245px;
  min-height: 118px;
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 22px;
  background: #f7f3e8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(17, 18, 20, 0.08);
}

.logo-tile img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
}

.logo-dark {
  background: var(--ink);
}

.logo-dark .logo-fallback {
  color: rgba(255, 255, 255, 0.8);
}

.logo-light {
  background: #ffffff;
}

.logo-fallback {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.text-logo {
  align-content: center;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.text-logo strong {
  font-size: 1.02rem;
  line-height: 1.1;
  font-weight: 950;
}

.text-logo span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.compact-logo strong {
  color: var(--teal);
  font-size: 2.15rem;
}

.warranty-name-card {
  min-height: 132px;
  background:
    linear-gradient(135deg, rgba(0, 132, 126, 0.1), transparent 42%),
    #ffffff;
}

.warranty-name-card strong {
  max-width: 12ch;
  color: var(--ink);
  font-size: 1.34rem;
  line-height: 1.05;
}

.warranty-name-card.compact-logo strong {
  color: var(--teal);
  font-size: 2.5rem;
}

@keyframes logo-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.section {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(78px, 10vw, 132px) 0;
}

.price-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(66px, 8vw, 108px) 0 0;
}

.price-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.6vw, 4rem);
}

.price-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.price-intro a {
  color: var(--red);
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  min-height: 218px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 18, 20, 0.08);
}

.price-card svg {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.price-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card strong {
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.92;
  font-weight: 950;
}

.price-card h3 {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 110px;
}

.section-intro p,
.visualizer-copy p,
.safety-copy p,
.contact-info p,
.quote-form p,
.make-columns p,
.process-list p,
.answer-grid p,
.service-card p {
  color: var(--muted);
}

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

.service-card,
.make-columns article,
.process-list div,
.answer-grid article,
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  min-height: 218px;
  padding: 24px;
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  color: var(--red);
}

.visualizer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 96px) max(14px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(17, 18, 20, 0.92), rgba(17, 18, 20, 0.8)),
    url("assets/garage-hero.png") center / cover;
}

.visualizer-copy h2 {
  max-width: 730px;
}

.visualizer-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

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

.mode-button {
  min-height: 94px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mode-button.active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.makes {
  padding-bottom: clamp(76px, 8vw, 112px);
}

.section-intro.narrow {
  position: static;
  max-width: 860px;
}

.make-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.make-columns article {
  min-height: 214px;
  padding: 26px;
  border-top: 5px solid var(--teal);
}

.make-columns article:nth-child(2) {
  border-top-color: var(--red);
}

.make-columns article:nth-child(3) {
  border-top-color: var(--gold);
}

.safety {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px 16px;
  padding: 22px;
}

.process-list span {
  grid-row: span 2;
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 950;
}

.process-list strong {
  font-size: 1.1rem;
}

.process-list p {
  margin-bottom: 0;
}

.quick-answers {
  border-top: 1px solid var(--line);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.answer-grid article {
  min-height: 178px;
  padding: 24px;
  border-left: 5px solid var(--red);
}

.answer-grid article:nth-child(2n) {
  border-left-color: var(--teal);
}

.answer-grid article:nth-child(3n) {
  border-left-color: var(--gold);
}

.answer-grid h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.answer-grid p {
  margin-bottom: 0;
}

.answer-grid a {
  color: var(--red);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  padding: clamp(72px, 9vw, 126px) max(14px, calc((100vw - 1180px) / 2));
  background: #eef3f1;
}

.contact-info {
  align-self: start;
}

.address {
  font-size: 1.25rem;
  font-weight: 850;
}

.map-link {
  width: fit-content;
  min-height: 46px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.map-link.call-link {
  background: var(--red);
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.social-buttons[hidden] {
  display: none;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.social-button span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.mini-map {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(0, 132, 126, 0.14), transparent 45%),
    linear-gradient(45deg, rgba(240, 184, 58, 0.18), transparent 52%),
    #ffffff;
}

.mini-map .road {
  position: absolute;
  display: block;
  background: #d4d9d9;
}

.mini-map .horizontal {
  top: 47%;
  left: -8%;
  width: 116%;
  height: 34px;
  transform: rotate(-8deg);
}

.mini-map .vertical {
  top: -14%;
  left: 52%;
  width: 32px;
  height: 130%;
  transform: rotate(18deg);
}

.mini-map .pin {
  position: absolute;
  left: 51%;
  top: 43%;
  width: 24px;
  height: 24px;
  background: var(--red);
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 10px 22px rgba(217, 40, 47, 0.35);
}

.mini-map strong {
  position: absolute;
  left: 26px;
  bottom: 24px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.quote-form {
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 58px rgba(17, 18, 20, 0.12);
}

.quote-form h2 {
  font-size: clamp(1.75rem, 3.2vw, 3.3rem);
}

.form-callout {
  margin-top: -6px;
  margin-bottom: 20px;
  color: var(--muted);
}

.form-callout a {
  color: var(--red);
  font-weight: 900;
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfbf8;
  border: 1px solid rgba(17, 18, 20, 0.18);
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 132, 126, 0.14);
}

.consent-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.consent-label input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
}

.consent-label a,
.legal-section a {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-button {
  border: 0;
}

.quote-output {
  display: block;
  min-height: 56px;
  margin-top: 16px;
  padding: 14px;
  white-space: pre-wrap;
  color: var(--ink-soft);
  background: #f3f5f0;
  border: 1px dashed rgba(17, 18, 20, 0.22);
  border-radius: 8px;
}

.quote-output:empty {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(14px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer strong {
  color: var(--white);
}

.legal-main {
  padding: 140px max(14px, calc((100vw - 1180px) / 2)) 84px;
}

.legal-hero {
  max-width: 880px;
  margin-bottom: 28px;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.3rem, 6vw, 5rem);
}

.legal-hero p:last-child {
  color: var(--muted);
  font-weight: 850;
}

.legal-content {
  display: grid;
  gap: 14px;
  max-width: 940px;
}

.legal-section {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 18, 20, 0.07);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.footer-social {
  justify-content: flex-end;
}

.footer-social .social-button {
  min-height: 36px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.mobile-call-bar {
  position: fixed;
  z-index: 30;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 16px;
  color: var(--white);
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(17, 18, 20, 0.34);
}

.admin-login,
.admin-panel {
  min-height: 100svh;
  padding: 28px max(14px, calc((100vw - 1180px) / 2)) 56px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(0, 132, 126, 0.09), transparent 32%),
    linear-gradient(35deg, rgba(217, 40, 47, 0.08), transparent 34%),
    #f4f6f1;
}

.admin-login {
  display: grid;
  place-items: center;
}

.admin-login[hidden],
.admin-panel[hidden] {
  display: none;
}

body.admin-open .site-header,
body.admin-open main,
body.admin-open .site-footer,
body.admin-open .mobile-call-bar {
  display: none;
}

.admin-login-card {
  width: min(100%, 480px);
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(17, 18, 20, 0.12);
}

.admin-login-card h1 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 4.2rem);
}

.admin-login-card p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 650;
}

.admin-login-card .button {
  width: 100%;
  border: 0;
}

.admin-error {
  color: var(--red);
}

.admin-return {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-weight: 850;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-header h1 {
  max-width: none;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 6vw, 5rem);
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: 14px;
  align-items: start;
}

.admin-card {
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 18, 20, 0.08);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.lead-summary {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.admin-status {
  display: block;
  min-height: 24px;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 850;
}

.leads-card {
  grid-column: 1 / -1;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.danger-button {
  color: var(--red);
  background: #fff4f3;
}

.lead-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.lead-table th,
.lead-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.lead-table th {
  color: var(--ink);
  background: #f7f3e8;
  font-weight: 900;
}

.lead-table td {
  color: var(--ink-soft);
}

.empty-leads {
  margin: 0;
  padding: 22px;
  color: var(--muted);
  font-weight: 800;
}

.empty-leads[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-copy {
    padding-top: 118px;
    padding-bottom: 220px;
  }

  .hero-scene {
    right: 50%;
    bottom: -42px;
    width: min(98vw, 660px);
    transform: translateX(50%);
    opacity: 0.98;
  }

  .split,
  .visualizer-band,
  .safety,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .warranty-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

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

  .admin-fields,
  .social-fields {
    grid-template-columns: 1fr;
  }

  .section-intro {
    position: static;
  }

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

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

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

@media (max-width: 680px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .brand-badge {
    width: 48px;
    height: 48px;
  }

  .header-action {
    display: none;
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding-top: 106px;
    padding-bottom: 210px;
  }

  .hero-lede {
    font-size: 1rem;
    max-width: 33ch;
  }

  .button {
    width: 100%;
  }

  .hero-facts li {
    width: 100%;
  }

  .service-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: -22px;
  }

  .service-strip a {
    min-height: 72px;
    padding: 12px;
    font-size: 0.9rem;
  }

  .warranty-slider {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .logo-track {
    gap: 10px;
    animation-duration: 24s;
  }

  .logo-tile {
    flex-basis: 205px;
    min-height: 104px;
    padding: 18px;
  }

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

  .price-card {
    min-height: 164px;
  }

  .service-grid,
  .answer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .mode-button {
    min-height: 74px;
    font-size: 0.9rem;
  }

  .process-list div {
    grid-template-columns: 44px 1fr;
  }

  .site-footer {
    display: grid;
    padding-bottom: 84px;
  }

  .legal-main {
    padding-top: 178px;
  }

  .legal-section {
    padding: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .admin-header,
  .admin-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header .button,
  .admin-card-head .button {
    width: 100%;
  }

  .admin-header-actions {
    justify-content: stretch;
  }

  .mobile-call-bar {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    overflow-x: auto;
  }

  .logo-marquee::before,
  .logo-marquee::after {
    display: none;
  }

  .logo-track {
    animation: none;
  }
}
