/* Самохостинг шрифтов (Inter/Montserrat/Oswald), latin+cyrillic. Заменяет @import с Google Fonts. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Inter-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/Inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Inter-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Inter-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Inter-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Inter-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/Inter-800-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/Inter-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Montserrat-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Montserrat-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/Montserrat-800-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/Montserrat-800-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:900;font-display:swap;src:url('fonts/Montserrat-900-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:900;font-display:swap;src:url('fonts/Montserrat-900-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Oswald-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/Oswald-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Oswald-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/Oswald-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Oswald-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/Oswald-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --blue: #0e4da4;
  --blue-dark: #0a2f6e;
  --blue-deep: #06265a;
  --yellow: #ffcb05;
  --yellow-2: #ffd200;
  --white: #ffffff;
  --bg: #f7f9fc;
  --text: #101828;
  --muted: #5a6b85;
  --line: #e6ebf3;
  --danger: #b42318;
  --success: #027a48;
  --shadow: 0 18px 45px rgba(10, 47, 110, 0.14);
  --shadow-soft: 0 10px 30px rgba(16, 24, 40, 0.08);
  --radius: 16px;
  --container: 1180px;
  --font-head: 'Montserrat', Oswald, Arial, sans-serif;
  --font-body: 'Inter', 'PT Sans', Arial, sans-serif;
  --font-poster: 'Oswald', 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--text);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.top-counter {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--blue-dark);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.counter-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.1);
}

.counter-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.counter-number {
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .container {
  width: min(100% - 32px, 1280px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--yellow);
  box-shadow: inset 0 -4px 0 rgba(255, 203, 5, 0.24);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-title {
  display: block;
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1 1 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  min-width: 0;
}

.nav a {
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.phone-link {
  color: var(--blue-dark);
  font-weight: 900;
  white-space: nowrap;
}

.site-header .btn {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--blue-dark);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(10, 47, 110, 0.18);
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  color: var(--text);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  border: 2px solid currentColor;
  background: transparent;
  color: var(--white);
}

.btn-outline-dark {
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-blue {
  background: var(--blue-dark);
  color: var(--white);
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-lead {
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.section-blue .section-lead,
.section-blue .muted {
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-blue .eyebrow,
.hero .eyebrow {
  color: var(--yellow);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 203, 5, 0.32), transparent 24%),
    linear-gradient(135deg, rgba(14, 77, 164, 0.94), rgba(6, 38, 90, 0.98));
  content: "";
}

.hero > .container {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: 680px;
  padding: 54px 0 68px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 650px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.badge-dark {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue-dark);
}

.hero-photo-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
  box-shadow: var(--shadow);
}

.hero-photo-card img {
  width: 100%;
  height: clamp(360px, 48vw, 560px);
  border-radius: 20px;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 250px;
  border-radius: 16px;
  background: var(--yellow);
  color: var(--text);
  padding: 14px 16px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.hero-form-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-form-card h2,
.form-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.05;
}

.form-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.checkbox {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d7dfeb;
  border-radius: 12px;
  background: #fff;
  padding: 11px 12px;
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14, 77, 164, 0.12);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 600;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.stepper {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
}

.step-dot {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--line);
}

.step-dot.is-active {
  background: var(--yellow);
}

.success-message {
  display: none;
  border-radius: 16px;
  background: #ecfdf3;
  color: var(--success);
  padding: 18px;
  font-weight: 900;
}

.js-form.is-success .form-step,
.js-form.is-success .form-grid,
.js-form.is-success .checkbox,
.js-form.is-success .form-submit,
.js-form.is-success .stepper {
  display: none;
}

.js-form.is-success .success-message {
  display: block;
}

.bio-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.fact-card,
.program-card,
.news-card,
.project-card,
.quote-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.program-card:hover,
.news-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.fact-card strong,
.stat strong {
  display: block;
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.fact-card span,
.stat span {
  color: var(--muted);
  font-weight: 700;
}

.bio-panel {
  border-radius: 22px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.bio-panel ul,
.clean-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.bio-panel li,
.clean-list li {
  display: flex;
  gap: 10px;
}

.bio-panel li::before,
.clean-list li::before {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
  flex: 0 0 8px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-card {
  min-height: 210px;
  color: var(--text);
}

.program-card .icon-wrap,
.icon-wrap {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(14, 77, 164, 0.1);
  color: var(--blue);
}

.program-card h3,
.news-card h3,
.project-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.12;
}

.program-card p,
.news-card p,
.project-card p,
.quote-card p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 203, 5, 0.92), rgba(255, 210, 0, 0.92)),
    var(--yellow);
  color: var(--text);
  padding: 32px;
  box-shadow: var(--shadow);
}

.cta-band .section-title {
  max-width: 680px;
  margin-bottom: 8px;
}

.trust-grid,
.news-grid,
.project-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  padding: 22px;
}

.section-blue .stat strong {
  color: var(--yellow);
}

.section-blue .stat span {
  color: rgba(255, 255, 255, 0.76);
}

.how-list {
  counter-reset: steps;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  position: relative;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  padding: 16px 16px 16px 64px;
}

.how-list li::before {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--text);
  counter-increment: steps;
  content: counter(steps);
  font-weight: 900;
}

.news-card {
  overflow: hidden;
  padding: 0;
}

.news-card img,
.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.news-content,
.project-content {
  padding: 18px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(14, 77, 164, 0.1);
  color: var(--blue);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}

.obereg-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  border-radius: 28px;
  background: var(--white);
  padding: 18px;
  box-shadow: var(--shadow);
}

.obereg-card img {
  width: 100%;
  min-height: 330px;
  border-radius: 20px;
  object-fit: cover;
}

.obereg-content {
  padding: 18px;
}

.footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

.max-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--text);
  padding: 12px 18px;
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(16, 24, 40, 0.22);
}

.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  background: rgba(6, 38, 90, 0.68);
  padding: 18px;
}

.exit-popup.is-visible {
  display: grid;
}

.popup-card {
  position: relative;
  width: min(100%, 520px);
  border-radius: 24px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow);
}

.popup-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 34px;
  line-height: 1;
}

.popup-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  font-size: 26px;
}

.preview-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 70px 0;
}

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

.preview-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  padding: 22px;
}

.preview-card.is-selected {
  border-color: var(--yellow);
  background: rgba(255, 203, 5, 0.16);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.selected-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--text);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 28px;
}

body.variant-modern {
  --blue: #135ec2;
  --blue-dark: #071f4f;
  --bg: #f3f7ff;
  --radius: 22px;
}

.variant-modern .hero::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, 0.3), transparent 25%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #071f4f, #135ec2);
}

.variant-modern .hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
}

.variant-modern .hero-photo-card {
  order: -1;
}

.variant-modern .program-grid {
  grid-template-columns: repeat(2, 1fr);
}

.variant-modern .program-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: auto;
}

.variant-modern .program-card .icon-wrap {
  margin-bottom: 0;
}

body.variant-official {
  --blue: #0b438f;
  --blue-dark: #081f46;
  --bg: #f6f5f1;
  --font-head: Georgia, "PT Serif", serif;
}

.variant-official .hero::before {
  background:
    linear-gradient(90deg, rgba(8, 31, 70, 0.96), rgba(8, 31, 70, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(255, 203, 5, 0.25), transparent 28%);
}

.variant-official .hero h1 {
  text-transform: none;
  letter-spacing: -0.04em;
}

.variant-official .fact-card,
.variant-official .program-card,
.variant-official .news-card,
.variant-official .form-card {
  border-radius: 8px;
}

.variant-official .btn,
.variant-official .field input,
.variant-official .field textarea,
.variant-official .field select {
  border-radius: 8px;
}

body.variant-design {
  --blue: #0e4da4;
  --blue-dark: #071b49;
  --blue-deep: #031436;
  --yellow: #ffd200;
  --bg: #eef4ff;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 210, 0, 0.24), transparent 26%),
    linear-gradient(180deg, #eef4ff 0%, #ffffff 38%, #eef4ff 100%);
}

.variant-design .site-header {
  background: rgba(7, 27, 73, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.variant-design .brand-subtitle,
.variant-design .nav,
.variant-design .phone-link {
  color: rgba(255, 255, 255, 0.76);
}

.variant-design .brand-title,
.variant-design .nav a:hover,
.variant-design .nav a:focus-visible,
.variant-design .phone-link {
  color: var(--white);
}

.variant-design .menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.design-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background:
    linear-gradient(135deg, rgba(3, 20, 54, 0.96) 0%, rgba(7, 27, 73, 0.92) 54%, rgba(14, 77, 164, 0.88) 100%),
    var(--blue-dark);
  color: var(--white);
}

.design-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 0 49%, rgba(255, 210, 0, 0.94) 49.2% 52.6%, transparent 52.8%),
    radial-gradient(circle at 78% 16%, rgba(255, 210, 0, 0.28), transparent 20%);
  content: "";
  pointer-events: none;
}

.design-hero::after {
  position: absolute;
  inset: auto -10% -34% 46%;
  height: 440px;
  transform: rotate(-8deg);
  background: rgba(255, 210, 0, 0.92);
  content: "";
}

.design-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 36px;
  align-items: center;
  min-height: 760px;
  padding: 56px 0 72px;
}

.design-hero-grid > * {
  min-width: 0;
}

.design-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.design-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(54px, 9vw, 116px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.design-title mark {
  display: inline-block;
  transform: rotate(-1deg);
  background: var(--yellow);
  color: var(--text);
  padding: 0 0.08em 0.04em;
}

.design-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
}

.design-route {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.route-card {
  display: grid;
  gap: 8px;
  min-height: 136px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.11);
  padding: 20px;
  color: var(--white);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.route-card strong {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1;
}

.route-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.route-card.is-primary {
  background: var(--yellow);
  color: var(--text);
}

.route-card.is-primary span {
  color: rgba(16, 24, 40, 0.72);
}

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

.hero-proof-grid div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  padding: 14px;
}

.hero-proof-grid strong {
  display: block;
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.hero-proof-grid span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.design-photo-stack {
  position: relative;
  min-height: 620px;
}

.design-main-photo {
  position: absolute;
  inset: 0 10% 0 8%;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.13);
  border-radius: 36px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
}

.design-main-photo img,
.design-mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-mini-photo {
  position: absolute;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.3);
}

.design-mini-photo.one {
  right: 0;
  top: 28px;
  width: 42%;
  height: 190px;
}

.design-mini-photo.two {
  left: 0;
  bottom: 40px;
  width: 46%;
  height: 220px;
}

.design-seal {
  position: absolute;
  right: 5%;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(16, 24, 40, 0.12);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--text);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.design-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.design-strip-item {
  min-height: 150px;
  background: var(--blue-dark);
  color: var(--white);
  padding: 24px;
}

.design-strip-item strong {
  display: block;
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 40px;
  line-height: 0.9;
}

.design-strip-item span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.design-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.design-section-head .section-title {
  margin-bottom: 0;
}

.design-program-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.design-program-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.design-program-card:nth-child(1),
.design-program-card:nth-child(5) {
  grid-column: span 6;
}

.design-program-card:nth-child(2),
.design-program-card:nth-child(3),
.design-program-card:nth-child(4),
.design-program-card:nth-child(6),
.design-program-card:nth-child(7),
.design-program-card:nth-child(8) {
  grid-column: span 3;
}

.design-program-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(14, 77, 164, 0.08);
  content: "";
}

.design-program-card h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1;
}

.design-program-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.design-program-card.featured {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
}

.design-program-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.design-program-card.featured .icon-wrap {
  background: rgba(255, 210, 0, 0.16);
  color: var(--yellow);
}

.design-conversion {
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 210, 0, 0.92), rgba(255, 203, 5, 0.98)),
    var(--yellow);
  padding: 18px;
  box-shadow: var(--shadow);
}

.design-conversion-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.64fr);
  gap: 18px;
}

.design-conversion-copy {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.36);
  padding: 32px;
}

.design-conversion-copy .section-title {
  margin-bottom: 14px;
}

.design-form-dark {
  border: 0;
  background: var(--blue-dark);
  color: var(--white);
}

.design-form-dark .form-note,
.design-form-dark .field label,
.design-form-dark .checkbox {
  color: rgba(255, 255, 255, 0.78);
}

.design-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 210px;
  gap: 16px;
}

.design-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: var(--blue-dark);
  box-shadow: var(--shadow-soft);
}

.design-gallery figure:first-child {
  grid-row: span 2;
}

.design-gallery figure:nth-child(4) {
  grid-column: span 2;
}

.design-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-gallery figcaption {
  position: absolute;
  inset: auto 14px 14px;
  border-radius: 16px;
  background: rgba(3, 20, 54, 0.78);
  color: var(--white);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.design-news-line {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.design-news-feature {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: 32px;
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.design-news-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.64;
  object-fit: cover;
}

.design-news-feature div {
  position: absolute;
  inset: auto 24px 24px;
}

.design-news-feature h3 {
  margin: 10px 0;
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.92;
}

.design-news-list {
  display: grid;
  gap: 16px;
}

.design-news-list article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.design-news-list h3 {
  margin: 8px 0;
  font-family: var(--font-head);
  font-size: 25px;
  line-height: 1;
}

body.variant-v5 {
  --blue: #0e4da4;
  --blue-dark: #083f92;
  --blue-deep: #062a66;
  --yellow: #ffcb05;
  --yellow-2: #ffe16a;
  --bg: #f7f9fc;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 203, 5, 0.28), transparent 24%),
    radial-gradient(circle at 10% 28%, rgba(14, 77, 164, 0.12), transparent 26%),
    #f7f9fc;
}

.variant-v5 .top-counter {
  background: var(--blue);
}

.variant-v5 .counter-item {
  background: var(--blue);
}

.variant-v5 .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(14, 77, 164, 0.14);
  color: var(--text);
}

.variant-v5 .brand-title,
.variant-v5 .nav a:hover,
.variant-v5 .nav a:focus-visible,
.variant-v5 .phone-link {
  color: var(--blue-deep);
}

.variant-v5 .brand-subtitle,
.variant-v5 .nav {
  color: var(--muted);
}

.variant-v5 .menu-toggle {
  background: var(--white);
  border-color: var(--line);
  color: var(--blue-deep);
}

.variant-v5 .design-hero {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.96) 0 42%, rgba(14, 77, 164, 0.96) 42.2% 100%),
    var(--white);
  color: var(--text);
}

.variant-v5 .design-hero::before {
  background:
    linear-gradient(118deg, transparent 0 45%, rgba(255, 203, 5, 0.96) 45.2% 49.4%, transparent 49.6%),
    radial-gradient(circle at 78% 18%, rgba(255, 203, 5, 0.42), transparent 24%);
}

.variant-v5 .design-hero::after {
  background: rgba(255, 203, 5, 0.88);
  opacity: 0.72;
}

.variant-v5 .design-kicker {
  border-color: rgba(14, 77, 164, 0.18);
  background: rgba(14, 77, 164, 0.08);
  color: var(--blue);
}

.variant-v5 .design-title {
  color: var(--blue-deep);
}

.variant-v5 .design-title mark {
  background: var(--blue);
  color: var(--white);
}

.variant-v5 .design-lead {
  color: var(--muted);
}

.variant-v5 .route-card {
  border-color: rgba(14, 77, 164, 0.16);
  background: rgba(255, 255, 255, 0.76);
  color: var(--blue-deep);
  box-shadow: var(--shadow-soft);
}

.variant-v5 .route-card span {
  color: var(--muted);
}

.variant-v5 .route-card.is-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
  color: var(--text);
}

.variant-v5 .badge {
  border-color: rgba(14, 77, 164, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue-deep);
}

.variant-v5 .design-main-photo {
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 90px rgba(14, 77, 164, 0.24);
}

.variant-v5 .design-mini-photo {
  border-color: var(--white);
  box-shadow: 0 24px 55px rgba(14, 77, 164, 0.22);
}

.variant-v5 .design-seal {
  background: var(--blue);
  color: var(--white);
}

.variant-v5 .design-strip {
  background: #dce8f8;
}

.variant-v5 .design-strip-item {
  background: var(--white);
  color: var(--text);
}

.variant-v5 .design-strip-item strong {
  color: var(--blue);
}

.variant-v5 .design-strip-item span {
  color: var(--muted);
}

.variant-v5 .design-program-card.featured {
  background: linear-gradient(135deg, var(--blue), #0a66d5);
}

.variant-v5 .design-conversion {
  background:
    linear-gradient(135deg, rgba(14, 77, 164, 0.98), rgba(10, 47, 110, 0.98)),
    var(--blue);
}

.variant-v5 .design-conversion-copy {
  background: var(--white);
}

.variant-v5 .design-conversion-copy .eyebrow {
  color: var(--blue) !important;
}

.variant-v5 .design-form-dark {
  background: var(--white);
  color: var(--text);
}

.variant-v5 .design-form-dark .form-note,
.variant-v5 .design-form-dark .field label,
.variant-v5 .design-form-dark .checkbox {
  color: var(--muted);
}

.variant-v5 .design-news-feature {
  background: var(--blue);
}

.variant-v5 .footer {
  background: var(--blue-deep);
}

@media (max-width: 1100px) {
  .design-program-card:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .nav {
    position: fixed;
    inset: 118px 16px auto;
    z-index: 100;
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  body.menu-open .nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .phone-link {
    display: none;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .variant-design body.menu-open .nav,
  body.variant-design.menu-open .nav {
    background: var(--blue-dark);
  }

  body.variant-v5.menu-open .nav {
    background: var(--white);
  }
}

@media (max-width: 860px) {
  .counter-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-counter {
    position: sticky;
    top: 0;
  }

  .counter-item {
    flex-direction: column;
    gap: 1px;
    min-height: 50px;
    font-size: 10px;
    line-height: 1.05;
  }

  .counter-number {
    font-size: 15px;
  }

  .site-header {
    top: 50px;
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-mark {
    width: 56px;
    flex: 0 0 56px;
  }

  .header-actions .btn {
    display: none;
  }

  body.menu-open .nav {
    inset: 124px 16px auto;
  }

  .hero-grid,
  .bio-grid,
  .split-grid,
  .obereg-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 38px 0 50px;
  }

  .variant-modern .hero-photo-card {
    order: 0;
  }

  .fact-grid,
  .trust-grid,
  .news-grid,
  .project-grid,
  .contact-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .program-grid,
  .variant-modern .program-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .cta-band {
    padding: 22px;
  }

  .max-float {
    left: 16px;
    right: 16px;
    justify-content: center;
  }

  .design-hero,
  .design-hero-grid {
    min-height: auto;
  }

  .design-hero-grid,
  .design-section-head,
  .design-conversion-inner,
  .design-news-line {
    grid-template-columns: 1fr;
  }

  .design-photo-stack {
    min-height: 520px;
  }

  .design-main-photo {
    inset: 0 0 64px 0;
  }

  .design-mini-photo.one {
    right: 8px;
    top: 18px;
    width: 46%;
  }

  .design-mini-photo.two {
    left: 8px;
    bottom: 0;
    width: 52%;
  }

  .design-seal {
    right: 16px;
    bottom: 12px;
    width: 118px;
    height: 118px;
    font-size: 13px;
  }

  .design-route,
  .hero-proof-grid,
  .design-strip,
  .design-gallery {
    grid-template-columns: 1fr;
  }

  .design-gallery {
    grid-auto-rows: 260px;
  }

  .design-gallery figure:first-child,
  .design-gallery figure:nth-child(4) {
    grid-row: span 1;
    grid-column: span 1;
  }

  .design-program-wall {
    grid-template-columns: 1fr;
  }

  .design-program-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .top-counter .container,
  .design-hero .container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .design-hero .container {
    padding-inline: 12px;
  }

  .design-hero-grid,
  .design-route,
  .route-card,
  .hero-proof-grid,
  .hero-proof-grid div,
  .badges,
  .badge {
    min-width: 0;
    max-width: 100%;
  }

  .route-card {
    width: 100%;
  }

  .counter-item {
    min-width: 0;
    padding-inline: 2px;
    overflow: hidden;
  }

  .brand-title {
    font-size: 15px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions .btn,
  .inline-actions .btn,
  .form-submit,
  .hero-form-card .btn,
  .form-card .btn {
    width: 100%;
  }

  .hero-photo-card img {
    height: 360px;
  }

  .photo-caption {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .design-title {
    max-width: 100%;
    font-size: 32px;
    line-height: 0.86;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
  }

  .design-lead {
    max-width: 100%;
    font-size: 18px;
  }

  .design-kicker {
    max-width: 100%;
    font-size: 11px;
    padding: 7px 10px;
  }

  .design-title mark {
    display: block;
    width: fit-content;
    max-width: 100%;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }

  .design-photo-stack {
    min-height: 450px;
  }

  .design-mini-photo.one {
    height: 145px;
  }

  .design-mini-photo.two {
    height: 170px;
  }

  .design-conversion,
  .design-conversion-copy {
    border-radius: 22px;
  }
}

/* ═══════════════════════════════════════════════════════════
   V4 — Production styles (bio-strip, social-proofs, news-feed,
   obereg-hero, subscribe-band, trust-numbers)
   ═══════════════════════════════════════════════════════════ */

