/*
Theme Name: Lucid Freight
Theme URI: https://lucidfreight.co
Author: Lucid Freight LLC
Author URI: https://lucidfreight.co
Description: A clean, modern single-page theme for Lucid Freight — agent-driven freight brokerage. Electric purple & black palette. Built for shippers, carriers, and agents.
Version: 3.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lucid-freight
*/

/* ============================================================
   DESIGN TOKENS — Electric Purple & Black
   ============================================================ */
:root {
  --lf-amber: #5918E6;
  --lf-amber-dark: #4A12C4;
  --lf-amber-deep: #370E93;
  --lf-purple-light: #8B5CF6;
  --lf-charcoal: #0A0A0B;
  --lf-charcoal-2: #17151F;
  --lf-charcoal-soft: #1F1D28;
  --lf-cream: #F7F7FA;
  --lf-cream-2: #EEEDF4;
  --lf-ink: #16151A;
  --lf-muted: #6B6875;
  --lf-muted-light: #B8B6C2;
  --lf-white: #FFFFFF;
  --lf-line: rgba(0,0,0,0.08);
  --lf-line-dark: rgba(255,255,255,0.10);
  --lf-radius: 10px;
  --lf-radius-lg: 16px;
  --lf-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
  --lf-shadow-lg: 0 4px 12px rgba(0,0,0,0.08), 0 20px 48px rgba(0,0,0,0.10);
  --lf-max: 1200px;
  --lf-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; overflow-x: hidden; max-width: 100vw;
  font-family: var(--lf-font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--lf-ink);
  background: var(--lf-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lf-amber-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--lf-amber-deep); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; color: var(--lf-charcoal); margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lf-container { width: 100%; max-width: var(--lf-max); margin: 0 auto; padding: 0 24px; }
.lf-eyebrow { color: var(--lf-purple-light); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; }

/* Eyebrow: light purple on dark sections, true brand purple on light sections */
.lf-audience .lf-eyebrow,
.lf-section:not(.lf-why) .lf-eyebrow,
.lf-contact .lf-eyebrow { color: var(--lf-amber); }
.lf-hero .lf-eyebrow,
.lf-why .lf-eyebrow { color: var(--lf-purple-light); }
.lf-section { padding: clamp(64px, 9vw, 120px) 0; }
.lf-center { text-align: center; }
.lf-lead { font-size: 1.15rem; color: var(--lf-muted); max-width: 620px; }
.lf-center .lf-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.lf-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .98rem; font-weight: 600; line-height: 1;
  padding: 15px 26px; border-radius: var(--lf-radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-align: center; white-space: nowrap;
}
.lf-btn:active { transform: scale(.98); }
.lf-btn-primary { background: var(--lf-amber); color: #fff; }
.lf-btn-primary:hover { background: var(--lf-amber-dark); color: #fff; box-shadow: var(--lf-shadow); }
.lf-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.lf-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.lf-btn-dark { background: var(--lf-charcoal); color: #fff; }
.lf-btn-dark:hover { background: var(--lf-charcoal-2); color: #fff; box-shadow: var(--lf-shadow); }
.lf-btn-outline { background: transparent; color: var(--lf-charcoal); border-color: var(--lf-charcoal); }
.lf-btn-outline:hover { background: var(--lf-charcoal); color: #fff; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.lf-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22,24,26,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lf-line-dark);
}
.lf-nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.lf-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; height: 46px; }

/* Header: wider container so the logo sits closer to the corner,
   with clear separation between the brand and the nav. */
.lf-header .lf-container { max-width: 1440px; padding: 0 36px; }
.lf-header .lf-menu { margin: 0 0 0 56px; }
.lf-header .lf-nav-cta { margin-left: auto; }
.lf-logo-img,
.lf-brand img,
.lf-brand .custom-logo {
  height: 42px !important; width: auto !important; max-width: 320px !important;
  max-height: 42px !important; display: block !important; object-fit: contain !important;
}
.lf-brand .custom-logo-link { display: flex !important; align-items: center !important; line-height: 0 !important; }
.lf-brand-text { color: #fff; font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.lf-header .lf-brand-text::after { content: "."; color: var(--lf-amber); }
.lf-wordmark {
  color: #FFFFFF; font-weight: 800; font-size: 1.3rem; line-height: 1.0;
  letter-spacing: .06em; text-transform: uppercase; display: inline-block;
}
.lf-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0 auto; padding: 0; flex-wrap: nowrap; white-space: nowrap; }
.lf-menu a { color: var(--lf-muted-light); font-size: .95rem; font-weight: 500; }
.lf-menu a:hover { color: #fff; }
.lf-menu a.lf-nav-highlight {
  color: var(--lf-purple-light); font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.lf-menu a.lf-nav-highlight i { font-size: 15px; }
.lf-menu a.lf-nav-highlight:hover { color: #fff; }
.lf-nav-cta { display: flex; align-items: center; gap: 16px; }
.lf-burger { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px; }

/* ============================================================
   HERO
   ============================================================ */
.lf-hero {
  background: linear-gradient(135deg, var(--lf-charcoal-2) 0%, var(--lf-charcoal) 62%);
  color: #fff; position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
}
.lf-hero::after {
  content: ""; position: absolute; right: -160px; top: -160px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.20), transparent 70%);
  pointer-events: none;
}
.lf-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.lf-hero .lf-eyebrow { margin-left: auto; margin-right: auto; }
.lf-hero h1 { color: #fff; margin-bottom: 20px; }
.lf-hero-sub { color: var(--lf-muted-light); font-size: 1.2rem; max-width: 600px; margin: 0 auto 32px; }
.lf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Stats bar — balanced, full-width, with dividers */
.lf-hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: clamp(48px, 6vw, 72px); position: relative; z-index: 1;
  background: rgba(255,255,255,.03); border: 1px solid var(--lf-line-dark);
  border-radius: var(--lf-radius-lg); overflow: hidden;
}
.lf-stat {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--lf-line-dark);
}
.lf-stat:last-child { border-right: 0; }
.lf-stat-icon {
  width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,.16); color: var(--lf-purple-light); font-size: 21px;
}
.lf-stat .lf-stat-num { font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.2; }
.lf-stat .lf-stat-label { font-size: .85rem; color: var(--lf-muted-light); margin-top: 6px; line-height: 1.4; }

/* ============================================================
   AUDIENCE SPLIT (Shippers / Carriers / Agents)
   ============================================================ */
.lf-audience { background: var(--lf-cream); }
.lf-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lf-aud-card {
  background: #fff; border: 1px solid var(--lf-line); border-radius: var(--lf-radius-lg);
  padding: 36px 30px; transition: transform .2s ease, box-shadow .2s ease; position: relative;
}
.lf-aud-card:hover { transform: translateY(-4px); box-shadow: var(--lf-shadow-lg); }
.lf-aud-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--lf-cream-2); color: var(--lf-amber-deep); font-size: 26px; margin-bottom: 20px;
}
.lf-aud-card h3 { color: var(--lf-charcoal); }
.lf-aud-card p { color: var(--lf-muted); font-size: 1rem; }
.lf-aud-card .lf-aud-link { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }

/* Standout Carriers card */
.lf-aud-card--carrier {
  background: var(--lf-charcoal); border-color: var(--lf-charcoal);
  position: relative;
}
.lf-aud-card--carrier h3 { color: #fff; }
.lf-aud-card--carrier p { color: var(--lf-muted-light); }
.lf-aud-card--carrier .lf-aud-icon { background: rgba(139,92,246,.16); color: var(--lf-purple-light); }
.lf-aud-card--carrier:hover { box-shadow: var(--lf-shadow-lg); }
.lf-aud-tag {
  display: inline-block; background: var(--lf-amber); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 6px; margin-bottom: 18px;
}
.lf-aud-btn { margin-top: 6px; }

/* ============================================================
   SERVICES
   ============================================================ */
.lf-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 48px; }
.lf-svc {
  display: block; color: inherit; text-decoration: none;
  background: #fff; border: 1px solid var(--lf-line); border-radius: var(--lf-radius);
  padding: 28px 24px; transition: border-color .2s ease, transform .2s ease;
}
.lf-svc:hover { border-color: var(--lf-amber); transform: translateY(-3px); color: inherit; }
.lf-svc h3 { color: var(--lf-charcoal); }
.lf-svc-icon { color: var(--lf-amber-dark); font-size: 30px; margin-bottom: 14px; }
.lf-svc h3 { font-size: 1.1rem; }
.lf-svc p { color: var(--lf-muted); font-size: .95rem; margin: 0; }

/* ============================================================
   WHY / FEATURES — dark band
   ============================================================ */
.lf-why { background: var(--lf-charcoal); color: #fff; }
.lf-why h2 { color: #fff; }
.lf-why .lf-lead { color: var(--lf-muted-light); }
.lf-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.lf-feat { padding: 8px 4px; }
.lf-feat-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,.16); color: var(--lf-purple-light); font-size: 24px; margin-bottom: 18px;
}
.lf-feat h3 { color: #fff; font-size: 1.15rem; }
.lf-feat p { color: var(--lf-muted-light); font-size: .98rem; margin: 0; }

/* ============================================================
   CREDIT APP CTA BAND
   ============================================================ */
.lf-cta-band { background: var(--lf-amber); color: #fff; }
.lf-cta-band .lf-section { padding: 64px 0; }
.lf-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.lf-cta-inner h2 { color: #fff; margin: 0 0 6px; }
.lf-cta-inner p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.05rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.lf-contact { background: var(--lf-cream); }
.lf-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.lf-contact-info h2 { color: var(--lf-charcoal); }
.lf-contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--lf-ink); }
.lf-contact-detail i { color: var(--lf-amber-dark); font-size: 22px; width: 26px; text-align: center; }
.lf-contact-detail a { color: var(--lf-ink); }
.lf-contact-detail a:hover { color: var(--lf-amber-dark); }
.lf-form { background: #fff; border: 1px solid var(--lf-line); border-radius: var(--lf-radius-lg); padding: 36px; box-shadow: var(--lf-shadow); }
.lf-form .lf-field { margin-bottom: 18px; }
.lf-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--lf-ink); margin-bottom: 7px; }
.lf-form input, .lf-form textarea, .lf-form select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--lf-ink);
  padding: 13px 15px; border: 1.5px solid var(--lf-line); border-radius: var(--lf-radius);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.lf-form input:focus, .lf-form textarea:focus, .lf-form select:focus {
  outline: none; border-color: var(--lf-amber); box-shadow: 0 0 0 3px rgba(89,24,230,.18);
}
.lf-form textarea { resize: vertical; min-height: 120px; }
.lf-form .lf-btn { width: 100%; justify-content: center; }
.lf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Plugin form theming (WPForms / Contact Form 7) */
.lf-form input[type="text"], .lf-form input[type="email"], .lf-form input[type="tel"],
.lf-form input[type="url"], .lf-form select, .lf-form textarea,
.lf-form .wpforms-field input, .lf-form .wpforms-field textarea, .lf-form .wpforms-field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--lf-ink);
  padding: 13px 15px; border: 1.5px solid var(--lf-line); border-radius: var(--lf-radius); background: #fff;
}
.lf-form .wpforms-field-label, .lf-form .wpcf7-form label { font-weight: 600; color: var(--lf-ink); font-size: .9rem; }
.lf-form .wpforms-submit, .lf-form .wpcf7-submit, .lf-form button[type="submit"] {
  background: var(--lf-amber) !important; color: #fff !important;
  border: 0 !important; font-weight: 600 !important; padding: 14px 26px !important;
  border-radius: var(--lf-radius) !important; cursor: pointer; font-size: 1rem !important; width: 100%;
}
.lf-form .wpforms-submit:hover, .lf-form .wpcf7-submit:hover { background: var(--lf-amber-dark) !important; color: #fff !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.lf-footer { background: var(--lf-charcoal); color: var(--lf-muted-light); padding: 56px 0 28px; }
.lf-footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--lf-line-dark); }
.lf-footer-brand { max-width: 320px; }
.lf-footer-logo { height: 46px; width: auto; max-width: 320px; display: block; margin-bottom: 14px; }
.lf-footer-brand .lf-brand-text { color: #fff; }
.lf-footer-brand p { font-size: .92rem; margin-top: 14px; }
.lf-footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.lf-footer-col h4 { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.lf-footer-col ul { list-style: none; margin: 0; padding: 0; }
.lf-footer-col li { margin-bottom: 10px; }
.lf-footer-col a { color: var(--lf-muted-light); font-size: .94rem; }
.lf-footer-col a:hover { color: var(--lf-amber); }
.lf-footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablets / small laptops & crowded desktop: 1100 — audience/why 2-up, nav collapses */
@media (max-width: 1100px) {
  .lf-audience-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lf-why-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .lf-menu { display: none; }
  .lf-burger { display: block; }
  .lf-menu.lf-open {
    display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0;
    background: var(--lf-charcoal); padding: 20px 24px; gap: 18px;
    border-bottom: 1px solid var(--lf-line-dark); z-index: 99;
  }
  .lf-menu.lf-open a { font-size: 1rem; }
}

/* Tablet landscape & below: 980 — single-column contact */
@media (max-width: 980px) {
  .lf-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .lf-nav-cta { gap: 12px; }
}

/* Phones / small tablets: 680 — single column everything */
@media (max-width: 680px) {
  .lf-audience-grid { grid-template-columns: 1fr; }
  .lf-services-grid { grid-template-columns: 1fr; }
  .lf-why-grid { grid-template-columns: 1fr; gap: 20px; }
  .lf-form-row { grid-template-columns: 1fr; }
  .lf-cta-inner { flex-direction: column; align-items: flex-start; }
  .lf-cta-inner .lf-btn { width: 100%; justify-content: center; }
  /* Mobile header: shrink logo, keep CTA + burger both visible and tappable */
  .lf-header .lf-container { padding: 0 16px; }
  .lf-header .lf-menu { margin-left: 0; }
  .lf-nav { height: 68px; gap: 10px; }
  .lf-brand { height: 38px; min-width: 0; }
  .lf-logo-img { height: 34px !important; max-height: 34px !important; max-width: 168px !important; }
  .lf-nav-cta { gap: 8px; flex: 0 0 auto; }
  .lf-nav-cta .lf-btn { padding: 10px 13px; font-size: .82rem; white-space: nowrap; }
  .lf-burger { display: block; font-size: 1.75rem; padding: 6px; line-height: 1; }
  .lf-menu.lf-open { top: 68px; }
  .lf-hero-stats { grid-template-columns: 1fr; }
  .lf-stat { border-right: 0; border-bottom: 1px solid var(--lf-line-dark); padding: 22px 20px; }
  .lf-stat:last-child { border-bottom: 0; }
  .lf-footer-top { flex-direction: column; gap: 28px; }
  .lf-footer-cols { gap: 40px; }
}

/* Small phones: 400 — tighten gutters */
@media (max-width: 400px) {
  .lf-container { padding: 0 16px; }
  .lf-header .lf-container { padding: 0 14px; }
  .lf-nav { height: 62px; gap: 8px; }
  .lf-brand { height: 32px; }
  .lf-wordmark { font-size: 1rem; }
  .lf-logo-img { height: 28px !important; max-height: 28px !important; max-width: 140px !important; }
  .lf-nav-cta .lf-btn { padding: 9px 11px; font-size: .76rem; }
  .lf-burger { font-size: 1.6rem; }
  .lf-menu.lf-open { top: 62px; }
  .lf-nav-cta .lf-btn { padding: 9px 13px; font-size: .82rem; }
  .lf-form { padding: 24px 20px; }
}

/* ==================================================================
   MULTI-PAGE TEMPLATES (v3.0.0)
   ================================================================== */

/* Dropdown nav */
.lf-has-sub { position: relative; }
.lf-caret { font-size: 14px; opacity: .7; }
.lf-sub {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--lf-charcoal); border: 1px solid var(--lf-line-dark);
  border-radius: 10px; padding: 8px; list-style: none; margin: 8px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: var(--lf-shadow-lg); z-index: 120;
}
.lf-has-sub:hover .lf-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.lf-sub li { display: block; }
.lf-sub a { display: block; padding: 10px 12px; border-radius: 7px; color: var(--lf-muted-light); font-size: .92rem; white-space: nowrap; }
.lf-sub a:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Page hero (interior pages) */
.lf-phero {
  background: linear-gradient(135deg, var(--lf-charcoal-2) 0%, var(--lf-charcoal) 62%);
  color: #fff; position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}
.lf-phero::after {
  content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.16), transparent 70%); pointer-events: none;
}
.lf-phero-inner { max-width: 760px; position: relative; z-index: 1; }
.lf-phero h1 { color: #fff; margin-bottom: 18px; }
.lf-phero-sub { color: var(--lf-muted-light); font-size: 1.18rem; max-width: 620px; margin-bottom: 28px; }
.lf-phero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Feature grid (cards) */
.lf-fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lf-fcard {
  background: #fff; border: 1px solid var(--lf-line); border-radius: var(--lf-radius-lg);
  padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.lf-fcard:hover { transform: translateY(-4px); box-shadow: var(--lf-shadow-lg); }
.lf-fcard-icon {
  width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--lf-cream-2); color: var(--lf-amber); font-size: 25px; margin-bottom: 18px;
}
.lf-fcard h3 { font-size: 1.15rem; color: var(--lf-charcoal); }
.lf-fcard p { color: var(--lf-muted); font-size: .98rem; margin: 0; }
.lf-fcard--dark { background: var(--lf-charcoal-soft); border-color: var(--lf-line-dark); }
.lf-fcard--dark h3 { color: #fff; }
.lf-fcard--dark p { color: var(--lf-muted-light); }
.lf-fcard--dark .lf-fcard-icon { background: rgba(139,92,246,.16); color: var(--lf-purple-light); }

/* Large numbered steps */
.lf-steps-lg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lf-steplg { background: #fff; border: 1px solid var(--lf-line); border-radius: var(--lf-radius-lg); padding: 26px 22px; }
.lf-steplg-n {
  width: 42px; height: 42px; border-radius: 50%; background: var(--lf-amber); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}
.lf-steplg h3 { font-size: 1.1rem; }
.lf-steplg p { color: var(--lf-muted); font-size: .95rem; margin: 0; }

/* Trust badges */
.lf-badges { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.lf-badge {
  background: #fff; border: 1px solid var(--lf-line); border-radius: 12px;
  padding: 18px 26px; text-align: center; min-width: 170px;
}
.lf-badge strong { display: block; color: var(--lf-charcoal); font-size: 1.05rem; }
.lf-badge span { color: var(--lf-muted); font-size: .82rem; }

/* Service "learn more" affordance */
.lf-svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--lf-amber); font-weight: 600; font-size: .92rem; }

/* Two-column form section */
.lf-formsec { background: var(--lf-cream); }
.lf-formwrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: start; }
.lf-forminfo h2 { color: var(--lf-charcoal); }
.lf-form select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--lf-ink);
  padding: 13px 15px; border: 1.5px solid var(--lf-line); border-radius: var(--lf-radius); background: #fff;
}
.lf-form select:focus { outline: none; border-color: var(--lf-amber); box-shadow: 0 0 0 3px rgba(89,24,230,.18); }
.lf-formnote { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-size: .95rem; }
.lf-formnote--ok { background: #EAF3DE; color: #27500A; }
.lf-formnote--err { background: #FCEBEB; color: #791F1F; }

@media (max-width: 980px) {
  .lf-fgrid { grid-template-columns: repeat(2, 1fr); }
  .lf-steps-lg { grid-template-columns: repeat(2, 1fr); }
  .lf-formwrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .lf-fgrid { grid-template-columns: 1fr; }
  .lf-steps-lg { grid-template-columns: 1fr; }
  /* Mobile: reveal dropdown children inline */
  .lf-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 4px 0 4px 14px; margin: 4px 0; }
  .lf-caret { display: none; }
}
