:root {
    --c-red: #DD0003;
    --c-red-dark: #B70002;
    --c-blue: #1579C1;
    --c-blue-dark: #0E5E97;
    --c-blue-light: #E8F2FB;
    --c-bg: #FFFFFF;
    --c-bg-soft: #F5F7FA;
    --c-text: #15171A;
    --c-text-muted: #5B6470;
    --c-border: #E5E8EE;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 6px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container: 1280px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { overflow-x: hidden; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Montserrat', sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  img { max-width: 100%; display: block; }

  .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ===== HEADER ===== */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 26, 42, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  }
  .header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: var(--c-border);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  }
  /* Transparent state (over hero) — light text */
  .header:not(.scrolled) .brand-text { color: #fff; }
  .header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.95); }
  .header:not(.scrolled) .nav-link:hover { color: #fff; }
  .header:not(.scrolled) .nav-link::after { background: #fff; }
  .header:not(.scrolled) .nav {
    border-top-color: rgba(255, 255, 255, 0.15);
  }
  .header:not(.scrolled) .icon-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
  .header:not(.scrolled) .icon-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }
  .header:not(.scrolled) .dropdown a { color: var(--c-text); }
  .header:not(.scrolled) .btn-primary {
    box-shadow: 0 4px 14px rgba(221, 0, 3, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }
  .brand-logo {
    width: 48px;
    height: 40px;
    flex-shrink: 0;
  }
  .brand-text {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--c-text);
    max-width: 280px;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    color: var(--c-text);
  }
  .icon-btn:hover {
    background: var(--c-blue-light);
    color: var(--c-blue);
  }
  .icon-btn svg { width: 18px; height: 18px; }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-red);
    color: #fff;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all .2s ease;
    box-shadow: 0 4px 14px rgba(221, 0, 3, 0.25);
  }
  .btn-primary:hover {
    background: var(--c-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(221, 0, 3, 0.35);
  }
  .btn-primary svg { width: 16px; height: 16px; }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1.5px solid var(--c-blue);
    color: var(--c-blue);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
  }
  .btn-outline:hover {
    background: var(--c-blue);
    color: #fff;
  }

  /* ===== NAV ===== */
  .nav {
    border-top: 1px solid var(--c-border);
    padding: 4px 0;
  }
  .nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav-item {
    position: relative;
  }
  .nav-link {
    display: inline-block;
    padding: 16px 18px;
    font-weight: 500;
    font-size: 15px;
    color: var(--c-text);
    transition: color .2s ease;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
  }
  .nav-link:hover { color: var(--c-red); }
  .nav-link:hover::after { transform: scaleX(1); }

  .nav-item.has-dropdown > .nav-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    margin-right: 8px;
    opacity: 0.6;
  }
  .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .2s ease;
    border: 1px solid var(--c-border);
  }
  .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    transition: all .15s ease;
  }
  .dropdown a:hover {
    background: var(--c-blue-light);
    color: var(--c-blue);
  }

  /* ===== HERO SLIDER ===== */
  .hero {
    position: relative;
    width: 100vw;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    margin-left: calc(-50vw + 50%);
  }
  .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease;
  }
  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
  }
  .hero-slide.active .hero-inner > * {
    animation: heroFadeUp .9s cubic-bezier(.2,.8,.2,1) both;
  }
  .hero-slide.active .hero-inner > *:nth-child(1) { animation-delay: .15s; }
  .hero-slide.active .hero-inner > *:nth-child(2) { animation-delay: .3s; }
  .hero-slide.active .hero-inner > *:nth-child(3) { animation-delay: .45s; }
  .hero-slide.active .hero-inner > *:nth-child(4) { animation-delay: .6s; }
  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    background: #0d1f33;
  }
  video.hero-bg {
    pointer-events: none;
  }
  .hero-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-fallback-1 {
    background:
      radial-gradient(circle at 20% 30%, rgba(21, 121, 193, 0.6), transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(221, 0, 3, 0.4), transparent 50%),
      linear-gradient(135deg, #1a3a5c 0%, #0d1f33 100%);
  }
  .hero-fallback-2 {
    background:
      radial-gradient(circle at 75% 25%, rgba(221, 0, 3, 0.5), transparent 55%),
      radial-gradient(circle at 15% 80%, rgba(21, 121, 193, 0.45), transparent 50%),
      linear-gradient(120deg, #2c1518 0%, #0d1f33 60%, #1a3a5c 100%);
  }
  .hero-fallback-3 {
    background-image:
      linear-gradient(120deg, rgba(13, 31, 51, 0.45) 0%, rgba(21, 121, 193, 0.25) 100%),
      radial-gradient(ellipse at 70% 40%, #4A7CAF 0%, #1F4870 40%, #0D1F33 100%);
    background-size: cover;
    background-position: center;
  }
  .hero-fallback-3::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(135deg, transparent 0 80px, rgba(255,255,255,0.03) 80px 81px);
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 31, 51, 0.78) 0%, rgba(13, 31, 51, 0.45) 60%, rgba(13, 31, 51, 0.25) 100%);
    z-index: 1;
  }
  .hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .hero-inner {
    padding: 140px 0 140px;
    max-width: 760px;
    width: 100%;
  }

  /* Arrows */
  .hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
  }
  .hero-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-50%) scale(1.05);
  }
  .hero-arrow:active { transform: translateY(-50%) scale(.95); }
  .hero-arrow-prev { left: 28px; }
  .hero-arrow-next { right: 28px; }
  .hero-arrow svg { width: 22px; height: 22px; }

  /* Dots */
  .hero-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(13, 31, 51, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .hero-dot {
    width: 36px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all .35s cubic-bezier(.2,.8,.2,1);
    position: relative;
    overflow: hidden;
  }
  .hero-dot:hover:not(.active) { background: rgba(255, 255, 255, 0.6); }
  .hero-dot.active {
    background: rgba(255, 255, 255, 0.25);
    width: 64px;
  }
  .hero-dot.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    transform-origin: left;
    animation: heroDotProgress 7s linear forwards;
  }
  @keyframes heroDotProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }

  @media (max-width: 720px) {
    .hero-arrow { width: 44px; height: 44px; }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    .hero-arrow svg { width: 18px; height: 18px; }
    .hero-dots { bottom: 20px; }
    .hero-dot { width: 28px; }
    .hero-dot.active { width: 48px; }
  }
  .hero-eyebrow {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .hero-title .accent {
    background: linear-gradient(120deg, #fff 0%, #B9DEFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero-desc {
    font-size: 18px;
    line-height: 1.55;
    max-width: 600px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.92);
  }
  .hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn-hero {
    padding: 16px 30px;
    font-size: 16px;
  }
  .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all .2s ease;
    backdrop-filter: blur(6px);
  }
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
  }

  /* ===== SECTIONS ===== */
  .section { padding: 90px 0; }
  .section-soft { background: var(--c-bg-soft); }

  .section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 24px;
    flex-wrap: wrap;
  }
  .section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-blue);
    font-weight: 600;
    font-size: 15px;
    transition: gap .2s ease;
  }
  .link-more:hover { gap: 12px; }
  .link-more svg { width: 18px; height: 18px; }

  /* ===== ABOUT ===== */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
  }
  .about-lead {
    font-size: 18px;
    color: var(--c-text);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 640px;
  }
  .about-card {
    background: var(--c-bg-soft);
    border-radius: var(--radius-md);
    padding: 28px 28px 28px 28px;
    border-left: 4px solid var(--c-blue);
    margin-bottom: 28px;
  }
  .about-card p {
    margin-bottom: 14px;
    color: var(--c-text);
  }
  .about-card p:last-child { margin-bottom: 0; }

  .about-person {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
  }
  .about-photo {
    position: relative;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #E8F2FB 0%, #C7DEF2 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
  }
  .about-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.6), transparent 60%);
  }
  .about-photo svg {
    width: 90%;
    height: 90%;
    position: relative;
    z-index: 1;
  }
  .about-photo-name {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  .about-photo-name .surname {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 6px;
  }
  .about-photo-name .firstname {
    font-size: 17px;
    font-weight: 500;
  }
  .about-contact {
    padding: 24px 28px 28px;
  }
  .about-contact-desc {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
  }
  .contact-row svg {
    width: 18px;
    height: 18px;
    color: var(--c-red);
    flex-shrink: 0;
  }
  .contact-row a:hover { color: var(--c-blue); }

  /* ===== В ПОМОЩЬ ===== */
  .help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .help-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
  }
  .help-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
  }
  .help-card:hover::before { transform: scaleX(1); }
  .help-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--c-text);
  }
  .help-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--c-text-muted);
    font-size: 14px;
  }
  .help-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-blue-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-blue);
    transition: all .25s ease;
  }
  .help-card:hover .help-card-arrow {
    background: var(--c-red);
    color: #fff;
    transform: rotate(-45deg);
  }
  .help-card-arrow svg { width: 14px; height: 14px; }

  .center { text-align: center; margin-top: 36px; }

  /* ===== PRESS CENTER ===== */
  .tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--c-border);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text-muted);
    position: relative;
    transition: color .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: inherit;
  }
  .tab svg { width: 18px; height: 18px; opacity: 0.7; }
  .tab.active {
    color: var(--c-red);
  }
  .tab.active svg { opacity: 1; color: var(--c-red); }
  .tab.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: var(--c-red);
    border-radius: 3px 3px 0 0;
  }
  .tab:hover:not(.active) { color: var(--c-text); }

  /* Press slider */
  .press-slider {
    position: relative;
  }
  .press-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 4px 16px;
    margin: -8px -4px 0;
  }
  .press-track::-webkit-scrollbar { display: none; }
  .press-track .news-card {
    flex: 0 0 calc((100% - 60px) / 4);
    scroll-snap-align: start;
    min-width: 260px;
  }
  .press-arrow {
    position: absolute;
    top: 130px;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--c-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text);
    cursor: pointer;
    transition: all .25s ease;
  }
  .press-arrow:hover {
    background: var(--c-red);
    color: #fff;
    border-color: var(--c-red);
    transform: translateY(-50%) scale(1.05);
  }
  .press-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
  }
  .press-arrow svg { width: 18px; height: 18px; }
  .press-arrow-prev { left: -20px; }
  .press-arrow-next { right: -20px; }
  @media (max-width: 720px) {
    .press-arrow { display: none; }
  }
  .news-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
  }
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .news-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #E8F2FB 0%, #C7DEF2 50%, #1579C1 100%);
    position: relative;
    overflow: hidden;
  }
  .news-img.v2 { background: linear-gradient(135deg, #FFE5E5 0%, #FFB3B3 50%, #DD0003 100%); }
  .news-img.v3 { background: linear-gradient(135deg, #F5F7FA 0%, #B0BBC7 100%); }
  .news-img.v4 { background: linear-gradient(135deg, #E8F2FB 0%, #1579C1 100%); }
  .news-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.06) 14px 15px);
  }
  .news-img svg {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 64px;
    height: 64px;
    color: rgba(255,255,255,0.85);
  }
  .news-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--c-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-excerpt {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--c-text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--c-border);
  }
  .news-meta svg { width: 14px; height: 14px; }

  /* ===== MARQUEE ===== */
  .marquee-section {
    padding: 36px 0;
    background: #fff;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
  }
  .marquee-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-bottom: 24px;
  }
  .marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 60s linear infinite;
    padding: 4px 0;
  }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .marquee-item {
    width: 240px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 14px;
    font-weight: 600;
    font-size: 13px;
    color: var(--c-text);
    border: 1px solid var(--c-border);
    transition: all .25s ease;
    text-align: left;
    line-height: 1.35;
    white-space: normal;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  }
  .marquee-item:hover {
    background: #fff;
    border-color: var(--c-blue);
    color: var(--c-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(21, 121, 193, 0.15);
  }
  .marquee-item svg {
    width: 36px;
    height: 36px;
    color: var(--c-blue);
    flex-shrink: 0;
    transition: color .25s ease;
  }
  .marquee-item:hover svg { color: var(--c-red); }

  /* ===== CONTACT ===== */
  .contact-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .contact-info {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
  }
  .contact-block {
    padding: 18px 0;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .contact-block:last-of-type { border-bottom: none; padding-bottom: 8px; }
  .contact-block:first-of-type { padding-top: 0; }
  .contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(221, 0, 3, 0.08);
    color: var(--c-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .contact-icon svg { width: 20px; height: 20px; }
  .contact-block-label {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 4px;
    font-weight: 500;
  }
  .contact-block-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.4;
  }
  .contact-block-value a:hover { color: var(--c-blue); }

  .contact-cta { margin-top: 22px; }
  .contact-cta .btn-primary { width: 100%; justify-content: center; }

  .map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    min-height: 480px;
    position: relative;
  }
  .map-wrap iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

  /* ===== FOOTER ===== */
  .footer {
    background: #0F1A2A;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
  .footer-brand-text {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    color: #fff;
    max-width: 280px;
    letter-spacing: 0.02em;
  }
  .footer-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 360px;
  }
  .footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    font-size: 14px;
    transition: color .2s ease;
  }
  .footer-col a:hover { color: #fff; }
  .footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
  }

  /* ===== BURGER + MOBILE MENU ===== */
  .burger {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 14px;
    background: var(--c-bg-soft);
    color: var(--c-text);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
  }
  .burger:hover { background: var(--c-blue-light); color: var(--c-blue); }
  .burger-icon {
    width: 22px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
  }
  .burger-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease, top .3s ease;
  }
  .burger-icon span:nth-child(1) { top: 0; }
  .burger-icon span:nth-child(2) { top: 7px; }
  .burger-icon span:nth-child(3) { top: 14px; }
  .burger.active .burger-icon span:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .burger.active .burger-icon span:nth-child(2) { opacity: 0; }
  .burger.active .burger-icon span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

  .header:not(.scrolled) .burger {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
  .header:not(.scrolled) .burger:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    background: #fff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.15);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    z-index: 250;
    overflow-y: auto;
    padding: 24px 24px 40px;
    display: flex;
    flex-direction: column;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 26, 42, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 240;
  }
  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--c-border);
  }
  .mobile-menu-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-muted);
  }
  .mobile-menu-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    color: var(--c-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
  }
  .mobile-menu-close:hover { background: var(--c-red); color: #fff; }
  .mobile-menu-close svg { width: 16px; height: 16px; }

  .mobile-nav { list-style: none; margin: 0 0 20px; padding: 0; }
  .mobile-nav-item { border-bottom: 1px solid var(--c-border); }
  .mobile-nav-item:last-child { border-bottom: none; }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    transition: color .2s ease;
  }
  .mobile-nav-link:hover { color: var(--c-red); }
  .mobile-nav-link svg { width: 14px; height: 14px; opacity: 0.4; }
  .mobile-nav-sub {
    list-style: none;
    margin: 0 0 14px;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--c-blue-light);
  }
  .mobile-nav-sub a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: color .2s ease;
  }
  .mobile-nav-sub a:hover { color: var(--c-blue); }

  .mobile-menu-cta {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-menu-cta .btn-primary,
  .mobile-menu-cta .bvi-mobile {
    width: 100%;
    justify-content: center;
  }
  .bvi-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    background: var(--c-bg-soft);
    color: var(--c-text);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
  }
  .bvi-mobile:hover { background: var(--c-blue-light); color: var(--c-blue); }
  .bvi-mobile svg { width: 18px; height: 18px; }

  /* ===== SEARCH MODAL ===== */
  .search-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .search-modal.open {
    display: block;
    opacity: 1;
  }
  .search-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 26, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
  }
  .search-card {
    position: absolute;
    top: 12vh;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    max-width: 640px;
    width: calc(100% - 48px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .search-modal.open .search-card {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .search-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-bg-soft);
    color: var(--c-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
  }
  .search-close:hover {
    background: var(--c-red);
    color: #fff;
    transform: rotate(90deg);
  }
  .search-close svg { width: 16px; height: 16px; }
  .search-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 22px;
    color: var(--c-text);
    letter-spacing: -0.01em;
  }
  .search-form {
    display: flex;
    gap: 10px;
    background: var(--c-bg-soft);
    border-radius: 14px;
    padding: 6px 6px 6px 20px;
    align-items: center;
    border: 2px solid transparent;
    transition: border-color .2s ease, background .2s ease;
  }
  .search-form:focus-within {
    border-color: var(--c-blue);
    background: #fff;
  }
  .search-form > svg {
    width: 20px;
    height: 20px;
    color: var(--c-text-muted);
    flex-shrink: 0;
  }
  .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 4px;
    font-size: 16px;
    font-family: inherit;
    color: var(--c-text);
    outline: none;
    min-width: 0;
  }
  .search-input::placeholder { color: var(--c-text-muted); }
  .search-submit {
    background: var(--c-red);
    color: #fff;
    padding: 13px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: background .2s ease;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
  }
  .search-submit:hover { background: var(--c-red-dark); }
  .search-suggestions {
    margin-top: 22px;
  }
  .search-suggestions-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
  }
  .search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .search-tag {
    padding: 8px 14px;
    background: var(--c-bg-soft);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text);
    transition: all .2s ease;
    cursor: pointer;
  }
  .search-tag:hover {
    background: var(--c-blue-light);
    color: var(--c-blue);
    transform: translateY(-1px);
  }
  body.modal-open { overflow: hidden; }
  @media (max-width: 540px) {
    .search-card { padding: 24px 20px; top: 8vh; }
    .search-title { font-size: 18px; margin-bottom: 16px; }
    .search-submit { padding: 12px 16px; font-size: 13px; }
  }

  /* ===== COOKIE BANNER ===== */
  .cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 200;
    max-width: 440px;
    background: #0150A5;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(7, 30, 55, 0.35);
    transform: translateY(120%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
    overflow: hidden;
  }
  .cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
  }
  .cookie-banner.hide {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
  }
  .cookie-inner {
    padding: 22px 24px;
  }
  .cookie-body { margin-bottom: 16px; }
  .cookie-text {
    font-size: 14px;
    line-height: 1.55;
    color: #fff;
    margin: 0;
  }
  .cookie-text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
  }
  .cookie-text a:hover { text-decoration: none; }

  /* Expandable settings */
  .cookie-settings {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .45s cubic-bezier(.2,.8,.2,1), opacity .3s ease, margin-top .3s ease;
  }
  .cookie-settings.expanded {
    max-height: 260px;
    opacity: 1;
    margin-top: 18px;
  }
  .cookie-s-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .cookie-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
  }
  .cookie-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: #fff;
    line-height: 1.3;
  }
  .cookie-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all .2s ease;
    background: transparent;
    margin: 0;
  }
  .cookie-checkbox input:checked {
    background: #F11716;
    border-color: #F11716;
  }
  .cookie-checkbox input:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .cookie-checkbox--disabled {
    opacity: 0.75;
    cursor: not-allowed;
  }
  .cookie-checkbox--disabled input {
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
  }
  .cookie-checkbox--disabled input::after {
    border-color: rgba(255, 255, 255, 0.8) !important;
  }

  .cookie-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .cookie-btn {
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
    border: 1.5px solid transparent;
  }
  .cookie-btn-accept {
    background: #F11716;
    color: #fff;
  }
  .cookie-btn-accept:hover {
    background: #D11010;
    transform: translateY(-1px);
  }
  .cookie-btn-settings {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
  }
  .cookie-btn-settings:hover {
    background: #fff;
    color: #0150A5;
    border-color: #fff;
  }
  .cookie-btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
  }
  @media (max-width: 540px) {
    .cookie-banner {
      left: 12px;
      right: 12px;
      bottom: 12px;
      max-width: none;
    }
    .cookie-inner { padding: 18px; }
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .help-grid { grid-template-columns: repeat(2, 1fr); }
    .press-track .news-card { flex: 0 0 calc((100% - 40px) / 3); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 900px) {
    .nav { display: none; }
    .burger { display: inline-flex; }
    .brand-text { font-size: 11px; max-width: 180px; }
    .icon-btn { width: 38px; height: 38px; }
    .icon-btn svg { width: 16px; height: 16px; }
    .btn-primary { padding: 11px 16px; font-size: 14px; }
    .btn-primary svg { display: none; }
  }
  @media (max-width: 720px) {
    .header-top { gap: 12px; padding: 12px 0; }
    .brand-text { display: none; }
    .help-grid { grid-template-columns: 1fr; }
    .press-track .news-card { flex: 0 0 85%; min-width: 260px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero { min-height: 100vh; min-height: 100svh; }
    .hero-inner { padding: 100px 0 100px; }
    /* Hide the "Обратиться" button on tiny screens, burger has it */
    .header-actions .btn-primary { display: none; }
    .header-actions .icon-btn[id="searchBtn"],
    .header-actions .bvi-open-desktop { display: none; }
  }


  /* ===== ДОРАБОТКИ: карусель полезных ссылок и логотип в историях успеха ===== */
  .useful-links-head {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-bottom: 18px;
  }
  .useful-links-controls { display: flex; gap: 10px; }
  .useful-links-arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-border);
    background: #fff; color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm); transition: all .2s ease;
  }
  .useful-links-arrow:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); transform: translateY(-2px); }
  .useful-links-arrow svg { width: 18px; height: 18px; }
  .useful-links-slider { overflow: hidden; }
  .useful-links-track {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 8px 2px 18px; scrollbar-width: none;
  }
  .useful-links-track::-webkit-scrollbar { display: none; }
  .useful-links-track .marquee-item {
    flex: 0 0 280px; min-height: 92px; scroll-snap-align: start; white-space: normal;
    animation: none !important;
  }
  .news-img .story-card-logo {
    width: 86%; height: 86%; object-fit: contain; display: block; margin: auto;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .16));
  }
  @media (max-width: 720px) {
    .useful-links-head { align-items: flex-start; flex-direction: column; }
    .useful-links-track .marquee-item { flex-basis: 82%; }
  }



  body.inner-page { background: #fff; }
  body.inner-page .header { position: fixed; }
  .header.scrolled .brand-logo path:first-child { fill: #1579C1; }
  .header.scrolled .brand-logo path:last-child { fill: #DD0003; }
  .page-main { padding-top: 150px; min-height: 70vh; }
  .page-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 52px;
    background: linear-gradient(135deg, #0E5E97 0%, #1579C1 50%, #F5F7FA 100%, #fff 100%);
}
  .page-hero:before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(221,0,3,.12), transparent 34%), radial-gradient(circle at 20% 80%, rgba(255,255,255,.25), transparent 38%); }
  .page-hero .container { position: relative; z-index: 1; }
  .breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom: 20px; color: rgba(255,255,255,.82); font-size:14px; font-weight:600; }
  .breadcrumbs a { color: #fff; }
  .page-title { max-width: 930px; color:#fff; font-size: clamp(34px, 5vw, 62px); line-height: 1.05; font-weight: 900; letter-spacing: -.04em; margin-bottom: 16px; }
  .page-subtitle { max-width: 800px; color: rgba(255,255,255,.9); font-size: 18px; }
  .content-section { padding: 56px 0; }
  .content-section.section-soft { background: var(--c-bg-soft); }
  .two-col { display: grid; grid-template-columns: 410px 1fr; gap: 44px; align-items: start; }
  .portrait-card { border-radius: 28px; overflow:hidden; background:#fff; box-shadow: var(--shadow-lg); border:1px solid var(--c-border); position:sticky; top:160px; }
  .portrait-card img { width:100%; aspect-ratio: 1/1.05; object-fit:cover; }
  .portrait-caption { padding: 24px; background: linear-gradient(135deg, var(--c-blue), var(--c-blue-dark)); color:#fff; }
  .portrait-caption strong { display:block; font-size:26px; line-height:1.15; margin-bottom:6px; }
  .bio-text { background:#fff; border:1px solid var(--c-border); border-radius:28px; box-shadow: var(--shadow-md); padding: 34px; }
  .bio-text h2 { font-size:34px; line-height:1.15; margin-bottom:24px; color:var(--c-blue-dark); }
  .bio-text p { margin-bottom: 18px; font-size: 17px; color:var(--c-text); }
  .card-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .info-card, .doc-card, .news-card, .video-card, .success-card { background:#fff; border:1px solid var(--c-border); border-radius:24px; box-shadow: var(--shadow-md); overflow:hidden; transition:.22s ease; }
  .info-card:hover, .doc-card:hover, .news-card:hover, .video-card:hover, .success-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .info-card { padding:28px; }
  .info-card span, .doc-card__num { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:14px; background:var(--c-blue-light); color:var(--c-blue); font-weight:800; margin-bottom:18px; }
  .info-card h3, .doc-card h3, .news-card h3, .video-card h3, .success-card h3 { font-size: 21px; line-height:1.25; margin-bottom:12px; }
  .info-card p, .doc-card p, .news-card p, .success-card p { color:var(--c-text-muted); }
  .doc-card { padding:28px; display:flex; flex-direction:column; min-height:240px; }
  .doc-card .btn-outline { margin-top:auto; align-self:flex-start; }
  .doc-list { display:grid; gap:16px; }
  .doc-item { display:grid; grid-template-columns: 1fr auto; gap: 20px; align-items:center; background:#fff; border:1px solid var(--c-border); border-radius:20px; padding:20px; box-shadow:var(--shadow-sm); }
  .doc-item h3 { font-size:20px; margin-bottom:5px; }
  .doc-meta { color:var(--c-text-muted); font-size:14px; }
  .doc-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
  .btn-small { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:12px; font-weight:700; font-size:14px; border:1px solid var(--c-border); background:#fff; color:var(--c-blue); transition:.2s; }
  .btn-small:hover { border-color:var(--c-blue); background:var(--c-blue-light); }
  .btn-small.primary { background:var(--c-blue); color:#fff; border-color:var(--c-blue); }
  .btn-small.primary:hover { background:var(--c-blue-dark); }
  .news-list { display:grid; gap:18px; }
  .news-row { display:grid; grid-template-columns: 250px 1fr; gap:24px; background:#fff; border:1px solid var(--c-border); border-radius:24px; box-shadow:var(--shadow-md); overflow:hidden; }
  .news-row img { width:100%; height:100%; min-height:190px; object-fit:cover; background:var(--c-bg-soft); }
  .news-row-body { padding:24px; }
  .news-date { color:var(--c-red); font-weight:800; font-size:14px; margin-bottom:8px; }
  .news-row h3 { font-size:24px; line-height:1.2; margin-bottom:10px; }
  .news-row p { color:var(--c-text-muted); margin-bottom:18px; }
  .pagination { display:flex; gap:8px; justify-content:center; margin-top:34px; }
  .pagination a, .pagination span { width:42px; height:42px; display:flex; align-items:center; justify-content:center; border-radius:12px; border:1px solid var(--c-border); font-weight:800; }
  .pagination .active { background:var(--c-blue); color:#fff; border-color:var(--c-blue); }
  .article-layout { display:grid; grid-template-columns: minmax(0, 1fr) 320px; gap:34px; }
  .article-card { background:#fff; border:1px solid var(--c-border); border-radius:28px; box-shadow:var(--shadow-md); overflow:hidden; }
  .article-card>img { width:100%; max-height:460px; object-fit:cover; }
  .article-content { padding:34px; }
  .article-content p { margin-bottom:18px; font-size:17px; color:var(--c-text); }
  .article-side { display:grid; gap:16px; align-content:start; }
  .side-box { background:#fff; border:1px solid var(--c-border); border-radius:22px; box-shadow:var(--shadow-sm); padding:22px; }
  .gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; margin-top:24px; }
  .gallery-grid button { border-radius:18px; overflow:hidden; border:1px solid var(--c-border); }
  .gallery-grid img { width:100%; height:170px; object-fit:cover; }
  .video-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:22px; }
  .video-card video { width:100%; height:210px; object-fit:cover; background:#000; }
  .video-card-body { padding:22px; }
  .success-card { padding:24px; display:flex; gap:18px; align-items:flex-start; }
  .success-card img { width:94px; height:78px; object-fit:contain; flex:0 0 auto; border-radius:16px; background:var(--c-bg-soft); padding:8px; }
  .success-list { display:grid; gap:16px; }
  .accordion-item { background:#fff; border:1px solid var(--c-border); border-radius:20px; box-shadow:var(--shadow-sm); overflow:hidden; }
  .accordion-title { width:100%; padding:22px 24px; display:flex; align-items:center; justify-content:space-between; gap:20px; font-weight:800; text-align:left; color:var(--c-text); }
  .accordion-title span { color:var(--c-blue); }
  .accordion-body { display:none; padding:0 24px 24px; color:var(--c-text-muted); }
  .accordion-item.open .accordion-body { display:block; }
  .pdf-overlay, .gallery-modal { position:fixed; inset:0; z-index:2000; display:none; align-items:center; justify-content:center; background:rgba(9,17,31,.82); padding:24px; }
  .pdf-overlay.show, .gallery-modal.show { display:flex; }
  .pdf-dialog { width:min(1100px, 94vw); height:min(760px, 86vh); background:#fff; border-radius:24px; overflow:hidden; position:relative; box-shadow:var(--shadow-lg); }
  .pdf-dialog iframe { width:100%; height:100%; border:0; }
  .modal-x { position:absolute; right:16px; top:16px; width:42px; height:42px; border-radius:50%; background:#fff; color:var(--c-red); font-size:26px; z-index:2; box-shadow:var(--shadow-md); }
  .gallery-modal img { max-width:min(1000px, 92vw); max-height:86vh; border-radius:24px; box-shadow:var(--shadow-lg); background:#fff; }
  .appeal-modal { position:fixed; inset:0; z-index:2500; display:none; align-items:center; justify-content:center; padding:24px; }
  .appeal-modal.show { display:flex; }
  .appeal-modal__backdrop { position:absolute; inset:0; background:rgba(7,16,32,.78); backdrop-filter: blur(8px); }
  .appeal-modal__dialog { position:relative; z-index:1; width:min(720px, 96vw); max-height:92vh; overflow:auto; background:#fff; border-radius:28px; padding:34px; box-shadow:0 30px 80px rgba(0,0,0,.28); }
  .appeal-modal__close { position:absolute; right:18px; top:16px; width:42px; height:42px; border-radius:50%; background:var(--c-bg-soft); color:var(--c-red); font-size:30px; line-height:1; }
  .appeal-modal__badge { display:inline-flex; color:#fff; background:var(--c-blue); padding:7px 12px; border-radius:999px; font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:14px; }
  .appeal-modal h2 { font-size:36px; line-height:1.1; margin-bottom:8px; }
  .appeal-modal__lead, .appeal-modal__consent { color:var(--c-text-muted); margin-bottom:14px; }
  .appeal-form { display:grid; gap:14px; margin-top:18px; }
  .appeal-form label { display:grid; gap:7px; font-weight:700; color:var(--c-text); }
  .appeal-form input { width:100%; padding:14px 16px; border:1px solid var(--c-border); border-radius:14px; font:inherit; background:#fff; }
  .appeal-form input:focus { outline:2px solid rgba(21,121,193,.22); border-color:var(--c-blue); }
  .file-label span, .file-label small { color:var(--c-text-muted); font-weight:500; }
  .file-label input { padding:12px; }
  .appeal-modal__consent_bottom { margin: 0; font-size:13px; }
  .appeal-submit { justify-content:center; width:100%; margin-top:4px; }
  .apparat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
  .apparat-card { background:#fff; border:1px solid var(--c-border); border-radius:24px; padding:24px; box-shadow:var(--shadow-md); }
  .apparat-card span { color:var(--c-red); font-weight:900; font-size:28px; display:block; margin-bottom:10px; }
  @media (max-width: 1000px) { .two-col, .article-layout { grid-template-columns:1fr; } .portrait-card { position:relative; top:auto; } .card-grid,.video-grid,.apparat-grid { grid-template-columns:repeat(2,1fr); } }
  @media (max-width: 720px) { .page-main { padding-top:98px; } .page-hero { padding:44px 0; } .card-grid,.video-grid,.apparat-grid { grid-template-columns:1fr; } .news-row { grid-template-columns:1fr; } .doc-item { grid-template-columns:1fr; } .doc-actions { justify-content:flex-start; } .gallery-grid { grid-template-columns:1fr; } .bio-text { padding:24px; } }



/* ===== Дополнительные правки: полезные ссылки, пресс-центр, документы ===== */
.press-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.press-block {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: .22s ease;
}
.press-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.press-block__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.press-block__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-blue-light);
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex: 0 0 auto;
}
.press-block__top h3 {
  font-size: 23px;
  line-height: 1.12;
  color: var(--c-blue-dark);
  margin: 0;
}
.press-mini-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.press-mini-card {
  display: block;
  padding: 16px 16px 15px;
  border-radius: 18px;
  border: 1px solid rgba(14, 94, 151, .13);
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  color: var(--c-text);
  transition: .2s ease;
}
.press-mini-card:hover {
  border-color: rgba(21, 121, 193, .34);
  background: #fff;
  transform: translateX(3px);
}
.press-mini-card time,
.press-mini-card .press-mini-date {
  display: block;
  margin-bottom: 6px;
  color: var(--c-red);
  font-size: 13px;
  font-weight: 800;
}
.press-mini-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.28;
  margin-bottom: 6px;
}
.press-mini-card span {
  display: block;
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.45;
}
.press-block__more { margin-top: auto; align-self: flex-start; }
.doc-count,
.section-count,
.documents-total {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(21, 121, 193, .10);
  color: var(--c-blue-dark);
  font-size: 14px;
  font-weight: 800;
}
.doc-count { padding: 8px 13px; margin: 16px 0 18px; }
.section-count { padding: 9px 15px; margin-top: 14px; }
.documents-total {
  padding: 13px 18px;
  margin: 0 0 26px;
  background: linear-gradient(135deg, rgba(21,121,193,.12), rgba(221,0,3,.07));
}
.documents-total span { color: var(--c-text-muted); font-weight: 700; }
@media (max-width: 980px) {
  .press-block-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .press-block { padding: 20px; border-radius: 22px; }
  .press-block__top h3 { font-size: 20px; }
}

/* ==========================================================================
   Правки 31.07.2026 и дополнения для Django-версии
   ========================================================================== */

/* Правка 1: убрать световое наложение на фото Уполномоченного */
.about-photo::before { content: none !important; background: none !important; }
.about-photo { background: var(--c-bg-soft); }

/* Правка 9: «Истории успеха» — заголовки крупнее (нумерация не выводится в шаблоне) */
.accordion-title { font-size: 21px; line-height: 1.35; }
@media (max-width: 720px) { .accordion-title { font-size: 18px; } }

/* Правка 4: «Информационное окно» — карточка без изображения */
.success-card_text { display: block; }

/* Правка 8: детальные страницы без правого меню */
.article-layout_full { display: block; }
.article-layout_full .article-card { max-width: 100%; }

/* Правка 11: интернет-приёмная */
.appeal-form .req { color: var(--c-red); }
.appeal-form .field-label { display: block; font-weight: 700; }
.appeal-form .field-note { font-weight: 500; color: var(--c-text-muted); }
.appeal-form textarea {
  width: 100%; font: inherit; padding: 14px 16px; border: 1px solid var(--c-border);
  border-radius: 14px; background: #fff; resize: vertical; min-height: 130px;
}
.appeal-form textarea:focus { outline: 2px solid rgba(21,121,193,.22); border-color: var(--c-blue); }
.appeal-form label.appeal-consent {
  display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; line-height: 1.45;
}
.appeal-form label.appeal-consent input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--c-red);
}
.appeal-form label.appeal-consent span { font-weight: 500; }

/* Логотип: знак 73x59 из вёрстки, пропорции сохраняются */
.brand-logo { height: 46px; width: auto; object-fit: contain; flex: none; }
.footer-brand .brand-logo { height: 44px; }
@media (max-width: 720px) { .brand-logo { height: 38px; } }

/* Полезные ссылки: текст не вылезает за карточку */
.marquee-item { height: auto !important; min-height: 104px; overflow: hidden; }
.marquee-item > span {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere; min-width: 0; flex: 1 1 auto;
}
.marquee-item > img { width: 62px; height: 46px; object-fit: contain; flex: none; }

/* Сотрудники аппарата (правка 11) */
.staff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.staff-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.staff-card__photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.staff-card__photo_empty { background: linear-gradient(135deg, var(--c-blue-light), #d7e7f6); }
.staff-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.staff-card__name { font-size: 17px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.staff-card__post { font-size: 14px; color: var(--c-text-muted); line-height: 1.45; overflow-wrap: anywhere; }
.staff-card__phone a { font-weight: 700; color: var(--c-blue); white-space: nowrap; }
.staff-card__phone a:hover { color: var(--c-red); }

/* Видео в материалах */
.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius-md); overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-video { margin: 26px 0; }
.article-video__title { margin-top: 10px; color: var(--c-text-muted); font-size: 14px; }
.video-card .video-frame { border-radius: 0; }

/* Список без фото (поиск) */
.news-row_nophoto { grid-template-columns: 1fr !important; }

/* Ничего не должно вылезать за пределы блока */
.news-title, .help-card-title, .press-mini-card strong, .page-title, .hero-title,
.accordion-title, .doc-item h3, .staff-card__name { overflow-wrap: anywhere; }
.article-content img { max-width: 100%; height: auto; }
.article-content table { width: 100%; max-width: 100%; display: block; overflow-x: auto; }

/* Подвал */
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding-top: 22px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.footer-bottom a:hover { color: #fff; }

/* Адаптив для добавленных блоков */
@media (max-width: 1100px) { .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .staff-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* Контакты: без карты блок занимает всю ширину */
.contact-grid:not(:has(.map-wrap)) { grid-template-columns: minmax(0, 620px); }
.contact-grid_solo { grid-template-columns: minmax(0, 620px) !important; }
.appeal-form .req { margin-right: 3px; }

/* Мобильный hero: длинные слова не должны вылезать и попадать под стрелки */
@media (max-width: 720px) {
  .hero-title { font-size: clamp(26px, 8vw, 34px); overflow-wrap: anywhere; hyphens: auto; }
  .hero-inner { padding-right: 8px; }
  .hero-arrow { width: 38px; height: 38px; opacity: .75; }
  .hero-arrow-prev { left: 6px; }
  .hero-arrow-next { right: 6px; }
  .hero-desc { font-size: 15px; }
}

/* Стрелки hero не должны наезжать на текст: на узких экранах — снизу, рядом с точками */
@media (max-width: 720px) {
  .hero-arrow { top: auto; bottom: 18px; transform: none; }
  .hero-arrow-prev { left: calc(50% - 92px); }
  .hero-arrow-next { right: calc(50% - 92px); }
  .hero-dots { bottom: 28px; }
}

/* Поиск: кнопка «Изменить запрос» на странице результатов */
.search-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.search-tag { cursor: pointer; font: inherit; }

/* Подвал: четыре колонки */
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1.1fr; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px)  { .footer-grid { grid-template-columns: 1fr; } }

/* Пагинация: многоточие и счётчик страниц */
.pagination-gap { display: inline-flex; align-items: center; padding: 0 6px; color: var(--c-text-muted); }
.pagination-info { text-align: center; margin-top: 14px; font-size: 14px; color: var(--c-text-muted); }

/* ==========================================================================
   Мобильные доработки
   ========================================================================== */

/* Убираем синюю подсветку при касании (iOS/Android) */
html { -webkit-tap-highlight-color: transparent; }
a, button, .accordion-title, .search-tag, .marquee-item, .news-row, .press-mini-card,
.help-card, .doc-item, .staff-card, input, textarea, select, label {
  -webkit-tap-highlight-color: transparent;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* Текст материалов: выключка по левому краю.
   В базе часть материалов сохранена с text-align: justify — на узком экране
   это даёт огромные разрывы между словами. */
.article-content, .article-content * , .bio-text, .bio-text * {
  text-align: left !important;
}
.article-content p, .bio-text p { overflow-wrap: break-word; hyphens: auto; }

/* Материал: главное фото не обрезается по краям карточки */
.article-card > img { width: 100%; height: auto; display: block; object-fit: cover; }

@media (max-width: 720px) {
  .article-card > img { max-height: 240px; object-fit: cover; }
  .article-content { padding: 18px 16px 24px; }
  .article-content h2, .article-content h3 { font-size: 20px; line-height: 1.3; }
  .article-content p { font-size: 15px; line-height: 1.65; }
  .article-content a { overflow-wrap: anywhere; }
  .content-section { padding: 32px 0; }
}

/* ==========================================================================
   Высота шапки: отступ контента считается от реальной высоты, а не от 150px.
   Значение --header-h выставляет site.js; 150px — запасной вариант.
   ========================================================================== */
.page-main { padding-top: calc(var(--header-h, 150px) + 8px); }

/* Меню не должно переноситься на вторую строку: на промежуточных ширинах
   уменьшаем отступы и кегль, а при нехватке места — прокручиваем по горизонтали. */
/* Меню не переносится на вторую строку. Прокрутку по горизонтали не включаем:
   overflow по любой оси обрезал бы выпадающие списки. Десктопное меню скрыто
   ниже 900px, а до этой ширины пункты помещаются за счёт медиазапросов ниже. */
.nav-list { flex-wrap: nowrap; }
.nav-item { flex: none; }
.nav, .nav-list { overflow: visible; }

@media (max-width: 1500px) {
  .nav-link { padding: 15px 13px; font-size: 14.5px; }
  .nav-list { gap: 4px; }
}
@media (max-width: 1250px) {
  .nav-link { padding: 14px 9px; font-size: 14px; }
  .nav-list { gap: 2px; }
  .brand-text { max-width: 230px; font-size: 11.5px; }
  .header-top { gap: 14px; }
}
@media (max-width: 1050px) {
  .nav-link { padding: 13px 7px; font-size: 13.5px; }
  .brand-text { max-width: 200px; }
}

/* Выпадающие списки не обрезаются прокруткой меню */
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown { z-index: 120; }

/* Пагинация: в исходной вёрстке кнопки были только с цифрами и имели жёсткую
   ширину 42px. У «Назад» и «Вперёд» текст из неё вылезал. */
.pagination { flex-wrap: wrap; row-gap: 8px; align-items: center; }
.pagination a, .pagination span {
  width: auto;
  min-width: 42px;
  padding: 0 14px;
  white-space: nowrap;
}
.pagination .pagination-gap {
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 600;
}
@media (max-width: 600px) {
  .pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 11px; font-size: 14px; }
}

@media (max-width: 980px) {
  .nav-link { padding: 12px 5px; font-size: 13px; }
  .brand-text { max-width: 170px; font-size: 11px; }
}

/* Один слайд на главной: стрелок и точек нет */
.hero_single .hero-arrow, .hero_single .hero-dots { display: none; }

/* У .btn-outline в исходной вёрстке не заданы размеры иконки: SVG без width/height
   занимает 300x150 и выдавливает подпись на несколько строк. */
.btn-outline { white-space: nowrap; flex: none; }
.btn-outline svg { width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   Фотографии материалов: не обрезаем содержимое
   ========================================================================== */

/* Анонс в ленте: фото вписывается целиком, свободное место закрывает
   размытая копия того же снимка — так не остаётся пустых полей. */
.news-row { align-items: stretch; }
.news-row > img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: contain !important;
  background: var(--c-bg-soft);
  padding: 8px;
}
@media (max-width: 720px) {
  .news-row > img { min-height: 0; aspect-ratio: 16/10; padding: 6px; }
}

/* Материал: главное фото и галерея показываются полностью */
.article-card > img { width: 100%; height: auto !important; max-height: none !important; object-fit: contain !important; }

.material-gallery { margin-bottom: 26px; }
.material-gallery__main { margin: 0 0 14px; }
.material-gallery__main img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: var(--c-bg-soft);
  border-radius: var(--radius-md);
  cursor: zoom-in;
}
.material-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.material-gallery__thumb {
  padding: 0; border: 1px solid var(--c-border); background: var(--c-bg-soft);
  border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in;
  aspect-ratio: 4/3; transition: .2s ease;
}
.material-gallery__thumb:hover { border-color: var(--c-blue); box-shadow: var(--shadow-sm); }
.material-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 600px) {
  .material-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
  .material-gallery__main img { max-height: 340px; }
}

/* Окно просмотра изображения */
.gallery-modal img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 8px; }

/* Фото сотрудников и карточки — тоже без обрезки лиц */
.staff-card__photo { object-fit: contain !important; background: var(--c-bg-soft); aspect-ratio: 3/4; }

/* Подпись к видео на главной */
.hero-credit {
  position: absolute; right: 18px; bottom: 16px; z-index: 4;
  font-size: 12px; line-height: 1.3; color: rgba(255,255,255,.75);
  background: rgba(15,26,42,.35); padding: 6px 12px; border-radius: 8px;
  backdrop-filter: blur(4px); max-width: 60vw; text-align: right;
}
@media (max-width: 720px) { .hero-credit { right: 10px; bottom: 10px; font-size: 11px; padding: 5px 9px; } }

/* ==========================================================================
   Списки материалов («Истории успеха», «Информационное окно»)
   Раскрывающийся блок заменён прямой ссылкой: заголовок и дата.
   ========================================================================== */
.material-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.material-item:hover { box-shadow: var(--shadow-md); border-color: var(--c-blue); transform: translateY(-2px); }
.material-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  color: var(--c-text);
}
.material-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.material-link:hover .material-title { color: var(--c-blue); }
.material-date {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-muted);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .material-link { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; }
  .material-title { font-size: 17px; }
  .material-date { white-space: normal; }
}

/* Галерея под текстом (страницы «Информационного окна»): только миниатюры */
.material-gallery_thumbs { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--c-border); }
.material-gallery_thumbs .material-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (max-width: 600px) {
  .material-gallery_thumbs .material-gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* Подвал: текст о согласии с политикой конфиденциальности */
.footer-bottom { align-items: flex-start; }
.footer-policy {
  max-width: 760px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
}
.footer-policy a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
.footer-policy a:hover { color: #fff; }
@media (max-width: 900px) { .footer-policy { max-width: 100%; } }

/* Слово «Уполномоченного» в заголовке — без градиентной заливки, обычный белый */
.hero-title .accent {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #fff !important;
}
