/* ==========================================================================
   Components — nav, footer, buttons, hero, trust strip, service cards,
   before/after slider, booking steps, stats, CTA band, badges, forms.
   ========================================================================== */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.btn--accent:hover {
  background: color-mix(in srgb, var(--color-accent) 88%, white);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--step-0);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
}

.btn--block {
  width: 100%;
}

/* Secondary CTA for use over a photo/video background — a translucent
   "glass" chip instead of the plain border used elsewhere, so it stays
   legible over varied image content instead of just outlining transparently. */
.btn--glass {
  background: color-mix(in srgb, var(--color-paper) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-paper) 32%, transparent);
  color: var(--color-paper);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--glass:hover {
  background: color-mix(in srgb, var(--color-paper) 22%, transparent);
  border-color: color-mix(in srgb, var(--color-paper) 45%, transparent);
}

@media (hover: hover) {
  .btn:hover {
    transform: translateY(-1px);
  }
}

/* ---- Site header / nav ----------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-graphite) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-block: var(--space-3);
}

.site-header__logo {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
  margin-right: auto;
}

.site-header__logo-mark {
  color: var(--color-accent);
  font-size: var(--step-1);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* "TWB Waste Removals" wraps to two lines below ~420px at the default
   size, which grows the header past the mobile nav dropdown's hardcoded
   --header-h fallback (4rem) and misaligns it. Step down one size so the
   full name still fits on one line instead of shrinking the layout. */
@media (max-width: 420px) {
  .site-header__logo-mark {
    font-size: var(--step-0);
  }
}

.site-header__logo-full {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--color-text-muted);
  display: none;
}

.site-nav__list {
  display: flex;
  gap: var(--space-5);
}

.site-nav__list a {
  text-decoration: none;
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  color: var(--color-text);
  border-color: var(--color-accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-header__phone {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-decoration: none;
  color: var(--color-text);
  display: none;
}

.site-header__toggle {
  display: none;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
}

.site-header__toggle-bars,
.site-header__toggle-bars::before,
.site-header__toggle-bars::after {
  content: "";
  position: absolute;
  width: 1.4rem;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}

.site-header__toggle-bars::before { transform: translateY(-6px); }
.site-header__toggle-bars::after { transform: translateY(6px); }

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bars {
  background: transparent;
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bars::before {
  transform: rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] .site-header__toggle-bars::after {
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .site-header__toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h, 4rem) 0 auto 0;
    background: var(--color-graphite);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
  }

  .site-nav--open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) var(--container-pad) var(--space-6);
  }

  .site-nav__list a {
    display: block;
    padding-block: var(--space-3);
    border-bottom: 1px solid var(--color-border);
  }
}

@media (min-width: 560px) {
  .site-header__phone { display: inline; }
}

@media (min-width: 860px) {
  .site-header__logo-full { display: inline; }
}

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

.hero {
  padding-block: var(--space-9) var(--space-8);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__title {
  margin-top: var(--space-3);
  font-size: var(--step-5);
  font-weight: 600;
  max-width: 20ch;
}

.hero__subtitle {
  margin-top: var(--space-4);
  font-size: var(--step-1);
  color: var(--color-text-muted);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}

.hero.is-revealed [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.hero.is-revealed [data-reveal="1"] { transition-delay: 60ms; }
.hero.is-revealed [data-reveal="2"] { transition-delay: 140ms; }
.hero.is-revealed [data-reveal="3"] { transition-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  .hero [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---- Hero (media variant — homepage only) ----------------------------------
   A full-bleed real photo behind the hero copy, with a dark scrim so text
   stays readable. Left-to-right on wide screens (subject sits right, text
   sits left, matching the source crop); a fuller wash on narrow screens
   where the copy has to sit across the whole width. */

.hero--media {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-9);
  min-height: min(86vh, 44rem);
  display: flex;
  align-items: center;
}

.hero--media__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--media__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}

.hero--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Stops are in rem, not %, so the strongly-scrimmed zone always covers the
     text column (max-width 42rem + container padding) regardless of how
     wide the viewport is — % stops would fade out under the text on very
     wide monitors, since the centred container drifts away from the left
     edge the gradient is anchored to. */
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--color-graphite) 96%, transparent) 0,
    color-mix(in srgb, var(--color-graphite) 90%, transparent) 30rem,
    color-mix(in srgb, var(--color-graphite) 75%, transparent) 48rem,
    color-mix(in srgb, var(--color-graphite) 30%, transparent) 68rem,
    color-mix(in srgb, var(--color-graphite) 12%, transparent) 90rem
  );
}

