@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600;700;800;900&display=swap');

/* =========================================================
   STYLE.CSS (V3) — MODERN GOV + KAZAKH VIBE + GLOSSY SHINE
   - глубже синий (не темный), фон менее “светит”
   - глянцевый блеск на синем (медленный, с паузой)
   - иконки на полосе слегка “горят” + сильнее при hover
   - совместимость с legacy-классами
========================================================= */

/* =========================
   TOKENS
========================= */
:root{
  /* Surfaces (чуть спокойнее, не белит) */
  --bg:  #F2F6FB;
  --bg2: #E7EFFB;
  --panel:#FFFFFF;
  --panel2:#F6F9FF;

  /* Text */
  --text:#0B1220;
  --muted:#556276;
  --muted2:#6D7B92;

  /* Brand (глубже синий) */
  --primary:#0A347A;
  --primary2:#072B63;
  --primaryHi:#0F56C7;

  --accent:#18B5A6;
  --gold:#D4AF37;

  /* Borders / shadows */
  --border:#E4EAF3;
  --border2: rgba(11,18,32,.10);

  --shadow-sm: 0 8px 18px rgba(11,18,32,.08);
  --shadow-md: 0 12px 32px rgba(11,18,32,.10);
  --shadow-lg: 0 18px 52px rgba(2,6,23,.14);

  /* Radius */
  --r-10:10px;
  --r-12:12px;
  --r-14:14px;
  --r-16:16px;
  --r-22:22px;

  /* Layout */
  --site-max: clamp(1100px, 94vw, 1320px);
  --site-pad: 24px;

  /* Focus ring */
  --focus: 0 0 0 4px rgba(24,181,166,.18);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);

  /* Shine controls */
  --shine-speed: 10.5s;       /* ✅ медленнее */
  --shine-opacity: .72;
  --shine-angle: 10deg;
}

@media (max-width: 520px){
  :root{ --site-pad: 16px; }
}

/* =========================
   BASE / RESET
========================= */
*,
*::before,
*::after{ box-sizing:border-box; }

html,body{ height:100%; }
html, body{ overflow-x:hidden; }
@supports (overflow: clip){
  html, body{ overflow-x:clip; }
}

body{
  margin:0;
  min-height:100vh;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
  color: var(--text);

  /* фон спокойнее + глубже */
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(10,52,122,.12), transparent 60%),
    radial-gradient(800px 420px at 95% 20%, rgba(24,181,166,.09), transparent 55%),
    radial-gradient(700px 360px at 70% 0%, rgba(212,175,55,.06), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

/* Мягкий орнамент поверх фона (деликатнее) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: .22;              /* ✅ меньше “света” */
  background-image:
    radial-gradient(circle at 10px 10px, rgba(10,52,122,.10) 2px, transparent 2.2px),
    radial-gradient(circle at 30px 30px, rgba(24,181,166,.08) 2px, transparent 2.2px);
  background-size: 64px 64px, 64px 64px;
  background-position: 0 0, 16px 16px;
  filter: blur(.35px);
}

main, header, footer, section, .padding-container, .container{
  position: relative;
  z-index: 1;
}

h1,h2,h3,h4,p,ul,ol,li,figure,figcaption,blockquote,dl,dd{ margin:0; padding:0; }
ul,ol{ list-style:none; }

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

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

button{
  cursor:pointer;
  font:inherit;
  border:none;
  background:transparent;
}

