/* ============================================
   W&W Asphalt — York County, PA
   Warm gold (#CF9714) + charcoal (#181818) + cream.
   Big Shoulders Display (heavy industrial signage) +
   Saira Condensed (engineering / blueprint UI) +
   Manrope (geometric body).
   Distinctive motif: dashed yellow lane-line road
   stripes recur as section dividers, hero accents,
   mile-marker process steps, and exit-sign area tiles.
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-width: thin;
  scrollbar-color: #cf9714 #181818;
  overflow-x: clip;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #181818; }
::-webkit-scrollbar-thumb { background: #cf9714; border-radius: 4px; border: 2px solid #181818; }
::-webkit-scrollbar-thumb:hover { background: #e8b23a; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Fixed gold brand stripe across the very top — a permanent lane line above
   the header. Slight dash pattern echoes road-stripe motif. */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent) 0 28px,
      transparent 28px 38px
    );
  z-index: 10000;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(207, 151, 20, 0.55));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover { text-decoration: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

ul, ol { list-style: none; }

::selection {
  background: rgba(207, 151, 20, 0.55);
  color: #fff;
}

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


/* --- 2. Custom Properties --- */
:root {
  /* W&W warm gold — sodium-lamp / road-sign amber, not bright lemon yellow */
  --accent: #cf9714;
  --accent-bright: #e8b23a;
  --accent-deep: #a67710;
  --accent-soft: rgba(207, 151, 20, 0.22);
  --accent-glow: rgba(232, 178, 58, 0.55);
  --accent-undertone: rgba(207, 151, 20, 0.10);

  /* Lane-line yellow — the bright dashed-stripe color used on real roads.
     Slightly hotter than --accent so the road motif pops. */
  --lane: #f5c842;
  --lane-soft: rgba(245, 200, 66, 0.4);

  /* Cream / heritage paper */
  --cream: #f5f0e6;
  --cream-soft: rgba(245, 240, 230, 0.12);

  /* Warm gray — Susquehanna stone */
  --ash: #8d8881;
  --ash-deep: #555550;
  --ash-soft: rgba(141, 136, 129, 0.18);

  /* Warm gold gradient — for badges, headings, accents */
  --gold-grad: linear-gradient(135deg, #e8b23a 0%, #cf9714 50%, #a67710 100%);
  --gold-grad-soft: linear-gradient(135deg, rgba(232, 178, 58, 0.18) 0%, rgba(207, 151, 20, 0.15) 100%);

  /* Backgrounds: charcoal not pure black — gives the gold more depth */
  --bg-page: #181818;
  --bg-elevated: #222222;
  --bg-card: #2a2a2a;
  --bg-muted: #303030;

  --border: rgba(245, 240, 230, 0.10);
  --border-accent: rgba(207, 151, 20, 0.45);
  --border-cream: rgba(245, 240, 230, 0.18);

  --text: #f5f0e6;
  --text-muted: #f5f0e6;
  --text-subtle: #e8e3d8;
  --text-faint: rgba(245, 240, 230, 0.7);

  --radius: 4px;
  --radius-lg: 8px;
  --max-w: 1200px;

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);

  /* Big Shoulders Display: heavy industrial signage face. The fallback chain
     drops to a condensed sans, then any system serif as last resort. */
  --font-display: 'Big Shoulders Display', 'Oswald', 'Impact', sans-serif;
  --font-ui: 'Saira Condensed', 'Oswald', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}


/* --- 3. Typography System --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.005em;
  font-weight: 800;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-page);
  margin-bottom: 1.15rem;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(207, 151, 20, 0.4);
  position: relative;
}

/* Tiny dashed lane segment in front of the label — road-sign callout feel */
.section-label::before {
  content: '';
  width: 14px;
  height: 3px;
  background:
    linear-gradient(90deg, var(--bg-page) 0 5px, transparent 5px 8px, var(--bg-page) 8px 14px);
  flex-shrink: 0;
  opacity: 0.9;
}

.section-header--center .section-label { align-self: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 1.15rem;
}

.section-intro {
  font-family: var(--font-body);
  color: var(--text-subtle);
  max-width: 60ch;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.text-accent {
  color: var(--accent-bright);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 32px rgba(232, 178, 58, 0.4);
}


/* --- 4. Layout Utilities --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  position: relative;
}

.section--dark { background: var(--bg-page); }

/* Diagonal asphalt-pinstripe on dark sections — echoes road surface striping */
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 42px,
      rgba(207, 151, 20, 0.022) 42px,
      rgba(207, 151, 20, 0.022) 43px
    );
  pointer-events: none;
  z-index: 0;
}

