:root {
  --ink: #181a1f;
  --ink-soft: #3f4650;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: #ddd7cc;
  --signal: #f7b731;
  --signal-dark: #b66b00;
  --safety: #ef4d2f;
  --steel: #336273;
  --field: #2f6f53;
  --night: #101217;
  --shadow: 0 22px 60px rgba(24, 26, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid rgba(24, 26, 31, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(24, 26, 31, 0.08);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--night);
  background: var(--signal);
  border: 2px solid var(--night);
  border-radius: 6px;
  font-weight: 900;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 10px 14px;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(247, 183, 49, 0.22);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle svg,
.button svg,
.inline-link svg,
.alert-inner svg,
.service-card svg,
.equipment-list svg,
.coverage-points svg,
.contact-strip svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: min(760px, 78vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 18, 23, 0.92), rgba(16, 18, 23, 0.64) 42%, rgba(16, 18, 23, 0.16)),
    linear-gradient(0deg, rgba(16, 18, 23, 0.72), rgba(16, 18, 23, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 48px;
}

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

.hero h1,
.section-heading h2,
.equipment-layout h2,
.quote-copy h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 830px;
  font-size: clamp(2.5rem, 6.2vw, 5.8rem);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--night);
  background: var(--signal);
  border-color: var(--signal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffd45c;
  outline: 3px solid rgba(247, 183, 49, 0.35);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 3px solid rgba(255, 255, 255, 0.22);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 46px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.hero-stats div {
  min-height: 104px;
  padding: 18px;
  background: rgba(16, 18, 23, 0.58);
}

.hero-stats dt {
  color: var(--signal);
  font-size: 1.7rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

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

.alert-band {
  background: var(--signal);
  border-block: 1px solid rgba(24, 26, 31, 0.18);
}

.alert-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px 0;
  color: var(--night);
}

.alert-inner p {
  margin: 0;
  font-weight: 800;
}

.alert-inner a {
  margin-left: auto;
  font-weight: 900;
  white-space: nowrap;
}

.section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.section-light {
  background: var(--paper);
}

.section-heading {
  max-width: 730px;
}

.section-heading h2,
.equipment-layout h2,
.quote-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.section-heading p,
.quote-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 248px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(24, 26, 31, 0.06);
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--signal-dark);
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.section-system {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(239, 77, 47, 0.16), transparent 40%),
    linear-gradient(90deg, #101217, #22262b);
}

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

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--signal);
  font-weight: 900;
  text-decoration: none;
}

.command-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #37d27d;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(55, 210, 125, 0.16);
}

.command-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.command-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  min-height: 122px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.command-steps span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--night);
  background: var(--signal);
  border-radius: 6px;
  font-weight: 900;
}

.command-steps h3,
.command-steps p {
  margin: 0;
}

.command-steps h3 {
  font-size: 1.15rem;
}

.command-steps p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
}

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

.equipment-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.equipment-list div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.equipment-list svg {
  color: var(--signal);
}

.equipment-list span {
  font-weight: 800;
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.map-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(24, 26, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 26, 31, 0.08) 1px, transparent 1px),
    #dce4de;
  background-size: 42px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.road {
  position: absolute;
  height: 18px;
  background: #2a2d32;
  border-block: 3px solid rgba(255, 255, 255, 0.36);
}

.road::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 2px dashed var(--signal);
  transform: translateY(-50%);
}

.road-a {
  top: 58%;
  left: -20%;
  width: 145%;
  transform: rotate(-18deg);
}

.road-b {
  top: 32%;
  left: 8%;
  width: 108%;
  transform: rotate(26deg);
}

.road-c {
  top: 72%;
  left: 12%;
  width: 92%;
  transform: rotate(14deg);
}

.pin {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  background: var(--safety);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(24, 26, 31, 0.28);
}

.pin-a {
  left: 16%;
  top: 66%;
}

.pin-b {
  left: 42%;
  top: 42%;
}

.pin-c {
  left: 66%;
  top: 55%;
}

.pin-d {
  left: 78%;
  top: 24%;
  background: var(--field);
}

.map-label {
  position: absolute;
  z-index: 3;
  padding: 7px 9px;
  color: var(--white);
  background: var(--ink);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 900;
}

.label-a {
  left: 9%;
  top: 72%;
}

.label-b {
  left: 36%;
  top: 48%;
}

