/* =========================================================
   Legal Lead Marketing — Custom CSS
   Bootstrap 5 handles the grid, spacing, and utilities.
   This file covers only what Bootstrap can't achieve.
   ========================================================= */

/* ---- Global Tokens ---- */
:root {
  --clr-brand:   #FFC107;   /* warning yellow – primary accent */
  --clr-dark:    #0d0d0d;
  --clr-navy:    #111827;
  --clr-muted:   #6b7280;
  --font-main:   'Inter', system-ui, sans-serif;
  --font-display:'Playfair Display', Georgia, serif;
}

/* ---- Base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

/* Prevent horizontal scroll / white overspill on all viewports */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  color: #1f2937;
  font-size: 15px;
  line-height: 1.65;
}

/* containers keep their natural Bootstrap max-width & auto side margins */

/* Utility helpers not in Bootstrap */
.fw-800  { font-weight: 800 !important; }
.fw-900  { font-weight: 900 !important; }
.fw-600  { font-weight: 600 !important; }
.ls-wide { letter-spacing: .12em; }
.text-white-75 { color: rgba(255,255,255,.75); }
.tiny { font-size: .65rem; }

/* =========================================================
   NAVBAR
   ========================================================= */
.llm-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111827;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  padding: .55rem 0;
}
.llm-navbar .llm-container { max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; }
.llm-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  width: 100%;
}
.llm-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none !important;
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
}
.llm-brand i { font-size: 1.5rem; color: var(--clr-brand); }
.llm-brand-name    { display: block; font-weight: 900; font-size: .95rem; letter-spacing: .5px; color: #fff; line-height: 1.2; }
.llm-brand-tagline { display: block; font-size: .6rem; letter-spacing: 2px; color: var(--clr-brand); font-weight: 600; line-height: 1.2; }
.llm-brand--light .llm-brand-name { color: #fff; }

/* Nav links — grown to fill middle space */
.llm-nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
}
.llm-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
/* Mobile Screen Only */
@media screen and (min-width: 600px) {
	.llm-nav-list {
	  margin-left: 5rem; /* increase/decrease to taste */
	}
}
/* Note: wp_nav_menu() is called with 'container' => false, so WordPress
   does NOT add a wrapper div here. The old ".llm-nav-menu > div { display:
   contents }" rule below used to target that (non-existent) wrapper, but
   it was also matching .llm-nav-actions (also a direct child <div>), which
   silently killed its flex/gap/margin-auto behavior. Removed. */
.llm-nav-list li a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .45rem .75rem;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.llm-nav-list li a:hover { color: #fff; background: rgba(255,255,255,.08); }
.llm-nav-list li.current-menu-item > a { color: var(--clr-brand); }

.llm-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.llm-nav-phone {
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}
.llm-nav-phone i { color: var(--clr-brand); margin-right: .3rem; }

/* Mobile hamburger — hidden by default on desktop */
.llm-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-shrink: 0;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.llm-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#mainNav { /* legacy ID kept for JS scroll listener */
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  min-height: 620px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Courthouse background image */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1800&q=80')
              center / cover no-repeat;
  z-index: 0;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10, 14, 30, 0.93) 0%,
    rgba(10, 14, 30, 0.80) 55%,
    rgba(10, 14, 30, 0.55) 100%
  );
  z-index: 1;
}

.hero-section .container-xl { z-index: 2; }

/* Hero headline */
.hero-headline {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}

/* Translucent value-prop badges */
.hero-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

/* Trust badge pills */
.trust-badges .badge-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .25rem .75rem;
  font-size: .72rem;
  font-weight: 600;
}

