/* Homepage hero — layered, local-service feel */
.page-hero {
  padding-top: var(--space-xl);
  padding-bottom: var(--section-padding-mobile);
  background: linear-gradient(165deg, var(--color-grey) 0%, #eef2f7 48%, var(--color-white) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 85% 20%, rgba(247, 201, 72, 0.12), transparent 55%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .page-hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--section-padding-desktop);
  }
}

.page-hero--tall {
  min-height: auto;
}

@media (min-width: 1024px) {
  .page-hero--tall {
    min-height: 560px;
  }
}

/* Homepage hero — full-bleed photo + directional scrim + inline form */
.page-hero--home {
  position: relative;
  isolation: isolate;
  background: #0b1118;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero--home::before {
  display: none;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) brightness(0.52);
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 18, 0.94) 0%,
    rgba(8, 12, 18, 0.82) 38%,
    rgba(8, 12, 18, 0.45) 58%,
    rgba(8, 12, 18, 0.22) 100%
  );
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero--home .page-hero__grid {
  align-items: stretch;
}

@media (min-width: 1024px) {
  .page-hero--home.page-hero--tall {
    min-height: 600px;
  }
}

.page-hero__copy h1 {
  color: var(--color-white);
  max-width: 20ch;
}

@media (min-width: 768px) {
  .page-hero__copy h1 {
    max-width: none;
  }
}

.hero-title-accent {
  color: var(--color-yellow);
}

.page-hero__lead {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 36rem;
}

.badge--hero {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(247, 201, 72, 0.4);
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-yellow);
  box-shadow: 0 0 0 2px rgba(247, 201, 72, 0.35);
  flex-shrink: 0;
}

.hero-chips--on-dark .hero-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

.hero-chips--on-dark .hero-chip__icon {
  color: var(--color-yellow);
}

.list-check--on-dark li {
  color: rgba(255, 255, 255, 0.92);
}

.list-check--on-dark li .material-symbols-outlined {
  color: var(--color-yellow);
}

.page-hero__form {
  align-self: start;
}

.form-card--hero {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  scroll-margin-top: calc(var(--header-height) + var(--space-md));
}

.form-card--hero__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--color-navy);
}

.form-card--hero__intro {
  margin: 0 0 20px;
  font-size: 0.9375rem;
}

.form-card--hero .form-field textarea {
  min-height: 88px;
}

.form-card--hero .btn-primary .material-symbols-outlined {
  vertical-align: middle;
  margin-right: 4px;
}

/* Contact option cards */
.contact-options .grid-2 > .card:nth-child(1) {
  border: 2px solid var(--color-yellow);
}

.contact-options .card h3 {
  margin-top: 0;
}

/* Contact layout */
.contact-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-aside li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  list-style: none;
}

.contact-aside li::marker {
  content: none;
}

.contact-aside .material-symbols-outlined {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  max-height: 2.75rem;
  padding: 0;
  box-sizing: border-box;
  font-size: 1.35rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  background: rgba(247, 201, 72, 0.2);
  color: var(--color-yellow-dark);
  overflow: hidden;
}

/* Urgent strip */
.urgent-strip .inner {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .urgent-strip .inner {
    grid-template-columns: 1fr auto;
  }
}

.urgent-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.urgent-strip__intro {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: flex-start;
}

.urgent-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  box-shadow: 0 0 20px rgba(247, 201, 72, 0.35);
}

/* Areas grid on location page */
.area-card h3 {
  margin-bottom: 6px;
}

.area-card .area-card__desc {
  font-size: 0.8125rem;
}

.area-card .material-symbols-outlined {
  color: var(--color-yellow-dark);
}

/* Service hub secondary row */
.support-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.support-card .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(247, 201, 72, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow-dark);
}

/* YDE list */
.yde-checklist.card {
  list-style: none;
  margin: 0;
  padding: var(--space-xl);
}

.yde-checklist li {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.yde-checklist .icon-wrap {
  flex-shrink: 0;
  padding: 8px;
  border-radius: 50%;
  background: rgba(47, 133, 90, 0.12);
}

.yde-checklist .material-symbols-outlined {
  color: var(--color-green);
}

/* Process line (home) */
.process-line {
  position: relative;
}

@media (min-width: 768px) {
  .process-line::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-grey-border);
    z-index: 0;
  }
}

.process-line .process-step {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .process-line .process-step {
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
    align-items: center;
  }

  .process-line .process-step__num {
    position: static;
    margin: 0 auto 12px;
    border-color: var(--color-white);
  }
}

/* Areas band — map illustration (desktop) */
.map-deco {
  display: none;
}

@media (min-width: 1024px) {
  .map-deco {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .map-deco__figure {
    margin: 0;
    width: min(100%, 420px);
  }

  .map-deco__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-grey-border);
    box-shadow: var(--shadow-md);
    background: var(--color-white);
  }
}

.areas-band {
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  border: 1px solid var(--color-grey-border);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.areas-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(circle at 20% 30%, rgba(16, 42, 67, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(16, 42, 67, 0.05) 0%, transparent 40%),
    linear-gradient(135deg, rgba(217, 226, 236, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.areas-band > * {
  position: relative;
  z-index: 1;
}

/* Service hub — main four vs supporting */
.service-hub-main {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .service-hub-main {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-hub-secondary {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  margin-top: var(--space-xl);
}

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

.hub-help-card {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.contact-step-num {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(247, 201, 72, 0.35);
  line-height: 1;
}

.yde-section__grid {
  align-items: center;
}

.urgent-strip__label {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--color-yellow);
  border: 1px solid rgba(247, 201, 72, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-media--compact {
  max-height: 320px;
}

.card-icon-lg {
  font-size: 32px;
  color: var(--color-yellow-dark);
}

.card-span-full {
  grid-column: 1 / -1;
}

.text-cta-footnote {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.process-num-lg {
  margin-bottom: var(--space-sm);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-yellow-dark);
  line-height: 1;
}

.breadcrumb-nav {
  font-size: 0.875rem;
}

.urgent-eyebrow-row {
  color: var(--color-yellow);
}

.form-privacy-note {
  font-size: 0.75rem;
}

.form-privacy-note__icon {
  font-size: 14px;
  vertical-align: middle;
}

.urgent-safety-hint {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: #fcd34d;
}

.urgent-safety-hint__icon {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Area pills — align icon baseline with label on every page */
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.area-pills .material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.125rem;
}

.areas-band .area-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .areas-band .area-pills {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Stitch HTML inside #main-content (Tailwind CDN + stitch-tailwind-init.js) */
.stitch-main {
  font-family: Inter, system-ui, sans-serif;
}

/* Site buttons inside Stitch sections (same pattern as header CTA) */
.stitch-main .btn {
  text-decoration: none;
}

.stitch-404-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.stitch-404-body #main-content.stitch-main--404 {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
