:root {
  color-scheme: dark;
  --ink: #0b1016;
  --panel: #171e27;
  --line: #344252;
  --muted: #bdc8d4;
  --white: #f6f8fb;
  --blue: #8ac8ff;
  --bright: #87c7ff;
  --heading: "Arial Narrow", "Franklin Gothic Medium", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.55 system-ui, sans-serif; background: var(--ink); color: var(--white); }
a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 0; left: 1rem; padding: .7rem; background: var(--ink); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
.header { background: #080c11; border-bottom: 1px solid #ffffff24; }
.header-inner, .footer-inner { display: flex; align-items: center; min-height: 5.2rem; gap: clamp(1rem, 3vw, 2.5rem); }
.header-inner { padding-block: .55rem; }
.header .brand img { width: 6rem; height: auto; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; }
.brand img { object-fit: cover; border-radius: 6px; }
.brand span { display: grid; font: 850 1.15rem/1 var(--heading); text-transform: uppercase; letter-spacing: .045em; }
.brand strong { margin-top: .26rem; color: var(--blue); font-size: .78rem; letter-spacing: .17em; }
nav { display: flex; margin-left: auto; gap: clamp(1rem, 3vw, 2rem); }
nav a, .header-call, .footer-phones a { text-decoration: none; font-weight: 650; }
nav a:hover, .header-call:hover, .footer-phones a:hover { color: var(--blue); }
.header-call { white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .82rem 1.27rem; min-height: 3rem; border: 1px solid transparent; border-radius: 5px; font: 750 .95rem/1.2 system-ui, sans-serif; color: #081523; background: var(--bright); text-decoration: none; cursor: pointer; }
.button:hover { background: #b6dfff; }
.outline { color: var(--white); background: #090f16ab; border-color: #e4efff70; }
.outline:hover { background: #22395a; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #151d25; border-bottom: 3px solid #639dce; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: 62% center; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg, #070c13 0%, #070c13ed 25%, #070c1370 60%, #070c131c 100%), linear-gradient(0deg, #070c1370, transparent 45%); }
.hero-inner { display: grid; min-height: clamp(33rem, 46vw, 43rem); align-items: center; padding-block: 4rem; }
.hero-copy { max-width: 48rem; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: .875rem; font-weight: 800; }
h1, h2, h3 { font-family: var(--heading); margin: 0; line-height: 1.04; }
h1 { margin-top: .6rem; font-weight: 900; font-size: clamp(2.7rem, 6.2vw, 5.7rem); letter-spacing: -.062em; }
h1 em { font-style: normal; color: var(--blue); }
.lead { max-width: 34rem; font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: #e2eaf1; margin-top: 1.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.55rem; }
.services, .contact { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(14rem, 26rem); align-items: end; margin-bottom: 2rem; gap: .7rem 2rem; }
h2 { margin-top: .5rem; font-weight: 850; font-size: clamp(2.1rem, 4.4vw, 3.7rem); letter-spacing: -.05em; }
.section-heading > p, .card p, .contact-copy > p:not(.eyebrow), .form-note, .image-note { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); }
.card img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.card > div { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card h3 { font-weight: 820; font-size: clamp(1.25rem, 2.1vw, 1.65rem); letter-spacing: -.025em; }
.card p { margin: .8rem 0 1.15rem; }
.card a { margin-top: auto; color: var(--blue); font-weight: 720; text-underline-offset: .25em; }
.card a:hover { color: #d3eaff; }
.image-note { margin-top: .9rem; font-size: .83rem; }
.contact { background: linear-gradient(128deg, #1b2c3f, #101822 65%); border-block: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 7vw, 6rem); }
.contact-copy > p:not(.eyebrow) { max-width: 27rem; margin-top: 1.1rem; }
.contact-phone { display: grid; justify-items: start; gap: .3rem; margin-top: 1.6rem; }
.contact-phone a { color: var(--blue); text-underline-offset: .25em; font-size: 1.15rem; font-weight: 700; }
.contact-logo { width: 12.5rem; height: auto; margin-top: 1.6rem; border-radius: 8px; }
.estimate-form { padding: clamp(1rem, 3vw, 1.9rem); border-radius: 8px; background: #0d141d; border: 1px solid #3a4b5d; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.wide { grid-column: 1/-1; }
label { font-size: .93rem; font-weight: 650; }
label span { font-weight: 400; color: var(--muted); }
input, select, textarea { display: block; margin-top: .34rem; width: 100%; min-height: 2.8rem; padding: .6rem .75rem; border: 1px solid #516273; border-radius: 4px; background: #192532; color: var(--white); font: 1rem/1.3 system-ui, sans-serif; }
select { appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, #c5daef 50%), linear-gradient(135deg, #c5daef 50%, transparent 50%); background-position: calc(100% - 17px) 53%, calc(100% - 12px) 53%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
textarea::placeholder { color: #b1bfce; }
.estimate-form .button { margin-top: 1rem; }
.form-note { font-size: .875rem; margin-top: .7rem; }
.footer { padding-block: 1rem; }
.footer-inner { justify-content: space-between; }
.footer-phones { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .95rem; }
.confirmation { padding-block: 3rem; }
.confirmation h1 { margin-top: 2rem; }
.confirmation p { margin: 1rem 0 1.5rem; }
@media (max-width: 820px) {
  .header-call { display: none; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 1.5rem; }
  .card > div { padding: 1rem; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { gap: .7rem 1rem; flex-wrap: wrap; padding-block: .55rem; }
  .header .brand img { width: 4.5rem; }
  .header-inner nav { order: 3; width: 100%; justify-content: center; }
  .header-quote { margin-left: auto; padding-inline: .75rem; }
  .hero-inner { min-height: 32rem; }
  .hero-photo { object-position: 69% center; }
  .hero::after { background: linear-gradient(90deg, #070c13eb, #070c1380), linear-gradient(0deg, #070c13c7, transparent 65%); }
  .section-heading, .contact-grid, .cards { grid-template-columns: 1fr; }
  .card img { aspect-ratio: 1.9; }
  .contact-logo { width: 9rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: .7rem; gap: .8rem; }
}
@media (max-width: 380px) {
  .header-inner nav { order: 2; width: auto; margin-left: 0; }
  .header-quote { order: 3; }
}
@media (max-width: 420px) {
  .fields { grid-template-columns: 1fr; }
  .actions .button { padding-inline: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
