/* ==========================================================================
   IRONWOOD AUTO CARE — demo stylesheet (No404 web studio)
   Industrial / honest-mechanic. Charcoal + steel + signal red.
   Self-contained: no external stylesheets, no images.
   ========================================================================== */

:root {
  /* palette */
  --ink:        #14161a;
  --charcoal:   #1c1f24;
  --panel:      #23272e;
  --panel-2:    #2a2f37;
  --seam:       #343a44;
  --steel:      #9aa3af;
  --steel-dim:  #6b7280;
  --paper:      #f4f5f7;
  --white:      #ffffff;
  --red:        #dc2f2f;
  --red-deep:   #b02020;
  --red-glow:   rgba(220, 47, 47, 0.35);

  /* type */
  --font-display: "Chakra Petch", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* rhythm */
  --radius: 6px;
  --max: 1140px;
  --header-h: 72px;

  /* textures (CSS only — no images) */
  --tex-stripes: repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.04) 0 10px,
      transparent 10px 22px);
  --tex-hazard: repeating-linear-gradient(
      -45deg,
      var(--red) 0 14px,
      var(--ink) 14px 28px);
  --tex-plate: radial-gradient(circle at 8px 8px, rgba(255,255,255,0.07) 1.4px, transparent 1.6px);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #d7dadf;
  background-color: var(--charcoal);
  background-image: var(--tex-stripes);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p { margin: 0 0 1em; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

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

.accent { color: var(--red); }

/* uppercase kicker label, like a spec plate */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
  transform: skewX(-25deg);
}

/* hazard-stripe divider strip */
.hazard {
  height: 8px;
  background: var(--tex-hazard);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  /* notched corner, like stamped steel */
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  border-radius: 0;
  box-shadow: 0 6px 18px -6px var(--red-glow);
}
.btn--primary:hover { background: #e84444; box-shadow: 0 10px 24px -6px var(--red-glow); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--seam);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--steel); }

.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 22, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--seam);
}
.site-header::after {
  /* thin red signal line under the header */
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 30%, transparent 75%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}
.brand__text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--steel);
}

.site-nav { display: flex; align-items: center; gap: 1.8rem; }

.site-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
}
.site-nav a:hover { color: var(--white); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--red);
  transition: right 0.2s ease;
}
.site-nav a:hover::after { right: 0; }
.site-nav a.is-active { color: var(--white); }
.site-nav a.is-active::after { right: 0; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  background: var(--panel);
  white-space: nowrap;
}
.header-phone:hover { border-color: var(--red); text-decoration: none; }
.header-phone svg { width: 16px; height: 16px; stroke: var(--red); }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(220, 47, 47, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(154, 163, 175, 0.10), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--charcoal));
}
.hero::before {
  /* plate-metal rivet texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-plate);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero::after {
  /* big diagonal seam slicing the hero */
  content: "";
  position: absolute;
  top: -10%;
  right: -6%;
  width: 46%;
  height: 130%;
  background:
    linear-gradient(rgba(255,255,255,0.025), rgba(255,255,255,0.025)),
    var(--tex-stripes);
  border-left: 3px solid rgba(220, 47, 47, 0.5);
  transform: skewX(-12deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  margin-bottom: 0.4em;
}
.hero h1 .accent { display: block; }

.hero-sub {
  font-size: 1.12rem;
  color: var(--steel);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-meta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 0.88rem;
  color: var(--steel-dim);
}
.hero-meta strong { color: var(--steel); font-weight: 600; }

/* hero gauge artwork */
.hero-art { display: flex; justify-content: center; }
.hero-art svg {
  width: min(320px, 80%);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

/* gauge needle sweep on load */
@keyframes needle-sweep {
  0%   { transform: rotate(-118deg); }
  60%  { transform: rotate(38deg); }
  78%  { transform: rotate(18deg); }
  100% { transform: rotate(26deg); }
}
.gauge-needle {
  transform-origin: 100px 104px;
  animation: needle-sweep 2.2s cubic-bezier(0.34, 1.3, 0.45, 1) 0.3s both;
}
@media (prefers-reduced-motion: reduce) {
  .gauge-needle { animation: none; transform: rotate(26deg); }
  html { scroll-behavior: auto; }
}

/* staggered hero reveal */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .kicker,
.hero h1,
.hero-sub,
.hero-actions,
.hero-meta { animation: rise 0.6s ease both; }
.hero h1 { animation-delay: 0.08s; }
.hero-sub { animation-delay: 0.16s; }
.hero-actions { animation-delay: 0.24s; }
.hero-meta { animation-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .hero .kicker, .hero h1, .hero-sub, .hero-actions, .hero-meta { animation: none; }
}

/* --------------------------------------------------------------------------
   Trust badges row
   -------------------------------------------------------------------------- */

.trust {
  background: var(--ink);
  border-top: 1px solid var(--seam);
  border-bottom: 1px solid var(--seam);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--seam);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: var(--ink);
}
.trust-item svg { width: 34px; height: 34px; flex: none; stroke: var(--red); }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.trust-item span { font-size: 0.85rem; color: var(--steel-dim); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--ink); border-block: 1px solid var(--seam); }

