/* ==========================================================================
   LOCALEADR HOMEPAGE REDESIGN (v2) - SPEC TOKENS & COMPONENTS
   Single source of truth for colors, typography, spacing, and responsiveness.
   ========================================================================== */
:root {
  --navy: #0B1226;
  --teal: #2E7D78;
  --teal-dark: #246460;
  --teal-soft: #E4F0EE;
  --teal-dot: #3F8F8A;
  --surface: #F2F7F7;
  --surface-alt: #F7FAFA;
  --line: #E3EAEA;
  --line-chip: #DCE6E5;
  --border-ghost: #B9D3D0;
  --muted: #5A6B6A;
  --wa: #1E8E4E;
  --wa-dark: #17733F;
  --green: #4C9B4C;
  --amber-dot: #D97706;
  --slate-dot: #94A3B8;
  --white: #FFFFFF;
  --white-80: rgba(255, 255, 255, 0.82);
  --white-12: rgba(255, 255, 255, 0.12);
  --navy-shadow: rgba(11, 18, 38, 0.08);
  --navy-nav-shadow: rgba(11, 18, 38, 0.06);
  --radius-card: 24px;
  --radius-pill: 999px;
}

/* Force light clean canvas on homepage per spec */
.lh-page {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  background-color: var(--white) !important;
  color: var(--navy) !important;
  font-style: normal !important;
  line-height: 1.65;
  overflow-x: clip;
  width: 100%;
}

.lh-page *,
.lh-page *::before,
.lh-page *::after {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-style: normal !important;
  box-sizing: border-box;
}

.lh-container {
  max-width: 1280px;
  margin: 0 auto;
}

.lh-sec {
  padding: 80px 64px 0;
}

.lh-page h1,
.lh-page h2,
.lh-page h3,
.lh-page h4 {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
  text-transform: none;
}

.lh-page p {
  margin: 0;
  line-height: 1.65;
}

.lh-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lh-meta {
  font-size: 15px;
  color: var(--muted);
}

.lh-teal {
  color: var(--teal);
}

.lh-h2 {
  font-size: 40px;
  line-height: 1.1;
  margin-top: 8px;
}

/* Buttons */
.lh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  border: 0;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--teal);
  color: var(--white) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.lh-btn:hover {
  background-color: var(--teal-dark);
  color: var(--white) !important;
}

.lh-btn:focus-visible,
.lh-chip:focus-visible,
.lh-faq-trigger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.lh-btn-navy {
  background-color: var(--navy);
  color: var(--white) !important;
}

.lh-btn-navy:hover {
  background-color: var(--teal);
}

.lh-btn-ghost {
  background-color: var(--white);
  color: var(--teal) !important;
  border: 1.5px solid var(--border-ghost);
}

.lh-btn-ghost:hover {
  background-color: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal) !important;
}

.lh-btn-wa {
  background-color: var(--wa);
  color: var(--white) !important;
}

.lh-btn-wa:hover {
  background-color: var(--wa-dark);
}

/* Chips */
.lh-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-chip);
  background-color: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lh-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.lh-chip.is-active {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.lh-chip.is-active-navy {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Cards & Grids */
.lh-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.lh-g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.lh-g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.lh-g6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 28px;
}

/* ── Floating Pill Navbar Overrides on Localeadr ── */
.lh-nav-wrap {
  max-width: 1280px;
  margin: 16px auto 0;
  padding: 0 48px;
  position: relative;
  z-index: 60;
}

.lh-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px 10px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: var(--white);
  box-shadow: 0 8px 24px var(--navy-nav-shadow);
  gap: 16px;
}

.lh-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy) !important;
  text-decoration: none !important;
  letter-spacing: -0.02em;
}

.lh-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 15px;
}

.lh-nav-link {
  color: var(--navy) !important;
  text-decoration: none !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.lh-nav-link:hover {
  color: var(--teal) !important;
}

.lh-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lh-nav-actions .lh-btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.lh-nav-mobile-btn {
  display: none;
  min-height: 44px;
  padding: 0 16px;
}

/* ── Phase 1: Hero & Dashboard Card ── */
.lh-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding: 56px 64px 0;
  align-items: center;
}

.lh-h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  margin-top: 14px;
}

.lh-hero-lead {
  font-size: 19px;
  color: var(--muted);
  margin-top: 18px;
  max-width: 540px;
}

.lh-hero-ctas {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.lh-hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.lh-dash-card {
  padding: 22px;
  box-shadow: 0 20px 50px var(--navy-shadow);
}

.lh-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lh-dash-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

.lh-dash-sample {
  font-size: 13px;
  color: var(--muted);
}

.lh-dash-tabs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.lh-geogrid-wrap {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
}

.lh-geogrid-5x3 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  justify-items: center;
}

.lh-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--teal-dot);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.25s ease;
}

.lh-dot.is-top3 {
  background-color: var(--green);
}

