:root {
  --ink: #12233f;
  --ink-deep: #0a1424;
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: #cbd4df;
  --blue: #1956d1;
  --blue-light: #dce8ff;
  --muted: #526176;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; font-size: 1.16rem; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; background: var(--ink); color: var(--white); font-size: .78rem; letter-spacing: .04em; }
nav { display: flex; gap: 1.75rem; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--blue); }
.header-call { text-decoration: none; color: var(--blue); font-weight: 800; }

.hero {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 660px;
  margin: 0 auto;
  padding: 6.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}
.eyebrow { margin: 0 0 1rem; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .82rem; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; color: var(--ink); font-size: clamp(3.1rem, 6.2vw, 5.8rem); line-height: .97; letter-spacing: -.065em; max-width: 850px; }
h1 span { color: var(--blue); }
.hero-text { max-width: 720px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .75rem 1.2rem; border: 1px solid var(--ink); text-decoration: none; font-weight: 800; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue); border-color: var(--blue); }
.button-secondary { color: var(--ink); background: var(--white); }
.button-secondary:hover, .button-secondary:focus-visible { color: var(--blue); border-color: var(--blue); }

.hero-panel { background: var(--ink); color: var(--white); padding: 2rem; box-shadow: 18px 18px 0 var(--blue-light); }
.panel-label { margin: 0 0 2rem; color: #afc7f5; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero-panel ol { list-style: none; padding: 0; margin: 0; }
.hero-panel li { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; align-items: center; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero-panel li span { color: #afc7f5; font-size: .78rem; }
.hero-panel li strong { font-size: 1.05rem; line-height: 1.35; }
.panel-foot { margin: 1.5rem 0 0; padding: .9rem 1rem; background: var(--blue); font-weight: 750; line-height: 1.4; }

.proof-strip { background: var(--paper); border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-strip p { margin: 0; padding: 1.4rem clamp(1.2rem, 4vw, 4rem); display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.proof-strip p:last-child { border-right: 0; }
.proof-strip strong { color: var(--ink); }
.proof-strip span { color: var(--muted); font-size: .9rem; }

.section { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 7rem 0; }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem 4rem; align-items: end; margin-bottom: 3.5rem; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -.6rem; }
h2 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 250px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article > span { color: var(--blue); font-weight: 800; font-size: .82rem; }
h3 { margin: 2.3rem 0 .7rem; color: var(--ink); font-size: 1.5rem; line-height: 1.2; }
.service-grid p { max-width: 460px; margin: 0; color: var(--muted); }

.process { width: 100%; max-width: none; padding-inline: max(1rem, calc((100% - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.process .eyebrow { color: #8eb3ff; }
.process h2 { color: var(--white); max-width: 830px; }
.process .section-heading { grid-template-columns: 1fr; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.24); }
.process-list li { padding: 2rem 1.2rem 1rem 0; }
.process-list li > span { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border: 1px solid #8eb3ff; color: #8eb3ff; font-weight: 800; }
.process-list h3 { margin: 2rem 0 .65rem; color: var(--white); font-size: 1.2rem; }
.process-list p { margin: 0; color: #bdc8d8; font-size: .94rem; }

.contact { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; padding: 7rem 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact h2 { max-width: 700px; }
.contact > div:first-child > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.1rem; }
.contact-card { border: 1px solid var(--line); border-top: 5px solid var(--blue); padding: 2rem; }
.contact-card p { margin: 0; }
.contact-name { color: var(--ink); font-size: 1.4rem; font-weight: 850; }
address { margin: 1.5rem 0; color: var(--muted); font-style: normal; }
.contact-phone { display: inline-block; color: var(--blue); font-size: 1.55rem; font-weight: 850; text-decoration: none; }
.contact-note { margin-top: .7rem !important; color: var(--muted); font-size: .86rem; }

footer { background: var(--paper); border-top: 1px solid var(--line); padding: 3rem max(1rem, calc((100% - var(--max)) / 2)); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 2rem; }
.footer-top p { margin: 0; color: var(--muted); text-align: right; }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
details { border: 1px solid var(--line); background: var(--white); }
summary { cursor: pointer; padding: 1rem; color: var(--ink); font-weight: 800; }
details > div { padding: 0 1rem 1rem; color: var(--muted); }
details a { color: var(--blue); }
.legal-warning { padding: .8rem; border-left: 3px solid #d97706; background: #fff7e8; color: #6b3b00; }
.copyright { margin: 2rem 0 0; color: var(--muted); font-size: .8rem; }

@media (max-width: 850px) {
  .site-header { min-height: 72px; }
  nav { display: none; }
  .header-call { margin-left: auto; font-size: .9rem; }
  .hero { min-height: auto; padding: 4.5rem 0 5rem; grid-template-columns: 1fr; gap: 3rem; }
  .hero-panel { box-shadow: 10px 10px 0 var(--blue-light); }
  .section-heading, .contact { grid-template-columns: 1fr; }
  .section-heading { gap: 1.3rem; }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { gap: .7rem; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 34px; }
  .header-call { font-size: .82rem; }
  h1 { font-size: clamp(2.85rem, 14vw, 4rem); }
  .hero { padding-top: 3.5rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip p { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip p:last-child { border-bottom: 0; }
  .section { padding-block: 5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 220px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
  .process-list h3 { margin-top: 0; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-top p { text-align: left; }
  .legal-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