.section--dark > * { position: relative; z-index: 1; }

.section--elevated {
  background: var(--bg-elevated);
  position: relative;
}

.section--elevated::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(207, 151, 20, 0.12), transparent 55%),
    radial-gradient(circle at 12% 92%, rgba(245, 240, 230, 0.04), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.section--elevated > * { position: relative; z-index: 1; }

.section-header { margin-bottom: 2.5rem; }
.section-header--center { text-align: center; }
.section-header--center .section-intro { margin-left: auto; margin-right: auto; }


/* --- 4b. Section-break: dashed yellow lane line --- */
/* Sits between sections — a continuous double-stripe that visually reads as a
   highway centerline. The line itself is the W&W brand motif made physical. */
.lane-break {
  position: relative;
  height: 28px;
  background: var(--bg-page);
  overflow: hidden;
  z-index: 2;
}

.lane-break::before,
.lane-break::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
}

.lane-break::before {
  top: 8px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--lane) 0 36px,
      transparent 36px 56px
    );
  opacity: 0.95;
}

.lane-break::after {
  top: 16px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--lane) 0 36px,
      transparent 36px 56px
    );
  opacity: 0.65;
  transform: translateX(28px);
}

.lane-break--inverse { background: var(--bg-elevated); }


/* --- 5. Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--gold-grad);
  color: var(--bg-page);
  font-weight: 700;
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
  border-radius: var(--radius);
}

.skip-link:focus { left: 0.5rem; }

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


/* --- 6. Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 4px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px var(--accent-glow);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}


/* --- 7. Grain Overlay — asphalt texture --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}


/* --- 8. Header + Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header--scrolled {
  background: rgba(24, 24, 24, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid var(--accent-soft);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 136px;
  gap: 1rem;
  transition: height 0.35s var(--ease);
}

.header--scrolled .header-inner { height: 80px; }

.header-brand {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 118px;
  width: auto;
  transition: height 0.35s var(--ease), transform 0.3s var(--ease), filter 0.3s ease;
  filter:
    drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 18px rgba(232, 178, 58, 0.22));
}

.header--scrolled .header-logo { height: 62px; }

.header-logo:hover {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 0 16px rgba(232, 178, 58, 0.55));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 6px,
      transparent 6px 9px
    );
  transform-origin: bottom right;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.nav-links a:hover { color: var(--accent-bright); }

.nav-links a:hover::after {
  transform-origin: bottom left;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.header--scrolled .header-cta {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 50;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-toggle--active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle--active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #2a2a2a 0%, #181818 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 51;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 3px solid var(--accent);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu--open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--accent-bright);
  padding-left: 0.5rem;
}

.mobile-menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg-page);
  font-size: 1.5rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.mobile-menu-close:hover { background: var(--accent-bright); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}

.nav-backdrop:not([hidden]) { display: block; }


/* --- 9. Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-page);
  padding-top: clamp(10rem, 18vh, 13rem);
}

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

.hero-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 5.5rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  z-index: 0;
  filter: saturate(0.8) contrast(1.18) grayscale(0.18);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 22%, rgba(232, 178, 58, 0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 80%, rgba(207, 151, 20, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.78) 0%, rgba(24, 24, 24, 0.6) 45%, rgba(24, 24, 24, 0.98) 100%);
  z-index: 1;
}

/* Diagonal pinstripe over the hero image — same as section, just hotter */
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 84px,
      rgba(245, 240, 230, 0.05) 84px,
      rgba(245, 240, 230, 0.05) 86px
    );
  z-index: 2;
  pointer-events: none;
}

/* Vertical lane-line accents on hero edges */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  top: 12%;
  width: 3px;
  height: 56%;
  background:
    repeating-linear-gradient(
      180deg,
      var(--accent) 0 22px,
      transparent 22px 36px
    );
  opacity: 0.55;
  z-index: 3;
  pointer-events: none;
}

.hero::before { left: clamp(1rem, 3vw, 2.5rem); }

