:root{
  --navy:#0b2b44;
  --navy2:#103a5c;
  --gold:#f0b429;
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#52606d;
  --line:rgba(255,255,255,.14);
  --shadow: 0 18px 50px rgba(2, 10, 25, .18);
  --softShadow: 0 14px 34px rgba(3, 15, 35, .12);
  --radius: 18px;
  --radius2: 22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{
  width:min(1200px, calc(100% - 40px));
  margin:0 auto;
}

.muted{color:var(--muted)}
.divider{height:1px;background: rgba(10,30,55,.08); margin:14px 0}



.sm-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}

.sm-brand__badge{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.sm-brand__badge img{
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.sm-brand__title{
  display:block;
  font-weight: 900;
  letter-spacing: .6px;
  color: #fff;
}

.sm-brand__sub{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  margin-top: 2px;
}

.sm-nav{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:center;
  flex: 1;
}

.sm-nav__link{
  font-size: 14px;
  color: rgba(255,255,255,.92);
  padding: 9px 10px;
  border-radius: 12px;
  transition: .18s ease;
}

.sm-nav__link:hover{
  background: rgba(255,255,255,.08);
}

.sm-header__actions{
  display:flex;
  align-items:center;
  gap:12px;
}

.sm-lang{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

.sm-lang__btn{
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

.sm-lang__btn.is-active{
  color: #132032;
  background: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
}

.sm-lang__sep{
  color: rgba(255,255,255,.55);
}

.sm-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  height: 44px;
  border-radius: 999px;
  background: var(--gold);
  color: #132032;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 16px 36px rgba(240,180,41,.22);
}

.sm-cta:hover{filter: brightness(.98)}

.sm-burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}

.sm-burger span{
  display:block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: rgba(255,255,255,.90);
  border-radius: 2px;
}

.sm-navMobile{
  display:none;
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(11,43,68,.98);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

.sm-navMobile a{
  display:block;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  margin-bottom: 8px;
}

.sm-navMobile a:hover{background: rgba(255,255,255,.10)}
.sm-navMobile__cta{background: rgba(240,180,41,.18) !important}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: .18s ease;
  white-space:nowrap;
}

.btn-gold{
  background: var(--gold);
  color:#132032;
  border-color: rgba(0,0,0,.08);
}
.btn-gold:hover{filter: brightness(.98)}

.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,43,68,.24);
}
.btn-ghost:hover{background: rgba(11,43,68,.06)}

/* =========================
   HERO (WHITE-GOLD)
========================= */
.hero{
  position:relative;
  padding: 56px 0 44px;
  overflow:hidden;
}

.hero--light{
  background:
    radial-gradient(900px 420px at 35% 10%, rgba(240,180,41,.28), transparent 60%),
    radial-gradient(900px 420px at 70% 0%, rgba(11,43,68,.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fbf6ea 35%, #f7f2e6 100%);
}

.hero-bg{
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: .65;
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:center;
}

.eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:.14em;
  font-weight:900;
  color: rgba(11,43,68,.70);
}

.hero-title{
  margin: 12px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  color: rgba(11,43,68,.98);
}

.hero-lead{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(11,43,68,.82);
}

.hero-copy p{
  color: rgba(15,23,42,.82);
  margin: 10px 0;
}

.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.hero-tags{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.tag{
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(11,43,68,.10);
  color: rgba(11,43,68,.86);
  font-weight: 800;
}

/* hero framed card */
.hero-frame{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(11,43,68,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 22px 60px rgba(2,10,25,.12);
}

.hero-frame__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(11,43,68,.08);
}

.hero-frame__meta{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: rgba(11,43,68,.76);
  text-transform: uppercase;
}

.hero-frame__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240,180,41,.18);
}

.hero-frame__media img{
  width:100%;
  height: 320px;
  object-fit: cover;
}

.hero-frame__bottom{
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(11,43,68,.08);
}
.hero-frame__title{
  font-weight: 900;
  color: rgba(11,43,68,.96);
}
.hero-frame__sub{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(82,96,109,.92);
}

/* =========================
   SECTIONS
========================= */
.section{
  padding: 44px 0 54px;
}

.section-alt{
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 320px at 10% -80px, rgba(240,180,41,.14), transparent 60%),
    radial-gradient(900px 320px at 90% 0%, rgba(11,43,68,.10), transparent 60%),
    linear-gradient(180deg, #f7fafc, #ffffff);
  border-top: 1px solid rgba(240,180,41,.20);
  border-bottom: 1px solid rgba(240,180,41,.20);
}

.section-head{padding: 2px 2px 8px; margin-bottom: 14px;}
.kicker{
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(11,43,68,.85);
  font-weight: 900;
  text-transform: uppercase;
}
.section h2{
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
}

