:root {
  --white: #fff;
  --gray: #d3d3d3;
  --blue: #245bff;
  --blue-deep: #0040ff;
  --navy: #001a66;
  --abyss: #00113f;
  --mist: #e6eeff;
  --ink: #0b0b0f;
  --muted: #4a4a55;
  --light-blue: #9fbdff;
  --grad: linear-gradient(135deg, #245bff 0%, #0040ff 55%, #001a66 100%);
  --radius: 18px;
  --display: "Anton", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, sans-serif; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
.wrap { width: min(1280px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 17px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad) border-box; color: var(--white); box-shadow: 0 8px 24px rgb(36 91 255 / .35); }
.btn-white { background: var(--white); color: var(--blue-deep); }
.btn-outline-light { border-color: rgb(255 255 255 / .8); color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--light-blue); outline-offset: 2px; }

/* Header: glass bar over the hero */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; background: rgb(0 17 63 / .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 89px; }
.logo img { width: 300px; height: auto; }
nav { display: flex; gap: 32px; }
nav a { color: var(--white); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--light-blue); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--white); border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 1000px; padding: 150px 0 120px; overflow: hidden; color: var(--white); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: -10px; background: url(../img/hero-pavers.jpg) center/cover; filter: blur(2px); transform: scaleX(-1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 17 63 / .55), rgb(0 17 63 / .15)); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 420px); justify-content: space-between; align-items: center; gap: 40px; }
.glass { background: rgb(0 17 63 / .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 24px; padding: 40px 32px; }
.eyebrow { display: inline-block; margin: 0 0 28px; padding: 8px 16px; border-radius: 999px; background: rgb(255 255 255 / .14); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.hero h1 { font: 400 clamp(46px, 6.5vw, 86px)/1.07 var(--display); text-transform: uppercase; }
.hero h1 span { display: inline-block; margin-top: 6px; padding: 0 18px; background: var(--white); color: var(--blue-deep); transform: rotate(-1.5deg); }
.lead { font-size: 20px; max-width: 620px; margin: 28px 0; color: rgb(255 255 255 / .9); }
.proof { margin: 28px 0 0; font-size: 15px; font-weight: 600; }
.proof span { margin: 0 24px; font-weight: 400; opacity: .4; }
.trust-strip li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--blue); font-size: 12px; }