.hero::after {
  right: clamp(1rem, 3vw, 2.5rem);
  background:
    repeating-linear-gradient(
      180deg,
      var(--cream) 0 22px,
      transparent 22px 36px
    );
  opacity: 0.16;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  width: 100%;
  text-align: center;
}

/* Top-of-hero eyebrow — small badge with route-shield flavor */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-accent);
  background: rgba(207, 151, 20, 0.08);
  border-radius: 2px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-eyebrow-rule {
  width: 1.6rem;
  height: 2px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 6px,
      transparent 6px 9px
    );
  opacity: 0.95;
}

.hero-eyebrow-text {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--cream);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 6.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}

.hero-title-line {
  display: block;
  overflow: hidden;
  padding: 0 0.5em;
  margin: 0 -0.5em;
}

.hero-title-line--accent {
  overflow: visible;
  padding-bottom: 0.06em;
}

.hero-title-line span {
  display: inline-block;
  animation: titleReveal 0.9s var(--ease) both;
}

.hero-title-line:nth-child(1) span { animation-delay: 0.4s; }
.hero-title-line:nth-child(2) span { animation-delay: 0.65s; }

.hero-title-line--accent span {
  color: var(--accent-bright);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.7),
    0 0 28px rgba(232, 178, 58, 0.5);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 500;
  color: var(--text);
  max-width: 58ch;
  line-height: 1.7;
  margin: 0 auto 2rem;
  animation: fadeUp 0.8s var(--ease) 1.1s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  animation: fadeUp 0.8s var(--ease) 1.3s both;
}

.hero-trust {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--accent-soft);
  z-index: 10;
  padding: 1rem 0;
}

.hero-trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-trust-item svg {
  color: var(--accent-bright);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hero-bottom highway curve — replaces the MN ridgeline. A two-tone
   curving road silhouette with a yellow lane line running along it.
   Ties directly to the W&W logo's road graphic. */
.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 140px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.95;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

.hero-road svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* --- 10. Buttons (road-sign / license-plate style) --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--bg-page);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.95rem 2.1rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(207, 151, 20, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(245, 240, 230, 0.32) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(207, 151, 20, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--bg-page);
}

.btn-primary:active { transform: scale(0.98) translateY(0); }
.btn-primary:visited { color: var(--bg-page); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.95rem 2.1rem;
  border: 2px solid var(--cream);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform 0.35s var(--ease-spring), color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  background: var(--cream);
  color: var(--bg-page);
  transform: translateY(-3px);
  border-color: var(--cream);
}

.btn-ghost:active { transform: scale(0.98) translateY(0); }

.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--bg-page);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.95rem 2.1rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(207, 151, 20, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease), background 0.3s ease;
}

.btn-phone::before {
  content: '';
  width: 1.1em;
  height: 1.1em;
  background-color: var(--bg-page);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V21c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V21c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  flex-shrink: 0;
}

.btn-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(207, 151, 20, 0.5);
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--bg-page);
}

.btn-phone:active { transform: scale(0.98) translateY(0); }
.btn-phone:visited { color: var(--bg-page); }


/* --- 11. Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.4s ease, transform 0.45s var(--ease-spring), box-shadow 0.4s var(--ease);
  display: block;
  text-decoration: none;
}

/* Top-of-card lane stripe — dashed yellow, animates in on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 14px,
      transparent 14px 22px
    );
  z-index: 20;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-card-media img { transform: scale(1.07); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.45) 0%, rgba(24, 24, 24, 0.8) 50%, rgba(24, 24, 24, 0.98) 100%);
  z-index: 1;
}

.service-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.85rem 1.85rem;
  height: 100%;
}

.service-card-badge {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  background: rgba(207, 151, 20, 0.18);
  border: 1px solid var(--accent-soft);
  border-radius: 2px;
  align-self: flex-start;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 1.95rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: 0.005em;
}

.service-card-desc {
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.55;
  font-size: 0.92rem;
}

.service-card-link {
  color: var(--accent-bright);
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  transition: gap 0.3s var(--ease);
}

.service-card:hover .service-card-link { gap: 0.85rem; }

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-card-link svg { transform: translateX(4px); }

.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(207, 151, 20, 0.3);
  transform: perspective(1000px) rotateX(1deg) rotateY(-1deg) translateY(-6px);
}


/* --- 12. About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: center;
}

.about-media { position: relative; }

.about-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  position: relative;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232, 178, 58, 0.32), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.about-image-wrapper img,
.about-image-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Rectangular road-sign badge — yellow plate with charcoal border. Reads as
   a "FREE QUOTES" highway plaque. */
