

/* Start:/bitrix/templates/heart_clinic/articles.css?179162737112151*/
/* Статьи и каталоги разделов (заболевания, диагностика, лечение) — стили в системе шаблона heart_clinic.
   Используются переменные и приёмы из template_styles.css: --navy, --azure-*, --orange-*, --line, --paper,
   --radius-*, --shadow-soft, контейнер .container и кнопка .btn-primary.
   Шрифты (Inter для текста, Manrope для заголовков) задаёт шаблон — здесь они не переопределяются. */

.article-body { padding:12px 0 72px; color:var(--navy,#1E293B); }

/* ---------- Заголовок ---------- */
.article-body .article-title { font-size:34px; font-weight:800; line-height:1.15; margin:8px 0 28px; }

/* ---------- Две колонки: текст + оглавление (как .stat-wrap / .urgent-inner на главной) ---------- */
.article-body .article-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:48px; align-items:start; }
.article-body .article-main { grid-column:1; grid-row:1; min-width:0; }
.article-body .article-aside { grid-column:2; grid-row:1; position:sticky; top:88px; }

/* ---------- Текст статьи ---------- */
.article-body .article-main > p,
.article-body .article-main > ul,
.article-body .article-main > ol { font-size:16px; line-height:1.7; color:#334155; margin:0 0 16px; }
.article-body .article-main h2 { font-size:26px; font-weight:800; line-height:1.25; margin:48px 0 16px; color:var(--navy,#1E293B); }
.article-body .article-main h3 { font-size:19px; font-weight:700; line-height:1.3; margin:28px 0 10px; }
.article-body .article-main strong { color:var(--navy,#1E293B); }
.article-body .article-main ul,
.article-body .article-main ol { padding-left:22px; }
.article-body .article-main li { margin:6px 0; }
.article-body .article-main ul li::marker { color:var(--azure-1,#1E88E5); }
.article-body .article-main ol li::marker { color:var(--azure-2,#0288D1); font-weight:700; }

/* Ссылки в тексте — как .legal-body a в шаблоне */
.article-body .article-main a:not(.btn-primary):not(.related-card):not(.cta-phone) {
  color:var(--azure-1,#1E88E5); text-decoration:underline;
  text-decoration-color:rgba(30,136,229,.3); text-underline-offset:2px; transition:color .2s, text-decoration-color .2s; }
.article-body .article-main a:not(.btn-primary):not(.related-card):not(.cta-phone):hover { color:#0F6FBF; text-decoration-color:#0F6FBF; }

/* ---------- Плашка медицинского редактора ---------- */
.article-body .article-meta { display:flex; gap:14px; align-items:center; background:#fff;
  border:1px solid var(--line,#E2E8F0); border-radius:var(--radius-md,16px); padding:16px 20px; margin:0 0 32px;
  font-size:13.5px; line-height:1.55; color:var(--text-dim,#64748B); }
.article-body .article-meta-icon { width:44px; height:44px; flex-shrink:0; border-radius:12px; color:#fff;
  background:linear-gradient(135deg,var(--azure-1,#1E88E5),var(--azure-2,#0288D1));
  display:flex; align-items:center; justify-content:center; box-shadow:0 8px 18px -6px rgba(2,136,209,.5); }

/* Плашка скрыта, пока врач-редактор не проверит тексты. Чтобы показать — удалите следующую строку. */
.article-body .article-meta { display:none; }

/* ---------- Оглавление и запись в боковой колонке ---------- */
.article-body .article-toc { background:#fff; border:1px solid var(--line,#E2E8F0); border-radius:var(--radius-md,16px);
  padding:20px 22px; box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18)); }
.article-body .article-toc-title { font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; margin-bottom:10px; }
.article-body .article-toc ol { margin:0; padding-left:18px; font-size:13.5px; line-height:1.45; }
.article-body .article-toc li { margin:8px 0; color:var(--text-dim,#64748B); }
.article-body .article-toc a { color:var(--navy,#1E293B); font-weight:600; transition:color .2s; }
.article-body .article-toc a:hover { color:var(--orange-1,#E67328); }

.article-body .aside-cta { margin-top:18px; background:#fff; border:1px solid var(--line,#E2E8F0);
  border-radius:var(--radius-md,16px); padding:20px 22px; text-align:center; box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18)); }
.article-body .aside-cta-title { font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; margin-bottom:6px; }
.article-body .aside-cta-phone { display:block; font-weight:800; font-size:18px; color:var(--azure-1,#1E88E5); margin-bottom:14px; }
.article-body .aside-cta .btn-primary { width:100%; justify-content:center; padding:14px 20px; font-size:15px; }

/* ---------- Таблицы ---------- */
.article-body .table-wrap { overflow-x:auto; margin:20px 0 28px; background:#fff; border:1px solid var(--line,#E2E8F0);
  border-radius:var(--radius-md,16px); box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18)); }
.article-body .table-wrap table { width:100%; border-collapse:collapse; font-size:14.5px; line-height:1.55; min-width:520px; }
.article-body .table-wrap th { background:var(--paper-2,#EEF2F6); color:var(--navy,#1E293B); text-align:left; font-weight:700;
  padding:13px 16px; border-bottom:1px solid var(--line,#E2E8F0); }
.article-body .table-wrap td { padding:12px 16px; border-bottom:1px solid #F1F5F9; vertical-align:top; color:#334155; }
.article-body .table-wrap tr:last-child td { border-bottom:0; }
.article-body .table-wrap td:first-child { font-weight:600; color:var(--navy,#1E293B); }

/* ---------- Плашки ---------- */
/* Заметка — в стиле голубых тегов .flag-tag */
.article-body .note-box { background:rgba(30,136,229,.06); border:1px solid rgba(30,136,229,.22);
  border-radius:var(--radius-md,16px); padding:18px 22px; margin:24px 0; font-size:15.5px; line-height:1.65; }
/* Важно — в стиле карточек симптомов .symptom-card на главной */
.article-body .note-alert { background:#fff; border:1px solid var(--line,#E2E8F0); border-left:4px solid var(--orange-2,#F28D35);
  border-radius:12px; padding:18px 22px; margin:24px 0; font-size:15.5px; line-height:1.65;
  box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18)); }
.article-body .note-alert strong:first-child { color:var(--orange-1,#E67328); }
.article-body .note-box p, .article-body .note-alert p { margin:0; }
.article-body .note-box p + p, .article-body .note-alert p + p { margin-top:8px; }

/* ---------- Вопросы пациентов (<details>, без JavaScript) ---------- */
.article-body .ibs-faq { margin-top:48px; }
.article-body .ibs-faq-item { background:#fff; border:1px solid var(--line,#E2E8F0); border-radius:var(--radius-md,16px);
  margin:10px 0; overflow:hidden; transition:box-shadow .2s; }
.article-body .ibs-faq-item[open] { box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18)); }
.article-body .ibs-faq-q { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  gap:12px; padding:17px 20px; font-family:'Manrope',sans-serif; font-weight:700; font-size:16px; color:var(--navy,#1E293B); }
.article-body .ibs-faq-q::-webkit-details-marker { display:none; }
.article-body .ibs-faq-q svg { flex-shrink:0; transition:transform .2s; color:var(--azure-1,#1E88E5); }
.article-body .ibs-faq-item[open] .ibs-faq-q svg { transform:rotate(180deg); }
.article-body .ibs-faq-q:hover { color:var(--orange-1,#E67328); }
.article-body .ibs-faq-a { padding:0 20px 18px; font-size:15px; line-height:1.65; color:#475569; }
.article-body .ibs-faq-a p { margin:0; }
.article-body .ibs-faq-a p + p { margin-top:8px; }

/* ---------- Блок записи ---------- */
.article-body .cta-box { display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between;
  background:linear-gradient(180deg,#F0F9FA 0%,#FFFFFF 100%); border:1px solid var(--line,#E2E8F0);
  border-radius:var(--radius-lg,22px); padding:26px 30px; margin:48px 0 36px; box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18)); }
.article-body .cta-text { flex:1 1 280px; font-size:15px; line-height:1.55; color:var(--text-dim,#64748B); }
.article-body .cta-text strong { display:block; font-family:'Manrope',sans-serif; font-size:19px; font-weight:800; color:var(--navy,#1E293B); margin-bottom:4px; }
.article-body .cta-actions { display:flex; gap:18px; align-items:center; flex-wrap:wrap; }
.article-body .cta-phone { font-weight:800; font-size:18px; color:var(--navy,#1E293B); white-space:nowrap; }

/* ---------- Читайте также — в стиле карточек .flag-card ---------- */
.article-body .related-links { margin:36px 0; }
.article-body .related-head { font-family:'Manrope',sans-serif; font-weight:800; font-size:22px; margin-bottom:16px; }
.article-body .related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.article-body .related-card { display:flex; flex-direction:column; gap:6px; background:#fff; border:1px solid var(--line,#E2E8F0);
  border-radius:var(--radius-md,16px); padding:18px 20px; box-shadow:var(--shadow-soft,0 12px 32px -12px rgba(30,41,59,.18));
  transition:transform .2s ease; }
.article-body .related-card:hover { transform:translateY(-4px); }
.article-body .related-title { font-family:'Manrope',sans-serif; font-weight:800; font-size:15.5px; line-height:1.3; color:var(--navy,#1E293B); }
.article-body .related-card:hover .related-title { color:var(--orange-1,#E67328); }
.article-body .related-text { font-size:13.5px; color:var(--text-dim,#64748B); line-height:1.5; }

/* ---------- Источники ---------- */
.article-body .sources-box { margin-top:36px; padding:20px 24px; background:var(--paper-2,#EEF2F6);
  border-radius:var(--radius-md,16px); font-size:12.5px; line-height:1.6; color:var(--text-dim,#64748B); }
.article-body .sources-box > strong { color:var(--navy,#1E293B); font-size:13.5px; }
.article-body .sources-box ol { margin:8px 0 12px; padding-left:20px; }
.article-body .sources-box .disclaimer { font-style:italic; margin:0; }

/* ---------- Отметки для редактора: до публикации их не должно остаться ---------- */
.article-body mark.todo { background:#FEF08A; color:#713F12; padding:0 3px; border-radius:3px; font-size:.92em; }

/* ---------- Адаптив (те же точки, что в шаблоне) ---------- */
@media (max-width:980px){
  .article-body .article-layout { grid-template-columns:minmax(0,1fr); gap:0; }
  .article-body .article-aside { grid-column:1; grid-row:auto; position:static; margin-bottom:28px; }
  .article-body .article-main { grid-row:auto; }
  .article-body .aside-cta { display:none; }
}
@media (max-width:768px){
  .article-body .article-title { font-size:28px; }
  .article-body .article-main h2 { font-size:22px; margin-top:40px; }
  .article-body .cta-box { padding:22px; }
  .article-body .cta-actions .btn-primary { width:100%; justify-content:center; }
}

/* ---------- Страницы-каталоги: /zabolevaniya/, /diagnostika/, /lechenie/ ---------- */
.article-body .catalog-lead { font-size:16px; line-height:1.7; color:#334155; max-width:820px; margin:0 0 28px; }
.article-body .catalog-group { margin:0 0 40px; }
.article-body .catalog-group-title { font-family:'Manrope',sans-serif; font-weight:800; font-size:22px; margin:0 0 16px; }
.article-body .catalog-note { font-size:14px; color:var(--text-dim,#64748B); margin:28px 0 0; }
.article-body .article-main > p.table-note { font-size:13.5px; line-height:1.6; color:var(--text-dim,#64748B); margin:-12px 0 24px; }
.article-body .article-main .article-figure { margin: 24px 0 28px; }
.article-body .article-main .article-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.article-body .article-main .article-figure figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--text-dim, #64748B); }

/* End */


/* Start:/bitrix/templates/heart_clinic/template_styles.css?179075821124187*/
:root{
  --orange-1:#E67328;
  --orange-2:#F28D35;
  --azure-1:#1E88E5;
  --azure-2:#0288D1;
  --navy:#1E293B;
  --navy-2:#1B4653;
  --paper:#F8FAFC;
  --paper-2:#EEF2F6;
  --line:#E2E8F0;
  --text-dim:#64748B;
  --radius-lg:22px;
  --radius-md:16px;
  --radius-sm:10px;
  --shadow-soft:0 12px 32px -12px rgba(30,41,59,.18);
  --shadow-strong:0 24px 60px -20px rgba(16,24,39,.35);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  padding:0;
  font-family:'Inter',sans-serif;
  color:var(--navy);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Manrope',sans-serif;margin:0;letter-spacing:-0.02em;}
.mono{font-family:'JetBrains Mono',monospace;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{max-width:1240px;margin:0 auto;padding:0 24px;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
:focus-visible{outline:3px solid var(--azure-1);outline-offset:2px;}

.hero{
  position:relative;
  min-height:680px;
  display:flex;
  flex-direction:column;
  background-color: #E2E8F0 !important;
  color:#fff;
}
.hero-photo{position:absolute;inset:0;overflow:hidden;z-index:0;}
.hero-photo img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center bottom;
  display:block;
}
.hero-photo::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg, 
    rgba(15, 23, 42, 0.45) 0%, 
    rgba(15, 23, 42, 0.20) 45%, 
    transparent 75%);
}
.hero > *:not(.hero-photo){position:relative;z-index:1;}

.desktop-header-row{display:block;}
.top-header{padding:22px 0 16px;}
.top-header .container{
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
}
.top-header .header-actions{
  margin-left:auto;
}
.top-header .brand{
  margin-left:-80px;
}

@media (max-width:1400px){
  .top-header .brand{
    margin-left:0;
  }
}
.brand{display:flex;align-items:center;gap:12px;}
.brand-mark{
  width:52px;height:52px;border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.3);
}
.brand-text{display:flex;flex-direction:column;justify-content:center;gap:3px;}
.brand-word{font-family:'Manrope',sans-serif;font-size:19px;font-weight:900;letter-spacing:.01em;line-height:1;}
.brand-word .b1{color:#17B7C4;}
.brand-word .b2{color:#E1352B;}
.brand-tagline{font-family:'Manrope',sans-serif;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.85);line-height:1;}

.search-pill{
  display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-radius:999px;padding:12px 22px;
  flex:1;max-width:520px;min-width:200px;
  color:#fff;font-size:14px;
}
.search-pill input{background:transparent;border:none;outline:none;color:#fff;font-size:14px;width:100%;font-family:'Inter',sans-serif;}
.search-pill input::placeholder{color:rgba(255,255,255,.85);}

.header-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;}
.phone-block{display:flex;flex-direction:column;line-height:1.25;}
.phone-block a{font-weight:800;font-size:18px;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.4);}
.phone-block-address{
  font-size:11.5px;
  font-weight:500;
  color:rgba(255,255,255,.85);
  text-shadow:0 1px 4px rgba(0,0,0,.4);
  white-space:nowrap;
  margin-top:2px;
}

.hero--compact .phone-block-address{
  color:var(--text-dim) !important;
  text-shadow:none !important;
}

@media (max-width:1280px){
  .phone-block-city{display:none;}
}
.btn-cabinet{
  background:#fff;color:var(--navy);
  padding:12px 24px;border-radius:999px;
  font-weight:700;font-size:14.5px;
  display:flex;align-items:center;gap:8px;
  box-shadow:0 8px 20px -6px rgba(0,0,0,.35);
  transition:transform .18s ease;
}
.btn-cabinet:hover{transform:translateY(-2px);}

.mobile-header-row{display:none;}
.icon-btn{display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;}

@media (max-width:768px){
  .mobile-icons{
    gap:20px !important;
  }
}

.hero-body{flex:1;display:flex;align-items:flex-end;justify-content:flex-start;padding:40px 0 60px;}
.hero-body .container{width:100%;margin:0;text-align:left;}
.hero-content{max-width:640px;margin:0 0 0 40px;text-align:left;}
.hero-title{
  font-size:44px;font-weight:900;line-height:1.15;
  margin-bottom:16px;text-align:left;
  text-shadow:0 4px 18px rgba(0,0,0,.75);
}
.hero-sub{
  font-size:16px;color:#E2E8F0;line-height:1.6;max-width:560px;
  margin:0 0 26px;text-align:left;
  text-shadow:0 2px 10px rgba(0,0,0,.75);
}
.hero-cta-row{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:flex-start;}
.btn-primary{
  background:linear-gradient(135deg,var(--orange-2),var(--orange-1));
  color:#fff;font-weight:700;font-size:16px;
  padding:18px 34px;border-radius:14px;
  box-shadow:0 16px 34px -10px rgba(230,115,40,.6);
  transition:transform .18s ease;
  display:inline-flex;align-items:center;gap:10px;
}
.btn-primary:hover{transform:translateY(-3px);}

.services-block{
  position:relative;z-index:5;padding:80px 0 70px;background:#fff;
}
.services-title{font-size:34px;font-weight:900;margin-bottom:32px;color:var(--navy);}
.category-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:44px;}
.category-chip{
  background:#fff;border:1.5px solid var(--line);color:var(--text-dim);
  font-weight:700;font-size:14px;padding:11px 22px;border-radius:999px;
  transition:all .2s ease;
}
.category-chip.active{background:var(--navy);border-color:var(--navy);color:#fff;}
.category-chip.accent-orange{
  background:linear-gradient(135deg, #F28D35, #E67328) !important;
  border-color:#E67328 !important;color:#fff !important;font-weight:800 !important;
}
.services-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:40px;margin-bottom:50px;
}
.services-col{display:flex;flex-direction:column;gap:20px;}
.services-col a{
  font-size:15px;font-weight:600;color:var(--navy);line-height:1.55;
  position:relative;padding-left:14px;transition:color .2s ease;
}
.services-col a::before{
  content:"";position:absolute;left:0;top:9px;width:5px;height:5px;
  border-radius:50%;background:#CBD5E1;
}
.services-col a:hover{color:var(--orange-1);}
.services-col a:hover::before{background:var(--orange-1);}
.services-cta-row{display:flex;justify-content:center;}

section{padding:88px 0;}
.section-head{max-width:640px;margin-bottom:48px;}
.section-kicker{
  display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;color:var(--orange-1);margin-bottom:14px;
}
.section-kicker.blue{color:var(--azure-2);}
.section-title{font-size:34px;font-weight:800;line-height:1.15;margin-bottom:14px;}
.section-desc{color:var(--text-dim);font-size:15.5px;line-height:1.65;}

.flagship{background:linear-gradient(180deg, #F0F9FA 0%, #FFFFFF 100%);color:var(--navy);position:relative;overflow:hidden;}
.flagship::before{
  content:"";position:absolute;top:-120px;right:-120px;width:420px;height:420px;
  background:radial-gradient(circle,rgba(30,136,229,.10),transparent 70%);
}
.flagship .section-kicker{color:var(--azure-2);}
.flagship .section-desc{color:var(--text-dim);}
.flag-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative;z-index:2;}
.flag-card{
  background:#FFFFFF;border:1px solid var(--line);
  border-radius:var(--radius-lg);overflow:hidden;
  display:flex;flex-direction:column;
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease;
}
.flag-card:hover{transform:translateY(-6px);}
.flag-photo{
  width:100%;height:180px;position:relative;overflow:hidden;background:var(--paper-2);
}
.flag-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.flag-body{padding:26px 26px 30px;display:flex;flex-direction:column;gap:16px;flex:1;}
.flag-icon{
  width:44px;height:44px;border-radius:12px;
  background:linear-gradient(135deg,var(--azure-1),var(--azure-2));
  display:flex;align-items:center;justify-content:center;
  margin-top:-48px;
  position:relative;z-index:2;
  box-shadow:0 8px 18px -6px rgba(2,136,209,.5);
}
.flag-title{font-size:19px;font-weight:800;line-height:1.3;color:var(--navy);}
.flag-text{font-size:14.5px;color:var(--text-dim);line-height:1.6;}
.flag-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px;}
.flag-tag{
  font-size:11.5px;font-weight:600;background:rgba(30,136,229,.08);
  color:var(--azure-2);border:1px solid rgba(30,136,229,.25);padding:4px 10px;border-radius:999px;
}

.checkup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.checkup-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:32px 28px;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;
  transition:transform .2s ease;
}
.checkup-card:hover{transform:translateY(-5px);}
.checkup-card.featured{border:2px solid var(--orange-2);position:relative;}
.featured-tag{
  position:absolute;top:-13px;left:28px;background:var(--orange-2);
  color:#fff;font-size:11.5px;font-weight:700;padding:5px 12px;border-radius:999px;
}
.checkup-label{font-size:15.5px;font-weight:700;color:var(--navy);margin-bottom:6px;}
.checkup-duration{font-size:13px;color:var(--text-dim);margin-bottom:22px;}
.checkup-price{font-family:'JetBrains Mono',monospace;font-size:32px;font-weight:700;color:var(--navy);margin-bottom:20px;}
.checkup-price span{font-size:15px;color:var(--text-dim);font-weight:500;}
.checkup-list{list-style:none;padding:0;margin:0 0 26px;display:flex;flex-direction:column;gap:10px;}
.checkup-list li{font-size:13.5px;color:#475569;display:flex;align-items:flex-start;gap:9px;line-height:1.5;}
.checkup-list li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--azure-1);margin-top:6px;flex-shrink:0;}
.btn-outline-nav{
  margin-top:auto;border:1.5px solid var(--navy);color:var(--navy);
  padding:12px 20px;border-radius:12px;font-weight:700;font-size:14px;text-align:center;
  transition:all .18s ease;
}
.btn-outline-nav:hover{background:var(--navy);color:#fff;}

.stat-wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start;}
.ward-slider{display:flex;flex-direction:column;background:none;overflow:visible;}
.ward-photo{
  position:relative;aspect-ratio:4/3;border-radius:var(--radius-lg);
  overflow:hidden;background:linear-gradient(135deg,#26344A,var(--navy));
  box-shadow:var(--shadow-strong);
}
.ward-slides{position:absolute;top:0;left:0;right:0;bottom:0;}
.ward-slide{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;visibility:hidden;transition:opacity .5s ease;}
.ward-slide.is-active{opacity:1;visibility:visible;}
.ward-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.ward-arrow{
  position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;
  background:rgba(15,23,42,.6);border:1px solid rgba(255,255,255,.28);
  display:flex;align-items:center;justify-content:center;z-index:2;cursor:pointer;
}
.ward-arrow:hover{background:rgba(230,115,40,.9);}
.ward-arrow--prev{left:12px;}
.ward-arrow--next{right:12px;}
.ward-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:2;}
.ward-dot{
  width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);
  border:none;padding:0;cursor:pointer;
}
.ward-dot.is-active{background:#F28D35;transform:scale(1.4);}
.ward-slider .room-badge{
  position: static;
  margin-top: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.04);
}
.room-badge b{
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #1E293B;
}
.room-badge span{
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.45;
}
.stat-features{display:flex;flex-direction:column;gap:22px;}
.stat-feature{display:flex;gap:16px;align-items:flex-start;}
.stat-icon-sm{
  width:44px;height:44px;border-radius:12px;flex-shrink:0;background:rgba(30,136,229,.12);
  display:flex;align-items:center;justify-content:center;
}
.stat-feature h4{font-size:16.5px;font-weight:700;margin-bottom:5px;}
.stat-feature p{font-size:14px;color:var(--text-dim);line-height:1.55;margin:0;}

.doctors-scroller{
  display:flex;gap:22px;overflow-x:auto;padding-bottom:12px;
  cursor:grab;touch-action:pan-y;
}
.doctors-scroller.is-dragging{cursor:grabbing;}
.doc-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;
  flex:0 0 310px;scroll-snap-align:start;transition:transform .2s ease;
  user-select:none;-webkit-user-drag:none;
}
.doc-card:hover{transform:translateY(-5px);}
.doc-photo{display:block;width:100%;aspect-ratio:4/5;background:#CBD5E1;position:relative;overflow:hidden;}
.doc-photo img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;pointer-events:none;}
.doc-badge{position:absolute;top:12px;left:12px;background:var(--azure-1);color:#fff;font-size:10.5px;font-weight:700;padding:4px 9px;border-radius:999px;}
.doc-info{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1;}
.doc-name{font-size:15.5px;font-weight:800;color:var(--navy);line-height:1.25;min-height:38px;}
.doc-role{font-size:12.5px;color:var(--orange-1);font-weight:600;margin:4px 0 6px;min-height:32px;}
.doc-cred{font-size:12.5px;color:var(--text-dim);line-height:1.5;margin-bottom:16px;flex-grow:1;}
.btn-mini-book{margin-top:auto;background:var(--paper-2);color:var(--navy);font-size:13px;font-weight:700;padding:10px 14px;border-radius:10px;text-align:center;}
.btn-mini-book:hover{background:var(--orange-2);color:#fff;}

.urgent{background:#F8FAFC;color:var(--navy);position:relative;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.urgent-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center;}
.urgent-left{position:sticky;top:20px;}
.urgent-badge{
  display:inline-flex;align-items:center;gap:8px;background:rgba(230,115,40,.1);
  border:1px solid rgba(230,115,40,.3);color:var(--orange-1);padding:7px 14px;border-radius:999px;
  font-size:12px;font-weight:700;text-transform:uppercase;margin-bottom:18px;
}
.urgent-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.symptom-card{
  background:#FFFFFF;border:1px solid var(--line);
  border-left:3px solid var(--orange-2);border-radius:12px;padding:16px 18px;
  font-size:14px;line-height:1.5;color:var(--text-dim);
  box-shadow:var(--shadow-soft);
}
.symptom-card b{display:block;font-size:14.5px;margin-bottom:4px;color:var(--navy);}
.urgent-cta{
  margin-top:28px;background:var(--azure-1);color:#fff;padding:14px 26px;border-radius:12px;
  font-weight:700;font-size:14.5px;display:inline-flex;align-items:center;gap:10px;
  box-shadow:0 8px 20px -6px rgba(30,136,229,.5);
}

footer{background:var(--navy-2);color:#94A3B8;padding-top:64px;}
.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1.1fr;gap:32px;padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-brand p{font-size:13.5px;line-height:1.6;margin:14px 0 20px;color:#B4C2CE;}
.footer-col h5{color:#fff;font-size:14px;font-weight:700;margin-bottom:16px;}
.footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:11px;}
.footer-col a{font-size:13.5px;color:#B4C2CE;}
.footer-col a:hover{color:#fff;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:26px 0;font-size:12px;color:#B4C2CE;}
.legal-line{font-size:11.5px;color:#B4C2CE;line-height:1.6;padding:20px 0;border-top:1px solid rgba(255,255,255,.06);}

.sticky-bar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff !important;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-110%);
  transition: transform .3s ease;
}
.sticky-bar.is-visible{
  transform: translateY(0) !important;
}
.sticky-bar .hamburger-btn {
  background: transparent;
  border: none;
  padding: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sticky-bar .hamburger-btn svg {
  stroke: #1E88E5 !important;
}
.sticky-bar .sticky-phone{
  color: #1E88E5 !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.sticky-bar .sticky-cta{
  background: linear-gradient(135deg, #F28D35, #E67328) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(230, 115, 40, 0.3);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: #FFFFFF;
  color: #1E293B;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 24px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav-drawer.is-open,
.mobile-nav-drawer.is-active {
  right: 0 !important;
}

.mobile-nav-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.mobile-nav-drawer__head button {
  color: #64748B !important;
}
.mobile-nav-drawer__head button svg {
  stroke: #64748B !important;
}

.mobile-nav-drawer__body a {
  color: #1E293B !important;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.2s;
}
.mobile-nav-drawer__body a:hover {
  color: #1E88E5 !important;
}

.mobile-nav-drawer__body li {
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  z-index: 9998;
  display: none;
}
.mobile-nav-overlay.is-open,
.mobile-nav-overlay.is-active {
  display: block !important;
}

.mobile-nav-drawer__cta {
  margin-top: auto;
  text-align: center;
  display: block;
  background: #f37021;
  color: #fff !important;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.pc-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transform: translateY(-110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.pc-sticky-header.is-visible {
  transform: translateY(0);
}

.pc-sticky-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.pc-sticky-nav a {
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}
.pc-sticky-nav a:hover {
  color: #E67328;
}

.hero--compact {
  min-height: auto !important;
  background: #ffffff !important;
}
.hero--compact .phone-block a { color: #1E293B !important; }
.hero--compact .btn-cabinet { 
  background: #1E88E5 !important; 
  color: #ffffff !important; 
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35) !important; 
}

.hero--compact .search-pill {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
}
.hero--compact .search-pill input { color: #1E293B !important; }
.hero--compact .search-pill input::placeholder { color: #64748B !important; }

@media (max-width: 900px) {
  .pc-sticky-header { display: none !important; }
}

@media (max-width:980px){
  .flag-grid{grid-template-columns:1fr;}
  .checkup-grid{grid-template-columns:1fr;}
  .stat-wrap{grid-template-columns:1fr;gap:24px;}
  .stat-wrap > div:last-child{order:-1;}
  .services-grid{grid-template-columns:1fr 1fr;}
  .footer-top{grid-template-columns:1fr 1fr;}
}

@media (max-width:768px){
    .hero-sub { display: none !important; }
  .desktop-header-row{display:none !important;}
  .mobile-header-row{display:block !important;}
  
  .brand-mark { width: 48px !important; height: 48px !important; }
  .brand-word { font-size: 18.5px !important; font-weight: 900 !important; white-space: nowrap !important; }
  .mobile-icons { gap: 12px !important; }

  .mobile-top-line .brand-word span {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
  }

  .sticky-bar{display:flex !important;}
  .hero--compact{
  min-height: auto !important;
  background: #ffffff !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
  .hero-body{padding:20px 0 40px !important;}
  .hero-content{margin:0 !important;max-width:100% !important;}
  .hero-title{font-size:30px !important;}
  .hero-sub{font-size:14px !important;}
  .btn-primary{width:100% !important;justify-content:center !important;}
  .services-grid{grid-template-columns:1fr !important;}
  .urgent-inner{grid-template-columns:1fr !important;}
  .urgent-grid{grid-template-columns:1fr !important;}
  .footer-top{grid-template-columns:1fr !important;}
  .doctors-scroller{
  touch-action: pan-x pan-y !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-x: contain !important;
}
  .doc-card{flex:0 0 260px !important;}
}
  
.hero--compact {
  min-height: auto !important;
  background: #ffffff !important;
  border-bottom: 1px solid #E2E8F0 !important;
}
.hero--compact .phone-block a { color: #1E293B !important; }
.hero--compact .btn-cabinet { 
  background: #1E88E5 !important; 
  color: #ffffff !important; 
  box-shadow: 0 4px 14px rgba(30, 136, 229, 0.35) !important; 
}
.hero--compact .search-pill {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
}
.hero--compact .search-pill input { color: #1E293B !important; }
.hero--compact .search-pill input::placeholder { color: #64748B !important; }

@media (max-width: 768px) {
  .hero--compact .mobile-icons { display: flex !important; gap: 14px !important; }
  .hero--compact .mobile-icons a, .hero--compact .mobile-icons button { color: #1E88E5 !important; }
  .hero--compact .brand-word span:first-child { color: #17B7C4 !important; text-shadow: none !important; }
  .hero--compact .brand-word span:last-child { color: #E1352B !important; text-shadow: none !important; }
  .hero--compact .mobile-header-row { padding-bottom: 16px !important; border-bottom: 1px solid #E2E8F0 !important; }
}

.doctors-scroller .doc-photo {
  display: block !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  overflow: hidden !important;
}
.doctors-scroller .doc-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
}
.doctors-scroller .doc-name a {
  color: inherit;
  text-decoration: none;
}
.legal-body a {
  color: #1E88E5 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(30, 136, 229, 0.3) !important;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.legal-body a:hover {
  color: #0F6FBF !important;
  text-decoration-color: #0F6FBF !important;
}
/* End */
/* /bitrix/templates/heart_clinic/articles.css?179162737112151 */
/* /bitrix/templates/heart_clinic/template_styles.css?179075821124187 */