:focus-visible{
  outline:none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

/* SR-only */
.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

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

/* =========================
   LAYOUT
========================= */
.padding-container{
  display:block;
  width:100%;
  margin:0 auto;
  min-height:75vh;
}

.container{
  margin:0 auto;
  width:100%;
  max-width: var(--site-max);
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
}

.main_section{ min-height:64vh; }

/* =========================
   HARD STOP: DISABLE OLD SIDEBAR
========================= */
.navbar-container,
.navbar,
.navbar-container-mob,
aside.navbar-container,
aside.navbar,
.nav-content{
  display:none !important;
}

/* =========================
   UTILITIES (legacy)
========================= */
.d-flex{ display:flex; }
.white_text{ color:#fff; }
.gap-20{ gap:20px; }
.gap-40{ gap:40px; }
.fw-400{ font-weight:400; }
.fw-500{ font-weight:500; }
.fw-700{ font-weight:700; }
.justify-content-center{ justify-content:center; }
.justify-content-between{ justify-content:space-between; }
.justify-content-evenly{ justify-content:space-evenly; }
.justify-content-around{ justify-content:space-around; }
.justify-content-end{ justify-content:flex-end; }
.fit-content{ width:fit-content; height:fit-content; }
.align-center{ align-items:center; }
.align-end{ align-items:flex-end; }
.black{ color:#000 !important; }
.pt-40{ padding-top:40px; }
.pt-60{ padding-top:60px; }
.pt-70{ padding-top:70px; }
.mt-20{ margin-top:20px; }
.mt-40{ margin-top:40px; }
.mt-60{ margin-top:60px; }
.mb-20{ margin-bottom:20px; }
.h-100p{ height:100%; }
.w-100p{ width:100%; }
.flex-columt{ flex-direction:column; }
.flex-column{ flex-direction:column; }
.mt-25p{ margin-top:25%; }
.mt-23p{ margin-top:23%; }
.mt-150{ margin-top:150px; }

/* =========================
   TYPO
========================= */
.section-header,
.black_title{
  font-size: clamp(22px, 2.2vw, 32px);
  line-height:1.15;
  letter-spacing:-.2px;
  color: var(--text);
}

.section-header{ margin-bottom: 22px; }
.black_title{ margin: 44px 0 22px; font-weight:700; }

p{ color: var(--text); }
small,.muted{ color: var(--muted); }

/* =========================
   LOGO ANIMATION (legacy)
========================= */
.logo-animated{
  animation: zoomInLogo 700ms var(--ease) forwards;
  transform: scale(.94);
  opacity: 0;
}
@keyframes zoomInLogo{
  to{ transform: scale(1); opacity: 1; }
}

/* =========================
   SHINE (gloss effect)
========================= */
.shine{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.shine::after{
  content:"";
  position:absolute;
  inset:-60% -80%;
  pointer-events:none;
  opacity: var(--shine-opacity);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.26) 50%,
    rgba(255,255,255,.10) 58%,
    transparent 100%
  );
  transform: translateX(-65%) rotate(var(--shine-angle));
  mix-blend-mode: screen;
  animation: shineMove var(--shine-speed) var(--ease) infinite;
}

/* ✅ медленнее + пауза */
@keyframes shineMove{
  0%   { transform: translateX(-65%) rotate(var(--shine-angle)); }
  60%  { transform: translateX(-65%) rotate(var(--shine-angle)); } /* пауза */
  100% { transform: translateX(65%)  rotate(var(--shine-angle)); }
}

@media (prefers-reduced-motion: reduce){
  .shine::after{ animation: none; opacity:.28; }
}

/* =========================
   BUTTONS / INPUTS
========================= */
.btn,
.main-btn,
.big-btn,
.white-btn,
.activities_btn,
.search_form button{
  -webkit-tap-highlight-color: transparent;
}

.main-btn{
  width:100%;
  border-radius: var(--r-14);
  padding: 12px 22px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  color:#fff;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.main-btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  filter: saturate(1.02);
}

/* блеск на кнопке чуть слабее */
.main-btn::after{
  content:"";
  position:absolute;
  inset:-60% -80%;
  pointer-events:none;
  opacity:.55;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.26) 50%,
    rgba(255,255,255,.10) 58%,
    transparent 100%
  );
  transform: translateX(-65%) rotate(var(--shine-angle));
  mix-blend-mode: screen;
  animation: shineMove var(--shine-speed) var(--ease) infinite;
}

.big-btn{
  width:100%;
  border-radius: 999px;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  color:#fff;
  font-weight:600;
  font-size:16px;
  line-height:20px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.big-btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }

.white-btn{
  background:#fff;
  color: var(--text);
  border-radius:999px;
  padding: 12px 18px;
  font-size:15px;
  font-weight:600;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.white-btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }

.search_form{
  max-width:1200px;
  width:100%;
  display:flex;
  gap:14px;
}

.search_form input,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
select{
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  padding: 14px 14px;
  width: 100%;
  background:#fff;
  color: var(--text);
  outline:none;
  transition: box-shadow .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}

.search_form input:focus,
textarea:focus,
input:focus,
select:focus{
  box-shadow: var(--focus);
  border-color: rgba(24,181,166,.45);
}

.search_form button{
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-14);
  max-width: 140px;
  width: 100%;
  color:#fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.search_form button:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }

textarea{
  margin-bottom: 30px;
  font-size: 16px;
  min-height: 120px;
}

/* =========================
   CARDS
========================= */
.card-surface,
.type_block,
.form_block,
.hero-card,
.activities-block,
.table_block,
.card,
.card-news{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-22);
  box-shadow: var(--shadow-sm);
}

/* hover lift */
.type_block:hover,
.activities-block:hover,
.card:hover,
.card-news:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* =========================
   HERO / HEADER BLOCKS (legacy)
========================= */
.header_block{
  border-radius: var(--r-22);
  padding: 26px;
  width:100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14);
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(900px 420px at 10% 0%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(760px 420px at 100% 30%, rgba(212,175,55,.12), transparent 55%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
}

/* блеск на header_block */
.header_block::after{
  content:"";
  position:absolute;
  inset:-60% -80%;
  pointer-events:none;
  opacity: var(--shine-opacity);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.26) 50%,
    rgba(255,255,255,.10) 58%,
    transparent 100%
  );
  transform: translateX(-65%) rotate(var(--shine-angle));
  mix-blend-mode: screen;
  animation: shineMove var(--shine-speed) var(--ease) infinite;
}

.header-text{
  max-width: 980px;
  width:100%;
  font-size: clamp(26px, 3vw, 40px);
  line-height:1.15;
  color:#fff;
  font-weight: 800;
  letter-spacing: -.3px;
}

.header-second-text,
.add_text{
  max-width: 740px;
  font-size: 16px;
  line-height:1.35;
  color: rgba(255,255,255,.88);
  margin-top: 12px;
}

