:root{
  --c-primary:#174073;
  --c-accent:#BB2323;
  --c-gray:#D8D8D9;
  --c-bg:#f6f7f9;
  --c-text:#0c1320;
  --c-muted:#5b6678;
  --c-white:#ffffff;

  --radius:18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-2: 0 18px 48px rgba(0,0,0,.14);

  --container: 1160px;
  --header-h: 76px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--c-text);
  background:var(--c-bg);
  line-height:1.55;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
b{ font-weight: 700; }

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  padding:10px 14px;
  background:var(--c-white);
  border-radius:12px;
  box-shadow:var(--shadow);
  z-index:9999;
}
.skip-link:focus{ left:12px; top:12px; }

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(246,247,249,.85);
  border-bottom: 1px solid rgba(23,64,115,.12);
}
.header__inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width: 220px;
}
.brand__mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight:800;
  letter-spacing:.4px;
}

.brand__logo{
  width:42px;
  height:42px;
  border-radius: 12px;
  background: rgba(255,255,255,.95);
  border:1px solid rgba(23,64,115,.18);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding:6px;
  object-fit: contain;
}
.brand__text{ display:flex; flex-direction:column; gap:2px; }
.brand__name{ font-weight:800; font-size: 16px; letter-spacing:.2px; }
.brand__tagline{ font-size: 12px; color: var(--c-muted); }

.nav-toggle{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(23,64,115,.18);
  background: var(--c-white);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.nav-toggle__bar{
  display:block;
  width:20px;
  height:2px;
  background: var(--c-primary);
  margin:4px auto;
  border-radius:2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:16px;
}
.nav__list{
  display:flex;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav__link{
  display:inline-flex;
  padding:10px 12px;
  border-radius: 12px;
  text-decoration:none;
  color: var(--c-text);
  font-weight:600;
  font-size:14px;
}
.nav__link:hover{
  background: rgba(23,64,115,.08);
}
.nav__link.is-active{
  background: rgba(187,35,35,.10);
  box-shadow: inset 0 0 0 1px rgba(187,35,35,.16);
}

.nav__cta{ display:flex; gap:10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 14px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  white-space:nowrap;
  user-select:none;
}
.btn--wide{ width:100%; }
.btn--primary{
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 10px 24px rgba(187,35,35,.22);
}
.btn--primary:hover{ filter: brightness(1.02); }
.btn--secondary{
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 10px 24px rgba(23,64,115,.18);
}
.btn--ghost{
  background: rgba(255,255,255,.9);
  border-color: rgba(23,64,115,.18);
}
.btn--ghost:hover{ background: var(--c-white); }

.hero{
  position:relative;
  min-height: calc(100svh - var(--header-h));
  display:grid;
  align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
}
.hero__bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.03);
}
.hero__bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 20% 30%, rgba(255,255,255,.2) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,.22) 100%),
    linear-gradient(120deg, rgba(23,64,115,.38), rgba(23,64,115,.18) 55%, rgba(187,35,35,.08));
}

.hero__content{ position:relative; z-index:1; padding: 44px 0; }
.hero__card{
  max-width: 680px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(23,64,115,.18);
  box-shadow: var(--shadow-2);
  border-radius: calc(var(--radius) + 4px);
  padding: 26px 22px;
}
.hero__kicker{
  margin:0 0 8px;
  font-weight:800;
  letter-spacing:.3px;
  color: var(--c-primary);
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.4px;
}
.hero__lead{
  margin:0 0 18px;
  color: var(--c-muted);
  font-size: 16px;
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom: 14px;
}
.hero__facts{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
  list-style:none;
  color: var(--c-muted);
  font-weight:600;
  font-size: 13px;
}
.hero__facts li{
  padding:8px 10px;
  background: rgba(23,64,115,.06);
  border: 1px solid rgba(23,64,115,.10);
  border-radius: 999px;
}

