:root {
  --ink: #111111;
  --muted: #5f6570;
  --line: #dde2e6;
  --paper: #f4f5f2;
  --white: #ffffff;
  --accent: #f0c64a;
  --accent-strong: #8a6b00;
  --warm: #ecefe9;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
  --topbar-h: 84px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topbar-h); }
body { margin: 0; color: var(--ink); background: var(--paper); }
main { padding-top: var(--topbar-h); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px); color: var(--ink); background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08); backdrop-filter: blur(16px); transition: background 180ms ease, box-shadow 180ms ease;
}
.topbar.is-scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 8px 28px rgba(17, 17, 17, 0.08); }
.brand { display: flex; align-items: center; }
.logo-img { width: 104px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { opacity: 0.9; }
.nav a:hover { opacity: 1; }
.menu-toggle { display: none; width: 42px; height: 38px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid rgba(17, 17, 17, 0.2); border-radius: 6px; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: var(--ink); font-weight: 800; cursor: pointer; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); background: #e4bc45; }
.button.secondary { background: transparent; border-color: rgba(17, 17, 17, 0.32); color: var(--ink); }
.button.light { background: var(--ink); color: var(--white); }
.final .button.secondary { border-color: rgba(255, 255, 255, 0.46); color: var(--white); }
.final .button.light { background: var(--accent); color: var(--ink); }

.hero, .page-hero {
  position: relative; overflow: hidden; color: var(--ink);
  background: linear-gradient(90deg, rgba(244, 245, 242, 0.98), rgba(236, 239, 233, 0.92) 58%, rgba(240, 198, 74, 0.08)), var(--paper);
}
.hero { min-height: 88svh; display: grid; align-content: end; }
.page-hero { min-height: 68svh; display: grid; align-content: end; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(244, 245, 242, 0.96), rgba(244, 245, 242, 0.74) 54%, rgba(240, 198, 74, 0.06)), repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.04) 0 1px, transparent 1px 24px);
}
.hero-content { position: relative; z-index: 2; width: min(860px, calc(100% - 36px)); margin: 0 clamp(18px, 7vw, 96px) clamp(48px, 9vh, 86px); animation: liftIn 650ms ease both; }
.eyebrow { margin: 0 0 14px; color: rgba(17, 17, 17, 0.7); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow.accent { color: var(--accent-strong); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(44px, 7.4vw, 88px); line-height: 0.96; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.02; }
h3 { margin-bottom: 10px; font-size: 20px; }
.lead { max-width: 700px; margin-bottom: 26px; color: rgba(17, 17, 17, 0.78); font-size: clamp(18px, 2vw, 23px); line-height: 1.48; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.proof { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--accent); background: #151515; }
.proof div { min-height: 116px; padding: 24px clamp(18px, 3vw, 42px); color: var(--white); border-right: 1px solid rgba(255, 255, 255, 0.16); }
.proof div:last-child { border-right: 0; }
.proof strong { display: block; font-size: 27px; line-height: 1.05; }
.proof span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.45; }

.section { padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px); }
.section.warm { background: var(--warm); }
.section.final { color: var(--white); background: #111111; }
.inner { width: min(1180px, 100%); margin: 0 auto; }
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 7vw, 86px); align-items: start; }
.quote-split { align-items: stretch; }
.section p { color: var(--muted); line-height: 1.7; }
.final p, .final .lead { color: rgba(255, 255, 255, 0.76); }

.service-list, .faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-item, .faq details { display: grid; grid-template-columns: 190px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq details { grid-template-columns: 1fr; }
.service-item span { color: var(--ink); font-weight: 900; }
.service-item p, .faq p { margin-bottom: 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 900; }

.quote-panel, .notice-box { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.quote-panel { position: sticky; top: 94px; }
.quote-panel h2 { font-size: clamp(28px, 3.4vw, 42px); }
.notice-box strong { display: block; margin-bottom: 10px; font-size: 20px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 7px; color: #374151; font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 44px; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; }
textarea { min-height: 110px; resize: vertical; }
.full { grid-column: 1 / -1; }

.quote-output { margin-top: 18px; padding: 18px; border-radius: 8px; border: 1px solid rgba(17, 17, 17, 0.12); background: #fffaf0; color: #111111; line-height: 1.55; }
.quote-output strong { display: block; margin-bottom: 8px; font-size: 20px; }
.quote-output.is-sent { border-color: rgba(16, 130, 60, 0.35); background: #ecfdf3; }
.quote-output.is-sent strong { color: #0f6b35; }
.muted-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.process { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.process-row { counter-increment: step; display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-row::before { content: counter(step, decimal-leading-zero); color: var(--accent-strong); font-size: 24px; font-weight: 900; }

.section-heading { max-width: 860px; margin-bottom: 30px; }
.info-grid, .matrix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-card, .matrix-card { display: block; min-height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.92); transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.matrix-card:hover, .info-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(17, 17, 17, 0.08); background: var(--white); }
.matrix-card small { color: var(--accent-strong); font-weight: 900; text-transform: uppercase; }
.matrix-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.city-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city-cloud span { display: inline-flex; align-items: center; min-height: 38px; padding: 9px 13px; border: 1px solid rgba(17, 17, 17, 0.12); border-radius: 6px; background: rgba(255, 255, 255, 0.78); font-weight: 800; }

.footer { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; padding: 42px clamp(18px, 5vw, 72px); color: rgba(255, 255, 255, 0.78); background: #111111; }
.footer strong { color: var(--white); }
.footer a { display: block; margin-top: 10px; }

@keyframes liftIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .split, .proof, .info-grid, .matrix-grid, .matrix-grid.compact, .footer { grid-template-columns: 1fr; }
  .quote-panel { position: static; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px clamp(18px, 4vw, 56px) 18px; background: var(--white); border-bottom: 1px solid rgba(17, 17, 17, 0.08); box-shadow: 0 14px 24px rgba(17, 17, 17, 0.1); }
  .nav.open a { padding: 13px 0; opacity: 1; border-bottom: 1px solid var(--line); }
  .service-item, .process-row { grid-template-columns: 1fr; gap: 8px; }
  .proof div { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .topbar { padding: 14px 18px; }
  h1 { font-size: clamp(36px, 12vw, 54px); }
  h2 { font-size: clamp(28px, 9vw, 40px); }
}