.title{
  font-weight:800;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height:1.15;
  color:#fff;
  max-width:980px;
}

.title.black{
  text-transform:uppercase;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text) !important;
}

/* =========================
   TYPES / FORMS (legacy)
========================= */
.types{
  display:flex;
  flex-wrap:wrap;
  width:100%;
  gap:16px;
}

.type_block{
  padding: 18px;
  max-width: 664px;
  width: 100%;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.type_block h5{
  font-size:20px;
  font-weight:700;
  margin-top: 18px;
  color: var(--text);
}

.form_block{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  padding: 18px;
  width: 100%;
}

.form_header{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap: 10px;
}

.form_header h4{
  font-weight:800;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height:1.15;
  color: var(--text);
  max-width: 520px;
}

.form_header p{
  font-weight:500;
  font-size: 15px;
  line-height:1.35;
  color: var(--muted);
  max-width: 420px;
}

/* =========================
   ACTIVITIES (legacy)
========================= */
.activities-container{
  width:100%;
  gap:16px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
@media (max-width:560px){
  .activities-container{ grid-template-columns: 1fr; }
}

.activities-block{
  display:flex;
  height: auto;
  min-height: 140px;
  width:100%;
  overflow:hidden;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), filter .15s var(--ease);
}

.activities-img{
  padding: 26px;
  border-right: 1px solid var(--border);
  display:flex;
  justify-content:center;
  align-items:center;

  background:
    radial-gradient(240px 200px at 30% 30%, rgba(10,52,122,.10), transparent 60%),
    linear-gradient(180deg, rgba(10,52,122,.04), transparent);
}
.activities-img img{ max-width:56px; max-height:56px; }

.activities-text{
  padding: 18px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 10px;
}

.activities-text h3{
  font-weight:800;
  font-size: 18px;
  line-height:1.25;
  color: var(--text);
  transition: transform .15s var(--ease);
}

.activities-text a{
  font-size: 14px;
  line-height:1.2;
  text-decoration: underline;
  color: var(--primary);
  opacity: .0;
  transform: translateY(2px);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
}

.activities-block:hover{ filter: saturate(1.02); }
.activities-block:hover .activities-text h3{ transform: translateY(-1px); }
.activities-block:hover a{ opacity: 1; transform: translateY(0); }

.activities_btn{
  max-width: 320px;
  width:100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  border-radius: 999px;
  padding: 12px 16px;
  color:#fff;
  font-weight:700;
  justify-content:center;
  display:flex;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.activities_btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* =========================
   BANNERS / BLUE BLOCKS (legacy)
========================= */
.banner-block,
.blue-block{
  padding: 22px;
  color:#fff;
  border-radius: var(--r-22);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(900px 340px at 20% 10%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(760px 420px at 100% 40%, rgba(212,175,55,.12), transparent 55%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.banner-block::after,
.blue-block::after{
  content:"";
  position:absolute;
  inset:-60% -80%;
  pointer-events:none;
  opacity: var(--shine-opacity);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.26) 50%,
    rgba(255,255,255,.10) 58%,
    transparent 100%
  );
  transform: translateX(-65%) rotate(var(--shine-angle));
  mix-blend-mode: screen;
  animation: shineMove var(--shine-speed) var(--ease) infinite;
}

.banner-block:hover,
.blue-block:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.banner-block{ font-size: clamp(18px, 2vw, 28px); }

.blue-block-title,
.blue-block h3{
  font-weight:900;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height:1.1;
}

/* =========================
   SLIDER / NEWS CARDS (legacy)
========================= */
.slider{
  display:flex;
  width:100%;
  padding:5px 2px;
  overflow-x:auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
}
.slider::-webkit-scrollbar{ height: 8px; }
.slider::-webkit-scrollbar-thumb{ background: rgba(10,52,122,.20); border-radius: 999px; }

.card,
.card-news{
  flex: 0 0 380px;
  overflow:hidden;
  scroll-snap-align: start;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.card img,
.card-news img{
  aspect-ratio: 434 / 290;
  width:100%;
  object-fit: cover;
}

.slider-btn{
  color: var(--text);
  border-radius:999px;
  border: 1px solid var(--border);
  background: #fff;
  width:40px;
  height:40px;
  padding:10px;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.slider-btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }
.slider-btn:last-child img{ transform: rotateZ(180deg); }

.card-text,
.card-news-text{
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.card-text h4,
.card-news-text h4{
  font-weight:900;
  font-size: 14px;
  line-height:1.35;
  color: var(--text);
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}

.card-text p,
.card-news-text p{
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  color: var(--muted);
  margin:0;
}
.card-text p{ -webkit-line-clamp:4; }
.card-news-text p{ -webkit-line-clamp:5; }

.card-text a,
.card-news-text a{
  text-decoration: underline;
  color: var(--primary);
  font-weight: 700;
}

.card-text span,
.card-news-text span{ color: rgba(11,18,32,.45); font-size: 12px; }

/* =========================
   TABLES (legacy)
========================= */
.table_block{
  overflow:hidden;
  padding:0;
  margin-top:15px;
  width:100%;
}

table{ width:100%; border-collapse:separate; border-spacing:0; }

thead{ height:44px; }
thead tr{
  background: linear-gradient(180deg, rgba(10,52,122,.10), rgba(10,52,122,.06));
}

tbody tr:nth-child(2n){ background-color: rgba(10,52,122,.03); }
tbody tr:hover{ background-color: rgba(24,181,166,.07); }

tbody tr td,
.table_block tr th{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(11,18,32,.06);
  font-size: 14px;
}

.table_block tr th{
  font-weight: 900;
  color: var(--text);
}

.table_block button{
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:10px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color:#fff;
  box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.table_block button:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }

.feedback_table td:last-child{ text-align:center; }

/* =========================
   DROPDOWN (legacy)
========================= */
.dropdown{ position:relative; }
.dropdown-content{ display:none; max-height:0; overflow:hidden; }

@keyframes slideDown{
  from{ max-height:0; opacity: .0; transform: translateY(-2px); }
  to{ max-height:260px; opacity: 1; transform: translateY(0); }
}

.dropdown.open .dropdown-content{
  display:block;
  max-height:260px;
  overflow-y:auto;
  border: 1px solid rgba(11,18,32,.14);
  border-radius: 0 0 12px 12px;
  position:absolute;
  width:100%;
  z-index:100;
  background:#fff;
  box-shadow: var(--shadow-md);
  animation: slideDown .25s var(--ease);
}

.dropdown.open .dropdown-content::-webkit-scrollbar{ width:4px; height:8px; }
.dropdown.open .dropdown-content::-webkit-scrollbar-thumb{
  background-color: rgba(10,52,122,.35);
  border-radius: 999px;
}

.drpd-block{ width:100%; padding-right:10px; }

.dropdown button{
  color: var(--text);
  height:42px;
  background:#fff;
  border-radius: 12px;
  display:flex;
  align-items:center;
  width:220px;
  border: 1px solid rgba(11,18,32,.14);
  justify-content:space-between;
  padding:10px 12px;
  box-shadow: 0 6px 16px rgba(11,18,32,.06);
}
.dropdown button img{ width:18px; height:auto; opacity:.8; }
.dropdown.open button{ border-radius: 12px 12px 0 0; }

/* =========================
   VIDEO (legacy)
========================= */
.videos-container1{
  display:flex;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:16px;
  margin:0 auto;
  max-width:1000px;
  padding:20px;
}

.video-wrapper1{
  width:30%;
  aspect-ratio: 9/16;
  overflow:hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.video-block{
  position:relative;
  width:100%;
  height:40vh;
  overflow:hidden;
  transition: height .4s var(--ease);
  border-radius: var(--r-22);
  margin-bottom:60px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: #000;
}

.video-block--active{ height:70vh; }

.video-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.45));
  z-index:1;
}

.play-button{
  position:absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  z-index:2;
  border: 2px solid rgba(255,255,255,.70);
  padding: 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(0,0,0,.35);
}

video.video-iframe{ min-height:420px; }
.video-iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.video-block--active .video-overlay,
.video-block--active .play-button{ display:none; }

/* =========================
   FOOTER (legacy)
========================= */
.main_footer{
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  position:relative;
  z-index:1000;
  margin-top:72px;
}

.main_footer .container{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 18px;
}

.footer_contacts{
  display:flex;
  flex-direction:column;
  gap:12px;
  color: var(--muted);
}

.copyright{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
  color: var(--muted);
}

.copyright a{
  color: var(--text);
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 700;
}
.copyright a img{ width:22px; height:auto; opacity:.85; }

/* =========================
   FULLSCREEN IMAGE (legacy)
========================= */
.fullscreen-image{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.82);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding: 18px;
}
.fullscreen-image img{
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  object-fit:contain;
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
}

/* =========================================================
   GOV HEADER + BLUE STRIP + HERO
========================================================= */
.gov-header,
.gov-strip{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* layers */
.gov-header{ z-index: 5000; }
.gov-top{ position: relative; z-index: 3; }
.gov-strip{ position: relative; z-index: 1; }
.gov-dd{ position: relative; z-index: 10; }
.gov-dd__panel{ z-index: 9999; }

/* HEADER */
.gov-header{
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top:0;
  backdrop-filter: blur(12px);
}

.gov-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 0;
}

/* brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--text);
  min-width: 200px;
}
.brand__logo{
  height:56px;
  width:auto;
  max-width:160px;
  object-fit:contain;
}
.brand__meta{ display:none; }
.brand.brand--fallback .brand__meta{ display:block; }
.brand__logo.is-broken{ display:none; }

.brand__title{
  font-weight:900;
  letter-spacing:.2px;
  line-height:1.1;
}
.brand__subtitle{
  font-size:13px;
  line-height:1.2;
  color: var(--muted);
  margin-top:2px;
}

/* nav */
.gov-nav{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.gov-nav__link,
.gov-dd__btn{
  color: var(--text);
  padding: 7px 8px;
  font-size: 13.5px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.gov-nav__link:hover,
.gov-dd__btn:hover{
  background: rgba(10,52,122,.08);
  border-color: rgba(10,52,122,.12);
  transform: translateY(-1px);
}

/* caret */
.chev{
  display:inline-block;
  width:10px;
  height:10px;
  margin-left:8px;
  border-right:2px solid rgba(11,18,32,.55);
  border-bottom:2px solid rgba(11,18,32,.55);
  transform: rotate(45deg);
  transition: transform .15s var(--ease);
}
.gov-dd.is-open .chev{ transform: rotate(-135deg); }

/* dropdown */
.gov-dd{ position:relative; }

.gov-dd__panel{
  display:none;
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  min-width: 320px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-14);
  box-shadow: var(--shadow-md);
  padding: 8px;
}
.gov-dd.is-open .gov-dd__panel{
  display:flex;
  flex-direction:column;
}
.gov-dd__panel a{
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
}
.gov-dd__panel a:hover{ background: rgba(10,52,122,.08); }

/* actions */
.gov-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 7px 10px;
  font-size: 13.5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* LOGIN BUTTON */
/* LOGIN BUTTON (FIX) */
.gov-actions .btn.btn--primary{
  background: transparent !important;
  color: var(--primary) !important;
  border-color: rgba(10,52,122,.28) !important;
  box-shadow: 0 0 0 rgba(10,52,122,0) !important;
  transform: translateY(0);

  transition:
    background-color .25s var(--ease),
    color .25s var(--ease),
    border-color .25s var(--ease),
    box-shadow .25s var(--ease),
    transform .15s var(--ease);
}

.gov-actions .btn.btn--primary:hover,
.gov-actions .btn.btn--primary:focus-visible{
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%) !important;
  color:#fff !important;
  border-color: rgba(255,255,255,.22) !important;

  box-shadow:
    0 10px 26px rgba(10,52,122,.22),
    0 0 0 4px rgba(10,52,122,.12) !important;

  transform: translateY(-1px);
}

.gov-actions .btn.btn--primary:active{
  transform: translateY(0) scale(.98);
  box-shadow: 0 0 0 rgba(10,52,122,0) !important;
}

.gov-actions .btn.btn--primary:active{
  transform: translateY(0) scale(.98);
  box-shadow: 0 0 0 rgba(10,52,122,0) !important;
}

.btn--ghost{
  background: transparent;
  border-color: rgba(10,52,122,.20);
}

.lang__panel{ right:0; left:auto; min-width:160px; }
.lang__dot{
  width:10px; height:10px;
  border-radius:50%;
  background: var(--accent);
  display:inline-block;
}

/* burger */
.burger{
  display:none;
  width:40px;
  height:40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-direction:column;
}
.burger span{ width:18px; height:2px; background: rgba(11,18,32,.75); display:block; }

/* BLUE STRIP (с блеском) */
.gov-strip{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(900px 240px at 15% 10%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* блеск по полосе */
.gov-strip::after{
  content:"";
  position:absolute;
  inset:-60% -80%;
  pointer-events:none;
  opacity: var(--shine-opacity);
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.26) 50%,
    rgba(255,255,255,.10) 58%,
    transparent 100%
  );
  transform: translateX(-65%) rotate(var(--shine-angle));
  mix-blend-mode: screen;
  animation: shineMove var(--shine-speed) var(--ease) infinite;
}

/* strip scroll */
.strip-scroll{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:0;
  padding: 10px 0;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
}
.strip-scroll::-webkit-scrollbar{ height:6px; }
.strip-scroll::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.22);
  border-radius:999px;
}

