/* ============================================================
   KAES — Reset & Base Element Styles
   base/reset.css
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'TT Firs Neue', 'Segoe UI', sans-serif;
  font-weight: 300;
  background: var(--color-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  font-size: 16px;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
}


/* ============================================================
   KAES — CSS Variables & Fonts
   base/variables.css
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Brand colours — matches apps/web globals.css exactly */
  --color-primary:      #112250; /* Royal Blue */
  --color-primary-mid:  #1E4080; /* Mid Blue */
  --color-secondary:    #3C507D; /* Sapphire */
  --color-accent:       #E0C58F; /* Quicksand */
  --color-accent-hover: #C9B07A; /* Darkened accent */
  --color-surface:      #F5F0E9; /* Swan Wing */
  --color-muted:        #D9CBC2; /* Shellstone */
  --color-text-dark:    #2C2C3A;
  --color-text-light:   #F5F0E9;
  --color-white:        #FFFFFF;
  --color-bg:           #F0F0F0;

  /* Layout */
  --container-width: 1280px;
  --px-section: clamp(24px, 7.5vw, 120px);
  --py-section: clamp(40px, 7.5vw, 120px);

  /* Borders */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  /* Shadows */
  --shadow-soft:  0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-card:  0 4px 16px rgba(17, 34, 80, 0.10);
  --shadow-heavy: 0 20px 60px rgba(17, 34, 80, 0.18);
}


/* ============================================================
   KAES — Breadcrumb  (единый стиль для всех страниц)
   components/breadcrumb.css
   ============================================================ */

/* ── Единый компонент: используется на всех страницах ── */
.site-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  margin-bottom: 24px;
}
.site-breadcrumb a {
  color: #9ca3af;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.15s;
}
.site-breadcrumb a:hover        { color: #1E4080; }
.site-breadcrumb__sep           { color: #d1d5db; user-select: none; }
.site-breadcrumb__current       { color: #374151; font-weight: 500; }

/* ── Legacy alias (проекты/закупки/plan используют .breadcrumb) ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 14px;
  margin-bottom: 24px;
}
.breadcrumb a,
.breadcrumb__link       { color: #9ca3af; font-weight: 300; text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover,
.breadcrumb__link:hover { color: #1E4080; }
.breadcrumb__sep        { color: #d1d5db; user-select: none; }
.breadcrumb__current    { color: #374151; font-weight: 500; }

/* ============================================================
   KAES — Button Variants
   components/buttons.css
   ============================================================ */

/* Outlined, primary colour border */
.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--color-primary-mid);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 300;
  color: var(--color-primary-mid);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline-primary:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* Ghost — transparent border appears on hover */
.btn-ghost-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary-mid);
  transition: border-color 0.2s;
}
.btn-ghost-primary:hover { border-color: var(--color-primary-mid); }

/* Accent fill */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}
.btn-accent:hover { background: var(--color-accent-hover); }

/* Outlined on light/dark section */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid var(--color-accent);
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 300;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-light:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Solid primary (careers CTA) */
.btn-solid-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--color-primary-mid);
  color: white;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  width: fit-content;
  transition: background 0.2s;
}
.btn-solid-primary:hover { background: #163465; }


/* ============================================================
   KAES — CO₂ Emissions Calculator
   components/calculator.css
   ============================================================ */

.emissions-calculator {
  padding: 0 var(--px-section) 6rem;
  background: var(--color-bg);
}

.calc-header { max-width: 700px; margin-bottom: 2rem; }
.calc-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.calc-header p { font-size: 1.1rem; font-weight: 300; color: #6b7280; line-height: 1.7; }

.calc-box {
  border-radius: 8px;
  border: 1px solid #d9e2f2;
  background: #f8fbff;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.calc-left {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}

.calc-field label {
  display: block;
  font-size: 0.875rem; font-weight: 500; color: #374151;
  margin-bottom: 0.5rem;
}

.source-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.source-btn {
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid #e5e7eb;
  background: white; color: #374151;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.source-btn:hover    { border-color: var(--color-primary-mid); color: var(--color-primary-mid); }
.source-btn.is-active { background: var(--color-primary-mid); color: var(--color-accent); border-color: var(--color-primary-mid); }

.volume-input {
  width: 100%;
  border-radius: 8px; border: 1px solid #d1d5db;
  padding: 0.75rem 1rem; font-size: 1rem;
  font-family: inherit; outline: none;
  transition: border-color 0.2s; background: white;
}
.volume-input:focus { border-color: var(--color-primary-mid); box-shadow: 0 0 0 2px rgba(30, 64, 128, 0.1); }

.quick-volumes { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.25rem; }
.quick-vol-btn {
  border-radius: 9999px; border: 1px solid #dbe5f4;
  background: #f7faff; color: var(--color-primary-mid);
  padding: 0.375rem 0.75rem; font-size: 0.875rem;
  transition: border-color 0.2s;
}
.quick-vol-btn:hover { border-color: var(--color-primary-mid); }

.calc-error {
  border-radius: 8px; border: 1px solid #fca5a5;
  background: #fef2f2; padding: 0.75rem 1rem;
  font-size: 0.875rem; color: #b91c1c;
  display: none;
}
.calc-error.is-visible { display: block; }

.calc-note {
  border-radius: 8px; border: 1px solid #dbe5f4;
  background: #f7faff; padding: 1rem;
  font-size: 0.875rem; color: #6b7280; line-height: 1.6;
}

.calc-right { display: flex; flex-direction: column; gap: 1rem; }

.calc-result-main {
  border-radius: 8px;
  background: var(--color-primary-mid);
  padding: 1.5rem;
  color: var(--color-accent);
}
.calc-result-main .result-label {
  font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--color-accent);
}
.calc-result-value {
  font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700;
  line-height: 1; margin-top: 0.75rem;
}
.calc-result-sub {
  font-size: 0.9rem; font-weight: 300;
  color: rgba(224, 197, 143, 0.8); margin-top: 0.75rem;
}

.calc-insight {
  border-radius: 8px; border: 1px solid #dbe5f4;
  background: white; padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.calc-insight h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-primary-mid); margin-bottom: 0.75rem; }
.calc-insight p  { font-size: 0.95rem; font-weight: 300; color: #374151; line-height: 1.7; }

.calc-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.calc-stat {
  border-radius: 8px; border: 1px solid #e5e7eb;
  background: white; padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.calc-stat p.stat-label { font-size: 0.8rem; color: #6b7280; margin-bottom: 0.5rem; }
.calc-stat p.stat-value { font-size: 1.5rem; font-weight: 600; color: var(--color-primary-mid); }


/* ============================================================
   KAES — Card Components
   components/cards.css
   ============================================================ */

/* ── Value cards (dark section: about-dark on index) ── */
.value-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 768px) { .value-cards { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 28px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.value-card:hover {
  transform: scale(1.03);
  border-color: rgba(224, 197, 143, 0.35);
  background: rgba(255, 255, 255, 0.10);
}

.value-card__icon {
  width: 48px; height: 48px;
  background: rgba(30, 64, 128, 0.6);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  transition: background 0.3s, box-shadow 0.3s;
}
.value-card:hover .value-card__icon {
  background: var(--color-primary-mid);
  box-shadow: 0 0 22px rgba(224, 197, 143, 0.18);
}

.value-card__title { font-size: 18px; font-weight: 600; color: white; line-height: 1.3; }
.value-card__desc  { font-size: 15px; font-weight: 300; color: rgba(255, 255, 255, 0.60); line-height: 1.6; }

.value-card__line {
  width: 56px;
  height: 1px;
  background: rgba(224, 197, 143, 0.55);
  transition: width 0.3s;
}
.value-card:hover .value-card__line { width: 80px; }

/* ── Stage cards (dev plan) ── */
.stage-grid-wrap { position: relative; }

.stage-wavy-line {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 78px;
  height: 96px; pointer-events: none;
}
.stage-wavy-line svg { width: 100%; height: 100%; }
@media (min-width: 1280px) { .stage-wavy-line { display: block; } }

.stage-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  position: relative;
}
@media (min-width: 768px)  { .stage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .stage-grid { grid-template-columns: repeat(5, 1fr); } }

/* ── Stage item (wrapper for dot + card) ── */
.stage-item { position: relative; }
@media (min-width: 1280px) {
  .stage-item:nth-child(2),
  .stage-item:nth-child(4) { margin-top: 80px; }
}

/* Number dot row above card */
.stage-item__dot-row {
  display: none;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media (min-width: 1280px) { .stage-item__dot-row { display: flex; } }

.stage-item__dot {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 4px solid rgba(245, 240, 233, 0.30);
  background: var(--color-secondary);
  color: var(--color-text-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
  filter: blur(var(--stage-blur, 0px));
  opacity: var(--stage-opacity, 1);
  transform: scale(var(--stage-scale, 1));
  transition: filter 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease-out,
              border-color 0.5s, box-shadow 0.5s;
}
.stage-item__dot--current {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-primary);
  filter: none; opacity: 1; transform: none;
  box-shadow: 0 12px 30px rgba(224, 197, 143, 0.28);
}
.stage-item:hover .stage-item__dot:not(.stage-item__dot--current) {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.06);
  border-color: rgba(224, 197, 143, 0.50);
  box-shadow: 0 12px 30px rgba(224, 197, 143, 0.18);
}

.stage-item__ping {
  position: absolute;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(224, 197, 143, 0.20);
  animation: stagePing 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes stagePing {
  0%       { transform: scale(1); opacity: 0.75; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

.stage-card {
  background: var(--color-secondary);
  border: 1px solid rgba(245, 240, 233, 0.12);
  border-radius: 12px;
  padding: 24px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  filter: blur(var(--stage-blur, 0px));
  opacity: var(--stage-opacity, 1);
  transform: scale(var(--stage-scale, 1));
  transition: filter 0.5s ease-out, opacity 0.5s ease-out, transform 0.5s ease-out,
              border-color 0.3s, box-shadow 0.3s;
}
@media (min-width: 1280px) { .stage-card { margin-top: 40px; } }

.stage-card--current {
  filter: none; opacity: 1; transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.60);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.stage-item:hover .stage-card:not(.stage-card--current) {
  filter: blur(0);
  opacity: 1;
  transform: scale(1.035);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.stage-card__glow {
  position: absolute; top: 0; right: 0;
  width: 112px; height: 112px;
  border-radius: 50%;
  background: rgba(224, 197, 143, 0.08);
  filter: blur(32px);
  transition: background 0.5s;
}
.stage-card--current .stage-card__glow { background: rgba(224, 197, 143, 0.14); }
.stage-item:hover .stage-card:not(.stage-card--current) .stage-card__glow { background: rgba(224, 197, 143, 0.12); }

.stage-card__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  background: var(--color-primary);
  border: 1px solid rgba(224, 197, 143, 0.20);
  color: var(--color-muted);
  margin-bottom: 16px;
  transition: border-color 0.5s, color 0.5s;
}
.stage-card--current .stage-card__tag {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
}
.stage-item:hover .stage-card:not(.stage-card--current) .stage-card__tag {
  border-color: rgba(224, 197, 143, 0.35);
  color: var(--color-text-light);
}

.stage-card__num   { font-size: 13px; font-weight: 600; color: var(--color-muted); margin-bottom: 6px; }
.stage-card__title {
  font-size: 18px; font-weight: 700; color: var(--color-text-light);
  line-height: 1.3; margin-bottom: 16px;
  transition: color 0.5s;
}
.stage-card__desc  {
  font-size: 14px; font-weight: 300; color: var(--color-muted);
  line-height: 1.6;
  transition: color 0.5s;
}
.stage-item:hover .stage-card:not(.stage-card--current) .stage-card__desc {
  color: rgba(245, 240, 233, 0.88);
}

/* ── News grid cards ── */
.news-grid-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-grid-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-heavy); }

.news-grid-card__img   { width: 100%; height: 220px; object-fit: cover; }
.news-grid-card__body  { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.news-grid-card__cat {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-primary-mid);
  background: #eef4ff;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  width: fit-content;
}

.news-grid-card__title {
  font-size: 16px; font-weight: 500; line-height: 1.4;
  color: #111827; flex: 1; margin-bottom: 16px;
}

.news-grid-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #9ca3af;
}

/* ── Vacancy category cards ── */
.vacancy-cat-card {
  position: relative; overflow: hidden;
  border-radius: 14px; aspect-ratio: 4/3;
  display: flex; align-items: flex-end;
  background: var(--color-secondary);
  transition: transform 0.2s;
}
.vacancy-cat-card:hover { transform: scale(1.02); }

.vacancy-cat-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.vacancy-cat-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17, 34, 80, 0.85), rgba(17, 34, 80, 0.20));
}
.vacancy-cat-card__body {
  position: relative; z-index: 1;
  padding: 20px;
  color: white;
}
.vacancy-cat-card__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.vacancy-cat-card__count { font-size: 13px; color: rgba(255, 255, 255, 0.70); font-weight: 300; }

/* ── Vacancy list card ── */
.vacancy-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.vacancy-card:hover { box-shadow: var(--shadow-soft); border-color: #dbe5f4; }

.vacancy-card__title { font-size: 18px; font-weight: 600; color: #111827; }
.vacancy-card__meta  { display: flex; flex-wrap: wrap; gap: 12px; }

.vacancy-tag {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #6b7280; font-weight: 300;
}
.vacancy-tag svg { color: var(--color-primary-mid); }

.vacancy-card__salary { font-size: 16px; font-weight: 500; color: var(--color-primary-mid); }

/* ── Announcement card (procurements) ── */
.announcement-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.2s;
}
.announcement-card:hover { box-shadow: var(--shadow-soft); }

.announcement-card__status {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 4px; width: fit-content;
}
.status-open    { background: #d1fae5; color: #065f46; }
.status-closed  { background: #fee2e2; color: #991b1b; }
.status-planned { background: #dbeafe; color: #1d4ed8; }

.announcement-card__title { font-size: 17px; font-weight: 600; color: #111827; }
.announcement-card__meta  { font-size: 13px; color: #9ca3af; font-weight: 300; }

/* ── Partner logo card ── */
.partner-logo-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  height: 120px;
  transition: box-shadow 0.2s;
}
.partner-logo-card:hover { box-shadow: var(--shadow-soft); }
.partner-logo-card img { max-width: 100%; max-height: 80px; object-fit: contain; }

/* ── Info card (about: documents, etc.) ── */
.info-card {
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
}
.info-card h4 { font-size: 1rem; font-weight: 600; color: var(--color-primary); margin-bottom: 8px; }
.info-card p  { font-size: 0.9rem; font-weight: 300; line-height: 1.65; color: #4b5563; }
.info-card--accent { background: #eff6ff; border-color: rgba(30, 64, 128, 0.15); }

/* ── Activity card (about: activities) ── */
.activity-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 16px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  text-align: center;
}
.activity-card img { width: 64px; height: 64px; object-fit: contain; }
.activity-card p   { font-size: 0.9rem; font-weight: 400; color: var(--color-primary); }

/* ── Leader card (about: leadership) ── */
.leader-card { display: flex; flex-direction: column; }
.leader-card__photo {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 4/5; background: #eef2f8;
}
.leader-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader-card__photo--placeholder { display: flex; align-items: center; justify-content: center; }
.leader-card__initials  { font-size: 2rem; font-weight: 600; color: var(--color-secondary); }
.leader-card__gradient  { position: absolute; inset-x: 0; bottom: 0; height: 112px; background: linear-gradient(to top, rgba(35,50,77,0.45), transparent); pointer-events: none; }
.leader-card__bar       { position: absolute; inset-x: 0; bottom: 0; height: 10px; background: var(--color-accent); }
.leader-card__info      { padding: 16px 8px 0; }
.leader-card__name  { font-size: 1rem; font-weight: 600; color: #111827; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 8px; min-height: 56px; }
.leader-card__title { font-size: 0.95rem; font-weight: 300; color: #6b7280; min-height: 56px; }

/* ── Vacancy sidebar card ── */
.vacancy-sidebar-card {
  background: white; border: 1px solid #e5e7eb; border-radius: 14px; padding: 24px;
}
.vacancy-sidebar-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: #111827; }


/* ============================================================
   KAES — News Carousel
   components/carousel.css
   ============================================================ */

.news-carousel { position: relative; z-index: 1; }

.news-carousel__track {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 460px;
}

/* Individual carousel cards */
.news-card {
  position: absolute;
  top: 0; left: 50%;
  width: 520px;
  transform: translateX(-50%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1),
              opacity 0.4s ease,
              width 0.5s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.news-card.side   { width: 430px; opacity: 1; cursor: pointer; }
.news-card.hidden { opacity: 0; pointer-events: none; }

.news-card__image {
  width: 100%; height: 300px;
  border-radius: 10px 10px 0 0;
  overflow: hidden; position: relative;
  transition: border-radius 0.4s;
}
.news-card.side .news-card__image { border-radius: 10px; }

.news-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.news-card__body {
  background: white;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),
              opacity 0.3s,
              padding 0.4s;
  max-height: 0;
  opacity: 0;
  padding: 0 24px;
}
.news-card.active .news-card__body {
  max-height: 160px;
  opacity: 1;
  padding: 18px 24px;
}

.news-card__title {
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__date { font-size: 14px; color: #9ca3af; font-weight: 300; }

/* Controls */
.news-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  position: relative; z-index: 1;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary-mid);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover { background: #2a5299; }


/* ============================================================
   KAES — Site Footer
   components/footer.css
   ============================================================ */

.site-footer {
  background: var(--color-primary);
  color: var(--color-text-light);
}

/* ── Main section ── */
.site-footer__main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media (min-width: 1024px) {
  .site-footer__main { flex-direction: row; justify-content: space-between; }
}

/* Left column: logo + contacts + map */
.site-footer__left {
  display: flex; flex-direction: column; gap: 24px;
  min-width: 520px;
}
.site-footer__logo img { width: 90px; height: auto; }

.site-footer__contact {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(245, 240, 233, 0.90);
  font-weight: 300; line-height: 1.5;
}
.site-footer__contact svg { margin-top: 2px; flex-shrink: 0; }
.site-footer__contact a {
  text-decoration: underline; text-underline-offset: 2px;
  transition: color 0.2s;
}
.site-footer__contact a:hover { color: var(--color-text-light); }

.site-footer__map { border-radius: 6px; overflow: hidden; height: 200px; }
.site-footer__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Right column: contact form */
.site-footer__right { flex: 1; max-width: 540px; }
.site-footer__form-title {
  font-size: 28px; font-weight: 700; color: white; line-height: 1.3; margin-bottom: 8px;
}
.site-footer__form-sub {
  font-size: 20px; font-weight: 300; color: var(--color-muted); margin-bottom: 24px;
}

/* ── Bottom bar ── */
.site-footer__bar { border-top: 1px solid var(--color-secondary); }

.site-footer__bar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .site-footer__bar-inner { flex-direction: row; } }

.site-footer__credit {
  font-size: 14px; font-weight: 300; color: var(--color-muted);
}
.site-footer__credit a {
  font-weight: 500;
  text-decoration: underline; text-underline-offset: 2px;
  color: var(--color-accent); transition: color 0.2s;
}
.site-footer__credit a:hover { color: var(--color-text-light); }

/* Social buttons */
.footer-socials {
  display: flex; align-items: center; gap: 12px;
}
.footer-socials span { font-size: 14px; color: var(--color-muted); font-weight: 300; }

.footer-social-btn {
  width: 36px; height: 36px;
  background: var(--color-secondary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-light);
  transition: background 0.2s, color 0.2s;
}
.footer-social-btn:hover { background: var(--color-text-light); color: var(--color-primary); }


/* ============================================================
   KAES — Form Components
   components/forms.css
   ============================================================ */

/* ── Footer contact form ── */
.footer-form { display: flex; flex-direction: column; gap: 16px; }

.footer-input,
.footer-textarea {
  width: 100%;
  background: var(--color-secondary);
  border: 1px solid var(--color-muted);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--color-text-dark);
  font-size: 15px;
  font-weight: 300;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.footer-input::placeholder,
.footer-textarea::placeholder { color: var(--color-muted); }
.footer-input:focus,
.footer-textarea:focus { border-color: var(--color-accent); }
.footer-textarea { resize: none; }

.footer-success {
  display: none;
  background: rgba(60, 80, 125, 0.4);
  border: 1px solid rgba(224, 197, 143, 0.30);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
}
.footer-success.visible { display: block; }
.footer-success p { font-size: 17px; font-weight: 300; color: var(--color-text-light); }
/* ── footer-text-form── */
/* Контейнер формы */
.custom-footer-form-wrapper .feedback ol, 
.custom-footer-form-wrapper .feedback li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.custom-footer-form-wrapper .feedback ol {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Тот же зазор, что был в .footer-form */
}

/* Применяем дизайн ваших инпутов к инпутам виджета */
.custom-footer-form-wrapper .feedback input.text, 
.custom-footer-form-wrapper .feedback textarea {
    width: 100% !important;
    background: var(--color-secondary) !important;
    border: 1px solid var(--color-muted) !important;
    border-radius: 10px !important; /* Ваши 10px */
    padding: 12px 16px !important;
    color: var(--color-text-dark) !important;
    font-size: 15px !important;
    font-weight: 300 !important;
    outline: none !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
}

.custom-footer-form-wrapper .feedback input.text:focus,
.custom-footer-form-wrapper .feedback textarea:focus {
    border-color: var(--color-accent) !important;
}

/* Кнопка отправки из виджета */
.custom-footer-form-wrapper .feedback li.button {
    margin: 0 !important;
}

.custom-footer-form-wrapper .feedback li.button input[type="submit"] {
    background: var(--color-accent) !important; /* Ваш цвет акцента */
    color: #fff !important;
    padding: 12px 25px !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    align-self: flex-start !important;
    transition: 0.3s !important;
}

/* Скрываем подписи (label), если вы настроили Placeholder в админке */
.custom-footer-form-wrapper .feedback label {
    display: none !important;
}
.custom-footer-form-wrapper .feedback .feed_h2 {
    display: none !important;
}
#f_sendemail .text {
    width: 540px !important;
    height: 45px !important;
    box-sizing: border-box; /* Чтобы паддинги не увеличивали размер */
}

/* Стилизация области сообщения */
#f_sendemail textarea {
    width: 540px !important;
    height: 102px !important;
    resize: none; /* Запрещаем пользователю растягивать поле вручную */
    box-sizing: border-box;
}

/* Стилизация инпута капчи (если нужно, чтобы он не был таким же огромным) */
#f_sendemail .capinput {
    height: 45px !important;
    box-sizing: border-box;
}
#f_sendemail .button input#imageField.imageField {
    /* Сброс системных стилей браузера и CMS */
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: none;
    
    /* Основные размеры и позиционирование */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px !important;
    height: auto !important;
    width: auto !important;
    align-self: flex-start;
    
    /* Цвета и шрифты из ваших переменных */
    background: var(--color-accent) !important;
    color: var(--color-primary) !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 500 !important;
    
    /* Скругление и декорации */
    border-radius: 100px !important; /* Делаем овальной как в оригинале */
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: background 0.2s, transform 0.2s;
    
    /* Сброс лишних внешних отступов */
    margin: 0;
}

/* Эффект при наведении */
#f_sendemail .button input#imageField.imageField:hover {
    background: var(--color-accent-hover) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Активное состояние (клик) */
#f_sendemail .button input#imageField.imageField:active {
    transform: scale(0.98);
}

/* Убираем лишние точки/маркеры у родительского li */
#f_sendemail li.button {
    list-style: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
    display: block !important;
    position: relative !important; 
    width: 168px !important;  
    height: 42px !important;
}

/* Сама кнопка (делаем её "немой") */
#f_sendemail .button input#imageField.imageField {
    appearance: none;
    -webkit-appearance: none;
    width: 100% !important; /* На всю ширину контейнера li.button */
    height: 42px !important;
    background: var(--color-accent) !important;
    border-radius: 100px !important;
    border: none !important;
    cursor: pointer;
    font-size: 0 !important; /* Прячем старый текст "Отправить" */
    color: transparent !important;
    display: block !important;
    outline: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* Текст поверх кнопки */
#f_sendemail li.button::after {
    content: 'Отправить заявку' !important;
    position: absolute !important;
    z-index: 10 !important; /* Поднимаем текст выше кнопки */
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    
    /* Стили текста */
    color: var(--color-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    pointer-events: none !important; /* Пропускает клик на кнопку */
    white-space: nowrap !important;
}

/* Ховер эффект */
#f_sendemail li.button:hover input#imageField.imageField {
    background: var(--color-accent-hover) !important;
}
/* ── Contacts page form ── */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 300;
  color: var(--color-text-dark);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}
.contact-input:focus,
.contact-textarea:focus { border-color: var(--color-primary-mid); }
.contact-textarea { resize: vertical; }

/* ── Accordion (FAQ) ── */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }

.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.accordion-item__trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-size: 16px; font-weight: 500; color: #111827;
  cursor: pointer; text-align: left; gap: 16px;
  background: white; transition: background 0.15s;
}
.accordion-item__trigger:hover { background: #f9fafb; }

.accordion-item__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid #e5e7eb; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
}
.accordion-item.open .accordion-item__icon {
  transform: rotate(45deg);
  background: var(--color-primary-mid);
  border-color: var(--color-primary-mid);
  color: white;
}

.accordion-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-item__body { max-height: 600px; }

.accordion-item__content {
  padding: 0 24px 20px;
  font-size: 15px; font-weight: 300; color: #6b7280; line-height: 1.7;
}

/* ============================================================
   KAES — Layout Utilities & Typography
   components/layout.css
   ============================================================ */

/* ── Container ── */
.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.section-px { padding-left: var(--px-section); padding-right: var(--px-section); }
.section-py { padding-top: var(--py-section); padding-bottom: var(--py-section); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}

/* ── Header offset ── 
.header-offset { padding-top: 64px; }*/

/* ── Section wrappers ── */
.section { padding: var(--py-section) var(--px-section); }
.section--white   { background: white; }
.section--surface { background: var(--color-surface); }
.section--primary { background: var(--color-primary); color: var(--color-text-light); }
.section--dark-blue { background: #0B1C3C; color: var(--color-text-light); }
.section--bg      { background: var(--color-bg); }

/* ── Typography ── */
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-dark);
}
.section-title--light { color: var(--color-text-light); }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-mid);
  margin-bottom: 12px;
}