.label-c {
  left: 61%;
  top: 61%;
}

.label-d {
  left: 70%;
  top: 30%;
}

.coverage-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.coverage-points span {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.coverage-points svg {
  color: var(--field);
}

.section-quote {
  background: var(--white);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.contact-strip {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-strip a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.contact-strip svg {
  color: var(--signal-dark);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(24, 26, 31, 0.08);
}

.quote-form label,
.form-field {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.form-field > label {
  color: var(--ink-soft);
}

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

.city-complete {
  position: relative;
}

.city-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 8;
  display: grid;
  max-height: 230px;
  gap: 3px;
  overflow-y: auto;
  padding: 6px;
  background: var(--white);
  border: 1px solid #cbc3b6;
  border-radius: 6px;
  box-shadow: 0 18px 36px rgba(24, 26, 31, 0.16);
}

.city-suggestions[hidden] {
  display: none;
}

.city-suggestions button {
  min-height: 40px;
  padding: 8px 10px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.city-suggestions button:hover,
.city-suggestions button:focus-visible {
  background: rgba(247, 183, 49, 0.22);
  outline: none;
}

.service-fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  border: 0;
}

.service-fieldset legend {
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-fieldset p {
  margin: -2px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-options,
.contact-options {
  display: grid;
  gap: 10px;
}

.contact-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  min-height: 58px;
  padding-block: 12px;
}

.check-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbc3b6;
  border-radius: 6px;
  cursor: pointer;
}

.check-card:hover,
.check-card:has(input:checked) {
  border-color: var(--signal-dark);
  box-shadow: 0 0 0 3px rgba(247, 183, 49, 0.18);
}

.check-card input[type="checkbox"],
.check-card input[type="radio"] {
  position: absolute;
  width: 1px;
  min-height: 1px;
  padding: 0;
  opacity: 0;
}

.check-box {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: var(--white);
  border: 2px solid #9f9585;
  border-radius: 5px;
}

.check-box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-bottom: 3px solid var(--night);
  border-left: 3px solid var(--night);
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.check-card input:checked + .check-box {
  background: var(--signal);
  border-color: var(--signal-dark);
}

.check-card input:checked + .check-box::after {
  opacity: 1;
}

.check-card input:focus-visible + .check-box {
  outline: 3px solid rgba(247, 183, 49, 0.34);
  outline-offset: 2px;
}

.check-card strong,
.check-card small {
  display: block;
}

.contact-card strong {
  font-size: 0.9rem;
}

.check-card small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.conditional-field[hidden] {
  display: none;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cbc3b6;
  border-radius: 6px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--signal-dark);
  outline: 3px solid rgba(247, 183, 49, 0.28);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 900;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="pending"] {
  color: var(--ink-soft);
}

.form-status[data-state="success"] {
  color: var(--field);
}

.form-status[data-state="error"] {
  color: var(--safety);
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--night);
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner strong {
  color: var(--white);
}

.footer-inner p {
  margin: 7px 0 0;
}

.credit {
  max-width: 560px;
  font-size: 0.82rem;
}

.credit a {
  color: var(--signal);
}

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

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(16, 18, 23, 0.88), rgba(16, 18, 23, 0.2)),
      linear-gradient(90deg, rgba(16, 18, 23, 0.84), rgba(16, 18, 23, 0.42));
  }

  .service-grid,
  .system-layout,
  .equipment-layout,
  .coverage-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .command-panel {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 0.92rem;
  }

  .brand strong {
    max-width: 178px;
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .site-nav {
    inset-block-start: 66px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-inner {
    width: min(100% - 28px, 1160px);
    padding: 46px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.25rem);
  }

  .hero-actions,
  .alert-inner,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .alert-inner a {
    width: 100%;
  }

  .alert-inner a {
    margin-left: 0;
  }

  .equipment-list,
  .coverage-points {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 96px;
    padding: 13px 10px;
  }

  .hero-stats dt {
    font-size: 1.28rem;
  }

  .hero-stats dd {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  .route-fields {
    grid-template-columns: 1fr;
  }

  .contact-options {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 58px;
  }

  .service-card {
    min-height: 220px;
  }

  .command-panel,
  .quote-form {
    padding: 18px;
  }

  .command-steps li {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .map-card {
    min-height: 390px;
  }
}
