/* Shared styles for the service / service-area / review pages (tools/build_pages.py).
   Same palette and fonts as index.html so the site reads as one. */
:root {
  --bg: #06101E; --navy: #0A1628; --navy-light: #0F2040; --blue: #1B68B4; --blue-ink: #4A9BE8;
  --blue-bright: #2E8AF6; --silver: #B8C8D8; --muted: #8FA3B8; --white: #FFFFFF; --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--silver); font: 400 17px/1.7 'Barlow', system-ui, sans-serif; }
a { color: var(--blue-ink); }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: 'Oswald', sans-serif; color: var(--white); line-height: 1.2; letter-spacing: 0.01em; }
h1 { font-size: clamp(30px, 5vw, 48px); margin: 8px 0 14px; }
h2 { font-size: clamp(21px, 3vw, 27px); margin: 34px 0 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); color: #000; padding: 8px 12px; z-index: 10; }
.small { font-size: 14px; color: var(--muted); }
.ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(6,16,30,0.94); border-bottom: 1px solid rgba(27,104,180,0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand .mark { width: 36px; height: 36px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; }
.brand .mark svg { width: 24px; height: 24px; }
.brand strong { font-family: 'Oswald', sans-serif; letter-spacing: 0.08em; display: block; line-height: 1.1; }
.brand small { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.top-links { display: flex; align-items: center; gap: 18px; }
.top-links a:not(.btn) { color: var(--silver); text-decoration: none; font-size: 15px; }
.top-links a:not(.btn):hover { color: var(--white); }
@media (max-width: 760px) { .top-links a:not(.btn) { display: none; } .top-links .btn { padding: 9px 14px; font-size: 14px; } .brand small { display: none; } }
.btn { white-space: nowrap; }
@media (max-width: 380px) { .top-in { gap: 8px; } .brand { gap: 8px; min-width: 0; } .brand strong { letter-spacing: 0.03em; font-size: 15px; } .top-links { gap: 0; } .top-links .btn { padding: 8px 10px; font-size: 13px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 600; padding: 11px 20px; border-radius: 50px; border: 1px solid var(--blue); font-size: 15px; }
.btn:hover { background: var(--blue-bright); color: var(--white); }
.btn-ghost { background: transparent; border-color: rgba(184,200,216,0.35); color: var(--white); }
.btn-ghost:hover { background: rgba(46,138,246,0.15); }
.btn-big { font-size: 20px; padding: 16px 30px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.narrow .cta-btns { justify-content: center; }

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%); padding: 34px 0 44px; border-bottom: 1px solid rgba(27,104,180,0.18); }
.lead { font-size: 19px; max-width: 760px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* body */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-top: 30px; padding-bottom: 20px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } }
.copy.wide { padding-top: 20px; padding-bottom: 20px; }
figure { margin: 0 0 8px; }
figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(27,104,180,0.24); display: block; }
.ticks { padding-left: 0; list-style: none; }
.ticks li { padding-left: 28px; position: relative; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-ink); font-weight: 700; }
.faq details { border: 1px solid rgba(27,104,180,0.28); border-radius: var(--radius); padding: 12px 16px; margin: 10px 0; background: var(--navy); }
.faq summary { cursor: pointer; color: var(--white); font-weight: 600; }
.faq p { margin: 10px 0 2px; }
.side .card { background: var(--navy); border: 1px solid rgba(27,104,180,0.28); border-radius: 14px; padding: 20px; margin-bottom: 18px; position: sticky; top: 90px; }
.side .card + .card { position: static; }
.side .card h2 { margin-top: 0; font-size: 21px; }
.side .card .btn { width: 100%; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 6px 12px; border-radius: 50px; border: 1px solid rgba(184,200,216,0.3); text-decoration: none; color: var(--silver); }
.chip:hover { border-color: var(--blue-bright); color: var(--white); }
.areas { padding-left: 20px; }
.areas li { margin: 8px 0; scroll-margin-top: 90px; }
.areas li:target { color: var(--white); }

/* call-to-action band */
.cta { text-align: center; margin: 40px auto 0; padding: 44px 20px; background: linear-gradient(135deg, var(--navy-light), var(--navy)); border-top: 1px solid rgba(27,104,180,0.25); }
.cta h2 { margin-top: 0; }
.cta .cta-btns { justify-content: center; }

/* footer */
.foot { background: #030810; padding: 40px 0 22px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-name { font-family: 'Oswald', sans-serif; color: var(--white); letter-spacing: 0.06em; font-size: 18px; }
.foot-title { color: var(--white); font-weight: 600; margin-bottom: 8px; }
.foot a { display: block; color: var(--muted); text-decoration: none; margin: 4px 0; }
.foot a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(184,200,216,0.12); color: var(--muted); font-size: 13px; }
.foot-bottom a { display: inline; }
