:root {
  --color-primary: #1565c0;
  --color-primary-dark: #0d47a1;
  --color-primary-light: #e3f2fd;
  --color-accent: #e53935;
  --color-accent-dark: #c62828;
  --color-text: #212121;
  --color-text-light: #616161;
  --color-border: #e0e0e0;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --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);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --container-max: 1180px;
  --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: 84px;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

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 {
  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;
  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 {
  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 56px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f8f9fa 100%);
}

.hero-grid,
.cta-grid,
.faq-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  background: transparent;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  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: 16px;
  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.1rem, 5.8vw, 3.8rem);
}

.hero p,
.section-heading p,
.feature-card p,
.service-card p,
.fault-card p,
.review-card p,
.faq-answer p,
.cta-copy p,
.site-footer p {
  color: var(--color-text-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 26px 0 18px;
}

.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);
}

.hero-points,
.bullet-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-points {
  display: grid;
  gap: 10px;
}

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

.hero-points li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43a047;
}

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

.hero-card,
.feature-card,
.service-card,
.fault-card,
.review-card,
.faq-item,
.cta-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

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

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

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

.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 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.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;
}

.section {
  padding: 64px 0;
}

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

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

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

.card-grid,
.service-grid,
.fault-grid,
.review-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.feature-card,
.service-card,
.fault-card,
.review-card,
.cta-panel {
  padding: 24px;
}

.feature-card h3,
.service-card h3,
.fault-card h3,
.review-card cite,
.cta-panel h3 {
  margin: 0 0 10px;
}

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

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

.faq-item {
  padding: 22px;
}

.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;
}

.cta-panel {
  background: linear-gradient(145deg, #1565c0 0%, #0d47a1 100%);
  border-color: transparent;
}

.cta-panel h3,
.cta-panel p {
  color: #fff;
}

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

.footer-grid {
  padding: 48px 16px 28px;
}

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

.footer-links li + li {
  margin-top: 10px;
}

.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;
}

.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,
  .cta-grid,
  .faq-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

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

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

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

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

  .container {
    padding: 0 32px;
  }

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

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