/* ========================================
   DIT - Brand Overrides
   Client: dit (drivinginstructortraining.ie)
   Brand: NUI Driving Instructor Training

   This file is loaded AFTER unified.css.
   It overrides CSS custom properties to apply
   client-specific colors, fonts, and branding.

   Palette derived from Spider scrape 2026-04-03.
   Recolored 2026-04-04: primary accent changed from
   #e44e56 (red) to #508916 (DIT brand green).
   LIGHT THEME - faithful to drivinginstructortraining.ie
   All text/bg pairs verified WCAG 2.1 AA.

   Wrapped in @layer brand for clean cascade ordering.
   ======================================== */

/* --- Google Fonts - Montserrat + Roboto --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

@layer brand {

:root {
  /* =============================================
     BACKGROUNDS
     Light theme anchored on #ffffff (349 uses).
     White dominant with light-gray alternates.
     ============================================= */
  --bg-deep:          #ffffff;
  --bg-surface:       #f7f7f7;
  --bg-elevated:      #ffffff;
  --bg-subtle:        #f0f0f2;
  --bg-warm:          #fafaf9;
  --bg-accent-subtle: rgba(80, 137, 22, 0.06);

  /* =============================================
     OVERLAYS (semi-transparent light)
     Light theme uses white-based overlays.
     ============================================= */
  --bg-overlay-heavy:  rgba(255, 255, 255, 0.97);
  --bg-overlay-medium: rgba(255, 255, 255, 0.70);
  --bg-overlay-light:  rgba(255, 255, 255, 0.40);
  --bg-overlay-subtle: rgba(255, 255, 255, 0.30);

  /* =============================================
     TEXT
     Dark-on-light. Primary is charcoal from scrape,
     secondary is the scraped medium-gray #6c6d74.
     --text-primary #242427 on #fff = 15.9:1 AA/AAA
     --text-secondary #6c6d74 on #fff = 5.5:1 AA
     --text-muted #8e8f95 on #fff = 3.5:1 (large only)
     ============================================= */
  --text-primary:   #242427;
  --text-secondary: #6c6d74;
  --text-muted:     #8e8f95;
  --text-on-accent: #ffffff;

  /* =============================================
     ACCENT - PRIMARY GREEN  (DIT brand green #508916)
     Used for CTAs, links, emphasis, buttons.
     --accent-primary:       #508916 button bgs (white text 4.3:1 large/bold)
     --accent-primary-dark:  #3d6b10 small text on white (6.4:1 AA/AAA)
     ============================================= */
  --accent-primary:       #508916;
  --accent-primary-hover: #3d6b10;
  --accent-primary-dark:  #3d6b10;
  /* Backward compat aliases */
  --accent-red:           #508916;
  --accent-red-bright:    #3d6b10;

  /* =============================================
     ACCENT - ERROR RED  (error states only)
     #c7353d on #fff = 5.2:1 AA
     ============================================= */
  --accent-error:      #c7353d;
  --accent-error-soft: rgba(199, 53, 61, 0.06);

  /* =============================================
     ACCENT - SUCCESS GREEN  (lighter tint of primary)
     Success states, price highlights, trust badges.
     ============================================= */
  --accent-green:      #59c45c;
  --accent-green-soft: rgba(80, 137, 22, 0.10);
  --accent-green-dim:  rgba(80, 137, 22, 0.15);

  /* =============================================
     ACCENT - AMBER / GOLD  (DIT brand orange #ff9e45)
     Stars, warnings, notice banners.
     ============================================= */
  --accent-amber:      #d48420;
  --accent-amber-soft: rgba(255, 158, 69, 0.10);
  --accent-gold:       #e89b2e;
  --accent-gold-soft:  rgba(232, 155, 46, 0.12);

  /* =============================================
     BORDERS
     Light gray separators from scrape data.
     ============================================= */
  --border-subtle: #e5e5e7;
  --border-medium: #b4b5ba;

  /* =============================================
     TYPOGRAPHY
     Montserrat - headings & display (matches DIT site)
     Roboto     - body text (matches DIT site)
     ============================================= */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Roboto', system-ui, sans-serif;

  /* =============================================
     LAYOUT
     ============================================= */
  --max-width: 1320px;
  --header-height: 80px;

  /* =============================================
     SHADOWS (light theme - soft gray)
     ============================================= */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);

  /* =============================================
     RADII
     ============================================= */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ========================================
   DIT - Header Overrides
   Light header with subtle bottom border.
   Height controlled by --header-height.
   ======================================== */

