/* ============================================================
   Академия 21 — Курс «Колледж дистанционно. Сестринское дело»
   Все стили заскоплены под .medicine-page, чтобы не конфликтовать
   с общими style.css / шапкой / подвалом.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');

@font-face {
  font-family:'TT Norms The One Universal Grotesk';
  src:url('../../assets/tt-norms-the-one-universal-grotesk/TTNorms-Regular.otf') format('opentype');
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:'TT Norms The One Universal Grotesk';
  src:url('../../assets/tt-norms-the-one-universal-grotesk/TTNorms-Medium.otf') format('opentype');
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:'TT Norms The One Universal Grotesk';
  src:url('../../assets/tt-norms-the-one-universal-grotesk/TTNorms-Bold.otf') format('opentype');
  font-weight:600;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:'TT Norms The One Universal Grotesk';
  src:url('../../assets/tt-norms-the-one-universal-grotesk/TTNorms-Bold.otf') format('opentype');
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:'TT Norms The One Universal Grotesk';
  src:url('../../assets/tt-norms-the-one-universal-grotesk/TTNorms-ExtraBold.otf') format('opentype');
  font-weight:800;
  font-style:normal;
  font-display:swap;
}

@font-face {
  font-family:'TT Norms The One Universal Grotesk';
  src:url('../../assets/tt-norms-the-one-universal-grotesk/TTNorms-Black.otf') format('opentype');
  font-weight:900;
  font-style:normal;
  font-display:swap;
}

.medicine-page{
  /* локальная палитра курса */
  --med-brand:#8429ff;
  --med-btn:#8429ff;
  --med-btn-hover:#7019ec;

  --med-ink:#1d1d27;
  --med-ink-soft:#33333f;
  --med-muted:#6c6f7e;
  --med-muted-2:#9a9cab;

  --med-white:#ffffff;
  --med-lilac:#efeafa;
  --med-lilac-2:#f3f0fb;
  --med-lilac-strong:#e7dcfb;
  --med-yellow:#fbeab6;
  --med-red:#ff3b30;

  --med-radius:28px;
  --med-radius-sm:18px;
  --med-shadow:0 18px 50px -28px rgba(60,40,110,.30);

  font-family:'TT Norms The One Universal Grotesk',system-ui,sans-serif;
  color:var(--med-ink);
  line-height:1.45;
}

.medicine-page img{display:block;max-width:100%;}

.medicine-page .container-wide{max-width:1460px;margin:0 auto;padding:0 24px;}

/* handwritten accent */
.medicine-page .scr{
  font-family:'Caveat',cursive;
  font-weight:700;
  line-height:1;
  vertical-align:baseline;
  padding-right:.16em;
}