/* item */
.strip-item{
  flex: 1 1 0;
  min-width: 140px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 8px;
  padding: 8px 6px;

  background: transparent !important;
  border: 1px solid transparent;
  border-radius: 0;

  color: rgba(255,255,255,.96);
}
.strip-item + .strip-item{
  border-left: 1px solid rgba(255,255,255,.10);
}

/* icons (✅ чуть горят всегда) */
.si-ico{
  width: 24px;
  height: 24px;
  object-fit:contain;
  opacity:.62; /* было .55 */
  filter: grayscale(1) brightness(0) invert(1);
  /* мягкий glow */
  drop-shadow: 0 0 10px rgba(255,255,255,.14);
  transition: opacity .18s var(--ease), filter .18s var(--ease), transform .18s var(--ease);
}

/* labels */
.strip-item span{
  max-width: 140px;
  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow:hidden;
  text-overflow: ellipsis;

  font-size: 11.5px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .1px;

  color: rgba(255,255,255,.80); /* было .74 */
  transition: color .18s var(--ease), text-shadow .18s var(--ease);
}

/* hover light (✅ сильнее glow) */
.strip-item:hover .si-ico{
  opacity:.98;
  filter: grayscale(0) brightness(0) invert(1);
  transform: translateY(-1px);
  drop-shadow: 0 0 16px rgba(255,255,255,.26);
}
.strip-item:hover span{
  color: rgba(255,255,255,.98);
  text-shadow: 0 1px 12px rgba(255,255,255,.22);
}