/* Lead capture form card */
.lead-form-card {
  background: #fff;
  border-top: 4px solid var(--clr-brand);
}
.lead-form-card .form-control,
.lead-form-card .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: .875rem;
  padding: .55rem .9rem;
  transition: border-color .2s;
}
.lead-form-card .form-control:focus,
.lead-form-card .form-select:focus {
  border-color: var(--clr-brand);
  box-shadow: 0 0 0 3px rgba(255,193,7,.2);
}
.lead-form-card .btn-warning {
  background-color: var(--clr-brand);
  border: none;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.lead-form-card .btn-warning:hover {
  background-color: #e0a800;
  transform: translateY(-1px);
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.client-logo {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: #374151;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: .5rem 1rem;
  text-align: center;
  line-height: 1.3;
}
.google-rating {
  background: #fff;
}

/* =========================================================
   CASE STUDY CARDS
   ========================================================= */
.case-card { transition: box-shadow .25s; }
.case-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12) !important; }

.case-card-header { background-color: #1a1a2e !important; }

.metric-chip {
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  padding: .3rem .5rem;
  font-size: .72rem;
  color: #fff;
  line-height: 1.3;
}
.metric-chip strong { font-size: .85rem; color: #fff; }
.metric-chip.metric-green { background: rgba(34,197,94,.25); }
.metric-chip.metric-blue  { background: rgba(59,130,246,.25); }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.service-card {
  border: 1.5px solid #f1f5f9;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--clr-brand);
  box-shadow: 0 4px 20px rgba(255,193,7,.15);
  transform: translateY(-3px);
}
.service-icon i { transition: transform .2s; }
.service-card:hover .service-icon i { transform: scale(1.1); }

/* =========================================================
   RESULTS / STATS SECTION
   ========================================================= */
.stat-item .display-5 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* Chart cards in dark section */
.chart-card { border: 1px solid #e5e7eb; }
.chart-card svg { display: block; }

/* Bar chart items */
.bar-item { transition: height .4s ease; min-width: 0; border-radius: 4px 4px 0 0; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-card {
  border-radius: 12px;
  transition: background .2s, transform .2s;
}
.why-card:hover {
  background: #fafafa;
  transform: translateY(-2px);
}

/* =========================================================
   4-STEP PROCESS
   ========================================================= */
.process-connector {
  position: absolute;
  top: 40px;
  left: calc(25% - 12px);
  right: calc(25% - 12px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--clr-brand) 0, var(--clr-brand) 12px,
    transparent 12px, transparent 24px
  );
  z-index: 0;
}

.process-step {
  z-index: 1;
  transition: box-shadow .2s, transform .2s;
}
.process-step:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1) !important;
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--font-main);
  position: relative;
  z-index: 2;
}

/* =========================================================
   TESTIMONIALS — CUSTOM MULTI-CARD SLIDER  (old Bootstrap classes)
   Kept for backwards compat with index.html static file.
   ========================================================= */
.testimonials-section { overflow: hidden; }
.tslider-wrap { display: flex; align-items: center; }
.tslider-viewport { overflow: hidden; flex: 1; min-width: 0; }
.tslider-track { display: flex; gap: 1.25rem; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; align-items: stretch; }
.tslider-card  { flex: 0 0 auto; display: flex; flex-direction: column; }

/* The visible card */
.testimonial-card {
  border-top: 4px solid var(--clr-brand);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.11);
  transform: translateY(-3px);
}

