:root {
  --navy: #071d49;
  --navy-2: #0b2f6b;
  --blue: #006bb6;
  --sky: #21a4df;
  --red: #ed1c2e;
  --orange: #f6a62d;
  --green: #24663a;
  --cream: #f4f1e8;
  --mist: #e8f1f7;
  --paper: #ffffff;
  --ink: #142038;
  --muted: #56667a;
  --line: #cbd8e3;
  --shadow: 0 22px 60px rgba(7, 29, 73, .14);
  --shadow-soft: 0 12px 30px rgba(7, 29, 73, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eaf2f7 0, #f4f1e8 580px, #e7eef4 100%);
  font: 16px/1.72 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  transform: translateY(-180%); padding: 10px 14px;
  border: 2px solid #000; border-radius: 8px; background: #fff; color: #000;
}
.skip:focus { transform: none; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  border-top: 5px solid var(--red);
  border-bottom: 1px solid rgba(7, 29, 73, .13);
  box-shadow: 0 8px 24px rgba(7, 29, 73, .07);
}
.site-header::before {
  content: ""; position: absolute; top: -5px; left: 34%; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange) 34%, var(--green) 67%, var(--blue));
}
.header-inner {
  max-width: 1240px; min-height: 82px; margin: auto; padding: 10px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand img { width: 43px; height: 49px; object-fit: cover; border-radius: 10px; box-shadow: 0 8px 16px rgba(237,28,46,.16); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.45rem; letter-spacing: -.04em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: .69rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.site-header nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-header nav a { display: block; padding: 10px 13px; border-radius: 10px; color: var(--navy); font-size: .87rem; font-weight: 800; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.menu-button { display: none; }

.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(33,164,223,.48), transparent 29%),
    radial-gradient(circle at 5% 95%, rgba(237,28,46,.24), transparent 28%),
    linear-gradient(125deg, #06173a 0%, #082b68 58%, #006bb6 100%);
  border-bottom: 7px solid var(--red);
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; pointer-events: none;
  border: 1px solid rgba(255,255,255,.11); border-radius: 55% 45% 65% 35%; transform: rotate(-18deg);
}
.page-hero::before { width: 520px; height: 270px; right: -120px; top: -85px; box-shadow: 0 0 0 32px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.02); }
.page-hero::after { width: 360px; height: 170px; left: -190px; bottom: -95px; box-shadow: 0 0 0 28px rgba(246,166,45,.055); }
.page-hero-inner {
  position: relative; z-index: 1; max-width: 1240px; margin: auto; padding: 76px 28px 74px;
  display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 340px); justify-content: space-between; align-items: center; gap: 54px;
}
.eyebrow, .kicker { margin: 0 0 13px; color: var(--red); font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.page-hero .eyebrow { color: #ffcd77; }
.page-hero h1 { max-width: 860px; margin: 0; color: #fff; font-size: clamp(2.7rem, 5.6vw, 5.5rem); font-weight: 820; line-height: .99; letter-spacing: -.055em; }
.lead { max-width: 790px; margin: 24px 0 0; color: #d8e8f8; font-size: 1.18rem; line-height: 1.62; }
.hero-brand-panel {
  min-height: 280px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.23); border-radius: 34px 34px 76px 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.06));
  box-shadow: 0 26px 60px rgba(0,0,0,.2); backdrop-filter: blur(7px);
}
.hero-brand-panel img { width: 72px; height: 83px; object-fit: cover; border-radius: 16px; margin-bottom: 22px; }
.hero-brand-panel strong { font-size: 2.2rem; line-height: 1; }
.hero-brand-panel span { margin-top: 8px; color: #dcecff; font-weight: 700; }
.hero-brand-panel small { margin-top: 22px; padding-top: 14px; width: 100%; border-top: 1px solid rgba(255,255,255,.25); color: #ffcd77; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-media { position: relative; height: 330px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 34px 34px 80px 34px; box-shadow: 0 28px 70px rgba(0,0,0,.3); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 53% 75%; transform: scale(1.04); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(3,16,48,.86)); }
.hero-media figcaption { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .04em; }

.content-wrap { max-width: 1240px; margin: auto; padding: 52px 28px 86px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .72fr); gap: 24px; align-items: stretch; }
.hero-copy, .place-card, .section { border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.hero-copy { padding: 38px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy-2)); border: 0; }
.hero-copy p { font-size: 1.08rem; }
.query-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.query-row span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; background: rgba(255,255,255,.1); font-size: .76rem; font-weight: 850; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { min-height: 47px; padding: 10px 19px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 850; text-decoration: none; }
.button.primary { color: #fff; background: var(--red); }
.button.primary:hover { background: #c91424; }
.button.secondary { color: #fff; background: var(--navy); }
.hero-copy .button.secondary { color: var(--navy); background: #fff; }
.place-card { position: relative; padding: 34px; color: #fff; background: linear-gradient(155deg, #122c55, #07162f); border: 0; overflow: hidden; }
.place-card::after { content: ""; position: absolute; right: -42px; bottom: -50px; width: 155px; height: 155px; border: 30px solid rgba(33,164,223,.16); border-radius: 50%; }
.place-card .kicker { color: #ffcd77; }
.place-card h2, .place-card h3 { margin: 0 0 14px; color: #fff; }
.place-card small { display: block; margin-top: 22px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.22); color: #cfd9e7; }
.place-card.small { max-width: 390px; align-self: start; }
.pin { width: 50px; height: 50px; margin-bottom: 30px; display: inline-grid; place-items: center; border-radius: 50% 50% 50% 12px; color: #fff; background: var(--red); font-weight: 900; transform: rotate(-5deg); }

.section { position: relative; margin: 26px 0; padding: 48px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.content-wrap > .section:nth-of-type(3n+1) { background: linear-gradient(135deg, #fff, #eaf4fa); }
.content-wrap > .section:nth-of-type(3n+2) { background: linear-gradient(135deg, #fffdf7, #f1eee4); }
.section::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--red), var(--blue)); }
.section > h2, .section > div > h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.035em; }
.section h3 { color: var(--navy); line-height: 1.3; }
.section p { max-width: 890px; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(270px, .65fr); gap: 46px; align-items: start; }

.cards, .feature-grid, .contact-grid, .check-cards, .journey, .security-layers, .decision-grid, .product-catalog { display: grid; gap: 15px; margin-top: 28px; }
.cards.three, .feature-grid, .contact-grid, .decision-grid, .product-catalog { grid-template-columns: repeat(3, 1fr); }
.journey { grid-template-columns: repeat(4, 1fr); }
.security-layers { grid-template-columns: repeat(5, 1fr); }
.cards article, .feature-grid article, .check-cards article, .journey article, .security-layers article, .decision-grid article, .product-catalog article {
  position: relative; padding: 24px; border: 1px solid #cfdce7; border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 8px 20px rgba(7,29,73,.05);
}
.cards article:nth-child(2n), .feature-grid article:nth-child(2n), .decision-grid article:nth-child(2n), .product-catalog article:nth-child(2n) { background: #eef6fb; }
.cards article h3, .feature-grid article h3, .check-cards article h3, .journey h3, .security-layers h3, .decision-grid h3, .product-catalog h3 { margin: 7px 0; }
.cards article p, .feature-grid article p, .check-cards article p, .journey p, .security-layers p, .decision-grid p, .product-catalog p { margin-bottom: 8px; color: var(--muted); }
.cards article a { font-weight: 850; }
.number { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.feature-grid article { border-top: 5px solid var(--blue); }
.feature-grid article:nth-child(3n+2) { border-top-color: var(--red); }
.feature-grid article:nth-child(3n) { border-top-color: var(--green); }
.journey span { color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.security-layers b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.steps.compact { grid-template-columns: 1fr; }
.steps > div { display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid #cbd9e5; border-radius: 14px; background: #eaf3f9; }
.steps b { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--navy); }
.steps span { font-size: .92rem; }
.steps span strong { display: block; }
.long-steps { counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.long-steps li { counter-increment: step; position: relative; padding: 22px 22px 22px 65px; border: 1px solid var(--line); border-radius: 15px; background: #eff6fa; }
.long-steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-weight: 900; }
.long-steps strong, .long-steps span { display: block; }
.long-steps span { margin-top: 5px; color: var(--muted); }

.note { padding: 27px; border: 1px solid #bad5c6; border-radius: 17px; background: #e5f2ea; }
.note h3 { margin-top: 0; color: var(--green); }
.content-wrap > .section.local { display: grid; grid-template-columns: 1.5fr .6fr; gap: 52px; color: #fff; background: linear-gradient(135deg, #071d49, #0b4a82); border: 0; }
.local::before { width: 7px; background: var(--orange); }
.local h2 { color: #fff !important; }
.local .kicker { color: #ffcd77; }
.local p, .local address { color: #f5f8fc; }
.local-stat { align-self: center; display: grid; gap: 3px; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.28); }
.local-stat strong { color: #fff; font-size: 3rem; font-weight: 850; line-height: 1; }
.local-stat span { margin-bottom: 22px; color: #dce9f6; }

.content-library { background: linear-gradient(135deg, #f9fcff, #e8f2f8) !important; }
.content-library > h2 { max-width: 840px; }
.topic-folds { display: grid; gap: 14px; margin-top: 28px; }
.topic-folds details { overflow: hidden; border: 1px solid #bfd2e0; border-radius: 17px; background: rgba(255,255,255,.9); box-shadow: 0 8px 20px rgba(7,29,73,.05); }
.topic-folds summary { position: relative; padding: 20px 62px 20px 22px; cursor: pointer; color: var(--navy); font-size: 1.04rem; font-weight: 850; list-style: none; }
.topic-folds summary::-webkit-details-marker { display: none; }
.topic-folds summary::after { content: "+"; position: absolute; right: 18px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 1.3rem; }
.topic-folds details[open] summary::after { content: "−"; background: var(--red); }
.topic-folds .fold-body { padding: 0 22px 22px; border-top: 1px solid #d5e1e9; }
.topic-folds .fold-body p { max-width: 960px; }
.topic-folds .fold-body h3 { margin-top: 22px; }

.link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.link-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 18px; padding: 20px 22px; border: 1px solid #c9d9e5; border-radius: 14px; background: #edf5fa; text-decoration: none; }
.link-list a:hover { color: #fff; background: var(--navy); }
.link-list a:hover span, .link-list a:hover strong { color: #fff; }
.link-list span { color: var(--muted); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.link-list strong { color: var(--navy); }
.link-list i { grid-column: 2; grid-row: 1/3; font-size: 1.5rem; font-style: normal; }

.accordion details { padding: 2px 0; border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; padding: 20px 44px 20px 0; cursor: pointer; color: var(--navy); font-weight: 850; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 8px; top: 15px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 1.2rem; }
.accordion details[open] summary::after { content: "−"; background: var(--red); }
.accordion details p { margin: 0 0 22px; color: var(--muted); }
.checklist ul { columns: 2; column-gap: 50px; padding-left: 20px; }
.checklist li { break-inside: avoid; margin-bottom: 12px; padding-left: 6px; }

.compare-table { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft); }
.compare-table table { width: 100%; min-width: 680px; border-collapse: collapse; background: #fff; }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th { color: #fff; background: var(--navy); font-size: .82rem; }
.compare-table tr:nth-child(even) td { background: #edf5fa; }
.compare-table tr:last-child td { border-bottom: 0; }
.check-cards { grid-template-columns: repeat(2, 1fr); }
.contact-grid article { padding: 25px; border: 1px solid #cad9e5; border-radius: 16px; background: linear-gradient(145deg, #eef6fa, #fff); }
.contact-grid article:nth-child(2n) { background: linear-gradient(145deg, #fff7f4, #fff); }
.contact-grid span { color: var(--red); font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-grid h3 { margin: 8px 0; font-size: 1.62rem; }
.contact-grid p, .source-note { color: var(--muted); }
.source-note { font-size: .84rem; }
address { font-size: 1.08rem; font-style: normal; }
.prose { max-width: 930px; margin-left: auto; margin-right: auto; }
.prose > h2 { margin-top: 42px; font-size: 1.75rem; }
.prose > h2:first-child { margin-top: 0; }
.official-service { color: #fff; background: linear-gradient(135deg, #07275b, #006bb6) !important; border: 0; }
.official-service h2, .official-service p { color: #fff; }
.official-service .kicker { color: #ffcd77; }

.agency-groups { display: grid; gap: 12px; margin-top: 28px; }
.agency-group { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.agency-group summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; cursor: pointer; color: var(--navy); background: #eaf3f9; }
.agency-group summary span { color: var(--muted); font-size: .85rem; }
.agency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; }
.agency-grid article { padding: 18px; border-left: 4px solid var(--red); border-radius: 12px; background: #f2f6f9; }
.agency-grid article:nth-child(2n) { border-left-color: var(--blue); }
.agency-grid h3 { margin: 0 0 6px; font-size: 1rem; }
.agency-grid address { color: var(--muted); font-size: .85rem; }

footer { padding: 62px 28px 25px; color: #d9e6f3; background: #05142f; border-top: 7px solid var(--red); }
.footer-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: 1.5fr .7fr .7fr 1fr; gap: 48px; }
.footer-grid h2 { margin: 0 0 18px; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: #d9e6f3; text-decoration: none; }
.footer-grid a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-grid a:hover { color: #ffcd77; }
.footer-grid p { font-size: .9rem; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.footer-brand img { width: 38px; border-radius: 8px; }
.footer-brand strong { font-size: 1.35rem; }
.footer-bottom { max-width: 1240px; margin: 38px auto 0; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .82rem; }
.footer-bottom a { color: #fff; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 5px; }

@media (max-width: 980px) {
  .page-hero-inner { grid-template-columns: 1fr 250px; }
  .cards.three, .feature-grid, .contact-grid, .decision-grid, .product-catalog, .agency-grid { grid-template-columns: repeat(2, 1fr); }
  .journey, .security-layers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { padding: 8px 18px; }
  .menu-button { width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; border-radius: 12px; color: #fff; background: var(--navy); }
  .menu-button span { width: 20px; height: 2px; margin: 2px; display: block; background: currentColor; }
  .menu-button b { margin-top: 3px; font-size: .55rem; }
  .site-header nav { position: absolute; top: 76px; left: 14px; right: 14px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .site-header nav.open { display: block; }
  .site-header nav ul { display: block; }
  .site-header nav a { padding: 12px 15px; }
  .page-hero-inner { grid-template-columns: 1fr; padding: 54px 20px 56px; }
  .page-hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .lead { font-size: 1.02rem; }
  .hero-brand-panel { min-height: 220px; }
  .hero-media { height: 310px; }
  .content-wrap { padding: 30px 16px 64px; }
  .hero-grid, .split, .local { grid-template-columns: 1fr; }
  .section, .hero-copy, .place-card { padding: 30px 23px; }
  .section { margin: 20px 0; }
  .cards.three, .feature-grid, .contact-grid, .check-cards, .link-list, .steps, .journey, .security-layers, .decision-grid, .product-catalog, .agency-grid, .long-steps { grid-template-columns: 1fr; }
  .checklist ul { columns: 1; }
  .agency-group summary { display: block; }
  .local-stat { padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .hero-actions, .menu-button, footer { display: none; }
  .page-hero { color: #000; background: #fff; border-bottom: 1px solid #ccc; }
  .page-hero h1, .page-hero .lead { color: #000; }
  .page-hero-inner, .content-wrap { max-width: none; padding: 20px; }
  .section, .hero-copy, .place-card { box-shadow: none; break-inside: avoid; }
}
