/* ==========================================================================
   South-End Automotive and Diesel
   Prepared by Redball Technology
   --------------------------------------------------------------------------
   Palette and type are driven by the Creative Brief:
     Brand Red    #C40000  (pulled from the logo file)
     Chrome       #CACACA -> #E9E9EA gradient, never a flat fill
     Black        ribbon / outline black
   Visual treatment: bold + high contrast, clean modern type, no vintage
   texture or aged grading. The logo carries the personality; the page
   supports it with contrast, weight and space.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --red:          #C40000;
  --red-hot:      #E01010;   /* hover / active only */
  --red-deep:     #8F0000;
  --red-tint:     #FCEFEF;   /* growth-priority band (Brakes & General Service) */
  --red-tint-ln:  #F0D3D3;

  --black:        #0E0E0F;
  --ink:          #17171A;   /* dark sections */
  --graphite:     #2A2A2E;
  --steel:        #56565C;
  --muted:        #6B6B72;

  --chrome-hi:    #E9E9EA;
  --chrome-lo:    #CACACA;
  --chrome: linear-gradient(180deg, #F2F2F3 0%, #E9E9EA 44%, #BDBDBF 52%, #E4E4E5 100%);

  --paper:        #FFFFFF;
  --paper-alt:    #F5F5F6;
  --line:         #E3E3E6;
  --line-dark:    rgba(255,255,255,.14);

  /* Type */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Metrics */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  --gutter: 20px;
  --section-y: clamp(56px, 7.5vw, 104px);
  --radius: 4px;
  --radius-lg: 10px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14,14,15,.06), 0 4px 12px rgba(14,14,15,.06);
  --shadow-md: 0 10px 30px rgba(14,14,15,.10);
  --shadow-lg: 0 20px 48px rgba(14,14,15,.16);

  --header-h: 74px;
  --ease: cubic-bezier(.2,.6,.25,1);
}

@media (min-width: 900px) { :root { --gutter: 32px; } }

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-hot); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  margin: 0 0 .5em;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--black);
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child, ul:last-child { margin-bottom: 0; }

h1 { font-weight: 800; font-size: clamp(2.15rem, 5.4vw, 4.05rem); text-transform: uppercase; }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.5vw, 2.7rem); text-transform: uppercase; }
h3 { font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-weight: 700; font-size: 1.06rem; letter-spacing: .01em; }

::selection { background: var(--red); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 12px 20px;
  font-weight: 700; font-family: var(--font-head); text-transform: uppercase;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--ink); color: #D9D9DE; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* Growth-priority band: Brakes & General Service.
   Per the wireframes this block is tinted so it carries visible weight. */
.section--priority {
  background: var(--red-tint);
  border-block: 1px solid var(--red-tint-ln);
}

.lede { font-size: clamp(1.06rem, 1.6vw, 1.25rem); color: var(--steel); line-height: 1.6; }
.section--dark .lede { color: #ADADB5; }

/* Eyebrow: small red label above a heading, with the short red rule that
   repeats through the site as the one recurring graphic device. */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); flex: none; }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* Hairline that reads as brushed chrome rather than a flat grey rule */
.chrome-rule { height: 3px; border: 0; margin: 0; background: var(--chrome); opacity: .9; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .94rem;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  padding: 16px 32px; border-radius: var(--pill); border: 2px solid transparent;
  cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 6px 18px rgba(196,0,0,.26); }
