:root {
  --color-primary: #1565c0;
  --color-primary-dark: #0d47a1;
  --color-primary-light: #e3f2fd;
  --color-accent: #e53935;
  --color-accent-dark: #c62828;
  --color-accent-light: #ffebee;
  --color-text: #212121;
  --color-text-light: #616161;
  --color-text-muted: #9e9e9e;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-border: #e0e0e0;
  --color-success: #43a047;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.14);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --container-max: 1200px;
  --header-height: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  padding-bottom: 82px;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid transparent;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.logo-text {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-primary);
}

.site-nav {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.header-phone {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu.is-open {
  max-height: 420px;
  padding-bottom: 16px;
}

.mobile-link,
.mobile-call-link {
  display: block;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}

.mobile-call-link {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  font-weight: 700;
}

.hero {
  padding: 48px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f8f9fa 100%);
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  background: transparent;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.hero h1,
.section-heading h2 {
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.9rem);
}

.hero-text,
.section-heading p,
.intent-card p,
.service-card p,
.process-card p,
.review-card p,
.faq-answer p,
.footer-copy,
.footer-bottom-inner p,
.site-footer p {
  color: var(--color-text-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary-light);
}

.btn-light {
  background: #fff;
  color: var(--color-primary);
}

.hero-points,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 18px;
  color: var(--color-text);
  font-weight: 500;
}

.hero-points li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  min-height: 360px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #1565c0 0%, #0d47a1 100%);
  color: #fff;
  box-shadow: var(--shadow-xl);
}

.hero-score strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.hero-score span,
.hero-mini-card p {
  color: rgba(255, 255, 255, 0.8);
}

.hero-lines {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.hero-lines div {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-lines div:nth-child(2) {
  width: 82%;
}

.hero-lines div:nth-child(3) {
  width: 64%;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.12);
}

.hero-mini-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.09);
}

.hero-mini-card a {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.stats,
.intent-section,
.services-section,
.process-section,
.reviews-section,
.faq-section {
  padding: 64px 0;
}

.stats {
  background: #fff;
}

.stats-grid,
.intent-grid,
.services-grid,
.process-grid,
.reviews-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.stat-item,
.intent-card,
.service-card,
.process-card,
.review-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: 24px;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--color-primary);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

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

.intent-card,
.service-card,
.process-card,
.review-card,
.faq-item {
  padding: 24px;
}

.intent-card--dark {
  background: linear-gradient(145deg, #1565c0 0%, #0d47a1 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.intent-card--dark p {
  color: rgba(255, 255, 255, 0.86);
}

.tag-list span {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.service-card h3,
.process-card h3,
.intent-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.service-card:hover,
.process-card:hover,
.review-card:hover,
.intent-card:hover {
  box-shadow: var(--shadow-lg);
}

.process-section {
  background: #fff;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

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

.review-card {
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(21, 101, 192, 0.14);
  font-size: 4rem;
  line-height: 1;
}

.review-card cite {
  display: block;
  margin-top: 12px;
  color: var(--color-primary);
  font-style: normal;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  gap: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-question {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}

.faq-answer {
  padding-top: 14px;
}

.site-footer {
  background: #0d1b2a;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  padding: 52px 16px 32px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
}

.footer-copy {
  max-width: 420px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: grid;
  gap: 10px;
  padding: 18px 16px 24px;
  font-size: 0.92rem;
}

.footer-brand-strip {
  padding: 0 16px 24px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.footer-brand-strip a {
  color: inherit;
  display: inline-flex;
  margin-bottom: 0;
}

.footer-brand-strip a:hover {
  color: rgba(255, 255, 255, 0.48);
}

.mobile-call-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(229, 57, 53, 0.32);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .container {
    padding: 0 24px;
  }

  .hero-grid,
  .faq-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .intent-grid,
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

  .footer-bottom-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .site-nav,
  .header-phone {
    display: inline-flex;
    align-items: center;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }

  .container {
    padding: 0 32px;
  }

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

  .mobile-call-fab {
    display: none;
  }
}