/* Prev / Next arrow buttons */
.tslider-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--clr-brand);
  color: #111;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  cursor: pointer;
  transition: background .2s, transform .15s;
  z-index: 2;
  flex-shrink: 0;
}
.tslider-prev { margin-right: .75rem; }
.tslider-next { margin-left:  .75rem; }
.tslider-btn:hover { background: #e0a800; transform: scale(1.08); }
.tslider-btn:disabled { background: #e5e7eb; color: #9ca3af; cursor: default; transform: none; }

/* Dot indicators */
.tslider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.tslider-dots button.active {
  background: var(--clr-brand);
  transform: scale(1.3);
}

/* =========================================================
   CREDENTIALS / PROMISE
   ========================================================= */
.credential-badge { transition: border-color .2s, transform .2s; }
.credential-badge:hover {
  border-color: var(--clr-brand) !important;
  transform: translateY(-2px);
}

.promise-box { background: #fffbeb; }

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.accordion-button:not(.collapsed) {
  color: #111827;
  background-color: transparent;
  box-shadow: none;
}
.accordion-button::after {
  filter: none;
}
.accordion-button:focus { box-shadow: none; }

/* =========================================================
   BOTTOM CTA SECTION
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.cta-inner {
  background: linear-gradient(110deg, #1d4ed8 0%, #1e40af 50%, #1d4ed8 100%);
  border: 1px solid rgba(255,255,255,.15);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer a:hover { color: var(--clr-brand) !important; }

/* =========================================================
   SECTION TITLE
   ========================================================= */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -.02em;
}

/* =========================================================
   SCROLL-TO-TOP BUTTON (rendered by app.js)
   ========================================================= */
#scrollTopBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-brand);
  color: #111;
  border: none;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .2s, opacity .2s;
}
#scrollTopBtn.visible {
  display: flex;
}
#scrollTopBtn:hover { transform: translateY(-2px); }

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

/* Tablet */
@media (max-width: 991.98px) {
  .hero-section { padding-top: 3rem; }
  .hero-overlay {
    background: rgba(10, 14, 30, 0.88);
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .hero-headline { font-size: 1.75rem; }
  .lead-form-card { padding: 1.5rem !important; }
  .cta-inner { padding: 2rem !important; text-align: center; }
  .process-connector { display: none; }
  .trust-badges .badge-pill { font-size: .65rem; padding: .2rem .55rem; }
  .stat-item .display-5 { font-size: 1.75rem; }
}

/* =========================================================
   WORDPRESS THEME — Additional Styles
   Prefixed with .llm- for zero conflict with Elementor or other plugins.
   ========================================================= */

/* ── Reset scoped to theme ── */
.llm-container { max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; }
.llm-fullwidth { padding: 0; }
.llm-main { padding-block: 2rem; }

/* Navbar, nav-inner, brand, nav-menu, nav-list, nav-actions, and
   nav-toggle are already fully defined above in the NAVBAR section
   (this used to be a second, conflicting copy of those same rules —
   removed to stop the cascade fighting itself). */

/* ── Buttons ── */
.llm-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem; border-radius: 6px; font-weight: 700;
  font-size: .9rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, transform .15s, border-color .2s;
  white-space: nowrap;
}
.llm-btn-warning { background: var(--clr-brand); color: #111; border-color: var(--clr-brand); }
.llm-btn-warning:hover { background: #e0a800; border-color: #e0a800; transform: translateY(-1px); color: #111; }
.llm-btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.llm-btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.llm-btn-sm { padding: .4rem 1rem; font-size: .8rem; }
.llm-btn-full { width: 100%; justify-content: center; }

/* ── Section helpers ── */
.llm-section-header { text-align: center; margin-bottom: 3rem; }
.llm-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--clr-muted); margin-bottom: .5rem;
}
.llm-section-title { font-size: clamp(1.6rem,3vw,2.25rem); font-weight: 900; letter-spacing: -.02em; }

