/* ===== Design tokens ===== */
:root {
  --navy: #12283F;
  --blue: #1F6FB8;
  --blue-light: #6FB6E8;
  --slate: #5A6B7A;
  --mist: #EAF3FA;
  --concrete: #F5F3EF;
  --white: #FFFFFF;
  --line: #DCE3E8;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
}
h1, h2, h3 {
  font-family: 'Archivo', -apple-system, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 62ch; color: var(--navy); }
a { color: var(--blue); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ===== Nav ===== */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 20;
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; display: block; }
.brand span {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--navy); letter-spacing: -0.01em;
}
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a {
  color: var(--navy); font-weight: 500; font-size: 0.96rem;
}
nav.links a.active { color: var(--blue); }
.call-btn {
  background: var(--blue); color: var(--white); padding: 10px 20px;
  border-radius: 3px; font-weight: 600; font-size: 0.94rem;
}
.nav-toggle-btn {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-panel {
  display: none;
}
.mobile-panel.open {
  display: block;
  border-top: 1px solid var(--line);
  padding: 8px 28px 20px;
}
.mobile-panel a {
  display: block; padding: 12px 0; color: var(--navy); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a.call-btn {
  display: inline-block; margin-top: 14px; border: none; padding: 12px 22px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero-bands {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, transparent 46%, rgba(111,182,232,0.14) 46%, rgba(111,182,232,0.14) 54%, transparent 54%),
    linear-gradient(115deg, transparent 0%, transparent 66%, rgba(31,111,184,0.22) 66%, rgba(31,111,184,0.22) 76%, transparent 76%),
    linear-gradient(115deg, #0B1B2C 0%, #12283F 45%, #1F6FB8 130%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; padding: 88px 28px 96px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.hero h1 { color: var(--white); }
.hero p.lead { color: #C9DCEC; font-size: 1.12rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.btn-primary {
  background: var(--white); color: var(--navy); padding: 13px 26px;
  border-radius: 3px; font-weight: 700; font-size: 0.98rem; display: inline-block;
}
.btn-secondary {
  border: 1.5px solid rgba(255,255,255,0.55); color: var(--white);
  padding: 12px 25px; border-radius: 3px; font-weight: 600; font-size: 0.98rem; display: inline-block;
}
.trust-line {
  margin-top: 30px; font-size: 0.9rem; color: #A9C3D8;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.trust-line .dot { opacity: 0.5; }
.hero-mark { display: flex; justify-content: center; align-items: center; }
.hero-mark svg { width: 100%; max-width: 240px; }

/* ===== Sections ===== */
section { padding: 76px 0; }
section.tint { background: var(--concrete); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .kicker { color: var(--blue); font-weight: 600; font-size: 0.94rem; margin-bottom: 8px; display: block; }

/* Service rows (not cards — bordered spec-sheet style) */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.service-row h3 { margin-bottom: 6px; }
.service-row .num { color: var(--blue); font-weight: 700; font-family: 'Archivo', sans-serif; font-size: 1.1rem; }

/* Process (numbered — genuinely sequential) */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-step { border-left: 3px solid var(--blue); padding-left: 18px; }
.process-step .step-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--blue-light); display: block; margin-bottom: 6px; }

/* Why list */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item .mark { color: var(--blue); font-weight: 800; font-size: 1.2rem; line-height: 1.4; }

/* CTA band */
.cta-band {
  background: var(--blue); color: var(--white); text-align: left;
}
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: #DCEBF7; margin: 0; }
.cta-band .btn-primary { background: var(--white); color: var(--blue); }

/* Footer */
footer.site {
  background: var(--navy); color: #B9C9D6; padding: 52px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--white); font-family: 'Archivo', sans-serif; font-size: 0.95rem; margin-bottom: 12px; }
.footer-grid a { color: #B9C9D6; display: block; margin-bottom: 8px; font-size: 0.94rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 28px; }
.footer-brand span { color: var(--white); font-family: 'Archivo', sans-serif; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.85rem; color: #8CA0AF; }

/* Page header (non-home pages) */
.page-header { background: var(--navy); color: var(--white); padding: 56px 0; }
.page-header h1 { color: var(--white); }
.page-header p { color: #C9DCEC; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-detail { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-detail .label { color: var(--slate); font-size: 0.86rem; min-width: 90px; }
.contact-detail a, .contact-detail span.val { font-weight: 600; color: var(--navy); }
form.contact-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 3px;
  font-family: inherit; font-size: 0.96rem; margin-bottom: 18px; color: var(--navy);
}
form.contact-form textarea { min-height: 110px; resize: vertical; }
form.contact-form button {
  background: var(--blue); color: var(--white); border: none; padding: 13px 28px;
  border-radius: 3px; font-weight: 700; font-size: 0.98rem; cursor: pointer;
}

/* About */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.credential-list { list-style: none; margin: 0; padding: 0; }
.credential-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px;
}
.credential-list .mark { color: var(--blue); font-weight: 800; }
.area-list { columns: 2; column-gap: 40px; margin: 0; padding-left: 20px; }
.area-list li { margin-bottom: 8px; }

/* Responsive */
@media (max-width: 860px) {
  nav.links { display: none; }
  .nav-toggle-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-mark { order: -1; margin-bottom: 12px; }
  .hero-mark svg { max-width: 150px; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid, .about-story { grid-template-columns: 1fr; }
  .area-list { columns: 1; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}

.service-row .sub { font-weight: 600; color: var(--navy); margin-bottom: 4px; }

/* quick form */
.cta-band .wrap { align-items: flex-start; gap: 40px; }
.cta-copy { flex: 1 1 280px; }
.cta-alt { margin-top: 20px !important; font-size: 0.95rem; }
.cta-alt a { color: var(--white); text-decoration: underline; }
.quick-form { flex: 1 1 340px; max-width: 460px; background: var(--white); border-radius: 8px; padding: 22px; }
.quick-form label { display:block; font-size:0.88rem; font-weight:600; margin-bottom:6px; color: var(--navy); }
.quick-form input, .quick-form select { width:100%; padding:11px 12px; margin-bottom:14px; border:1px solid #C5CED8; border-radius:6px; font: inherit; }
.quick-form button { width:100%; padding:13px; border:0; border-radius:6px; background: var(--blue); color:#fff; font: inherit; font-weight:600; cursor:pointer; }
.quick-form .hp { display:none; }
@media (max-width: 760px) { .cta-copy, .quick-form { flex: none; width: 100%; max-width: none; } }

/* about: standards block */
.standards { max-width: 760px; }
.stand-head { margin: 0 0 22px; line-height: 1.02; letter-spacing: -0.02em; }
.stand-head .muted { display: block; font-size: clamp(2rem, 5.2vw, 3.1rem); font-weight: 700; color: #3E5068; }
.stand-head .strong { display: block; font-size: clamp(2.6rem, 7.4vw, 4.4rem); font-weight: 800; color: var(--navy); }
.stand-lead { font-size: 1.2rem; margin: 0 0 4px; max-width: 40ch; }
.stand-lead.strong-line { font-weight: 700; margin-bottom: 22px; }
.stand-label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #3E5068; margin-bottom: 14px; }
.stand-list { list-style: none; padding: 0; margin: 0 0 26px; }
.stand-list li { display: flex; gap: 14px; align-items: baseline; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 1.2rem; color: var(--navy); padding: 7px 0; }
.stand-list .mark { color: var(--navy); font-weight: 800; }
.stand-foot { color: var(--slate); font-size: 1rem; }

.owner-note { margin: 0 0 32px; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); max-width: 46ch; }
.owner-note p { font-size: 1.1rem; font-style: italic; margin: 0 0 6px; color: var(--navy); }
.owner-note cite { font-style: normal; font-weight: 700; color: var(--slate); font-size: 0.98rem; }
