:root {
  --ink: #15110d;
  --muted: #625d55;
  --line: #c9c1b5;
  --paper: #ebe5db;
  --white: #ffffff;
  --teal: #2f6b5d;
  --teal-dark: #214d44;
  --gold: #d9a23a;
  --red: #b54032;
  --blue: #244d72;
  --steel: #2a2f34;
  --shop: #211c17;
  --shadow: 0 12px 28px rgba(34, 27, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 17, 13, 0.035) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(0deg, rgba(21, 17, 13, 0.025) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--paper);
  line-height: 1.5;
}

:target {
  scroll-margin-top: 112px;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(10, 15, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.payment-row {
  display: flex;
  align-items: center;
}

.brand {
  padding: 8px 0;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.brand-mark {
  display: none;
}

.nav-links {
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
}

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

.header-cta {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 132px clamp(20px, 5vw, 72px) 64px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/ecu-bench-hero.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.94) 0%, rgba(4, 7, 10, 0.78) 38%, rgba(4, 7, 10, 0.2) 76%),
    linear-gradient(0deg, rgba(5, 8, 12, 0.85) 0%, rgba(5, 8, 12, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy {
  width: min(680px, 100%);
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(18px, 5vw, 56px);
  width: min(330px, calc(100% - 40px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.panel-label {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip div {
  min-height: 128px;
  padding: 28px clamp(20px, 4vw, 48px);
  background: var(--white);
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.trust-strip span,
.section p,
.step p,
.service-grid p,
.form-note,
.price-box small,
.payment-row span,
.site-footer span,
.faq-list p {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.payment-confirmation { display: none; }

.payment-confirmed .payment-confirmation {
  display: block;
  padding: 126px clamp(20px, 8vw, 132px) 58px;
  color: var(--white);
  background: linear-gradient(135deg, #0c2731, #164c4a);
}

.payment-confirmed .page-hero { display: none; }

.payment-confirmation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 76px);
  width: min(1160px, 100%);
  margin: 0 auto;
  align-items: start;
}

.payment-confirmation-copy h2 {
  max-width: 18ch;
  margin: 10px 0 18px;
  font-size: clamp(2.25rem, 4.6vw, 4.7rem);
  line-height: 1.02;
}

.payment-confirmation-copy p:not(.eyebrow) {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.payment-ship-to {
  display: grid;
  gap: 6px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.payment-ship-to strong { margin-top: 10px; font-size: 1.35rem; }
.payment-ship-to span { color: var(--muted); }
.payment-ship-to .payment-card-label { color: var(--teal); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.payment-ship-to a { margin-top: 12px; color: var(--teal-dark); font-weight: 800; }

.payment-quick-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1160px, 100%);
  margin: 42px auto 0;
}

.payment-quick-steps article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.payment-quick-steps span { color: #92ded4; font-weight: 900; }
.payment-quick-steps h3 { margin: 8px 0; font-size: 1.08rem; }
.payment-quick-steps p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 0.94rem; }

.page-hero {
  padding: 150px clamp(20px, 5vw, 72px) clamp(56px, 8vw, 96px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.94), rgba(4, 7, 10, 0.72)),
    url("assets/ecu-bench-hero.jpg") center right / cover;
}

.page-hero.nested {
  background:
    linear-gradient(90deg, rgba(4, 7, 10, 0.94), rgba(4, 7, 10, 0.72)),
    url("../assets/ecu-bench-hero.jpg") center right / cover;
}
.page-hero.services-hero {
  background:
    linear-gradient(90deg, rgba(11,22,29,0.82), rgba(11,22,29,0.46) 48%, rgba(11,22,29,0.12)),
    url("assets/ecu-services-banner.jpg") center right / cover;
}
.page-hero.local-service-hero {
  background:
    linear-gradient(90deg, rgba(7, 30, 39, 0.94), rgba(7, 30, 39, 0.74) 48%, rgba(7, 30, 39, 0.28)),
    url("../assets/ecu-services-banner.jpg") center right / cover;
}
.page-hero.mail-in-city-hero {
  background:
    linear-gradient(90deg, rgba(11,22,29,0.94), rgba(11,22,29,0.72) 48%, rgba(11,22,29,0.24)),
    url("../assets/ecu-services-banner.jpg") center right / cover;
}

.page-hero-content {
  width: min(880px, 100%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.content-grid,
.brand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 26px;
}

.copy-stack article,
.side-panel,
.mini-cta,
.link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.copy-stack article,
.side-panel,
.mini-cta {
  padding: clamp(22px, 3vw, 32px);
}

.side-panel {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.side-panel ul,
.copy-stack ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.side-panel li + li,
.copy-stack li + li {
  margin-top: 8px;
}

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

.link-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--ink);
  font-weight: 850;
}

.link-grid a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

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

.pricing-card,
.symptom-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pricing-card strong {
  display: block;
  margin: 8px 0;
  color: var(--teal-dark);
  font-size: 2.1rem;
  line-height: 1;
}

.symptom-card h3 {
  color: var(--teal-dark);
}

.text-band {
  color: var(--white);
  background: var(--ink);
}

.text-band p {
  color: rgba(255, 255, 255, 0.72);
}

.model-list {
  columns: 3;
  column-gap: 40px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.service-detail {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-detail strong {
  color: var(--teal-dark);
}

.mini-cta {
  display: grid;
  gap: 12px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(36, 77, 114, 0.06)),
    var(--white);
}

.mini-cta p {
  margin-bottom: 0;
}

.two-column,
.intake-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 108px;
}

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

.step,
.service-grid article,
.intake-form,
.price-box,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step,
.service-grid article {
  padding: 24px;
}

.step span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 900;
}

.service-band {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

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

.service-grid article {
  background: #17212b;
  border-color: rgba(255, 255, 255, 0.1);
}

.service-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.intake-section {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(36, 77, 114, 0.06)),
    var(--paper);
}

.intake-copy {
  display: grid;
  gap: 18px;
}

.price-box {
  padding: 24px;
  border-left: 5px solid var(--teal);
}

.price-box span,
.price-box small {
  display: block;
}

.price-box strong {
  display: block;
  margin: 6px 0;
  font-size: 2.5rem;
}

.intake-form {
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: #26323d;
  font-size: 0.92rem;
  font-weight: 800;
}

label.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.payment-row {
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.payment-row div {
  display: grid;
}

.form-note {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.status-message {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  color: var(--teal-dark);
  background: rgba(15, 118, 110, 0.08);
  font-weight: 750;
}

.status-message.warning {
  border-color: rgba(181, 64, 50, 0.26);
  color: #7d281f;
  background: rgba(181, 64, 50, 0.08);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: 28px;
  align-items: start;
  padding: 38px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #070a0e;
}

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

.site-footer a {
  font-weight: 850;
}

.footer-col {
  display: grid;
  gap: 8px;
}

.footer-col strong {
  color: var(--gold);
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.76);
}

.mobile-action-bar {
  display: none;
}

/* Shop-floor redesign: practical repair counter visual system. */
.site-header {
  background: rgba(22, 18, 14, 0.94);
  border-bottom: 3px solid var(--gold);
  backdrop-filter: none;
}

.header-cta,
.button {
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header-cta {
  border: 2px solid var(--gold);
  color: var(--white);
  background: transparent;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--gold);
}

.hero {
  min-height: 88svh;
  padding-top: 118px;
  border-bottom: 6px solid var(--shop);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(24px, 4vw, 54px);
}

.hero-bg {
  filter: saturate(0.85) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 15, 11, 0.98) 0%, rgba(19, 15, 11, 0.9) 42%, rgba(19, 15, 11, 0.35) 78%),
    linear-gradient(0deg, rgba(19, 15, 11, 0.94) 0%, rgba(19, 15, 11, 0) 42%);
}

.hero-content {
  width: min(860px, 100%);
}

h1 {
  max-width: 960px;
  font-size: clamp(2.35rem, 5.3vw, 5.2rem);
  line-height: 1;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.12em;
}

.hero-copy {
  width: min(780px, 100%);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(217, 162, 58, 0.42);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-panel {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(380px, 100%);
  justify-self: end;
  border-radius: 3px;
  border: 2px solid rgba(217, 162, 58, 0.42);
  background: rgba(21, 17, 13, 0.88);
  backdrop-filter: none;
}

.job-ticket {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.job-ticket dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.26);
}

.job-ticket div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
}

.job-ticket dt {
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.job-ticket dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.shop-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--shop);
}

.shop-strip div {
  min-height: 124px;
  padding: 26px clamp(18px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.shop-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.02rem;
  text-transform: uppercase;
}

.shop-strip span {
  color: rgba(255, 255, 255, 0.72);
}

.shop-proof {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #f4eee5;
}

.proof-media {
  margin: 0;
  border: 2px solid var(--shop);
  background: var(--shop);
}

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

.proof-media figcaption {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.proof-copy {
  min-width: 0;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.proof-list div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 7px;
  color: var(--shop);
  text-transform: uppercase;
}

.proof-list span {
  color: var(--muted);
}

.proof-list a {
  color: var(--red);
  font-weight: 900;
}

.price-ledger-section {
  background: #d9d0c4;
}

.shipping-checklist,
.review-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shipping-checklist article,
.review-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.shipping-checklist span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.review-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--shop);
}

.internal-link-band {
  background: #f4eee5;
}

.price-ledger {
  display: grid;
  border: 2px solid var(--shop);
  background: #f8f2e8;
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(150px, 0.5fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row span {
  color: var(--shop);
  font-weight: 900;
  text-transform: uppercase;
}

.ledger-row strong {
  color: var(--red);
  font-size: 1.25rem;
}

.ledger-row p {
  margin: 0;
}

.section {
  padding-block: clamp(58px, 8vw, 96px);
}

.section-heading {
  width: min(920px, 100%);
}

.copy-stack article,
.side-panel,
.mini-cta,
.link-grid a,
.pricing-card,
.symptom-card,
.service-detail,
.step,
.service-grid article,
.intake-form,
.price-box,
.faq-list details {
  border-radius: 3px;
  border-color: var(--line);
  box-shadow: none;
}

.symptom-section {
  background:
    linear-gradient(90deg, rgba(181, 64, 50, 0.08), rgba(217, 162, 58, 0.08)),
    var(--paper);
}

.symptom-card {
  border-left: 4px solid var(--red);
}

.symptom-card h3,
.service-detail strong {
  color: var(--shop);
}

.makes-preview .link-grid a,
.link-grid a {
  min-height: 78px;
  align-items: flex-start;
  border-left: 4px solid var(--gold);
  background: #f7f2ea;
}

.link-grid a:hover {
  border-color: var(--red);
  color: var(--shop);
  background: #fffaf0;
}

.service-band,
.text-band {
  background:
    linear-gradient(90deg, rgba(217, 162, 58, 0.08), transparent 34%),
    var(--shop);
}

.service-grid article {
  background: #2b251f;
  border-color: rgba(217, 162, 58, 0.2);
}

.service-grid a {
  color: var(--gold);
  font-weight: 850;
}

.step span {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.intake-section {
  border-top: 6px solid var(--shop);
  background:
    linear-gradient(90deg, rgba(47, 107, 93, 0.1), rgba(181, 64, 50, 0.06)),
    var(--paper);
}

input,
select,
textarea {
  border-radius: 3px;
  border-color: #b8ac9c;
}

.button.primary {
  background: var(--red);
}

.button.primary:hover {
  background: #963429;
}

.button.secondary {
  border-color: rgba(217, 162, 58, 0.5);
}

.price-ledger-section .button.secondary,
.internal-link-band .button.secondary {
  color: var(--shop);
  border-color: var(--shop);
  background: transparent;
}

.site-footer {
  border-top: 4px solid var(--gold);
  background: var(--shop);
}

/* Final responsive polish for the production pages. */
.site-header {
  gap: clamp(14px, 2.6vw, 28px);
}

.nav-links {
  row-gap: 8px;
}

.hero {
  align-items: center;
}

.hero-panel {
  max-height: 100%;
}

.hero-actions .button {
  min-width: min(260px, 100%);
}

.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.symptom-grid,
.pricing-grid,
.service-detail-grid,
.shipping-checklist,
.review-strip {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-grid a,
.symptom-card,
.pricing-card,
.service-detail,
.step,
.service-grid article,
.review-card,
.shipping-checklist article {
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.link-grid a:hover,
.symptom-card:hover,
.pricing-card:hover,
.service-detail:hover,
.step:hover,
.service-grid article:hover,
.review-card:hover,
.shipping-checklist article:hover {
  transform: translateY(-2px);
}

.mobile-action-bar {
  box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.26);
}

@media (max-width: 980px) {
  .shop-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-proof {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.15rem, 8vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.7rem, 5vw, 2.65rem);
  }

  .hero-panel {
    justify-self: start;
    width: min(520px, 100%);
  }

  .trust-strip,
  .trust-strip.four-up,
  .two-column,
  .intake-section,
  .content-grid,
  .brand-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

  .side-panel {
    position: static;
  }

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

@media (max-width: 680px) {
  :target {
    scroll-margin-top: 96px;
  }

  body {
    padding-bottom: 50px;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    min-height: 0;
    padding: 10px 14px 9px;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: calc(100vw - 28px);
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0 2px;
    font-size: 0.82rem;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .brand span:last-child {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 118px 16px 34px;
    gap: 24px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 10.5vw, 3rem);
    line-height: 1.03;
  }

  .hero-copy {
    margin-bottom: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 46px;
    padding-inline: 16px;
    font-size: 0.9rem;
  }

  .hero-tags {
    margin-top: 16px;
    gap: 6px;
  }

  .hero-tags span {
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .hero-panel {
    display: none;
  }

  .shop-strip {
    grid-template-columns: 1fr;
  }

  .shop-strip div {
    min-height: 0;
    padding: 18px 16px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 126px 16px 48px;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 7, 10, 0.94) 0%, rgba(4, 7, 10, 0.82) 100%),
      linear-gradient(0deg, rgba(5, 8, 12, 0.85) 0%, rgba(5, 8, 12, 0) 36%);
  }

  .steps,
  .form-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .link-grid a {
    min-height: 62px;
    padding: 15px 16px;
  }

  .pricing-card,
  .symptom-card,
  .service-detail,
  .step,
  .service-grid article,
  .review-card,
  .shipping-checklist article {
    padding: 19px;
  }

  .model-list {
    columns: 1;
  }

  .payment-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 30;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid var(--gold);
    background: var(--shop);
  }

  .mobile-action-bar a {
    min-height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-action-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 520px) {
  :target {
    scroll-margin-top: 76px;
  }

  .site-header {
    display: flex;
    min-height: 60px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 92px;
  }

  .page-hero {
    padding-top: 104px;
  }

  .job-ticket dl {
    grid-template-columns: 1fr;
  }

  .job-ticket div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .brand span:last-child {
    font-size: 0.84rem;
  }

  .header-cta {
    padding: 8px 9px;
  }
}

/* 2026 redesign: precise, quiet technical-lab visual language. */
:root {
  --ink: #14212b;
  --muted: #5c6972;
  --line: #d7dee1;
  --paper: #f5f7f6;
  --white: #ffffff;
  --teal: #087b72;
  --teal-dark: #055e58;
  --gold: #ef6c3b;
  --red: #d65436;
  --shop: #14212b;
  --shadow: 0 18px 50px rgba(20, 33, 43, 0.10);
}

body {
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.005em;
}

.site-header {
  min-height: 80px;
  padding: 16px clamp(20px, 5vw, 80px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  padding-left: 31px;
  font-size: 0.94rem;
  letter-spacing: 0.07em;
}

.brand::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--teal);
  transform: translateY(-50%);
  content: "";
}

.brand::after {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 18px;
  border-top: 2px solid var(--gold);
  transform: translateY(-50%);
  content: "";
}

.nav-links {
  gap: clamp(16px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.header-cta,
.button {
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.header-cta {
  padding: 11px 17px;
  border: 0;
  color: var(--white);
  background: var(--ink);
}

.header-cta:hover {
  color: var(--white);
  background: var(--teal);
}

.hero {
  min-height: 700px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 7vw, 110px);
  padding: 150px clamp(20px, 8vw, 132px) 84px;
  border-bottom: 0;
}

.hero-bg {
  filter: grayscale(0.35) saturate(0.82) contrast(1.05);
  background-position: 70% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 22, 29, 0.98) 0%, rgba(11, 22, 29, 0.91) 44%, rgba(11, 22, 29, 0.42) 76%, rgba(11, 22, 29, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 22, 29, 0.82), rgba(11, 22, 29, 0.08) 56%);
}

.hero-content { width: min(800px, 100%); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #86d7d0;
  font-size: 0.69rem;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  width: 24px;
  border-top: 2px solid var(--gold);
  content: "";
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 5.2vw, 5.35rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.15rem, 3.65vw, 3.7rem);
  line-height: 1;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  line-height: 1.65;
}

.button { min-height: 48px; padding-inline: 21px; }
.button.primary { background: var(--teal); }
.button.primary:hover { background: #0a675f; }
.button.secondary { border-color: rgba(255,255,255,0.42); }

.hero-tags { gap: 7px; }
.hero-tags span {
  border: 0;
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.12);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-panel {
  width: min(320px, 100%);
  padding: 28px;
  border: 0;
  border-top: 4px solid var(--gold);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-label, .hero-panel p, .job-ticket dt, .job-ticket dd { color: var(--muted); }
.hero-panel strong { color: var(--teal); font-family: Georgia, "Times New Roman", serif; }
.job-ticket { font-family: Arial, Helvetica, sans-serif; }
.job-ticket dl { border-top-color: var(--line); }

.shop-strip {
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(20px, 5vw, 80px);
  transform: translateY(-32px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.shop-strip div { min-height: 120px; border-right-color: var(--line); }
.shop-strip strong { color: var(--ink); font-size: 0.78rem; letter-spacing: 0.09em; }
.shop-strip span { color: var(--muted); font-size: 0.91rem; line-height: 1.45; }

.section { padding: clamp(70px, 9vw, 130px) clamp(20px, 8vw, 132px); }
.shop-proof { grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr); background: var(--paper); }
.proof-media { border: 0; background: transparent; }
.proof-media img { aspect-ratio: 5 / 4; }
.proof-media figcaption { padding: 12px 0; color: var(--muted); background: transparent; }
.proof-list { gap: 10px; }
.proof-list div { min-height: 106px; border: 1px solid var(--line); border-left: 0; background: transparent; }
.proof-list strong { font-size: 0.75rem; letter-spacing: 0.065em; }
.proof-list a { color: var(--teal); }

.symptom-section { background: var(--white); }
.symptom-grid { gap: 1px; background: var(--line); }
.symptom-card {
  min-height: 185px;
  padding: 28px;
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: var(--white);
}
.symptom-card h3 { color: var(--ink); font-size: 1.05rem; }
.symptom-card p { color: var(--muted); }

.makes-preview { background: #e8eeec; }
.link-grid { gap: 10px; }
.makes-preview .link-grid a, .link-grid a {
  min-height: 68px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: 0;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  font-size: 0.88rem;
}
.link-grid a:hover { border-color: var(--teal); color: var(--teal); background: var(--white); }

.service-band, .text-band { background: var(--ink); }
.service-grid article { border-radius: 0; background: #1c2d38; }
.service-grid a { color: #86d7d0; }
.step, .pricing-card, .service-detail, .shipping-checklist article, .review-card {
  border-radius: 0;
  border-top: 3px solid var(--teal);
  background: var(--white);
}
.step span { color: var(--teal); }

.intake-section {
  border-top: 0;
  background: #e8eeec;
}
.price-box { border-left: 0; border-top: 4px solid var(--gold); border-radius: 0; }
.intake-form { border-radius: 0; }
input, select, textarea { border-radius: 0; }
.site-footer { padding: 64px clamp(20px, 8vw, 132px); border-top: 0; background: var(--ink); }
.footer-col strong { color: #86d7d0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-inline: clamp(20px, 7vw, 72px); }
  .hero-panel { justify-self: start; }
  .shop-strip { margin-inline: 20px; transform: translateY(-22px); }
  .shop-proof { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding: 12px 16px; }
  .hero { min-height: 0; padding: 112px 20px 64px; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-panel { display: block; padding: 22px; }
  .shop-strip { grid-template-columns: 1fr; margin: 0; transform: none; box-shadow: none; border-inline: 0; }
  .shop-strip div { min-height: 0; padding: 18px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 64px 20px; }
  .proof-list { grid-template-columns: 1fr; }
  .symptom-grid { gap: 1px; }
  .symptom-card { min-height: 0; padding: 23px 20px; }
  .mobile-action-bar { border-top: 0; background: var(--ink); }
  .mobile-action-bar a:nth-child(2) { background: var(--teal); }
}

/* Detail layer: gives the shared pages a more considered, handcrafted finish. */
body {
  background-image:
    linear-gradient(rgba(20, 33, 43, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 43, 0.024) 1px, transparent 1px);
  background-size: 36px 36px;
}

.site-header::after {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: -1px;
  width: 68px;
  border-bottom: 2px solid var(--gold);
  content: "";
}

.nav-links a {
  position: relative;
  padding-block: 7px;
}

.nav-links a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  border-bottom: 2px solid var(--teal);
  transition: width 180ms ease;
  content: "";
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }

.hero::after {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 8vw, 132px);
  bottom: 28px;
  width: min(34vw, 520px);
  border-bottom: 1px solid rgba(134, 215, 208, 0.35);
  content: "";
}

.hero-panel::before {
  display: block;
  margin-bottom: 19px;
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  content: "SERVICE INTAKE / 01";
}

.hero-panel strong { letter-spacing: -0.06em; }

.shop-strip strong::before {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.05em;
  content: "—";
}

.section-heading h2 { max-width: 20ch; }
.section-heading > p:last-child { max-width: 62ch; line-height: 1.7; }

.shop-proof { position: relative; }
.proof-media { position: relative; padding: 0 18px 18px 0; }
.proof-media::before {
  position: absolute;
  top: 22px;
  right: 0;
  bottom: 0;
  left: 22px;
  z-index: -1;
  background: var(--teal);
  content: "";
}

.proof-list div { transition: background-color 180ms ease, transform 180ms ease; }
.proof-list div:hover { transform: translateX(4px); background: var(--white); }

.symptom-card { position: relative; overflow: hidden; }
.symptom-card::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: #c8d3d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
  content: "↗";
}

.symptom-card:hover { background: #f1f7f6; transform: none; }

.makes-preview { position: relative; overflow: hidden; }
.makes-preview::before {
  position: absolute;
  top: -90px;
  right: -50px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(8, 123, 114, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(8, 123, 114, 0.045), 0 0 0 88px rgba(8, 123, 114, 0.035);
  content: "";
}

.makes-preview > * { position: relative; }
.link-grid a { position: relative; padding-right: 38px; }
.link-grid a::after {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--teal);
  font-size: 1.05rem;
  transform: translateY(-50%);
  content: "→";
}

.steps { gap: 12px; }
.step { min-height: 220px; padding: 29px; }
.step:nth-child(even) { transform: translateY(22px); }
.step span { margin-bottom: 32px; font-size: 0.74rem; letter-spacing: 0.12em; }
.step h3 { font-size: 1.15rem; }

.price-ledger-section { background: var(--ink); color: var(--white); }
.price-ledger-section .eyebrow { color: #86d7d0; }
.price-ledger {
  border-color: rgba(255,255,255,0.22);
  background: transparent;
}
.ledger-row { border-bottom-color: rgba(255,255,255,0.17); }
.ledger-row span { color: #d8e1e1; }
.ledger-row strong { color: #86d7d0; }
.ledger-row p { color: rgba(255,255,255,0.67); }
.price-ledger-section .button.secondary { color: var(--white); border-color: rgba(255,255,255,0.5); }
.price-ledger-section .button.secondary:hover { background: var(--white); color: var(--ink); }

.internal-link-band { background: var(--paper); }
.service-grid article { min-height: 210px; padding: 28px; border-top: 3px solid transparent; }
.service-grid article:hover { border-top-color: #86d7d0; transform: translateY(-4px); }
.service-grid h3 { font-size: 1.1rem; }

.intake-form { border-top: 4px solid var(--teal); box-shadow: 0 24px 58px rgba(20, 33, 43, 0.14); }
.intake-copy .price-box { max-width: 350px; background: var(--white); }
label { color: var(--ink); letter-spacing: 0.02em; }
input, select, textarea { background: #fcfdfd; transition: border-color 160ms ease, box-shadow 160ms ease; }
input:hover, select:hover, textarea:hover { border-color: var(--teal); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 166px clamp(20px, 8vw, 132px) 110px;
  background:
    linear-gradient(90deg, rgba(11,22,29,0.97), rgba(11,22,29,0.84) 45%, rgba(11,22,29,0.28)),
    url("assets/ecu-bench-hero.jpg") center right / cover;
}
.page-hero.nested {
  background:
    linear-gradient(90deg, rgba(11,22,29,0.97), rgba(11,22,29,0.84) 45%, rgba(11,22,29,0.28)),
    url("../assets/ecu-bench-hero.jpg") center right / cover;
}
.page-hero::after {
  position: absolute;
  bottom: 0;
  left: clamp(20px, 8vw, 132px);
  width: 68px;
  border-bottom: 4px solid var(--gold);
  content: "";
}
.page-hero h1 { max-width: 15ch; }

.technician-proof { background: #eaf1f0; }
.technician-proof-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(260px, 1fr); gap: clamp(18px, 3vw, 38px); align-items: center; }
.technician-proof figure { margin: 0; background: var(--ink); }
.technician-proof figure img { display: block; width: 100%; max-height: 460px; object-fit: cover; object-position: center; }
.technician-proof figcaption { padding: 13px 15px; color: #d8e1e1; font-size: 0.84rem; line-height: 1.45; }
.technician-proof-copy { padding: clamp(20px, 3vw, 38px); border-left: 3px solid var(--teal); }
.technician-proof-copy h3 { margin-top: 0; font-size: clamp(1.4rem, 2vw, 2rem); }
.technician-evidence { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: center; }
.technician-evidence img { width: 140px; height: 180px; object-fit: cover; }

@media (max-width: 980px) {
  .step:nth-child(even) { transform: none; }
}

@media (max-width: 680px) {
  .site-header::after { right: 16px; width: 44px; }
  .hero::after { display: none; }
  .hero-panel::before { margin-bottom: 13px; }
  .shop-strip strong::before { display: inline; margin-right: 8px; }
  .proof-media { padding: 0 12px 12px 0; }
  .proof-media::before { top: 15px; left: 15px; }
  .symptom-card::after { right: 18px; bottom: 15px; font-size: 2rem; }
  .makes-preview::before { width: 210px; height: 210px; }
  .step { min-height: 0; }
  .page-hero { padding: 126px 20px 66px; }
  .page-hero::after { left: 20px; }
  .technician-proof-grid, .technician-evidence { grid-template-columns: 1fr; }
  .technician-evidence img { width: 100%; height: 240px; }
}

/* Keep the full primary menu available on every page and at every screen size. */
@media (max-width: 520px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    min-height: 0;
  }

  .nav-links {
    display: flex;
    order: 3;
    grid-column: 1 / -1;
    width: calc(100vw - 32px);
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 0 2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }

  .payment-confirmed .payment-confirmation { padding: 152px 20px 42px; }
  .payment-confirmation-grid,
  .payment-quick-steps { grid-template-columns: 1fr; }
  .payment-confirmation-copy h2 { font-size: clamp(2.15rem, 12vw, 3.35rem); }
  .payment-quick-steps { margin-top: 26px; }
}
