/* =========================
   Saisei Mirai – ASD (CLEAN)
   One CSS file, no duplicates
========================= */

:root{
  --navy:#0b2b44;
  --navy2:#103a5c;
  --gold:#f0b429;
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#52606d;
  --line:rgba(15,23,42,.10);
  --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}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

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

section[id]{ scroll-margin-top: 120px; }
.divider{height:1px;background: rgba(10,30,55,.10); margin:14px 0}

.grid{display:grid; gap:16px}
.grid.two{grid-template-columns:1fr 1fr}
.stack{display:grid; gap:16px}


/* =====================
   BUTTONS (page)
===================== */

.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:#fff;
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover{ background: rgba(255,255,255,.10); }

/* =====================
   HERO
===================== */

.hero{
  position:relative;
  padding: 56px 0 40px;
  overflow:hidden;
  color:#fff;
  background: linear-gradient(180deg, var(--navy) 0%, #0a2a40 70%, #082236 100%);
}
.hero-bg{
  position:absolute;
  inset: -40px -40px auto -40px;
  height: 260px;
  background:
    radial-gradient(closest-side, rgba(240,180,41,.26), transparent 70%),
    radial-gradient(closest-side, rgba(255,255,255,.10), transparent 72%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: .75fr 1.25fr;
  gap:28px;
  align-items:start;
}
.eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:.12em;
  opacity:.9;
  font-weight:900;
  color: rgba(255,255,255,.92);
}
.hero-title{
  margin: 10px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}
.hero-lead{
  margin: 0 0 14px;
  font-size: 18px;
  opacity:.95;
  font-weight: 900;
}
.hero-copy p{ color: rgba(255,255,255,.88); 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,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}

/* media */
.media-card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.media-video .hero-video{
  width:100%;
  height: clamp(260px, 34vw, 520px);
  display:block;
  object-fit: cover;
  background:#0b1320;
}
.media-caption{
  padding:10px 12px;
  font-size:12px;
  opacity:.85;
  border-top: 1px solid rgba(255,255,255,.14);
}

/* =====================
   SECTIONS
===================== */

.section{ padding: 44px 0 54px; background: transparent; }

.section-soft{
  background:
    radial-gradient(900px 360px at 18% -120px, rgba(240,180,41,.18), transparent 60%),
    radial-gradient(900px 360px at 88% 0%, rgba(11,43,68,.10), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
}

.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, 30px);
  line-height: 1.2;
}

.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
    );
}

/* cards */
.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;
}

/* media card (no crop) */
.card-media{
  padding:0;
  overflow:hidden;
  background:#fff;
  border-radius: var(--radius2);
  border: 1px solid rgba(10,30,55,.06);
  box-shadow: var(--softShadow);
}
.card-media img{
  width:100%;
  height: clamp(220px, 28vw, 340px);
  object-fit: contain;
  background:#fff;
}

/* 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; }
.h4{ margin:0 0 6px; }
.p0{ margin:0; }

/* =====================
   CONTACT
===================== */

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

.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); }

.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); }

.pill-link{
  display:inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(240,180,41,.14);
  border: 1px solid rgba(240,180,41,.30);
  color: rgba(11,43,68,.95);
}
.pill-link:hover{ background: rgba(240,180,41,.18); }

.map-card{ padding:0; overflow:hidden; }
.map-embed{ width:100%; height: 320px; }
.map-embed iframe{ width:100%; height:100%; display:block; border:0; }
.card-body{ padding: 16px 18px 18px; }



