:root {
  --navy-950: #06172b;
  --navy-900: #071b33;
  --navy-800: #0b2948;
  --blue-600: #0877c9;
  --blue-500: #1296df;
  --red-600: #db2f35;
  --red-500: #ed3b41;
  --white: #ffffff;
  --ice: #eff6fa;
  --slate-100: #e6edf2;
  --slate-300: #a9bac7;
  --slate-500: #647889;
  --slate-700: #334a5e;
  --ink: #10263a;
  --shadow: 0 24px 70px rgba(5, 24, 43, 0.15);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 16px;
  background: var(--white); color: var(--navy-950); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.utility-bar { background: var(--navy-950); color: #cbd9e4; font-size: 0.8rem; letter-spacing: 0.05em; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner a { color: var(--white); font-weight: 700; }
.site-header { position: relative; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(7,27,51,.08); }
.nav-shell { min-height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand-logo img {
  display: block; width: clamp(230px, 24vw, 300px); height: auto;
  border-radius: 2px;
}
.primary-nav { display: flex; align-items: center; gap: 32px; color: var(--navy-900); font-size: .92rem; font-weight: 700; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px;
  background: var(--red-600); transition: right .2s ease;
}
.primary-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 13px 20px; color: var(--white); background: var(--red-600); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); transition: .2s ease; }

.hero { position: relative; min-height: 690px; overflow: hidden; background: var(--navy-900); color: var(--white); }
.hero-image { position: absolute; inset: 0; background: #173b5b url("hero.webp") 64% center/cover no-repeat; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-950) 0%, rgba(6,23,43,.98) 41%, rgba(6,23,43,.72) 58%, rgba(6,23,43,.14) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 8px;
  background: var(--red-600);
}
.hero-grid { position: relative; min-height: 690px; display: grid; align-items: center; }
.hero-copy { max-width: 680px; padding: 80px 0 94px; }
.eyebrow {
  margin: 0 0 18px; color: #9fd8fa; font-size: .78rem; font-weight: 800;
  letter-spacing: .19em; text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 2px; margin: 0 12px 3px 0; background: var(--red-500); }
.eyebrow.dark { color: var(--blue-600); }
h1, h2, h3 { margin-top: 0; font-family: "Barlow Condensed", Arial, sans-serif; line-height: .98; }
h1 { max-width: 700px; margin-bottom: 24px; font-size: clamp(4rem, 8vw, 7.7rem); font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; }
h1 span { color: var(--blue-500); }
.hero-lede { max-width: 635px; margin: 0 0 33px; color: #d7e3ec; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex; min-height: 54px; padding: 14px 23px; align-items: center; justify-content: center;
  border: 2px solid transparent; border-radius: 0; font-weight: 800; line-height: 1.2; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red-600); }