.btn--primary:hover { background: var(--red-hot); border-color: var(--red-hot); color: #fff; box-shadow: 0 10px 26px rgba(196,0,0,.34); }

.btn--ghost { background: #fff; color: var(--black); border-color: #fff; }
.btn--ghost:hover { background: transparent; color: #fff; border-color: #fff; }

.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: #fff; }

.btn--dark { background: var(--black); color: #fff; border-color: var(--black); }
.btn--dark:hover { background: var(--red); border-color: var(--red); color: #fff; }

.btn--sm { padding: 12px 22px; font-size: .84rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Plain text link with arrow — used for in-body internal linking */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--red);
}
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Utility bar + header
   -------------------------------------------------------------------------- */
.utilitybar {
  background: var(--black);
  color: #9A9AA2;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.utilitybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.utilitybar__area { display: flex; align-items: center; gap: 9px; }
.utilitybar__area::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.utilitybar__right { display: flex; align-items: center; gap: 22px; }
.utilitybar a { color: #D9D9DE; text-decoration: none; font-weight: 600; }
.utilitybar a:hover { color: #fff; }
.utilitybar__hours strong { color: #D9D9DE; font-weight: 600; }
@media (max-width: 899px) { .utilitybar { display: none; } }

.siteheader {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.siteheader .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: 42px; width: auto; }
@media (min-width: 1100px) { .brand img { height: 48px; } }

.mainnav { display: none; }
@media (min-width: 1060px) {
  .mainnav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
}
.mainnav a {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  letter-spacing: .045em; text-transform: uppercase; text-decoration: none;
  color: #D9D9DE; padding: 6px 0; position: relative; white-space: nowrap;
}
.mainnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.mainnav a:hover { color: #fff; }
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after { transform: scaleX(1); }
.mainnav a[aria-current="page"] { color: #fff; }

.header-cta { display: none; flex: none; }
@media (min-width: 700px) { .header-cta { display: inline-flex; } }

.navtoggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: transparent; border: 1px solid rgba(255,255,255,.24); color: #fff;
  border-radius: var(--pill); padding: 10px 16px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 1060px) { .navtoggle { display: none; } }
.navtoggle__bars { position: relative; width: 18px; height: 12px; flex: none; }
.navtoggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: #fff;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.navtoggle__bars span:nth-child(1) { top: 0; }
.navtoggle__bars span:nth-child(2) { top: 5px; }
.navtoggle__bars span:nth-child(3) { top: 10px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] .navtoggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobilenav {
  display: none;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.mobilenav.is-open { display: block; }
@media (min-width: 1060px) { .mobilenav, .mobilenav.is-open { display: none; } }
.mobilenav ul { list-style: none; margin: 0; padding: 8px 0 20px; }
.mobilenav a {
  display: block; padding: 15px 0; color: #E4E4E8; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .05em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.mobilenav a[aria-current="page"] { color: var(--red); }
.mobilenav .btn { margin-top: 20px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--black); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,14,15,.94) 0%, rgba(14,14,15,.82) 42%, rgba(14,14,15,.42) 100%),
    linear-gradient(0deg, rgba(14,14,15,.7) 0%, rgba(14,14,15,0) 55%);
}
.hero .wrap { position: relative; }
.hero__inner { max-width: 760px; padding-block: clamp(64px, 10vw, 132px); color: #fff; }
.hero--page .hero__inner { padding-block: clamp(44px, 6.5vw, 88px); max-width: 820px; }

.hero h1 { color: #fff; }
.hero__lede { font-size: clamp(1.06rem, 1.75vw, 1.32rem); color: #D2D2D8; max-width: 60ch; margin-bottom: 32px; }
.hero .btn-row { margin-bottom: 8px; }
.hero__bottomrule { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }

/* Small trust strip pinned under the hero copy */
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16);
  font-size: .92rem; color: #C3C3CA;
}
.hero__trust strong { color: #fff; font-weight: 600; }

.breadcrumb { font-size: .84rem; color: #A9A9B2; margin-bottom: 18px; letter-spacing: .04em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: #6A6A72; }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: #A9A9B2; text-decoration: none; text-transform: uppercase; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current="page"] { color: #fff; text-transform: uppercase; font-weight: 600; }

/* Urgent-response strip — Diesel Repair leans on this per the SEO brief */
.urgentstrip { background: var(--red); color: #fff; }
.urgentstrip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 22px; padding-block: 16px; text-align: center;
}
.urgentstrip p { margin: 0; font-size: 1.02rem; }
.urgentstrip strong { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.urgentstrip a {
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800;
  font-size: 1.12rem; letter-spacing: .04em; border-bottom: 2px solid rgba(255,255,255,.55);
}
.urgentstrip a:hover { border-bottom-color: #fff; }

/* --------------------------------------------------------------------------
   7. Split rows (image + copy)
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--media-right .split__media { order: 2; }
}
.split + .split { margin-top: clamp(48px, 6vw, 88px); }

.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
/* Thin red key line that anchors the image to the grid */
.split__media::before {
  content: ""; position: absolute; left: -10px; top: 22px; bottom: 22px; width: 4px;
  background: var(--red); border-radius: 2px;
}
@media (max-width: 859px) { .split__media::before { display: none; } }

.split__body h2, .split__body h3 { margin-bottom: .55em; }
.split__body .btn-row { margin-top: 26px; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CFCFD4; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: clamp(22px, 2.4vw, 30px); flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .45em; }
.card__body p { color: var(--steel); font-size: .98rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 18px; }

/* Feature tiles — icon + short claim, no photography */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
}
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { font-size: .96rem; color: var(--steel); margin: 0; }
.section--dark .feature p { color: #A6A6AE; }
.section--dark .feature__icon { background: var(--red); }

/* Checklist used inside service sections */
.checklist { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
@media (min-width: 620px) { .checklist--2col { grid-template-columns: repeat(2, 1fr); } }
.checklist li { position: relative; padding-left: 30px; font-size: .99rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 9px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   9. Trust band
   -------------------------------------------------------------------------- */
.trustband { background: var(--paper-alt); border-block: 1px solid var(--line); text-align: center; }
.rating { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.rating__stars { display: inline-flex; gap: 3px; color: #F5A623; }
.rating__stars svg { width: 22px; height: 22px; }
.rating__text { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.4rem); text-transform: uppercase; letter-spacing: .01em; }
.rating__text span { color: var(--steel); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .8em; }
.trustband__area { color: var(--steel); margin-top: 10px; font-size: 1rem; }

.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: #fff; border-radius: var(--pill);
  padding: 12px 24px; font-family: var(--font-head); font-weight: 700;
  font-size: .84rem; letter-spacing: .07em; text-transform: uppercase; color: var(--black);
}
.badge svg { width: 17px; height: 17px; color: var(--red); flex: none; }

/* --------------------------------------------------------------------------
   10. CTA band
   -------------------------------------------------------------------------- */
.ctaband { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
/* One restrained diagonal, echoing the angle of the logo's ribbon banner */
.ctaband::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 46%;
  background: linear-gradient(115deg, transparent 0 42%, rgba(196,0,0,.16) 42% 100%);
  pointer-events: none;
}
.ctaband .wrap {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 26px; padding-block: clamp(40px, 5vw, 66px);
}
.ctaband h2 { margin: 0 0 .3em; color: #fff; }
.ctaband p { margin: 0; color: #AFAFB7; max-width: 54ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   11. Locations / NAP
   -------------------------------------------------------------------------- */
.locations { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 860px) { .locations { grid-template-columns: repeat(2, 1fr); } }

.location {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.location__map { aspect-ratio: 16 / 10; background: var(--ink); }
.location__map img, .location__map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.location__body { padding: clamp(24px, 2.6vw, 34px); flex: 1; display: flex; flex-direction: column; }
.location__city {
  font-family: var(--font-head); font-weight: 800; font-size: .82rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.location h3 { margin-bottom: .6em; }
.location address { font-style: normal; color: var(--steel); line-height: 1.7; }
.location__phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--black); text-decoration: none; margin-block: 14px 4px; letter-spacing: -.01em;
}
.location__phone svg { width: 19px; height: 19px; color: var(--red); }
.location__phone:hover { color: var(--red); }
.hours { margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 16px; font-size: .95rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; color: var(--steel); }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; }
.location .btn-row { margin-top: 24px; }

/* --------------------------------------------------------------------------
   12. Team
   -------------------------------------------------------------------------- */
.person { text-align: left; }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.person h3 { margin: 18px 0 .2em; font-size: 1.2rem; }
.person p { color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; color: var(--black);
}
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(196,0,0,.14);
}
.field__hint { font-size: .86rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 620px) { .field-row { grid-template-columns: repeat(2, 1fr); } }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.sitefooter { background: var(--black); color: #9A9AA2; padding-top: clamp(48px, 6vw, 76px); font-size: .96rem; }
.sitefooter h2, .sitefooter h3 { color: #fff; }
.footer-grid { display: grid; gap: clamp(28px, 4vw, 44px); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.footer-brand img { height: 58px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; color: #8B8B93; font-size: .94rem; }

.footer-col h3 {
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px; font-weight: 800;
}
.footer-col address { font-style: normal; line-height: 1.75; color: #9A9AA2; }
.footer-col a { color: #D9D9DE; text-decoration: none; }
.footer-col a:hover { color: var(--red); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: #fff !important; margin-top: 10px; }
.footer-phone:hover { color: var(--red) !important; }
.footer-hours { margin-top: 14px; font-size: .9rem; color: #8B8B93; }

.footer-bottom {
  margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between; font-size: .86rem; color: #75757D;
}
.footer-bottom a { color: #9A9AA2; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* --------------------------------------------------------------------------
   15. Mobile click-to-call bar
   Build note: click-to-call must be prominent on every page — a large share
   of traffic is roadside or on a job site.
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--black); border-top: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 10px; text-decoration: none; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.callbar a:first-child { background: var(--red); color: #fff; }
.callbar a svg { width: 17px; height: 17px; }
@media (min-width: 700px) { .callbar { display: none; } }
@media (max-width: 699px) { body { padding-bottom: 56px; } }

/* --------------------------------------------------------------------------
   16. Misc
   -------------------------------------------------------------------------- */
.service-area-note { text-align: center; color: var(--steel); }
.service-area-note strong { color: var(--ink); }

.related { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; margin-bottom: 1.1em; }
.prose li { margin-bottom: .4em; }

.notice {
  border-left: 4px solid var(--red); background: var(--paper-alt);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .96rem;
}

/* --------------------------------------------------------------------------
   MODX build additions (not in the mockup)
   -------------------------------------------------------------------------- */
/* reCAPTCHA v3's floating badge would cover the phone call bar. Hiding it is
   allowed only with Google's attribution line shown by the form's Send
   button (knowledge/web-forms.md). */
.grecaptcha-badge { visibility: hidden; }
/* The request form's thank-you and error notices sit above its first field. */
.formcard .notice { margin-bottom: 24px; }