.about-stats-badge {
  position: absolute;
  bottom: -1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  padding: 0.85rem 1.2rem;
  background: var(--accent);
  border: 3px solid var(--bg-page);
  outline: 1px solid var(--accent-deep);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.65), inset 0 -3px 0 rgba(0, 0, 0, 0.16);
  min-width: 130px;
}

.about-stats-value {
  color: var(--bg-page);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.85rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.about-stats-label {
  color: var(--bg-page);
  font-size: 0.72rem;
  margin-top: 0.3rem;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Dashed lane segment — short stretch of road-stripe as a section divider */
.about-divider {
  width: 84px;
  height: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 14px,
      transparent 14px 22px
    );
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.about-check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.about-check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: var(--accent-bright);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.about-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* --- 13. Process Section (Mile-Marker Style) --- */
/* Rectangular yellow road-sign tiles stacked over a dark asphalt band with
   a dashed yellow centerline running through it. Reads as a 4-step highway
   route, tying directly to the W&W logo's road motif. */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* The "road" connecting all four steps — solid dark band with a yellow
   dashed centerline running through it. */
.process-line {
  position: absolute;
  top: 56px;
  left: 10%;
  width: 80%;
  height: 14px;
  background: linear-gradient(180deg, var(--bg-muted) 0%, #202020 100%);
  border-top: 1px solid rgba(245, 240, 230, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.process-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background:
    repeating-linear-gradient(
      90deg,
      var(--lane) 0 22px,
      transparent 22px 36px
    );
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(245, 200, 66, 0.45));
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Mile-marker road-sign plaque: yellow rectangle, thick border, slight tilt */
.process-step-circle {
  width: 116px;
  height: 116px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 4px solid var(--bg-page);
  outline: 1px solid var(--accent-deep);
  border-radius: 8px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.55),
    inset 0 -4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-step-circle {
  transform: translateY(-4px) rotate(-2deg);
  background: var(--accent-bright);
  box-shadow:
    0 20px 36px rgba(207, 151, 20, 0.4),
    inset 0 -4px 0 rgba(0, 0, 0, 0.2);
}

.process-step-icon {
  color: var(--bg-page);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.process-step-icon svg {
  width: 48px;
  height: 48px;
  display: block;
  stroke-width: 1.8;
}

.process-step-number {
  position: absolute;
  top: -10px;
  right: calc(50% - 70px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-page);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
  z-index: 3;
  border: 2px solid var(--accent);
}

.process-step-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.005em;
  margin-top: 1.7rem;
  color: var(--text);
  line-height: 1.05;
}

.process-step-desc {
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 220px;
  margin-inline: auto;
  line-height: 1.55;
}


/* --- 14. Areas Section (Exit-Sign Tiles) --- */
.areas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.15rem;
  background: rgba(207, 151, 20, 0.14);
  border: 1px solid var(--border-accent);
  color: var(--accent-bright);
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.areas-badge::before {
  content: '';
  width: 14px;
  height: 3px;
  background:
    linear-gradient(90deg, var(--accent-bright) 0 5px, transparent 5px 8px, var(--accent-bright) 8px 14px);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.area-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-spring);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.area-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.area-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 8px,
      transparent 8px 12px
    );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.area-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 50%, var(--accent-undertone) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.area-tile:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.area-tile:hover::before,
.area-tile:hover::after { opacity: 1; }

.area-tile-icon {
  color: var(--accent-bright);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.area-tile-icon svg {
  width: 16px;
  height: 16px;
}

.area-tile-name {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.area-tile:hover .area-tile-name { color: var(--accent-bright); }


/* --- 15. Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 2rem;
  align-items: start;
}

.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Dashed lane stripe across the top of the form panel */
.contact-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 16px,
      transparent 16px 24px
    );
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.005em;
  color: var(--text);
  line-height: 1.05;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.form-input,
.form-textarea {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; /* iOS zoom prevention */
  line-height: 1.5;
  transition: border-color 0.25s ease;
  width: 100%;
}

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

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-faint); }

.form-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
  position: relative;
}

.form-recaptcha-notice {
  font-family: var(--font-body);
  color: var(--text-faint);
  font-size: 0.78rem;
  text-align: center;
  margin: 1rem 0 0;
  line-height: 1.55;
}

.form-recaptcha-notice strong {
  color: var(--accent-bright);
  font-weight: 700;
}

.form-recaptcha-notice .form-recaptcha-fineprint {
  display: inline-block;
  opacity: 0.78;
  font-size: 0.72rem;
  margin-top: 0.35rem;
}

.form-recaptcha-notice a {
  color: var(--text-faint);
  text-decoration: underline;
}

/* Hide the reCAPTCHA v3 badge — disclosure text satisfies Google's terms */
body .grecaptcha-badge { visibility: hidden !important; }

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.is-visible { display: block; }

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  animation: pulse 2s ease-in-out infinite;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.05;
}