.back-top{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(15, 35, 55, .92);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.14);
  opacity:0;
  transform: translateY(8px);
  pointer-events:none;
  transition:.22s ease;
}
.back-top.show{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.back-top:hover{ filter: brightness(1.05); }

/* =====================
   RESPONSIVE (page)
===================== */

@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .grid.two{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .map-embed{ height: 280px; }
}
/* HERO base */
.hero{
  position:relative;
  padding: 56px 0 40px;
  overflow:hidden;
}

/* HERO LIGHT (как на твоём скрине) */
.hero.hero--light{
  background:
    radial-gradient(900px 380px at 85% 0%, rgba(240,180,41,.22), transparent 62%),
    radial-gradient(1000px 420px at 15% -180px, rgba(11,43,68,.10), transparent 62%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
  color: var(--text);
}

/* убираем “тёмные” цвета внутри hero */
.hero.hero--light .eyebrow{
  color: rgba(11,43,68,.65);
  opacity: 1;
}
.hero.hero--light .hero-title,
.hero.hero--light .hero-lead{
  color: var(--navy);
}
.hero.hero--light .hero-copy p{
  color: #334155;
}

/* теги в светлом hero */
.hero.hero--light .tag{
  background: rgba(11,43,68,.06);
  border-color: rgba(11,43,68,.14);
  color: var(--navy);
}

/* кнопка-ghost в светлом hero */
.hero.hero--light .btn-ghost{
  color: var(--navy);
  border-color: rgba(11,43,68,.22);
}
.hero.hero--light .btn-ghost:hover{
  background: rgba(11,43,68,.06);
}

/* видео-карта: белая, как в премиум блоках */
.hero.hero--light .media-card{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--softShadow);
}
.hero.hero--light .media-caption{
  color: var(--muted);
  border-top: 1px solid rgba(15,23,42,.10);
}

/* если у тебя был .hero-bg — в светлом варианте лучше выключить */
.hero.hero--light .hero-bg{ display:none; }

/* =========================
   CLINIC VIDEO SECTION
========================= */

.video-layout{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: start;
}

.video-card{
  background: var(--card);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  border: 1px solid rgba(15,23,42,.08);
  padding: 12px;
}

.video-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.video-frame iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Responsive */
@media (max-width: 980px){
  .video-layout{
    grid-template-columns: 1fr;
  }
}

/* =========================
   JOURNAL BLOCKS (TREATMENTS RIGHT COLUMN)
========================= */

.journals{
  display: grid;
  gap: 16px;
  align-content: start;
}

.journal{
  background: var(--card);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  border: 1px solid rgba(15,23,42,.08);
  overflow: hidden;
}

.journal-media{
  background: #fff;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.journal-media img{
  width: 100%;
  height: 240px;              /* одинаковая высота */
  object-fit: contain;        /* не режем постеры */
  display: block;
  background: #fff;
  padding: 10px;              /* чтобы не липло к краям */
}

.journal-body{
  padding: 14px 16px 16px;
}

.journal-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(11,43,68,.95);
}

.journal-points{
  margin: 0;
  padding-left: 18px;
}

.journal-points li{
  margin: 8px 0;
  color: rgba(15,23,42,.88);
  line-height: 1.55;
}

/* Placeholder styling */
.journal-placeholder{
  height: 240px;
  display: grid;
  place-items: center;
  color: rgba(11,43,68,.65);
  font-weight: 900;
  letter-spacing: .02em;
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(240,180,41,.16), transparent 60%),
    linear-gradient(180deg, #f8fafc, #ffffff);
}

/* Make journals tighter on small screens */
@media (max-width: 980px){
  .journal-media img,
  .journal-placeholder{
    height: 220px;
  }
}


/* =========================
   JOURNAL BLOCKS (TREATMENTS RIGHT COLUMN)
========================= */

.journals{
  display: grid;
  gap: 16px;
  align-content: start;
}

/* Card */
.journal{
  background: var(--card);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  border: 1px solid rgba(15,23,42,.08);
  overflow: hidden;
}

/* Image area */
.journal-media{
  background: #fff;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* IMPORTANT: identical height + no crop */
.journal-media img{
  width: 100%;
  height: 260px;            /* одинаковая высота у обоих */
  object-fit: contain;      /* не режем журналы */
  display: block;
  background: #fff;
  padding: 10px;            /* чтобы плакат не лип к краям */
}

/* Text area */
.journal-body{
  padding: 14px 16px 16px;
}

.journal-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(11,43,68,.95);
  letter-spacing: .01em;
}

.journal-points{
  margin: 0;
  padding-left: 18px;
}

.journal-points li{
  margin: 8px 0;
  color: rgba(15,23,42,.88);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 980px){
  .journal-media img{
    height: 230px;
  }
}

/* =====================
   JOURNALS (no empty space)
===================== */

.journals{
  display:grid;
  gap:16px;
  align-content:start;
}

.journal-card{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:0;
  background: var(--card);
  border: 1px solid rgba(10,30,55,.06);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  overflow:hidden;
  min-width:0;
}

/* left cover block */
.journal-cover{
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(240,180,41,.14), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
  border-right: 1px solid rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  min-width:0;
}

.journal-cover img{
  width:100%;
  height:auto;
  display:block;
  padding:12px;
  object-fit:contain;
  /* ключ к “без пустот”: фиксируем аккуратное соотношение */
  aspect-ratio: 4 / 5;
  background:#fff;
  border-radius: 14px;
  margin: 12px 12px 10px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
}

