:root {
  --ink: #0c2041;
  --muted: #445773;
  --blue: #1459b5;
  --line: #d5e3f1;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #1b75cf; outline-offset: 4px; }
.wrap { width: min(1110px, calc(100% - 56px)); margin-inline: auto; }
.portfolio { background: #0b1b36; color: #dbeaff; font-size: .79rem; }
.portfolio .wrap, .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.portfolio .wrap { padding-block: 8px; }
.header-inner { min-height: 76px; }
.brand img { width: 135px; height: auto; display: block; }
nav { display: flex; gap: clamp(12px, 3vw, 30px); font-weight: 650; font-size: .9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 15px; border: 0; border-radius: 8px; min-height: 44px; font: inherit; font-weight: 750; font-size: .9rem; cursor: pointer; }
.primary { background: var(--blue); color: white; }
.primary:hover { background: #0d4697; text-decoration: none; }
.secondary { color: var(--blue); font-weight: 750; }
.hero { background: linear-gradient(125deg, #edf8ff, #deedff); border-block: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: 36px; padding-block: clamp(35px, 6vw, 74px); }
.kicker { color: var(--blue); margin: 0 0 10px; font: 750 .74rem/1.45 ui-monospace, monospace; letter-spacing: .09em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.7rem); letter-spacing: -.072em; line-height: .99; margin-bottom: 16px; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); letter-spacing: -.05em; line-height: 1.1; margin-bottom: 13px; }
h3 { font-size: 1.26rem; margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.6; }
.hero-copy > p:not(.kicker) { max-width: 490px; margin-bottom: 19px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 20px; }
.hero-art { margin: 0; border-radius: 19px; overflow: hidden; background: radial-gradient(ellipse at center, #163e7d, #0c224a); color: #b8dfff; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero-art figcaption { border-top: 1px solid #335889; padding: 11px 16px; font: 650 .68rem ui-monospace, monospace; letter-spacing: .06em; }
.section { padding-block: 41px; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 19px; }
.services article { padding: 18px; background: #f7fbff; border: 1px solid var(--line); border-radius: 12px; }
.number { display: inline-block; margin-bottom: 11px; color: var(--blue); font: 750 .78rem ui-monospace, monospace; }
.services a { color: var(--blue); font-weight: 750; font-size: .88rem; }
.quote-section { background: #edf6ff; border-block: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; padding-block: 40px; }
form { display: grid; gap: 9px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 12px; }
form .button { justify-self: start; }
label { font-weight: 700; font-size: .86rem; }
label span { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #a6bfd8; border-radius: 6px; background: #fbfdff; color: var(--ink); font: inherit; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row div { display: grid; gap: 6px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-block: 38px; }
.info-grid p { margin-bottom: 10px; }
footer { background: #0b1b36; color: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-block: 24px; }
.footer-inner h2 { font-size: 1.35rem; margin-bottom: 5px; }
.footer-inner p { color: #c4d6f0; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: #d9eaff; font-size: .87rem; }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-wrap: wrap; gap: 7px; padding-block: 7px; }
  .header-inner nav { width: 100%; order: 3; justify-content: space-between; padding-block: 6px; }
  .hero-inner, .quote-grid, .info-grid, .services { grid-template-columns: 1fr; }
  .hero-inner { gap: 23px; }
  .hero-art { max-width: 500px; }
  .section, .quote-grid, .info-grid { padding-block: 28px; }
}
@media (max-width: 370px) { .form-row { grid-template-columns: 1fr; } }
