: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-hero: clamp(3rem, 1rem + 6vw, 6.5rem);
  --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; --space-32: 8rem;

  --red: #d62f2f;
  --red-hover: #b82424;
  --blue: #1e6fa8;
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #eceae4;
  --ink: #12202e;
  --muted: #5a6572;
  --line: #dcd9d1;
  --navy: #0f1d2b;
  --on-dark: #f4f2ec;
  --on-dark-muted: #b9c2cc;
  --radius: 6px;
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --section: clamp(var(--space-16), 9vw, var(--space-32));
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0d151e;
  --surface: #142130;
  --surface-2: #1a2a3b;
  --ink: #edf0f3;
  --muted: #9aa7b4;
  --line: #24384c;
  --navy: #08111a;
  --blue: #3d8fca;
  --red: #e04545;
  --red-hover: #c93737;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; transition: background .3s, color .3s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 2 * clamp(var(--space-5), 4vw, var(--space-12))); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: var(--space-2) var(--space-4); z-index: 100; }
.skip:focus { left: var(--space-4); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: 700 var(--text-sm)/1 var(--font-body); text-decoration: none; border: 0; cursor: pointer;
  padding: var(--space-4) var(--space-6); border-radius: var(--radius);
  transition: background .2s, transform .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-light { background: #fff; color: #0f1d2b; }
.btn-light:hover { background: #e9edf1; }
.btn-sm { padding: var(--space-3) var(--space-4); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: 72px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.mark { width: 30px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; color: var(--red); }
.brand-name b { color: var(--ink); font-weight: 700; }
.brand-sub { font-size: .75rem; color: var(--blue); font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; gap: var(--space-6); }
.nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer;
}
.theme-toggle:hover { background: var(--surface-2); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,32,.88) 0%, rgba(10,20,32,.6) 45%, rgba(10,20,32,.05) 80%), linear-gradient(0deg, rgba(10,20,32,.6), transparent 45%); }
.hero-inner { position: relative; padding-block: var(--space-24) clamp(var(--space-16), 8vw, var(--space-24)); }
.hero h1 { font-size: var(--text-hero); font-weight: 800; max-width: 11ch; line-height: .95; }
.hero-lede { margin-top: var(--space-6); max-width: 46ch; font-size: var(--text-lg); line-height: 1.5; color: #dfe5ea; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-3); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.eyebrow-light { color: #ff8a80; }

/* Trust */
.trust { background: var(--navy); color: var(--on-dark); border-top: 3px solid var(--red); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: var(--space-8) var(--space-6); border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: var(--space-1); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-k { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
.trust-v { font-size: var(--text-xs); color: var(--on-dark-muted); }

/* Sections */
.section { padding-block: var(--section); }
.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head h2, .about-copy h2, .area h2 { font-size: var(--text-2xl); font-weight: 800; }
.section-lede { margin-top: var(--space-4); color: var(--muted); max-width: 56ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); transition: border-color .2s, transform .2s; }
.svc:hover { border-color: var(--blue); transform: translateY(-2px); }
.svc h3 { font-size: var(--text-lg); font-weight: 700; }
.svc p { color: var(--muted); font-size: var(--text-sm); }
.svc-num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); color: var(--blue); letter-spacing: .1em; }
.svc-feature { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; }
.svc-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; flex: 1; min-height: 0; }
.svc-feature .svc-body { padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.svc-feature h3 { font-size: var(--text-xl); }
.svc-feature p { font-size: var(--text-base); max-width: 52ch; }

/* About */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.about-fig { margin: 0; border-radius: var(--radius); overflow: hidden; }
.about-fig img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-copy h2 { margin-bottom: var(--space-6); }
.about-copy > p { color: var(--muted); }
.pull { margin: var(--space-8) 0; padding-left: var(--space-6); border-left: 3px solid var(--red); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; line-height: 1.35; }
.values { list-style: none; padding: 0; margin: 0 0 var(--space-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-6); font-size: var(--text-sm); }
.values li { display: flex; align-items: center; gap: var(--space-2); }
.values li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.sig { display: flex; flex-direction: column; font-size: var(--text-sm); }
.sig span { color: var(--muted); }

/* Commercial */
.commercial { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.commercial > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.commercial-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10,20,32,.92) 0%, rgba(10,20,32,.75) 50%, rgba(10,20,32,.2) 100%); }
.commercial-inner { position: relative; padding-block: var(--section); display: grid; grid-template-columns: 1fr minmax(0, 520px); justify-items: start; }
.commercial-inner > * { grid-column: 2; }
.commercial h2 { font-size: var(--text-2xl); font-weight: 800; }
.commercial-inner > p:not(.eyebrow) { margin-top: var(--space-5); color: #d7dee5; }
.chips { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips li { font-size: var(--text-xs); font-weight: 500; padding: var(--space-1) var(--space-3); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: var(--space-5); }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); color: var(--red); }
.steps h3 { font-size: var(--text-lg); margin: var(--space-2) 0; }
.steps p { color: var(--muted); font-size: var(--text-sm); }