.journal-cite{
  margin: 0 12px 12px;
  font-size:12px;
  color: var(--muted);
  font-weight:700;
}

/* right text block */
.journal-content{
  padding:16px 18px;
  min-width:0;
}

.journal-title{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.25;
  color: rgba(11,43,68,.96);
}

.journal-points{
  margin:0;
  padding-left:18px;
}

.journal-points li{
  margin: 8px 0;
  color: rgba(15,23,42,.82);
}

/* tighter feel */
@media (max-width: 980px){
  .journal-card{
    grid-template-columns: 1fr;
  }
  .journal-cover{
    border-right:0;
    border-bottom: 1px solid rgba(15,23,42,.08);
  }
  .journal-cover img{
    aspect-ratio: 16 / 10;
    margin: 12px;
  }
}

/* =====================
   JOURNALS (no empty space)
===================== */

.journals{
  display:grid;
  gap:16px;
  align-content:start;
}

.journal-card{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap:0;
  background: var(--card);
  border: 1px solid rgba(10,30,55,.06);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  overflow:hidden;
  min-width:0;
}

/* left cover block */
.journal-cover{
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(240,180,41,.14), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
  border-right: 1px solid rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  min-width:0;
}

.journal-cover img{
  width:100%;
  height:auto;
  display:block;
  padding:12px;
  object-fit:contain;
  /* ключ к “без пустот”: фиксируем аккуратное соотношение */
  aspect-ratio: 4 / 5;
  background:#fff;
  border-radius: 14px;
  margin: 12px 12px 10px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
}

.journal-cite{
  margin: 0 12px 12px;
  font-size:12px;
  color: var(--muted);
  font-weight:700;
}

/* right text block */
.journal-content{
  padding:16px 18px;
  min-width:0;
}

.journal-title{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.25;
  color: rgba(11,43,68,.96);
}

.journal-points{
  margin:0;
  padding-left:18px;
}

.journal-points li{
  margin: 8px 0;
  color: rgba(15,23,42,.82);
}

/* tighter feel */
@media (max-width: 980px){
  .journal-card{
    grid-template-columns: 1fr;
  }
  .journal-cover{
    border-right:0;
    border-bottom: 1px solid rgba(15,23,42,.08);
  }
  .journal-cover img{
    aspect-ratio: 16 / 10;
    margin: 12px;
  }
}

/* =========================
   Our clinical perspective (wide text + stacked journals)
========================= */

.card--wide{
  width: 100%;
}

/* stack container under the wide card */
.journals-stack{
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* journal row layout */
.journal-row{
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 18px;
  align-items: start;

  background: var(--card);
  border-radius: var(--radius2);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--softShadow);
  overflow: hidden;
}

/* second row: text left, image right */
.journal-row--img-right{
  grid-template-columns: 1fr minmax(280px, 420px);
}

.journal-media{
  padding: 16px;
  background: linear-gradient(180deg, rgba(240,180,41,.10), rgba(255,255,255,0) 65%);
}

.journal-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  object-fit: contain;
}

