:root {
  --blue: #003087;
  --blue-d: #00215e;
  --navy: #020b1d;
  --ink: #0f1729;
  --text: #2b3445;
  --muted: #5b6577;
  --line: #e2e8f0;
  --bg-alt: #f3f6fb;
  --red: #c0392b;
  --red-d: #a32f23;
  --cyan: #38d3f5;
  --radius: 14px;
  --wrap: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* icons */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.nav-call { margin-left: 10px; min-height: 44px; padding: 0 18px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.bars { display: grid; gap: 5px; }
.bars span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.nav-mobile { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 20px; box-shadow: 0 12px 24px rgba(2,11,29,.08); }
.nav-mobile a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
.nav-mobile a[aria-current="page"] { box-shadow: none; }
.nav-mobile .nav-call { margin: 14px 0 0; }
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .header-row { min-height: 70px; }
  .brand img { height: 50px; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero-bg, .dark-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,11,29,.94) 0%, rgba(2,11,29,.8) 45%, rgba(2,11,29,.35) 100%); }
.hero-inner { padding: 110px 22px 120px; max-width: var(--wrap); }
.hero h1 { color: #fff; max-width: 720px; }
.hero .lead { font-size: 1.2rem; color: #d6e2f3; max-width: 620px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; color: var(--cyan); margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-page .hero-inner { padding: 80px 22px 84px; }
.hero-page h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hero-plain { background: linear-gradient(120deg, var(--navy), var(--blue)); }
.hero-plain::after { display: none; }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(2,11,29,.86), rgba(2,11,29,.9)); }
  .hero-inner { padding: 72px 22px 80px; }
  .hero-page .hero-inner { padding: 56px 22px 60px; }
}

/* sections */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,48,135,.10); border-color: #c9d6ee; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #0a59d1); color: #fff; margin-bottom: 18px; }
.card-icon .icon { width: 26px; height: 26px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.cards + .center { margin-top: 32px; }

/* split */
.split { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center; }
.portrait { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(2,11,29,.14); aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split-media { max-width: 420px; } }

/* dark band */
.section-dark { background: var(--navy); color: #d6e2f3; overflow: hidden; isolation: isolate; }
.section-dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,11,29,.55), rgba(2,11,29,.92) 55%); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #b9c8de; }
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-item { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.why-item p { margin: 0; color: #c7d4e6; }
.icon-check { color: var(--cyan); width: 28px; height: 28px; margin-top: 2px; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.02rem; }
.icon-quote { color: var(--red); width: 30px; height: 30px; margin-bottom: 10px; }
.quote figcaption strong { display: block; color: var(--ink); }
.quote figcaption span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* services page */
.services-list { display: grid; gap: 22px; max-width: 920px; }
.service { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.service h2 { font-size: 1.5rem; margin-bottom: .25em; }
.service-sub { color: var(--blue); font-weight: 600; }
.service p:last-child { margin: 0; }
.service-icon { display: grid; justify-items: center; align-content: start; gap: 8px; color: var(--blue); }
.service-icon .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--bg-alt); box-sizing: content-box; }
.service-icon span { font-weight: 800; color: var(--red); letter-spacing: .08em; }
@media (max-width: 640px) { .service { grid-template-columns: 1fr; gap: 10px; padding: 24px; } .service-icon { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; } }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--blue-d), var(--blue)); color: #dbe6f6; }
.cta-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 72px 22px; align-items: center; }
.cta h2 { color: #fff; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); overflow-wrap: anywhere; }
.contact-list li .icon { color: var(--cyan); }
.contact-list span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.contact-list-light li { background: var(--bg-alt); border-color: var(--line); color: var(--text); }
.contact-list-light li .icon { color: var(--blue); }
.contact-list-light a { color: var(--blue); }
.contact-list-light a:hover { color: var(--blue-d); }
@media (max-width: 860px) { .cta-row { grid-template-columns: 1fr; gap: 28px; padding: 56px 22px; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 16px 34px rgba(2,11,29,.06); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.form label { font-weight: 600; color: var(--ink); margin-top: 10px; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c7cfdb; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(0,48,135,.15); }
.form button { margin-top: 18px; justify-self: start; }
.form fieldset:disabled { opacity: .55; }
.form-note { padding: 14px 16px; border-radius: 10px; background: #fff7e6; border: 1px solid #f3d38a; color: #6b4b00; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

.h1-dark { color: var(--ink); }

/* footer */
.site-footer { background: var(--navy); color: #9fb0c8; font-size: .95rem; }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 32px; padding: 36px 22px; align-items: center; }
.footer-row p { margin: 0; }
.footer-name { color: #fff; font-weight: 700; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { color: #c9d6ea; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-small { grid-column: 1 / -1; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; margin-top: 8px !important; }
@media (max-width: 640px) { .footer-row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* grid children may shrink below their content (long email addresses) */
.contact-grid > *, .cta-row > *, .split > *, .cards > *, .quotes > *, .why > * { min-width: 0; }
.contact-list a[href^="mailto"] { word-break: break-word; overflow-wrap: anywhere; }
@media (max-width: 420px) { .contact-list a[href^="mailto"] { font-size: .92rem; } }
@media (max-width: 900px) { .brand img { height: 58px; } }
.services-list { margin: 0 auto; }
.form-note a { overflow-wrap: anywhere; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 68px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps strong { color: var(--ink); }

/* outbound links (About, reviews) */
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
