:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --navy: #153147;
  --navy-deep: #0e2233;
  --charcoal: #454440;
  --yellow: #F5B52D;
  --yellow-hover: #e7a716;

  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-text: #1b2530;
  --color-muted: #5b6168;
  --color-border: rgba(21, 49, 71, .12);
  --color-primary: var(--navy);

  --font-display: 'Cabinet Grotesk', 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 34, 51, .06), 0 2px 8px rgba(14, 34, 51, .05);
  --shadow-md: 0 8px 30px rgba(14, 34, 51, .12);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --transition-interactive: 180ms var(--ease);

  --wrap: 1180px;
  --header-h: 76px;
}

html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { background: var(--color-bg); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--yellow); color: var(--navy); padding: .5rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); letter-spacing: -0.015em; }
h1 { font-size: var(--text-3xl); font-weight: 800; line-height: 1.02; }
h2 { font-size: var(--text-2xl); font-weight: 800; line-height: 1.06; }
h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

a { color: inherit; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.15rem; border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn-lg { min-height: 54px; padding: .85rem 1.5rem; font-size: var(--text-base); }
.btn-block { width: 100%; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-ghost { color: var(--navy); padding-inline: .75rem; }
.btn-ghost:hover { background: rgba(21,49,71,.07); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: var(--space-8); height: var(--header-h); }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: var(--space-6); margin-left: auto; }
.nav a { font-size: var(--text-sm); font-weight: 500; color: var(--charcoal); text-decoration: none; padding: .5rem 0; }
.nav a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.header-cta { display: flex; gap: var(--space-2); }

/* Hero */
.hero { padding: clamp(var(--space-10), 6vw, var(--space-20)) 0 clamp(var(--space-12), 7vw, var(--space-24)); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(245,181,45,.10) 22px 24px);
  mask-image: linear-gradient(to left, #000 20%, transparent 90%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: rgba(245,181,45,.22); padding: .4rem .8rem; border-radius: 999px; margin-bottom: var(--space-6);
}
.bolt { width: 10px; height: 14px; background: var(--navy); clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%); }
.hero h1 { max-width: 13ch; }
.lede { font-size: var(--text-base); color: var(--color-muted); margin-top: var(--space-6); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.text-link { display: inline-block; margin-top: var(--space-5); font-size: var(--text-sm); font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 4px; }

.hero-photo { position: relative; }
.hero-photo picture { display: block; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-photo::after {
  content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px;
  border: 3px solid var(--yellow); border-radius: var(--radius-lg);
}
.hero-photo figcaption {
  position: absolute; left: -28px; top: 28px; max-width: 280px;
  background: var(--navy); color: #fff; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); font-size: var(--text-sm); line-height: 1.4;
}
.hero-photo figcaption strong { display: block; color: var(--yellow); font-size: var(--text-base); margin-bottom: 2px; }
.hero-photo figcaption span { color: rgba(255,255,255,.82); }

/* Trust */
.trust { background: var(--navy); color: #fff; border-top: 4px solid var(--yellow); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: var(--space-6) var(--space-4); border-left: 1px solid rgba(255,255,255,.12); display: grid; gap: 2px; }
.trust-grid > div:first-child { border-left: 0; padding-left: 0; }
.trust strong { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800; color: var(--yellow); letter-spacing: -0.01em; }
.trust span { font-size: var(--text-sm); color: rgba(255,255,255,.78); }

/* Sections */
.section { padding: clamp(var(--space-16), 9vw, var(--space-24)) 0; }
.section-head { max-width: 680px; margin-bottom: var(--space-12); }
.section-head > p:last-child:not(.kicker) { color: var(--color-muted); margin-top: var(--space-4); }
.kicker {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--charcoal);
  margin-bottom: var(--space-3); display: flex; align-items: center; gap: .6rem;
}
.kicker::before { content: ""; width: 24px; height: 3px; background: var(--yellow); }
.kicker-light { color: rgba(255,255,255,.75); }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.service { grid-column: span 2; }
.service {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2);
}
.service p { font-size: var(--text-sm); color: var(--color-muted); }
.svc-num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-sm); color: var(--yellow-hover); letter-spacing: .04em; }
.service-feature { grid-column: span 3; background: var(--navy); border-color: var(--navy); padding: var(--space-8); }
.service-feature h3 { color: #fff; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; }
.service-feature p { color: rgba(255,255,255,.8); font-size: var(--text-base); }
.service-feature .svc-num { color: var(--yellow); }

/* About */
.about { background: var(--navy-deep); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.about h2 { color: #fff; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.about-mark img { width: 100%; max-width: 380px; opacity: .95; }
.about-copy p { margin-top: var(--space-4); }
.about-copy h2 { margin-bottom: var(--space-2); }
.about-sign { font-weight: 500; color: var(--yellow); border-left: 3px solid var(--yellow); padding-left: var(--space-4); margin-top: var(--space-6) !important; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--navy); padding-top: var(--space-6); position: relative; }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); line-height: 1;
  color: var(--yellow); display: block; margin-bottom: var(--space-4);
  -webkit-text-stroke: 1.5px var(--navy);
}
.steps p { color: var(--color-muted); margin-top: var(--space-2); font-size: var(--text-sm); }