.dit-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-overlay-heavy);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

.dit-header .nav-container {
  height: var(--header-height);
}

.dit-header .nav-logo {
  height: 56px;
  width: auto;
}

/* Dropdown navigation */
.nav-dropdown {
  position: relative;
  list-style: none;
}

.nav-dropdown-toggle {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em 0;
  transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--text-primary);
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35em;
  vertical-align: 0.15em;
  border-top: 4px solid;
  border-right: 3px solid transparent;
  border-left: 3px solid transparent;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.nav-cta-item {
  list-style: none;
}

.dit-header .nav-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--accent-primary);
  padding: 0.55em 1.2em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dit-header .nav-cta:hover {
  background: var(--accent-primary-dark);
  color: #fff;
}

/* Mobile menu improvements for DIT - light theme */
.mobile-menu-section {
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-section strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary-dark);
  margin-bottom: 0.4rem;
}

.mobile-menu-section a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.mobile-menu-section a:hover {
  color: var(--text-primary);
}

.mobile-menu-cta {
  text-align: center;
  padding: 1.2rem 1.5rem;
}

.mobile-menu-cta .btn {
  display: block;
  margin-bottom: 0.5rem;
}

/* Override unified.css mobile menu for DIT header - light */
.dit-header + .mobile-menu,
.dit-header .mobile-menu {
  top: var(--header-height);
  background: var(--bg-overlay-heavy);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

/* ========================================
   DIT - Footer Overrides
   Slightly darker gray than page, still light.
   ======================================== */

.dit-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.dit-footer .footer-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-top: 0.8rem;
}