.form-success-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-card::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232, 178, 58, 0.22), transparent 70%);
  pointer-events: none;
}

.offer-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-page);
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(207, 151, 20, 0.45);
}

.contact-cta-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.005em;
  line-height: 1.05;
}

.contact-cta-text {
  color: var(--text-subtle);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-phone-btn {
  width: 100%;
  margin-top: 1.25rem;
}

.contact-reasons-title {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent-bright);
  letter-spacing: 0.18em;
}

.contact-reasons {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0;
}

.contact-reasons li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-reasons li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-color: var(--accent-bright);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.contact-email {
  display: inline-block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  width: 100%;
  color: var(--text-subtle);
  font-family: var(--font-body);
  font-size: 0.88rem;
  word-break: break-all;
  text-align: left;
  transition: color 0.2s ease;
}

.contact-email:hover { color: var(--accent-bright); }

.form-input.is-invalid,
.form-textarea.is-invalid { border-color: #ef4444; }

.field-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form-submit.is-loading .submit-text { visibility: hidden; }
.form-submit.is-loading .submit-spinner { display: block; }

.submit-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(24, 24, 24, 0.3);
  border-top-color: var(--bg-page);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* --- 16. Footer --- */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  position: relative;
}

/* Top-of-footer dashed lane stripe */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-bright) 0 28px,
      transparent 28px 40px
    );
  opacity: 0.9;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.footer-bottom p {
  color: var(--text-faint);
  font-size: 0.82rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.footer-logo {
  height: 96px;
  width: auto;
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-subtle);
  font-size: 0.88rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--accent-bright); }

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-subtle);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
}

.footer-social a:hover {
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}


/* --- 17. Floating CTA (Mobile) --- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(24, 24, 24, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-accent);
  z-index: 50;
  display: none;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--accent);
  color: var(--bg-page);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.95rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(207, 151, 20, 0.4);
}

.floating-cta--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}


/* --- 18. Keyframe Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes titleReveal {
  from { transform: translateY(110%) skewY(4deg); opacity: 0; }
  to { transform: translateY(0) skewY(0deg); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes laneDash {
  from { background-position: 0 0; }
  to { background-position: -56px 0; }
}


/* --- 19. Scroll Animation Classes --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.animate-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }


/* --- 20. Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
  }
  .process-line { display: none; }
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-inner > .header-cta { display: none; }
  .mobile-menu .header-cta { display: inline-flex; margin-top: 1rem; }
  .nav-toggle { display: flex; }
  .header-inner { height: 104px; }
  .header--scrolled .header-inner { height: 68px; }
  .header-logo { height: 84px; }
  .header--scrolled .header-logo { height: 50px; }

  .hero {
    padding-top: clamp(8rem, 18vh, 11rem);
    padding-bottom: 80px;
  }
  .hero-trust-inner {
    gap: 0.75rem 1.25rem;
  }
  .hero-trust-item {
    font-size: 0.72rem;
  }
  .hero-title {
    font-size: clamp(2.5rem, 11vw, 4.4rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card { min-height: 340px; }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .floating-cta { display: block; }
  body { padding-bottom: 72px; }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-logo {
    height: 82px;
  }
}

@media (max-width: 480px) {
  .contact-form-panel { padding: 1.75rem 1.5rem; }
  .section-header { margin-bottom: 2rem; }
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .hero-eyebrow-rule { width: 1.1rem; }
  .hero-eyebrow-text { font-size: 0.7rem; letter-spacing: 0.2em; }
  .process-step-circle { width: 96px; height: 96px; }
  .process-step-icon svg { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