.section-title-lg {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 32px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ── Shared text utilities ── */
.text-body  { font-size: 1rem; font-weight: 300; line-height: 1.75; color: #374151; margin-bottom: 16px; }
.text-muted { color: #9ca3af; font-weight: 300; }
.text-link  { color: var(--color-primary); text-decoration: underline; }

.styled-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}

/* ── Content block (rich text area) ── */
.content-block {
  max-width: 760px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
}
.content-block h2 { font-size: 1.6rem; font-weight: 700; margin: 32px 0 12px; color: var(--color-primary); }
.content-block h3 { font-size: 1.2rem; font-weight: 600; margin: 24px 0 8px; }
.content-block p  { margin-bottom: 16px; }
.content-block ul,
.content-block ol { margin: 16px 0 16px 24px; }
.content-block li { margin-bottom: 8px; }
.content-block ol { list-style: decimal; }
.content-block ul { list-style: disc; }


/* ============================================================
   KAES — Kazakhstan Map Section
   components/map.css
   ============================================================ */

.map-section {
  padding-top: 0;
  padding-right: var(--px-section);
  padding-bottom: var(--py-section);
  padding-left: var(--px-section);
}
.map-section__header { margin-bottom: 32px; }
.map-section__desc {
  font-size: 17px; font-weight: 300; color: #6b7280;
  max-width: 600px; margin-top: 12px;
}

.map-container {
  border: 1px solid #d9e2f2;
  background: #f8fbff;
  border-radius: 12px;
  padding: 24px;
}

.map-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5ebf5;
  background: white;
}
.map-inner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Pins ── */
.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  cursor: pointer; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}

.map-pin__dot {
  width: 32px; height: 32px;
  border-radius: 50%; border: 2px solid white;
  background: #224b93;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background 0.2s;
}
.map-pin__dot::after {
  content: ''; width: 10px; height: 10px;
  border-radius: 50%; background: white;
}
.map-pin:hover .map-pin__dot,
.map-pin.active .map-pin__dot {
  background: var(--color-primary-mid);
  transform: scale(1.15);
}

.map-pin__stem {
  width: 3px; height: 28px;
  background: #224b93; border-radius: 2px; margin-top: -2px;
}
.map-pin.active .map-pin__stem { background: var(--color-primary-mid); }

.map-pin__label {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe5f4; border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px; font-weight: 500; color: var(--color-primary-mid);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

/* ── Popup ── */
.map-popup {
  display: none;
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 50; width: min(92%, 420px);
}
.map-popup.visible { display: block; }

.map-popup__inner {
  background: white; border-radius: 12px;
  border: 1px solid #d9e2f2;
  box-shadow: 0 24px 60px rgba(20, 40, 80, 0.16);
  overflow: hidden;
}
.map-popup__img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.map-popup__body  { padding: 20px; }

.map-popup__badge {
  display: inline-block; background: #eef4ff;
  color: var(--color-primary-mid);
  font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 12px;
}
.map-popup__title { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.map-popup__desc  { font-size: 14px; color: #6b7280; font-weight: 300; line-height: 1.6; margin-bottom: 16px; }
.map-popup__tags  { display: flex; flex-wrap: wrap; gap: 8px; }
.map-popup__tag   {
  background: #f8fbff; border: 1px solid #e7eef9;
  border-radius: 8px; padding: 6px 12px;
  font-size: 13px; color: #374151;
}

.map-popup__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #e5e7eb; border-radius: 8px;
  font-size: 20px; color: #6b7280; background: white;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.map-popup__close:hover { border-color: var(--color-primary-mid); color: var(--color-primary-mid); }

.map-hint {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dbe5f4; border-radius: 100px;
  padding: 8px 16px; font-size: 13px; color: #6b7280;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); z-index: 5;
}


/* ============================================================
   KAES — Mega Menu Panel
   components/mega-menu.css
   CMS copy of apps/web/components/layout/Navbar.tsx
============================================================ */

.mega-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.20);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.mega-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu-panel {
  position: fixed;
  left: 192px;
  right: 192px;
  top: 64px;
  z-index: 65;
  max-height: calc(100vh - 5rem);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.mega-menu-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mega-menu-panel__box {
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.mega-menu-panel__inner {
  max-width: 1280px;
  margin: 10px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.mega-menu-panel__socials {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-top: 4px;
}

.social-circle {
  width: 32px;
  height: 32px;
  background: #1E4080;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  text-decoration: none;
}

.social-circle:hover {
  background: #2a4d8f;
  transform: translateY(-1px);
}

.mega-menu-panel__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  max-height: calc(100vh - 6rem);
}

.mega-menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-menu-panel__head > span {
  font-size: 16px;
  font-weight: 300;
  color: #6b7280;
}

.mega-menu-close {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
  padding: 0;
}

.mega-menu-close:hover {
  color: #1E4080;
}

.mega-menu-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
	overflow-y: auto;           /* ← Добавить */
  max-height: calc(100vh - 20rem); /* ← Ограничить */
  padding-right: 8px;         /* ← Место под скроллбар */
}

.mega-menu-col {
  display: flex;
  min-width: 180px;
  flex: 1 1 180px;
  flex-direction: column;
}

.mega-menu-col__head {
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.mega-menu-col__title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #111c36;
  text-decoration: none;
  transition: color 0.2s;
}

.mega-menu-col__title:hover,
.mega-menu-col__title.active {
  color: #1E4080;
}

.mega-menu-col__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
}

.mega-menu-col__sub {
  font-size: 16px;
  font-weight: 300;
  color: #4b5563;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.2s;
  display: block;
}

.mega-menu-col__sub:hover {
  color: #1E4080;
}

.mega-menu-socials-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}

@media (min-width: 1024px) {
  .mega-menu-panel__socials {
    display: flex;
  }

  .mega-menu-socials-row {
    display: none;
  }
}

@media (max-width: 1280px) {
  .mega-menu-panel {
    left: 96px;
    right: 96px;
  }
}

@media (max-width: 960px) {
  .mega-menu-panel {
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 768px) {
  .mega-menu-panel {
    left: 12px;
    right: 12px;
    top: 64px;
    max-height: calc(100vh - 4.5rem);
  }

  .mega-menu-panel__inner {
    padding: 24px 20px;
  }

  .mega-menu-panel__body {
    gap: 24px;
    max-height: calc(100vh - 8rem);
  }

  .mega-menu-columns {
    gap: 24px;
  }

  .mega-menu-col {
    min-width: 100%;
    flex-basis: 100%;
  }
}


/* ============================================================
   KAES — Site Header & Navigation
   components/navbar.css
   CMS copy of apps/web/components/layout/Navbar.tsx
============================================================ */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #112250;
  color: #F5F0E9;
  box-shadow: 0 8px 30px rgba(17, 34, 80, 0.18);
  height: 64px;
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-burger {
  padding: 6px;
  color: #F5F0E9;
  border-radius: 6px;
  transition: color 0.2s, text-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.header-burger:hover,
.header-burger.is-open {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.header-burger .icon-burger {
  display: block;
}

.header-burger .icon-close {
  display: none;
}

.header-burger.is-open .icon-burger {
  display: none;
}

.header-burger.is-open .icon-close {
  display: block;
}

.site-header__logo-wrap,
.site-header__partner-logo-wrap {
  position: relative;
  flex-shrink: 0;
}

.site-header__logo img {
  width: 70px;
  height: auto;
  display: block;
}

.site-header__partner-logo {
  display: block;
}

.site-header__partner-logo img {
  width: 48px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

/* Добавить отдельно */
.site-header__partner-logo span {
  display: block;      /* убрать лишние отступы span */
  line-height: 0;      /* убрать пробел под картинкой */
}

.site-header__tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #ffffff;
  border: 1px solid rgba(224, 197, 143, 0.30);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  white-space: nowrap;
  z-index: 200;
  flex-direction: column;
  gap: 2px;
}

.site-header__tooltip span {
  font-size: 12px;
  font-weight: 500;
  color: #111827;
}

.site-header__logo-wrap:hover .site-header__tooltip,
.site-header__partner-logo-wrap:hover .site-header__tooltip {
  display: flex;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu__item {
  position: relative;
  flex-shrink: 0;
}

.nav-menu__link {
  display: block;
  padding: 6px 8px;
  font-size: 14px;
  font-weight: 300;
  color: #F5F0E9;
  white-space: nowrap;
  border-radius: 4px;
  transition: color 0.2s, text-shadow 0.2s, font-weight 0.1s;
  text-decoration: none;
}

.nav-menu__link:hover,
.nav-menu__link.active,
.nav-menu__item:hover > .nav-menu__link {
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

/* Hover dropdown */
.nav-dropdown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: max-content;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 150;
}

.nav-menu__item--has-drop:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown__bridge {
  height: 8px;
  width: 100%;
}

.nav-dropdown__box {
  min-width: max-content;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 34, 80, 0.14);
  border: 1px solid rgba(224, 197, 143, 0.35);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.nav-dropdown__box--wide {
  min-width: 600px;
}

.nav-dropdown__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  border-bottom: 1px solid rgba(224, 197, 143, 0.25);
  padding: 12px 24px;
}

.nav-dropdown__top a {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 300;
  color: #3C507D;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-dropdown__top a:hover {
  color: #112250;
}

.nav-dropdown__side {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 10px;
}

.nav-dropdown__side a {
  font-size: 13px;
  font-weight: 300;
  color: #112250;
  text-decoration: none;
  transition: color 0.15s;
  width: fit-content;
}

.nav-dropdown__side a:hover {
  color: #3C507D;
  text-decoration: underline;
}

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

.header-search__desktop {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search__toggle {
  padding: 6px;
  color: #F5F0E9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.header-search__toggle:hover {
  color: #ffffff;
}

.header-search__input-wrap {
  display: none;
  align-items: center;
}

.header-search__input-wrap.visible {
  display: flex;
}

.header-search__input {
  border: 1px solid #d7e2f2;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  outline: none;
  width: 176px;
  background: #ffffff;
  color: #2C2C3A;
  font-family: inherit;
  transition: border-color 0.2s;
}

.header-search__input:focus {
  border-color: #3C507D;
}

.header-search__input::placeholder {
  color: #9ca3af;
}

.header-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: #ffffff;
  color: #112250;
  font-size: 13px;
  font-weight: 300;
  border-radius: 100px;
  border: 1px solid #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-lang:hover {
  background: #E0C58F;
  border-color: #E0C58F;
  color: #112250;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}
.header-lang-wrap {
  position: relative;
}

.header-lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(17, 34, 80, 0.15);
  padding: 6px;
  display: none;
  z-index: 200;
  min-width: 70px;
}

.header-lang-dropdown.show {
  display: block;
}

/* Убираем hover */
/* .header-lang-wrap:hover .header-lang-dropdown {
  display: block;
} */

.header-lang-option {
  display: block;
  padding: 6px 14px;
  color: #112250;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 300;
  font-family: inherit;
  transition: background 0.15s;
}

.header-lang-option:hover {
  background: rgba(224, 197, 143, 0.3);
}

.header-lang-option.sel {
  font-weight: 500;
  color: #112250;
  background: rgba(224, 197, 143, 0.2);
}
.header-mobile-burger {
  display: none;
  padding: 6px;
  color: #E0C58F;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  align-items: center;
  justify-content: center;
}

.header-mobile-burger .mobile-icon-burger {
  display: block;
}

.header-mobile-burger .mobile-icon-close {
  display: none;
}

.header-mobile-burger.is-open .mobile-icon-burger {
  display: none;
}

.header-mobile-burger.is-open .mobile-icon-close {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(224, 197, 143, 0.25);
  z-index: 99;
  padding: 0;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__link {
  display: block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 300;
  color: #3C507D;
  border-bottom: 1px solid rgba(224, 197, 143, 0.15);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  background: #F5F0E9;
  color: #112250;
  font-weight: 500;
}
/*
.header-offset {
  padding-top: 64px;
}
*/
@media (max-width: 1180px) {
  .site-header__inner {
    padding: 0 20px;
  }

  .nav-menu {
    gap: 6px;
  }

  .nav-menu__link {
    font-size: 13px;
    padding: 6px;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    padding: 0 16px;
  }

  .nav-menu {
    display: none;
  }

  .header-lang {
    display: none;
  }

  .header-search__toggle {
    display: none;
  }

  .header-search__input-wrap {
    display: none !important;
  }

  .header-mobile-burger {
    display: flex;
  }
}

/* ============================================================
   KAES — Partners Scroll Strip
   components/partners.css
   ============================================================ */

.partners-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.partners-track-wrap { overflow: hidden; }

.partners-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: partnerScroll 30s linear infinite;
}
.partners-section:hover .partners-track { animation-play-state: paused; }

@keyframes partnerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100% / 3)); }
}