/* active */
.strip-item.is-active .si-ico{
  opacity:.98;
  filter: grayscale(0) brightness(0) invert(1);
  drop-shadow: 0 0 18px rgba(255,255,255,.28);
}
.strip-item.is-active span{
  color: rgba(255,255,255,.98);
  text-shadow: 0 1px 12px rgba(255,255,255,.22);
}

/* HERO */
.gov-hero{ padding: 18px 0 10px; }

.hero-card{ padding: 22px; }

.hero-title{
  font-size: clamp(22px, 2.8vw, 34px);
  line-height:1.12;
  margin:0;
  font-weight: 900;
  letter-spacing:-.3px;
}
.hero-sub{
  margin-top:10px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 900px;
}

/* MOBILE */
@media (max-width: 991px){
  .gov-top{ flex-wrap: wrap; }
  .burger{ display:flex; }

  .gov-nav{ display:none; width:100%; padding:10px 0; }
  .gov-nav.is-open{ display:flex !important; flex-direction:column; align-items:flex-start; }

  .gov-dd__panel{
    position: static;
    box-shadow: none;
    margin-top:6px;
    min-width: 100%;
  }

  .brand__logo{ height: 52px; max-width: 150px; }

  .strip-item{ min-width: 130px; }
  .si-ico{ width: 22px; height: 22px; }
  .strip-item span{ font-size: 11px; max-width: 110px; }

  .activities-container{ grid-template-columns: 1fr; }
}