.dit-footer .footer-locations {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.dit-footer .footer-email {
  display: block;
  color: var(--accent-primary-dark);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.dit-footer .footer-cta-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.dit-footer .footer-cta-block h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.dit-footer .footer-cta-block p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

/* ========================================
   DIT - Homepage Components
   ======================================== */

.dit-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}

.dit-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dit-hero h1 em {
  font-style: normal;
  color: var(--accent-primary);
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 1.2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Nav cards on homepage - white cards with light borders */
.dit-nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dit-nav-card {
  display: block;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.dit-nav-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dit-nav-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dit-nav-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features grid */
.dit-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.dit-feature {
  text-align: center;
  padding: 1.5rem;
}

.dit-feature h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dit-feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   DIT - Page Content Defaults
   ======================================== */

.page-content .hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
}

.page-content .hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.content-placeholder {
  padding: 3rem 0;
}

/* ========================================
   DIT - Responsive
   ======================================== */

@media (max-width: 900px) {
  .dit-header .nav-links,
  .dit-header .nav-phone {
    display: none;
  }

  .dit-header .hamburger {
    display: flex;
  }

  .dit-nav-cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================
   County Hub Page - /adi-training-ireland.html
   ======================================== */

.county-hub-hero {
  background: linear-gradient(135deg, #3a6610 0%, #508916 100%);
  color: #fff;
  padding: 2rem 0 3rem;
}

.county-hub-hero .breadcrumb {
  margin-bottom: 1.5rem;
}

.county-hub-hero .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.county-hub-hero .breadcrumb li::after {
  content: '>';
  margin: 0 0.5rem;
  opacity: 0.7;
}

.county-hub-hero .breadcrumb li:last-child::after {
  content: '';
  margin: 0;
}

.county-hub-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.county-hub-hero .breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.county-hub-hero h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.county-hub-hero h1 em {
  font-style: normal;
  color: #c8f08f;
}

.county-hub-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 750px;
  opacity: 0.95;
}

.county-hub-province h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #508916;
  display: inline-block;
}

.county-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.county-hub-card {
  display: block;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.county-hub-card:hover {
  border-color: #508916;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.county-hub-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #508916;
  margin: 0 0 0.75rem;
}

.county-hub-stats {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.county-hub-stat {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.county-hub-stat strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media (max-width: 600px) {
  .county-hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .county-hub-card {
    padding: 1rem;
  }

  .county-hub-hero h1 {
    font-size: 1.6rem;
  }
}

/* ========================================
   DIT - CSS Visual Regression Fixes
   2026-04-04: Orange accent for secondary text,
   lead-form shared styles, breadcrumb colors,
   button text, and card shadows.
   ======================================== */

/* --- Accent orange custom property --- */
:root {
  --accent-orange: #e89c30;
}

/* ========================================
   FIX #1: Hero subtitle — orange on green heroes
   unified.css sets .hero-subtitle { color: var(--text-secondary) }
   which is gray #6c6d74 — invisible on green gradient heroes.
   The human wants ORANGE, not white.
   Also covers any .hero-subtitle on white backgrounds (secondary text).
   ======================================== */

/* Hero subtitle on GREEN hero backgrounds — orange for contrast */
[class*="-hero"] .hero-subtitle,
.county-hub-hero .hero-subtitle,
.dit-hero .hero-subtitle {
  color: var(--accent-orange) !important;
  font-weight: 100;
  opacity: 1;
}

/* Hero subtitle on WHITE/light hero backgrounds (homepage) — red */
.page-content .hero .hero-subtitle {
  color: #d91919;
  font-weight: 100;
}

/* ========================================
   PREMIUM LEAD CAPTURE CTA SECTION
   Full-width, high-converting layout with
   social proof, trust badges, partnership
   banner, and elevated form card.
   ======================================== */

/* --- Section wrapper --- */
.lead-capture-premium {
  background: linear-gradient(180deg, #f0f7e8 0%, #f8f9fa 40%, #ffffff 100%);
  padding: 3.5rem 0 4rem;
  border-top: 3px solid var(--accent-primary);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background pattern */
.lead-capture-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at 20% 0%, rgba(80, 137, 22, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 0%, rgba(232, 156, 48, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Row 1: Centered headline --- */
.lcp-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  position: relative;
}

.lcp-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.lcp-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 0.6rem;
}

.lcp-subheadline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- Row 2: Trust badges --- */
.lcp-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.lcp-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lcp-badge:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(80, 137, 22, 0.12);
  transform: translateY(-1px);
}

.lcp-badge__icon {
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* --- Row 3: Partnership banner --- */
.lcp-partnership-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto 2.25rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(232, 156, 48, 0.08) 0%, rgba(232, 156, 48, 0.03) 100%);
  border: 1px solid rgba(232, 156, 48, 0.25);
  border-left: 4px solid var(--accent-orange);
  border-radius: 8px;
}

.lcp-partnership-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange);
  color: #fff;
  border-radius: 50%;
}

.lcp-partnership-banner__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.lcp-partnership-banner__text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Row 4: Two-column content grid --- */
.lcp-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

/* --- Left column: Value proposition --- */
.lcp-value-col__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0 0 1rem;
}

.lcp-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.lcp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.lcp-checklist__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(80, 137, 22, 0.1);
  color: var(--accent-primary);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 1px;
}

/* --- Social proof stats --- */
.lcp-social-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
}

.lcp-social-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.lcp-social-proof__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent-primary);
  line-height: 1;
}

.lcp-social-proof__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lcp-social-proof__divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* --- Urgency nudge --- */
.lcp-urgency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #b45309;
  padding: 0.6rem 0.9rem;
  background: rgba(232, 156, 48, 0.08);
  border-radius: 6px;
}

.lcp-urgency__dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #e89c30;
  border-radius: 50%;
  animation: lcp-pulse 2s ease-in-out infinite;
}

@keyframes lcp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* --- Right column: Form card --- */
.lcp-form-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-primary);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lcp-form-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.lcp-form-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, rgba(80, 137, 22, 0.06) 0%, rgba(80, 137, 22, 0.02) 100%);
  border-bottom: 1px solid rgba(80, 137, 22, 0.1);
}

.lcp-form-card__header-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.lcp-form-card__header-time {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.lcp-form-card .lead-form {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem;
}

/* Form fields - 2x2 grid retained */
.lcp-form-card .lead-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.lcp-form-card .lead-form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.lcp-form-card .lead-form__field input,
.lcp-form-card .lead-form__field select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  border: 1.5px solid #dde1e6;
  border-radius: 8px;
  background: #fafbfc;
  color: var(--text-primary);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.lcp-form-card .lead-form__field input:hover,
.lcp-form-card .lead-form__field select:hover {
  border-color: #b4b5ba;
  background: #fff;
}

.lcp-form-card .lead-form__field input:focus,
.lcp-form-card .lead-form__field select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(80, 137, 22, 0.12);
  background: #fff;
}