.journal-cite{
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.journal-text{
  padding: 18px 20px;
  min-width: 0;
}

.journal-text h3{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.journal-points{
  margin: 0;
  padding-left: 18px;
}

.journal-points li{
  margin: 8px 0;
}

/* responsive */
@media (max-width: 980px){
  .journal-row,
  .journal-row--img-right{
    grid-template-columns: 1fr;
  }
  .journal-text{
    padding-top: 0;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 18px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-caption{
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #52606d; /* muted */
  text-align: center;
}

/* Split card: text + image */
.card--split{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

/* Text side */
.card--split .card-text p{
  margin: 0 0 14px;
}

/* Image side */
.card--split .card-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Mobile */
@media (max-width: 900px){
  .card--split{
    grid-template-columns: 1fr;
  }

  .card--split .card-media{
    order: -1; /* картинка сверху на мобиле */
  }
}

/* FLAT clinical perspective block (no cards, no shadows) */
.card--wide.card--split {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* убрать "выпуклость" у вложенных колонок */
.card--wide.card--split .card-text,
.card--wide.card--split .card-media {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.card--wide.card--split {
  gap: 40px;
}
/* ===========================
   Clinical perspective (PPT style)
   =========================== */

#treatments .section-head{
  margin-bottom: 28px;
}

.cp-stack{
  display: grid;
  gap: 34px;
}

/* Base slide */
.cp-slide{
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* Triple layout (Slide 1) */
.cp-slide--triple{
  display: grid;
  grid-template-columns: 260px 1fr 360px;
  gap: 26px;
  align-items: start;
}

/* Two-col layout (Slides 2 & 3) */
.cp-slide--two{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

/* Text */
.cp-text h3{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy, #0b2b44);
  font-weight: 800;
}

.cp-text--center{
  padding-top: 6px;
}

/* Bullets */
.cp-points{
  margin: 0;
  padding-left: 18px;
}

.cp-points li{
  margin: 0 0 10px;
  line-height: 1.6;
}

/* Media blocks */
.cp-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

/* Citations */
.cp-cite{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted, #52606d);
}

/* Caption under neuron (Slide 1 right) */
.cp-caption{
  margin-top: 12px;
}

.cp-caption-title{
  font-weight: 800;
  color: var(--navy, #0b2b44);
  margin: 0 0 8px;
}

/* Responsive */
@media (max-width: 1100px){
  .cp-slide--triple{
    grid-template-columns: 240px 1fr;
    grid-template-areas:
      "left center"
      "right right";
  }

  .cp-slide--triple .cp-media--left{ grid-area: left; }
  .cp-slide--triple .cp-text--center{ grid-area: center; }
  .cp-slide--triple .cp-media--right{ grid-area: right; }
}

@media (max-width: 820px){
  .cp-slide--two{
    grid-template-columns: 1fr;
  }

  .cp-slide--triple{
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
  }

  .cp-slide--triple .cp-text--center{ grid-area: center; }
  .cp-slide--triple .cp-media--left{ grid-area: left; }
  .cp-slide--triple .cp-media--right{ grid-area: right; }
}

/* =========================
   Clinical perspective images
========================= */

/* универсально для правой колонки */
.card--split .card-media img {
  max-width: 420px;   /* ← уменьшаем */
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* на больших экранах можно чуть больше */
@media (min-width: 1200px) {
  .card--split .card-media img {
    max-width: 460px;
  }
}

/* =========================
   FIX: Our clinical perspective (top layout)
   image – text – image – text
   ========================= */

.cp-stack{
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* убрать “выпуклости/рамочки” если они были у карточек */
.cp-slide,
.cp-media,
.cp-text{
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* 4 колонки */
.cp-slide--quad{
  display: grid;
  grid-template-columns: 280px 1fr 280px 1fr;
  gap: 22px;
  align-items: start;
}

/* картинки НЕ огромные */
.cp-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

/* текстовые блоки */
.cp-text h3{
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--navy, #0b2b44);
  font-size: 18px;
  line-height: 1.25;
}

.cp-par{
  margin: 0;
  color: var(--text, #0f172a);
  line-height: 1.7;
  font-size: 15px;
}

/* список (если используешь) */
.cp-points{
  margin: 0;
  padding-left: 18px;   /* можно 0 если хочешь вообще без маркеров */
  line-height: 1.7;
  color: var(--text, #0f172a);
  font-size: 15px;
}

/* цитата */
.cp-cite{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted, #52606d);
}

/* =========================
   Smaller images in slides 2/3 (BBB + cover)
   ========================= */
.cp-slide--two{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.cp-slide--two .cp-media img{
  max-width: 360px;   /* уменьшает фото справа */
  width: 100%;
  height: auto;
}

/* responsive */
@media (max-width: 1100px){
  .cp-slide--quad{
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 720px){
  .cp-slide--quad,
  .cp-slide--two{
    grid-template-columns: 1fr;
  }
  .cp-slide--two .cp-media img{
    max-width: 100%;
  }
}

/* =========================
   Shift ONLY right images in slide 2 & 3
   ========================= */

.cp-slide--two {
  display: grid;
  grid-template-columns: 1fr 420px; /* текст | картинка */
  column-gap: 40px;
}

/* двигаем ТОЛЬКО картинки вправо */
.cp-slide--two .cp-media {
  justify-self: end;        /* 🔑 ключевая строка */
}

/* фиксируем размер */
.cp-slide--two .cp-media img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
}


.stack--two{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px){
  .stack--two{
    grid-template-columns: 1fr;
  }
}

/* Remove 3D / card shadows */
.card,
  box-shadow: none !important;
}
.card,
.callout,
.callout,
.card-media {
.card-media {
  border-radius: 10px;
}

.card {
  background: transparent;
  padding: 0;
}