/* =========================
   NY THEME (optional keep)
========================= */
body.is-holiday{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(10,52,122,.12), transparent 60%),
    radial-gradient(760px 420px at 100% 30%, rgba(212,175,55,.12), transparent 55%),
    var(--bg);
}

.ny-pill{
  width:100%;
  margin:12px 0 16px;
  padding:10px 12px;
  border-radius: var(--r-16);
  display:flex;
  align-items:center;
  gap:10px;
  background:
    radial-gradient(700px 120px at 20% 10%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(90deg, rgba(10,52,122,.92), rgba(7,43,97,.92));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow-lg);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  overflow:hidden;
}

.ny-pill__year{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  background: linear-gradient(180deg, rgba(212,175,55,.95), rgba(212,175,55,.72));
  color: rgba(7,15,35,.95);
  font-weight:900;
  letter-spacing:.3px;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.ny-pill__msg{
  font-weight:900;
  font-size:14px;
  line-height:1.2;
}

.ny-pill__close{
  margin-left:auto;
  width:34px;
  height:34px;
  border-radius: var(--r-12);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-size:22px;
  line-height:1;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.ny-pill__close:hover{
  background: rgba(255,255,255,.16);
  transform: translateY(-1px);
}
/* =========================================================
   HOME PAGE — POLISH PACK (override)
   - секции в едином контейнере
   - Activities: аккуратнее + CTA всегда видно
   - Videos: сетка 3/2/1 + красивый контейнер
   - Blue blocks: сетка + кнопка справа (desktop)
   - Swiper news: кнопки/скроллбар в gov стиле
   - Stakeholders: сетка логотипов как “госпортал”
========================================================= */

/* 1) Нормальная ширина и отступы у секций + заголовков */
.padding-container > section{
  padding: 10px 0 22px;
}

.padding-container > section > .black_title{
  max-width: var(--site-max);
  margin: 54px auto 22px;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
}

/* пустые заголовки (у видео секции) — не занимают место */
.black_title:empty{
  display:none;
  margin:0 !important;
  padding:0 !important;
}

/* 2) Activities — более “гос” вид + CTA как pill (видно всегда) */
.activities-container{
  max-width: var(--site-max);
  margin: 0 auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px){
  .activities-container{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .activities-container{ grid-template-columns: 1fr; }
}

.activities-block{
  border-radius: var(--r-22);
  overflow: hidden;
  min-height: 152px;
}

.activities-img{
  width: 94px;
  min-width: 94px;
  padding: 22px;
}

.activities-img img{
  max-width: 46px;
  max-height: 46px;
  opacity: .92;
}

.activities-text{
  padding: 18px 18px 18px;
  gap: 12px;
}

.activities-text h3{
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.1px;
}

.activities-text a{
  opacity: 1;                 /* ✅ CTA видно всегда */
  transform: none;
  text-decoration: none;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;

  padding: 7px 12px;
  border-radius: 999px;

  border: 1px solid rgba(10,52,122,.18);
  background: rgba(10,52,122,.06);
  color: var(--primary);

  font-weight: 800;
  font-size: 13px;

  transition:
    background .22s var(--ease),
    border-color .22s var(--ease),
    color .22s var(--ease),
    transform .15s var(--ease);
}

.activities-block:hover .activities-text a{
  background: rgba(10,52,122,.10);
  border-color: rgba(10,52,122,.26);
  transform: translateY(-1px);
}

/* 3) Videos — сетка 3/2/1 + карточка */
.videos-container1{
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  /* убираем “лишние” старые штуки */
  justify-content: initial;
  flex-wrap: initial;
}

@media (max-width: 980px){
  .videos-container1{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px){
  .videos-container1{ grid-template-columns: 1fr; }
}

.video-wrapper1{
  width: auto;                /* было 30% */
  border-radius: var(--r-22);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #000;
}

.video-iframe1{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

/* 4) Blue blocks — композиция как “официальная плашка” */
.blue-block{
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--r-22);

  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 22px;
  row-gap: 12px;
  align-items: end;
}

.blue-block-title{
  margin: 0;
  max-width: 780px;
}

.blue-block .add_text{
  margin: 0;
  color: rgba(255,255,255,.86);
}

/* кнопка — справа на desktop, снизу на mobile */
.blue-block a{
  justify-self: end;
  align-self: end;
}

/* перебиваем inline margin-top:102px у кнопок */
.blue-block .white-btn{
  margin-top: 14px !important;
  white-space: nowrap;
}

@media (max-width: 820px){
  .blue-block{
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .blue-block a{ justify-self: start; }
  .blue-block .white-btn{ width: auto; }
}

/* лёгкий “kazakh vibe” орнамент в углу (очень деликатно) */
.blue-block::before{
  content:"";
  position:absolute;
  inset:auto auto -18px -18px;
  width: 240px;
  height: 240px;
  opacity: .08;
  pointer-events:none;
  background:
    radial-gradient(circle at 18px 18px, rgba(255,255,255,.8) 2px, transparent 2.2px),
    radial-gradient(circle at 46px 46px, rgba(255,255,255,.7) 2px, transparent 2.2px);
  background-size: 64px 64px, 64px 64px;
  background-position: 0 0, 16px 16px;
  filter: blur(.25px);
}

/* 5) News (Swiper) — оформление как gov UI */
.slider-container.mySwiper{
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);
}

.mySwiper .slider{
  padding: 6px 2px 18px;
}

/* слайд карточки — ровная ширина */
.mySwiper .swiper-slide{
  width: 380px;
}

@media (max-width: 620px){
  .mySwiper .swiper-slide{ width: 320px; }
}

.mySwiper .card{
  border-radius: var(--r-22);
  overflow: hidden;
  transform: translateZ(0);
}

.mySwiper .card-text h4{
  font-size: 14.5px;
  line-height: 1.35;
}

.mySwiper .card-text span{
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,.08);
  background: rgba(255,255,255,.75);
  color: rgba(11,18,32,.62);
}

/* стрелки swiper — круги, аккуратно */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);

  backdrop-filter: blur(10px);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.mySwiper .swiper-button-next:hover,
.mySwiper .swiper-button-prev:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after{
  font-size: 16px;
  font-weight: 900;
  color: rgba(11,18,32,.72);
}

/* scrollbar аккуратнее */
.mySwiper .swiper-scrollbar{
  height: 6px;
  border-radius: 999px;
  background: rgba(10,52,122,.08);
}
.mySwiper .swiper-scrollbar-drag{
  border-radius: 999px;
  background: rgba(10,52,122,.30);
}

/* 6) Stakeholders — сетка логотипов */
.stakeholders-container{
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--site-pad);

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px){
  .stakeholders-container{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .stakeholders-container{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .stakeholders-container{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stakeholder-block{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);

  display:flex;
  align-items:center;
  justify-content:center;

  height: 86px;
  padding: 12px;

  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
}

.stakeholder-block:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,52,122,.20);
}

.stakeholder-block img{
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: saturate(.98);
  opacity: .95;
}

/* 7) Чуть медленнее “зажигание” на кнопке Войти (если ещё быстро) */
.gov-actions .btn.btn--primary{
  transition:
    background-color .36s var(--ease),
    color .36s var(--ease),
    border-color .36s var(--ease),
    box-shadow .36s var(--ease),
    transform .18s var(--ease) !important;
}

/* =========================================================
   HERO (Home) — Modern Gov KZ (scoped)
   вставить в конец style.css
========================================================= */

.hero{
  position: relative;
  padding: clamp(18px, 3.2vw, 36px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);

  /* спокойный фон как в общем стиле */
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(10,52,122,.12), transparent 60%),
    radial-gradient(760px 420px at 95% 25%, rgba(24,181,166,.10), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}

/* орнамент очень деликатно */
.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.18;
  background-image:
    radial-gradient(circle at 10px 10px, rgba(10,52,122,.10) 2px, transparent 2.2px),
    radial-gradient(circle at 30px 30px, rgba(24,181,166,.08) 2px, transparent 2.2px);
  background-size: 64px 64px, 64px 64px;
  background-position: 0 0, 16px 16px;
  filter: blur(.35px);
}

/* если в HTML есть .hero__bg — делаем его мягким декоративным слоем */
.hero__bg{
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.55;
  background:
    radial-gradient(980px 420px at 18% 0%, rgba(10,52,122,.16), transparent 60%),
    radial-gradient(760px 420px at 100% 30%, rgba(24,181,166,.14), transparent 55%);
  mix-blend-mode: multiply;
}

/* контейнер */
.hero__container{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: clamp(14px, 2.2vw, 22px);
  align-items: stretch;
}

/* LEFT CARD */
.heroCard{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--border);
  border-radius: var(--r-22);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);

  padding: clamp(16px, 2.2vw, 24px);
  overflow: hidden;
  position: relative;
}