.button-primary:hover { background: #c42229; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.44); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
.trust-row { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 45px; }
.trust-row div { min-width: 130px; padding-left: 13px; border-left: 2px solid rgba(18,150,223,.75); }
.trust-row strong { display: block; color: var(--white); font-family: "Barlow Condensed", sans-serif; font-size: 1.22rem; letter-spacing: .03em; text-transform: uppercase; }
.trust-row span { display: block; margin-top: 2px; color: #a9bdcc; font-size: .76rem; }

.quick-strip { position: relative; z-index: 5; margin-top: -1px; background: var(--red-600); color: var(--white); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid a { min-height: 78px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-right: 1px solid rgba(255,255,255,.23); font-family: "Barlow Condensed", sans-serif; font-size: 1.08rem; font-weight: 700; text-transform: uppercase; }
.quick-grid a:first-child { border-left: 1px solid rgba(255,255,255,.23); }
.quick-grid a:hover { background: rgba(90,0,4,.18); }
.quick-grid span { color: #ffc9cb; font-size: .73rem; letter-spacing: .12em; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); gap: 90px; align-items: end; margin-bottom: 52px; }
.section-heading h2, .area-copy h2, .estimate-copy h2, .why-panel h2 { margin-bottom: 0; color: var(--navy-900); font-size: clamp(2.8rem, 5vw, 4.9rem); font-weight: 800; letter-spacing: -.025em; text-transform: uppercase; }
.section-heading > p { margin: 0 0 6px; color: var(--slate-500); }
.services { background: var(--ice); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cbd9e2; border: 1px solid #cbd9e2; box-shadow: var(--shadow); }
.service-card { min-height: 310px; padding: 35px 32px 30px; display: flex; flex-direction: column; background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-6px); box-shadow: 0 20px 55px rgba(4,33,58,.14); }
.service-number { color: var(--red-600); font-family: "Barlow Condensed", sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .13em; }
.service-card h3 { margin: 40px 0 15px; color: var(--navy-900); font-size: 1.82rem; text-transform: uppercase; }
.service-card p { margin: 0 0 24px; color: var(--slate-500); font-size: .94rem; line-height: 1.65; }
.service-card button { width: fit-content; margin-top: auto; padding: 0 0 4px; border: 0; border-bottom: 2px solid var(--blue-500); color: var(--navy-800); background: transparent; font-size: .8rem; font-weight: 800; }

.why-us { position: relative; overflow: hidden; background: var(--navy-900); color: var(--white); }
.why-us::before {
  content: "EC"; position: absolute; right: -1vw; bottom: -110px; color: rgba(255,255,255,.025);
  font-family: "Barlow Condensed", sans-serif; font-size: 34vw; font-weight: 800; line-height: 1;
}
.why-grid { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: start; }
.why-panel h2 { color: var(--white); }
.why-panel > p:not(.eyebrow) { max-width: 540px; color: #bdccd8; }
.text-link { display: inline-flex; gap: 14px; align-items: center; margin-top: 15px; padding-bottom: 5px; border-bottom: 2px solid var(--red-500); color: var(--white); font-weight: 700; }
.text-link span { color: var(--blue-500); font-size: 1.25rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.why-list div { min-height: 210px; padding: 27px 25px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.why-list span { color: var(--blue-500); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.why-list h3 { margin: 44px 0 9px; color: var(--white); font-size: 1.45rem; text-transform: uppercase; }
.why-list p { margin: 0; color: #9fb2c0; font-size: .86rem; line-height: 1.55; }

.service-area { background: var(--white); }
.area-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 100px; align-items: center; }
.area-copy p:last-child { max-width: 530px; margin-top: 24px; color: var(--slate-500); }
.boroughs { display: flex; flex-wrap: wrap; gap: 10px; }
.boroughs span { padding: 17px 20px; border: 1px solid #ccd9e2; color: var(--navy-800); background: var(--ice); font-family: "Barlow Condensed", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }

.estimate { position: relative; overflow: hidden; background: #092440; color: var(--white); }
.estimate::after { content: ""; position: absolute; width: 460px; height: 460px; top: -230px; left: -200px; border: 100px solid rgba(18,150,223,.08); border-radius: 50%; }
.estimate-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.estimate-copy h2 { color: var(--white); }
.estimate-copy > p:not(.eyebrow) { color: #b9cbd8; }
.direct-call { display: block; margin-top: 34px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.direct-call span { display: block; color: #8fa8ba; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.direct-call strong { display: block; margin-top: 3px; font-family: "Barlow Condensed", sans-serif; font-size: 2rem; }
.estimate-form { padding: 38px; background: var(--white); color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estimate-form label { display: grid; gap: 8px; margin-bottom: 17px; color: var(--navy-800); font-size: .83rem; font-weight: 800; }
.estimate-form input, .estimate-form select, .estimate-form textarea {
  width: 100%; min-height: 52px; border: 1px solid #c5d1da; border-radius: 0; padding: 12px 14px;
  color: var(--ink); background: #f8fbfd; font-size: 1rem; font-weight: 400; outline: none;
}
.estimate-form textarea { resize: vertical; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(18,150,223,.13); }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 10px 0 0; color: var(--slate-500); font-size: .75rem; text-align: center; }

.site-footer { padding: 70px 0 92px; background: #041322; color: #91a8b9; }
.footer-main { display: grid; grid-template-columns: .8fr 1.35fr .85fr; gap: 70px; align-items: center; }
.footer-brand { width: fit-content; }
.footer-brand img { width: min(280px, 100%); }
.footer-main p { margin: 0; max-width: 470px; }
.footer-actions { display: grid; gap: 8px; justify-items: end; color: var(--white); font-weight: 700; }
.footer-actions a:last-child { color: #75c8f4; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .75rem; }
.mobile-callbar { display: none; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 30px, 720px); }
  .utility-inner span { display: none; }
  .utility-inner { justify-content: center; }
  .nav-shell { min-height: 74px; }
  .menu-button { display: block; }
  .primary-nav {
    position: fixed; inset: 108px 0 0; display: grid; align-content: start; gap: 0; padding: 30px;
    background: var(--white); transform: translateX(100%); transition: transform .25s ease;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { padding: 18px 0; border-bottom: 1px solid #d8e2e9; font-size: 1.1rem; }
  .primary-nav .nav-cta { margin-top: 20px; padding: 16px; text-align: center; }
  .hero, .hero-grid { min-height: 730px; }
  .hero-image { inset: 0; opacity: .55; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,23,43,.98), rgba(6,23,43,.72)); }
  .hero-copy { padding: 78px 0 90px; }
  h1 { font-size: clamp(3.6rem, 15vw, 6rem); }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-grid a { border-bottom: 1px solid rgba(255,255,255,.23); }
  .section { padding: 82px 0; }
  .section-heading, .area-grid, .estimate-grid { grid-template-columns: 1fr; gap: 35px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 55px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-actions { justify-items: start; }
}

@media (max-width: 600px) {
  :root { --container: calc(100% - 28px); }
  body { padding-bottom: 62px; }
  .brand-logo img { width: 210px; }
  .hero, .hero-grid { min-height: 710px; }
  .hero-copy { padding: 62px 0 78px; }
  h1 { font-size: clamp(3.25rem, 17vw, 4.5rem); }
  .hero-lede { font-size: .98rem; }
  .hero-actions { display: grid; }
  .trust-row { gap: 18px; }
  .trust-row div { min-width: calc(50% - 12px); }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid a { min-height: 62px; }
  .section { padding: 68px 0; }
  .section-heading h2, .area-copy h2, .estimate-copy h2, .why-panel h2 { font-size: 2.75rem; }
  .section-heading { margin-bottom: 34px; }
  .service-grid, .why-list { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .estimate-form { padding: 25px 20px; }
  .footer-bottom { display: grid; gap: 8px; }
  .mobile-callbar {
    position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr;
    min-height: 62px; box-shadow: 0 -10px 30px rgba(3,18,32,.2);
  }
  .mobile-callbar a { display: grid; place-items: center; color: var(--white); background: var(--red-600); font-weight: 800; }
  .mobile-callbar a:last-child { background: var(--navy-800); }
}