.lh-dot.is-mid {
  background-color: var(--amber-dot);
}

.lh-dot.is-low {
  background-color: var(--slate-dot);
}

.lh-dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.lh-dash-metric {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 14px;
}

.lh-dash-metric b {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1.15;
}

.lh-dash-metric span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.lh-dash-panel-summary {
  padding: 18px;
  border-radius: 18px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  margin-top: 16px;
}

.lh-dash-panel-summary b {
  display: block;
  font-size: 16px;
  color: var(--navy);
}

.lh-dash-panel-summary p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* Markets & Channels Strip */
.lh-markets-strip {
  padding: 44px 64px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.lh-markets-label {
  font-weight: 700;
  margin-right: 6px;
  font-size: 15px;
  color: var(--muted);
}

.lh-markets-chips {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.lh-channels-list {
  margin-left: auto;
  font-size: 15px;
  color: var(--muted);
}

/* ── Phase 2: Services, Industries, Why, Plans, Tools ── */
.lh-service-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lh-service-card h3 {
  font-size: 24px;
  margin-top: 8px;
  line-height: 1.2;
}

.lh-service-card p {
  margin-top: 10px;
}

.lh-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--teal) !important;
  margin-top: 14px;
  text-decoration: none !important;
  min-height: 44px;
}

.lh-link:hover {
  text-decoration: underline !important;
}

.lh-ai-band {
  margin-top: 20px;
  background-color: var(--navy);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 26px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.lh-ai-band b {
  font-size: 20px;
  color: var(--white);
  display: block;
}

.lh-ai-band p {
  color: var(--white-80);
  margin-top: 4px;
  max-width: 660px;
  font-size: 15px;
}

.lh-industry-card {
  padding: 18px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.lh-industry-card:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.lh-why-card {
  padding: 24px;
}

.lh-why-card h3 {
  font-size: 20px;
}

.lh-why-card p {
  margin-top: 8px;
  font-size: 14px;
}

/* Plans */
.lh-plan-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lh-plan-card.is-popular {
  border: 2px solid var(--teal);
}

.lh-plan-badge {
  font-size: 12px;
  font-weight: 700;
  background-color: var(--teal-soft);
  color: var(--teal);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-left: 8px;
}

.lh-plan-price {
  font-size: 34px;
  font-weight: 800;
  margin-top: 8px;
  color: var(--navy);
  line-height: 1.15;
}

.lh-plan-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.lh-plan-features {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.lh-plan-btn {
  width: 100%;
  margin-top: 18px;
}

.lh-diy-note {
  text-align: center;
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}

.lh-diy-note a {
  color: var(--teal) !important;
  font-weight: 700;
  text-decoration: none;
}

.lh-diy-note a:hover {
  text-decoration: underline;
}

/* Tools */
.lh-tool-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lh-tool-card h3 {
  font-size: 20px;
}

.lh-tool-card p {
  margin-top: 8px;
  font-size: 14px;
}

/* ── Phase 3: Steps, Results, Latest Insights, FAQ, Agencies ── */
.lh-step-card {
  padding: 26px;
}

.lh-step-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--teal);
  display: block;
  line-height: 1;
}

.lh-step-card h3 {
  font-size: 22px;
  margin-top: 8px;
}

.lh-step-card p {
  margin-top: 8px;
}

.lh-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.lh-result-card {
  padding: 24px;
}

.lh-result-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 6px;
  line-height: 1.1;
}

/* Latest Insights (Preserved structure with spec item 12 tweaks) */
.lh-insights-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.lh-insight-featured {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lh-insight-img {
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--navy);
}

.lh-insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lh-insight-meta-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.lh-insight-tag {
  font-size: 12px;
  font-weight: 700;
  background-color: var(--teal-soft);
  color: var(--teal);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.lh-insight-title {
  font-size: 24px;
  line-height: 1.2;
  margin-top: 10px;
}

.lh-insight-excerpt {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lh-insight-list-item {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-decoration: none;
  display: block;
}

.lh-insight-list-item.is-active {
  border-left: 3px solid var(--teal);
  background-color: var(--surface-alt);
}

.lh-insight-list-item h3 {
  font-size: 18px;
  margin-top: 4px;
  line-height: 1.3;
  color: var(--navy);
}

.lh-insight-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  gap: 12px;
  flex-wrap: wrap;
}

/* FAQ Accordion */
.lh-faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.lh-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.lh-faq-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background-color: var(--white);
  overflow: hidden;
}

.lh-faq-card.is-open {
  border-color: var(--teal);
}

.lh-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  min-height: 48px;
}

.lh-faq-card.is-open .lh-faq-trigger {
  color: var(--teal);
}

.lh-faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Agencies Strip */
.lh-agency-strip {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--surface) !important;
  gap: 20px;
}

.lh-agency-strip b {
  font-size: 20px;
  color: var(--navy);
  display: block;
}