/* легкий “премиум” блик */
.heroCard::after{
  content:"";
  position:absolute;
  inset:-60% -80%;
  pointer-events:none;
  opacity:.26;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.10) 42%,
    rgba(255,255,255,.24) 50%,
    rgba(255,255,255,.10) 58%,
    transparent 100%
  );
  transform: translateX(-55%) rotate(10deg);
  mix-blend-mode: screen;
}

.heroCard__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.heroBadge{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,52,122,.08);
  border: 1px solid rgba(10,52,122,.14);
  color: var(--primary2);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
}

.heroMini{
  color: rgba(11,18,32,.60);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.heroTitle{
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.3px;
  font-size: clamp(22px, 2.3vw, 36px);
  text-wrap: balance;
}

.heroText p{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ACTIONS — аккуратно в 2 колонки, не ломая длинные подписи */
.heroActions{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

/* Кнопки ТОЛЬКО внутри hero, чтобы не ломать header .btn */
.hero .btn{
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: var(--r-14);
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;

  white-space: normal;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  hyphens: auto;

  transition:
    transform .15s var(--ease),
    box-shadow .18s var(--ease),
    background-color .18s var(--ease),
    border-color .18s var(--ease),
    color .18s var(--ease);
}

.hero .btn--primary{
  color:#fff;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  box-shadow: 0 14px 26px rgba(10,52,122,.18);
}
.hero .btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(10,52,122,.22);
}
.hero .btn--primary:active{
  transform: translateY(0) scale(.99);
}

.hero .btn--soft{
  color: var(--primary2);
  background: rgba(255,255,255,.92);
  border-color: rgba(10,52,122,.18);
  box-shadow: 0 10px 22px rgba(2,6,23,.08);
}
.hero .btn--soft:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.98);
  border-color: rgba(10,52,122,.26);
}
.hero .btn--soft:active{
  transform: translateY(0) scale(.99);
}

