/* ==========================================================================
   Seal Coating Co. — site styles
   Vanilla CSS, mobile-first. Design tokens per brief §3.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --construction-red: #C8102E; /* single-line swap if client wants brick/rust later */
  --red-hover: #A00C24;
  --asphalt: #121417;
  --charcoal: #1E2228;
  --slate: #2C323A;
  --concrete: #F3F4F6;
  --white: #FFFFFF;
  --ink: #15181C;
  /* Darkened from the brief's #6B7280 — that value measures 4.36:1 on
     --concrete, just under WCAG AA (4.5:1). This clears it on both bgs. */
  --muted: #5D6673;
  /* Red for TEXT on dark sections only — brand red #C8102E measures
     3.1:1 on asphalt / 2.7:1 on charcoal, failing AA. Painted bars and
     buttons keep --construction-red (decorative / white-on-red). */
  --red-on-dark: #FF5062;

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --container: 1200px;
  --radius: 10px;
  --shadow-card: 0 4px 18px rgba(18, 20, 23, 0.08);

  --header-h: 72px;
  --mobile-bar-h: 62px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

ul[class],
ol[class] {
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ---------- Focus & skip link ---------- */
:focus-visible {
  outline: 3px solid var(--construction-red);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.mobile-bar :focus-visible {
  outline-color: var(--white);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--construction-red);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
  top: 0;
}

/* ---------- Type ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-stretch: 125%; /* Archivo variable wdth axis — verify it loads */
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
}

/* Eyebrow + painted stall line (signature motif) */
.eyebrow {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--construction-red);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 54px;
  height: 6px;
  margin-bottom: 12px;
  background: var(--construction-red);
}

/* Red text needs the brighter red on dark surfaces to clear AA */
.section--dark .eyebrow,
.section--charcoal .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--red-on-dark);
}

/* Red painted underline for one key word in a headline */
.stripe-word {
  background: linear-gradient(var(--construction-red), var(--construction-red))
    0 90% / 100% 0.14em no-repeat;
  padding-bottom: 0.08em;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 60px;
}

.section--light {
  background: var(--concrete);
  color: var(--ink);
}

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

.section--dark {
  background: var(--asphalt);
  color: var(--white);
}

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

.section--dark .lede,
.section--charcoal .lede {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

.section--dark .section-head p,
.section--charcoal .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .section {
    padding-block: 108px;
  }

  .section-head {
    margin-bottom: 56px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn--primary {
  background: var(--construction-red);
  color: var(--white);
}

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

.btn--ghost {
  border-color: currentColor;
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn--ghost-dark:hover {
  background: rgba(21, 24, 28, 0.06);
}

/* ---------- Image placeholders ---------- */
/* Swap flow: replace the whole .img-placeholder div with
   <img src="..." alt="(use the label text as a starting point)">      */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  aspect-ratio: var(--ph-ratio, 16 / 10);
  border: 2px dashed var(--muted);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    45deg,
    rgba(107, 114, 128, 0.12) 0 14px,
    rgba(107, 114, 128, 0.03) 14px 28px
  );
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section--dark .img-placeholder,
.section--charcoal .img-placeholder {
  border-color: var(--slate);
  color: rgba(255, 255, 255, 0.55);
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0 14px,
    rgba(255, 255, 255, 0.01) 14px 28px
  );
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--asphalt);
  color: var(--white);
  border-bottom: 1px solid var(--slate);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding-block: 16px;
}

/* Brand / logo — single component reused in header + footer. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

/* Sizing experiment per client request — was 34px, trying 125px to see
   it bigger before dialing back in. Header will grow past --header-h
   at this size since min-height, not a hard cap, allows that. */
.brand-mark {
  width: 125px;
  height: 125px;
  flex: none;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--white);
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-stretch: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red-on-dark);
}

.site-nav ul {
  display: flex;
  gap: 26px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.site-nav a:hover {
  color: var(--white);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--red-on-dark);
}

.header-cta {
  display: none;
  padding: 11px 20px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1049px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--slate);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 20px;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
  }
}

