:root {
  --blue: #0067d8;
  --blue-dark: #003c84;
  --ink: #07111f;
  --black: #05070a;
  --gray-900: #18202b;
  --gray-700: #46505d;
  --gray-200: #dfe5ed;
  --gray-100: #f4f7fa;
  --white: #ffffff;
  --line: rgba(7, 17, 31, 0.14);
  --shadow: 0 20px 50px rgba(7, 17, 31, 0.16);
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 10, 0.94);
  color: var(--white);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 220px;
  height: 82px;
  object-fit: contain;
  object-position: center;
}

.menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: var(--white);
  padding: 0.55rem 0.75rem;
  font-weight: 800;
}

.site-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: var(--header-height);
  display: none;
  flex-direction: column;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

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

.site-nav a {
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(0, 103, 216, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--gray-200);
}

.btn.dark {
  background: var(--black);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.62), rgba(5, 7, 10, 0.24)),
    var(--hero-image, url("../images/fiber-splicing-field.png")) center/cover no-repeat;
}

.hero.subpage {
  min-height: 430px;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  padding: 5.5rem 0 3rem;
}

.eyebrow {
  color: #8fc0ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  text-transform: uppercase;
}

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

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 760px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 3rem;
}

.metric {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.metric strong {
  display: block;
  font-size: 1.5rem;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 4.25rem 0;
}

.section.alt {
  background: var(--gray-100);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.trust-banner {
  background: var(--ink);
  color: var(--white);
  padding: 2.25rem 0;
}

.trust-banner .section-inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.trust-banner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading.spaced {
  margin-top: 2.25rem;
}

.section-heading p {
  max-width: 760px;
  color: var(--gray-700);
  font-size: 1.03rem;
}

.dark .section-heading p,
.dark .muted {
  color: rgba(255, 255, 255, 0.74);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two,
.grid.three,
.grid.four {
  grid-template-columns: 1fr;
}

.card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.25rem;
  min-width: 0;
}

.dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.card h3 {
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}

.dark .card h3 {
  color: #8fc0ff;
}

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

.dark .card p,
.dark .card li {
  color: rgba(255, 255, 255, 0.76);
}

.image-band {
  display: grid;
  gap: 1rem;
}

.image-band img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--black);
}

.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: 2rem 0;
}

.cta-band .section-inner {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.page-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.advantage-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.advantage-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.15rem;
  min-height: 150px;
}

.advantage-card h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.advantage-card p {
  color: var(--gray-700);
}

.dark .advantage-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.dark .advantage-card h3 {
  color: #8fc0ff;
}

.dark .advantage-card p,
.dark .benefit-list li {
  color: rgba(255, 255, 255, 0.76);
}

.benefit-list {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  border-left: 4px solid var(--blue);
  background: rgba(0, 103, 216, 0.08);
  padding: 0.75rem 0.85rem;
  color: var(--gray-900);
  font-weight: 800;
}

.process-steps {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.process-step {
  display: grid;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.15rem;
  font-weight: 900;
}

.form-shell {
  display: grid;
  gap: 1.25rem;
}

.form-panel {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.25rem;
}

.form-panel legend,
.form-panel h2 {
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
}

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

label,
.check-label {
  display: grid;
  gap: 0.35rem;
  color: var(--gray-900);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8d1dc;
  background: var(--white);
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  font: inherit;
}

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

.checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.check-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 700;
}

.check-label input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.15rem;
}

.notice {
  border-left: 4px solid var(--blue);
  background: #eef6ff;
  padding: 1rem;
  color: var(--gray-900);
}

.form-status {
  display: none;
  margin-top: 1rem;
  border: 1px solid #b8d7ff;
  background: #eef6ff;
  padding: 0.9rem;
  color: var(--ink);
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

@media (min-width: 720px) {
  .trust-banner .section-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .grid.two,
  .cta-band .section-inner,
  .footer-grid,
  .image-band {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

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

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

  .process-steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .metric-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1040px) {
  .nav-wrap {
    align-items: stretch;
  }

  .brand {
    align-self: center;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    align-self: stretch;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.75rem 0.7rem;
    font-size: 0.88rem;
  }

  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }

  .advantage-grid.five {
    grid-template-columns: repeat(5, 1fr);
  }

  .section-heading {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: end;
  }
}