/* RIGHT MEDIA CARD */
.mediaCard{
  background: rgba(255,255,255,.90);
  border: 1px solid var(--border);
  border-radius: var(--r-22);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  overflow: hidden;

  display:flex;
  flex-direction: column;
  min-width: 0;
}

.mediaCard__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.82));
}

.dots{ display:flex; gap: 6px; }
.dots span{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(10,52,122,.22);
}

/* tabs */
.tabs{ display:flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tab{
  appearance:none;
  border: 1px solid rgba(10,52,122,.18);
  background: rgba(255,255,255,.86);
  color: rgba(7,43,97,.95);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;

  transition:
    transform .12s var(--ease),
    background .12s var(--ease),
    box-shadow .12s var(--ease),
    border-color .12s var(--ease),
    color .12s var(--ease);
}
.tab:hover{ transform: translateY(-1px); }
.tab.is-active{
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(10,52,122,.18);
}

.mediaCard__body{
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.pane{ display:none; height:100%; }
.pane.is-active{ display:block; height:100%; }

/* Swiper в hero */
.hero .mySwiper{ width:100%; height:100%; }

.hero .slide{
  position: relative;
  display:block;
  width:100%;
  height:100%;
}

.hero .slide__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
}

.hero .slide__shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.52));
}

.hero .slide__text{
  position:absolute;
  left: 14px; right: 14px; bottom: 14px;

  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.hero .slide__text h4{
  margin:0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.25;
  font-weight: 900;

  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* empty */
.hero .slide--empty{
  background:
    radial-gradient(600px 220px at 30% 20%, rgba(10,52,122,.14), transparent 55%),
    radial-gradient(560px 240px at 90% 80%, rgba(24,181,166,.12), transparent 55%),
    rgba(255,255,255,.35);
}
.hero .empty{
  height:100%;
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding: 24px;
  color: rgba(11,18,32,.72);
}
.hero .empty__title{ font-weight: 900; font-size: 16px; margin-bottom: 6px; }
.hero .empty__sub{ font-weight: 700; font-size: 13px; opacity: .9; }

/* Swiper controls — круглые, “госпортал” */
.hero .swiper-button-next,
.hero .swiper-button-prev{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);

  backdrop-filter: blur(10px);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.hero .swiper-button-next:hover,
.hero .swiper-button-prev:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.hero .swiper-button-next::after,
.hero .swiper-button-prev::after{
  font-size: 16px;
  font-weight: 900;
  color: rgba(11,18,32,.78);
}

.hero .swiper-pagination-bullet{ opacity:.55; }
.hero .swiper-pagination-bullet-active{ opacity:1; }

/* VIDEO */
.videoBox{
  position:relative;
  width:100%;
  height: 100%;
  min-height: 320px;
  background: #000;
}
.videoBox iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
}

/* Responsive */
@media (max-width: 980px){
  .hero__container{ grid-template-columns: 1fr; }
  .mediaCard__body{ min-height: 240px; aspect-ratio: 16 / 9; }
}

@media (max-width: 600px){
  .heroCard__top{ flex-direction: column; align-items:flex-start; }
  .heroActions{ grid-template-columns: 1fr; }
}

@media (min-width: 1400px){
  .mediaCard__body{ aspect-ratio: 16 / 9; }
}