.quote-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; box-shadow: 0 24px 60px rgb(0 17 63 / .35); display: grid; gap: 12px; }
.quote-card h2 { font: 400 30px/1.1 var(--display); text-transform: uppercase; color: var(--navy); }
.quote-card input, .quote-card select, .quote-card textarea { width: 100%; font: inherit; padding: 13px 16px; border: 1.5px solid var(--gray); border-radius: 12px; background: var(--white); color: var(--ink); }
.quote-card textarea { resize: vertical; }
.file-btn { position: relative; display: block; padding: 13px; border: 1.5px dashed var(--blue); border-radius: 12px; text-align: center; color: var(--blue); font-weight: 600; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--muted); margin: 0; }
.small { font-size: 13px; text-align: center; }
.form-status:empty { display: none; }
.form-status { margin: 0; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.form-status.ok { background: #e3f7ea; color: #11633a; }
.form-status.err { background: #fde8e8; color: #9b1c1c; }

.trust-strip { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 16px; list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 36px; background: rgb(0 17 63 / .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 600; font-size: 15px; }

/* Sections */
.section { padding: 110px 0; }
.section-mist { background: var(--mist); }
.kicker { margin: 0 0 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--blue); }
.title { font: 400 clamp(40px, 5vw, 64px)/1.05 var(--display); text-transform: uppercase; color: var(--navy); }
.sub { max-width: 640px; font-size: 18px; color: var(--muted); margin: 18px 0 0; }
.light { color: var(--white); }
.kicker.light { color: var(--light-blue); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid #dde5f7; box-shadow: 0 6px 20px rgb(0 26 102 / .06); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgb(0 26 102 / .14); }
.card svg { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--grad); fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 18px 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Before / after */
.ba-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 24px; }
.ba-tabs button { font: 600 15px Inter, sans-serif; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); cursor: pointer; }
.ba-tabs button[aria-selected="true"] { background: var(--grad); color: var(--white); border-color: transparent; }
.ba { --pos: 50%; position: relative; aspect-ratio: 1280 / 620; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgb(0 26 102 / .2); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--white); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 16px rgb(0 0 0 / .3); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.pill { position: absolute; top: 20px; padding: 6px 16px; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.pill-before { left: 20px; background: rgb(11 11 15 / .7); color: var(--white); }
.pill-after { right: 20px; background: var(--blue); color: var(--white); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { padding: 32px; border-radius: var(--radius); background: var(--mist); }
.num { font: 400 56px/1 var(--display); color: var(--blue); }
.steps h3 { font: 400 26px/1.2 var(--display); text-transform: uppercase; color: var(--navy); margin: 14px 0 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.review { margin: 0; padding: 32px; background: var(--white); border-radius: var(--radius); box-shadow: 0 6px 20px rgb(0 26 102 / .08); display: flex; flex-direction: column; gap: 16px; }
.stars { color: #ffb400; font-size: 20px; letter-spacing: 2px; }
.review blockquote { margin: 0; flex: 1; font-size: 17px; }
.review figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.review small { color: var(--muted); }
.dots { display: none; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: 200px 0 220px; background: radial-gradient(ellipse 67% 53% at 50% 50%, rgb(0 64 255 / .85), rgb(0 64 255 / .3) 55%, rgb(0 64 255 / 0)), #00113f; text-align: center; }
.cta .wrap { position: relative; z-index: 1; }
.cta .kicker.light { color: var(--white); }
.cta .title { font-size: clamp(34px, 5.6vw, 80px); line-height: 1; }
.cta .sub { margin: 32px auto; font-size: 19px; color: rgb(255 255 255 / .9); max-width: none; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.surf { position: absolute; left: 0; width: 100%; pointer-events: none; }
.surf-top { top: 0; height: 180px; }
.surf-bottom { bottom: 0; height: 190px; }

/* Footer */
.footer { background: var(--abyss); color: rgb(255 255 255 / .8); padding: 80px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid img { width: 260px; height: auto; margin-bottom: 8px; }
.footer p { margin: 0; max-width: 320px; }
.footer h3 { margin: 0 0 6px; color: var(--white); letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--light-blue); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 13px; }

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 560px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--abyss); }
  nav.open { display: flex; }
  nav a { padding: 16px; border-top: 1px solid rgb(255 255 255 / .1); }
  .logo img { width: 200px; }
  .header-inner { min-height: 68px; }

  /* hero: photo sits at the top so the spray shows above the copy panel */
  .hero { min-height: 0; padding: 300px 0 0; flex-direction: column; background: var(--abyss); }
  /* phone crop is pre-flipped and cut from the full-quality original, so no flip or blur here */
  .hero-bg { inset: 0 0 auto; height: 123vw; background: url(../img/hero-mobile.jpg) top center / 100% auto no-repeat; transform: none; filter: none; }
  .hero-bg::after { background: linear-gradient(180deg, rgb(0 17 63 / .15) 0, rgb(0 17 63 / .35) 330px, var(--abyss) 480px); }
  .glass { padding: 24px 20px; border-radius: 20px; }
  .quote-card { border-radius: 20px; padding: 24px 20px; }
  .proof { text-align: center; }
  .proof span { margin: 0 12px; }

  .trust-strip { position: static; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; padding: 32px 20px; font-size: 12.5px; }

  .section { padding: 64px 0; }
  .ba { aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .num { grid-row: span 2; font-size: 40px; }
  .steps h3 { font-size: 22px; margin: 0 0 4px; }
  .steps p { font-size: 14px; }

  /* reviews: one card at a time, swipe for the next */
  .reviews { display: flex; gap: 32px; margin: 28px -16px 0; padding: 8px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 100%; scroll-snap-align: start; }
  .dots { display: flex; justify-content: center; margin-top: 16px; }
  .dots button { width: 30px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
  .dots button::before { content: ""; width: 22px; height: 8px; border-radius: 4px; background: var(--light-blue); transform: scaleX(.36); transition: transform .2s; }
  .dots button[aria-current="true"]::before { transform: none; background: var(--blue); }

  .cta { padding: 120px 0 140px; }
  .surf-top { height: 90px; }
  .surf-bottom { height: 100px; }

  .footer-grid { gap: 28px 16px; }
  .footer-grid > div { gap: 0; }
  .footer-grid > div > a, .footer-grid > div > span { min-height: 44px; display: flex; align-items: center; }
  .footer-contact > a { min-height: 48px; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / .1); color: var(--white); }
  .footer-contact > a::after { content: "›"; font-size: 20px; color: var(--light-blue); }
  .footer-bottom { flex-direction: column; margin-top: 28px; }

}
@media (max-width: 560px) {
  .btn-row .btn { flex: 1 1 100%; }
  .hero h1 { font-size: 40px; }
  .hero h1 br { display: none; }
  .hero h1 span { display: table; }
  .eyebrow-extra { display: none; }
  .trust-strip { padding: 32px 16px; column-gap: 8px; }
  .eyebrow { font-size: 11px; letter-spacing: .03em; padding: 7px 12px; margin-bottom: 18px; }
  .lead { font-size: 16px; margin: 18px 0; }
  .proof { margin-top: 18px; font-size: 14px; }

  .cards { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .card { padding: 16px 14px; }
  .card svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; }
  .card h3 { margin: 10px 0 6px; font-size: 15px; line-height: 1.25; }
  .card p { font-size: 12.5px; line-height: 1.45; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(-n+2) { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
