/* System fonts avoid external render-blocking font requests. */


:root {
  /* Color Palette (White Premium Theme) */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-950: #090d16;

  --ink: var(--slate-800);
  --muted: #475569;
  --paper: var(--slate-50);
  --white: #ffffff;
  --line: var(--slate-200);
  
  /* Brand Accent: Automotive Red & Neon Alerts */
  --brand: #dc2626;
  --brand-strong: #991b1b;
  --brand-light: #fee2e2;
  --fresh: #22c55e;
  --fresh-strong: #15803d;
  --sun: #eab308;
  --steel: #0f172a;
  --soft: #f1f5f9;
  --danger: #ef4444;

  /* Glassmorphism & Visual Effects */
  --backdrop: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --max-w: 1200px;
}

/* --- Premium Dark Mode Theme --- */
body.dark {
  --ink: #cbd5e1;
  --muted: #94a3b8;
  --paper: #090d16;
  --white: #0f172a;
  --line: #1e293b;
  --soft: #1e293b;
  --backdrop: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

/* --- Base Rules & Resets --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  color: var(--ink);
  background-color: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-800);
}

body.dark h1, body.dark h2, body.dark h3, body.dark h4 {
  color: #f8fafc;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.skip-link {
  position: absolute;
  left: 1.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius-md);
  font-weight: 700;
}

.skip-link:focus {
  top: 1.5rem;
}

/* --- Sticky Topbar & Header --- */
.topbar {
  color: var(--slate-300);
  background: var(--slate-950);
  font-size: 0.85rem;
  font-weight: 550;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.25rem 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-inner a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--backdrop);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  line-height: 1.05;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), #ea580c, var(--brand-strong));
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.25);
}

.brand span {
  font-size: 1.25rem;
  color: var(--slate-800);
  font-weight: 800;
}

body.dark .brand span {
  color: #f8fafc;
}

.brand small {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.12rem;
}

/* --- Primary Navigation & Sidebar drawer --- */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.primary-nav a {
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-light);
}

body.dark .primary-nav a:hover,
body.dark .primary-nav a[aria-current="page"] {
  color: #f8fafc;
  background: rgba(220, 38, 38, 0.2);
}

.primary-nav .nav-cta {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.15);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: var(--white);
  background: var(--brand-strong);
  box-shadow: 0 12px 20px rgba(220, 38, 38, 0.25);
}

/* Nav Drawer for Mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  z-index: 100;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--slate-800);
}

body.dark .nav-toggle span {
  background: #cbd5e1;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--slate-800);
}

body.dark .theme-toggle-btn {
  color: #cbd5e1;
}

.theme-toggle-btn:hover {
  background: var(--soft);
}

/* --- Interactive Elements & Buttons --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--brand);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.2);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, box-shadow 0.2s;
}

.button:hover,
.button:focus-visible {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.3);
}

.button.secondary {
  color: var(--white);
  background: var(--steel);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}

.button.secondary:hover {
  background: var(--slate-950);
}

.button.ghost {
  color: var(--slate-800);
  background: transparent;
  border: 2px solid var(--line);
  box-shadow: none;
}

body.dark .button.ghost {
  color: #cbd5e1;
}

.button.ghost:hover {
  background: var(--soft);
  transform: translateY(-2px);
}

/* --- Hero Section & 3D Visual Blocks --- */
.hero {
  position: relative;
  min-height: clamp(520px, 80svh, 750px);
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-color: var(--paper);
}

.hero.compact {
  min-height: clamp(380px, 50svh, 500px);
}

.section,
.expert-boost,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 720px;
}

.hero-grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-inner {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--brand);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin: 1.2rem 0 1.8rem;
  font-size: 0.94rem;
}

.hero-trust .stars {
  color: var(--sun);
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.hero-trust .trust-text {
  color: var(--muted);
  font-weight: 700;
}

.hero-trust .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--fresh-strong);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

body.dark .hero-trust .trust-badge {
  color: #4ade80;
}

