@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
}

:root {
  --ink: #101828;
  --muted: #526173;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --line: #d7e0ea;
  --navy: #07111d;
  --navy-2: #102033;
  --blue: #0b6bcb;
  --blue-deep: #084e96;
  --blue-soft: #e8f2fc;
  --tv: #0c8a45;
  --shadow: 0 16px 40px rgba(7, 17, 29, 0.08);
  --radius: 12px;
  --wrap: 1140px;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.6rem); margin: 0 0 0.45em; font-weight: 600; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 0.45em; }
h3 { font-size: 1.12rem; margin: 0 0 0.35em; }
p { margin: 0 0 0.85em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 30;
}
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.topbar {
  background: #050c16;
  color: #c5d2e0;
  font-size: 0.88rem;
}
.topbar-inner, .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-inner { min-height: 38px; }
.topbar a { color: white; text-decoration: none; font-weight: 500; }
.topbar p { margin: 0; }
.top-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 17, 29, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { min-height: 80px; }
.header-inner nav { margin-left: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}
.brand svg { width: 52px; height: 52px; display: block; }
.nav-toggle, .drop-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: white;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font: inherit;
  cursor: pointer;
}
nav { display: flex; align-items: center; gap: 0.15rem; }
nav a {
  color: #d5e0ea;
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.95rem;
}
nav a:hover, nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); color: white; }
.drop { position: relative; display: flex; align-items: center; }
.drop-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  padding: 0.55rem 0.4rem 0.4rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: none;
}
.drop-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 10px;
}
.drop:hover .drop-panel, .drop:focus-within .drop-panel, .drop.is-open .drop-panel { display: grid; }
.drop-panel a { color: var(--ink); display: block; border-radius: 8px; }
.drop-panel a:hover { background: var(--blue-soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 8px;
  padding: 0.72rem 1.05rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-deep); color: white; }
