:root {
  --ink: #07111f;
  --muted: #526174;
  --line: #cbd8e8;
  --paper: #ffffff;
  --soft: #f3f7fc;
  --brand: #0b63ce;
  --brand-dark: #063f91;
  --accent: #37a2ff;
  --dark: #020711;
  --blue-black: #06182d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(11, 99, 206, 0.06), rgba(255, 255, 255, 0) 520px),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  z-index: 20;
}

.skip-link:focus {
  left: 8px;
}

.topbar {
  background: #020711;
  color: #eef6f6;
  font-size: 0.94rem;
}

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

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 9px 0;
}

.topbar a {
  color: #ffffff;
  font-weight: 700;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 7, 17, 0.96);
  border-bottom: 1px solid rgba(55, 162, 255, 0.28);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  color: #ffffff;
  font-weight: 900;
  font-size: clamp(1.18rem, 3vw, 1.55rem);
  line-height: 1.05;
}

.brand span {
  display: block;
  color: #9cc9ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  font-size: 0.95rem;
  font-weight: 800;
}

.nav a {
  color: #eef6ff;
}

.nav .cta-link {
  color: #78bdff;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: stretch;
  background: var(--dark);
  color: #ffffff;
}

.hero .media {
  grid-area: 1 / 1;
  min-height: 680px;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(55, 162, 255, 0.25), transparent 24%),
    linear-gradient(90deg, rgba(2, 7, 17, 0.96) 0%, rgba(3, 19, 43, 0.82) 44%, rgba(3, 19, 43, 0.24) 100%),
    url("hero-home-inspection.png");
  background-position: center;
  background-size: cover;
}

.hero .wrap {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.35rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 18px;
}

.lead {
  max-width: 760px;
  color: #e9eef4;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b63ce, #063f91);
  color: #ffffff;
  font-weight: 900;
}

.button:hover,
.button:focus {
  background: linear-gradient(135deg, #0d7fff, #0b63ce);
  color: #ffffff;
  text-decoration: none;
}

.button.alt {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.light {
  background: #ffffff;
  color: var(--brand-dark);
}

section {
  padding: 82px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background:
    radial-gradient(circle at top left, rgba(55, 162, 255, 0.2), transparent 32%),
    linear-gradient(135deg, #020711 0%, #06182d 100%);
  color: #ffffff;
}

.section-dark p,
.section-dark li {
  color: #d9e1ea;
}

.intro {
  max-width: 820px;
  margin-bottom: 36px;
}

.intro p,
.muted {
  color: var(--muted);
}

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

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

.card {
  min-height: 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.08);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.card p,
.card li {
  color: var(--muted);
}

.section-dark .card p,
.section-dark .card li {
  color: #d9e1ea;
}

.kicker {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.list {
  padding-left: 20px;
  margin: 0;
}

.list li {
  margin: 9px 0;
}

.band {
  padding: 44px 0;
  background:
    radial-gradient(circle at 8% 20%, rgba(55, 162, 255, 0.32), transparent 28%),
    linear-gradient(135deg, #020711 0%, #063f91 100%);
  color: #ffffff;
}

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

.band p {
  color: #e7f5f3;
  margin-bottom: 0;
}

.areas {
  columns: 3;
  column-gap: 34px;
  padding-left: 20px;
  margin: 0;
}

.areas li {
  break-inside: avoid;
  margin: 5px 0;
}

.page-hero {
  padding: 86px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(55, 162, 255, 0.34), transparent 28%),
    linear-gradient(135deg, #020711 0%, #06182d 56%, #063f91 100%);
  color: #ffffff;
}

.page-hero p {
  max-width: 820px;
  color: #e3edf2;
  font-size: 1.14rem;
}

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

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

label {
  display: block;
  color: var(--ink);
  font-weight: 900;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #aebfd3;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

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

.hp-field {
  position: absolute;
  left: -10000px;
  height: 1px;
  overflow: hidden;
}

.footer {
  background: #0b1220;
  color: #dce5ef;
  padding: 50px 0 26px;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.graphic-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 22px;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 22%, rgba(55, 162, 255, 0.42), transparent 28%),
    linear-gradient(135deg, #020711, #082a5a);
}

.graphic-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 130px;
  height: 130px;
  border: 18px solid rgba(120, 189, 255, 0.28);
  border-radius: 50%;
}

.graphic-card h3,
.graphic-card p {
  position: relative;
  z-index: 1;
}

.graphic-card p {
  color: #d9ebff;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid rgba(156, 201, 255, 0.45);
  border-radius: 50%;
  background: rgba(55, 162, 255, 0.14);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
}

.map-frame {
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dbeafe;
  box-shadow: 0 18px 42px rgba(7, 17, 31, 0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.review-panel {
  background:
    radial-gradient(circle at 88% 10%, rgba(55, 162, 255, 0.28), transparent 24%),
    linear-gradient(135deg, #020711, #06182d);
  color: #ffffff;
}

.review-panel p,
.review-panel li {
  color: #d9ebff;
}

.star-row {
  color: #78bdff;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.booking-grid {
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(55, 162, 255, 0.22), transparent 24%),
    #ffffff;
}

.quick-contact {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.quick-contact a {
  display: block;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fbff;
  color: var(--brand-dark);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.booking-form {
  position: sticky;
  top: 104px;
}

.review-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.footer a {
  color: #ffffff;
}

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

.footer small {
  display: block;
  margin-top: 30px;
  color: #aeb9c6;
}

@media (max-width: 900px) {
  .header .wrap,
  .band .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

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

  .booking-form {
    position: static;
  }

  .areas {
    columns: 2;
  }

  .hero,
  .hero .media {
    min-height: 620px;
  }

  .hero .media {
    background-image:
      radial-gradient(circle at 18% 18%, rgba(55, 162, 255, 0.22), transparent 24%),
      linear-gradient(90deg, rgba(2, 7, 17, 0.96) 0%, rgba(3, 19, 43, 0.84) 62%, rgba(3, 19, 43, 0.48) 100%),
      url("hero-home-inspection.png");
  }
}

@media (max-width: 640px) {
  .topbar .wrap {
    display: block;
  }

  .topbar span {
    display: block;
    margin-top: 4px;
  }

  .hero,
  .hero .media {
    min-height: 680px;
  }

  section,
  .page-hero {
    padding: 58px 0;
  }

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

  .areas {
    columns: 1;
  }
}