/* premium separator line */
.rule-line{
  margin-top: 28px;
  height: 1px;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(11,43,68,.14),
      rgba(240,180,41,.22),
      rgba(11,43,68,.14),
      transparent
    );
}

/* =========================
   GRID + CARDS
========================= */
.grid{display:grid; gap:16px}
.grid.two{grid-template-columns:1fr 1fr}
.grid.three{grid-template-columns:repeat(3, 1fr)}

.card{
  background: var(--card);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  padding: 18px;
  border: 1px solid rgba(10,30,55,.06);
}

.card h3{margin: 0 0 10px; font-size: 18px}
.card p{margin: 10px 0}

.list{margin: 10px 0 0; padding-left: 18px}
.list li{margin: 6px 0}
.list.compact li{margin: 6px 0}

.mini-note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(11,43,68,.06);
  border: 1px dashed rgba(11,43,68,.18);
  color: rgba(15,23,42,.78);
  font-size: 13px;
}

.card-media{padding:0; overflow:hidden}
.card-body{padding: 16px 18px 18px}
.card-slim{padding: 16px 18px}
.stack{display:grid; gap:16px}

.subtle{
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.86));
  border: 1px solid rgba(240,180,41,.18);
}

/* badges */
.badge-row{display:flex; gap:8px; flex-wrap:wrap; margin-bottom: 8px}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,43,68,.06);
  border: 1px solid rgba(11,43,68,.10);
  color: rgba(11,43,68,.92);
}

/* =========================
   MEDIA: contain mode (no crop)
========================= */
.contain-media{
  padding: 0;
}

.contain-media img{
  width:100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: contain;
  background:#fff;
  padding: 14px;
  border-bottom: 1px solid rgba(10,30,55,.06);
}

/* =========================
   VIDEO EMBED
========================= */
.media-video{padding:0; overflow:hidden}
.video-embed{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(11,43,68,.06);
}
.video-embed iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* =========================
   STAT / GLANCE
========================= */
.stat .stat-k{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(11,43,68,.72);
  font-weight: 900;
}
.stat .stat-v{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(11,43,68,.96);
}
.stat .stat-d{margin-top: 6px; font-size: 13px}

/* callout */
.callout{
  margin-top: 14px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(240,180,41,.22);
  background:
    radial-gradient(700px 220px at 10% 0%, rgba(240,180,41,.18), transparent 60%),
    rgba(255,255,255,.86);
  box-shadow: 0 18px 60px rgba(15,23,42,.08);
}
.callout-title{
  padding: 12px 14px;
  background: rgba(11,43,68,.92);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  letter-spacing: .04em;
}
.callout-body{padding: 14px}

/* glance grid */
.glance{
  display:grid;
  gap:10px;
  margin-top: 10px;
}
.glance-item{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 46px rgba(15,23,42,.07);
}
.glance-k{
  font-size:12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.glance-v{
  font-weight: 900;
  color: rgba(11,43,68,.95);
}

/* =========================
   KLOTHO PANEL
========================= */
.klotho-panel{
  margin-top: 22px;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(240,180,41,.22);
  background:
    radial-gradient(900px 360px at 20% 0%, rgba(240,180,41,.18), transparent 60%),
    rgba(255,255,255,.86);
  box-shadow: 0 20px 70px rgba(2,10,25,.10);
}

.klotho-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 14px;
}

.klotho-title{
  margin: 6px 0 0;
  font-size: 20px;
}

.klotho-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.stat-chip{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(240,180,41,.30);
  background: rgba(255,255,255,.80);
  color: rgba(11,43,68,.94);
}

/* grids */
.media-grid{display:grid; gap:16px}

.media-grid--threeBig{
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-tile{
  background: #fff;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(11,43,68,.08);
  box-shadow: 0 14px 34px rgba(3, 15, 35, .10);
}

.media-tile img{
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
  border-bottom: 1px solid rgba(10,30,55,.06);
}

.media-label{
  display:block;
  padding: 14px 16px 16px;
  font-size: 13px;
  color: rgba(11,43,68,.84);
}

/* =========================
   KLOTHO OVERVIEW (text left + image right)
========================= */
.klotho-overview{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 10px;
}

.klotho-overview__media{
  padding: 18px;
}

.klotho-overview__media img{
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
}

/* 3 figures below */
.media-grid--three{
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.media-grid--figures .media-figure{
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(11,43,68,.08);
  box-shadow: 0 14px 34px rgba(3, 15, 35, .10);
}

.media-grid--figures img{
  width: 100%;
  height: 300px;
  object-fit: contain;
}

/* =========================
   CONTACT
========================= */
.contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
}

.contact-meta{margin-top:14px; display:grid; gap:10px}
.meta-item{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 46px rgba(15,23,42,.08);
}
.meta-label{display:block; font-size:12px; color: var(--muted)}
.meta-value{font-weight:900; color: rgba(11,43,68,.95)}

.contact-form{
  background: rgba(255,255,255,.86);
  border-radius: var(--radius2);
  padding: 18px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
}

.contact-form label{display:block; margin-bottom:12px}
.contact-form span{display:block; font-size:12px; color: var(--muted); margin-bottom:6px}

.contact-form input,
.contact-form textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: var(--text);
  padding: 12px 12px;
  outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(240,180,41,.55);
  box-shadow: 0 0 0 4px rgba(240,180,41,.18);
}

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

