:root {
  --bg: #f8fafc;
  --bg-soft: #eef4fb;
  --surface: #ffffff;
  --surface-alt: #eff5fb;
  --surface-deep: #163453;
  --text: #243244;
  --muted: #5f6f82;
  --heading: #17395e;
  --line: rgba(23, 57, 94, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --primary: #1e3a5f;
  --primary-strong: #102844;
  --secondary: #2f80ed;
  --accent: #f97316;
  --accent-strong: #d95f0e;
  --shadow-soft: 0 20px 70px rgba(14, 38, 67, 0.08);
  --shadow-strong: 0 35px 90px rgba(10, 30, 53, 0.22);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, 0.12), transparent 32%),
    linear-gradient(180deg, #f5f9ff 0%, var(--bg) 34%, #f9fbfe 100%);
  line-height: 1.6;
}

body[data-page="home"] {
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, 0.12), transparent 28%),
    linear-gradient(180deg, #dfeefc 0%, var(--bg) 28%, #f9fbfe 100%);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 200;
  padding: 10px 14px;
  background: #fff;
  border-radius: 999px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.demo-bar {
  padding: 10px 16px;
  background: #0f2741;
  color: #e6f0fb;
  text-align: center;
  font-size: 0.92rem;
}

.demo-bar p {
  max-width: none;
}

.demo-bar a {
  color: #ffb072;
  font-weight: 700;
  text-decoration: none;
}

.demo-bar a:hover,
.demo-bar a:focus-visible {
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ffb072;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--heading);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5.35rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.76);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(248, 250, 252, 0.94);
  border-color: var(--line);
  box-shadow: 0 12px 38px rgba(19, 48, 81, 0.08);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 16px;
  background: linear-gradient(90deg, var(--primary-strong), var(--primary));
  color: #f8fbff;
  font-size: 0.92rem;
}

.topbar a {
  font-weight: 700;
  text-decoration: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #2f80ed, #17395e 58%, #0f2741),
    var(--primary);
  color: #fff;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  color: var(--heading);
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--heading);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--heading);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #ff8d34, var(--accent));
  color: #fff;
  box-shadow: 0 18px 30px rgba(249, 115, 22, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(180deg, #ff8d34, var(--accent-strong));
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--heading);
  border: 1px solid rgba(17, 41, 69, 0.14);
}

.button-secondary-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.text-link {
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: clip;
}

.hero-home {
  min-height: calc(100svh - 132px);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 40, 68, 0.9) 0%, rgba(21, 52, 83, 0.82) 36%, rgba(21, 52, 83, 0.38) 64%, rgba(21, 52, 83, 0.1) 100%),
    linear-gradient(180deg, rgba(16, 40, 69, 0.14), rgba(16, 40, 69, 0.28));
}

.hero-overlay-dark {
  background:
    linear-gradient(90deg, rgba(8, 24, 44, 0.92) 0%, rgba(12, 31, 53, 0.82) 42%, rgba(12, 31, 53, 0.44) 70%, rgba(12, 31, 53, 0.14) 100%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-height: calc(100svh - 132px);
  padding: 72px 0 88px;
  color: #fff;
}

.hero-content h1,
.hero-content h2 {
  max-width: 12ch;
  color: #fff;
}

.hero-kicker {
  max-width: 32ch;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ec7ff;
}

.hero-copy {
  max-width: 34rem;
  font-size: 1.14rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.trust-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.trust-points li::before {
  content: "•";
  font-size: 1.2rem;
  color: #ffb072;
}

.section {
  padding: 104px 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.section-heading p:last-child {
  max-width: 46rem;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: grid;
  gap: 18px;
}

.service-card img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-icon {
  margin-bottom: 8px;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-card p:last-child {
  color: var(--muted);
}

.emergency-band {
  position: relative;
  overflow: hidden;
  padding: 36px 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(47, 128, 237, 0.2), transparent 22%),
    linear-gradient(90deg, #123153, #1b4571 52%, #163453);
}

.emergency-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.emergency-band h2,
.final-cta-panel h2 {
  color: #fff;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.split-copy {
  display: grid;
  gap: 18px;
}

.split-copy p:not(.eyebrow) {
  color: var(--muted);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffc089);
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.12);
}

.media-card img,
.page-hero-figure img,
.service-detail-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-strong);
}

