/* ==========================================================================
   main.css — CHROME ONLY (shared: navbar, footer, hero, buttons, form, etc.)
   Page-specific styles live in <style> blocks via layouts (extraStyles block).
   ========================================================================== */

/* ==================== CSS VARIABLES (Brand Manual) ==================== */
    :root {
      --green: #005030;
      --green-deep: #004a2c;
      --green-border: #004228;
      --green-light: #00693f;
      --green-muted: #e6f0eb;
      --orange: #FF941D;
      --orange-light: #FFab4d;
      --orange-pale: #fff4e6;
      --orange-dark: #e07d0a;
      --cream: #faf9f6;
      --warm-white: #fdfcfa;
      --warm-gray: #6b7280;
      --text-dark: #1f2937;
      --text-body: #374151;
      --text-light: #6b7280;
      --border: #dde5df;
      --font-display: 'Lora', Georgia, serif;
      --font-body: 'DM Sans', system-ui, sans-serif;
      --section-pad: clamp(3rem, 6vw, 5rem);
      --container: min(1140px, 92vw);
    }

    /* ==================== RESET & BASE ==================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
    }
    body {
      font-family: var(--font-body);
      color: var(--text-body);
      background: var(--warm-white);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
      min-width: 280px;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }
    .sr-only {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0,0,0,0); border: 0;
    }
    .container { width: var(--container); margin: 0 auto; min-width: 0; }

    /* ==================== TOP BAR ==================== */
    .top-bar {
      background: var(--cream);
      border-bottom: 1px solid #e8e8e4;
      padding: 0.55rem 0;
      font-size: 0.875rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--text-body);
      display: none;
    }
    .top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
    .top-bar__left { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
    .top-bar__item { display: flex; align-items: center; gap: 0.3rem; }
    .top-bar__item svg { width: 13px; height: 13px; color: var(--green-light); flex-shrink: 0; }
    .top-bar__sep { width: 1px; height: 12px; background: #d1d1cd; margin: 0 0.65rem; }
    .top-bar__right { display: flex; align-items: center; gap: 0.75rem; }

    /* Language Switcher */
    .lang-switcher { display: flex; align-items: center; gap: 0.25rem; background: white; border: 1px solid var(--border); border-radius: 8px; padding: 0.2rem; }
    .lang-switcher__btn { border: none; background: transparent; padding: 0.25rem 0.5rem; border-radius: 6px; font-size: 0.875rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; color: var(--text-light); transition: background 0.2s, color 0.2s; }
    .lang-switcher__btn.active { background: var(--green); color: white; }
    .lang-switcher__btn:hover:not(.active) { background: var(--green-muted); color: var(--green); }

    /* ==================== MEGA-MENU NAVBAR ==================== */
    /* 
       Core 30 Local SEO Strategy: Navigation mirrors GBP category → service hierarchy exactly.
       Each top-level item = GBP category. Each dropdown link = GBP service.
       This builds topical relevance and internal linking signals Google rewards.
    */
    /* Reference: Wakil Law Firm — navbar height 100px desktop, 80px tablet, nav-padding 50/30/15px */
    .navbar {
      background: var(--green);
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid var(--green-border);
      box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    }
    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      height: 100px;
      overflow: visible;
      max-width: var(--container);
      padding-left: 50px;
      padding-right: 50px;
    }

    /* ---- Logo: height-based scaling per reference (48px desktop, 36px mobile); width preserves aspect ---- */
    .navbar__logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;
    }
    .navbar__logo-img {
      height: 52px;
      width: auto;
      max-width: 200px;
      display: block;
      object-fit: contain;
      object-position: left center;
    }
    .navbar__logo-img--mobile {
      height: 44px;
      max-width: 170px;
    }

    /* ---- Menu Items ---- */
    .navbar__menu {
      display: flex;
      align-items: center;
      gap: 0;
      list-style: none;
      margin: 0;
      padding: 0;
      height: 100%;
      flex: 1 1 auto;       /* allow menu to shrink if needed */
      min-width: 0;          /* enable flex shrinking below content size */
      justify-content: center;
    }
    .navbar__item {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
    }
    /* Nav links: 1rem per design-standards; 1rem lateral spacing per reference; top-border accent on hover */
    .navbar__link {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0 1rem;
      height: 100%;
      font-size: 1rem;
      font-weight: 600;
      color: #ffffff;
      text-decoration: none;
      transition: color 0.2s, background 0.2s, border-color 0.2s;
      white-space: nowrap;
      cursor: pointer;
      border: none;
      border-top: 3px solid transparent;
      background: none;
      font-family: var(--font-body);
      letter-spacing: 0.005em;
      line-height: 1.35;
    }
    .navbar__link:hover,
    .navbar__item.active .navbar__link {
      color: white;
      background: rgba(255,255,255,0.08);
      border-top-color: var(--orange);
    }
    .navbar__link svg {
      width: 12px;
      height: 12px;
      opacity: 0.6;
      transition: transform 0.25s ease, opacity 0.2s;
      flex-shrink: 0;
    }
    .navbar__item.active .navbar__link svg {
      transform: rotate(180deg);
      opacity: 0.9;
    }

    /* ---- Right Actions (CTA + Phone) ---- */
    .navbar__actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-shrink: 0;
    }
    .navbar__phone {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      color: var(--orange-light);
      font-weight: 700;
      font-size: 1.125rem;
      text-decoration: none;
      white-space: nowrap;
      transition: color 0.2s;
    }
    .navbar__phone:hover { color: var(--orange); }
    .navbar__phone svg { width: 17px; height: 17px; }
    .navbar__cta {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: var(--orange);
      color: white;
      padding: 0.6rem 1.1rem;
      border-radius: 8px;
      font-size: 1.125rem;
      font-weight: 700;
      font-family: var(--font-body);
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
      box-shadow: 0 2px 8px rgba(255,148,29,0.25);
      white-space: nowrap;
    }
    .navbar__cta:hover {
      background: var(--orange-dark);
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(255,148,29,0.35);
    }
    .navbar__cta svg { width: 16px; height: 16px; }

    /* ---- Mega-Menu Dropdown Panel ---- */
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      border-radius: 0 0 14px 14px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.14), 0 4px 14px rgba(0,0,0,0.08);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.22s ease, visibility 0.22s, transform 0.22s ease;
      z-index: 999;
      border-top: 3px solid var(--orange);
      min-width: 540px;
      max-width: 620px;
    }
    .navbar__item.active .mega-menu {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    /* Full-width mega-menus for categories with many items (Estate Planning) */
    .mega-menu--full {
      left: 50%;
      transform: translateX(-50%);
      min-width: min(900px, 90vw);
      max-width: min(1000px, 94vw);
    }
    .navbar__item.active .mega-menu--full {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    /* Right-anchored mega-menus (for items on right side of nav: Probate, Litigation, Company) */
    .mega-menu--right {
      left: auto;
      right: 0;
    }

    /* Company dropdown quick links */
    .mega-menu__company-links {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
    }
    .mega-menu__company-link {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      padding: 0.7rem 0.8rem;
      border-radius: 10px;
      text-decoration: none;
      color: var(--text-body);
      transition: background 0.18s;
    }
    .mega-menu__company-link:hover {
      background: var(--green-muted);
    }
    .mega-menu__inner {
      padding: 1.75rem 1.75rem 1.5rem;
    }

    /* Category heading inside mega-menu */
    .mega-menu__category-label {
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--green);
      margin-bottom: 0.35rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .mega-menu__category-label::before {
      content: '';
      width: 3px;
      height: 14px;
      background: var(--orange);
      border-radius: 2px;
      flex-shrink: 0;
    }
    .mega-menu__category-desc {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.5;
      margin-bottom: 1rem;
      max-width: 480px;
    }

    /* Service links grid */
    .mega-menu__services {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 0.25rem;
    }
    .mega-menu__service-link {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      padding: 0.65rem 0.75rem;
      border-radius: 8px;
      text-decoration: none;
      color: var(--text-body);
      transition: background 0.15s, color 0.15s;
    }
    .mega-menu__service-link:hover {
      background: var(--green-muted);
      color: var(--green);
    }
    .mega-menu__service-icon {
      width: 36px;
      height: 36px;
      background: var(--green-muted);
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: background 0.15s;
    }
    .mega-menu__service-link:hover .mega-menu__service-icon {
      background: var(--green);
    }
    .mega-menu__service-icon svg {
      width: 18px;
      height: 18px;
      color: var(--green);
      transition: color 0.15s;
    }
    .mega-menu__service-link:hover .mega-menu__service-icon svg {
      color: white;
    }
    .mega-menu__service-name {
      font-size: 0.95rem;
      font-weight: 600;
      line-height: 1.3;
    }
    .mega-menu__service-sub {
      font-size: 0.875rem;
      color: var(--text-light);
      line-height: 1.35;
      margin-top: 0.15rem;
    }
    .mega-menu__service-link:hover .mega-menu__service-sub { color: var(--green-light); }

    /* Locations mega-menu */
    .mega-menu__locations {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem;
    }
    .mega-menu__location-card {
      background: var(--cream);
      border-radius: 10px;
      padding: 1.25rem;
      border: 1px solid var(--border);
    }
    .mega-menu__location-title {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      color: var(--green);
      margin-bottom: 0.5rem;
    }
    .mega-menu__location-address {
      font-size: 0.85rem;
      color: var(--text-body);
      line-height: 1.55;
      margin-bottom: 0.6rem;
    }
    .mega-menu__location-phone {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--orange);
      text-decoration: none;
    }
    .mega-menu__location-phone:hover { color: var(--orange-dark); }
    .mega-menu__location-areas {
      margin-top: 0.6rem;
      font-size: 0.875rem;
      color: var(--text-light);
      line-height: 1.5;
    }
    .mega-menu__location-areas strong { color: var(--text-body); font-weight: 600; }

    /* View all link */
    .mega-menu__footer {
      border-top: 1px solid var(--border);
      margin-top: 1rem;
      padding-top: 0.85rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .mega-menu__view-all {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--green);
      text-decoration: none;
      transition: color 0.15s;
    }
    .mega-menu__view-all:hover { color: var(--orange); }
    .mega-menu__view-all svg { width: 14px; height: 14px; }

    /* ---- Overlay ---- */
    .mega-menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.18);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s, visibility 0.25s;
      pointer-events: none;
    }
    .mega-menu-overlay.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    /* ---- Mobile Hamburger ---- */
    .navbar__hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 38px;
      height: 38px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.2);
      border-radius: 8px;
      cursor: pointer;
      gap: 5px;
      padding: 0;
    }
    .navbar__hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: transform 0.25s ease, opacity 0.2s;
    }
    .navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .navbar__hamburger.active span:nth-child(2) { opacity: 0; }
    .navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ---- Mobile Menu Panel ---- */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: white;
      z-index: 1001;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .mobile-menu.active { display: block; }
    .mobile-menu__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.25rem;
      background: var(--green);
      position: sticky;
      top: 0;
      z-index: 2;
    }
    .mobile-menu__close {
      width: 36px;
      height: 36px;
      background: rgba(255,255,255,0.15);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .mobile-menu__close svg { width: 20px; height: 20px; color: white; }
    .mobile-menu__body { padding: 0.75rem 0; }
    .mobile-menu__section {
      border-bottom: 1px solid var(--border);
    }
    .mobile-menu__section-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 1rem 1.25rem;
      background: none;
      border: none;
      font-size: 1rem;
      font-weight: 700;
      font-family: var(--font-body);
      color: var(--green);
      cursor: pointer;
      text-align: left;
    }
    .mobile-menu__section-toggle svg {
      width: 16px;
      height: 16px;
      color: var(--text-light);
      transition: transform 0.25s ease;
      flex-shrink: 0;
    }
    .mobile-menu__section.open .mobile-menu__section-toggle svg {
      transform: rotate(180deg);
    }
    .mobile-menu__section-content {
      display: none;
      padding: 0 1.25rem 0.75rem;
    }
    .mobile-menu__section.open .mobile-menu__section-content {
      display: block;
    }
    .mobile-menu__service-link {
      display: block;
      padding: 0.7rem 0.75rem;
      font-size: 1rem;
      color: var(--text-body);
      text-decoration: none;
      border-radius: 6px;
      font-weight: 500;
      transition: background 0.15s;
    }
    .mobile-menu__service-link:hover { background: var(--green-muted); }
    .mobile-menu__cta-area {
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .mobile-menu__cta-area .btn-orange {
      text-align: center;
      justify-content: center;
      width: 100%;
    }
    .mobile-menu__phone-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem;
      font-size: 1rem;
      font-weight: 700;
      color: var(--orange);
      text-decoration: none;
      border: 2px solid var(--orange);
      border-radius: 10px;
      transition: background 0.2s;
    }
    .mobile-menu__phone-link:hover { background: var(--orange-pale); }
    .mobile-menu__phone-link svg { width: 18px; height: 18px; }

    /* Tablet: reference nav height 80px, padding 30px */
    @media (max-width: 1440px) {
      .navbar .container {
        height: 80px;
        padding-left: 30px;
        padding-right: 30px;
      }
      .navbar__logo-img { height: 48px; max-width: 185px; }
    }

    /* Mobile: hamburger, compact bar; reference portrait 48px, we use 68px for touch + logo */
    @media (max-width: 1229px) {
      .navbar__menu, .navbar__actions .navbar__phone, .navbar__cta { display: none; }
      .navbar__hamburger { display: flex; }
      .navbar__actions { gap: 0.5rem; }
      .navbar .container {
        height: 68px;
        padding-left: 1rem;
        padding-right: 1rem;
      }
      .navbar__logo-img { height: 44px; max-width: 160px; }
      .mega-menu, .mega-menu--full, .mega-menu--right { display: none !important; }
    }
    @media (max-width: 480px) {
      .top-bar__left { gap: 0.4rem; }
      .top-bar__sep { display: none; }
    }

    /* ==================== HERO ==================== */
    /* Viewport behavior per general-optimizations: 901–1439px = 100vh/dvh; ≥1440px = content-driven */
    .hero {
      background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 55%, #003a20 100%);
      position: relative;
      overflow: hidden;
      padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
      min-height: min(100vh, 100dvh);
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 20% 80%, rgba(255,148,29,0.05) 0%, transparent 55%),
                  radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.15) 0%, transparent 50%);
      pointer-events: none;
    }
    .hero__accent { height: 3px; background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange)); position: absolute; top: 0; left: 0; right: 0; }
    .hero .container {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr minmax(380px, 420px);
      gap: clamp(2.5rem, 5vw, 4rem);
      align-items: center;
      min-height: min(85vh, 85dvh);
    }
    .hero__content { max-width: 560px; }
    .hero__badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,148,29,0.12); border: 1px solid rgba(255,148,29,0.28); border-radius: 100px; padding: 0.4rem 1rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-light); margin-bottom: 1.25rem; }
    .hero__badge svg { width: 14px; height: 14px; }
    .hero__title { font-family: var(--font-display); font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; color: white; margin-bottom: 1rem; letter-spacing: -0.01em; }
    .hero__desc { font-size: 1.125rem; font-weight: 400; line-height: 1.65; color: rgba(255,255,255,0.92); max-width: 500px; margin-bottom: 0.5rem; }
    .hero__desc--secondary { font-size: 1rem; color: rgba(255,255,255,0.82); margin-bottom: 1.25rem; }
    .hero__cta-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

    /* ==================== BUTTONS ==================== */
    .btn-orange { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--orange); color: white; padding: 0.9rem 1.75rem; border-radius: 10px; font-size: 1rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0.01em; border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(255,148,29,0.3); transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
    .btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,148,29,0.35); }
    .btn-orange:active { transform: translateY(0); }
    .btn-orange svg { width: 18px; height: 18px; }
    .btn-outline { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: white; padding: 0.9rem 1.75rem; border-radius: 10px; font-size: 1rem; font-weight: 700; font-family: var(--font-body); border: 2px solid rgba(255,255,255,0.35); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
    .btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.6); }
    .btn-outline svg { width: 18px; height: 18px; }
    .btn-ghost { display: inline-flex; align-items: center; gap: 0.35rem; color: rgba(255,255,255,0.82); font-size: 0.95rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s; }
    .btn-ghost:hover { color: #ffffff; }
    .btn-ghost svg { width: 13px; height: 13px; }
    .facts-card__cta-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 0.9rem; background: var(--orange); color: white; font-family: var(--font-body); font-size: 1rem; font-weight: 700; border-radius: 10px; text-decoration: none; box-shadow: 0 4px 16px rgba(255,148,29,0.3); transition: transform 0.15s, background 0.2s, box-shadow 0.2s; }
    .facts-card__cta-btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,148,29,0.35); }
    .facts-card__cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

    /* ==================== FORM CARD ==================== */
    .form-card { background: white; border-radius: 16px; padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05); }
    .form-card__header { margin-bottom: 1.5rem; }
    .form-card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--green); margin-bottom: 0.3rem; }
    .form-card__sub { font-size: 0.9rem; color: var(--text-light); }
    .form-card__urgency { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--orange-pale); padding: 0.45rem 0.8rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: var(--orange-dark); margin-top: 0.75rem; }
    .form-card__urgency svg { width: 14px; height: 14px; }
    .form-group { margin-bottom: 0.85rem; }
    .form-label { display: block; font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.35rem; }
    .form-input { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 0.7rem 0.85rem; background: var(--cream); font-size: 1rem; font-family: var(--font-body); color: var(--text-dark); transition: border-color 0.2s, box-shadow 0.2s; }
    .form-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,80,48,0.1); }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
    .form-textarea { min-height: 70px; resize: vertical; }
    .form-submit { width: 100%; padding: 0.9rem; margin-top: 0.5rem; }
    .form-privacy { font-size: 0.875rem; color: var(--text-light); line-height: 1.5; margin-top: 0.65rem; display: flex; align-items: flex-start; gap: 0.3rem; }
    .form-privacy svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 1px; }

    /* ==================== TRUST BAR ==================== */
    .trust-bar { background: var(--green-deep); border-top: 1px solid var(--green-border); padding: 1.35rem 0; }
    .trust-bar .container { display: flex; justify-content: center; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
    .trust-bar__item { display: flex; align-items: center; gap: 0.45rem; padding: 0.45rem; color: #ffffff; font-size: 0.9rem; font-weight: 500; }
    .trust-bar__icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); border-radius: 8px; }
    .trust-bar__icon svg { width: 17px; height: 17px; color: var(--orange-light); }
    .trust-bar__sep { width: 1px; height: 24px; background: rgba(255,255,255,0.18); }

    /* ==================== SECTIONS (Generic) ==================== */
    .section { padding: var(--section-pad) 0; }
    .section--cream { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .section--dark { background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 55%, #003a20 100%); color: white; position: relative; }
    .section--dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 80%, rgba(255,148,29,0.05) 0%, transparent 55%), radial-gradient(ellipse at 80% 20%, rgba(0,0,0,0.15) 0%, transparent 50%); pointer-events: none; }
    .section--dark .container { position: relative; z-index: 1; }
    .section__eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-light); margin-bottom: 0.6rem; }
    .section--dark .section__eyebrow { color: var(--orange-light); }
    .section__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; line-height: 1.25; color: var(--green); margin-bottom: 0.75rem; }
    .section--dark .section__title { color: white; }
    .section__desc { font-size: 1.06rem; line-height: 1.7; color: var(--text-body); max-width: 680px; }
    .section--dark .section__desc { color: rgba(255,255,255,0.88); }
    .section__header { margin-bottom: 2.5rem; }
    .section__header--center { text-align: center; }
    .section__header--center .section__desc { margin: 0 auto; }

    /* ==================== SHARED CONTENT (Testimonials, FAQ, Locations) ==================== */
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
    .testimonial-card { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 1.5rem; }
    .testimonial__stars { font-size: 0.9rem; letter-spacing: 2px; color: var(--orange-light); margin-bottom: 0.75rem; }
    .testimonial__text { font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,0.95); margin-bottom: 1rem; font-style: italic; }
    .testimonial__author { font-size: 0.875rem; font-weight: 600; color: white; }
    .testimonial__role { font-size: 0.875rem; color: rgba(255,255,255,0.78); }

    .faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
    .faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
    .faq-item__q { font-size: 0.95rem; font-weight: 600; color: var(--green); margin-bottom: 0.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
    .faq-item__q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-light); transition: transform 0.2s; }
    .faq-item.open .faq-item__q svg { transform: rotate(180deg); }
    .faq-item__a { font-size: 0.9rem; line-height: 1.65; color: var(--text-body); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
    .faq-item.open .faq-item__a { max-height: 300px; }

    .locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
    .location-block { background: var(--cream); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
    .location-block__map { width: 100%; height: 220px; background: var(--green-muted); border-bottom: 1px solid var(--border); }
    .location-block__map iframe { width: 100%; height: 100%; border: none; }
    .location-block__info { padding: 1.5rem; }
    .location-block__name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--green); margin-bottom: 0.5rem; }
    .location-block__detail { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.9rem; color: var(--text-body); margin-bottom: 0.4rem; line-height: 1.55; }
    .location-block__detail svg { width: 16px; height: 16px; color: var(--green-light); flex-shrink: 0; margin-top: 2px; }

    /* ==================== FOOTER ==================== */
    .footer { background: var(--green-deep); color: rgba(255,255,255,0.88); padding: 2.5rem 0 1.5rem; font-size: 0.875rem; line-height: 1.7; }
    .footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
    .footer__brand-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
    .footer__brand-desc { margin-bottom: 1rem; max-width: 300px; }
    .footer__social { display: flex; gap: 0.75rem; }
    .footer__social a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,0.08); transition: background 0.2s; }
    .footer__social a:hover { background: rgba(255,255,255,0.15); }
    .footer__social svg { width: 16px; height: 16px; color: rgba(255,255,255,0.8); }
    .footer__heading { font-weight: 600; color: white; font-size: 0.875rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
    .footer__link { display: block; padding: 0.2rem 0; transition: color 0.2s; }
    .footer__link:hover { color: var(--orange-light); }
    .footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.72); }

    /* ==================== STICKY CTA (Mobile) ==================== */
    .sticky-cta {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--green-deep);
      padding: 0.75rem;
      padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
      z-index: 100;
      box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    }
    .sticky-cta .container { display: flex; justify-content: center; gap: 0.5rem; max-width: 500px; }
    .sticky-cta .btn-orange { flex: 1; justify-content: center; font-size: 1rem; font-weight: 600; padding: 0.75rem; }
    .sticky-cta__call { display: flex; align-items: center; justify-content: center; gap: 0.4rem; background: transparent; border: 2px solid rgba(255,255,255,0.35); color: white; padding: 0.75rem 1rem; border-radius: 8px; font-size: 1rem; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
    .sticky-cta__call:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.6); }
    .sticky-cta__call svg { width: 16px; height: 16px; }

    /* ==================== RESPONSIVE ==================== */
    @media (min-width: 901px) { .hero__content { padding-top: 80px; } }
    @media (min-width: 1440px) {
      .hero { min-height: auto; }
      .hero .container { min-height: auto; }
    }
    @media (max-width: 900px) {
      .hero { min-height: auto; padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.75rem, 6vw, 4rem); }
      .hero .container { grid-template-columns: 1fr; align-items: start; min-height: auto; gap: clamp(2rem, 4vw, 3rem); }
      .form-card { max-width: 480px; margin: 0 auto; }
      .footer .container { grid-template-columns: 1fr 1fr; }
      .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
      .locations-grid { grid-template-columns: 1fr; }
      .faq-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .sticky-cta { display: block; }
      body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
      .top-bar__left { font-size: 0.875rem; }
      .top-bar__sep { display: none; }
    }
    @media (max-width: 480px) {
      .form-row { grid-template-columns: 1fr; }
      .hero__cta-actions { flex-direction: column; align-items: stretch; }
      .trust-bar .container { flex-direction: column; gap: 0.25rem; }
      .trust-bar__sep { display: none; }
      .trust-bar__item { padding: 0.35rem; }
      .footer .container { grid-template-columns: 1fr; }
    }

    /* ==================== MOBILE UTILITIES (general-optimizations) ==================== */
    .mobile-br { display: none; }
    @media (max-width: 600px) {
      .mobile-br { display: block; }
    }
    @media (max-width: 600px) {
      .btn-orange, .btn-outline, .top-bar__call-btn, .navbar__cta, .call-card__cta, .sticky-cta .btn-orange, .sticky-cta__call {
        min-height: 48px;
        touch-action: manipulation;
      }
      .form-input, .form-textarea, select.form-input {
        min-height: 48px;
        font-size: 1rem;
        touch-action: manipulation;
      }
    }

    /* ==================== ANIMATIONS ==================== */
    .fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    @media (prefers-reduced-motion: reduce) {
      .fade-up, .call-card { animation: none !important; }
      .call-card__live-dot, .call-card__step:first-child .call-card__step-icon { animation: none !important; }
    }

    /* ==================== HERO BENEFIT BULLETS (Call Optimization) ==================== */
    /*
      Scannable trust signals directly below the hero description.
      Mirrors PPC landing page pattern: orange icon circles + benefit copy.
    */
    .hero__benefits {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      margin-top: 0.25rem;
      margin-bottom: 1.5rem;
    }
    .hero__benefit {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      font-size: 1rem;
      line-height: 1.5;
      color: rgba(255,255,255,0.95);
    }
    .hero__benefit-icon {
      flex-shrink: 0;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,148,29,0.15);
      border: 1px solid rgba(255,148,29,0.3);
      border-radius: 50%;
      margin-top: 1px;
    }
    .hero__benefit-icon svg {
      width: 12px;
      height: 12px;
      color: var(--orange);
    }
    .hero__benefit strong { color: white; font-weight: 600; }

    /* ==================== CALL CARD (Replaces lead form in hero right column) ==================== */
    /*
      White conversion card focused entirely on driving phone calls.
      Visual structure mirrors PPC roadmap card: header → steps → big CTA → meta strip.
      Position: hero right column (same slot as the old lead form).
    */
    .call-card {
      background: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
      max-width: 420px;
      width: 100%;
      position: relative;
      /* Slide in from right — matches PPC card animation */
      animation: slideInRight 0.7s ease-out 0.2s both;
    }
    @keyframes slideInRight {
      from { opacity: 0; transform: translateX(30px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    /* Orange accent line at top */
    .call-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 50%, var(--orange) 100%);
    }

    /* --- Card header --- */
    .call-card__header {
      padding: 1.5rem 1.75rem 1.25rem;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(180deg, #fafafa 0%, white 100%);
    }
    .call-card__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 0.55rem;
    }
    /* Pulsing green "live" dot */
    .call-card__live-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #16a34a;
      flex-shrink: 0;
      animation: livePulse 2s ease-in-out infinite;
    }
    @keyframes livePulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.4; transform: scale(1.25); }
    }
    .call-card__title {
      font-family: var(--font-display);
      font-size: clamp(1.2rem, 2.2vw, 1.45rem);
      font-weight: 700;
      color: var(--text-dark);
      line-height: 1.22;
      margin-bottom: 0.35rem;
    }
    .call-card__sub {
      font-size: 0.9rem;
      color: var(--text-light);
      line-height: 1.5;
    }

    /* --- Steps: what happens when you call --- */
    .call-card__steps {
      padding: 1.25rem 1.75rem;
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative;
    }
    /* Vertical connector line behind step icons */
    .call-card__steps::before {
      content: '';
      position: absolute;
      left: calc(1.75rem + 15px);  /* icon center */
      top: calc(1.25rem + 16px);
      bottom: calc(1.25rem + 16px);
      width: 2px;
      background: linear-gradient(to bottom, var(--border) 0%, var(--border) 100%);
      border-radius: 2px;
    }
    .call-card__step {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 0.9rem 0;
      position: relative;
      z-index: 1;
    }
    .call-card__step-icon {
      flex-shrink: 0;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--green-muted);
      border: 2px solid var(--border);
    }
    .call-card__step-icon svg {
      width: 14px;
      height: 14px;
      color: var(--green);
    }
    /* First step (You Call) gets orange treatment — the action step */
    .call-card__step:first-child .call-card__step-icon {
      background: var(--orange);
      border-color: var(--orange);
      animation: sourceRipple 3.5s ease-in-out infinite;
    }
    .call-card__step:first-child .call-card__step-icon svg { color: white; }
    @keyframes sourceRipple {
      0%, 100% { box-shadow: 0 0 0 0 rgba(255,148,29,0.4); }
      50%       { box-shadow: 0 0 0 6px rgba(255,148,29,0); }
    }
    .call-card__step-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 0.1rem;
      line-height: 1.3;
    }
    .call-card__step-desc {
      font-size: 0.875rem;
      color: var(--text-light);
      line-height: 1.45;
    }

    /* --- Footer: big phone CTA --- */
    .call-card__footer {
      padding: 0 1.75rem 1.5rem;
    }
    .call-card__cta-label {
      text-align: center;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 0.65rem;
      letter-spacing: 0.01em;
    }
    .call-card__cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      width: 100%;
      padding: 1.1rem 1.25rem;
      background: var(--orange);
      color: white;
      font-family: var(--font-body);
      font-size: clamp(1.1rem, 2vw, 1.3rem);
      font-weight: 700;
      border-radius: 12px;
      letter-spacing: 0.01em;
      box-shadow: 0 4px 20px rgba(255,148,29,0.35);
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s;
      text-decoration: none;
    }
    .call-card__cta:hover {
      transform: scale(1.02);
      background: var(--orange-dark);
      box-shadow: 0 6px 28px rgba(255,148,29,0.45);
    }
    .call-card__cta svg { width: 22px; height: 22px; flex-shrink: 0; }
    /* Language pills below the call button */
    .call-card__langs {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      margin-top: 0.8rem;
    }
    .call-card__lang-label {
      font-size: 0.875rem;
      color: var(--green);
      font-weight: 600;
    }
    .call-card__lang-pill {
      background: white;
      color: var(--green);
      border: 1px solid var(--border);
      padding: 0.22rem 0.5rem;
      font-size: 0.8rem;
      font-weight: 700;
      border-radius: 4px;
      font-family: var(--font-body);
    }

    /* --- Bottom meta strip --- */
    .call-card__meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      padding: 0.9rem 1rem;
      background: var(--cream);
      border-top: 1px solid var(--border);
    }
    .call-card__meta-item {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-dark);
      white-space: nowrap;
    }
    .call-card__meta-item svg {
      width: 13px;
      height: 13px;
      color: var(--green);
      flex-shrink: 0;
    }

    /* ==================== TOP BAR ORANGE CALL BUTTON ==================== */
    .top-bar__call-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 1rem;
      background: var(--orange);
      color: white;
      font-family: var(--font-body);
      font-size: 1rem;
      font-weight: 700;
      border-radius: 8px;
      text-decoration: none;
      transition: background 0.15s, transform 0.15s;
      box-shadow: 0 2px 8px rgba(255,148,29,0.3);
      white-space: nowrap;
    }
    .top-bar__call-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
    .top-bar__call-btn svg { width: 14px; height: 14px; }

    /* ==================== CALL-OPTIMIZED HERO CTA ACTIONS ==================== */
    /*
      Phone call is the sole primary orange button.
      Form link is demoted to a subtle ghost link to preserve form access
      without competing with the phone CTA.
    */
    .hero__cta-form-link {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      color: rgba(255,255,255,0.78);
      font-size: 0.9rem;
      font-weight: 500;
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color 0.15s;
      margin-top: 0.6rem;
    }
    .hero__cta-form-link:hover { color: rgba(255,255,255,0.9); }
    .hero__cta-form-link svg { width: 13px; height: 13px; }

    /* ==================== RESPONSIVE — CALL CARD ==================== */
    @media (max-width: 900px) {
      .call-card { max-width: 480px; margin: 0 auto; }
    }
    @media (max-width: 480px) {
      .call-card__cta { font-size: 1.05rem; }
      .call-card__meta { gap: 0.65rem; }
      .call-card__meta-item { font-size: 0.875rem; }
    }

