:root {
  --bg: #0f172a;
  --bg-soft: #111c33;
  --primary: #334155;
  --primary-dark: #1f2937;
  --text: #0f172a;
  --muted: #64748b;
  --white: #ffffff;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #f8fafc;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.logo { color: var(--white); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.04em; }
.logo span {
  margin-left: 2px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 42%, #f8fafc 70%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(255,255,255,0.16);
}
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; padding: 0; margin: 0; color: #dbeafe; font-weight: 600; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: #f8fafc; color: #111827 !important; padding: 10px 16px; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--white); margin: 5px 0; border-radius: 8px; }

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(226, 232, 240, 0.18), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(71, 85, 105, 0.32), transparent 34%),
    linear-gradient(135deg, #020617 0%, #111827 46%, #1f2937 100%);
  padding: 92px 0 76px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226,232,240,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226,232,240,0.055) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 47%, rgba(226,232,240,0.045) 48% 52%, transparent 53% 100%);
  background-size: 44px 44px, 44px 44px, 220px 220px;
  mask-image: radial-gradient(circle at 62% 42%, black 0%, rgba(0,0,0,0.7) 42%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(226,232,240,0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(226,232,240,0.018), inset 0 0 0 88px rgba(226,232,240,0.014);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: #cbd5e1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
}
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 820px; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.25rem; }
.hero-text { color: #cbd5e1; font-size: 1.16rem; max-width: 680px; margin: 24px 0; }
.hero-actions, .contact-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 800; transition: 0.2s ease; }
.btn-primary {
  background: #1f2937;
  color: #ffffff;
  border: 1px solid #334155;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}
.btn-primary:hover {
  background: #111827;
  border-color: #475569;
  transform: translateY(-2px);
}
.btn-secondary {
  background: rgba(255,255,255,0.075);
  color: var(--white);
  border: 1px solid rgba(226,232,240,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: #e2e8f0; font-weight: 700; }
.hero-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045));
  border: 1px solid rgba(226,232,240,0.20);
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.38), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
}
.card-icon { width: 62px; height: 62px; display: grid; place-items: center; background: #f8fafc; border-radius: 20px; font-size: 2rem; margin-bottom: 22px; color: #111827; }
.hero-card p, .hero-card li { color: #dbeafe; }
.hero-card ul { padding-left: 20px; }

.section { padding: 86px 0; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.services-grid, .benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .benefit, .location-box, details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.06);
}
.service-number { color: var(--primary); font-weight: 900; font-size: 0.9rem; }
.service-card p, .benefit p, .area-grid p, details p { color: var(--muted); }

.area-section { background: #eef2ff; }
.area-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: center; }
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tags span { background: #f1f5f9; color: #1f2937; border: 1px solid #cbd5e1; border-radius: 999px; padding: 9px 13px; font-weight: 800; font-size: 0.92rem; }
.benefits-grid { grid-template-columns: repeat(4, 1fr); }
.benefit strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.faq-section { background: #ffffff; }
.faq-list { display: grid; gap: 14px; }
details { cursor: pointer; }
summary { font-weight: 800; font-size: 1.05rem; }
details[open] { border-color: #475569; }

.contact-section { padding: 76px 0; background: linear-gradient(135deg, #111827, #172554); }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: rgba(255,255,255,0.08); color: var(--white); border: 1px solid rgba(255,255,255,0.14); border-radius: 34px; padding: 38px; }
.contact-card p:not(.eyebrow) { color: #cbd5e1; }
.site-footer { background: #020617; color: #94a3b8; padding: 26px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-grid a { color: var(--primary); font-weight: 800; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 24px 24px;
    background: #0f172a;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .hero-grid, .area-grid, .contact-card { grid-template-columns: 1fr; }
  .services-grid, .benefits-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
}

.local-seo-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.local-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.local-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.local-card p {
  color: var(--muted);
  margin: 0;
}

.company-meta {
  font-weight: 800;
  color: #e2e8f0 !important;
}

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

.hero-photo-card {
  padding: 0;
  overflow: hidden;
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-bottom: 1px solid rgba(226,232,240,0.18);
}

.hero-photo-content {
  padding: 28px;
}

.gallery-section {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.07);
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 255px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.045);
}

.gallery-grid figcaption {
  padding: 16px 18px;
  font-weight: 800;
  color: #1f2937;
}

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

  .hero-photo-card img {
    height: 220px;
  }

  .hero::after {
    opacity: 0.35;
  }
}

.calculator-section {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.calculator-note {
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
  margin-top: 22px;
}

.calculator-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.calc-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.calc-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: #1f2937;
}

.calc-option strong {
  display: block;
  margin-bottom: 5px;
  line-height: 1.25;
}

.calc-option small {
  display: block;
  color: var(--muted);
}

.calc-option b {
  white-space: nowrap;
  color: #1f2937;
}

.calc-option-required {
  opacity: 0.95;
}

.calc-meter-row {
  grid-template-columns: 1fr auto;
}

.meter-control {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 800;
  color: #1f2937;
}

.meter-control input {
  width: 92px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
}

.calc-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  border-radius: 22px;
  background: #0f172a;
  color: #ffffff;
}

.calc-total span {
  color: #cbd5e1;
  font-weight: 800;
}

.calc-total strong {
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1;
}

.calc-contact {
  width: 100%;
  margin-top: 16px;
}

@media (max-width: 860px) {
  .calculator-grid,
  .calc-option,
  .calc-meter-row {
    grid-template-columns: 1fr;
  }

  .calc-option b {
    justify-self: start;
  }

  .meter-control {
    justify-content: space-between;
    white-space: normal;
  }
}