/* Bio strip — 4 icons in a row */
.bio-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bio-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bio-strip-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.bio-strip-item .icon-wrap {
  margin-bottom: 0;
  flex-shrink: 0;
}

.bio-strip-item h4 {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
}

.bio-strip-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* Social proof — trust numbers + reviews */
.trust-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px 16px;
  box-shadow: var(--shadow-soft);
}

.stat-card .stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1;
}

.stat-card .stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* Quote / review cards */
.quote-card {
  border-left: 4px solid var(--yellow);
  padding-left: 24px;
}

.quote-card p {
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
}

.quote-card .quote-author {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 800;
  color: var(--blue-dark);
}

/* News feed — Dzen-style */
.news-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card-feed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card-feed:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.news-card-feed img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-feed .news-body {
  padding: 18px;
}

.news-card-feed .tag {
  margin-bottom: 8px;
}

.news-card-feed h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.news-card-feed p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.news-card-feed .news-date {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* Subscribe band */
.subscribe-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px 20px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.subscribe-btn svg {
  width: 22px;
  height: 22px;
}

/* Obereg hero section */
.obereg-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
}

.obereg-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 203, 5, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(10, 47, 110, 0.92), rgba(6, 38, 90, 0.96));
  content: "";
}

.obereg-hero > .container {
  position: relative;
}