.hero-trust .badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--fresh);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.hero-trust .badge-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--fresh);
  opacity: 0.6;
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero p {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-actions .button.secondary {
  border: 2px solid transparent;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.98rem;
}

body.dark .hero-points span {
  color: #cbd5e1;
}

.hero-points span::before {
  content: "✓";
  color: var(--fresh);
  font-weight: 900;
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

/* 3D Visual Rendering Framework */
.hero-visual-3d {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.visual-3d-wrapper {
  position: relative;
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 30px 50px rgba(15, 23, 42, 0.12));
}

.hero-visual-3d:hover .visual-3d-wrapper {
  transform: rotateY(-3deg) rotateX(1deg);
}

.visual-3d-wrapper img {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--glass-border);
  width: 100%;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  z-index: 10;
  animation: float 4s infinite ease-in-out;
}

body.dark .floating-badge {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

.floating-badge.badge-1 {
  top: 10%;
  left: -8%;
  animation-delay: 0s;
}

.floating-badge.badge-2 {
  bottom: 12%;
  right: -6%;
  animation-delay: 2s;
}

.floating-badge .badge-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}

.floating-badge .badge-txt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.2rem;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* --- Animated Statistics Bar --- */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

body.dark .stat-label {
  color: #cbd5e1;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* --- Main Layout Grid Structures --- */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section.alt {
  background-color: var(--white);
}

.section.steel {
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-950), var(--slate-800));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.steel .eyebrow {
  color: var(--brand-light);
}

.section-head {
  max-width: 800px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  margin-top: 0.5rem;
}

.section-head p {
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* Cards & Containers Grid (Silo Network) */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Stylized Cards (Glassmorphism inspired) */
.service-card,
.step,
.district-card,
.feature-card,
.local-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover,
.district-card:hover,
.feature-card:hover,
.local-box:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.25);
  box-shadow: var(--shadow-xl), 0 12px 24px rgba(220, 38, 38, 0.05);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card .card-link {
  font-weight: 800;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.service-card .card-link::after {
  content: "→";
  transition: transform 0.2s;
}

.service-card:hover .card-link::after {
  transform: translateX(4px);
}

/* District Card Setup */
.district-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.district-card h3 {
  font-size: 1.3rem;
  color: var(--slate-800);
}

body.dark .district-card h3 {
  color: #f8fafc;
}

.district-card p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.district-card .card-link {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-top: auto;
}

/* --- Workflow Step cards --- */
.step {
  position: relative;
  padding-top: 3rem;
}

.step-number {
  position: absolute;
  top: 1.5rem;
  left: 2.25rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 900;
  font-size: 0.95rem;
}

body.dark .step-number {
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Split Media Layouts --- */
.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4 / 3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
}

body.dark .check-list li::before {
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
}

.check-list li span {
  font-size: 1.02rem;
  color: var(--slate-700);
}

body.dark .check-list li span {
  color: #cbd5e1;
}

/* --- Expert & Local Business Boost Card --- */
.expert-boost {
  background: linear-gradient(135deg, var(--slate-950), #1e1b4b);
  color: var(--white);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.expert-boost-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.expert-boost-content h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.expert-boost-content h2 span {
  color: var(--brand);
}

.expert-boost-content p {
  color: var(--slate-300);
  font-size: 1.1rem;
}

.expert-features-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.expert-feature-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--brand);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-info h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-info p {
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Accordion FAQ System --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-800);
  cursor: pointer;
}

body.dark .faq-question {
  color: #cbd5e1;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--brand);
  transition: transform 0.3s ease;
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.35s;
  margin-top: 0;
}

.faq-answer p {
  margin: 1rem 0 0;
  line-height: 1.65;
  font-size: 0.98rem;
}

/* --- Lead Form & Contact Center --- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Glassmorphic Trust Cards */
.trust-card {
  background: var(--backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220, 38, 38, 0.25);
}

.trust-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.08);
  color: var(--brand);
  flex-shrink: 0;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

body.dark .trust-card-icon {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.2);
}

.trust-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.trust-card-value {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

a.trust-card-value {
  color: var(--brand);
  transition: opacity 0.2s, text-decoration 0.2s;
}

a.trust-card-value:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Pulsing Active Status Dot */
.pulse-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--fresh);
  border-radius: 50%;
  position: relative;
  margin-left: 0.4rem;
}

.pulse-dot-green::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--fresh);
  opacity: 0.5;
  animation: pulse-dot-key 1.6s infinite;
}