/* ============================= HERO ============================= */
.medicine-page .med-hero{position:relative;padding-top:24px;}
.medicine-page .hero-card{
  position:relative;overflow:hidden;
  display:block;height:auto;
  background:linear-gradient(105deg,#efe9fa 0%, #efe8fb 46%, #f3ecfb 100%);
  border-radius:var(--med-radius);
  min-height:430px;
  padding:44px 52px 42px;
}
.medicine-page .hero-bg{
  position:absolute;top:0;right:0;height:100%;width:100%;
  object-fit:cover;object-position:right center;pointer-events:none;
}
.medicine-page .hero-card::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#efe9fa 0%, #efe9fa 49%, rgba(239,233,250,.9) 56%, rgba(239,233,250,0) 66%);
}
.medicine-page .hero-content{display:block;position:relative;z-index:2;max-width:560px;}
.medicine-page .hero-stats{display:flex;align-items:stretch;gap:34px;margin-bottom:34px;}
.medicine-page .hero-stat .lbl{font-size:15px;color:var(--med-muted);margin-bottom:8px;}
.medicine-page .hero-stat .val{font-size:26px;font-weight:700;color:var(--med-ink);white-space:nowrap;}
.medicine-page .hero-stat.divide{border-left:1px solid #d9d2ec;padding-left:34px;}
.medicine-page .med-hero h1{
  font-size:33px;line-height:1.18;font-weight:700;margin:0 0 18px;letter-spacing:-.2px;color:var(--med-ink);
}
.medicine-page .hero-lead{font-size:16px;line-height:1.55;color:var(--med-muted);max-width:438px;margin:0 0 26px;}
.medicine-page .hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.medicine-page .hero-note{font-size:13.5px;color:var(--med-muted-2);margin-top:18px;max-width:300px;line-height:1.4;}
.medicine-page .hero-mobile-img,
.medicine-page .hero-mobile-ing{display:none;}

/* ============================= FEATURE STRIP ============================= */
.medicine-page .features{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:20px;margin-top:24px;}
.medicine-page .feature{
  background:var(--med-lilac-2);border-radius:24px;padding:26px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:128px;
}
.medicine-page .feature .ftxt .ft-lbl{font-size:18px;font-weight:600;color:var(--med-ink);margin-bottom:8px;}
.medicine-page .feature .ftxt .ft-sub{font-size:15.5px;color:var(--med-muted);line-height:1.35;}
.medicine-page .feature .ficon{flex:0 0 auto;width:72px;height:72px;}
.medicine-page .feature .ficon img{width:100%;height:100%;object-fit:contain;}

/* ============================= SECTION TITLES ============================= */
.medicine-page .section{padding:70px 0;}
.medicine-page .display-title{
  font-size:50px;font-weight:700;line-height:1.05;letter-spacing:-.5px;margin:0;color:var(--med-ink);
}
.medicine-page .display-title .scr{font-size:62px;color:var(--med-ink);}
.medicine-page .h-mid{font-size:40px;font-weight:700;line-height:1.08;letter-spacing:-.3px;margin:0;color:var(--med-ink);}
.medicine-page .h-mid .scr{font-size:52px;}

/* ============================= STRESS BLOCK ============================= */
.medicine-page .stress-title{margin-bottom:34px;}
.medicine-page .stress-title .scr{font-size:60px;}
.medicine-page .stress-grid{display:grid;grid-template-columns:1.08fr 1fr;gap:24px;align-items:start;}
.medicine-page .stress-photo-card{background:var(--med-lilac);border-radius:var(--med-radius);padding:0;overflow:hidden;}
.medicine-page .stress-photo-card .ph{border-radius:0;overflow:hidden;position:relative;aspect-ratio:16/11;}
.medicine-page .stress-photo-card .ph img{width:100%;height:100%;object-fit:cover;}
.medicine-page .badge-ico{
  position:absolute;top:16px;left:16px;width:48px;height:48px;border-radius:50%;
  background:#fff;display:grid;place-items:center;box-shadow:0 6px 18px -8px rgba(0,0,0,.3);
}
.medicine-page .badge-ico svg{width:24px;height:24px;}
.medicine-page .badge-ico img{width:26px;height:26px;object-fit:contain;}
.medicine-page .stress-photo-card h3{font-size:21px;font-weight:600;line-height:1.3;margin:26px 28px 14px;}
.medicine-page .stress-photo-card p{font-size:15.5px;color:var(--med-muted);line-height:1.55;margin:0 28px 28px;}
.medicine-page .stress-col{display:flex;flex-direction:column;gap:24px;height:100%;}
.medicine-page .info-card{display:block;background:var(--med-lilac);border-radius:var(--med-radius);padding:34px 36px;flex:1;}
.medicine-page .info-card .ic-ico{flex:0 0 auto;width:60px;height:60px;min-width:60px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:28px;box-shadow:0 6px 18px -10px rgba(60,40,110,.35);}
.medicine-page .info-card .ic-ico svg{width:30px;height:30px;}
.medicine-page .info-card .ic-ico img{width:30px;height:30px;object-fit:contain;}
.medicine-page .info-card h3{font-size:22px;font-weight:600;line-height:1.3;margin:0 0 16px;}
.medicine-page .info-card p{font-size:15.5px;color:var(--med-muted);line-height:1.6;margin:0;}

/* ============================= STANDARDS / YELLOW ============================= */
.medicine-page .standards-title{margin-bottom:46px;}
.medicine-page .standards-title .scr{display:inline;}
.medicine-page .yellow-card{
  background:var(--med-yellow);border-radius:36px;padding:54px 60px;
  display:grid;grid-template-columns:1fr 1fr;gap:60px;
}
.medicine-page .yellow-card h3{font-size:23px;font-weight:700;margin:0 0 18px;}
.medicine-page .yellow-card p{font-size:17px;color:#5b5640;line-height:1.6;margin:0;}

/* ============================= DIPLOMA CAROUSEL ============================= */
.medicine-page .carousel{position:relative;}
.medicine-page .carousel-track{border-radius:var(--med-radius);overflow:hidden;background:#efeafa;}
.medicine-page .carousel-track .slide{display:none;position:static;opacity:1;padding:0;border-radius:0;min-height:0;height:auto;width:auto;}
.medicine-page .carousel-track .slide.is-active{display:block;}
.medicine-page .carousel-track .slide img{width:100%;height:auto;object-fit:cover;}
.medicine-page .car-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:54px;height:54px;border-radius:50%;background:#fff;color:var(--med-brand);
  display:grid;place-items:center;box-shadow:var(--med-shadow);z-index:3;transition:transform .15s;
}
.medicine-page .car-btn:hover{transform:translateY(-50%) scale(1.06);}
.medicine-page .car-btn svg{width:22px;height:22px;}
.medicine-page .car-prev{left:18px;}
.medicine-page .car-next{right:18px;}
.medicine-page .car-dots{display:flex;gap:9px;justify-content:center;margin-top:22px;}
.medicine-page .car-dots button{width:9px;height:9px;border-radius:50%;background:#d6cdee;transition:.2s;}
.medicine-page .car-dots button.is-active{background:var(--med-brand);width:26px;border-radius:6px;}

/* ============================= COMPLIANCE ============================= */
.medicine-page .compliance{
  background:var(--med-lilac-2);border-radius:var(--med-radius);padding:54px 60px;
  display:grid;grid-template-columns:1fr 1fr;gap:60px;
}
.medicine-page .compliance .col-head{font-size:24px;font-weight:700;color:var(--med-brand);margin:0 0 26px;min-height:34px;}
.medicine-page .compliance .badges{display:flex;position:static;flex-direction:row;top:auto;left:auto;gap:14px;margin-bottom:26px;}
.medicine-page .compliance .seal{
  width:48px;height:48px;border-radius:50%;border:1.6px solid var(--med-brand);
  display:grid;place-items:center;color:var(--med-brand);font-size:9px;font-weight:700;text-align:center;line-height:1;
}
.medicine-page .compliance p{font-size:18px;color:var(--med-ink-soft);line-height:1.55;margin:0;}

/* ============================= ADVANTAGES (KZ) ============================= */
.medicine-page .benefit-title{margin-bottom:44px;}
.medicine-page .benefit-row{
  background:var(--med-lilac);border-radius:var(--med-radius);padding:26px;
  display:grid;gap:34px;align-items:center;margin-bottom:24px;
}
.medicine-page .benefit-row.img-left{grid-template-columns:0.92fr 1fr;}
.medicine-page .benefit-row.img-right{grid-template-columns:1fr 0.92fr;}
.medicine-page .benefit-media{position:relative;border-radius:20px;overflow:hidden;aspect-ratio:16/11;background:#ddd;}
.medicine-page .benefit-media img{width:100%;height:100%;object-fit:cover;}
.medicine-page .benefit-media video,
.medicine-page .benefit-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;}
.medicine-page .benefit-text{padding:14px 24px;}
.medicine-page .benefit-text p{font-size:16px;line-height:1.62;color:var(--med-ink-soft);margin:0;}
.medicine-page .benefit-text p + p{margin-top:14px;}
.medicine-page .benefit-text .muted{color:var(--med-muted);}

/* video placeholder */
.medicine-page .video-ph{position:relative;background:linear-gradient(135deg,#e3dcf3,#d7cdef);}
.medicine-page .video-ph::before{
  content:"";position:absolute;inset:0;
  background-image:repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 14px, rgba(255,255,255,0) 14px 28px);
}
.medicine-page .video-ph .play{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:74px;height:74px;border-radius:50%;background:rgba(132,41,255,.92);
  display:grid;place-items:center;box-shadow:0 10px 30px -10px rgba(132,41,255,.7);
}
.medicine-page .video-ph .play svg{width:26px;height:26px;margin-left:4px;}
.medicine-page .video-ph .ph-label{
  position:absolute;left:0;right:0;bottom:16px;text-align:center;color:#fff;
  font-size:12.5px;letter-spacing:.04em;text-transform:uppercase;opacity:.92;font-weight:600;
}

/* ============================= CENTERCREDIT BANNER ============================= */
.medicine-page .cc-card{
  background:var(--med-white);border-radius:var(--med-radius);overflow:hidden;
  display:grid;grid-template-columns:1fr 1.05fr;box-shadow:var(--med-shadow);
}
.medicine-page .cc-poster{background:linear-gradient(160deg,#fbf7ef 0%,#f4eee3 100%);padding:34px 38px;position:relative;}
.medicine-page .cc-poster--img{padding:0;background:none;}
.medicine-page .cc-poster--img img{width:100%;height:100%;object-fit:cover;display:block;}
.medicine-page .cc-poster .cc-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px;}
.medicine-page .cc-brand{display:flex;align-items:center;gap:8px;font-size:24px;font-weight:800;color:#1d1d27;}
.medicine-page .cc-brand .tri{width:26px;height:26px;border-radius:7px;background:#f6c544;display:grid;place-items:center;}
.medicine-page .cc-brand .tri::after{content:"";border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:9px solid #1d1d27;}
.medicine-page .cc-contact{font-size:12px;color:#6c6f7e;text-align:right;line-height:1.7;}
.medicine-page .cc-poster h3{font-size:38px;font-weight:800;line-height:1.02;margin:0 0 16px;color:#1d1d27;}
.medicine-page .cc-smart{display:inline-flex;align-items:center;gap:6px;border:2px solid #1d1d27;border-radius:10px;padding:6px 14px;font-weight:800;font-size:18px;}
.medicine-page .cc-smart b{color:#3aa856;}
.medicine-page .cc-poster .poster-art{margin-top:18px;height:230px;border-radius:16px;background:linear-gradient(120deg,#efe9dd,#e7f0e4);position:relative;overflow:hidden;display:grid;place-items:center;}
.medicine-page .cc-qr{width:120px;height:120px;background:#fff;border-radius:10px;padding:8px;box-shadow:0 8px 24px -10px rgba(0,0,0,.25);}
.medicine-page .cc-qr svg{width:100%;height:100%;}
.medicine-page .cc-fine{font-size:8px;color:#9a9384;line-height:1.4;margin-top:14px;}
.medicine-page .cc-info{padding:42px 46px;}
.medicine-page .cc-info h3{font-size:23px;font-weight:700;line-height:1.35;margin:0 0 22px;}
.medicine-page .cc-info p{font-size:15.5px;color:var(--med-muted);line-height:1.6;margin:0 0 18px;}
.medicine-page .cc-info p b{color:var(--med-ink);}
.medicine-page .cc-024{display:inline-flex;align-items:center;background:var(--med-red);color:#fff;font-weight:800;font-size:18px;letter-spacing:.06em;padding:11px 26px;border-radius:30px;margin:6px 0 30px;}
.medicine-page .cc-req-title{font-size:17px;font-weight:700;margin:0 0 14px;}
.medicine-page .cc-req{
  border-left:3px solid var(--med-red);background:#faf9fb;border-radius:0 14px 14px 0;
  padding:18px 22px;display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:14px;
}
.medicine-page .cc-req .rt{font-weight:700;color:#1d1d27;grid-column:1/-1;margin-bottom:4px;}
.medicine-page .cc-req dt{color:#6c6f7e;}
.medicine-page .cc-req dd{margin:0;color:#1d1d27;font-weight:500;}

/* ============================= EXPERT CURATION ============================= */
.medicine-page .curation-head{margin-bottom:14px;}
.medicine-page .curation-sub{font-size:19px;color:var(--med-muted);margin:0 0 40px;max-width:760px;}
.medicine-page .curation-card{background:var(--med-lilac);border-radius:36px;padding:48px 56px;}
.medicine-page .curation-card > p{font-size:19px;line-height:1.55;color:var(--med-ink-soft);margin:0 0 40px;max-width:1000px;}
.medicine-page .curation-card > p b{font-weight:700;}
.medicine-page .curation-feats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.medicine-page .cf{display:flex;align-items:center;gap:14px;}
.medicine-page .cf img{width:36px;height:36px;flex:0 0 auto;}
.medicine-page .cf span{font-size:16px;font-weight:500;color:var(--med-ink-soft);line-height:1.3;}

/* ============================= 2x2 COLORED CARDS ============================= */
.medicine-page .quad{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:24px;}
.medicine-page .qcard{border-radius:32px;padding:44px 46px;min-height:330px;}
.medicine-page .qcard h3{font-size:25px;font-weight:700;margin:0 0 22px;line-height:1.2;}
.medicine-page .qcard p{font-size:17px;line-height:1.62;margin:0;color:var(--med-ink-soft);}
.medicine-page .qcard.lilac{background:var(--med-lilac-2);}
.medicine-page .qcard.yellow{background:var(--med-yellow);}
.medicine-page .qcard.purple{background:var(--med-lilac-strong);}
.medicine-page .qcard.purple p,.medicine-page .qcard.yellow p{color:#3b3730;}

/* ============================= TESTIMONIALS ============================= */
.medicine-page .testi-title{margin-bottom:42px;}
.medicine-page .testi-title b{font-weight:800;}
.medicine-page .testi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.medicine-page .testi{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:9/15;background:#e3dcf3;}
.medicine-page .testi iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}

/* ============================= PROGRAM + PRICE ============================= */
.medicine-page .program-grid{display:grid;grid-template-columns:1fr 392px;gap:46px;align-items:start;}
.medicine-page .program{padding:0;}
.medicine-page .program h2{font-size:30px;font-weight:700;margin:0 0 26px;}
.medicine-page .accordion{border-top:1px solid #e4e0ee;}
.medicine-page .acc-item{border-bottom:1px solid #e4e0ee;}
.medicine-page .acc-head{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:24px 6px;text-align:left;font-size:18px;font-weight:500;color:var(--med-ink);background:none;
}
.medicine-page .acc-head .chev{flex:0 0 auto;width:22px;height:22px;color:var(--med-brand);transition:transform .25s;}
.medicine-page .acc-item.open .acc-head .chev{transform:rotate(180deg);}
.medicine-page .acc-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease;}
.medicine-page .acc-item.open .acc-body{grid-template-rows:1fr;}
.medicine-page .acc-body > div{overflow:hidden;}
.medicine-page .acc-body p{margin:0 6px 24px;color:var(--med-muted);font-size:15.5px;line-height:1.6;}

/* price column (sticky) */
.medicine-page .price-col{position:sticky;top:104px;display:flex;flex-direction:column;gap:22px;}
.medicine-page .price-card{background:#fff;border:none;position:static;top:auto;border-radius:24px;padding:30px 30px 28px;box-shadow:var(--med-shadow);}
.medicine-page .pc-title{font-size:19px;font-weight:700;margin:0 0 18px;}
.medicine-page .pc-line{font-size:15px;color:var(--med-ink);margin-bottom:4px;}
.medicine-page .pc-line b{font-weight:700;}
.medicine-page .pc-line .small{color:var(--med-muted);font-weight:400;}
.medicine-page .pc-price{font-size:30px;font-weight:800;color:var(--med-brand);margin:2px 0 16px;}
.medicine-page .pc-installment{
  background:#f4f2f9;border-radius:14px;padding:14px 16px;font-size:14px;color:var(--med-ink);
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px;
}
.medicine-page .pc-installment .q{width:20px;height:20px;border-radius:50%;border:1.5px solid #bdbccb;color:#9a9cab;display:grid;place-items:center;font-size:12px;flex:0 0 auto;}
.medicine-page .pc-meta{font-size:14px;color:var(--med-ink);border-top:1px solid #eee;padding-top:14px;}
.medicine-page .pc-meta div{margin-bottom:6px;}
.medicine-page .pc-meta b{font-weight:700;}
.medicine-page .pc-sub{font-size:13.5px;color:var(--med-muted-2);margin:8px 0 0;}
.medicine-page .pc-actions{display:flex;flex-direction:column;gap:12px;margin-top:20px;}
.medicine-page .pc-foot{text-align:center;font-size:13px;color:var(--med-muted-2);margin-top:14px;}
.medicine-page .pc-rate{background:#f4f2f9;border-radius:14px;padding:14px 16px;margin-bottom:10px;}
.medicine-page .pc-rate .rl{font-size:14px;font-weight:700;margin-bottom:2px;display:flex;justify-content:space-between;}
.medicine-page .pc-rate .rv{font-size:14px;color:var(--med-ink);}
.medicine-page .pc-rate .rl .q{font-weight:400;}

/* ============================= RESPONSIVE ============================= */
@media (max-width:1100px){
  .medicine-page{--med-radius:22px;}
  .medicine-page .display-title{font-size:40px;}
  .medicine-page .display-title .scr{font-size:50px;}
  .medicine-page .med-hero h1{font-size:29px;}
}

@media (max-width:900px){
  .medicine-page .hero-card{
    padding: 0;
    min-height: 0;
    background: linear-gradient(160deg, #efe9fa 0%, #f3ecfb 100%);
  }

  /* десктопный фон-фото и вуаль выключаем */
  .medicine-page .hero-bg{ display: none; }
  .medicine-page .hero-card::after{ display: none; }

  /* контент — колонка; картинку поднимаем наверх через order */
  .medicine-page .hero-content{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: none;
    padding: 22px 22px 26px;
  }

  /* мобильная картинка — наверх, во всю ширину карточки.
     БЕЗ резки файла: object-fit cover + object-position:100%
     показывает только правую часть исходной hero-desktop.jpg */
  .medicine-page .hero-mobile-img,
  .medicine-page .hero-mobile-ing{
    display: block;
    position: static;
    right: auto;
    bottom: auto;
    order: -1;
    width: calc(100% + 44px);
    max-width: none;
    margin: -22px -22px 22px;
    aspect-ratio: 70 / 57;     /* регулирует высоту/сколько видно */
    height: auto;
    object-fit: cover;
    object-position: 100% 50%; /* 100% = прижать к правому краю */
  }

  /* цены компактнее */
  .medicine-page .hero-stats{ gap: 18px; margin-bottom: 22px; }
  .medicine-page .hero-stat .lbl{ font-size: 12.5px; }
  .medicine-page .hero-stat .val{ font-size: 21px; }
  .medicine-page .hero-stat.divide{ padding-left: 18px; }

  .medicine-page .med-hero h1{ font-size: 25px; line-height: 1.22; margin-bottom: 12px; }
  .medicine-page .hero-lead{ font-size: 15px; max-width: none; margin-bottom: 22px; }

  /* кнопка — на всю ширину */
  .medicine-page .hero-actions{ flex-direction: column; align-items: stretch; gap: 14px; }
  .medicine-page .hero-actions .btn{ width: 100%; justify-content: center; padding: 16px 22px; }

  .medicine-page .hero-note{ max-width: none; margin-top: 14px; text-align: center; }

  .medicine-page .features{grid-template-columns:1fr;gap:14px;}
  .medicine-page .feature{padding:22px 24px;min-height:0;}

  .medicine-page .section{padding:46px 0;}
  .medicine-page .display-title{font-size:30px;}
  .medicine-page .display-title .scr{font-size:38px;}
  .medicine-page .h-mid{font-size:26px;}
  .medicine-page .h-mid .scr{font-size:34px;}
  .medicine-page .stress-title .scr,.medicine-page .standards-title .scr{font-size:40px;}

  .medicine-page .stress-grid{grid-template-columns:1fr;}
  .medicine-page .yellow-card{grid-template-columns:1fr;gap:34px;padding:34px 26px;}
  .medicine-page .compliance{grid-template-columns:1fr;gap:36px;padding:34px 26px;}

  .medicine-page .benefit-row.img-left,.medicine-page .benefit-row.img-right{grid-template-columns:1fr;}
  .medicine-page .benefit-row.img-right .benefit-media{order:-1;}
  .medicine-page .benefit-text{padding:6px 8px 14px;}

  .medicine-page .cc-card{grid-template-columns:1fr;}
  .medicine-page .cc-poster h3{font-size:30px;}
  .medicine-page .cc-info{padding:30px 26px;}

  .medicine-page .curation-card{padding:30px 24px;}
  .medicine-page .curation-card > p{font-size:17px;}
  .medicine-page .curation-feats{grid-template-columns:1fr 1fr;gap:22px;}
  .medicine-page .curation-sub{font-size:16px;}

  .medicine-page .quad{grid-template-columns:1fr;}
  .medicine-page .qcard{min-height:0;padding:32px 26px;}

  .medicine-page .testi-grid{grid-template-columns:1fr 1fr;}

  .medicine-page .program-grid{grid-template-columns:1fr;gap:30px;}
  .medicine-page .price-col{position:static;}

  .medicine-page .car-btn{width:42px;height:42px;}
}

/* ============================= INSTAGRAM CTA ============================= */
.medicine-page .ig-cta{
  display:flex;align-items:center;gap:28px;
  padding:34px 40px;border-radius:var(--med-radius);
  background:linear-gradient(95deg,#7019ec 0%,#a52fd6 45%,#fd5b4e 80%,#ffb13d 100%);
  color:#fff;text-decoration:none;box-shadow:var(--med-shadow);
  transition:transform .18s ease,box-shadow .18s ease;
}
.medicine-page .ig-cta:hover{transform:translateY(-3px);box-shadow:0 26px 60px -26px rgba(120,40,150,.55);}
.medicine-page .ig-cta__icon{
  flex:0 0 auto;width:72px;height:72px;border-radius:22px;
  display:grid;place-items:center;font-size:38px;color:#fff;
  background:rgba(255,255,255,.18);backdrop-filter:blur(2px);
}
.medicine-page .ig-cta__body{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-width:0;}
.medicine-page .ig-cta__title{font-size:clamp(20px,2.4vw,27px);font-weight:800;line-height:1.2;}
.medicine-page .ig-cta__text{font-size:clamp(14px,1.6vw,16px);opacity:.92;line-height:1.4;}
.medicine-page .ig-cta__btn{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;
  padding:15px 28px;border-radius:999px;background:#fff;color:#a52fd6;
  font-weight:800;font-size:16px;white-space:nowrap;
  transition:transform .15s ease;
}
.medicine-page .ig-cta:hover .ig-cta__btn{transform:scale(1.04);}
@media (max-width:760px){
  .medicine-page .ig-cta{flex-direction:column;text-align:center;gap:18px;padding:30px 22px;}
  .medicine-page .ig-cta__btn{width:100%;justify-content:center;}

  /* На телефоне кадрируем диплом «теснее» (как обрезка ~24% слева),
     чтобы дипломы были крупнее и не было пустоты. Чистый CSS-кроп —
     исходный файл не пересохраняется, качество не теряется. На ПК — без изменений. */
  .medicine-page .carousel-track .slide img{
    aspect-ratio: 862 / 388;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 100% 50%;
  }
}

@media (max-width:560px){
  .medicine-page .container-wide{padding:0 16px;}
  .medicine-page .hero-stats{flex-direction:row;gap:16px;}
  .medicine-page .hero-stat{min-width:0;}
  .medicine-page .hero-stat .lbl{font-size:11.5px;}
  .medicine-page .hero-stat .val{font-size:clamp(15px,4.6vw,21px);white-space:normal;}
  .medicine-page .hero-stat.divide{border-left:1px solid #d9d2ec;border-top:none;padding-left:16px;padding-top:0;}
  .medicine-page .hero-actions{flex-direction:column;align-items:stretch;}
  .medicine-page .testi-grid{grid-template-columns:1fr 1fr;gap:14px;}
  .medicine-page .curation-feats{grid-template-columns:1fr;}
  .medicine-page .display-title{font-size:26px;}
  .medicine-page .display-title .scr{font-size:32px;}
}