/* ── Hero ── */
.llm-hero {
  position: relative; min-height: 620px;
  padding-block: 5rem;
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
}
.llm-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(10,14,30,.93) 0%, rgba(10,14,30,.80) 55%, rgba(10,14,30,.55) 100%);
}
.llm-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center;
}
.llm-eyebrow.hero { color: var(--clr-brand); }
.llm-hero-headline { font-size: clamp(2rem,4vw,3rem); font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1rem; }
.llm-hero-sub { color: rgba(255,255,255,.8); max-width: 480px; margin-bottom: 1.5rem; }
.llm-hero-badges { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.llm-hero-badge {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); border-radius: 8px; padding: .85rem 1rem;
}
.llm-badge-icon { width: 40px; height: 40px; background: var(--clr-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.llm-badge-icon i { font-size: 1rem; color: #111; }
.llm-hero-badge p, .llm-hero-badge span { color: rgba(255,255,255,.9); margin: 0; font-size: .875rem; }
.llm-hero-badge strong { color: var(--clr-brand); font-size: 1.05rem; font-weight: 800; }
.llm-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Lead form card */
.llm-hero-form-wrap { position: relative; z-index: 2; }
.llm-lead-form {
  background: #fff; border-radius: 12px; padding: 2rem;
  border-top: 4px solid var(--clr-brand);
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
}
.llm-lead-form h4 { font-weight: 800; font-size: 1.2rem; margin-bottom: .25rem; }
.llm-lead-form p { color: #6b7280; font-size: .85rem; margin-bottom: 1.25rem; }
.llm-lead-form-fields { display: flex; flex-direction: column; gap: .75rem; }
.llm-input, .llm-select {
  width: 100%; padding: .6rem .9rem; border: 1.5px solid #e2e8f0;
  border-radius: 6px; font-size: .875rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; background: #fff; color: #111;
}
.llm-input:focus, .llm-select:focus {
  outline: none; border-color: var(--clr-brand);
  box-shadow: 0 0 0 3px rgba(255,193,7,.2);
}
.llm-form-privacy { text-align: center; font-size: .75rem; color: #9ca3af; margin: .5rem 0 0; }
.llm-form-msg { font-size: .875rem; padding: .5rem; border-radius: 4px; display: none; }
.llm-form-msg.success { display: block; background: #d1fae5; color: #065f46; }
.llm-form-msg.error   { display: block; background: #fee2e2; color: #991b1b; }

/* ── Trust Bar ── */
.llm-trust-bar { padding: 2rem 0; background: #fff; border-bottom: 1px solid #f1f5f9; }
.llm-trust-label { text-align: center; text-transform: uppercase; font-weight: 700; font-size: .7rem; letter-spacing: .12em; color: #9ca3af; margin-bottom: 1.25rem; }
.llm-trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
.llm-client-logo { font-size: .7rem; font-weight: 800; letter-spacing: .05em; color: #374151; border: 1.5px solid #e2e8f0; border-radius: 6px; padding: .5rem 1rem; text-align: center; }
.llm-google-rating { display: flex; align-items: center; gap: .6rem; border: 1.5px solid #e2e8f0; border-radius: 6px; padding: .5rem 1rem; }
.llm-google-rating i { font-size: 1.2rem; color: #ea4335; }
.llm-stars { color: #f59e0b; }

/* ── Case Studies ── */
.llm-cases-section { padding: 4rem 0; background: #f8fafc; }
.llm-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.llm-case-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: box-shadow .25s; }
.llm-case-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.llm-case-header { background: #1a1a2e; color: #fff; padding: 1rem; }
.llm-case-firm { font-size: .8rem; font-weight: 600; margin-bottom: .6rem; }
.llm-case-metrics { display: flex; gap: .4rem; flex-wrap: wrap; }
.llm-metric { background: rgba(255,255,255,.1); border-radius: 5px; padding: .3rem .5rem; font-size: .7rem; line-height: 1.3; }
.llm-metric span { display: block; color: rgba(255,255,255,.6); }
.llm-metric strong { color: #fff; }
.llm-metric--green { background: rgba(34,197,94,.25); }
.llm-metric--blue  { background: rgba(59,130,246,.25); }
.llm-case-body { padding: 1rem; }
.llm-case-chart { height: 70px; background: linear-gradient(135deg,#e8f5e9,#c8e6c9); border-radius: 6px; margin-bottom: .75rem; }
.llm-text-success { color: #16a34a; font-weight: 600; }

/* ── Services ── */
.llm-services-section { padding: 4rem 0; background: #fff; }
.llm-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.llm-service-card { border: 1.5px solid #f1f5f9; border-radius: 12px; padding: 1.25rem; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.llm-service-card:hover { border-color: var(--clr-brand); box-shadow: 0 4px 20px rgba(255,193,7,.15); transform: translateY(-3px); }
.llm-service-icon { font-size: 2rem; color: var(--clr-brand); display: block; margin-bottom: .75rem; }
.llm-service-card h6 { font-weight: 700; font-size: .875rem; margin-bottom: .5rem; }
.llm-service-card p { color: #6b7280; font-size: .8rem; margin: 0; }

/* ── Stats ── */
.llm-stats-section { padding: 4rem 0; background: #111827; color: #fff; }
.llm-stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.llm-stats-section .llm-eyebrow { color: var(--clr-brand); }
.llm-stats-section .llm-section-title { color: #fff; }
.llm-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.llm-stat-item { border-left: 3px solid var(--clr-brand); padding-left: .85rem; }
.llm-stat-number { font-size: clamp(2rem,4vw,2.8rem); font-weight: 900; color: var(--clr-brand); line-height: 1; }
.llm-stat-label  { color: rgba(255,255,255,.75); font-size: .8rem; margin-top: .25rem; }
.llm-stats-right { display: flex; flex-direction: column; gap: 1rem; }
.llm-chart-card { background: #fff; color: #111; border-radius: 10px; padding: 1.25rem; }
.llm-chart-card h6 { font-weight: 700; margin-bottom: .75rem; }
.llm-cost-chart { display: block; width: 100%; }
.llm-bar-chart { display: flex; align-items: flex-end; gap: .35rem; height: 70px; }
.llm-bar { flex: 1; background: var(--clr-brand); border-radius: 4px 4px 0 0; }
.llm-bar--active { background: #111827; border: 2px solid var(--clr-brand); }
.llm-leads-num   { font-size: 2rem; font-weight: 900; line-height: 1; margin-top: .5rem; }
.llm-leads-delta { color: #16a34a; font-size: .8rem; font-weight: 600; }

/* ── Why Choose Us ── */
.llm-why-section { padding: 4rem 0; background: #fff; }
.llm-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.llm-why-card { text-align: center; padding: 1.25rem; border-radius: 12px; transition: background .2s, transform .2s; }
.llm-why-card:hover { background: #fafafa; transform: translateY(-2px); }
.llm-why-card i  { font-size: 2rem; color: var(--clr-brand); display: block; margin-bottom: .75rem; }
.llm-why-card h6 { font-weight: 700; font-size: .875rem; margin-bottom: .4rem; }
.llm-why-card p  { color: #6b7280; font-size: .8rem; margin: 0; }

/* ── Process ── */
.llm-process-section { padding: 4rem 0; background: #f8fafc; }
.llm-process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.llm-process-card { background: #fff; border-radius: 12px; padding: 2rem 1.5rem; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s; }
.llm-process-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
.llm-step-num { width: 48px; height: 48px; background: var(--clr-brand); color: #111; font-weight: 900; font-size: 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.llm-process-icon { font-size: 1.75rem; display: block; margin-bottom: .75rem; }
.llm-process-card h6 { font-weight: 700; margin-bottom: .5rem; }
.llm-process-card p  { color: #6b7280; font-size: .85rem; margin: 0; }

/* ── Testimonials ── */
.llm-testimonials-section { padding: 4rem 0; background: #fff; overflow: hidden; }
.llm-tslider-wrap { display: flex; align-items: center; gap: 0; }
.llm-tslider-viewport { overflow: hidden; flex: 1; min-width: 0; }
.llm-tslider-track { display: flex; gap: 1.25rem; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; align-items: stretch; }
.llm-tslider-card { flex: 0 0 auto; display: flex; flex-direction: column; }
.llm-t-card { border-top: 4px solid var(--clr-brand); background: #f8fafc; border-radius: 10px; padding: 1.5rem; display: flex; flex-direction: column; height: 100%; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: box-shadow .2s, transform .2s; }
.llm-t-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.llm-t-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .75rem; }
.llm-t-quote { color: #1f2937; font-style: italic; flex: 1; margin-bottom: 1.25rem; font-size: .925rem; line-height: 1.65; }
.llm-t-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.llm-t-photo { border-radius: 50%; border: 2px solid var(--clr-brand); width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
.llm-t-author strong { display: block; font-weight: 700; font-size: .9rem; }
.llm-t-author span   { display: block; color: #6b7280; font-size: .78rem; }
.llm-tslider-btn { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--clr-brand); color: #111; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; transition: background .2s, transform .15s; flex-shrink: 0; }
.llm-tslider-prev { margin-right: .75rem; }
.llm-tslider-next { margin-left:  .75rem; }
.llm-tslider-btn:hover { background: #e0a800; transform: scale(1.08); }
.llm-tslider-btn:disabled { background: #e5e7eb; color: #9ca3af; cursor: default; transform: none; }
.llm-tslider-dots { display: flex; justify-content: center; gap: .4rem; margin-top: 1.25rem; }
.llm-tslider-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #d1d5db; padding: 0; cursor: pointer; transition: background .25s, transform .25s; }
.llm-tslider-dots button.active { background: var(--clr-brand); transform: scale(1.3); }

/* ── FAQ ── */
.llm-faq-section { padding: 4rem 0; background: #fff; }
.llm-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 2rem; }
.llm-faq-item { border-bottom: 1px solid #e5e7eb; }
.llm-faq-q { width: 100%; background: none; border: none; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: .9rem; font-weight: 600; color: #111827; cursor: pointer; gap: 1rem; text-align: left; }
.llm-faq-q i { flex-shrink: 0; transition: transform .25s; }
.llm-faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.llm-faq-a { padding-bottom: 1rem; }
.llm-faq-a p { color: #6b7280; font-size: .875rem; margin: 0; }

/* ── CTA Section ── */
.llm-cta-section { padding: 4rem 0; background: linear-gradient(135deg,#0f172a,#1e293b); }
.llm-cta-inner { background: linear-gradient(110deg,#1d4ed8,#1e40af); border-radius: 12px; border: 1px solid rgba(255,255,255,.15); padding: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.llm-cta-text h3 { color: #fff; font-weight: 800; margin-bottom: .5rem; }
.llm-cta-text p  { color: rgba(255,255,255,.8); margin: 0; max-width: 520px; }
.llm-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.llm-cta-phone { color: #fff; text-align: center; }
.llm-cta-phone span  { display: block; font-size: .8rem; color: rgba(255,255,255,.7); }
.llm-cta-phone strong { font-weight: 700; }

/* ── Footer ── */
.llm-footer { background: #111827; color: #fff; padding: 4rem 0 0; }
.llm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 3rem; }
.llm-footer-col h6 { color: var(--clr-brand); font-weight: 700; font-size: .85rem; margin-bottom: 1rem; }
.llm-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.llm-footer-col ul a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .82rem; transition: color .2s; }
.llm-footer-col ul a:hover { color: var(--clr-brand); }
.llm-footer-brand p { color: rgba(255,255,255,.7); font-size: .82rem; }
.llm-social-links { display: flex; gap: .75rem; margin-top: .75rem; }
.llm-social-links a { color: rgba(255,255,255,.7); font-size: 1.1rem; text-decoration: none; transition: color .2s; }
.llm-social-links a:hover { color: var(--clr-brand); }
.llm-footer-contact li { display: flex; gap: .6rem; color: rgba(255,255,255,.7); font-size: .82rem; margin-bottom: .5rem; align-items: flex-start; }
.llm-footer-contact i { color: var(--clr-brand); margin-top: .1rem; flex-shrink: 0; }
.llm-footer-contact a { color: rgba(255,255,255,.7); text-decoration: none; }
.llm-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.llm-footer-bottom p { color: rgba(255,255,255,.6); font-size: .8rem; margin: 0; }
.llm-footer-legal { display: flex; gap: 1.25rem; }
.llm-footer-legal a { color: rgba(255,255,255,.6); font-size: .8rem; text-decoration: none; transition: color .2s; }
.llm-footer-legal a:hover { color: var(--clr-brand); }

/* ── Scroll top btn ── */
#scrollTopBtn { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; width: 44px; height: 44px; border-radius: 50%; background: var(--clr-brand); color: #111; border: none; font-size: 1.1rem; display: none; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); cursor: pointer; transition: transform .2s; }
#scrollTopBtn.visible { display: flex; }
#scrollTopBtn:hover { transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .llm-hero-inner { grid-template-columns: 1fr; }
  .llm-hero-form-wrap { max-width: 520px; }
  .llm-stats-inner { grid-template-columns: 1fr; }
  .llm-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Mobile nav: collapse to hamburger */
  .llm-nav-toggle { display: flex; }
  .llm-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #111827;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 999;
  }
  .llm-nav-menu.open { display: flex; }
  .llm-nav-list {
    flex-direction: column;
    align-items: flex-start;   /* override the desktop center-alignment */
    width: 100%;
    flex-wrap: nowrap;
  }
  .llm-nav-list li a { padding: .55rem .25rem; font-size: .9rem; }
  .llm-nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    margin-top: 1rem;
  }
  .llm-hero { padding-block: 3rem; }
  .llm-hero-headline { font-size: 1.85rem; }
  .llm-cta-inner { flex-direction: column; text-align: center; }
  .llm-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .llm-footer-grid { grid-template-columns: 1fr; }
  .llm-footer-bottom { flex-direction: column; text-align: center; }
  .llm-lead-form { padding: 1.25rem; }
}

/* =========================================================
   FRONT-PAGE EXTRA STYLES
   (credentials section, trust pills, checklist, promise box)
   ========================================================= */

/* Trust pills (hero section) */
.llm-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.llm-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .25rem .75rem;
  font-size: .72rem;
  font-weight: 600;
}

/* Credentials / Who We Work With / Promise section */
.llm-credentials-section {
  padding: 4rem 0;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}
.llm-credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.llm-cred-heading {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

/* Checklist */
.llm-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.llm-checklist li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}
.llm-checklist i {
  color: var(--clr-brand);
  flex-shrink: 0;
}

/* Credential badges */
.llm-cred-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.llm-cred-badge {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: .75rem 1rem;
  text-align: center;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  transition: border-color .2s, transform .2s;
}
.llm-cred-badge:hover {
  border-color: var(--clr-brand);
  transform: translateY(-2px);
}

/* Compliant badge */
.llm-compliant-badge {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Promise box */
.llm-promise-box {
  border: 2px solid var(--clr-brand);
  border-radius: 10px;
  padding: 1.5rem;
  background: #fffbeb;
}
.llm-promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.llm-promise-list li {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .9rem;
}
.llm-promise-list i { color: var(--clr-brand); }

/* Responsive: credentials */
@media (max-width: 900px) {
  .llm-credentials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .llm-credentials-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   ELEMENTOR HEADER WIDGET STYLES
   Applied when using LLM Header widget in Theme Builder
   ========================================================= */
.llm-el-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #111827;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  padding: .55rem 0;
  width: 100%;
}
.llm-el-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  width: 100%;
}
.llm-el-nav-link {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .45rem .75rem;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.llm-el-nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.llm-el-cta { color: #111 !important; }

/* Elementor removes sticky from inner elements — override */
.elementor-section .llm-el-header { position: relative; }
.e-con .llm-el-header { position: relative; }

/* =========================================================
   ELEMENTOR THEME BUILDER — Full width sections
   ========================================================= */
/* When Elementor renders header/footer via Theme Builder,
   ensure they stretch full width with no Elementor padding */
.elementor-location-header .elementor-section-wrap,
.elementor-location-footer .elementor-section-wrap {
  width: 100%;
}
.elementor-location-header .llm-el-header,
.elementor-location-header .llm-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Prevent Elementor default padding on header/footer containers */
.elementor-location-header .elementor-container,
.elementor-location-footer .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* =========================================================
   ELEMENTOR PAGE BUILDER — ensure llm-container inside
   Elementor sections stays within content width
   ========================================================= */
.elementor-section .llm-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}