/* =========================
   MAP EMBED
========================= */
.map-card{padding:0; overflow:hidden}
.map-embed{ width:100%; height: 320px; }
.map-embed iframe{ width:100%; height:100%; display:block; border:0; }



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px){
  .hero-inner{grid-template-columns:1fr}
  .grid.three{grid-template-columns:1fr}
  .grid.two{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}

  .media-grid--threeBig{grid-template-columns:1fr}
  .media-grid--three{grid-template-columns:1fr}
  .klotho-overview{grid-template-columns:1fr}
}

@media (max-width: 860px){
  .sm-nav{display:none}
  .sm-burger{display:inline-flex; align-items:center; justify-content:center}
  .sm-navMobile.is-open{display:block}
}


.video-shell{position:relative}

.video-embed{
  width:100%;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(10,30,55,.10);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
  background:#fff;
  aspect-ratio: 16 / 9;
}
.video-embed iframe{width:100%;height:100%;display:block;border:0}

/* fallback overlay */
.video-fallback{
  position:absolute;
  inset:0;
  border-radius: 22px;
  overflow:hidden;
  display:none;            /* по умолчанию скрыто */
  border: 1px solid rgba(10,30,55,.10);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
  background:#0b2b44;
}
.video-fallback__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.92;
  filter: saturate(1.05);
}
.video-fallback__play{
  position:absolute;
  inset:auto auto 18px 18px;
  width:56px;height:56px;
  border-radius:999px;
  display:grid;place-items:center;
  background: rgba(240,180,41,.98);
  color:#132032;
  font-weight:900;
  box-shadow: 0 18px 50px rgba(2,10,25,.22);
}
.video-fallback__txt{
  position:absolute;
  right:18px;
  bottom:22px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.6);
  color:#0f172a;
  font-weight:800;
  font-size:12px;
}
.video-fallback:hover .video-fallback__img{opacity:1}
/* ===== HEADER NAV FIX (white menu text) ===== */

.sm-nav a {
  color: #ffffff;
  opacity: 0.9;
  font-weight: 500;
}

.sm-nav a:hover {
  opacity: 1;
  text-decoration: none;
}

/* Active / current page (если понадобится позже) */
.sm-nav a.is-active {
  opacity: 1;
  border-bottom: 2px solid var(--gold);
}
.sm-nav a,
.sm-navMobile a {
  color: #ffffff;
}

/* =========================================
   HERO (Dementia page) — hide CTAs + tags
   ========================================= */

/* Убираем Start Reading / Request Appointment */
.hero.hero--light .cta-row{
  display: none !important;
}

/* Убираем Microglia / Inflammation / α-Klotho / Kidney health */
.hero.hero--light .hero-tags{
  display: none !important;
}

/* =========================================
   DEMENTIA — clean academic layout
   ========================================= */

.section--clean .grid,
.section--clean .card{
  all: unset;
}

/* Split layout */
.simple-split{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}

/* Text */
.simple-text p{
  margin-bottom: 14px;
}

/* Note — minimal, academic */
.simple-text .mini-note{
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(11,42,69,.65);
}

/* Image — clean, no card feel */
.simple-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 980px){
  .simple-split{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================
   DEMENTIA — make right image smaller & lighter
   ========================================= */

.section#dementia .simple-media{
  max-width: 420px;          /* ← ключевой момент */
  margin-left: auto;         /* аккуратно прижать к правому краю */
}

.section#dementia .simple-media img{
  width: 100%;
  height: auto;
}

/* Dementia section — image lower, like a figure */
.section#dementia .simple-media{
  max-width: 420px;
  margin-left: auto;
  margin-top: 24px;   /* ↓ опускаем ниже заголовка текста */
}

/* ===============================
   DEMENTIA — force smaller image
   =============================== */