/* Submit button - premium style */
.lcp-form-card .lead-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-top: 1.1rem;
  background: linear-gradient(135deg, #508916 0%, #3d6b10 100%) !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(80, 137, 22, 0.25);
  position: relative;
  overflow: hidden;
}

.lcp-form-card .lead-form__submit:hover {
  background: linear-gradient(135deg, #5a9a1a 0%, #508916 100%) !important;
  box-shadow: 0 4px 16px rgba(80, 137, 22, 0.35);
  transform: translateY(-1px);
}

.lcp-form-card .lead-form__submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(80, 137, 22, 0.2);
}

.lead-form__submit-arrow {
  transition: transform 0.2s ease;
}

.lcp-form-card .lead-form__submit:hover .lead-form__submit-arrow {
  transform: translateX(3px);
}

/* Privacy text with lock icon */
.lcp-form-card .lead-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.lcp-form-card .lead-form__privacy svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Stat counter values: prevent text wrapping on suffixes like "5+ non-core" */
.stat-counter__value {
  white-space: nowrap;
}

/* ========================================
   LEAD CAPTURE - RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  .lead-capture-premium {
    padding: 2.5rem 0 3rem;
  }

  .lcp-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lcp-social-proof {
    gap: 0.75rem;
    padding: 1rem;
  }

  .lcp-social-proof__number {
    font-size: 1.3rem;
  }

  .lcp-social-proof__label {
    font-size: 0.65rem;
  }
}

@media (max-width: 600px) {
  .lead-capture-premium {
    padding: 2rem 0 2.5rem;
  }

  .lcp-headline {
    font-size: 1.5rem;
  }

  .lcp-trust-badges {
    gap: 0.5rem;
  }

  .lcp-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
  }

  .lcp-partnership-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .lcp-form-card .lead-form__fields {
    grid-template-columns: 1fr;
  }

  .lcp-social-proof {
    flex-direction: column;
    gap: 1rem;
  }

  .lcp-social-proof__divider {
    width: 60%;
    height: 1px;
  }

  .lcp-social-proof__stat {
    flex-direction: row;
    gap: 0.5rem;
  }

  .lcp-social-proof__label {
    margin-top: 0;
  }
}

/* ========================================
   FIX #3: Breadcrumb text — orange on green heroes
   Non-link breadcrumb text (separators, current page name)
   inherits white from hero but ::after has opacity: 0.7.
   The human wants orange for non-link text.
   ======================================== */

[class*="-hero"] .breadcrumb li,
[class*="-hero"] .breadcrumb li::after,
.county-hub-hero .breadcrumb li,
.county-hub-hero .breadcrumb li::after {
  color: var(--accent-orange);
  opacity: 1;
}

/* Keep breadcrumb links white for clear hierarchy */
[class*="-hero"] .breadcrumb a,
.county-hub-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

[class*="-hero"] .breadcrumb a:hover,
.county-hub-hero .breadcrumb a:hover {
  color: #fff;
}

/* ========================================
   FIX #4: Primary buttons always white text
   .btn-primary inside .mobile-menu-cta was showing
   gray text. Ensure white text on all .btn-primary.
   ======================================== */

.mobile-menu-cta .btn.btn-primary,
.mobile-menu-cta .btn-primary {
  color: #fff !important;
  background: var(--accent-primary);
}

.mobile-menu-cta .btn.btn-primary:hover,
.mobile-menu-cta .btn-primary:hover {
  color: #fff !important;
  background: var(--accent-primary-dark);
}

/* Belt-and-suspenders: all btn-primary must have white text */
.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  color: #fff;
}

/* ========================================
   FIX #5: Timeline card shadows — more visible
   Was rgba(0,0,0,0.04) — now 0.10 for visible depth.
   ======================================== */

.timeline-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

a.timeline-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

/* ========================================
   Secondary text orange on white backgrounds
   The human also wants gray secondary text on white
   backgrounds to be orange where it serves as a subtitle
   or secondary description role.
   ======================================== */

.dit-nav-card p,
.dit-feature p {
  color: var(--accent-orange);
}

} /* end @layer brand */
