:root {
  --blue: #2f76c9;
  --blue-dark: #0c3970;
  --black: #050713;
  --ink: #151827;
  --muted: #5d6474;
  --line: #dce5f2;
  --white: #ffffff;
  --soft: #f4f8fd;
  --shadow: 0 24px 70px rgba(5, 7, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(47, 118, 201, 0.18);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 146px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 14px;
  color: var(--black);
  font-size: 0.94rem;
  font-weight: 800;
  border-radius: 6px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--black);
  border: 0;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.72fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(5, 7, 19, 0.94) 0%, rgba(8, 24, 53, 0.91) 48%, rgba(47, 118, 201, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 84px);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -24vw;
  width: 58vw;
  height: 58vw;
  background: rgba(255, 255, 255, 0.09);
  transform: rotate(20deg);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.summer-band .eyebrow,
.contact-card .eyebrow {
  color: #8fc2ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--black);
  font-size: 1.2rem;
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  font-weight: 900;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--blue);
}

.btn.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-strip span {
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.hero-media {
  align-self: end;
}

.hero-media img {
  width: min(440px, 100%);
  margin-inline: auto;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: min(260px, 72%);
  padding: 18px;
  color: var(--white);
  background: var(--black);
  border-left: 6px solid var(--blue);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.section {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--soft);
}

.intro p:last-child,
.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.section-heading p:last-child {
  margin-top: 12px;
}

.service-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.service-tabs {
  display: grid;
  gap: 10px;
}

.service-tab {
  min-height: 58px;
  padding: 14px 16px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.service-tab.active,
.service-tab:hover,
.service-tab:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.service-panel {
  min-height: 360px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--black);
  border-radius: 8px;
  color: var(--white);
}

.service-panel h3 {
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.service-panel p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.panel-kicker {
  margin: 0 0 10px;
  color: #8fc2ff;
  font-weight: 900;
  text-transform: uppercase;
}

.service-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.service-panel li,
.check-item {
  position: relative;
  padding: 14px 14px 14px 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.service-panel li::before,
.check-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  width: 12px;
  height: 7px;
  border-bottom: 3px solid #8fc2ff;
  border-left: 3px solid #8fc2ff;
  transform: rotate(-45deg);
}

.summer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(47, 118, 201, 0.96), rgba(5, 7, 19, 0.96)),
    linear-gradient(90deg, transparent 0 46%, rgba(255, 255, 255, 0.1) 46% 54%, transparent 54% 100%);
}

.summer-band h2,
.contact-card h2 {
  color: var(--white);
}

.summer-band p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.83);
}

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

.process {
  background: var(--white);
}

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

.step {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 20px;
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--black);
}

.contact-card {
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.contact-card p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.phone-link {
  display: inline-flex;
  margin: 22px 0 6px;
  color: #8fc2ff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border-radius: 8px;
}

.hidden-field {
  display: none;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--black);
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--black);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer img {
  width: 120px;
  padding: 6px;
  background: var(--white);
  border-radius: 6px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(5, 7, 19, 0.14);
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .intro,
  .service-layout,
  .summer-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    align-self: center;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 118px;
  }

  .hero-actions,
  .trust-strip {
    flex-direction: column;
  }

  .btn,
  .trust-strip span {
    width: 100%;
  }

  .service-panel ul,
  .check-grid {
    grid-template-columns: 1fr;
  }

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

  .service-tab {
    min-height: 52px;
    padding: 11px;
    text-align: center;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: -2px;
    border-radius: 0 0 8px 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