.partner-item {
  flex-shrink: 0;
  width: 220px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.partner-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Gradient fades on left/right edges */
.partners-fade-l,
.partners-fade-r {
  position: absolute; inset-y: 0;
  width: 96px; z-index: 2; pointer-events: none;
}
.partners-fade-l { left: 0;  background: linear-gradient(to right, var(--color-bg), transparent); }
.partners-fade-r { right: 0; background: linear-gradient(to left,  var(--color-bg), transparent); }



/* ============================================================
   KAES — Hero Slideshow & Page Hero
   components/slideshow.css
   ============================================================ */

/* ── Main slideshow ── */
.slideshow {
  display: flex;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.slideshow__slide {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: flex 0.5s ease;
  flex: 0.8;
}

.slideshow__slide.active {
  flex: 6;
  cursor: default;
}

.slideshow__slide:hover:not(.active) { flex: 1; }

.slideshow__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  transition: background 0.5s;
}
.slideshow__slide.active .slideshow__overlay {
  background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.45), rgba(0,0,0,0.15));
}

/* Active slide content */
.slideshow__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
}

.slideshow__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.slideshow__breadcrumb-sep   { color: var(--color-accent); }
.slideshow__breadcrumb-item  {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.slideshow__breadcrumb-item:last-child { color: var(--color-accent); }

.slideshow__title {
  color: white;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  line-height: 1.2;
  white-space: pre-line;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
}

.slideshow__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Collapsed (inactive) slides */
.slideshow__inactive {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}
.slideshow__inactive-path {
  color: var(--color-accent);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.slideshow__inactive-label {
  color: white;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  user-select: none;
}

/* ── Page hero (inner pages) — matches PageHero.tsx exactly ── */
/* relative overflow-visible bg-[#1a2f6e] minHeight:140 */
.page-hero {
  position: relative;
  overflow: visible;
  background: #1a2f6e;
  min-height: 140px;
  isolation: isolate;
}

/* Grid texture: absolute inset-0 overflow-hidden opacity-10 */
.page-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.4) 39px, rgba(255,255,255,.4) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.4) 39px, rgba(255,255,255,.4) 40px);
}

/* Atom decorations: absolute pointer-events-none select-none */
.page-hero__atom {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
/* First atom: right:16% top:-50px width:430 z-index:5 rotate(25deg) */
.page-hero__atom--first {
  right: 16%;
  top: -50px;
  width: 430px;
  z-index: 5;
  transform: rotate(25deg);
}
/* Second atom: right:0% top:-40px width:600 z-index:10 scaleX(-1) rotate(25deg) */
.page-hero__atom--second {
  right: 0%;
  top: -40px;
  width: 600px;
  z-index: 10;
  transform: scaleX(-1) rotate(25deg);
}
/* Gold glow behind each atom */
.page-hero__atom-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 999px;
  background: rgba(224, 197, 143, 0.30);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  z-index: 0;
}
/* atom image */
.page-hero__atom img {
  position: relative;
  z-index: 10;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}

/* Inner content: relative z-20 max-w-7xl mx-auto px-4 py-10 sm:px-6 lg:px-8 md:py-12 */
.page-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
}
@media (min-width: 640px)  { .page-hero__inner { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 768px)  { .page-hero__inner { padding-top: 48px; padding-bottom: 48px; } }
@media (min-width: 1024px) { .page-hero__inner { padding-left: 32px; padding-right: 32px; } }

/* Title: text-3xl md:text-4xl font-bold text-white */
.page-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .page-hero__title { font-size: 40px; } }

/* Responsive atom sizing */
@media (max-width: 900px) {
  .page-hero__atom--first { right: 22%; width: 300px; top: -30px; }
  .page-hero__atom--second { width: 420px; top: -25px; right: -120px; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 120px; }
  .page-hero__inner { padding-top: 34px; padding-bottom: 34px; }
  .page-hero__title { font-size: 30px; }
  .page-hero__atom--first { display: none; }
  .page-hero__atom--second { width: 320px; right: -150px; top: -18px; }
}


/* ============================================================
   KAES — About Page
   pages/about.css

   Точное соответствие apps/web/components/about/
   Tailwind → plain CSS перевод
   ============================================================ */

/* ─── Background Glow (BackgroundGlow.tsx) ─────────────────── */
.about-bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.about-bg-glow__blob {
  position: absolute;
  border-radius: 999px;
}
.about-bg-glow__blob--1 {
  left: 18%; top: 8%;
  height: 72%; width: 58%;
  filter: blur(120px);
  background: rgba(245, 240, 233, 0.45);
}
.about-bg-glow__blob--2 {
  left: 34%; top: 18%;
  height: 520px; width: 430px;
  filter: blur(130px);
  background: rgba(255, 255, 255, 0.20);
  transform: rotate(8deg);
}
.about-bg-glow__blob--3 {
  left: -2%; top: -8%;
  height: 660px; width: 300px;
  filter: blur(120px);
  background: rgba(224, 197, 143, 0.18);
  transform: rotate(-12deg);
}
.about-bg-glow__blob--4 {
  left: 30%; top: 34%;
  height: 420px; width: 240px;
  filter: blur(110px);
  background: rgba(245, 240, 233, 0.16);
  transform: rotate(10deg);
}
.about-bg-glow__blob--5 {
  right: 4%; top: 24%;
  height: 520px; width: 220px;
  filter: blur(120px);
  background: rgba(60, 80, 125, 0.14);
  transform: rotate(10deg);
}
.about-bg-glow__blob--6 {
  right: 3%; bottom: 0%;
  height: 300px; width: 210px;
  filter: blur(95px);
  background: rgba(17, 34, 80, 0.16);
  transform: rotate(14deg);
}

/* ─── Page Layout ───────────────────────────────────────────── */
/* matches: flex flex-col md:flex-row flex-1 w-full pt-10 pb-20 */
.about-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 80px;
  min-height: calc(100vh - 64px);
}
@media (min-width: 768px) {
  .about-layout { flex-direction: row; }
}

/* ─── Sidebar Nav (AboutNav.tsx) ────────────────────────────── */
/* matches: px-4 md:pl-8 md:pr-0 shrink-0 self-start w-full md:w-auto */
.about-nav-wrap {
  padding: 0 16px;
  flex-shrink: 0;
  align-self: flex-start;
  width: 100%;
}
@media (min-width: 768px) {
  .about-nav-wrap {
    padding-left: 32px;
    padding-right: 0;
    width: auto;
  }
}

/* matches: w-full md:w-64 */
.about-nav-inner {
  width: 100%;
}
@media (min-width: 768px) {
  .about-nav-inner {
    width: 256px;
    position: sticky;
    top: 84px;
  }
}

/* matches: bg-white rounded-lg shadow-sm flex flex-col overflow-hidden */
.about-nav-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* "О КАЭС" main button */
.about-nav__main-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  font-family: inherit;
  width: 100%;
  text-align: left;
  background: none;
  color: #1f2937;
}
.about-nav__main-btn:hover { background: #e5e7eb; }
.about-nav__main-btn.active { background: #1E4080; color: white; }

/* Chevron icon */
.about-nav__chevron {
  width: 24px; height: 24px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.about-nav__chevron.open { transform: rotate(180deg); }

/* Sub-items container */
.about-nav__sub-list {
  display: flex;
  flex-direction: column;
  background: #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}
.about-nav__sub-list.open { max-height: 300px; }

/* Sub-item button */
.about-nav__sub-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 20px 12px 32px;
  font-size: 14px;
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  font-family: inherit;
  color: #4b5563;
  font-weight: 400;
}
.about-nav__sub-item:hover { background: #d1d5db; }
.about-nav__sub-item.active { background: #1E4080; color: white; font-weight: 500; }

/* Top nav items */
.about-nav__top-list { display: flex; flex-direction: column; }

.about-nav__top-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-top: 1px solid #f3f4f6;
  background: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  font-family: inherit;
  color: #1f2937;
  text-align: left;
  width: 100%;
}
.about-nav__top-item:hover { background: #e5e7eb; }
.about-nav__top-item.active { background: #1E4080; color: white; }

.about-nav__top-item-label { flex: 1; line-height: 1.3; }
.about-nav__top-chevron { width: 24px; height: 24px; flex-shrink: 0; }

/* ─── Content Area ──────────────────────────────────────────── */
.about-content {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
}
@media (min-width: 768px)  { .about-content { padding: 0 40px; } }
@media (min-width: 1024px) { .about-content { padding: 0 80px; } }

/* ─── Section Visibility ─────────────────────────────────────── */
.about-section {
  display: none;
  flex-direction: column;
  animation: about-fade-in 0.22s ease;
}
.about-section.active { display: flex; }

@keyframes about-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Section Headings ───────────────────────────────────────── */
.about-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 40px;
  line-height: 1.1;
}
.about-h1--sm-mb { margin-bottom: 32px; }

.about-block-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #112250;
  margin-bottom: 24px;
}

.about-section-h3 {
  font-size: 1.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0;
}

/* ─── About Blocks (scroll-sections in "О КАЭС") ────────────── */
.about-block { scroll-margin-top: 112px; }
.about-blocks-stack { display: flex; flex-direction: column; gap: 40px; }

/* ─── Text styles ────────────────────────────────────────────── */
.about-text {
  font-weight: 300;
  line-height: 1.7;
  font-size: 1.125rem;
  color: #374151;
}

.about-list {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 300;
  color: #374151;
  line-height: 1.65;
}

/* ─── Leadership ─────────────────────────────────────────────── */
.leaders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
@media (min-width: 640px)  { .leaders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .leaders-grid { grid-template-columns: repeat(3, 1fr); } }

.leader-card { display: flex; flex-direction: column; height: 100%; }

.leader-card__photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #EEF2F8;
}
.leader-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
}
.leader-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.leader-card__gradient {
  pointer-events: none;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 112px;
  background: linear-gradient(to top, rgba(35, 50, 77, 0.45), transparent);
}
.leader-card__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: #E0C58F;
}
.leader-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px 8px 0;
}
.leader-card__name {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 600;
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 56px;
}
.leader-card__title {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 300;
  color: #6b7280;
  min-height: 84px;
}

/* ─── Corporate Governance ───────────────────────────────────── */
.gov-principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 640px) { .gov-principles-grid { grid-template-columns: repeat(2, 1fr); } }