/* ==========================================================================
   SITE COMPONENTS (breadcrumbs, articles, blog, team, contact, legal, 404)
   ========================================================================== */

.skip-link { position: absolute; top: -100px; left: 0; padding: 0.5rem 1rem; background: var(--green); color: white; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 0; }
.navbar__menu { align-self: stretch; }
.navbar__item { align-self: stretch; }
main { min-height: 50vh; padding: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: 0.9rem; color: var(--text-light); margin-bottom: 1rem; }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-light); }
.breadcrumb--hero { color: rgba(255,255,255,0.8); margin-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0; justify-content: center; }
.breadcrumb--hero a { color: rgba(255,255,255,0.92); }
.breadcrumb--hero a:hover { color: #fff; }
.breadcrumb--hero [aria-current="page"] { color: rgba(255,255,255,0.95); font-weight: 600; }
.breadcrumb .bc-sep { margin: 0 0.35rem; opacity: 0.6; }
.content-wrap { max-width: 800px; margin: 0 auto; }
.article-body { font-family: var(--font-body); color: var(--text-body); overflow-wrap: break-word; }

/* Page hero (contact, etc.) — full-width green gradient */
.hero--page .container { display: block; }
.hero--page .breadcrumb { color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.hero--page .breadcrumb a { color: rgba(255,255,255,0.92); }
.hero--page .breadcrumb a:hover { color: #fff; }
.hero--page .breadcrumb span { color: rgba(255,255,255,0.95); }
.hero--page .hero__title { color: white; margin-bottom: 0.5rem; }
.hero--page .hero__desc { margin-bottom: 0; color: rgba(255,255,255,0.92); font-size: 1.125rem; line-height: 1.65; }
.page-content { padding: var(--section-pad) 0; }
.page-content .prose-h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.page-content .prose-h2:first-of-type { margin-top: 0; }
.page-content p { margin-bottom: 1rem; }
.page-content a { color: var(--green); font-weight: 600; }
.page-content a:hover { color: var(--green-light); }



/* prefers-reduced-motion (global) — post-card/blog-featured overrides in blog.njk */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