/* ── Phase 4: Final CTA, Footer & Sticky Mobile Bar ── */
.lh-final-cta-sec {
  padding-bottom: 72px;
}

.lh-final-cta {
  background-color: var(--navy);
  color: var(--white);
  border-radius: 32px;
  padding: 56px 32px;
  text-align: center;
}

.lh-final-cta h2 {
  font-size: 44px;
  color: var(--white);
  line-height: 1.1;
}

.lh-final-cta p {
  color: var(--white-80);
  margin-top: 10px;
  font-size: 18px;
}

.lh-final-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.lh-mobile-bar {
  display: none;
}

/* ── Mobile Breakpoint (360px - 767px) ── */
@media (max-width: 767.98px) {
  .lh-page {
    padding-bottom: 84px;
  }

  .lh-nav-wrap {
    margin: 0;
    padding: 0;
  }

  .lh-navbar {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 12px 16px;
    box-shadow: none;
  }

  .lh-nav-links,
  .lh-nav-actions {
    display: none !important;
  }

  .lh-nav-mobile-btn {
    display: inline-flex;
  }

  .lh-sec {
    padding: 44px 16px 0;
  }

  .lh-h2 {
    font-size: 28px;
  }

  .lh-hero {
    grid-template-columns: 1fr;
    padding: 20px 16px 0;
    gap: 24px;
  }

  .lh-h1 {
    font-size: 32px;
    line-height: 1.15;
    margin-top: 12px;
  }

  .lh-hero-lead {
    font-size: 16px;
    margin-top: 16px;
    line-height: 1.65;
  }

  .lh-hero-ctas {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .lh-hero-ctas .lh-btn {
    width: 100%;
  }

  .lh-dash-card {
    padding: 16px;
    border-radius: 20px;
  }

  .lh-dot {
    width: 30px;
    height: 30px;
  }

  .lh-dash-metric {
    padding: 10px;
    border-radius: 14px;
  }

  .lh-dash-metric b {
    font-size: 20px;
  }

  .lh-dash-metric span {
    font-size: 12px;
  }

  /* Markets horizontal scroll on mobile */
  .lh-markets-strip {
    padding: 22px 16px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .lh-markets-chips {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lh-markets-chips::-webkit-scrollbar {
    display: none;
  }

  .lh-channels-list {
    margin-left: 0;
    font-size: 13px;
  }

  /* Grids on mobile */
  .lh-g3 {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .lh-g4 {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .lh-g6 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }

  .lh-industry-card {
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-pill);
    font-size: 14px;
  }

  .lh-service-card {
    padding: 20px;
  }

  .lh-service-card h3 {
    font-size: 20px;
  }

  .lh-ai-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
  }

  .lh-ai-band .lh-btn {
    width: 100%;
  }

  .lh-why-card {
    padding: 16px;
  }

  .lh-plan-card {
    padding: 20px;
  }

  .lh-plan-price {
    font-size: 28px;
  }

  .lh-step-card {
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .lh-step-num {
    font-size: 24px;
    flex-shrink: 0;
  }

  .lh-step-card h3 {
    font-size: 17px;
    margin-top: 0;
  }

  /* Results horizontal scroll on mobile */
  .lh-results-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin: 16px -16px 0;
    padding: 0 16px 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .lh-results-grid::-webkit-scrollbar {
    display: none;
  }

  .lh-result-card {
    flex: none;
    width: 240px;
    padding: 20px;
  }

  .lh-result-num {
    font-size: 32px;
  }

  /* Latest insights on mobile */
  .lh-insights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }

  .lh-insight-featured {
    padding: 14px;
  }

  .lh-insight-img {
    height: 160px;
    border-radius: 14px;
  }

  .lh-insight-title {
    font-size: 19px;
  }

  .lh-insight-featured .lh-btn {
    width: 100%;
  }

  .lh-insight-list-item {
    padding: 14px 4px;
  }

  .lh-insight-list-item h3 {
    font-size: 16px;
  }

  .lh-insight-list-footer {
    padding: 14px 0 0;
  }

  .lh-insight-list-footer .lh-btn-ghost {
    width: 100%;
  }

  /* Agencies & Final CTA on mobile */
  .lh-agency-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .lh-agency-strip .lh-btn {
    width: 100%;
  }

  .lh-final-cta-sec {
    padding-bottom: 40px;
  }

  .lh-final-cta {
    border-radius: 24px;
    padding: 32px 20px;
  }

  .lh-final-cta h2 {
    font-size: 28px;
  }

  .lh-final-cta p {
    font-size: 15px;
  }

  .lh-final-cta-actions .lh-btn {
    width: 100%;
  }

  /* Sticky mobile bottom bar */
  .lh-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px;
    background-color: var(--white);
    border-top: 1px solid var(--line);
    gap: 10px;
  }

  .lh-mobile-bar .lh-btn {
    flex: 1;
    padding: 0 8px;
    font-size: 14px;
  }
}