.media-card-large img {
  max-height: 360px;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.split-media-stack {
  display: grid;
  gap: 22px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stats-strip div {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stats-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.stats-strip span {
  color: var(--muted);
}

.testimonial-section {
  background: linear-gradient(180deg, #f8fbff, #eff5fb);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stars {
  color: var(--accent);
  letter-spacing: 0.16em;
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.area-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.area-copy {
  display: grid;
  gap: 18px;
}

.area-copy p:last-of-type {
  color: var(--muted);
}

.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--heading);
}

.map-panel {
  position: relative;
  min-height: 420px;
  border-radius: calc(var(--radius-lg) + 6px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(240, 247, 255, 0.82)),
    repeating-linear-gradient(
      45deg,
      rgba(30, 58, 95, 0.04),
      rgba(30, 58, 95, 0.04) 18px,
      rgba(255, 255, 255, 0.07) 18px,
      rgba(255, 255, 255, 0.07) 36px
    );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.map-glow {
  position: absolute;
  inset: auto auto 18% 12%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.22), transparent 68%);
}

.map-card {
  position: absolute;
  top: 16%;
  left: 11%;
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  border: 1px solid var(--line);
}

.map-card strong {
  color: var(--heading);
}

.map-card span {
  color: var(--muted);
}

.map-route {
  position: absolute;
  border: 3px solid rgba(47, 128, 237, 0.34);
  border-radius: 999px;
}

.map-route-1 {
  top: 42%;
  left: 24%;
  width: 42%;
  height: 26%;
}

.map-route-2 {
  top: 54%;
  left: 50%;
  width: 24%;
  height: 16%;
}

.map-point {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9750, var(--accent));
  box-shadow: 0 0 0 10px rgba(249, 115, 22, 0.12);
}

.map-point-1 {
  top: 48%;
  left: 38%;
}

.map-point-2 {
  top: 41%;
  left: 60%;
}

.map-point-3 {
  top: 64%;
  left: 68%;
}

.final-cta {
  padding-top: 0;
}

.final-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, 0.22), transparent 30%),
    linear-gradient(135deg, #163453, #1c4773 54%, #17395e);
  box-shadow: var(--shadow-strong);
}

.final-cta-panel p:not(.eyebrow) {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-stack {
  display: grid;
  gap: 12px;
  min-width: 240px;
}

.site-footer {
  padding: 80px 0 24px;
  background: linear-gradient(180deg, #102844, #0c2036);
  color: #d7e2ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.7fr;
  gap: 28px;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.05rem;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a {
  text-decoration: none;
}

.brand-footer .brand-text strong,
.brand-footer .brand-text span:last-child {
  color: #fff;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  padding: 64px 0 34px;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.page-hero-layout p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 38rem;
  color: var(--muted);
}

.page-hero-figure img {
  aspect-ratio: 1.2 / 1;
  height: 100%;
}

.stacked-services {
  display: grid;
  gap: 36px;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: center;
}

.service-detail-reverse {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
}

.service-detail-reverse .service-detail-copy {
  order: 2;
}

.service-detail-reverse .service-detail-media {
  order: 1;
}

.service-detail-copy {
  display: grid;
  gap: 18px;
}

.service-detail-copy p:not(.eyebrow) {
  color: var(--muted);
}

.service-detail-media img {
  aspect-ratio: 1.12 / 1;
  height: 100%;
}

.hero-emergency .hero-content {
  min-height: 70svh;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.steps-grid article,
.membership-panel,
.price-panel,
.contact-panel,
.form-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.steps-grid article {
  display: grid;
  gap: 14px;
}

.steps-grid span {
  color: var(--secondary);
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.values-grid,
.membership-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.membership-panel,
.price-panel,
.contact-panel,
.form-panel {
  display: grid;
  gap: 18px;
}

.price-panel .button {
  width: auto;
  justify-self: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.contact-list {
  display: grid;
  gap: 10px;
}

.contact-list strong {
  color: var(--heading);
}

.service-form {
  display: grid;
  gap: 12px;
}

.service-form label {
  color: var(--heading);
  font-weight: 700;
}

.service-form input,
.service-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 57, 94, 0.16);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
}

.service-form input:focus,
.service-form textarea:focus,
.menu-toggle:focus,
.button:focus,
.site-nav a:focus,
.phone-link:focus,
.text-link:focus {
  outline: 3px solid rgba(47, 128, 237, 0.28);
  outline-offset: 2px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(12, 32, 54, 0.92);
  box-shadow: 0 16px 40px rgba(10, 28, 46, 0.35);
  backdrop-filter: blur(10px);
}

.mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}

.mobile-sticky-cta a:first-child {
  background: var(--accent);
  color: #fff;
}

.mobile-sticky-cta a:last-child {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

@media (max-width: 1080px) {
  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .area-layout,
  .page-hero-layout,
  .service-detail,
  .service-detail-reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-reverse .service-detail-copy,
  .service-detail-reverse .service-detail-media {
    order: initial;
  }

  .final-cta-panel,
  .emergency-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-stack {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 880px) {
  .topbar {
    display: none;
  }

  .nav-shell {
    min-height: 76px;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta .phone-link {
    display: none;
  }

  .hero-home,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0 68px;
  }

  .hero-content h1,
  .hero-content h2 {
    max-width: 13ch;
  }

  .values-grid,
  .membership-grid,
  .contact-grid,
  .steps-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .page-hero {
    padding: 34px 0 12px;
  }

  .brand-text {
    display: none;
  }

  .nav-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .header-cta .button {
    display: none;
  }

  .hero-content {
    padding: 56px 0 54px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .inline-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .text-link {
    width: 100%;
    text-align: center;
  }

  .trust-points {
    display: grid;
    gap: 12px;
  }

  .trust-points li {
    border-radius: 20px;
  }

  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .final-cta-panel,
  .steps-grid article,
  .membership-panel,
  .price-panel,
  .contact-panel,
  .form-panel,
  .testimonial {
    padding: 22px;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  body {
    padding-bottom: 92px;
  }
}