/* Area */
.area { background: var(--color-surface); border-block: 1px solid var(--color-border); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.area-grid > div p { color: var(--color-muted); margin: var(--space-4) 0 var(--space-8); }
.cities { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cities li {
  font-size: var(--text-sm); font-weight: 500; color: var(--navy);
  background: var(--color-bg); border: 1px solid var(--color-border); padding: .5rem .9rem; border-radius: 999px;
}
.cities li.home { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.cities li.home::before { content: "● "; color: var(--yellow); }
.cities li.more { background: transparent; border-style: dashed; color: var(--color-muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq details:first-child { border-top: 1px solid var(--color-border); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-5) var(--space-10) var(--space-5) 0; position: relative;
  font-weight: 700; font-size: var(--text-base); color: var(--navy); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: var(--charcoal); }
.faq details p { color: var(--color-muted); padding: 0 var(--space-8) var(--space-6) 0; font-size: var(--text-sm); }
.faq details p a { color: var(--navy); font-weight: 700; }

/* Quote */
.quote { background: var(--navy); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.quote::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 45%;
  background: repeating-linear-gradient(135deg, transparent 0 22px, rgba(245,181,45,.07) 22px 24px);
  pointer-events: none;
}
.quote h2 { color: #fff; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; position: relative; }
.quote-intro > p { margin-top: var(--space-4); }
.quote-direct { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.quote-note { margin-top: var(--space-8) !important; font-size: var(--text-xs); color: rgba(255,255,255,.65); border-left: 3px solid var(--yellow); padding-left: var(--space-4); }

.quote-form {
  background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-10)); box-shadow: 0 24px 60px rgba(0,0,0,.25);
  display: grid; gap: var(--space-5);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: grid; gap: var(--space-2); border: 0; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 700; color: var(--navy); }
.opt { font-weight: 400; color: var(--color-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; font-size: 16px;
  background: #fbfaf7; border: 1.5px solid rgba(21,49,71,.2); border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245,181,45,.45); background: #fff; }
.field .invalid, .field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.contact-pref { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); align-items: center; }
.contact-pref legend { width: 100%; margin-bottom: var(--space-2); }
.contact-pref label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--color-text); min-height: 44px; cursor: pointer; }
.contact-pref input { width: 18px; height: 18px; min-height: 0; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: var(--text-sm); font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #1f6b3a; }
.form-status.err { color: #b3261e; }
.quote-form button[disabled] { opacity: .7; cursor: progress; }
.form-success { text-align: center; padding: var(--space-10) var(--space-4); display: grid; gap: var(--space-3); justify-items: center; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.form-success .check svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 3; }
.form-success h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; color: var(--navy); }
.form-success p { color: var(--color-muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: var(--space-12) 0; font-size: var(--text-sm); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-8); align-items: center; }
.site-footer img { width: 110px; height: auto; }
.site-footer a { color: var(--yellow); font-weight: 700; font-size: var(--text-lg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { text-align: right; font-size: var(--text-xs); }

/* Mobile bar */
.mobile-bar { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service, .service-feature { grid-column: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .area-grid, .faq-wrap, .quote-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-photo { max-width: 460px; margin-inline: auto; width: calc(100% - 24px); }
  .hero-photo { margin-bottom: var(--space-8); }
  .hero-photo figcaption { top: auto; left: 12px; right: 12px; bottom: -30px; max-width: none; padding: var(--space-2) var(--space-4); font-size: var(--text-xs); text-align: center; }
  .hero-photo figcaption strong { font-size: var(--text-sm); margin-bottom: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-grid > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .about-mark { order: 2; }
  .about-mark img { max-width: 220px; }
  .steps { grid-template-columns: 1fr; gap: var(--space-10); }
  .faq-wrap .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-legal { text-align: left; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { height: 46px; }
  .header-cta .btn-ghost { display: none; }
  .services { grid-template-columns: 1fr; }
  .service-feature { grid-column: auto; padding: var(--space-6); }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quote-direct .btn { flex: 1 1 auto; }
  body { padding-bottom: 72px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--navy); border-top: 3px solid var(--yellow);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px;
    color: #fff; text-decoration: none; font-weight: 700; font-size: var(--text-sm); border-radius: var(--radius-sm);
    background: rgba(255,255,255,.08);
  }
  .mobile-bar a:active { background: rgba(255,255,255,.18); }
  .mobile-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar .mb-quote { background: var(--yellow); color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