@media (min-width: 1050px) {
  .nav-toggle {
    display: none;
  }

  .header-phone,
  .header-cta {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--asphalt);
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .img-placeholder {
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.hero-media::after {
  /* dark overlay so text stays readable once a real photo drops in */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(18, 20, 23, 0.94) 25%,
    rgba(18, 20, 23, 0.72) 65%,
    rgba(18, 20, 23, 0.55)
  );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-block: 84px 64px;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 18px;
}

.hero .lede {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badges li::before {
  content: "";
  width: 14px;
  height: 4px;
  background: var(--construction-red);
}

@media (min-width: 900px) {
  .hero .container {
    padding-block: 140px 110px;
  }
}

/* ---------- Stat bar ---------- */
.stats {
  background: var(--charcoal);
  color: var(--white);
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

.stats .container {
  display: grid;
  /* minmax(0,1fr) lets columns shrink below long single words ("SealMaster") */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  padding-block: 40px;
}

.stat b {
  /* flex + min-height bottom-aligns all four numerals on one visual
     baseline even though the word stat renders smaller */
  display: flex;
  align-items: flex-end;
  min-height: clamp(1.4rem, 5.5vw, 2.9rem);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(1.4rem, 5.5vw, 2.9rem);
  line-height: 1;
  color: var(--red-on-dark);
  text-transform: uppercase;
}

/* Direct child only — the count-up <span> inside <b> must inherit the
   big numeral styling, not the label styling */
.stat > span {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 768px) {
  .stats .container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 52px;
  }
}

.stats-cert-badge {
  grid-column: 1 / -1;
  justify-self: center;
  margin-bottom: 4px;
}

/* Stats section bg is already --charcoal, same as the badge's own
   default fill — swap to --asphalt here so the card still reads
   against its surroundings instead of disappearing into them. */
.stats .cert-badge {
  background: var(--asphalt);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.service-card .img-placeholder {
  --ph-ratio: 16 / 9;
  border: 0;
  border-bottom: 2px dashed var(--muted);
  border-radius: 0;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 22px 24px;
}

.service-body p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-link {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--construction-red);
}

.service-link:hover {
  color: var(--red-hover);
  text-decoration: underline;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  gap: 28px;
}

.why-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
}

.why-item::before {
  /* painted stall line — carries the item instead of decorative numbering */
  content: "";
  display: block;
  width: 54px;
  height: 6px;
  margin-bottom: 16px;
  background: var(--construction-red);
}

.why-item h3 {
  margin-bottom: 10px;
}

.why-item p {
  color: var(--muted);
  font-size: 0.96rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Owners ---------- */
.owners-grid {
  display: grid;
  gap: 48px;
}

.owner-photo {
  --ph-ratio: 9 / 16;
  max-width: 300px;
  margin-bottom: 20px;
}

img.owner-photo {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 38%, var(--charcoal) 0%, var(--asphalt) 72%);
}

.owner-role {
  margin-top: 4px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-on-dark);
}

.owner-card p:not(.owner-role) {
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 700px) {
  .owners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
  }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 34px;
  position: relative;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 24px;
}

.step::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 24px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--construction-red);
}

.step h3 {
  margin: 0 0 8px;
  padding-top: 44px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* dashed road center-line connector */
.steps::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  border-left: 4px dashed var(--construction-red);
  opacity: 0.75;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .step {
    padding-left: 0;
    padding-top: 26px;
  }

  .step::after {
    left: 0;
    top: 26px;
  }

  .steps::before {
    top: 8px;
    bottom: auto;
    left: 6px;
    right: 6px;
    border-left: 0;
    border-top: 4px dashed var(--construction-red);
  }
}

/* ---------- The difference (before/after + process) ---------- */
.ba-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 48px;
}