/* 1) делаем правую колонку уже (если у тебя всё еще .grid.two) */
.section#dementia .grid.two{
  grid-template-columns: 1.25fr 0.75fr !important; /* текст шире, картинка уже */
  gap: 44px !important;
  align-items: start !important;
}

/* 2) ограничиваем ширину блока с картинкой (card-media / contain-media / simple-media — любое) */
.section#dementia .card-media,
.section#dementia .contain-media,
.section#dementia .simple-media{
  max-width: 420px !important;
  justify-self: end !important;   /* прижать вправо */
  margin-left: auto !important;
}

/* 3) ограничиваем сам img */
.section#dementia img{
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  display: block !important;
}

/* =========================================
   DEMENTIA — make section compact
   ========================================= */

/* 1) Чуть уже правая колонка */
.section#dementia .simple-split--wide{
  grid-template-columns: 1.25fr 0.75fr !important;
  gap: 36px !important;
  align-items: start;
}

/* 2) Ограничиваем размер картинки */
.section#dementia .simple-media img{
  max-width: 360px;     /* ключевое */
  max-height: 480px;    /* ключевое */
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: auto;    /* аккуратно вправо */
  display: block;
}

/* 3) Правая колонка не растягивается */
.section#dementia .simple-media{
  align-self: flex-start;
}

/* Image as floating reference */
.section#dementia .simple-media img{
  max-width: 320px;
  margin-top: 12px;
}

/* =========================================
   DEMENTIA — compact, clean split (FINAL)
   ========================================= */

/* make this section visually tighter */
.section#dementia{
  padding: 30px 0 40px;          /* было 44/54 — компактнее */
}

/* header spacing */
.section#dementia .section-head{
  margin-bottom: 14px;           /* меньше воздуха */
}
.section#dementia h2{
  margin: 0 0 6px;
}

/* Split layout ONLY for this section */
.section#dementia .simple-split{
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;  /* текст шире, картинка уже */
  gap: 28px;                              /* меньше gap */
  align-items: start;
}

/* Text spacing tighter */
.section#dementia .simple-text p{
  margin: 0 0 10px;              /* было 14px */
}

/* Premium note — minimal, not a big block */
.section#dementia .mini-note{
  margin-top: 10px;
  padding: 0;                    /* без “плашки” */
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(11,42,69,.62);
}

/* Image smaller + looks like a reference figure */
.section#dementia .simple-media{
  justify-self: end;             /* прижать вправо */
}

.section#dementia .simple-media img{
  width: min(320px, 100%);       /* ключ: реально уменьшаем */
  max-height: 420px;             /* ограничение по высоте */
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 980px){
  .section#dementia{
    padding: 26px 0 34px;
  }
  .section#dementia .simple-split{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .section#dementia .simple-media{
    justify-self: start;
  }
  .section#dementia .simple-media img{
    width: min(360px, 100%);
    max-height: none;
  }
}


/* =========================================================
   DEMENTIA SECTION — COMPACT (final override)
   Put this block at the VERY END of your CSS
   ========================================================= */

.section#dementia.section--clean{
  padding: 26px 0 34px !important; /* компактнее секция */
}

.section#dementia.section--clean .section-head{
  margin-bottom: 10px !important;
}

.section#dementia.section--clean .kicker{
  margin-bottom: 4px !important;
}

/* split: text wider, image narrower */
.section#dementia.section--clean .simple-split{
  display: grid !important;
  grid-template-columns: 1.45fr 0.55fr !important; /* картинка заметно уже */
  gap: 22px !important;                             /* меньше воздуха */
  align-items: start !important;
}

/* tighter text */
.section#dementia.section--clean .simple-text p{
  margin: 0 0 10px !important;
}

/* premium note — no big pill */
.section#dementia.section--clean .simple-text .mini-note{
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(11,42,69,.62) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

/* image реально меньше (это ключ) */
.section#dementia.section--clean .simple-media{
  justify-self: end !important;
  align-self: start !important;
}

.section#dementia.section--clean .simple-media img{
  width: 300px !important;      /* ← уменьшаем в пикселях, иначе 100% = большая */
  max-width: 100% !important;
  height: auto !important;
  max-height: 380px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* mobile */
@media (max-width: 980px){
  .section#dementia.section--clean{
    padding: 22px 0 28px !important;
  }

  .section#dementia.section--clean .simple-split{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .section#dementia.section--clean .simple-media{
    justify-self: start !important;
  }

  .section#dementia.section--clean .simple-media img{
    width: min(340px, 100%) !important;
    max-height: none !important;
  }
}

/* === DEMENTIA: align image with heading === */
.section#dementia .simple-media{
  margin-top: -70px;   /* поднимаем к уровню h2 */
}