.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--steel); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Services preview grid (home)
   -------------------------------------------------------------------------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.svc-card {
  position: relative;
  display: block;
  background: var(--panel);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.svc-card::before {
  /* red corner notch */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--red) 50%, transparent 50.5%);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.svc-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.7);
}
.svc-card:hover::before { opacity: 1; }

.svc-card svg {
  width: 38px; height: 38px;
  stroke: var(--red);
  margin-bottom: 0.9rem;
}
.svc-card h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.svc-card p { font-size: 0.92rem; color: var(--steel); margin: 0; }
.svc-card .svc-card__go {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   How we work — 3-step strip
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: 2.1rem 1.5rem 1.5rem;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -0.75rem;
  left: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--red);
  padding: 0.15rem 0.6rem;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; color: var(--steel); margin: 0; }
.step:not(:last-child)::after {
  /* connector chevron between steps */
  content: "";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  width: 14px; height: 14px;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review {
  background: var(--panel);
  border: 1px solid var(--seam);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.review .stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.7rem;
}
.review p {
  font-size: 0.95rem;
  color: #c6cad1;
  flex: 1;
  margin-bottom: 1.1rem;
}
.review footer {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.review footer strong { color: var(--white); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(640px 300px at 50% 120%, rgba(220, 47, 47, 0.22), transparent 70%),
    var(--ink);
  border-block: 1px solid var(--seam);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  background: var(--tex-hazard);
  opacity: 0.16;
}
.cta-band::before { left: 0; transform: skewX(-12deg) translateX(-30px); }
.cta-band::after { right: 0; transform: skewX(-12deg) translateX(30px); }

.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cta-band p { color: var(--steel); max-width: 36rem; margin: 0 auto 1.8rem; }
.cta-band .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(700px 360px at 80% -20%, rgba(220, 47, 47, 0.14), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--charcoal));
  border-bottom: 1px solid var(--seam);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tex-plate);
  background-size: 56px 56px;
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 0.3em; }
.page-hero p { color: var(--steel); max-width: 40rem; margin: 0; }

/* --------------------------------------------------------------------------
   Services page — detail sections
   -------------------------------------------------------------------------- */

.svc-detail {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 1.6rem;
  background: var(--panel);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.4rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.svc-detail__icon {
  width: 64px; height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
}
.svc-detail__icon svg { width: 34px; height: 34px; stroke: var(--red); }

.svc-detail h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.svc-detail .price-hint {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(220, 47, 47, 0.45);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.9rem;
}
.svc-detail p { color: var(--steel); font-size: 0.96rem; }

.svc-detail ul {
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}
.svc-detail li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  font-size: 0.93rem;
  color: #c6cad1;
  break-inside: avoid;
}
.svc-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 8px; height: 8px;
  background: var(--red);
  transform: rotate(45deg);
}

.svc-detail__cta { align-self: center; }

.fine-note { font-size: 0.82rem; color: var(--steel-dim); margin-top: 0.8rem; }

/* warranty / fleet callouts */
.callout {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  background:
    linear-gradient(rgba(220, 47, 47, 0.06), rgba(220, 47, 47, 0.06)),
    var(--panel);
  border: 1px solid rgba(220, 47, 47, 0.4);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin: 2.4rem 0 1.4rem;
}
.callout svg { width: 56px; height: 56px; stroke: var(--red); }
.callout h2 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.callout p { color: var(--steel); margin: 0; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Booking page
   -------------------------------------------------------------------------- */

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.5rem;
  align-items: start;
}