.obereg-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 64px 0;
}

.obereg-hero-grid img {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  object-fit: cover;
}

.obereg-hero-content .eyebrow {
  color: var(--yellow);
}

.obereg-hero-content .section-title {
  color: var(--white);
}

.obereg-hero-content p {
  color: rgba(255, 255, 255, 0.8);
}

/* Contacts map section */
.contacts-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card-v2 {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px 18px;
  box-shadow: var(--shadow-soft);
}

.contact-card-v2 .icon-wrap {
  margin: 0 auto 16px;
}

.contact-card-v2 h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
}

.contact-card-v2 p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-card-v2 a {
  color: var(--blue);
  font-weight: 700;
}

/* Final CTA band */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  padding: 64px 0;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 203, 5, 0.2), transparent 35%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  content: "";
}

.final-cta > .container {
  position: relative;
  text-align: center;
}

.final-cta .section-title {
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 28px;
}

.final-cta .inline-actions {
  justify-content: center;
}

/* Gallery strip for SVO / Obereg */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.gallery-strip img {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.gallery-strip img:hover {
  transform: scale(1.04);
}

/* Poster-style headings for program */
.program-grid-v2 .program-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.program-grid-v2 .program-card .icon-wrap {
  margin-bottom: 14px;
}

.program-grid-v2 .program-card h3 {
  font-family: var(--font-poster);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 18px;
}

/* Mobile adjustments for v4 sections */
@media (max-width: 860px) {
  .bio-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-feed {
    grid-template-columns: 1fr;
  }

  .obereg-hero-grid {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }

  .obereg-hero-grid img {
    height: 280px;
  }

  .contacts-grid-v2 {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .bio-strip {
    grid-template-columns: 1fr;
  }

  .trust-numbers {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .subscribe-band {
    flex-direction: column;
  }

  .subscribe-btn {
    width: 100%;
    justify-content: center;
  }
}