@media (max-width: 767px) {
  .hero--media::before {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-graphite) 95%, transparent) 0%,
      color-mix(in srgb, var(--color-graphite) 88%, transparent) 55%,
      color-mix(in srgb, var(--color-graphite) 96%, transparent) 100%
    );
  }
}

.hero--media__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.hero--media .hero__title {
  font-size: clamp(2.75rem, 2.05rem + 4.6vw, 5.25rem);
  font-weight: 800;
  max-width: 18ch;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-blue) 45%, transparent);
  background: color-mix(in srgb, var(--color-blue) 14%, transparent);
  color: var(--color-blue);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__overline .icon-check {
  color: var(--color-blue);
}

/* ---- Hero rating strip (homepage) ---------------------------------------------
   The review stats used to live in their own section at the bottom of the
   page — moved up here so it's visible without scrolling, trimmed to just
   the number that carries the trust (100% / review count), not the full
   follower-count breakdown that section had room for. */

.hero__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-5);
}

.hero__rating-stars {
  display: inline-flex;
  gap: 2px;
}

.hero__rating-stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--color-accent);
}

.hero__rating-text {
  font-size: var(--step--1);
  color: var(--color-paper);
}

.hero__rating-text strong {
  font-weight: 700;
}

/* ---- Trust pills (homepage hero) --------------------------------------------- */

.trust-pills {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-graphite) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-paper) 18%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--color-paper);
}

.icon-check {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-trust);
  flex-shrink: 0;
}

/* ---- Section scaffolding ---------------------------------------------------- */

.section {
  padding-block: var(--space-9);
}

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

/* Featured/centrepiece section (before/after slider) — extra vertical room
   and a faint amber-tinted band so it reads as the standout trust asset
   rather than one entry in a list of equal-weight sections. */
.section--showcase {
  padding-block: var(--space-10);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--color-blue) 7%, transparent), transparent 70%),
    var(--color-surface);
}

@media (max-width: 640px) {
  .section--showcase {
    padding-block: var(--space-8);
  }
}

.section__header {
  max-width: 42rem;
  margin-bottom: var(--space-7);
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section__title {
  margin-top: var(--space-2);
  font-size: var(--step-3);
  font-weight: 600;
}

.section__intro {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--step-0);
}

.section__footer {
  margin-top: var(--space-6);
}

/* ---- Services grid ----------------------------------------------------------- */

/* Down to four cards, a 2-up grid keeps this feeling like a compact,
   scannable set rather than a long stack — even on a phone. */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

/* Only the narrowest phones drop to a single column — two 15.5rem-ish cards
   side by side stop fitting comfortably below ~380px. */
@media (max-width: 380px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-5);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: transform var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--color-accent) 50%, var(--color-border));
  }
}

.service-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.service-card__name {
  margin-top: var(--space-4);
  font-size: var(--step--1);
  font-weight: 600;
}

.service-card__desc {
  margin-top: var(--space-2);
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .service-card__name {
    font-size: var(--step-0);
  }
}

.services-more {
  margin-top: var(--space-6);
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

.services-more a {
  color: var(--color-accent);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---- Licensed & insured trust highlights row ---------------------------------- */

.trust-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.trust-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--step--1);
  font-weight: 600;
}

.trust-highlight svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ---- Licensed & insured trust explainer -------------------------------------- */

/* Mobile (single column): DOM order runs intro → photo → body, so the photo
   breaks up the two paragraph blocks instead of sitting after all the text.
   Desktop: grid-template-areas re-lays the same markup into two columns with
   the photo spanning the full right-hand height. */
.trust-explainer {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 860px) {
  .trust-explainer {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "intro photo"
      "body  photo";
    align-items: start;
  }

  .trust-explainer__intro { grid-area: intro; }
  .trust-explainer__body { grid-area: body; }
  .trust-explainer__proof { grid-area: photo; }
}

.trust-explainer__body p + p {
  margin-top: var(--space-4);
}

.trust-explainer__body strong {
  color: var(--color-text);
}