.btn-ghost { background: transparent; border-color: rgba(16, 24, 40, 0.18); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-call { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: white; }
.btn-call:hover { background: white; color: var(--navy); }
.btn-tv { background: white; color: #050a52; border-color: rgba(5, 10, 82, 0.16); }
.btn-tv:hover { background: #f3f6fb; color: #050a52; }
.btn-tv img { width: 1.15rem; height: 1.15rem; flex: none; }
.site-footer .btn-tv,
.site-footer .btn-tv:hover { color: #050a52; }
.inline-logo { width: 1.15rem; height: 1.15rem; display: inline-block; vertical-align: -0.18rem; margin-right: 0.35rem; }
.reach-fallback a { display: inline-flex; align-items: center; gap: 0.4rem; }
.btn-nis { background: var(--blue); color: white; }
.btn-nis:hover { background: var(--blue-deep); color: white; }

.hero {
  background:
    radial-gradient(700px 280px at 85% 0%, rgba(11, 107, 203, 0.28), transparent 60%),
    var(--navy);
  color: #e8eef5;
  padding: 4.2rem 0 3.4rem;
}
.hero h1, .hero h2, .hero p { color: inherit; }
.hero-grid, .split, .contact-grid, .two-col { display: grid; gap: 1.5rem; }
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.kicker, .reach-label {
  margin: 0 0 0.75rem;
  color: #8eb6e8;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .lead { font-size: 1.08rem; color: #c5d2e0; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }
.hero .btn-ghost { color: white; border-color: rgba(255, 255, 255, 0.28); }
.hero .btn-ghost:hover { background: white; color: var(--navy); }

.reach {
  background: white;
  color: var(--ink);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.reach h2 { font-size: 1.28rem; line-height: 1.25; margin-bottom: 0.55rem; }
.reach-label { color: var(--blue); }
.reach-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}
.reach-row span { color: var(--muted); font-size: 0.86rem; }
.reach-row strong { font-weight: 600; }
.reach-row:hover strong { color: var(--blue); }
.reach .btn { width: 100%; margin-top: 0.35rem; }

.metrics { background: white; border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.metrics-grid div { padding: 1.25rem 0.2rem; }
.metrics-grid strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.metrics-grid span { color: var(--muted); font-size: 0.95rem; }

.section { padding: 3rem 0; }
.photo-section { padding-top: 2.2rem; padding-bottom: 0.4rem; }
.photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0.75rem;
}
.photo-grid figure, .photo-wide { margin: 0; }
.photo-grid img, .photo-wide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
}
.photo-wide img { height: 420px; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.pillars, .cards, .modules, .three { display: grid; gap: 0.9rem; }
.pillars, .cards, .modules, .three { grid-template-columns: repeat(3, 1fr); }
.card, .module, .pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.card:hover { border-color: #8eb6e8; color: inherit; }
.card .more { margin-top: auto; padding-top: 0.85rem; color: var(--blue-deep); font-weight: 600; font-size: 0.95rem; }
.index {
  font-family: var(--mono);
  color: var(--blue);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.pillar h2 { font-size: 1.25rem; }
.card.nis { background: var(--blue-soft); border-color: #c5daf3; }
.badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  vertical-align: 2px;
}

.band {
  background: var(--navy-2);
  color: #e8eef5;
  border-radius: 16px;
  padding: 1.8rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}
.band h2, .band p, .band .kicker { color: inherit; }
.band p { color: #c5d2e0; margin-bottom: 0; }
.band .kicker { color: #8eb6e8; }
.band .btn-ghost { color: white; border-color: rgba(255, 255, 255, 0.3); }
.band .btn-ghost:hover { background: white; color: var(--navy); }
.help-band { background: white; }

.page-hero {
  padding: 2.6rem 0 1.2rem;
  background: linear-gradient(180deg, #e7eef6 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 46rem; color: var(--muted); }
.prose { max-width: 760px; }
.prose.wide { max-width: none; }
.split { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
.two-col { grid-template-columns: 1fr 1fr; }
.note {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 0.15rem 0 0.15rem 1rem;
}

.order-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1rem 0 0.4rem; }
.logo-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 0; padding: 0; list-style: none; }
.logo-row li {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.9rem;
}

.contact-grid { grid-template-columns: 0.85fr 1.15fr; }
.form, .address {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
}
.address { display: flex; flex-direction: column; }
label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid #c9d4e0;
  background: #fbfcfe;
  border-radius: 8px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); border-color: transparent; }
.reach-note { color: var(--muted); font-size: 0.92rem; }
.reach form .btn { margin-top: 0.2rem; }
.reach-fallback { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.88rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; margin-bottom: 1rem; }
.check input { width: auto; margin: 0.25rem 0 0; }
.map {
  margin-top: 0.6rem;
  border: 0;
  width: 100%;
  height: 320px;
  min-height: 260px;
  flex: 1;
  border-radius: 10px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.leaflet-div-icon.pin { background: transparent; border: 0; }
#form-status { min-height: 1.3em; color: var(--muted); }
#form-status.is-error { color: #9b2c2c; }
.btn:disabled { opacity: 0.65; cursor: wait; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tv-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--line);
}
.tv-logo { width: min(280px, 100%); height: auto; margin: 0 0 1rem; }
.tv-mark {
  width: 72px;
  height: 72px;
  display: block;
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.steps li::before {
  content: counter(step);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  font-size: 0.85rem;
}

.site-footer {
  margin-top: 1rem;
  background: var(--navy);
  color: #c5d2e0;
  padding: 2.4rem 0 1.15rem;
}
.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { color: #9cc7ff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 1.2rem;
  align-items: start;
}
.site-footer h2 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ea0b3;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer p { color: #c5d2e0; }
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  font-size: 0.92rem;
}

.cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(360px, calc(100% - 2rem));
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  z-index: 25;
}
.cookie p { font-size: 0.92rem; }
.empty {
  background: white;
  border: 1px dashed #c5d0dc;
  border-radius: 12px;
  padding: 1.2rem;
}

@media (max-width: 900px) {
  .hero { padding: 2.4rem 0 2rem; }
  .section { padding: 2.2rem 0; }
  .page-hero { padding: 1.7rem 0 1rem; }
  .hero-grid, .band, .split, .contact-grid, .two-col, .three,
  .pillars, .cards, .modules, .footer-grid, .metrics-grid, .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid img, .photo-wide img { height: 220px; }
  .topbar-inner { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 0.45rem 0; }
  .top-long { display: none; }
  .header-inner { flex-wrap: wrap; padding: 0.7rem 0; }
  .brand { flex: 1; }
  .nav-toggle { display: inline-flex; min-height: 44px; }
  .header-actions { order: 3; width: 100%; margin: 0.45rem 0 0; }
  .header-actions .btn { flex: 1; min-height: 44px; }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0c1826;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.8rem 0.8rem;
    flex-direction: column;
    align-items: stretch;
  }
  nav.is-open { display: flex; }
  nav a { min-height: 44px; display: flex; align-items: center; }
  .drop { flex-wrap: wrap; }
  .drop-toggle { display: inline-flex; margin-left: auto; min-width: 44px; min-height: 44px; }
  .drop-panel { position: static; display: none; box-shadow: none; width: 100%; background: #132233; border-color: transparent; }
  .drop-panel::before { display: none; }
  .drop-panel a { color: white; }
  .form .btn-primary, .reach .btn-primary { width: 100%; }
  .tv-card { grid-template-columns: 1fr; }
  .contact-grid .form { order: -1; }
  .metrics-grid div { padding: 0.85rem 0; border-top: 1px solid var(--line); }
  .metrics-grid div:first-child { border-top: 0; }
  .cookie {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
  }
}

@media (max-width: 560px) {
  .header-actions { flex-direction: column; align-items: stretch; }
  .brand svg { width: 44px; height: 44px; }
  .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