.book-form {
  background: var(--panel);
  border: 1px solid var(--seam);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.4rem;
}
.form-field label .req { color: var(--red); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--steel-dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 47, 47, 0.22);
}
.form-field select { appearance: none; cursor: pointer; }
.form-field {
  position: relative;
}
.form-field--select::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1.18rem;
  width: 8px; height: 8px;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg);
  pointer-events: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input[type="date"] { color-scheme: dark; }

.form-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: #c6cad1;
  cursor: pointer;
  user-select: none;
}
.form-check input {
  width: 19px; height: 19px;
  accent-color: var(--red);
  cursor: pointer;
  flex: none;
}

.form-footnote { font-size: 0.82rem; color: var(--steel-dim); margin: 0.9rem 0 0; }

/* confirmation panel */
.confirm {
  background: var(--panel);
  border: 1px solid var(--seam);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
  animation: rise 0.45s ease both;
}
.confirm[hidden] { display: none; }
.confirm__check {
  width: 64px; height: 64px;
  margin: 0 auto 1.2rem;
  stroke: var(--red);
}
.confirm h2 { font-size: 1.5rem; }
.confirm .confirm__code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--white);
  background: var(--ink);
  border: 1px dashed var(--red);
  border-radius: var(--radius);
  padding: 0.5rem 1.3rem;
  margin: 0.4rem 0 1.4rem;
}
.confirm dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1.2rem;
  max-width: 26rem;
  margin: 0 auto 1.4rem;
  text-align: left;
}
.confirm dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-dim);
  align-self: center;
}
.confirm dd { margin: 0; color: var(--white); font-size: 0.97rem; }
.confirm .demo-note {
  font-size: 0.85rem;
  color: var(--steel-dim);
  border-top: 1px solid var(--seam);
  padding-top: 1.1rem;
  margin: 0;
}

/* booking sidebar */
.book-aside { display: grid; gap: 1.25rem; }
.aside-card {
  background: var(--panel);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.aside-card h3 { font-size: 1rem; margin-bottom: 0.8rem; }
.aside-card p { font-size: 0.92rem; color: var(--steel); margin-bottom: 0; }
.aside-card .hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.aside-card .hours td {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--seam);
  color: var(--steel);
}
.aside-card .hours td:last-child { text-align: right; color: var(--white); }
.aside-card .hours tr:last-child td { border-bottom: 0; }
.aside-card a.tel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--white);
}
.aside-card a.tel:hover { color: var(--red); text-decoration: none; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--seam);
  padding: 3rem 0 5.5rem; /* clearance for the fixed No404 badge */
  font-size: 0.9rem;
  color: var(--steel-dim);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
}
.site-footer h4 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--steel); }
.site-footer a:hover { color: var(--white); }
.footer-brand p { max-width: 24rem; }
.footer-bottom {
  border-top: 1px solid var(--seam);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   No404 badge (required on every demo page)
   -------------------------------------------------------------------------- */

.n404-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #d7dadf;
  text-decoration: none;
  background: rgba(20, 22, 26, 0.95);
  border: 1px solid var(--seam);
  border-radius: 999px;
  padding: 0.45rem 0.95rem 0.45rem 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.n404-badge:hover {
  text-decoration: none;
  border-color: var(--red);
  transform: translateY(-2px);
}
.n404-badge strong { color: var(--white); }
.n404-badge__dot {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(220px, 60%); }
  .hero::after { display: none; }

  .svc-grid, .steps, .reviews { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }

  .svc-detail { grid-template-columns: 56px minmax(0, 1fr); }
  .svc-detail__icon { width: 56px; height: 56px; }
  .svc-detail__cta { grid-column: 2; justify-self: start; }

  .book-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 2px solid var(--red);
    padding: 0.5rem 1.25rem 1rem;
    display: none;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--seam);
    font-size: 1rem;
  }
  .site-nav a::after { display: none; }
  .site-nav a.is-active { color: var(--red); }
  .site-nav a:last-of-type { border-bottom: 0; }

  .header-phone span { display: none; }     /* icon-only phone button */
  .header-phone { padding: 0.55rem 0.7rem; }

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

@media (max-width: 600px) {
  .svc-grid, .steps, .reviews { grid-template-columns: 1fr; }
  .svc-detail ul { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc-detail { padding: 1.4rem; }
  .book-form { padding: 1.4rem; }
}