.gov-principle-card {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.gov-principle-card__title { font-weight: 700; font-size: 1.25rem; color: #1E4080; margin-bottom: 8px; }
.gov-principle-card__desc  { font-size: 1.125rem; font-weight: 300; color: #4b5563; }

.gov-doc-block {
  border-radius: 8px;
  border: 1px solid #f3f4f6;
  background: #f9fafb;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-top: 32px;
}
.gov-doc-block__meta   { font-size: 14px; font-weight: 300; color: #4b5563; margin-bottom: 4px; }
.gov-doc-block__title  { font-weight: 700; color: #111827; font-size: 1.125rem; margin-bottom: 16px; }
.gov-doc-block__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Documents ──────────────────────────────────────────────── */
.docs-list { display: flex; flex-direction: column; gap: 16px; }

.doc-item {
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.doc-item__icon { color: #1E4080; flex-shrink: 0; }
.doc-item__icon svg { width: 32px; height: 32px; }
.doc-item__body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.doc-item__title { font-weight: 600; font-size: 1.125rem; color: #111827; }
.doc-item__desc  { font-size: 1.125rem; font-weight: 300; color: #6b7280; }
.doc-item__btn {
  flex-shrink: 0;
  border-radius: 100px;
  background: #1E4080;
  color: white;
  font-size: 14px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
  align-self: flex-start;
}
.doc-item__btn:hover { background: #112250; }

/* ─── Compliance ─────────────────────────────────────────────── */
.compliance-lead  { font-size: 1.25rem; font-weight: 300; color: #6b7280; margin-bottom: 16px; }
.compliance-list  {
  list-style: decimal; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 1.25rem; font-weight: 300; color: #374151; margin-bottom: 24px;
}
.compliance-table-wrap { overflow-x: auto; }
.compliance-table { width: 100%; font-size: 14px; border-collapse: collapse; }
.compliance-table th {
  text-align: left; padding: 12px 16px;
  font-weight: 500; color: #374151;
  border: 1px solid #e5e7eb; background: #f9fafb;
}
.compliance-table td { padding: 12px 16px; color: #4b5563; border: 1px solid #d1d5db; }

.compliance-contact-block {
  border-radius: 8px; background: #f8fbff;
  padding: 24px; display: flex; flex-direction: column; gap: 16px; margin-top: 16px;
}
.compliance-contact-row { display: flex; gap: 12px; align-items: center; }
.compliance-contact-row svg { width: 20px; height: 20px; flex-shrink: 0; color: #1E4080; }
.compliance-contact-text { font-size: 1.125rem; font-weight: 300; color: #6b7280; }
.compliance-contact-text strong { font-weight: 500; color: #374151; }
.compliance-contact-text a { color: #1E4080; }
.compliance-contact-text a:hover { text-decoration: underline; }
.compliance-note { font-size: 0.95rem; font-weight: 300; color: #9ca3af; margin-top: 8px; }

/* ─── Safety ─────────────────────────────────────────────────── */
.safety-lead { font-size: 1.25rem; font-weight: 300; color: #374151; margin-bottom: 16px; }
.safety-body { display: flex; flex-direction: column; gap: 16px; }
.safety-body p { font-size: 1.125rem; font-weight: 300; color: #374151; line-height: 1.7; }

/* ─── Development Plan ───────────────────────────────────────── */
.dev-doc-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #f9fafb; border-radius: 8px; padding: 28px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.dev-doc-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.dev-doc-card__meta   { font-size: 0.95rem; font-weight: 300; color: #6b7280; }
.dev-doc-card__title  { font-weight: 700; color: #111827; font-size: 1.25rem; }
.dev-doc-card__desc   { font-size: 0.95rem; font-weight: 300; color: #4b5563; }
.dev-doc-card__actions { display: flex; gap: 12px; padding-top: 4px; flex-wrap: wrap; }

.dev-facts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 32px;
}
.dev-fact-card {
  border-radius: 8px; border: 1px solid #f3f4f6;
  background: white; padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex; flex-direction: column; gap: 4px;
}
.dev-fact-card__value { font-size: 1.5rem; font-weight: 700; color: #1E4080; }
.dev-fact-card__label { font-size: 0.95rem; font-weight: 300; color: #6b7280; line-height: 1.35; }

.dev-roadmap       { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.dev-roadmap-title { font-size: 1.5rem; font-weight: 700; color: #111827; margin-bottom: 4px; }

.dev-stage {
  border-radius: 8px; border: 1px solid #f3f4f6;
  background: white; padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.dev-stage__head {
  display: flex; align-items: center;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.dev-stage__num {
  display: flex; width: 40px; height: 40px;
  flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 50%; background: #1E4080;
  color: white; font-size: 0.95rem; font-weight: 700;
}
.dev-stage__title   { font-weight: 700; color: #111827; font-size: 1rem; flex: 1; }
.dev-stage__period  { font-size: 0.95rem; font-weight: 300; color: #9ca3af; width: 100%; padding-left: 52px; }

.dev-stage__tag { border-radius: 100px; padding: 4px 10px; font-size: 12px; font-weight: 500; }
.dev-stage__tag--done    { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.dev-stage__tag--current { background: #1E4080; color: white; }
.dev-stage__tag--planned { background: #eff6ff; color: #1E4080; border: 1px solid #bfdbfe; }
.dev-stage__tag--future  { background: #f3f4f6; color: #4b5563; border: 1px solid #e5e7eb; }

.dev-stage__items { display: flex; flex-direction: column; gap: 6px; padding-left: 52px; }
.dev-stage__item  {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.95rem; font-weight: 300; color: #4b5563; line-height: 1.65;
}
.dev-stage__dot {
  margin-top: 6px; width: 6px; height: 6px;
  flex-shrink: 0; border-radius: 50%; background: #1E4080;
}

/* ─── Shared buttons ─────────────────────────────────────────── */
.btn-primary-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 28px;
  background: #1E4080; color: white;
  font-weight: 300; border-radius: 100px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap; cursor: pointer; font-family: inherit; font-size: 1rem;
}
.btn-primary-pill:hover { background: white; border-color: #1E4080; color: #111; }

.btn-outline-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #d1d5db; color: #374151;
  padding: 8px 20px; border-radius: 100px;
  font-weight: 500; text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap; cursor: pointer; font-family: inherit; font-size: 1rem; background: none;
}
.btn-outline-pill:hover { border-color: #1E4080; background: #f3f4f6; }

/* ─── Governance text ────────────────────────────────────────── */
.gov-intro { font-size: 1.125rem; font-weight: 300; color: #374151; line-height: 1.7; margin-bottom: 0; }



/* ============================================================
   KAES — Об Атоме page
   assets/css/pages/atom.css
   Matches apps/web/components/atom/ exactly
   ============================================================ */

/* ─── Page wrapper ─────────────────────────────────────────── */
.atom-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  background: #f0f0f0;
}
.atom-page__inner {
  position: relative;
  z-index: 10;
}

/* ─── Background glow blobs ────────────────────────────────── */
.background-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.background-glow__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
}
.background-glow__blob--1 {
  left: 28%; top: 16%;
  width: 520px; height: 620px;
  background: rgba(255,255,255,0.45);
  transform: rotate(8deg);
}
.background-glow__blob--2 {
  left: 6%; top: -4%;
  width: 340px; height: 700px;
  background: rgba(224,197,143,0.32);
  transform: rotate(-10deg);
}
.background-glow__blob--3 {
  right: -8%; top: 18%;
  width: 520px; height: 620px;
  background: rgba(30,64,128,0.08);
}

/* ─── Layout: nav + content ────────────────────────────────── */
/* flex flex-col md:flex-row flex-1 w-full pt-10 pb-20 md:pb-[320px] */
.atom-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 320px;
}

/* ─── Left nav (AtomNav) ───────────────────────────────────── */
/* px-4 md:pl-8 md:pr-0 shrink-0 w-full md:w-auto */
.atom-nav {
  flex-shrink: 0;
  width: auto;
  padding-left: 32px;
  padding-right: 0;
}
/* md:sticky md:top-16, maxHeight calc(100vh-4rem), overflowY: auto */
.atom-nav__sticky {
  position: sticky;
  top: 64px;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}
/* bg-white rounded-lg shadow-sm flex flex-col overflow-hidden w-full md:w-64 */
.atom-nav__card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 256px;
}

/* Nav item button */
/* flex items-start justify-between text-left gap-3 px-5 py-4 text-[15px] font-medium */
.atom-nav__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  gap: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-top: 1px solid #f3f4f6;
  background: white;
  color: #1f2937;
  cursor: pointer;
  width: 100%;
  transition: background-color 150ms, color 150ms;
  line-height: 1.35;
}
.atom-nav__btn:first-child { border-top: none; }
.atom-nav__btn:hover { background: #e5e7eb; }
.atom-nav__btn.active { background: #1E4080; color: white; }

.atom-nav__arrow {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
}

/* ─── Content area ─────────────────────────────────────────── */
/* flex-1 min-w-0 px-4 md:px-10 lg:px-20 */
.atom-content {
  flex: 1;
  min-width: 0;
  padding-left: 80px;
  padding-right: 80px;
}

/* Section title: text-5xl font-bold text-gray-900 mb-8 */
.atom-title {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 32px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* Section wrapper */
.atom-section { display: none; flex-direction: column; }
.atom-section.active { display: flex; }

/* ─── Common text helpers ───────────────────────────────────── */
.atom-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0 0 40px;
  max-width: 56rem;
}
.atom-text { font-size: 18px; line-height: 1.65; color: #374151; margin: 0; }
.atom-text-light { font-size: 18px; line-height: 1.65; color: #374151; font-weight: 300; }
.atom-heading-3 {
  font-size: 30px; font-weight: 500; color: #111827; margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.atom-heading-4 {
  font-size: 24px; font-weight: 500; color: #111827; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.atom-subtitle {
  font-size: 20px; font-weight: 500; color: #111827; margin: 0 0 8px;
}
.atom-stack { display: flex; flex-direction: column; gap: 32px; }
.atom-stack-sm { display: flex; flex-direction: column; gap: 16px; }
.atom-list {
  margin: 0 0 0 24px; padding: 0;
  color: #374151; font-size: 18px; line-height: 1.65; font-weight: 300;
}
.atom-list li + li { margin-top: 8px; }
.atom-ol {
  margin: 0 0 0 24px; padding: 0;
  color: #374151; font-size: 18px; line-height: 1.65; font-weight: 300;
}
.atom-ol li + li { margin-top: 8px; }

/* ─── HISTORY SECTION ──────────────────────────────────────── */
.history-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* Left timeline column: relative shrink-0 w-[340px] */
.history-timeline {
  position: relative;
  flex-shrink: 0;
  width: 340px;
}

/* Vertical gray line: absolute top-0 bottom-0 w-[2px] bg-gray-300 left-[44px] */
.history-timeline__line {
  position: absolute;
  top: 0; bottom: 0;
  left: 44px;
  width: 2px;
  background: #d1d5db;
}

/* Blue pill indicator */
.history-timeline__pill {
  position: absolute;
  left: 38px;
  width: 12px;
  height: 72px;
  border-radius: 999px;
  background: #1E4080;
  transition: top 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  top: 6px;
}

/* Timeline year rows */
.history-timeline__rows { display: flex; flex-direction: column; }

/* Each year row: relative text-left, height: 92px */
.history-year-btn {
  position: relative;
  text-align: left;
  height: 92px;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 0;
  font-family: inherit;
}

/* Year label: absolute top-1/2, left-[76px] */
.history-year-label {
  position: absolute;
  top: 50%;
  left: 76px;
  transform: translateY(-50%);
  line-height: 1;
  font-size: 20px;
  font-weight: 400;
  color: #111111;
  opacity: 0.9;
  transition: font-size 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              font-weight 0.2s,
              left 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}
.history-year-btn.active .history-year-label {
  font-size: 38px;
  font-weight: 500;
  color: #000;
  opacity: 1;
  left: 104px; /* 76 + 28 offset */
}

/* Right content: relative flex-1 min-w-0 */
.history-content {
  position: relative;
  flex: 1;
  min-width: 0;
}

/* Content card: absolute left-0 right-0 rounded-lg bg-white p-7 shadow-sm */
.history-card {
  position: absolute;
  left: 0; right: 0;
  background: white;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: top 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s ease, transform 0.22s ease;
  opacity: 1;
  transform: translateX(0);
}
.history-card.entering {
  animation: historyCardIn 0.22s ease forwards;
}
@keyframes historyCardIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.history-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1E4080;
  margin: 0 0 16px;
}
.history-card__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 12px;
  max-width: 56rem;
}
.history-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
/* Dot: mt-[12px] h-[6px] w-[6px] rounded-full bg-[#1E4080] shrink-0 */
.history-card__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1E4080;
  flex-shrink: 0;
  margin-top: 12px;
}
.history-card__text {
  font-size: 18px;
  line-height: 1.65;
  color: #374151;
}

/* ─── OPERATION SECTION ────────────────────────────────────── */
.operation-image {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 0 32px;
}
.operation-image img {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  max-width: 100%;
  height: auto;
}

/* ─── TYPES SECTION — reactor tabs ────────────────────────── */
.reactor-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
/* px-5 py-2.5 rounded-full text-sm font-medium */
.reactor-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: #f3f4f6;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 200ms, color 200ms;
}
.reactor-tab:hover { background: #e5e7eb; }
.reactor-tab.active { background: #1E4080; color: white; }

/* rounded-lg border border-gray-200 p-6 shadow-sm bg-white */
.reactor-panel {
  display: none;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.reactor-panel.active { display: block; }

/* grid grid-cols-1 lg:grid-cols-[1.15fr_420px] gap-8 items-start */
.reactor-panel__grid {
  display: grid;
  grid-template-columns: 1.15fr 420px;
  gap: 32px;
  align-items: start;
}
/* text-xl font-medium mb-4 */
.reactor-panel__title {
  font-size: 20px; font-weight: 500; color: #111827; margin: 0 0 16px;
}
/* space-y-2 text-lg text-gray-700 font-light mb-4 */
.reactor-specs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.reactor-specs p { margin: 0; font-size: 18px; color: #374151; font-weight: 300; }
.reactor-specs strong { font-weight: 500; color: #111827; }
.reactor-desc {
  font-size: 18px; line-height: 1.65; color: #374151; font-weight: 300;
  margin: 0 0 16px;
}
.reactor-deployed { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.reactor-deployed p { margin: 0; font-size: 18px; color: #374151; font-weight: 300; }
.reactor-deployed strong { font-weight: 500; color: #111827; }
.reactor-deployed ul {
  margin: 8px 0 0 24px; padding: 0;
  font-size: 18px; line-height: 1.65; color: #374151; font-weight: 300;
}
.reactor-points {
  list-style: disc;
  margin: 0 0 0 24px; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 18px; line-height: 1.65; color: #374151; font-weight: 300;
}

/* relative w-full aspect-[4/3] overflow-hidden rounded-2xl border bg-[#f8fbff] */
.reactor-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #d9e2f2;
  background: #f8fbff;
}
.reactor-image-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── SAFETY SECTION — accordion ──────────────────────────── */
.safety-list { display: flex; flex-direction: column; gap: 12px; }

/* rounded-lg border transition-all duration-200 */
.safety-item {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  overflow: hidden;
  transition: border-color 200ms, background 200ms, box-shadow 200ms;
}
.safety-item.open {
  border-color: rgba(30,64,128,0.30);
  background: rgba(239,246,255,0.40);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.safety-item:not(.open):hover { border-color: #d1d5db; }

/* w-full flex items-center justify-between px-6 py-5 */
.safety-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.safety-item__left { display: flex; align-items: center; gap: 16px; }

/* text-[13px] font-semibold tabular-nums */
.safety-item__num {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #d1d5db;
  transition: color 200ms;
}
.safety-item.open .safety-item__num,
.safety-item__btn:hover .safety-item__num { color: #1E4080; }

/* text-xl font-medium */
.safety-item__title {
  font-size: 20px;
  font-weight: 500;
  color: #111827;
  transition: color 200ms;
}
.safety-item.open .safety-item__title { color: #1E4080; }
.safety-item__btn:hover .safety-item__title { color: #1E4080; }

/* shrink-0 ml-4 w-8 h-8 rounded-full flex items-center justify-center */
.safety-item__chevron {
  flex-shrink: 0;
  margin-left: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6;
  color: #9ca3af;
  transition: background 200ms, color 200ms, transform 200ms;
}
.safety-item.open .safety-item__chevron {
  background: #1E4080;
  color: white;
  transform: rotate(180deg);
}
.safety-item__btn:hover .safety-item__chevron { background: #e5e7eb; }

/* Expandable body */
.safety-item__body {
  display: none;
  padding: 0 24px 24px;
}
.safety-item.open .safety-item__body { display: block; }
.safety-item__body-inner {
  border-top: 1px solid rgba(30,64,128,0.10);
  padding-top: 16px;
}
.safety-item__content { font-size: 18px; line-height: 1.65; color: #374151; font-weight: 300; }
.safety-item__content p { margin: 0 0 16px; }
.safety-item__content p:last-child { margin-bottom: 0; }

/* ─── ENVIRONMENT SECTION — CO2 calculator ─────────────────── */
.env-stack { display: flex; flex-direction: column; gap: 40px; }
.env-intro { display: flex; flex-direction: column; gap: 16px; }

/* rounded-2xl border border-[#dbe5f4] bg-gradient-to-br from-white to-[#f7faff] p-6 md:p-8 shadow-sm */
.env-calculator {
  border-radius: 16px;
  border: 1px solid #dbe5f4;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.env-calc-title {
  font-size: 24px; font-weight: 500; color: #1E4080; margin: 0 0 8px;
}
.env-calc-desc {
  font-size: 16px; color: #374151; font-weight: 300; line-height: 1.6; margin: 0;
}

/* grid grid-cols-1 xl:grid-cols-[1fr_1.2fr] gap-6 */
.env-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

/* Left form panel: rounded-2xl border border-gray-200 bg-white p-5 */
.env-form-panel {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.env-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 8px;
}
/* rounded-xl border border-gray-300 bg-white px-4 py-3 */
.env-form-select,
.env-form-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: white;
  padding: 12px 16px;
  font-size: 16px;
  color: #111827;
  font-family: inherit;
  outline: none;
  transition: border-color 200ms, box-shadow 200ms;
  box-sizing: border-box;
}
.env-form-select:focus,
.env-form-input:focus {
  border-color: #1E4080;
  box-shadow: 0 0 0 3px rgba(30,64,128,0.08);
}
.env-form-error {
  border-radius: 12px;
  border: 1px solid #fca5a5;
  background: #fef2f2;
  padding: 12px 16px;
  font-size: 14px;
  color: #b91c1c;
}
.env-form-btns { display: flex; flex-wrap: wrap; gap: 12px; }
/* inline-flex rounded-full bg-[#1E4080] px-6 py-3 text-white font-medium */
.env-btn-calc {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: #1E4080; color: white;
  padding: 12px 24px;
  font-size: 15px; font-weight: 500;
  border: none; cursor: pointer; font-family: inherit;
  transition: background 200ms;
}
.env-btn-calc:hover { background: #163465; }
/* border border-gray-300 bg-white rounded-full px-6 py-3 */
.env-btn-reset {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: white; color: #1f2937;
  border: 1px solid #d1d5db;
  padding: 12px 24px;
  font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: border-color 200ms, color 200ms;
}
.env-btn-reset:hover { border-color: #1E4080; color: #1E4080; }
/* Note box */
.env-note {
  border-radius: 16px;
  background: #f5f8fd;
  border: 1px solid #dbe5f4;
  padding: 16px;
}
.env-note p { margin: 0; font-size: 14px; color: #4b5563; line-height: 1.6; }

/* Right results panel */
.env-results { display: flex; flex-direction: column; gap: 20px; }

/* rounded-2xl bg-[#1E4080] text-white p-6 shadow-sm */
.env-result-main {
  border-radius: 16px;
  background: #1E4080;
  color: white;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.env-result-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.70);
  margin: 0 0 8px;
}
.env-result-value {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
}
.env-result-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.80);
  font-weight: 300;
  margin: 12px 0 0;
}

/* Insight card */
.env-insight {
  border-radius: 16px;
  border: 1px solid #dbe5f4;
  background: #f7faff;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.env-insight h4 { font-size: 18px; font-weight: 500; color: #1E4080; margin: 0 0 8px; }
.env-insight p { margin: 0; font-size: 15px; color: #374151; line-height: 1.65; font-weight: 300; }

/* Stats mini-grid: grid-cols-2 gap-4 */
.env-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.env-stat-card {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.env-stat-card p.label { font-size: 14px; color: #6b7280; margin: 0 0 8px; }
.env-stat-card p.value { font-size: 28px; font-weight: 600; color: #1E4080; margin: 0 0 8px; }
.env-stat-card p.note { font-size: 14px; color: #374151; font-weight: 300; line-height: 1.5; margin: 0; }

/* Comparison bars card */
.env-compare-card {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.env-compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.env-compare-header h4 {
  font-size: 20px; font-weight: 500; color: #111827; margin: 0;
}
.env-compare-header span { font-size: 14px; color: #6b7280; }

.env-compare-list { display: flex; flex-direction: column; gap: 12px; }
/* rounded-xl border p-4 transition */
.env-compare-row {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 16px;
  transition: border-color 150ms, background 150ms;
}
.env-compare-row.active {
  border-color: #1E4080;
  background: #f5f8fd;
}
.env-compare-row__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.env-compare-row__name { font-weight: 500; color: #111827; font-size: 15px; margin: 0; }
.env-compare-row__factor { font-size: 14px; color: #6b7280; margin: 0; }
.env-compare-row__tons { font-size: 18px; font-weight: 600; color: #1E4080; margin: 0; }
/* h-2 rounded-full bg-gray-100 overflow-hidden */
.env-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #f3f4f6;
  overflow: hidden;
}
.env-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #1E4080;
  transition: width 400ms ease;
}

/* ─── MYTHS SECTION ─────────────────────────────────────────── */
.myths-list { display: flex; flex-direction: column; gap: 24px; }
/* rounded-lg border border-gray-200 bg-white p-6 shadow-sm hover:shadow-lg */
.myth-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 300ms;
}
.myth-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
/* text-lg font-medium text-[#f74130] mb-2 */
.myth-card__myth {
  font-size: 18px;
  font-weight: 500;
  color: #f74130;
  margin: 0 0 8px;
}
/* text-lg text-gray-700 leading-relaxed */
.myth-card__fact {
  font-size: 18px;
  color: #374151;
  line-height: 1.65;
  margin: 0;
}
.myth-card__fact-label {
  font-weight: 600;
  color: #35B56B;
}

/* ─── MULTIMEDIA / QUIZ SECTION ─────────────────────────────── */
/* rounded-lg border border-gray-200 bg-white p-6 shadow-sm */
.quiz-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.quiz-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #1E4080;
  margin: 0 0 8px;
}
.quiz-card-title {
  font-size: 24px; font-weight: 500; color: #111827; margin: 0 0 24px;
}

/* Progress */
.quiz-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}
/* w-full bg-gray-200 rounded-full h-[4px] */
.quiz-progress-track {
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 999px;
  margin-bottom: 24px;
}
.quiz-progress-fill {
  height: 4px;
  border-radius: 999px;
  background: #1E4080;
  transition: width 300ms ease;
}

/* rounded-lg bg-[#F8FAFC] border border-gray-100 p-8 */
.quiz-question-box {
  background: #f8fafc;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 32px;
  max-width: 768px;
}
.quiz-question-text {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
/* w-full text-left rounded-lg border border-gray-200 bg-white p-4 */
.quiz-opt-btn {
  width: 100%;
  text-align: left;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 16px;
  font-size: 18px;
  color: #1f2937;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.quiz-opt-btn:hover {
  border-color: #1E4080;
  background: #eef4ff;
}
.quiz-opt-letter { font-weight: 500; color: #1E4080; margin-right: 12px; }

/* Result screen */
.quiz-result-box {
  background: #f8fafc;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 32px;
  max-width: 768px;
}
.quiz-score {
  font-size: 60px;
  font-weight: 700;
  color: #1E4080;
  line-height: 1;
  margin: 0 0 8px;
}
.quiz-score span { font-size: 30px; font-weight: 400; color: #9ca3af; }
.quiz-result-text { font-size: 18px; color: #374151; margin: 0 0 32px; }

.quiz-review { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.quiz-review-item {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 16px;
}
.quiz-review-q { font-size: 18px; font-weight: 500; color: #1f2937; margin: 0 0 12px; }
.quiz-review-opts { display: flex; flex-direction: column; gap: 8px; }
/* Review option states */
.quiz-review-opt {
  width: 100%;
  text-align: left;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 12px;
  font-size: 18px;
  color: #4b5563;
}
.quiz-review-opt.correct { background: #f0fdf4; border-color: #4ade80; color: #166534; }
.quiz-review-opt.wrong   { background: #fef2f2; border-color: #f87171; color: #991b1b; }

/* inline-flex rounded-lg bg-[#1E4080] */
.quiz-reset-btn {
  display: inline-flex;
  border-radius: 8px;
  background: #1E4080;
  color: white;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 200ms;
}
.quiz-reset-btn:hover { background: #163264; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .env-calc-grid { grid-template-columns: 1fr; }
  .reactor-panel__grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .atom-content { padding-left: 40px; padding-right: 40px; }
  .history-layout { gap: 40px; }
  .history-timeline { width: 280px; }
}
@media (max-width: 768px) {
  .atom-layout { flex-direction: column; padding-top: 32px; padding-bottom: 80px; }
  .atom-nav { width: 100%; padding-left: 16px; padding-right: 16px; margin-bottom: 32px; }
  .atom-nav__sticky { position: static; max-height: none; overflow: visible; }
  .atom-nav__card { width: 100%; }
  .atom-content { padding-left: 16px; padding-right: 16px; }
  .atom-title { font-size: 36px; }
  .history-layout { flex-direction: column; gap: 24px; }
  .history-timeline { width: 100%; }
  .history-content { min-height: 200px; }
  .env-stats-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   KAES — Contacts Page
   pages/contacts.css
   HTML/CSS version converted from React contact page
   ============================================================ */

.contacts-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #ffffff;
}

.contacts-container,
.contacts-breadcrumb-wrap {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.contacts-breadcrumb-wrap {
  padding: 32px 0 0;
  position: relative;
  z-index: 2;
}

.contacts-bg {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.45;
}

.contacts-bg--one {
  width: 360px;
  height: 360px;
  top: 260px;
  left: -180px;
  background: rgba(30, 64, 128, 0.16);
}

.contacts-bg--two {
  width: 430px;
  height: 430px;
  right: -210px;
  bottom: 220px;
  background: rgba(224, 197, 143, 0.28);
}

.contacts-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Contact info section ────────────────────────────────── */
.contacts-info-section {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 28px;
  background: #f0f0f0;
}

.contacts-info-section .contacts-container {
  padding: 40px 0;
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contacts-info-card {
  min-height: 100%;
  padding: 32px;
  border: 1px solid rgba(229, 231, 235, 1);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contacts-info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 64, 128, 0.18);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

.contacts-info-card__title {
  margin: 0 0 8px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.contacts-info-card__text,
.contacts-info-card__link {
  margin: 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300;
}

.contacts-info-card__link {
  display: inline-block;
  color: #1e4080;
  text-decoration: none;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.contacts-info-card__link:hover {
  color: #0d1c3d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-info-card__link--plain:hover {
  text-decoration: none;
}

.contacts-info-group+.contacts-info-group {
  margin-top: 16px;
}

.contacts-info-card__weekend {
  margin-top: 8px;
}

.contacts-info-card__weekend span {
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

/* ─── Map section ─────────────────────────────────────────── */
.contacts-map-section {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffffff;
}

.contacts-map-static {
  width: 100%;
  height: 460px;
  background: #e5e7eb;
  overflow: hidden;
}

.contacts-map-static iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

/* ─── Feedback section ────────────────────────────────────── */
.contacts-feedback-section {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #f0f0f0;
}

.contacts-feedback-section .contacts-container {
  padding: 48px 0;
}

.contacts-feedback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
}

.contacts-feedback-card {
  position: relative;
  z-index: 2;
  padding: 32px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
}

.contacts-feedback-card__title {
  margin: 0 0 24px;
  color: #111827;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts-form__input,
.contacts-form__textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  padding: 11px 16px;
  color: #111827;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 300;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contacts-form__input::placeholder,
.contacts-form__textarea::placeholder {
  color: #9ca3af;
}

.contacts-form__input:focus,
.contacts-form__textarea:focus {
  border-color: #1e4080;
  box-shadow: 0 0 0 3px rgba(30, 64, 128, 0.12);
}

.contacts-form__textarea {
  resize: none;
  min-height: 132px;
}

.contacts-form__message-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-form__label {
  color: #374151;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}

.contacts-form__status {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
  color: #15803d;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 300;
}

.contacts-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #1e4080;
  padding: 12px 32px;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.contacts-form__submit:hover {
  background: #0d1c3d;
  transform: translateY(-1px);
}

.contacts-form__submit:disabled {
  cursor: default;
  opacity: 0.65;
  transform: none;
}

.contacts-feedback-atom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  overflow: visible;
}

.contacts-feedback-atom img {
  width: min(1000px, 78vw);
  max-width: none;
  height: auto;
  filter: drop-shadow(0 24px 35px rgba(30, 64, 128, 0.22));
  transform: translateX(8%) rotate(0deg);
  animation: contactsAtomFloat 8s ease-in-out infinite;
}

@keyframes contactsAtomFloat {

  0%,
  100% {
    transform: translateX(8%) translateY(0) rotate(0deg);
  }

  50% {
    transform: translateX(8%) translateY(-14px) rotate(2deg);
  }
}

/* ─── Backward compatibility with old temporary HTML ──────── */
.contact-grid,
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-mid, #1e4080);
  flex-shrink: 0;
}

.contact-info-label {
  margin-bottom: 4px;
  color: #9ca3af;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info-value {
  color: #111827;
  font-size: 16px;
  line-height: 1.5;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1023px) {

  .contacts-info-grid,
  .contacts-feedback-grid {
    grid-template-columns: 1fr;
  }

  .contacts-feedback-atom {
    display: none;
  }
}

@media (max-width: 767px) {

  .contacts-container,
  .contacts-breadcrumb-wrap {
    width: min(100% - 40px, 1280px);
  }

  .contacts-breadcrumb-wrap {
    padding-top: 24px;
  }

  .contacts-info-section {
    margin-top: 24px;
  }

  .contacts-info-section .contacts-container,
  .contacts-feedback-section .contacts-container {
    padding: 32px 0;
  }

  .contacts-info-card,
  .contacts-feedback-card {
    padding: 24px;
  }

  .contacts-info-card__title,
  .contacts-info-card__weekend span {
    font-size: 18px;
  }

  .contacts-info-card__text,
  .contacts-info-card__link {
    font-size: 16px;
  }

  .contacts-map-static,
  .contacts-map-static iframe {
    height: 360px;
  }

  .contacts-feedback-card__title {
    margin-bottom: 20px;
    font-size: 30px;
  }
}

@media (max-width: 420px) {

  .contacts-container,
  .contacts-breadcrumb-wrap {
    width: min(100% - 28px, 1280px);
  }

  .contacts-info-card,
  .contacts-feedback-card {
    padding: 20px;
  }

  .contacts-form__submit {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .contacts-info-card,
  .contacts-form__submit,
  .contacts-feedback-atom img {
    animation: none;
    transition: none;
  }
}

/* ============================================================
   Contacts page — hero + breadcrumb like Vacancies/FAQ
   ============================================================ */

.contacts-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f0f0f0;
  isolation: isolate;
}

/* Hero */
.contacts-page .page-hero.contacts-hero {
  position: relative;
  z-index: 2;
  min-height: 140px;
  overflow: visible;
  background: #1a2f6e;
}

.contacts-page .page-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.4) 39px,
      rgba(255, 255, 255, 0.4) 40px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.4) 39px,
      rgba(255, 255, 255, 0.4) 40px);
}

.contacts-page .page-hero__atom {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.contacts-page .page-hero__atom--first {
  right: 16%;
  top: -50px;
  width: 430px;
  z-index: 5;
  transform: rotate(25deg);
}

.contacts-page .page-hero__atom--second {
  right: 0;
  top: -40px;
  width: 600px;
  z-index: 10;
  transform: scaleX(-1) rotate(25deg);
}

.contacts-page .page-hero__atom-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 999px;
  background: rgba(224, 197, 143, 0.30);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.contacts-page .page-hero__atom img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.18));
}

.contacts-page .page-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px;
}

.contacts-page .page-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}

/* Content area */
.contacts-content-section {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #f0f0f0;
  padding: 40px 0 80px;
  padding-top: 32px;
  padding-bottom: 64px;
  padding-top: 32px;
}

.contacts-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
}

/* Breadcrumb */

/* Responsive */
@media (max-width: 1024px) {
  .contacts-page .page-hero__atom--first {
    right: 10%;
    width: 360px;
  }

  .contacts-page .page-hero__atom--second {
    width: 500px;
  }
}

@media (max-width: 768px) {
  .contacts-page .page-hero__inner {
    padding: 36px 16px;
  }

  .contacts-page .page-hero__title {
    font-size: 30px;
  }

  .contacts-page .page-hero__atom {
    opacity: 0.45;
  }

  .contacts-page .page-hero__atom--first {
    right: 20%;
    top: -30px;
    width: 260px;
  }

  .contacts-page .page-hero__atom--second {
    right: -16%;
    top: -25px;
    width: 360px;
  }

  .contacts-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  }

/* ─── Contacts spacing fix ───────────────────── */

/* если где-то остался дополнительный отступ от прошлых версий */
.contacts-info-section,
.contacts-grid {
  margin-top: 0;
}

/* карточки чуть ближе к breadcrumb */
.contacts-grid,
.contacts-info-grid,
.contact-cards,
.contacts-cards {
  margin-top: 0;
}

/* ============================================================
   KAES — Development Plan Page
   pages/development-plan.css
   ============================================================ */

.devplan-timeline {
  position: relative;
  padding-left: 48px;
}
.devplan-timeline::before {
  content: '';
  position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-mid), var(--color-muted));
  border-radius: 2px;
}

.devplan-stage { position: relative; margin-bottom: 40px; }
.devplan-stage::before {
  content: '';
  position: absolute; left: -40px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--color-primary-mid);
}
.devplan-stage--current::before {
  background: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent), 0 0 12px rgba(224, 197, 143, 0.40);
}


/* ============================================================
   FAQ page — CMS version copied from apps/web Next.js structure
   Source structure: PageHero + BackgroundGlow + FaqContent + FaqNav
============================================================ */

.faq-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f0f0f0;
}

.faq-background-glow {
  display: none !important;
}

.faq-background-glow__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
}

.faq-background-glow__blob--veil {
  left: 18%;
  top: 8%;
  width: 58%;
  height: 72%;
  background: rgba(245, 240, 233, 0.45);
}

.faq-background-glow__blob--white {
  left: 34%;
  top: 18%;
  width: 430px;
  height: 520px;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(8deg);
  filter: blur(130px);
}

.faq-background-glow__blob--gold {
  left: -2%;
  top: -8%;
  width: 300px;
  height: 660px;
  background: rgba(224, 197, 143, 0.18);
  transform: rotate(-12deg);
}

.faq-background-glow__blob--blue {
  right: 4%;
  top: 24%;
  width: 220px;
  height: 520px;
  background: rgba(60, 80, 125, 0.14);
  transform: rotate(10deg);
}

.faq-page__inner {
  position: relative;
  z-index: 1;
}

/* PageHero */
.faq-hero {
  position: relative;
  min-height: 140px;
  overflow: visible;
  background: #1a2f6e;
}

.faq-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.1;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.4) 39px, rgba(255,255,255,.4) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.4) 39px, rgba(255,255,255,.4) 40px);
}

.faq-hero__atom {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.faq-hero__atom--first {
  right: 16%;
  top: -50px;
  width: 430px;
  z-index: 5;
  transform: rotate(25deg);
}

.faq-hero__atom--second {
  right: 0;
  top: -40px;
  width: 600px;
  z-index: 10;
  transform: scaleX(-1) rotate(25deg);
}

.faq-hero__atom-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 999px;
  background: rgba(224,197,143,0.30);
  transform: translate(-50%, -50%);
  filter: blur(24px);
  z-index: 0;
}

.faq-hero__atom img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.15));
}

.faq-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
}

.faq-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

/* FaqContent */
.faq-layout {
  display: flex;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 80px;
}

.faq-nav {
  flex-shrink: 0;
  padding-left: 32px;
}

.faq-nav__sticky {
  position: sticky;
  top: 64px;
  height: calc(100vh - 4rem);
  overflow-y: auto;
}

.faq-nav__card {
  width: 256px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.faq-nav__btn {
  width: 100%;
  border: 0;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color 150ms ease, color 150ms ease;
}

.faq-nav__btn:first-child {
  border-top: 0;
}

.faq-nav__btn:hover {
  background: #e5e7eb;
}

.faq-nav__btn.active {
  background: #1E4080;
  color: #ffffff;
}

.faq-nav__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-content {
  flex: 1;
  min-width: 0;
  padding-left: 80px;
  padding-right: 80px;
}

.faq-title {
  margin: 0 0 32px;
  color: #111827;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.faq-item:hover {
  border-color: #d1d5db;
}

.faq-item.active {
  border-color: rgba(30, 64, 128, 0.3);
  background: rgba(239, 246, 255, 0.4);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.faq-item__button {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: inherit;
}

.faq-item__question {
  padding-right: 16px;
  color: #111827;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 150ms ease;
}

.faq-item__button:hover .faq-item__question,
.faq-item.active .faq-item__question {
  color: #1E4080;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}

.faq-item__button:hover .faq-item__icon {
  background: #e5e7eb;
}

.faq-item.active .faq-item__icon {
  background: #1E4080;
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 24px 24px;
}

.faq-item__answer-inner {
  border-top: 1px solid rgba(30, 64, 128, 0.1);
  padding-top: 16px;
}

.faq-item__answer p {
  margin: 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .faq-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .faq-hero__atom--first {
    right: 10%;
    width: 360px;
  }

  .faq-hero__atom--second {
    width: 500px;
  }
}

@media (max-width: 768px) {
  .faq-layout {
    flex-direction: column;
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .faq-nav {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 32px;
  }

  .faq-nav__sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .faq-nav__card {
    width: 100%;
  }

  .faq-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-title {
    font-size: 36px;
  }

  .faq-hero__inner {
    padding: 36px 16px;
  }

  .faq-hero__title {
    font-size: 30px;
  }

  .faq-hero__atom {
    opacity: 0.45;
  }

  .faq-hero__atom--first {
    right: 20%;
    top: -30px;
    width: 260px;
  }

  .faq-hero__atom--second {
    right: -16%;
    top: -25px;
    width: 360px;
  }

  .faq-item__button {
    padding: 18px 18px;
  }

  .faq-item__answer {
    padding: 0 18px 20px;
  }

  .faq-item__answer p {
    font-size: 16px;
  }
}


/* ============================================================
   KAES — Home Page Sections
   pages/index.css
   ============================================================ */

/* ── President message section ── */
.president-section {
  position: relative;
  overflow: hidden;
  padding: var(--py-section) var(--px-section);
  background: var(--color-bg);
}

.president-section__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .president-section__layout { flex-direction: row; gap: 80px; align-items: flex-start; }
}

.president-section__left { flex-shrink: 0; }
@media (min-width: 1024px) { .president-section__left { width: 33%; } }

.president-section__official {
  display: inline-block;
  color: var(--color-primary-mid);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px; font-weight: 500;
  margin-bottom: 16px;
}

.president-section__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 24px;
}

.president-section__right { flex: 1; }

.quote-mark {
  font-family: Georgia, serif;
  font-size: 80px; line-height: 1;
  color: var(--color-primary-mid);
  user-select: none; margin-bottom: 8px;
}
.quote-mark--gold { color: var(--color-accent); }

.president-section__quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300; line-height: 1.7;
}

.president-section__author {
  margin-top: 24px;
  color: var(--color-primary-mid);
  font-weight: 500; letter-spacing: 0.03em;
}
.president-section__author span {
  display: block; font-weight: 300; font-size: 15px;
  color: var(--color-text-dark); margin-top: 4px;
}

/* ── About dark section ── */
.about-dark {
  position: relative; overflow: hidden;
  background: #0B1C3C;
  padding: var(--py-section) var(--px-section);
  color: var(--color-text-light);
}

.about-dark__atom-bg {
  position: absolute; top: -160px; right: -160px;
  width: 800px; height: auto;
  opacity: 0.35; filter: blur(2px); pointer-events: none;
}

.about-dark__inner { position: relative; z-index: 1; }

.about-dark__layout { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 1024px) {
  .about-dark__layout { flex-direction: row; gap: 80px; align-items: flex-start; }
}

.about-dark__left { flex-shrink: 0; }
@media (min-width: 1024px) { .about-dark__left { width: 33%; } }

.about-dark__label {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase; letter-spacing: 0.15em;
  font-size: 22px; font-weight: 500; margin-bottom: 16px;
}

.about-dark__title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: white; line-height: 1.2; }
.about-dark__right { flex: 1; }
.about-dark__text {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 300; line-height: 1.7;
  color: rgba(245, 240, 233, 0.85);
}

/* ── CEO section ── */
.ceo-section { padding: 64px var(--px-section); }

.ceo-section__inner {
  max-width: var(--container-width); margin: 0 auto;
  display: flex; gap: 48px; align-items: center;
  flex-direction: column;
}
@media (min-width: 1024px) { .ceo-section__inner { flex-direction: row; } }

.ceo-section__photo {
  width: 300px; height: 400px;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-card); flex-shrink: 0;
}
.ceo-section__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.ceo-section__badge {
  display: inline-block;
  background: var(--color-accent); color: var(--color-primary);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.ceo-section__name { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700; color: #111827; margin-bottom: 8px; }
.ceo-section__role { font-size: 17px; color: #6b7280; font-weight: 300; margin-bottom: 16px; }
.ceo-section__bio  { font-size: 17px; color: #374151; font-weight: 300; line-height: 1.7; margin-bottom: 24px; }

/* ── News section (index carousel wrapper) ── */
.news-section {
  position: relative; overflow: hidden;
 
}
.news-section__atom-bg {
  position: absolute; bottom: -40px; left: -300px;
  width: 1000px; height: auto;
  transform: scaleX(-1) rotate(-20deg);
  pointer-events: none;
}
.news-section__header {
  padding: 0 var(--px-section); margin-bottom: 40px;
  position: relative; z-index: 1;
}
.news-section__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
}

/* ── Development plan section ── */
.dev-plan-section {
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--py-section) var(--px-section);
}
.dev-plan-section__inner {
  max-width: var(--container-width); margin: 0 auto;
  display: flex; flex-direction: column; gap: 110px;
}
.dev-plan-section__intro { max-width: 720px; }
.dev-plan-section__text {
  font-size: 17px; font-weight: 300; color: white; line-height: 1.7;
  margin: 16px 0 24px;
}
.dev-plan-section__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Careers promo ── */
.careers-promo { padding: 0 var(--px-section) var(--py-section) var(--px-section); }

.careers-promo__card {
  display: block;
  border: 1px solid #d9e2f2; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #f8fbff, white, #eef4ff);
  box-shadow: 0 2px 12px rgba(30, 64, 128, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: var(--container-width); margin: 0 auto;
}
.careers-promo__card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(30, 64, 128, 0.14); }

.careers-promo__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .careers-promo__grid { grid-template-columns: 1.1fr 0.9fr; } }

.careers-promo__content {
  padding: 40px 48px; display: flex; flex-direction: column; position: relative;
}

.careers-promo__badge {
  display: inline-block;
  background: var(--color-accent); border: 1px solid #dbe5f4;
  color: var(--color-primary-mid);
  font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 20px;
  width: fit-content;
}

.careers-promo__title {
  font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 700;
  color: #111827; line-height: 1.2; max-width: 600px; margin-bottom: 20px;
}

.careers-promo__desc {
  font-size: 17px; font-weight: 300; color: #6b7280;
  line-height: 1.7; max-width: 600px; margin-bottom: 32px;
}

.careers-stats { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.careers-stat {
  min-width: 180px;
  border: 1px solid #dbe5f4; background: white;
  border-radius: 10px; padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.careers-stat__label    { font-size: 13px; color: #9ca3af; margin-bottom: 8px; }
.careers-stat__val      { font-size: 28px; font-weight: 700; color: var(--color-primary-mid); }
.careers-stat__val--md  { font-size: 17px; font-weight: 600; color: #111827; }

.careers-promo__image {
  position: relative; min-height: 320px;
  background: #eef4ff; border-top: 1px solid #dbe5f4;
}
@media (min-width: 1024px) {
  .careers-promo__image { border-top: none; border-left: 1px solid #dbe5f4; min-height: 620px; }
}
.careers-promo__image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
}

.careers-promo__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 40, 79, 0.30), transparent);
}

.careers-promo__badge-img {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 10px; padding: 12px 16px;
}
.careers-promo__badge-img--tl { top: 20px; left: 20px; }
.careers-promo__badge-img--br { bottom: 20px; right: 20px; }
.careers-promo__badge-img p:first-child { font-size: 12px; color: #9ca3af; }
.careers-promo__badge-img p:last-child  { font-size: 14px; font-weight: 600; color: #111827; margin-top: 4px; }
.careers-promo__badge-img--br p:last-child { color: var(--color-primary-mid); }


/* ============================================================
   KAES — International Cooperation Page
   assets/css/pages/international-cooperation.css

   CSS-only pass:
   closer to the original React layout:
   - smaller square-ish cards
   - no oversized rounded blocks
   - no blue-highlight partner card
   - original-style intro, stats, partners, timeline, forums, CTA
   ============================================================ */

.intl-cooperation-page {
  position: relative;
  overflow: hidden;
  padding: 64px 0 92px;
  background: var(--color-bg);
}

.intl-cooperation-page::before,
.intl-cooperation-page::after {
  display: none;
}

.intl-bg-glow {
  display: none !important;
}

.intl-cooperation-page .container {
  position: relative;
  z-index: 1;
}

/* hide small eyebrow labels if they are still left in HTML */
.intl-kicker,
.intl-section__eyebrow,
.intl-cta>div>span {
  display: none !important;
}

/* hide the old partners helper paragraph without affecting forum text */
#intl-partners-title+p {
  display: none !important;
}

/* Breadcrumb */
.intl-breadcrumb {
  margin-bottom: 82px;
  font-size: 14px;
}

.intl-cooperation-page .breadcrumb__link {
  color: rgba(107, 114, 128, 0.72);
  font-weight: 300;
}

.intl-cooperation-page .breadcrumb__link:hover {
  color: #1E4080;
}

.intl-cooperation-page .breadcrumb__sep {
  color: rgba(148, 163, 184, 0.78);
}

.intl-cooperation-page .breadcrumb__current {
  color: rgba(55, 65, 81, 0.82);
  font-weight: 500;
}

/* Intro */
.intl-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 80px;
}

.intl-intro__text {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.intl-title {
  max-width: 760px;
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.intl-lead {
  max-width: 820px;
  margin: 24px 0 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.72;
  font-weight: 300;
}

.intl-lead--compact {
  margin-top: 20px;
}

/* Stats */
.intl-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intl-stat-card,
.intl-stat-card--accent {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(17, 34, 80, 0.07);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 34, 80, 0.08);
  text-align: center;
  color: inherit;
}

.intl-stat-card--accent {
  background: #f8fbff;
}

.intl-stat-card strong,
.intl-stat-card--accent strong {
  color: #1E4080;
  font-size: clamp(3rem, 5vw, 3.75rem);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.intl-stat-card span,
.intl-stat-card--accent span {
  margin-top: 12px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 300;
}

/* Sections */
.intl-section {
  margin-top: 80px;
}

.intl-section__head {
  max-width: 920px;
  margin-bottom: 40px;
}

.intl-section__head--wide {
  max-width: 960px;
}

.intl-section__title,
.intl-cooperation-page .section-title {
  margin: 0;
  color: #111827;
  font-size: clamp(1.8rem, 3vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.intl-section__head p {
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 300;
}

/* Partners */
.intl-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.intl-partner-card,
.intl-partner-card--blue {
  display: flex;
  min-height: 408px;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(17, 34, 80, 0.07);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 34, 80, 0.08);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.intl-partner-card:hover,
.intl-partner-card--blue:hover {
  transform: scale(1.03);
  border-color: rgba(30, 64, 128, 0.28);
  box-shadow: 0 10px 24px rgba(17, 34, 80, 0.12);
}

.intl-partner-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intl-partner-card__flag,
.intl-partner-card--blue .intl-partner-card__flag {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-size: 30px;
  line-height: 1;
}

.intl-partner-card__top span:not(.intl-partner-card__flag),
.intl-partner-card--blue .intl-partner-card__top span:not(.intl-partner-card__flag) {
  display: block;
  margin-bottom: 4px;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.intl-partner-card h3,
.intl-partner-card--blue h3 {
  margin: 0;
  color: #111827;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.intl-partner-card p,
.intl-partner-card--blue p {
  flex: 1;
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.72;
  font-weight: 300;
}

.intl-tags,
.intl-partner-card--blue .intl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 34, 80, 0.07);
}

.intl-tags span,
.intl-partner-card--blue .intl-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1E4080;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}

/* Directions */
.intl-directions {
  display: block;
  padding: 24px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  box-shadow: none;
}

.intl-directions__content {
  margin-bottom: 16px;
}

.intl-directions__title {
  margin: 0 0 12px;
  color: #1E4080;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 700;
}

.intl-directions__content p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
}

.intl-directions__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.intl-direction-item {
  display: flex;
  gap: 12px;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intl-direction-item>span {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #1E4080;
  box-shadow: none;
}

.intl-direction-item h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.intl-direction-item p {
  margin: 4px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
}

/* Timeline */
.intl-timeline {
  position: relative;
  display: grid;
  gap: 24px;
}

.intl-timeline::before {
  display: none;
}

.intl-timeline-item {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.intl-timeline-item time {
  width: 104px;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 104px;
  padding: 6px 12px 0 0;
  border-radius: 0;
  background: transparent;
  color: #1E4080;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.intl-timeline-item time::after {
  display: none;
}

.intl-timeline-item>div {
  flex: 1;
  padding: 16px 24px;
  border: 1px solid #d9e2f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 34, 80, 0.08);
}

.intl-timeline-item h3 {
  margin: 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

.intl-timeline-item p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
}

/* Forums */
.intl-forum-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.intl-forum-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(17, 34, 80, 0.07);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 34, 80, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intl-forum-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(17, 34, 80, 0.12);
}

.intl-forum-card>span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 50%;
  background: #1E4080;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.intl-forum-card h3 {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.intl-forum-card p {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 300;
}

/* CTA */
.intl-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding: 40px;
  border: 0;
  border-radius: 8px;
  background: #112250;
  box-shadow: none;
  color: #fff;
}

.intl-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}

.intl-cta p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
}

.intl-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 14px 28px;
  border-radius: 999px;
  background: #E0C58F;
  color: #112250;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.intl-cta__btn:hover {
  background: #C9B07A;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1023px) {
  .intl-intro {
    grid-template-columns: 1fr;
  }

  .intl-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intl-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intl-partner-card,
  .intl-partner-card--blue {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .intl-cooperation-page {
    padding: 44px 0 64px;
  }

  .intl-breadcrumb {
    margin-bottom: 44px;
  }

  .intl-intro {
    gap: 24px;
    margin-bottom: 64px;
  }

  .intl-title {
    font-size: 2rem;
    line-height: 1.18;
  }

  .intl-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .intl-stats,
  .intl-partner-grid,
  .intl-directions__grid,
  .intl-forum-grid {
    grid-template-columns: 1fr;
  }

  .intl-section {
    margin-top: 64px;
  }

  .intl-section__head {
    margin-bottom: 28px;
  }

  .intl-section__title,
  .intl-cooperation-page .section-title {
    font-size: 1.75rem;
  }

  .intl-partner-card,
  .intl-partner-card--blue {
    padding: 20px;
  }

  .intl-partner-card p,
  .intl-partner-card--blue p {
    font-size: 16px;
  }

  .intl-timeline-item {
    display: block;
  }

  .intl-timeline-item time {
    width: auto;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 10px;
    font-size: 24px;
  }

  .intl-timeline-item>div {
    padding: 16px 18px;
  }

  .intl-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .intl-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   KAES — News / Press-Centre Page
   pages/news.css
   ============================================================ */

/* ── Page wrapper ── */
.news-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Breadcrumb bar ── */
.news-breadcrumb-bar {
  padding: 40px 16px;
}
@media (min-width: 768px) {
  .news-breadcrumb-bar { padding: 40px; }
}

.news-bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 300;
  color: #6b7280;
}
.news-bc__home { color: #6b7280; transition: color 0.2s; }
.news-bc__home:hover { color: #111827; }
.news-bc__sep  { color: #d1d5db; }
.news-bc__cur  { color: #111827; font-weight: 400; }

/* ── Main layout: sidebar + content ── */
.news-layout {
  display: flex;
  flex: 1;
  width: 100%;
}

/* ── Sidebar ── */
.news-sidebar {
  display: none;
  flex-shrink: 0;
  padding: 0 32px;
  width: 360px;
}
@media (min-width: 768px) { .news-sidebar { display: block; } }

.news-sidebar__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* Sidebar tab switcher */
.news-sidebar__tabs {
  display: flex;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.news-sidebar__tab {
  flex: 1;
  white-space: nowrap;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: background 0.15s, color 0.15s;
  text-align: center;
  border-radius: 8px 8px 0 0;
}
.news-sidebar__tab:hover:not(.is-active) { color: #111827; }
.news-sidebar__tab.is-active {
  background: #1E4080;
  color: white;
}

/* Sidebar body (filter fields) */
.news-sidebar__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.news-filter-group { display: flex; flex-direction: column; gap: 8px; }

.news-filter-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.news-filter-input {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #f3f4f6;
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}
.news-filter-input::placeholder { color: #9ca3af; }

.news-filter-select {
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 12px;
  background: #f3f4f6;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  color: #9ca3af;
}
.news-filter-select:valid,
.news-filter-select option:not([value=""]) { color: #374151; }

.news-sidebar__apply {
  width: 100%;
  border-radius: 12px;
  background: #1E4080;
  padding: 16px;
  font-size: 15px;
  font-weight: 500;
  color: white;
  font-family: inherit;
  transition: background 0.15s;
  cursor: pointer;
}
.news-sidebar__apply:hover { background: #163366; }

/* ── Mini Calendar ── */
.news-cal {
  border-radius: 12px;
  background: #f3f4f6;
  padding: 16px;
  user-select: none;
}
.news-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.news-cal__nav {
  display: flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
  transition: background 0.15s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.news-cal__nav:hover { background: white; }
.news-cal__head-center {
  display: flex; align-items: center; gap: 8px;
}
.news-cal__month-name {
  min-width: 96px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}
.news-cal__year-select {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 4px 8px;
  font-size: 13px;
  color: #374151;
  font-family: inherit;
  outline: none;
}
.news-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.news-cal__weekday {
  height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
}
.news-cal__day {
  position: relative;
  height: 40px;
  border-radius: 8px;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  cursor: default;
  background: none;
  border: none;
  font-family: inherit;
  color: #374151;
}
.news-cal__day--other          { color: #d1d5db; }
.news-cal__day--has-news       { background: #EAF1FF; color: #1E4080; cursor: pointer; }
.news-cal__day--has-news:hover:not(.news-cal__day--selected) { background: #dce8ff; }
.news-cal__day--other.news-cal__day--has-news { background: #f4f7ff; color: #90a3c7; }
.news-cal__day--selected       { background: #1E4080 !important; color: white !important; }
.news-cal__day--no-news        { color: #374151; }
.news-cal__day--no-news:hover  { background: white; }
.news-cal__day--other.news-cal__day--no-news { color: #d1d5db; }
.news-cal__dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1E4080;
}
.news-cal__selected {
  border-radius: 12px;
  background: #f3f4f6;
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
}

/* ── Content area ── */
.news-content {
  flex: 1;
  padding: 0 16px 40px;
  min-width: 0;
}
@media (min-width: 768px) { .news-content { padding-bottom: 40px; } }

/* ── Mobile tab pills ── */
.news-mobile-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}
@media (min-width: 768px) { .news-mobile-tabs { display: none; } }
.news-mobile-tab {
  flex-shrink: 0;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
  border: none;
}
.news-mobile-tab.is-active { background: #1E4080; color: white; }

/* ── Tab panels ── */
.news-panel { display: none; }
.news-panel.is-active { display: block; }

.news-panel__header { margin-bottom: 32px; }
.news-panel__title {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.news-panel__count {
  font-weight: 300;
  color: #6b7280;
  margin-top: 4px;
  font-size: 15px;
}

/* ── News grid (overrides) ── */
.news-panel .news-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 640px)  { .news-panel .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-panel .news-grid { grid-template-columns: repeat(3, 1fr); } }

/* News card overrides for press center (matches Next.js exactly) */
.news-panel .news-grid-card {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-panel .news-grid-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.news-panel .news-grid-card__img {
  width: 100%;
  height: 192px;
  object-fit: cover;
  display: block;
}
.news-panel .news-grid-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 180px;
  box-sizing: border-box;
}
.news-panel .news-grid-card__cat {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
}
.news-cat--news   { background: #eff6ff; color: #1E4080; }
.news-cat--events { background: #f0fdf4; color: #15803d; }
.news-cat--press  { background: #f3f4f6; color: #4b5563; }

.news-panel .news-grid-card__title {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-panel .news-grid-card__date {
  font-weight: 300;
  color: #6b7280;
  font-size: 14px;
  margin-top: auto;
}

/* ── Pagination ── */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.news-pagination__btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #4b5563;
  background: white;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.news-pagination__btn:hover:not(:disabled) { background: #f9fafb; }
.news-pagination__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.news-pagination__page {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
  background: white;
  font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.news-pagination__page:hover { background: #f9fafb; }
.news-pagination__page.is-active { background: #1E4080; color: white; border-color: #1E4080; }

/* ── Background Glow ── */
.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -10;
}
.bg-glow__blob { position: absolute; border-radius: 999px; }
.bg-glow__blob--1 {
  left: 18%; top: 8%; width: 58%; height: 72%;
  background: rgba(245,240,233,0.45); filter: blur(120px);
}
.bg-glow__blob--2 {
  left: 34%; top: 18%; width: 430px; height: 520px;
  background: rgba(255,255,255,0.20); filter: blur(130px); transform: rotate(8deg);
}
.bg-glow__blob--3 {
  left: -2%; top: -8%; width: 300px; height: 660px;
  background: rgba(224,197,143,0.18); filter: blur(120px); transform: rotate(-12deg);
}
.bg-glow__blob--4 {
  left: 30%; top: 34%; width: 240px; height: 420px;
  background: rgba(245,240,233,0.16); filter: blur(110px); transform: rotate(10deg);
}
.bg-glow__blob--5 {
  right: 4%; top: 24%; width: 220px; height: 520px;
  background: rgba(60,80,125,0.14); filter: blur(120px); transform: rotate(10deg);
}
.bg-glow__blob--6 {
  right: 3%; bottom: 0%; width: 210px; height: 300px;
  background: rgba(17,34,80,0.16); filter: blur(95px); transform: rotate(14deg);
}

/* ── News Detail Page ── */
.news-detail-main {
  padding: 64px 24px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
@media (min-width: 768px)  { .news-detail-main { padding: 64px 40px; } }
@media (min-width: 1024px) { .news-detail-main { padding: 64px 80px; } }

.news-detail-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-detail-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 640px) {
  .news-detail-top { flex-direction: row; align-items: center; justify-content: space-between; }
}

.nd-bc {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px; font-size: 14px;
}
.nd-bc__link { color: #9ca3af; font-weight: 300; transition: color 0.2s; }
.nd-bc__link:hover { color: #1E4080; }
.nd-bc__sep { color: #d1d5db; user-select: none; }
.nd-bc__cur { color: #374151; font-weight: 500; }

.news-detail-back {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  color: white; background: #1E4080;
  font-weight: 300; border-radius: 999px;
  padding: 10px 24px 10px 20px;
  font-size: 14px; text-decoration: none;
  transition: background 0.3s; flex-shrink: 0;
  font-family: inherit; border: none; cursor: pointer;
}
.news-detail-back:hover { background: #0B1C3C; }
.news-detail-back svg { transform: rotate(180deg); }

.news-detail-meta { display: flex; flex-direction: column; gap: 16px; }

.news-detail-badge {
  display: inline-flex; width: fit-content;
  border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 500;
}

.news-detail-title {
  font-size: 36px; font-weight: 700;
  color: #111827; line-height: 1.2; margin: 0;
}
@media (min-width: 768px) { .news-detail-title { font-size: 48px; } }

.news-detail-date { color: #6b7280; font-weight: 300; font-size: 20px; margin: 0; }

.news-detail-hero {
  position: relative; width: 100%; height: 320px;
  border-radius: 8px; overflow: hidden;
}
@media (min-width: 768px) { .news-detail-hero { height: 500px; } }
.news-detail-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.news-detail-body {
  max-width: 1280px; color: #374151;
  font-size: 18px; line-height: 2;
  display: flex; flex-direction: column; gap: 24px;
}
.news-detail-body p { margin: 0; }
.news-detail-body h2 { font-size: 24px; font-weight: 700; color: #111827; margin: 8px 0 0; }

.news-detail-404 { text-align: center; padding: 80px 24px; }
.news-detail-404 h1 { font-size: 48px; font-weight: 700; color: #111827; margin-bottom: 16px; }
.news-detail-404 p { color: #6b7280; font-size: 18px; margin-bottom: 32px; }

/* ── Media (Мультимедиа) grid ── */
.news-media-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 768px)  { .news-media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-media-grid { grid-template-columns: repeat(3, 1fr); } }

/* Video card */
.video-card {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.video-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }

.video-card__thumb {
  position: relative;
  background: #111827;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.video-card__play-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
}
.video-card__play-btn svg { margin-left: 3px; }
.video-card__duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}
.video-card__body { padding: 16px; }
.video-card__title {
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 8px;
  font-size: 15px;
}
.video-card__desc {
  font-size: 14px;
  color: #6b7280;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 12px;
}
.video-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1E4080;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}
.video-card__link:hover { opacity: 0.75; }


/* ============================================================
   News Detail page — CMS static version copied from Next.js
   Source: apps/web/app/news/[slug]/page.tsx
============================================================ */

.news-detail-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 64px 24px;
  background: transparent;
}

.news-detail-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -10;
}

.news-detail-bg__blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
}

.news-detail-bg__blob--veil {
  left: 18%;
  top: 8%;
  width: 58%;
  height: 72%;
  background: rgba(245, 240, 233, 0.45);
}

.news-detail-bg__blob--white {
  left: 34%;
  top: 18%;
  width: 430px;
  height: 520px;
  background: rgba(255, 255, 255, 0.20);
  transform: rotate(8deg);
  filter: blur(130px);
}

.news-detail-bg__blob--gold {
  left: -2%;
  top: -8%;
  width: 300px;
  height: 660px;
  background: rgba(224, 197, 143, 0.18);
  transform: rotate(-12deg);
}

.news-detail-bg__blob--milk {
  left: 30%;
  top: 34%;
  width: 240px;
  height: 420px;
  background: rgba(245, 240, 233, 0.16);
  transform: rotate(10deg);
  filter: blur(110px);
}

.news-detail-bg__blob--blue {
  right: 4%;
  top: 24%;
  width: 220px;
  height: 520px;
  background: rgba(60, 80, 125, 0.14);
  transform: rotate(10deg);
}

.news-detail-bg__blob--navy {
  right: 3%;
  bottom: 0;
  width: 210px;
  height: 300px;
  background: rgba(17, 34, 80, 0.16);
  transform: rotate(14deg);
  filter: blur(95px);
}

.news-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-detail-topbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.news-detail-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: #1E4080;
  color: #ffffff;
  padding: 10px 24px 10px 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  transition: background-color 0.3s ease;
}

.news-detail-back:hover {
  background: #0B1C3C;
}

.news-detail-back svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transform: rotate(180deg);
}

.news-detail-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-detail-category {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.news-detail-category--news {
  background: #eff6ff;
  color: #1E4080;
}

.news-detail-category--events {
  background: #f0fdf4;
  color: #15803d;
}

.news-detail-category--press {
  background: #f3f4f6;
  color: #4b5563;
}

.news-detail-title {
  margin: 0;
  color: #111827;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.news-detail-date {
  margin: 0;
  color: #6b7280;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
}

.news-detail-cover {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f7;
}

.news-detail-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-detail-content {
  max-width: 1280px;
  color: #374151;
  font-size: 18px;
  line-height: 2;
}

.news-detail-content > *:first-child {
  margin-top: 0;
}

.news-detail-content p {
  margin: 0 0 20px;
}

.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content h4,
.news-detail-content h5,
.news-detail-content h6 {
  margin: 32px 0 16px;
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

.news-detail-content h1 { font-size: 36px; }
.news-detail-content h2 { font-size: 30px; }
.news-detail-content h3 { font-size: 24px; }
.news-detail-content h4 { font-size: 20px; }
.news-detail-content h5 { font-size: 18px; }
.news-detail-content h6 { font-size: 16px; }

.news-detail-content ul,
.news-detail-content ol {
  margin: 16px 0 24px 28px;
  padding: 0;
}

.news-detail-content li {
  margin: 6px 0;
}

.news-detail-content blockquote {
  margin: 28px 0;
  padding-left: 16px;
  border-left: 4px solid #d1d5db;
  color: #4b5563;
  font-style: italic;
}

.news-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #ffffff;
}

.news-detail-content td,
.news-detail-content th {
  border: 1px solid #d1d5db;
  padding: 8px;
  text-align: left;
}

.news-detail-content figure {
  margin: 28px 0;
}

.news-detail-content figure img,
.news-detail-content .editor-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.news-detail-content figcaption,
.news-detail-content .editor-caption {
  margin-top: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  font-style: italic;
}

.news-detail-empty {
  color: #6b7280;
}

@media (min-width: 640px) {
  .news-detail-topbar {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .news-detail-page {
    padding-left: 40px;
    padding-right: 40px;
  }

  .news-detail-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .news-detail-page {
    padding-left: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 768px) {
  .news-detail-page {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .news-detail-title {
    font-size: 32px;
  }

  .news-detail-date {
    font-size: 18px;
  }

  .news-detail-cover {
    height: 320px;
  }

  .news-detail-content {
    font-size: 17px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .news-detail-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .news-detail-title {
    font-size: 28px;
  }

  .news-detail-cover {
    height: 260px;
  }
}


/* ============================================================
   KAES — President Message Page
   Blue hero like vacancies + original content cards
============================================================ */

.president-message-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f0f0f0;
  isolation: isolate;
}

/* HERO */

.page-hero.president-message-hero {
  position: relative;
  min-height: 140px;
  overflow: visible;
  background: #1a2f6e;
}

.president-message-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.4) 39px,
      rgba(255, 255, 255, 0.4) 40px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.4) 39px,
      rgba(255, 255, 255, 0.4) 40px);
}

.president-message-hero__atom {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.president-message-hero__atom--first {
  right: 16%;
  top: -50px;
  width: 430px;
  z-index: 5;
  transform: rotate(25deg);
}

.president-message-hero__atom--second {
  right: 0;
  top: -40px;
  width: 600px;
  z-index: 10;
  transform: scaleX(-1) rotate(25deg);
}

.president-message-hero__atom-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 999px;
  background: rgba(224, 197, 143, 0.30);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.president-message-hero__atom img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.18));
}

.president-message-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.president-message-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}

/* CONTENT */

.president-message-content-section {
  width: 100%;
  background:
    radial-gradient(circle at 10% 12%, rgba(224, 197, 143, 0.12), transparent 28%),
    radial-gradient(circle at 88% 38%, rgba(30, 64, 128, 0.10), transparent 32%),
    #f0f0f0;
  padding: 40px 0 72px;
}

.president-message-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* INTRO */

.president-message-intro {
  max-width: 900px;
}

.president-message-intro p {
  margin: 0;
  color: #5f6b7a;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
}

/* MAIN CARDS */

.president-message-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 32px;
}

.president-message-card {
  border: 1px solid #d9e2f2;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(17, 34, 80, 0.08);
}

.president-message-card--main {
  background: rgba(255, 255, 255, 0.94);
}

.president-message-card--status {
  background: rgba(248, 251, 255, 0.96);
}

.president-message-card__title {
  margin: 0 0 16px;
  color: #111827;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.president-message-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.president-message-card__content p {
  margin: 0;
  color: #5f6b7a;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}

.president-message-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1E4080;
  color: #ffffff;
  padding: 9px 18px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(30, 64, 128, 0.18);
}

/* FUTURE */

.president-message-future {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.president-message-future__head {
  max-width: 860px;
}

.president-message-future__title {
  margin: 0;
  color: #111827;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.president-message-future__text {
  margin: 8px 0 0;
  color: #5f6b7a;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.president-message-future__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 290px));
  gap: 24px;
}

.president-message-small-card {
  min-height: 116px;
  border: 1px solid #d9e2f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 24px;
  box-shadow: 0 14px 38px rgba(17, 34, 80, 0.07);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.president-message-small-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 197, 143, 0.95);
  box-shadow: 0 20px 48px rgba(17, 34, 80, 0.12);
}

.president-message-small-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.president-message-small-card p {
  margin: 0;
  color: #5f6b7a;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .president-message-grid {
    grid-template-columns: 1fr;
  }

  .president-message-future__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .president-message-hero__inner {
    padding: 40px 20px;
  }

  .president-message-hero__title {
    font-size: 32px;
  }

  .president-message-hero__atom--first {
    right: 8%;
    top: -22px;
    width: 230px;
  }

  .president-message-hero__atom--second {
    right: -25%;
    top: -10px;
    width: 330px;
  }

  .president-message-content-section {
    padding: 32px 0 56px;
  }

  .president-message-container {
    padding: 0 20px;
    gap: 24px;
  }

  .president-message-card {
    border-radius: 20px;
    padding: 24px;
  }

  .president-message-intro p,
  .president-message-card__content p,
  .president-message-future__text {
    font-size: 16px;
    line-height: 1.65;
  }

  .president-message-card__title {
    font-size: 22px;
  }

  .president-message-future__title {
    font-size: 28px;
  }

  .president-message-future__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .president-message-small-card {
    min-height: auto;
    border-radius: 18px;
    padding: 22px;
  }
}

/* ============================================================
   KAES — Procurements Page
   pages/procurements.css
   Простая HTML/CSS/JS версия, приближенная к React-оригиналу
   ============================================================ */

.procurement-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 12%, rgba(224, 197, 143, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(30, 64, 128, 0.10), transparent 32rem),
    #f0f0f0;
}

/* OPTIONAL BackgroundGlow: удалить этот блок и div.proc-bg-glow в HTML, если не нужен */
.proc-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.proc-bg-glow__orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.55;
}

.proc-bg-glow__orb--blue {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 160px;
  background: rgba(30, 64, 128, 0.16);
}

.proc-bg-glow__orb--gold {
  width: 320px;
  height: 320px;
  left: -110px;
  top: 360px;
  background: rgba(224, 197, 143, 0.20);
}

.proc-bg-glow__orb--soft {
  width: 420px;
  height: 420px;
  right: 12%;
  bottom: 160px;
  background: rgba(219, 229, 244, 0.55);
}

/* ─── Procurements Hero ─── */

.proc-hero {
  position: relative;
  z-index: 1;
  min-height: 140px;
  overflow: visible;
  background: #1a2f6e;
}

.proc-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.4) 39px,
      rgba(255, 255, 255, 0.4) 40px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.4) 39px,
      rgba(255, 255, 255, 0.4) 40px);
}

.proc-hero__atom {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.proc-hero__atom--first {
  right: 16%;
  top: -50px;
  width: 430px;
  z-index: 5;
  transform: rotate(25deg);
}

.proc-hero__atom--second {
  right: 0;
  top: -40px;
  width: 600px;
  z-index: 10;
  transform: scaleX(-1) rotate(25deg);
}

.proc-hero__atom-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 999px;
  background: rgba(224, 197, 143, 0.30);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.proc-hero__atom img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.18));
}

.proc-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

.proc-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}

.proc-hero__sub {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
}

/* ─── Main section ─── */

.proc-section {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
  background: transparent;
}

.proc-container {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

/* ─── Tabs ─── */

.proc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  margin-bottom: 40px;
  border-radius: 14px;
  background: #f3f4f6;
}

.proc-tab {
  border: 0;
  border-radius: 12px;
  padding: 12px 24px;
  background: transparent;
  color: #6b7280;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.proc-tab:hover {
  color: #1f2937;
}

.proc-tab.active {
  background: #fff;
  color: #1E4080;
  box-shadow:
    0 1px 3px rgba(17, 34, 80, 0.10),
    0 1px 2px rgba(17, 34, 80, 0.06);
}

.proc-tab:focus-visible,
.proc-primary-btn:focus-visible,
.proc-small-primary:focus-visible,
.proc-small-outline:focus-visible {
  outline: 3px solid rgba(224, 197, 143, 0.65);
  outline-offset: 3px;
}

/* ─── Panels ─── */

.proc-panels {
  position: relative;
}

.proc-panel {
  display: none;
  flex-direction: column;
  gap: 32px;
  animation: procFadeUp 0.22s ease both;
}

.proc-panel.active {
  display: flex;
}

@keyframes procFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proc-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.proc-heading h2 {
  margin: 0;
  color: #112250;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
}

.proc-heading p {
  margin: 0;
  color: #5f6673;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

/* ─── Policy cards ─── */

.proc-principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.proc-principle-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(17, 34, 80, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.proc-principle-card:hover {
  transform: translateY(-2px);
  border-color: #dbe5f4;
  box-shadow: 0 16px 36px rgba(17, 34, 80, 0.10);
}

.proc-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #f0f5ff;
  color: #1E4080;
}

.proc-icon svg,
.proc-doc-icon svg,
.proc-upload-placeholder__icon svg {
  width: 26px;
  height: 26px;
}

.proc-principle-card h3,
.proc-local-card h3,
.proc-current-item h3,
.proc-doc-item h3 {
  margin: 0;
  color: #112250;
}

.proc-principle-card h3,
.proc-local-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.proc-principle-card p,
.proc-local-card p,
.proc-portal-card p,
.proc-current-item__meta,
.proc-upload-placeholder span {
  margin: 0;
  color: #5f6673;
  font-weight: 300;
  line-height: 1.65;
}

.proc-principle-card p,
.proc-local-card p {
  margin-top: 4px;
}

.proc-portal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid #dbe5f4;
  border-radius: 16px;
  background: #f0f5ff;
}

.proc-portal-card__title {
  margin: 0 0 4px !important;
  color: #112250 !important;
  font-weight: 600 !important;
}

/* ─── Buttons ─── */

.proc-primary-btn,
.proc-small-primary,
.proc-small-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.proc-primary-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  background: #1E4080;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.proc-primary-btn:hover,
.proc-small-primary:hover {
  background: #112250;
  color: #fff;
  transform: translateY(-1px);
}

/* ─── Current procurements ─── */

.proc-current-list,
.proc-doc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proc-current-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(17, 34, 80, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.proc-current-item:hover {
  transform: translateY(-2px);
  border-color: #dbe5f4;
  box-shadow: 0 14px 30px rgba(17, 34, 80, 0.10);
}

.proc-current-item__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.proc-current-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.proc-id-badge,
.proc-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.proc-id-badge {
  background: #1E4080;
  color: #fff;
}

.proc-status--accepting {
  background: #dcfce7;
  color: #166534;
}

.proc-status--review {
  background: #fef3c7;
  color: #92400e;
}

.proc-status--done {
  background: #f3f4f6;
  color: #6b7280;
}

.proc-current-item h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.proc-current-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 16px;
}

.proc-actions-row {
  display: flex;
  justify-content: flex-start;
}

/* ─── Localization ─── */

.proc-local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.proc-local-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid #dbe5f4;
  border-radius: 16px;
  background: #f8fbff;
}

.proc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proc-metric-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-height: 136px;
  padding: 24px;
  border-radius: 16px;
  background: #112250;
  text-align: center;
}

.proc-metric-card strong {
  color: #E0C58F;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1;
}

.proc-metric-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

/* ─── Documents ─── */

.proc-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  border: 2px dashed #dbe5f4;
  border-radius: 16px;
  background: #f8fbff;
  text-align: center;
}

.proc-upload-placeholder__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1E4080;
}

.proc-upload-placeholder p {
  margin: 0;
  color: #1E4080;
  font-size: 18px;
  font-weight: 600;
}

.proc-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.proc-doc-item:hover {
  transform: translateY(-1px);
  border-color: #dbe5f4;
  background: #fff;
}

.proc-doc-item__left {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.proc-doc-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(30, 64, 128, 0.10);
  color: #1E4080;
}

.proc-doc-item h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.proc-doc-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  align-items: center;
}

.proc-small-primary,
.proc-small-outline {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}

.proc-small-primary {
  background: #1E4080;
  color: #fff;
}

.proc-small-outline {
  border: 1px solid #1E4080;
  color: #1E4080;
  background: transparent;
}

.proc-small-outline:hover {
  background: #1E4080;
  color: #fff;
  transform: translateY(-1px);
}

/* Backward compatibility: если в CMS где-то остались старые классы */
.announcement-list,
.procurement-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── Responsive ─── */

@media (max-width: 1023px) {
  .proc-container {
    width: min(100% - 40px, 920px);
  }

  .proc-tabs {
    width: 100%;
  }

  .proc-tab {
    flex: 1 1 auto;
  }

  .proc-principles-grid,
  .proc-local-grid,
  .proc-metrics-grid {
    grid-template-columns: 1fr;
  }

  .proc-portal-card,
  .proc-doc-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .proc-doc-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .proc-small-primary,
  .proc-small-outline {
    flex: 1 1 180px;
  }
}

@media (max-width: 767px) {
  .proc-hero {
    min-height: 150px;
  }

  .proc-hero__inner {
    padding: 40px 20px;
  }

  .proc-hero__title {
    font-size: 32px;
  }

  .proc-hero__sub {
    max-width: 60%;
    font-size: 15px;
  }

  .proc-hero__atom--first {
    right: 8%;
    top: -22px;
    width: 230px;
  }

  .proc-hero__atom--second {
    right: -25%;
    top: -10px;
    width: 330px;
  }

  .proc-section {
    padding: 28px 0 56px;
  }

  .proc-container {
    width: calc(100% - 32px);
  }

  .proc-tabs {
    margin-bottom: 32px;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .proc-tab {
    flex: 0 0 auto;
    padding: 11px 16px;
    white-space: nowrap;
  }

  .proc-heading p {
    font-size: 16px;
  }

  .proc-principle-card,
  .proc-current-item,
  .proc-local-card,
  .proc-doc-item,
  .proc-portal-card,
  .proc-upload-placeholder {
    padding: 18px;
    border-radius: 14px;
  }

  .proc-principle-card {
    flex-direction: column;
  }

  .proc-primary-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
    text-align: center;
  }

  .proc-current-item__meta {
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
  }

  .proc-doc-item__left {
    align-items: flex-start;
  }

  .proc-bg-glow__orb {
    filter: blur(42px);
    opacity: 0.42;
  }
}

@media (max-width: 520px) {
  .proc-hero__sub {
    max-width: 100%;
    padding-right: 96px;
  }
}

/* ============================================================
   KAES — Projects page
   Ported from React ProjectsContent/BalkhashProject/MainkumProject
   ============================================================ */

.projects-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(30, 64, 128, 0.08), transparent 34%),
    radial-gradient(circle at 85% 28%, rgba(224, 197, 143, 0.14), transparent 30%),
    #ffffff;
  padding: 32px var(--px-section, 64px) 84px;
}

.projects-page__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.projects-bg-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(52px);
  opacity: 0.55;
  z-index: 0;
}
.projects-bg-glow--blue {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 120px;
  background: rgba(30, 64, 128, 0.12);
}
.projects-bg-glow--gold {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 420px;
  background: rgba(224, 197, 143, 0.18);
}

.projects-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.projects-breadcrumb { margin-bottom: -26px; }

.projects-intro {
  max-width: 720px;
}
.projects-intro p {
  margin: 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
}

/* ─── Shared map block inside projects page ─── */
.projects-map-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.projects-map-section__header { margin-bottom: 0; }
.projects-map-container {
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: 0 22px 60px rgba(30, 64, 128, 0.08);
}
.projects-map-inner {
  min-height: 480px;
  border-radius: 14px;
}
.projects-map-inner .map-pin__dot {
  background: #1E4080;
}
.projects-map-inner .map-pin:hover .map-pin__dot,
.projects-map-inner .map-pin.active .map-pin__dot {
  background: #E0C58F;
}
.projects-map-inner .map-pin__stem {
  background: #1E4080;
}
.projects-map-inner .map-pin.active .map-pin__stem {
  background: #E0C58F;
}
.projects-map-inner .map-popup__inner {
  border-radius: 18px;
}
.projects-map-inner .map-popup__title {
  color: #1E4080;
}

/* ─── Tabs ─── */
.project-tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.project-tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #6b7280;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 14px 24px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.project-tab:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.55);
}
.project-tab.active {
  background: #ffffff;
  color: #1E4080;
  box-shadow: 0 8px 20px rgba(30, 64, 128, 0.10);
}
.project-tab:focus-visible {
  outline: 2px solid #E0C58F;
  outline-offset: 2px;
}

.project-panels {
  min-height: 420px;
}
.project-panel {
  display: none;
  animation: projectsFadeUp 0.28s ease both;
}
.project-panel.active {
  display: block;
}
@keyframes projectsFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Project detail card/section ─── */
.project-detail {
  display: flex;
  align-items: center;
  gap: 48px;
}
.project-detail--reverse {
  flex-direction: row-reverse;
}
.project-detail__media,
.project-detail__content {
  flex: 1 1 0;
  min-width: 0;
}
.project-detail__media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 384px;
  box-shadow: 0 24px 70px rgba(30, 64, 128, 0.10);
  background: #eef4ff;
}
.project-detail__media img {
  display: block;
  width: 100%;
  height: 384px;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.project-detail:hover .project-detail__media img {
  transform: scale(1.035);
}
.project-detail__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.project-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #dbeafe;
  color: #1E4080;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 13px;
}
.project-detail__title {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.project-detail__text {
  margin: 0;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 300;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.project-fact {
  min-height: 92px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.project-fact:hover {
  border-color: rgba(30, 64, 128, 0.22);
  box-shadow: 0 14px 34px rgba(30, 64, 128, 0.07);
  transform: translateY(-2px);
}
.project-fact span {
  display: block;
  margin-bottom: 6px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-fact strong {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
}

/* ─── Stages timeline ─── */
.project-stages-section {
  margin-top: 56px;
}
.project-stages-title {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(27px, 2.6vw, 34px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.project-stages-subtitle {
  margin: 0 0 34px;
  max-width: 880px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 300;
}
.project-stages-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-stages-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: #d1d5db;
}
.project-stage-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.project-stage-circle {
  position: relative;
  z-index: 2;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 17px;
  font-weight: 700;
}
.project-stage-circle--done {
  background: #1E4080;
  border-color: #1E4080;
  color: #ffffff;
}
.project-stage-circle--active {
  border-color: #E0C58F;
  box-shadow: 0 0 0 6px rgba(224, 197, 143, 0.16);
}
.project-stage-circle--active span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E0C58F;
  box-shadow: 0 0 0 8px rgba(224, 197, 143, 0.14);
}
.project-stage-card {
  flex: 1;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  padding: 20px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.project-stage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(30, 64, 128, 0.08);
}
.project-stage-card--done {
  border-color: rgba(30, 64, 128, 0.18);
  background: rgba(239, 246, 255, 0.55);
}
.project-stage-card--active {
  border-color: rgba(30, 64, 128, 0.40);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(30, 64, 128, 0.07);
}
.project-stage-card--pending h3,
.project-stage-card--pending p {
  color: #6b7280;
}
.project-stage-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.project-stage-card__head h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}
.project-stage-card--done .project-stage-card__head h3 {
  color: #1E4080;
}
.project-stage-card__head time {
  margin-left: auto;
  color: #6b7280;
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
}
.project-stage-card--done .project-stage-card__head time {
  color: #1E4080;
}
.project-stage-card--active .project-stage-card__head time {
  color: #a16207;
}
.project-stage-card p {
  margin: 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
}
.project-stage-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}
.project-stage-badge--done {
  background: #dbeafe;
  color: #1E4080;
}
.project-stage-badge--active {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #a16207;
}

/* ─── Empty state ─── */
.project-empty-state {
  min-height: 360px;
  border: 1px dashed #d1d5db;
  border-radius: 24px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 64px 24px;
}
.project-empty-state__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-empty-state h3 {
  margin: 0;
  color: #6b7280;
  font-size: 22px;
  font-weight: 500;
}
.project-empty-state p {
  margin: 0;
  max-width: 420px;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 300;
}

@media (max-width: 1023px) {
  .projects-page {
    padding-left: 40px;
    padding-right: 40px;
  }
  .project-detail,
  .project-detail--reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .project-detail__media,
  .project-detail__media img {
    height: 340px;
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .projects-page {
    padding: 28px 20px 56px;
  }
  .projects-shell {
    gap: 42px;
  }
  .projects-breadcrumb {
    margin-bottom: -18px;
  }
  .projects-intro p,
  .project-detail__text,
  .project-stages-subtitle {
    font-size: 16px;
  }
  .projects-map-container {
    padding: 10px;
    border-radius: 16px;
  }
  .projects-map-inner {
    min-height: 330px;
  }
  .projects-map-inner .map-pin__label {
    font-size: 11px;
    padding: 3px 9px;
  }
  .project-tabs {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .project-tabs::-webkit-scrollbar { display: none; }
  .project-tab {
    padding: 12px 18px;
  }
  .project-detail__media,
  .project-detail__media img {
    height: 260px;
    min-height: 260px;
  }
  .project-facts {
    grid-template-columns: 1fr;
  }
  .project-stages-list::before {
    display: none;
  }
  .project-stage-item {
    gap: 14px;
  }
  .project-stage-circle {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: 14px;
  }
  .project-stage-card {
    padding: 16px;
  }
  .project-stage-card__head {
    align-items: flex-start;
  }
  .project-stage-card__head time {
    width: 100%;
    margin-left: 0;
    margin-top: 2px;
  }
  .project-stage-card p {
    font-size: 15px;
  }
}


/* ============================================================
   Vacancies page — CMS copy of apps/web/app/vacancies/page.tsx
   Only PageHero + Breadcrumb + QsamrukSection. No categories.
============================================================ */

.vacancies-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #f0f0f0;
  isolation: isolate;

}

.vacancies-bg {

  display: none !important;

}

.vacancies-bg > div {
  position: absolute;
  border-radius: 999px;
}

.vacancies-bg__veil {
  left: 18%;
  top: 8%;
  width: 58%;
  height: 72%;
  background: rgba(245, 240, 233, 0.45);
  filter: blur(120px);
}

.vacancies-bg__white {
  left: 34%;
  top: 18%;
  width: 430px;
  height: 520px;
  background: rgba(255, 255, 255, 0.20);
  filter: blur(130px);
  transform: rotate(8deg);
}

.vacancies-bg__gold {
  left: -2%;
  top: -8%;
  width: 300px;
  height: 660px;
  background: rgba(224, 197, 143, 0.18);
  filter: blur(120px);
  transform: rotate(-12deg);
}

.vacancies-bg__soft {
  left: 30%;
  top: 34%;
  width: 240px;
  height: 420px;
  background: rgba(245, 240, 233, 0.16);
  filter: blur(110px);
  transform: rotate(10deg);
}

.vacancies-bg__blue {
  right: 4%;
  top: 24%;
  width: 220px;
  height: 520px;
  background: rgba(60, 80, 125, 0.14);
  filter: blur(120px);
  transform: rotate(10deg);
}

.vacancies-bg__bottom {
  right: 3%;
  bottom: 0;
  width: 210px;
  height: 300px;
  background: rgba(17, 34, 80, 0.16);
  filter: blur(95px);
  transform: rotate(14deg);
}

.page-hero.vacancies-hero {
  position: relative;
  min-height: 140px;
  overflow: visible;
  background: #1a2f6e;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.10;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.4) 39px, rgba(255,255,255,.4) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.4) 39px, rgba(255,255,255,.4) 40px);
}

.page-hero__atom {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.page-hero__atom--first {
  right: 16%;
  top: -50px;
  width: 430px;
  z-index: 5;
  transform: rotate(25deg);
}

.page-hero__atom--second {
  right: 0;
  top: -40px;
  width: 600px;
  z-index: 10;
  transform: scaleX(-1) rotate(25deg);
}

.page-hero__atom-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  border-radius: 999px;
  background: rgba(224, 197, 143, 0.30);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.page-hero__atom img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,.18));
}

.page-hero__inner {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-hero__title {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}

.vacancies-content-section {
  width: 100%;
  background: #f0f0f0;
  padding: 40px 0;
}

.vacancies-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qsamruk-section {
  background: #112250;
  border-radius: 8px;
  padding: 64px 32px;
}

.qsamruk-section__inner {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.qsamruk-section__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.qsamruk-section__logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #E0C58F;
  color: #112250;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.qsamruk-section__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qsamruk-section__text h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.qsamruk-section__text p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 300;
}

.qsamruk-section__advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qsamruk-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  padding: 8px 16px;
  color: #ffffff;
  font-weight: 300;
}

.qsamruk-chip svg {
  width: 16px;
  height: 16px;
  color: #E0C58F;
  flex-shrink: 0;
}

.qsamruk-button {
  display: inline-block;
  border-radius: 999px;
  background: #E0C58F;
  color: #112250;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 14px 32px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.qsamruk-button:hover {
  background: #C9B07A;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .page-hero__inner {
    padding: 48px 24px;
  }

  .page-hero__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-hero__atom--first {
    right: 8%;
    top: -22px;
    width: 230px;
  }

  .page-hero__atom--second {
    right: -25%;
    top: -10px;
    width: 330px;
  }

  .vacancies-container {
    padding: 0 20px;
  }

  .qsamruk-section {
    padding: 40px 20px;
  }

  .qsamruk-section__head {
    flex-direction: column;
  }

  .qsamruk-section__text h2 {
    font-size: 22px;
  }

  .qsamruk-section__text p {
    font-size: 16px;
  }
}


/* ============================================================
   KAES — CMS-Compatible Theme
   responsive.css  — Mobile / Tablet overrides
   ============================================================ */

/* ── Header ── */
@media (max-width: 1023px) {
  .nav-menu { display: none; }
  .header-burger { display: flex; }
  .mega-menu-panel { left: 16px; right: 16px; }
}

/* ── Slideshow ── */
@media (max-width: 767px) {
  .slideshow { height: 480px; }
  .slideshow__inactive { display: none; }
  .slideshow__slide { flex: 0 0 100%; }
  .slideshow__slide:not(.active) { display: none; }
  .slideshow__title { font-size: 1.8rem; }
  .slideshow__subtitle { font-size: 16px; }
  .slideshow__content { padding: 0 24px; }
}

/* ── Sections ── */
@media (max-width: 767px) {
  :root { --px-section: 20px; --py-section: 48px; }

  .president-section__layout { flex-direction: column; }
  .president-section__left { width: 100%; }
  .quote-mark { font-size: 56px; }

  .about-dark__layout { flex-direction: column; }
  .about-dark__left { width: 100%; }
  .about-dark__atom-bg { width: 400px; height: auto; opacity: 0.20; }

  .value-cards { grid-template-columns: 1fr; }

  .ceo-section { padding: 48px 20px; }
  .ceo-section__inner { flex-direction: column; gap: 24px; }
  .ceo-section__photo { width: 100%; height: 300px; }

  .news-carousel__track { height: 380px; }
  .news-card { width: calc(100vw - 40px) !important; }
  .news-card.side { display: none; }

  .stage-grid { grid-template-columns: 1fr; }

  .careers-promo__content { padding: 24px; }
  .careers-promo__title { font-size: 1.8rem; }
  .careers-stats { flex-direction: column; }
  .careers-stat { min-width: auto; }

  .site-footer__left { min-width: auto; }
  .site-footer__main { padding: 32px 20px; }

  .contact-grid { grid-template-columns: 1fr; }
  .project-tabs { overflow-x: auto; }
  .project-tab { white-space: nowrap; padding: 12px 20px; }

  .vacancy-detail-grid { grid-template-columns: 1fr; }
  .vacancy-detail-sidebar { position: static; }

  .president-message-body { grid-template-columns: 1fr; }

  .map-inner { aspect-ratio: auto; min-height: 300px; }

  .dev-plan-section__inner { gap: 48px; }

  .page-hero { padding: 32px 20px 28px; }
  .page-hero__title { font-size: 1.8rem; }

  .news-filter { gap: 6px; }
  .news-filter__btn { font-size: 13px; padding: 6px 14px; }

  .vacancy-categories { grid-template-columns: 1fr; }

  .mega-menu-columns { flex-direction: column; gap: 20px; }
  .mega-menu-col { min-width: auto; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root { --px-section: 40px; }
  .ceo-section__inner { flex-direction: column; }
  .ceo-section__photo { width: 260px; }
  .stage-grid { grid-template-columns: repeat(2, 1fr); }
  .president-message-body { grid-template-columns: 1fr; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .slideshow,
  .mega-menu-backdrop, .mega-menu-panel,
  .mobile-menu, .news-carousel__controls { display: none !important; }
  .header-offset { padding-top: 0; }
  body { background: white; color: black; }
}

/* ── MOBILE ADAPT ── */
/* --- Активация бургер-меню на мобилках --- */
@media (max-width: 1024px) {
  .header-mobile-burger {
    display: flex !important; /* Показываем кнопку */
  }
  
  /* Скрываем десктопную навигацию */
  .header-nav,
  .header-lang-wrap {
    display: none !important;
  }
  
  /* Язык в мобильном меню */
  .mobile-menu__lang {
    padding: 12px 32px;
    border-bottom: 1px solid rgba(224, 197, 143, 0.15);
  }
  .mobile-menu__lang .header-lang-option {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* =============================================
   ОБЩИЕ ПРАВИЛА ДЛЯ ПЛАНШЕТОВ И ТЕЛЕФОНОВ
   ============================================= */
@media (max-width: 768px) {
  
  /* --- Базовые отступы --- */
  .header-offset {
    padding-top: 64px;
  }
  
  /* --- Типографика --- */
  h1, .slideshow__title {
    font-size: 26px !important;
    line-height: 1.25;
  }
  h2, .section-title {
    font-size: 22px !important;
    line-height: 1.3;
  }
  
  /* --- Все кнопки на полную ширину --- */
  .btn-outline-primary,
  .btn-solid-primary,
  .btn-ghost-primary,
  .btn-accent,
  .btn-outline-light {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
    box-sizing: border-box;
  }
  
  /* --- СЛАЙДЕР --- */
  .slideshow__slide {
    min-height: 55vh;
  }
  .slideshow__content {
    padding: 20px 16px;
    text-align: center;
    left: 0;
    right: 0;
  }
  .slideshow__breadcrumb {
    justify-content: center;
  }
  .slideshow__inactive {
    padding: 20px 16px;
    text-align: center;
  }
  .slideshow__inactive-label {
    font-size: 20px;
  }
  
  /* --- ПОСЛАНИЕ ПРЕЗИДЕНТА --- */
  .president-section__layout {
    flex-direction: column;
    gap: 28px;
    text-align: center;
    padding: 40px 16px;
  }
  .president-section__left,
  .president-section__right {
    width: 100%;
  }
  .president-section__title {
    br {
      display: none; /* Убираем принудительные переносы строк */
    }
  }
  .president-section__quote {
    font-size: 17px;
    line-height: 1.5;
  }
  .quote-mark {
    font-size: 56px;
    text-align: center;
  }
  
  /* --- О КОМПАНИИ (тёмная секция) --- */
  .about-dark {
    padding: 40px 16px;
  }
  .about-dark__layout {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .about-dark__atom-bg {
    display: none;
  }
  .value-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .value-card {
    padding: 20px;
  }
  
  /* --- CEO --- */
  .ceo-section__inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 16px;
  }
  .ceo-section__photo {
    max-width: 220px;
    margin: 0 auto 20px;
  }
  .ceo-section__bio {
    font-size: 14px;
  }
  
  /* --- НОВОСТИ --- */
  .news-section {
    padding: 40px 16px;
  }
  .news-carousel__track {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .news-card {
    width: 100%;
  }
  .news-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .news-carousel__controls {
    margin-top: 16px;
  }
  
  /* --- CO₂ КАЛЬКУЛЯТОР --- */
  .emissions-calculator {
    padding: 40px 16px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .source-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .source-btn {
    flex: 1 1 auto;
    min-width: 70px;
    font-size: 13px;
    padding: 8px 10px;
  }
  .calc-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .calc-stat .stat-value {
    font-size: 18px;
  }
  
  /* --- КАРТА --- */
  .map-section {
    padding: 40px 16px;
  }
  .map-pin__label {
    font-size: 9px;
  }

  .map-popup__img {
    height: 120px;
  }
  
  /* --- ПЛАН РАЗВИТИЯ --- */
  .dev-plan-section {
    padding: 40px 16px;
  }
  .stage-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .stage-wavy-line {
    display: none;
  }
  .stage-item {
    margin-bottom: 24px;
  }
  
  /* --- КАРЬЕРА --- */
  .careers-promo {
    padding: 40px 16px;
  }
  .careers-promo__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .careers-promo__image {
    height: 220px;
    order: -1;
  }
  .careers-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .careers-promo__badge-img {
    font-size: 11px;
    padding: 8px 12px;
  }
  
  /* --- ПАРТНЕРЫ --- */
  .partners-section {
    padding: 30px 0;
  }
  .partner-item img {
    max-height: 44px;
  }
}

/* =============================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px)
   ============================================= */
@media (max-width: 480px) {
  
  /* Слайдер ещё меньше */
  .slideshow__slide {
    min-height: 45vh;
  }
  h1, .slideshow__title {
    font-size: 22px !important;
  }
  .slideshow__subtitle {
    font-size: 14px;
  }
  
  /* Карточки ценностей */
  .value-card__icon {
    width: 36px;
    height: 36px;
  }
  .value-card__title {
    font-size: 16px;
  }
  .value-card__desc {
    font-size: 13px;
  }
  
  /* Калькулятор */
  .quick-volumes {
    flex-direction: column;
    gap: 6px;
  }
  .quick-vol-btn {
    width: 100%;
    text-align: center;
  }
  .calc-stats {
    grid-template-columns: 1fr;
  }
  
  /* Карта — уменьшаем подписи */
  .map-pin__label {
    font-size: 7px;
  }
  
  /* План развития */
  .stage-card__title {
    font-size: 16px;
  }
  .stage-card__desc {
    font-size: 13px;
  }
  
  /* Карьера */
  .careers-promo__image {
    height: 180px;
  }
  
  /* Партнёры */
  .partner-item img {
    max-height: 36px;
  }
}
/* =============================================
   АДАПТАЦИЯ ФУТЕРА ДЛЯ МОБИЛЬНЫХ
   ============================================= */

@media (max-width: 768px) {
  
  /* --- Общая структура футера --- */
  .site-footer__main {
    flex-direction: column;
    gap: 40px;
    padding: 40px 16px;
  }
  
  .site-footer__left,
  .site-footer__right {
    width: 100%;
    max-width: 100%;
  }
  
  /* Убираем ограничение ширины у правой части */
  .site-footer__right {
    max-width: 100% !important;
    flex: none;
  }
  
  /* --- Контакты слева --- */
  .site-footer__contact {
    font-size: 14px;
    gap: 10px;
  }
  
  .site-footer__contact svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
  }
  
  /* Карта на всю ширину */
  .site-footer__map {
    width: 100%;
    height: 200px;
    margin-top: 16px;
  }
  
  .site-footer__map iframe {
    width: 100%;
    height: 100%;
  }
  
  /* --- ФОРМА ОБРАТНОЙ СВЯЗИ — ГЛАВНОЕ --- */
  .custom-footer-form-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Всё, что вылезает — обрезаем */
  }
  
  /* Сама форма */
  .feedback {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Список полей */
  .feedback .sendemail ol {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
  }
  
  /* Каждое поле */
  .feedback .sendemail ol li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  
  /* Label скрываем или оставляем — по желанию */
  .feedback .sendemail ol li label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: var(--color-text-light);
  }
  
  /* Все input и textarea — на 100% ширины */
  .feedback .sendemail input[type="text"],
  .feedback .sendemail input[type="email"],
  .feedback .sendemail textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm, 10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: inherit;
  }
  
  .feedback .sendemail textarea {
    resize: vertical;
    min-height: 100px;
  }
  
  /* Placeholder */
  .feedback .sendemail input::placeholder,
  .feedback .sendemail textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
  }
  
  /* Капча */
  .feedback .sendemail .captcha {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  
  .feedback .sendemail .g-recaptcha {
    transform: scale(0.85);
    transform-origin: left center;
    max-width: 100%;
  }
  
  /* Кнопка отправки */
  .feedback .sendemail .button {
    width: 100% !important;
  }
  
  .feedback .sendemail .button input[type="button"],
  .feedback .sendemail .button .imageField {
    width: 100% !important;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-sm, 10px);
    background: var(--color-accent, #E0C58F);
    color: var(--color-primary, #112250);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
  }
  
  .feedback .sendemail .button input[type="button"]:hover {
    background: var(--color-accent-hover, #C9B07A);
  }
  
  /* --- Заголовки формы --- */
  .site-footer__form-title {
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  .site-footer__form-sub {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.7;
  }
  
  /* --- Нижняя плашка футера --- */
  .site-footer__bar-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 16px;
  }
  
  .site-footer__credit {
    font-size: 13px;
  }
  
  .footer-socials {
    justify-content: center;
  }
}

/* =============================================
   ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 400px)
   ============================================= */
@media (max-width: 400px) {
  
  .feedback .sendemail .g-recaptcha {
    transform: scale(0.72);
    transform-origin: left center;
  }
  
  .feedback .sendemail input[type="text"],
  .feedback .sendemail input[type="email"],
  .feedback .sendemail textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .site-footer__map {
    height: 160px;
  }
}