.ba-figure figcaption {
  margin-top: 10px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.ba-figure figcaption b {
  color: var(--red-on-dark);
}

.process-grid {
  display: grid;
  gap: 20px;
}

.process-panel .img-placeholder {
  --ph-ratio: 4 / 3;
  margin-bottom: 12px;
}

.process-panel p {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* ---------- Benefit list (Difference section) ---------- */
.benefit-list {
  max-width: 780px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding-block: 28px;
  border-top: 1px solid var(--slate);
}

.benefit:last-child {
  border-bottom: 1px solid var(--slate);
}

.benefit-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--slate);
  border-radius: 10px;
  background: var(--charcoal);
  color: #E8EAED;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
}

.benefit h3 {
  margin-bottom: 6px;
}

.benefit p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.97rem;
  max-width: 60ch;
}

/* Roll-in on scroll: stronger travel + overshoot ease than the generic
   .reveal fade, scoped here via extra specificity so it doesn't touch
   other sections. Each row triggers independently as it enters view. */
.js .benefit-list .benefit {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .benefit-list .benefit.is-visible {
  opacity: 1;
  transform: none;
}

/* Gentle stagger when several rows enter the viewport together */
.js .benefit-list .benefit:nth-child(2) { transition-delay: 0.08s; }
.js .benefit-list .benefit:nth-child(3) { transition-delay: 0.16s; }
.js .benefit-list .benefit:nth-child(4) { transition-delay: 0.24s; }
.js .benefit-list .benefit:nth-child(5) { transition-delay: 0.32s; }

/* Optional photo background for the section (add .has-bg + images/difference-bg.png) */
#difference.has-bg {
  background: linear-gradient(rgba(18, 20, 23, 0.92), rgba(18, 20, 23, 0.92)),
    url("../images/difference-bg.png") center / cover no-repeat;
}

/* ---------- Why it matters ---------- */
.matters-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.matters-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
}

.matters-card b {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: var(--construction-red);
  margin-bottom: 10px;
}

.matters-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .matters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Coverage ---------- */
.town-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 32px auto 0;
}

.town-chips li {
  padding: 7px 14px;
  border: 1px solid var(--slate);
  border-radius: 999px;
  background: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.town-chips li:hover {
  border-color: var(--construction-red);
  background: var(--construction-red);
  color: var(--white);
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band .lede {
  margin: 16px auto 30px;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Contact page ---------- */
.page-hero .container {
  padding-block: 56px 48px;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 14px;
}

.contact-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: start;
  }
}

/* Form */
.quote-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
}

.quote-form h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}

.field-row .field {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.field .req {
  color: var(--construction-red);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid #D3D6DB;
  border-radius: 8px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--construction-red);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-hover);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--construction-red);
}

.field.has-error .field-error {
  display: block;
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.form-status.is-success {
  display: block;
  background: #E8F5EC;
  border: 2px solid #2F855A;
  color: #22543D;
}

.form-status.is-error {
  display: block;
  background: #FDECEE;
  border: 2px solid var(--construction-red);
  color: var(--red-hover);
}

/* Contact info card */
.contact-info {
  display: grid;
  gap: 26px;
}

.info-block h3 {
  margin-bottom: 6px;
}

.info-block a {
  font-weight: 800;
  color: var(--construction-red);
  text-decoration: none;
}

.info-block a:hover {
  text-decoration: underline;
}

.info-block p {
  color: var(--muted);
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-badges li::before {
  content: "";
  width: 14px;
  height: 4px;
  background: var(--construction-red);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--asphalt);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 44px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 0.95rem;
}

.cert-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--slate);
  border-radius: var(--radius);
  background: var(--charcoal);
}

.cert-badge-logo {
  width: 150px;
  height: auto;
}

.cert-badge-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h3 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 14px;
}

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

.footer-col a {
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--slate);
  padding: 18px 0;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 4fr 2.5fr 2.5fr 3fr;
    gap: 32px;
  }
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--asphalt);
  border-top: 1px solid var(--slate);
  padding: 8px;
  gap: 8px;
}

.mobile-bar .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.95rem;
}

@media (max-width: 1049px) {
  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: var(--mobile-bar-h);
  }
}

/* ---------- Scroll reveals & motion ---------- */
/* Only hide when JS is running (html.js) so content is never lost without JS */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

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