@keyframes pulse-dot-key {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Glassmorphic Premium Form Panel */
.contact-panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--backdrop);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.contact-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #f43f5e);
}

/* Floating Badge */
.contact-panel-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(34, 197, 94, 0.1);
  color: var(--fresh-strong);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.03em;
  pointer-events: none;
}

body.dark .contact-panel-badge {
  color: var(--fresh);
  border-color: rgba(34, 197, 94, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Icon-enriched Input Fields */
.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper input, .input-wrapper select, .input-wrapper textarea {
  padding-left: 2.75rem !important;
}

.input-wrapper svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s ease;
  width: 18px;
  height: 18px;
}

.input-wrapper.textarea-wrapper svg {
  top: 1.25rem;
  transform: none;
}

.input-wrapper input:focus + svg, .input-wrapper select:focus + svg, .input-wrapper textarea:focus + svg {
  color: var(--brand);
}

input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--white);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
  background: var(--white);
}

select option {
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

/* Premium Animated Submit Button */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--brand) 0%, #be123c 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
  width: 100%;
  min-height: 52px;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
  background: linear-gradient(135deg, #ef4444 0%, var(--brand) 100%);
}

.btn-premium:active {
  transform: translateY(0);
}

.btn-premium svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-premium:hover svg {
  transform: translateX(4px);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}

/* SSL Secure Seals Area */
.form-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.trust-badge-item svg {
  color: var(--fresh);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

/* Success UI Card */
.form-feedback {
  margin-top: 1.2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 750;
  font-size: 0.95rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Local Page Layout Options --- */
.local-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.content-block h2 {
  margin-bottom: 1.25rem;
}

.content-block p {
  margin-bottom: 1.5rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.mini-grid article {
  background: var(--soft);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.mini-grid article strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.mini-grid article span {
  font-size: 0.9rem;
  color: var(--muted);
}

.local-aside {
  display: grid;
  gap: 1.5rem;
}

.local-aside .local-box {
  background: var(--white);
}

.local-aside h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-tags span {
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  background: var(--soft);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

/* --- Site Footer & Sticky mobile bar --- */
.site-footer {
  color: var(--slate-300);
  background: var(--slate-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 5rem 0 2rem;
}

.footer-grid {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.9fr);
  gap: 3rem 2rem;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-section .brand span {
  color: var(--white);
}

.footer-brand-section .mini {
  font-size: 0.88rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
}

.footer-info-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links strong {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--slate-400);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copyright {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--slate-400);
}

/* Floating Contact Sidebar & Floating Buttons */
.floating-sidebar {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem; /* Sits elegantly at the bottom now that mobile CTA is removed */
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-sidebar.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.sidebar-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}

.sidebar-icon:hover {
  transform: scale(1.1);
}

.phone-icon {
  background: var(--brand);
}

.mail-icon {
  background: var(--steel);
}

.whatsapp-icon {
  background: #25D366;
}

/* Tooltip implementation */
.sidebar-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  background: var(--slate-950);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 750;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.sidebar-icon:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Sticky Mobile CTA Bottom Bar - Completely removed per user request */

/* --- Media Queries & Breakpoints --- */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-inner {
    margin: 0 auto;
  }

  .hero-actions, .hero-points {
    justify-content: center;
  }

  .hero-visual-3d {
    max-width: 500px;
    margin: 0 auto;
  }

  .floating-badge.badge-1 {
    left: -4%;
  }

  .floating-badge.badge-2 {
    right: -4%;
  }

  .expert-boost-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .expert-boost-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 960px) {
  .primary-nav {
    display: none; /* Hide for desktop */
  }

  .nav-toggle {
    display: block; /* Switch to hamburger */
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Navigation open drawer state styles */
.site-header.nav-open .primary-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownNav {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header.nav-open .primary-nav a {
  width: 100%;
  text-align: center;
}

@media (max-width: 767px) {
  .floating-badge {
    display: none;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid.three, .grid.four {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .local-layout {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  /* Bottom spacing for sticky mobile bar - removed */
  body {
    padding-bottom: 0;
  }

  .floating-sidebar {
    bottom: 2rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