.trust-explainer__proof {
  background: var(--color-graphite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.trust-explainer__proof img {
  border-radius: var(--radius-sm);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 75%;
  width: 100%;
  /* The HTML width/height attributes (900x1200, for no-JS/no-CSS layout
     stability) otherwise win over aspect-ratio for the actual box height,
     since nothing else here sets `height` to contest them. */
  height: auto;
}

/* The source photo is mostly sky above the truck — fine at 3:4 next to a
   full column of text on desktop, but a long scroll of mostly-sky on a
   phone where it stacks full-width. Crop shorter and keep the same
   downward bias so the truck stays the focus. */
@media (max-width: 859px) {
  .trust-explainer__proof img {
    aspect-ratio: 4 / 3;
  }
}

.trust-explainer__proof figcaption {
  margin-top: var(--space-3);
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

.trust-explainer__reg {
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

.trust-explainer__reg strong {
  color: var(--color-blue);
  font-weight: 600;
}

/* ---- Booking steps ------------------------------------------------------------ */

.booking-steps {
  display: grid;
  gap: var(--space-7);
}

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

.booking-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.booking-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 45%, transparent);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--color-accent);
}

.booking-step__title {
  font-size: var(--step-0);
  font-weight: 600;
}

.booking-step__desc {
  color: var(--color-text-muted);
  font-size: var(--step--1);
}

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

.cta-band {
  text-align: center;
  padding-block: var(--space-9);
}

.cta-band__phone {
  font-family: var(--font-mono);
  font-size: var(--step-4);
  color: var(--color-accent);
  text-decoration: none;
  display: inline-block;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.cta-band__link {
  margin-top: var(--space-5);
  font-size: var(--step--1);
}

.cta-band__link a {
  color: var(--color-text-muted);
  text-underline-offset: 3px;
}

.cta-band__link a:hover {
  color: var(--color-text);
}

/* ---- Before/after slider ------------------------------------------------------------ */

.ba-slider {
  --ba-pos: 50%;
}

.ba-slider__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  touch-action: pan-y;
  cursor: ew-resize;
  box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.45);
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__img--before {
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 2px;
  background: var(--color-blue);
  transform: translateX(-1px);
  pointer-events: none;
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-blue);
  border: 3px solid var(--color-graphite);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-slider__handle::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  background:
    linear-gradient(currentColor, currentColor) left center / 40% 2px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 40% 2px no-repeat;
  color: var(--color-graphite);
}

.ba-slider__tag {
  position: absolute;
  top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-graphite) 65%, transparent);
  color: var(--color-paper);
  pointer-events: none;
}

.ba-slider__tag--before { left: var(--space-3); }
.ba-slider__tag--after { right: var(--space-3); }

.ba-slider__caption {
  margin-top: var(--space-3);
  font-size: var(--step--1);
  color: var(--color-text-muted);
  text-align: center;
}

.ba-slider-row {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 860px) {
  .ba-slider-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ba-gallery-grid {
  display: grid;
  gap: var(--space-7);
}

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

  /* Three items in a 2-column grid leaves a lone last item stranded in the
     left column with an empty gap beside it — span and centre it instead. */
  .ba-gallery-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-7) / 2);
    margin-inline: auto;
  }
}

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

  .ba-gallery-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }
}

.gallery-still {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
}

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

.gallery-still figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

/* ---- Compact badge (Contact page) ----------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  /* 8% (not the more obvious ~16%) keeps the background dark enough that
     the trust-green text clears WCAG AA (4.5:1) — 16% measured 4.2:1. */
  background: color-mix(in srgb, var(--color-trust) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-trust) 40%, transparent);
  color: var(--color-trust);
  font-size: var(--step--1);
  font-weight: 600;
}

/* ---- Contact actions + form -------------------------------------------------------------- */

.contact-actions {
  display: grid;
  gap: var(--space-3);
  max-width: 26rem;
}

.contact-actions .btn {
  justify-content: flex-start;
  padding-block: var(--space-4);
}

.contact-form {
  display: grid;
  gap: var(--space-4);
  max-width: 34rem;
}

.form-field {
  display: grid;
  gap: var(--space-2);
}

.form-field label {
  font-size: var(--step--1);
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  background: var(--color-graphite);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  color: var(--color-text);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--color-accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-note {
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

.form-status {
  font-size: var(--step--1);
  min-height: 1.2em;
}

.form-status[data-state="success"] { color: var(--color-trust); }
.form-status[data-state="error"] { color: var(--color-accent); }

.info-list {
  display: grid;
  gap: var(--space-3);
}

.info-list dt {
  font-size: var(--step--1);
  color: var(--color-text-muted);
}

.info-list dd {
  font-size: var(--step-0);
  font-weight: 500;
}

/* ---- Site footer ------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-8);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-7);
}

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

.site-footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
}

.site-footer__muted {
  color: var(--color-text-muted);
  font-size: var(--step--1);
  margin-top: var(--space-2);
}

.site-footer__col > p + p,
.site-footer__col > p + a {
  margin-top: var(--space-2);
}

.site-footer__col a {
  text-decoration: none;
  font-size: var(--step--1);
}

.site-footer__col a:hover {
  color: var(--color-accent);
}

.site-footer__heading {
  font-weight: 600;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.site-footer__list {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
  font-size: var(--step--1);
}

.site-footer__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
}

.site-footer__bottom {
  margin-top: var(--space-7);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--step--1);
  color: var(--color-text-muted);
}