.section{
  padding: 72px 0;
}
.section--tight{ padding: 52px 0; }
.section--alt{ background: #ffffff; border-top:1px solid rgba(23,64,115,.10); border-bottom:1px solid rgba(23,64,115,.10); }
.section--dark{
  background: var(--c-primary);
  color: rgba(255,255,255,.92);
}
.section__head{ margin-bottom: 18px; }
.section__title{
  margin:0 0 10px;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.2px;
}
.section__subtitle{
  margin:0;
  color: var(--c-muted);
  max-width: 78ch;
}
.section--dark .section__subtitle{ color: rgba(255,255,255,.74); }

.prose p{ margin: 0 0 12px; }
.small{ font-size: 12px; }
.muted{ color: var(--c-muted); }
.section--dark .muted{ color: rgba(255,255,255,.70); }

.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  margin-top: 18px;
}
.stat{
  background: rgba(255,255,255,.85);
  border:1px solid rgba(23,64,115,.14);
  border-radius: var(--radius);
  padding: 14px 12px;
  box-shadow: var(--shadow);
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.stat__num{
  width:34px; height:34px;
  border-radius: 12px;
  background: rgba(187,35,35,.14);
  color: var(--c-accent);
  display:grid; place-items:center;
  font-weight:900;
}
.stat__text{ font-size: 14px; color: var(--c-text); }

.triad{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top: 18px;
}

.card{
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1px solid rgba(23,64,115,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
  text-align:left;
}
.card--click{
  padding:0;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card--click:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.card__body{ padding: 14px 14px 16px; }
.card__title{ margin: 0 0 6px; font-size: 16px; }
.card__desc{ margin:0; color: var(--c-muted); font-size: 13px; }

.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items:center;
}
.split--reverse{
  grid-template-columns: .95fr 1.05fr;
}
.split__media img{
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(23,64,115,.12);
}
.split__content .section__subtitle{ margin-bottom: 10px; }

.checklist{
  list-style:none;
  margin: 14px 0 0;
  padding:0;
}
.checklist li{
  padding-left: 28px;
  position:relative;
  margin: 10px 0;
}
.checklist li::before{
  content:"";
  position:absolute;
  left:0; top: 5px;
  width:18px; height:18px;
  border-radius: 6px;
  background: rgba(23,64,115,.10);
  border: 1px solid rgba(23,64,115,.18);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.7);
}
.checklist li::after{
  content:"";
  position:absolute;
  left:6px; top: 10px;
  width:6px; height:10px;
  border-right: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
  transform: rotate(45deg);
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.contacts{
  padding-top: 72px;
}
.contacts__grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contacts__card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px 16px;
}
.contacts__title{ margin:0 0 10px; font-size: 16px; }

.dl{ margin:0; }
.dl__row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.dl__row:last-child{ border-bottom:none; }
dt{ font-weight:700; color: rgba(255,255,255,.88); }
dd{ margin:0; color: rgba(255,255,255,.88); }

.link{
  color: rgba(255,255,255,.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link:hover{ opacity:.92; }

.footer{
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}

.modal{
  position:fixed;
  inset:0;
  display:grid;
  place-items:center;
  z-index:100;
}
.modal[hidden]{ display:none; }
.modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.modal__dialog{
  position:relative;
  width:min(720px, calc(100% - 28px));
  background: var(--c-white);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-2);
  border: 1px solid rgba(23,64,115,.16);
  padding: 18px 18px 16px;
}
.modal__close{
  position:absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(23,64,115,.16);
  background: rgba(255,255,255,.95);
  cursor:pointer;
  font-size: 22px;
}
.modal__title{ margin: 6px 40px 8px 0; font-size: 20px; }
.modal__text{ margin:0 0 14px; color: var(--c-muted); }
.modal__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.noscript{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--c-white);
  border-radius: 14px;
  border: 1px solid rgba(23,64,115,.18);
  padding: 10px 12px;
  box-shadow: var(--shadow);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .stats{ grid-template-columns: repeat(2, 1fr); }
  .triad{ grid-template-columns: 1fr; }
  .split, .split--reverse{ grid-template-columns: 1fr; }
  .section{ padding: 56px 0; }
  .contacts__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav-toggle{ display:block; }
  .nav{
    position: fixed;
    top: var(--header-h);
    right: 12px;
    left: 12px;
    background: rgba(255,255,255,.96);
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid rgba(23,64,115,.14);
    box-shadow: var(--shadow-2);
    padding: 12px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .nav.is-open{ display:flex; }
  .nav__list{ flex-direction:column; }
  .nav__link{ width:100%; }
  .nav__cta{ width:100%; }
  .nav__cta .btn{ width:100%; }
}

.section [id]{
  scroll-margin-top: calc(var(--header-h) + 14px);
}