/* Area */
.area { background: var(--surface-2); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.area .btn { margin-top: var(--space-8); }
.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.cities li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); font-weight: 700; font-size: var(--text-sm); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-12); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-5) 0; font-weight: 700; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-5); color: var(--muted); max-width: 62ch; }

/* Contact */
.contact { background: var(--navy); color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; }
.contact h2 { font-size: var(--text-2xl); font-weight: 800; }
.contact-copy > p:not(.eyebrow) { margin-top: var(--space-4); color: var(--on-dark-muted); max-width: 44ch; }
.contact-phone { display: inline-block; margin-top: var(--space-8); font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); text-decoration: none; color: #fff; border-bottom: 3px solid var(--red); }
.contact-meta { display: flex; gap: var(--space-10); margin: var(--space-8) 0 0; }
.contact-meta dt { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-muted); }
.contact-meta dd { margin: 0; font-weight: 700; }
.form { background: #fff; color: #12202e; border-radius: var(--radius); padding: clamp(var(--space-6), 4vw, var(--space-10)); display: flex; flex-direction: column; gap: var(--space-4); }
[data-theme="dark"] .form { background: var(--surface); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: var(--space-1); flex: 1; }
.field-row { display: flex; gap: var(--space-4); }
.field label { font-size: var(--text-xs); font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--text-sm); padding: var(--space-3); border-radius: var(--radius);
  border: 1px solid #cfd5db; background: #fafbfc; color: inherit; width: 100%;
}
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: var(--surface-2); border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.form-note { font-size: var(--text-xs); color: #5a6572; min-height: 1.2em; }
[data-theme="dark"] .form-note { color: var(--muted); }

/* Footer */
.footer { background: var(--navy); color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,.08); font-size: var(--text-xs); }
.footer-inner { display: flex; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-10); flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: var(--text-base); color: #fff; margin-bottom: var(--space-1); }
.footer-right { text-align: right; }
.footer-right a { color: #fff; font-weight: 700; font-size: var(--text-sm); text-decoration: none; }
.mobile-call { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc-feature { grid-column: span 2; grid-row: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item { border-top: 1px solid rgba(255,255,255,.1); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 760px) {
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: var(--space-3); }
  .hero { min-height: 82vh; }
  .hero-img { object-position: 70% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,20,32,.92) 10%, rgba(10,20,32,.55) 60%, rgba(10,20,32,.25) 100%); }
  .services, .about-grid, .area-grid, .faq-wrap, .contact-grid { grid-template-columns: 1fr; }
  .svc-feature { grid-column: auto; }
  .about-fig img { aspect-ratio: 4/3; }
  .steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .cities { grid-template-columns: 1fr 1fr; }
  .field-row { flex-direction: column; }
  .commercial-shade { background: rgba(10,20,32,.82); }
  .commercial-inner { grid-template-columns: 1fr; }
  .commercial-inner > * { grid-column: 1; }
  .footer-right { text-align: left; }
  .faq-wrap { gap: 0; }
  body { padding-bottom: 64px; }
  .mobile-call {
    display: flex; position: fixed; inset: auto 0 0 0; z-index: 60; height: 56px; align-items: center; justify-content: center;
    background: var(--red); color: #fff; font-weight: 700; text-decoration: none; font-size: var(--text-sm);
  }
}
@media (max-width: 400px) {
  .brand-sub { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; padding-left: 0; border-top: 1px solid rgba(255,255,255,.1) !important; padding-block: var(--space-5); }
  .trust-item:first-child { border-top: 0 !important; }
}
