/* ==========================================================
   ФИТ СТАНДАРТ — корпоративная палитра fit-standard.ru
   Display: Montserrat (заголовки)
   Body: Roboto
   ========================================================== */

:root{
  --navy: #063462;
  --navy-soft: #0a4a7a;
  --bg: #F3F4F8;
  --surface: #FFFFFF;
  --ink: #1a1a1a;
  --ink-soft: #4d4b43;
  --ink-faint: #707070;
  --line: #E4E7EF;
  --primary: #FF4942;
  --primary-dark: #E03832;
  --primary-tint: #FFF0EF;
  --accent: #A9E44D;
  --accent-ink: #063462;
  --teal: #036657;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 10px rgba(6,52,98,.06);
  --shadow-md: 0 12px 32px rgba(6,52,98,.10);
  --shadow-lg: 0 24px 60px rgba(6,52,98,.16);

  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Roboto', system-ui, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  width:100%;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:'Montserrat', sans-serif; font-weight:700; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.mono{ font-family:'Roboto', sans-serif; font-weight:500; font-variant-numeric:tabular-nums; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
  border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn-primary{
  background:var(--primary);
  color:#fff;
  box-shadow:0 8px 20px rgba(255,73,66,.28);
}
.btn-primary:hover{ background:var(--primary-dark); box-shadow:0 10px 26px rgba(255,73,66,.36); }
.btn-accent{
  background:var(--accent);
  color:var(--accent-ink);
}
.btn-accent:hover{ transform:translateY(-2px); box-shadow:0 8px 24px rgba(169,228,77,.35); }
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,.28);
  color:#fff;
}
.btn-ghost:hover{ border-color:rgba(255,255,255,.6); }
.btn-outline{
  background:transparent;
  border-color:var(--line);
  color:var(--ink);
}
.btn-outline:hover{ border-color:var(--primary); color:var(--primary); }
.btn-sm{ padding:10px 18px; font-size:14px; }
.btn-block{ width:100%; }

/* ---------- header / logo ---------- */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.site-header{ position:relative; z-index:50; }
.site-header-top{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-search-bar{
  position:relative;
  z-index:49;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
}
.header-search-bar .container{
  padding-top:0;
  padding-bottom:12px;
}
.header-shell{
  display:flex;
  flex-direction:column;
  padding-top:12px;
  padding-bottom:12px;
}
.header-row-top{
  display:grid;
  grid-template-columns:auto minmax(180px, 1fr) auto;
  align-items:center;
  gap:16px 20px;
}
.header-search--desktop{
  display:none;
}
@media (min-width:768px){
  .site-header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:52;
  }
  body{
    padding-top:var(--site-header-height, 130px);
  }
  .site-header-top{
    position:relative;
    z-index:1;
  }
  .site-header-top .header-shell{
    padding-top:max(16px, env(safe-area-inset-top, 0px));
    padding-bottom:14px;
  }
  .header-row-top{
    grid-template-columns:auto minmax(220px, 1fr) auto;
    gap:16px 24px;
  }
  .header-search--desktop{
    display:flex;
    width:100%;
    max-width:380px;
    justify-self:center;
    min-width:0;
  }
  .header-search-bar{
    display:none !important;
  }
  .header-nav-desktop{
    display:block;
  }
  .header-nav-shell{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
  }
  .header-nav-shell .main-nav{
    flex:1;
    min-width:0;
  }
  .nav-toggle--mobile{
    display:none !important;
  }
  .nav-toggle--drawer{
    display:inline-flex;
    align-items:center;
    gap:8px;
    width:auto;
    height:auto;
    padding:8px 14px 8px 12px;
    border-radius:10px;
    border:1px solid rgba(255,255,255,.32);
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:14px;
    font-weight:500;
    flex-shrink:0;
    transition:background .15s ease, border-color .15s ease, color .15s ease;
  }
  .nav-toggle--drawer:hover{
    background:rgba(255,255,255,.14);
    border-color:rgba(255,255,255,.45);
    color:#fff;
  }
  .nav-toggle--drawer svg{
    width:18px;
    height:18px;
    flex-shrink:0;
  }
  .nav-toggle--drawer[aria-expanded="true"]{
    border-color:rgba(169,228,77,.55);
    background:rgba(169,228,77,.14);
    color:#fff;
  }
  .nav-backdrop{
    top:var(--site-header-height, 130px);
  }
  .mobile-nav-drawer{
    display:block;
    position:fixed;
    top:var(--site-header-height, 130px);
    right:0;
    bottom:0;
    left:auto;
    width:min(420px, 92vw);
    padding:0;
    margin:0;
    background:var(--surface);
    border-left:1px solid var(--line);
    border-top:1px solid var(--line);
    transform:translateX(100%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .26s ease, visibility .26s;
    overflow-y:auto;
    overflow-x:hidden;
    z-index:58;
    box-shadow:-16px 0 48px rgba(6,52,98,.14);
  }
  .mobile-nav-drawer.open{
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
  }
  .mobile-nav-drawer .container{
    padding:20px 24px 28px;
  }
  .mobile-nav-drawer .mobile-nav-search,
  .mobile-nav-drawer .mobile-nav-extra{
    display:none;
  }
  .mobile-nav-drawer .main-nav{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:0;
  }
  .mobile-nav-main{ padding-top:0; }
  .mobile-nav-group{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--line);
    width:100%;
  }
  .mobile-nav-toggle{
    width:100%;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin:0;
    padding:0;
    border:0;
    background:none;
    cursor:pointer;
    font-family:'Montserrat', sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--ink-faint);
    line-height:1.35;
    text-align:left;
  }
  .mobile-nav-toggle-text{ flex:1; min-width:0; }
  .mobile-nav-toggle-icon{
    flex-shrink:0;
    width:28px;
    height:28px;
    margin-top:-2px;
    border:1px solid var(--line);
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--navy);
    position:relative;
    background:var(--surface);
    transition:border-color .2s ease, color .2s ease;
  }
  .mobile-nav-toggle-icon::before,
  .mobile-nav-toggle-icon::after{
    content:'';
    position:absolute;
    background:currentColor;
    border-radius:1px;
  }
  .mobile-nav-toggle-icon::before{ width:12px; height:2px; }
  .mobile-nav-toggle-icon::after{
    width:2px;
    height:12px;
    transition:transform .2s ease, opacity .2s ease;
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-icon{
    border-color:rgba(255,73,66,.35);
    color:var(--primary);
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-icon::after{
    transform:scaleY(0);
    opacity:0;
  }
  .mobile-nav-panel[hidden]{ display:none; }
  .mobile-nav-group.is-open .mobile-nav-panel{ padding-top:4px; }
  .mobile-nav-drawer .main-nav a{
    width:100%;
    padding:12px 0;
    border-bottom:1px solid var(--line);
    font-size:15px;
    font-weight:500;
    color:var(--navy);
    white-space:normal;
  }
  .mobile-nav-sub a{
    font-size:14px;
    line-height:1.45;
    padding:11px 0;
  }
  .mobile-nav-drawer .main-nav a.active{
    color:var(--primary);
    font-weight:600;
  }
  .mobile-nav-drawer .main-nav a.active::after{ display:none; }
}
.header-row-nav{
  background:var(--navy);
  padding:0;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
  flex-shrink:0;
  min-width:0;
}
.logo .mark{
  width:50px; height:50px; border-radius:50%;
  display:block;
  flex-shrink:0;
  overflow:hidden;
  background:transparent;
  box-shadow:0 4px 14px rgba(255,73,66,.28);
}
.logo .mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.logo-name,
.logo-text{
  font-family:'Montserrat', sans-serif;
  font-weight:700;
  font-size:20px;
  line-height:1;
  letter-spacing:-.02em;
  color:var(--navy);
  white-space:nowrap;
}
.logo-desc{
  font-family:'Roboto', sans-serif;
  font-weight:500;
  font-size:13px;
  line-height:1.25;
  color:var(--ink-faint);
  white-space:nowrap;
  padding-left:16px;
  margin-left:4px;
  border-left:1px solid var(--line);
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:min(260px, 28vw);
}
.header-search{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  max-width:420px;
  min-width:0;
}
.header-search input{
  width:100%;
  padding:11px 46px 11px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--bg);
  font-family:inherit;
  font-size:14px;
  color:var(--ink);
  transition:border-color .15s, box-shadow .15s;
}
.header-search input:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(255,73,66,.12);
  background:var(--surface);
}
.header-search input::placeholder{ color:var(--ink-faint); }
.header-search button{
  position:absolute;
  right:4px;
  top:50%;
  transform:translateY(-50%);
  width:36px; height:36px;
  border:none;
  border-radius:50%;
  background:var(--primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .15s;
}
.header-search button:hover{ background:var(--primary-dark); }
.header-search button svg{ width:17px; height:17px; max-width:17px; max-height:17px; }
.header-search-results{
  position:absolute;
  top:calc(100% + 8px);
  left:0; right:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  max-height:320px;
  overflow-y:auto;
  z-index:60;
}
.header-search-results a{
  display:block;
  padding:12px 16px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  color:var(--navy);
  transition:background .12s;
}
.header-search-results a:last-child{ border-bottom:none; }
.header-search-results a:hover{ background:var(--bg); color:var(--primary); }
.header-search-results .search-empty{
  padding:16px;
  font-size:14px;
  color:var(--ink-faint);
  text-align:center;
}
.header-util{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
  justify-self:end;
}
.main-nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(18px, 2.2vw, 32px);
  padding:11px 0 13px;
  min-width:0;
}
.main-nav a{
  font-size:15px;
  font-weight:500;
  color:rgba(255,255,255,.92);
  position:relative;
  padding:6px 0;
  transition:color .15s;
  white-space:nowrap;
}
.main-nav a:hover{ color:var(--accent); }
.main-nav a.active{ color:#fff; font-weight:600; }
.main-nav a.active::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:0;
  height:2px;
  border-radius:999px;
  background:var(--accent);
}
.mobile-nav-drawer .main-nav a{
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  word-break:break-word;
}
.phone-link{
  font-family:'Roboto',sans-serif;
  font-size:14px;
  font-weight:600;
  color:var(--navy);
  display:inline-flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
  letter-spacing:.01em;
  line-height:1;
}
.phone-link svg{
  width:17px; height:17px;
  max-width:17px; max-height:17px;
  color:var(--primary);
  flex-shrink:0;
}
.phone-link span{ font-variant-numeric:tabular-nums; }
.header-util .btn-outline.btn-sm{
  padding:10px 16px;
  font-size:13px;
  border-color:var(--line);
  color:var(--navy);
  background:var(--surface);
}
.header-util .btn-primary.btn-sm{ padding:10px 18px; font-size:13px; }
.nav-toggle--drawer{ display:none; }
.nav-toggle{
  display:none;
  width:42px; height:42px; border-radius:10px; border:1px solid var(--line);
  background:var(--surface); align-items:center; justify-content:center;
  cursor:pointer;
  flex-shrink:0;
}
.nav-toggle--mobile{
  display:none;
}
.nav-toggle svg{ width:22px; height:22px; }
.nav-toggle[aria-expanded="true"]{
  border-color:var(--primary);
  color:var(--primary);
  background:rgba(255,73,66,.06);
}
.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(6,52,98,.42);
  z-index:57;
  opacity:0;
  visibility:hidden;
  transition:opacity .24s ease, visibility .24s;
}
.nav-backdrop:not([hidden]){
  opacity:1;
  visibility:visible;
}
body.nav-open{ overflow:hidden; }
body.nav-open .urgency-bar{
  display:none !important;
}
.mobile-nav-drawer{ display:none; }

@media (max-width:767px){
  .header-nav-desktop{ display:none; }
  .site-header-top{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:60;
    border-bottom:none;
  }
  body.nav-open .site-header-top{
    border-bottom:1px solid var(--line);
    background:rgba(255,255,255,.98);
  }
  body.nav-open .header-search-bar{
    visibility:hidden;
    pointer-events:none;
  }
  .nav-backdrop{
    top:var(--header-top-height, 72px);
  }
  .header-row-top{
    grid-template-columns:1fr auto;
    gap:12px;
    min-height:40px;
    align-items:center;
  }
  .logo{
    grid-column:1;
    gap:10px;
    align-items:center;
  }
  .logo .mark{
    width:40px;
    height:40px;
  }
  .logo-name{
    font-size:18px;
  }
  .header-util{ grid-column:2; }
  .nav-toggle--mobile{
    display:flex;
    width:40px;
    height:40px;
    border-radius:10px;
  }
  .header-shell{
    padding-top:max(14px, env(safe-area-inset-top, 0px));
    padding-bottom:12px;
    padding-left:16px;
    padding-right:16px;
  }
  .header-search-bar{
    padding-top:16px;
    border-top:1px solid var(--line);
    margin-top:var(--header-top-height, 72px);
  }
  .header-search-bar .container{
    padding-top:0;
    padding-bottom:12px;
  }
  .header-search-bar .header-search{
    max-width:none;
  }
  .header-search--desktop{
    display:none !important;
  }
  .mobile-nav-drawer{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    top:var(--header-top-height, 72px);
    padding-top:0;
    background:var(--surface);
    border-top:1px solid var(--line);
    padding-left:0;
    padding-right:0;
    padding-bottom:0;
    margin:0;
    transform:translateX(100%);
    visibility:hidden;
    pointer-events:none;
    transition:transform .28s ease, visibility .28s;
    overflow-y:auto;
    overflow-x:hidden;
    z-index:58;
    box-shadow:-12px 0 40px rgba(6,52,98,.12);
    clip-path:inset(0 0 0 100%);
  }
  .mobile-nav-drawer.open{
    transform:translateX(0);
    visibility:visible;
    pointer-events:auto;
    clip-path:none;
  }
  .mobile-nav-drawer .container{
    padding:16px 24px 28px;
  }
  .mobile-nav-search{
    max-width:none;
    margin-bottom:4px;
  }
  .mobile-nav-search .header-search-results{
    max-height:min(40vh, 280px);
    overflow-y:auto;
  }
  .mobile-nav-drawer .main-nav{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:0;
  }
  .mobile-nav-main{
    padding-top:4px;
  }
  .mobile-nav-group{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--line);
  }
  .mobile-nav-toggle{
    width:100%;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin:0;
    padding:0;
    border:0;
    background:none;
    cursor:pointer;
    font-family:'Montserrat', sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--ink-faint);
    line-height:1.35;
    text-align:left;
  }
  .mobile-nav-toggle-text{
    flex:1;
    min-width:0;
  }
  .mobile-nav-toggle-icon{
    flex-shrink:0;
    width:28px;
    height:28px;
    margin-top:-2px;
    border:1px solid var(--line);
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--navy);
    position:relative;
    background:var(--surface);
    transition:border-color .2s ease, color .2s ease;
  }
  .mobile-nav-toggle-icon::before,
  .mobile-nav-toggle-icon::after{
    content:'';
    position:absolute;
    background:currentColor;
    border-radius:1px;
  }
  .mobile-nav-toggle-icon::before{
    width:12px;
    height:2px;
  }
  .mobile-nav-toggle-icon::after{
    width:2px;
    height:12px;
    transition:transform .2s ease, opacity .2s ease;
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-icon{
    border-color:rgba(255,73,66,.35);
    color:var(--primary);
  }
  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle-icon::after{
    transform:scaleY(0);
    opacity:0;
  }
  .mobile-nav-label{
    margin:0 0 4px;
    font-family:'Montserrat', sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--ink-faint);
  }
  .mobile-nav-drawer .mobile-nav-sub{
    padding-top:0;
  }
  .mobile-nav-panel[hidden]{
    display:none;
  }
  .mobile-nav-group.is-open .mobile-nav-panel{
    padding-top:4px;
  }
  .mobile-nav-drawer .main-nav a{
    width:100%;
    padding:13px 0;
    border-bottom:1px solid var(--line);
    font-size:15px;
    color:var(--navy);
  }
  .mobile-nav-sub a{
    font-size:13.5px;
    line-height:1.45;
    padding:10px 0;
  }
  .mobile-nav-label{
    line-height:1.35;
  }
  .mobile-nav-drawer .main-nav a:hover{ color:var(--primary); }
  .mobile-nav-drawer .main-nav a.active{ color:var(--primary); }
  .mobile-nav-drawer .main-nav a.active::after{ display:none; }
  .phone-link{ display:none; }
  .nav-toggle--mobile{ display:flex; }
  .header-util .btn-primary.desktop-only{ display:none; }
  .mobile-nav-extra{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid var(--line);
  }
}

@media (max-width:960px){
  .urgency-bar{ padding:10px 0; }
  .urgency-inner{
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:center;
    column-gap:18px;
    row-gap:8px;
    font-size:12px;
    line-height:1.35;
  }
  .urgency-pulse{
    display:block;
    grid-column:1;
    grid-row:1;
    align-self:center;
  }
  .urgency-inner > strong{
    grid-column:2;
    grid-row:1;
    font-size:13px;
    font-weight:700;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .urgency-sep{ display:none; }
  .urgency-inner > span:not(.urgency-sep){
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    line-height:1.35;
    opacity:.96;
  }
  .urgency-inner > span:not(.urgency-sep)::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--accent);
    flex-shrink:0;
  }
  .urgency-link{
    grid-column:1 / -1;
    justify-self:stretch;
    text-align:center;
    margin:0;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    white-space:normal;
    font-size:13px;
    line-height:1.35;
  }
  .home-reviews-layout{
    grid-template-columns:1fr;
    gap:24px;
    min-width:0;
  }
  .home-reviews-copy{
    max-width:none;
    text-align:center;
  }
  .home-reviews-link{
    margin-left:auto;
    margin-right:auto;
    width:100%;
    max-width:100%;
    font-size:14px;
    padding:12px 16px;
    white-space:normal;
  }
}

/* ---------- contact card (mobile menu + footer) ---------- */
.site-contact-card{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.site-contact-name{
  margin:0;
  font-family:'Montserrat', sans-serif;
  font-size:14px;
  font-weight:700;
  line-height:1.35;
  color:var(--navy);
}
.site-contact-address,
.site-contact-phone{
  font-size:14px;
  line-height:1.45;
  color:var(--ink-soft);
  text-decoration:none;
}
.site-contact-phone{
  font-size:17px;
  font-weight:600;
  color:var(--navy);
}
.site-contact-address:hover,
.site-contact-phone:hover{
  color:var(--primary);
}
.site-contact-hours{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:4px;
}
.site-contact-hours-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
  line-height:1.4;
  color:var(--ink-soft);
}
.site-contact-hours-row span:first-child{
  color:var(--ink-faint);
  flex-shrink:0;
}
.site-contact-card--mobile{
  padding:14px 16px;
  border-radius:var(--radius-md);
  background:var(--bg);
  border:1px solid var(--line);
  gap:8px;
}
.site-contact-card--mobile .site-contact-name{
  font-size:13.5px;
}
.site-contact-card--footer{
  margin-top:16px;
  gap:8px;
}
.site-contact-card--footer .site-contact-name{
  color:#fff;
  font-size:15px;
}
.site-contact-card--footer .site-contact-address,
.site-contact-card--footer .site-contact-phone{
  color:#B7C0D6;
}
.site-contact-card--footer .site-contact-phone{
  color:var(--accent);
  font-size:18px;
}
.site-contact-card--footer .site-contact-address:hover,
.site-contact-card--footer .site-contact-phone:hover{
  color:#fff;
}
.site-contact-card--footer .site-contact-hours-row{
  color:#B7C0D6;
}
.site-contact-card--footer .site-contact-hours-row span:first-child{
  color:#8C96AE;
}

@media (max-width: 1180px){
  .logo-desc{ display:none; }
  .header-search--desktop{ max-width:300px; }
  .header-util .btn-outline.btn-sm{ display:none; }
}

@media (max-width: 1040px){
  .phone-link span{ display:none; }
  .phone-link{
    padding:8px;
    border-radius:999px;
    background:var(--surface);
    border:1px solid var(--line);
  }
}

/* ---------- eyebrow / section head ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Roboto', sans-serif;
  font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--primary); font-weight:600;
  margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:7px; height:7px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 0 3px var(--primary-tint);
}
.section{ padding:96px 0; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); line-height:1.12; color:var(--navy); }
.section-head p{ margin-top:16px; font-size:16.5px; color:var(--ink-soft); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- hero ---------- */
.hero{
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(255,73,66,.32), transparent 62%),
    radial-gradient(600px 360px at 8% 105%, rgba(169,228,77,.14), transparent 60%),
    linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  color:#fff;
  padding:64px 0 140px;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14);
  padding:8px 16px; border-radius:999px;
  font-family:'Roboto', sans-serif; font-size:12.5px; color:#C9D2E8;
  margin-bottom:26px;
}
.hero-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); }
.hero h1{
  font-size:clamp(34px,4.6vw,56px); line-height:1.06; color:#fff;
}
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero h1 b{ font-weight:inherit; color:var(--accent); }
.hero .lead{
  margin-top:22px; font-size:18px; color:#B7C0D6; max-width:520px;
}
.hero-cta{ display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.hero-trust{
  display:flex; gap:28px; margin-top:52px; flex-wrap:wrap;
}
.hero-trust .stat b{ display:block; font-family:'Montserrat'; font-size:26px; color:#fff; }
.hero-trust .stat span{ font-size:13px; color:#8C96AE; }

/* hero visual — круг с логотипом + карточки */
.hero-visual{ position:relative; height:440px; }
.hero-orbit{
  position:absolute; top:50%; left:50%;
  width:220px; height:220px; margin:-110px 0 0 -110px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, rgba(255,255,255,.14), rgba(255,255,255,.02));
  border:2px dashed rgba(169,228,77,.45);
  display:flex; align-items:center; justify-content:center;
  animation:spin 28s linear infinite;
  z-index:1;
}
.hero-orbit-inner{
  width:160px; height:160px; border-radius:50%;
  overflow:hidden;
  background:transparent;
  box-shadow:0 20px 50px rgba(255,73,66,.35);
  animation:spin 28s linear infinite reverse;
}
.hero-orbit-inner img{ width:100%; height:100%; object-fit:contain; display:block; }

/* courses hero — основатель вписан в блок */
.hero-courses{
  padding:48px 0 88px;
  overflow:hidden;
}
.hero-courses .hero-grid{
  align-items:center;
  min-height:440px;
  gap:40px;
}
.hero-courses .catalog-hero-breadcrumb,
.page-catalog .hero-courses .hero-copy > .breadcrumb{
  margin:0 0 18px;
  row-gap:6px;
  color:#8C96AE;
  font-size:13.5px;
}
.hero-courses .catalog-hero-breadcrumb a,
.page-catalog .hero-courses .hero-copy > .breadcrumb a{
  color:#8C96AE;
  text-decoration:none;
}
.hero-courses .catalog-hero-breadcrumb a:hover,
.page-catalog .hero-courses .hero-copy > .breadcrumb a:hover{
  color:#fff;
}
.hero-courses .catalog-hero-breadcrumb .breadcrumb-sep,
.page-catalog .hero-courses .hero-copy > .breadcrumb .breadcrumb-sep{
  color:#8C96AE;
  opacity:.65;
}
.hero-courses .catalog-hero-breadcrumb .breadcrumb-current,
.page-catalog .hero-courses .hero-copy > .breadcrumb .breadcrumb-current,
.page-catalog .hero-courses .hero-copy > .breadcrumb > span:last-child{
  color:#fff;
  font-weight:500;
}
.hero-catalog-photo{
  position:relative;
  justify-self:end;
  align-self:center;
  width:min(100%, 440px);
  margin-bottom:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-catalog-photo .hero-founder-glow{
  width:340px;
  height:340px;
  top:50%;
  bottom:auto;
  left:50%;
  transform:translate(-50%, -50%);
  background:radial-gradient(circle, rgba(255,73,66,.4) 0%, rgba(255,73,66,.12) 55%, transparent 72%);
}
.hero-catalog-photo img{
  position:relative;
  z-index:1;
  width:100%;
  max-height:480px;
  object-fit:contain;
  object-position:center center;
  display:block;
  filter:drop-shadow(0 18px 36px rgba(0,0,0,.28));
}
.hero-catalog-photo--framed{
  overflow:hidden;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
  filter:drop-shadow(0 18px 36px rgba(0,0,0,.28));
}
.hero-catalog-photo--framed img{
  object-fit:cover;
  filter:none;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
}
.page-catalog .hero-courses{
  padding:56px 0 56px;
}
.page-catalog .hero-courses .hero-grid{
  min-height:0;
  gap:24px;
  align-items:stretch;
}
.page-catalog .hero-courses .hero-copy{
  align-self:start;
}
.page-catalog .hero-courses .catalog-hero-breadcrumb,
.page-catalog .hero-courses .hero-copy > .breadcrumb{
  margin:28px 0 24px;
}
.page-catalog .hero-courses .hero-eyebrow{
  margin-bottom:12px;
  padding:6px 14px;
}
.page-catalog .hero-courses h1{
  font-size:clamp(28px,3.6vw,44px);
  line-height:1.08;
}
.page-catalog .hero-courses .lead{
  margin-top:10px;
  font-size:16px;
  line-height:1.5;
}
.page-catalog .hero-courses .hero-cta{
  margin-top:20px;
}
.page-catalog-courses{
  scroll-margin-top:88px;
}
.page-catalog .hero-catalog-photo{
  width:min(100%, 380px);
}
.page-catalog .hero-catalog-photo img{
  max-height:360px;
}
.page-catalog .hero-catalog-photo--framed img{
  height:360px;
  max-height:360px;
}
.page-catalog .hero-catalog-photo--framed .hero-founder-glow{
  display:none;
}
.page-catalog .hero-catalog-photo .hero-founder-glow{
  width:280px;
  height:280px;
}
@media (max-width:980px){
  .page-catalog .hero-courses .hero-grid > .hero-catalog-photo{
    order:-1;
    justify-self:center;
    width:min(100%, 360px);
    margin:0 auto 8px;
  }
  .page-catalog .hero-catalog-photo--framed,
  .page-catalog .hero-catalog-photo--framed img{
    border-radius:var(--radius-lg);
  }
  .page-catalog .hero-catalog-photo--framed img{
    height:auto;
    max-height:none;
    aspect-ratio:4 / 3;
  }
}
.hero-courses-filter{
  margin-top:-46px;
  position:relative;
  z-index:2;
}

.hero-courses-v2{
  background:
    radial-gradient(520px 320px at 92% 40%, rgba(212,165,116,.12), transparent 65%),
    radial-gradient(600px 360px at 8% 105%, rgba(169,228,77,.14), transparent 60%),
    linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
}
.hero-courses-v2 .hero-grid{ min-height:480px; }
.hero-courses-v2 .hero-founder-zero{ width:min(100%, 520px); margin-bottom:-32px; }
.hero-courses-v2 .hero-founder-glow{
  width:400px; height:400px; bottom:110px;
  background:radial-gradient(circle, rgba(212,165,116,.42) 0%, rgba(255,73,66,.14) 52%, transparent 72%);
}
.hero-courses-v2 .hero-founder-zero > img{ max-width:500px; max-height:580px; }
.hero-courses-v2 .hero-founder-badge{
  background:linear-gradient(135deg, #E8C08A 0%, #C8945A 100%);
  color:var(--navy);
}

.hero-courses-v3 .hero-founder-glow{
  background:radial-gradient(circle, rgba(255,73,66,.5) 0%, rgba(255,73,66,.18) 55%, transparent 72%);
}
.hero-courses-v3 .hero-founder-badge{
  background:var(--primary);
  color:#fff;
}

.demo-variant-bar{
  background:rgba(6,52,98,.92);
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:10px 0;
}
.demo-variant-bar .container{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:13px; }
.demo-variant-bar span{ color:#8C96AE; margin-right:4px; }
.demo-variant-bar a{
  padding:6px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14); color:#C5CDDF; font-weight:500;
  transition:background .15s, color .15s, border-color .15s;
}
.demo-variant-bar a:hover{ border-color:rgba(255,255,255,.28); color:#fff; }
.demo-variant-bar a.active{ background:var(--accent); border-color:var(--accent); color:var(--navy); font-weight:600; }

.hero-founder-zero{
  position:relative;
  justify-self:end;
  align-self:center;
  width:min(100%, 480px);
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:-24px;
}
.hero-founder-glow{
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,73,66,.45) 0%, rgba(255,73,66,.15) 55%, transparent 72%);
  bottom:100px;
  left:50%;
  transform:translateX(-50%);
  z-index:0;
  pointer-events:none;
}
.hero-founder-zero > img{
  position:relative;
  z-index:1;
  width:100%;
  max-width:460px;
  height:auto;
  max-height:540px;
  object-fit:contain;
  object-position:bottom center;
  display:block;
  filter:drop-shadow(0 16px 32px rgba(0,0,0,.28));
}
.hero-founder-caption{
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:20px;
  width:auto;
  margin-top:0;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:14px;
  background:rgba(6,52,98,.72);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.hero-founder-caption b{
  display:block;
  font-family:'Montserrat',sans-serif;
  font-size:19px;
  color:#fff;
  line-height:1.2;
}
.home-hero.hero-courses{
  padding:32px 0 16px;
  overflow:visible;
}
.home-hero + .trust-strip{
  margin-top:0;
}
.home-hero.hero-courses .hero-grid{
  align-items:end;
  min-height:0;
  gap:12px;
  grid-template-columns:minmax(0, 600px) minmax(0, 460px);
  justify-content:start;
}
.home-hero .hero-copy{
  align-self:center;
  padding-bottom:16px;
  max-width:600px;
}
.home-hero .hero-eyebrow{
  font-size:11.5px;
  padding:7px 12px;
  margin-bottom:14px;
}
.home-hero h1{
  font-size:clamp(28px,3.6vw,44px);
  line-height:1.08;
}
.home-hero .lead{
  margin-top:12px;
  font-size:15.5px;
  line-height:1.55;
  color:#C5CDDF;
  max-width:520px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.home-hero .hero-cta{
  margin-top:18px;
  gap:10px;
}
.home-hero .hero-trust{
  margin-top:18px;
  gap:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.1);
}
.home-hero .hero-trust .stat b{
  font-size:20px;
  color:var(--accent);
}
.home-hero .hero-founder-zero{
  width:min(100%, 440px);
  align-self:end;
  justify-self:end;
  margin-bottom:0;
  margin-left:0;
  transform:translateX(20px);
}
.home-hero .hero-founder-glow{
  width:340px;
  height:340px;
  bottom:78px;
  left:40%;
  background:radial-gradient(circle, rgba(255,73,66,.34) 0%, rgba(169,228,77,.12) 48%, transparent 72%);
}
.home-hero .hero-founder-photo{
  position:relative;
  z-index:1;
  width:100%;
  max-height:clamp(400px, calc(100vh - 220px), 520px);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
}
.home-hero .hero-founder-zero > img,
.home-hero .hero-founder-photo > img{
  max-width:440px;
  max-height:clamp(400px, calc(100vh - 220px), 520px);
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center 18%;
  transform:none;
  transform-origin:50% 100%;
  display:block;
  filter:drop-shadow(0 20px 38px rgba(0,0,0,.32));
}

.home-hero-extra{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  padding:28px 0 32px;
}
.home-hero-extra-inner{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.hero-checks-light{
  margin-top:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 14px;
  align-items:stretch;
  text-align:left;
  list-style:none;
  padding:0;
}
.hero-checks-light li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  height:100%;
  font-size:14.5px;
  font-weight:500;
  line-height:1.45;
  color:var(--navy);
  max-width:100%;
  padding:11px 16px;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(169,228,77,.14) 0%, rgba(169,228,77,.04) 100%);
  border:1px solid rgba(169,228,77,.28);
}
.hero-checks-light .home-promo-check{
  display:flex;
  width:16px;
  height:16px;
  flex-shrink:0;
  margin-top:2px;
  margin-right:0;
  color:var(--accent);
}
.hero-checks-light .home-promo-check svg{
  width:16px;
  height:16px;
}
.hero-checks-light li:last-child:nth-child(odd){
  grid-column:1 / -1;
}
.home-hero-extra .home-hero-offers{
  margin-top:0;
}
.home-hero-extra .home-hero-offer{
  background:var(--bg);
  border-color:var(--line);
  color:var(--navy);
}
.home-hero-extra .home-hero-offer:hover{
  background:var(--surface);
  border-color:transparent;
  box-shadow:var(--shadow-md);
}
.home-hero-extra .home-hero-offer-featured{
  background:linear-gradient(145deg, var(--primary-tint) 0%, var(--surface) 100%);
  border-color:rgba(255,73,66,.25);
}
.home-hero-extra .home-hero-offer strong{
  color:var(--navy);
}
.home-hero-extra .home-hero-offer-meta{
  color:var(--ink-soft);
}
.home-hero-extra .home-hero-offer-price b{
  color:var(--primary);
}
.home-hero-extra .home-hero-offer-link{
  color:var(--primary);
}
.home-hero-extra .home-hero-offer-badge{
  color:var(--primary);
}

.home-hero-offers{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:26px;
}
.home-hero-offer{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:100%;
  padding:16px 16px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-hero-offer:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.1);
  border-color:rgba(255,255,255,.22);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.home-hero-offer-featured{
  background:linear-gradient(145deg, rgba(255,73,66,.24) 0%, rgba(255,73,66,.08) 100%);
  border-color:rgba(255,73,66,.38);
}
.home-hero-offer-featured:hover{
  border-color:rgba(255,73,66,.55);
  background:linear-gradient(145deg, rgba(255,73,66,.3) 0%, rgba(255,73,66,.12) 100%);
}
.home-hero-offer-badge{
  font-size:10px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--accent);
}
.home-hero-offer strong{
  font-family:'Montserrat', sans-serif;
  font-size:14px;
  line-height:1.35;
  color:#fff;
}
.home-hero-offer-meta{
  font-size:12.5px;
  line-height:1.45;
  color:#A8B3CC;
  flex:1;
}
.home-hero-offer-price{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  margin-top:4px;
}
.home-hero-offer-old{
  font-size:13px;
  color:#8C96AE;
  text-decoration:line-through;
}
.home-hero-offer-price b{
  font-family:'Montserrat', sans-serif;
  font-size:22px;
  line-height:1;
  color:var(--accent);
  font-weight:700;
}
.home-hero-offer-link{
  font-size:12.5px;
  font-weight:600;
  color:var(--accent);
  margin-top:auto;
}

.home-hero .hero-founder-caption{
  bottom:24px;
  background:rgba(6,52,98,.88);
  border:1px solid rgba(255,255,255,.18);
}
.home-hero .hero-founder-caption .hero-founder-badge{
  background:linear-gradient(135deg, #E8C08A 0%, #C8945A 100%);
  color:var(--navy);
  font-size:11px;
  font-weight:700;
  padding:6px 12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.home-hero .hero-founder-caption span:not(.hero-founder-badge){
  font-size:12.5px;
  color:#C5CDDF;
}

.hero-founder-caption span:not(.hero-founder-badge){
  font-size:12.5px;
  color:#C5CDDF;
}
.hero-founder-badge{
  flex-shrink:0;
  font-family:'Roboto', sans-serif;
  font-size:10px;
  padding:5px 10px;
  border-radius:999px;
  background:var(--accent);
  color:var(--navy);
  font-weight:600;
}
.hero-copy{ max-width:680px; align-self:center; }
.float-card{
  position:absolute; background:var(--surface); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:20px 22px; width:250px;
}
.float-card.card-1{ top:0; right:20px; z-index:3; }
.float-card.card-2{ top:150px; right:130px; z-index:2; width:230px; }
.float-card.card-3{ bottom:0; right:0; z-index:1; width:210px; }
.float-card .fc-icon{
  width:38px; height:38px; border-radius:50%;
  background:var(--primary-tint);
  display:flex; align-items:center; justify-content:center; margin-bottom:12px;
}
.float-card .fc-icon svg{ width:19px; height:19px; color:var(--primary); }
.float-card b{ display:block; font-family:'Montserrat'; font-size:15px; margin-bottom:4px; color:var(--navy); }
.float-card p{ font-size:13px; color:var(--ink-soft); }
.float-card .fc-badge{
  font-family:'Roboto'; font-size:11px; color:var(--teal); background:#E6F5F0;
  padding:3px 9px; border-radius:999px; display:inline-block; margin-top:10px;
}

/* seal — круг «гос. образца» */
.seal{
  position:relative; flex-shrink:0;
  width:86px; height:86px; border-radius:50%;
  border:1.5px dashed rgba(169,228,77,.65);
  display:flex; align-items:center; justify-content:center;
  animation:spin 22s linear infinite;
}
.seal svg{ width:34px; height:34px; color:var(--accent); animation:none; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.seal-inline{
  width:56px; height:56px; border:1.2px dashed var(--primary);
  animation:none;
}
.seal-inline svg{ width:22px; height:22px; color:var(--primary); }

/* ---------- format cards ---------- */
.formats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.format-card{
  background:var(--surface); border-radius:var(--radius-md);
  padding:28px 24px; border:1px solid var(--line);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.format-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.format-card .fi{
  width:46px; height:46px; border-radius:50%;
  background:var(--navy);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.format-card .fi svg{ width:22px; height:22px; color:var(--accent); }
.format-card h3{ font-size:17px; margin-bottom:8px; color:var(--navy); }
.format-card p{ font-size:14px; color:var(--ink-soft); }
.format-card .tag{
  margin-top:16px; display:inline-block; font-family:'Roboto';
  font-size:11.5px; color:var(--primary); background:var(--primary-tint);
  padding:4px 10px; border-radius:999px;
}

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.step{ position:relative; padding:0 20px 0 0; }
.step .num{
  font-family:'Roboto'; font-size:13px; color:var(--primary);
  display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
.step .num::after{ content:''; height:1px; flex:1; background:var(--line); }
.step .si{
  width:52px; height:52px; border-radius:50%;
  background:var(--surface);
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.step .si svg{ width:24px; height:24px; color:var(--primary); }
.step h4{ font-size:17px; margin-bottom:8px; color:var(--navy); }
.step p{ font-size:14px; color:var(--ink-soft); }

/* ---------- course cards ---------- */
.filter-row{
  display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px;
}
.chip{
  padding:9px 18px; border-radius:999px; border:1px solid var(--line);
  background:var(--surface); font-size:13.5px; font-weight:500; color:var(--ink-soft);
  transition:all .15s;
}
.chip.active, .chip:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }

.course-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.course-card{
  background:var(--surface); border-radius:var(--radius-md);
  border:1px solid var(--line); overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display:flex; flex-direction:column;
}
.course-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.course-card .cc-top{
  padding:22px 22px 0; display:flex; justify-content:space-between; align-items:flex-start;
}
.course-card .cc-status{
  font-family:'Roboto'; font-size:11px; padding:4px 10px; border-radius:999px;
  background:var(--primary-tint); color:var(--primary); font-weight:600;
}
.course-card .cc-status.open{ background:#E8FBD8; color:#036657; }
.course-card .cc-cat{ font-size:12px; color:var(--ink-faint); font-family:'Roboto'; }
.course-card h3{ font-size:18px; padding:16px 22px 0; line-height:1.28; color:var(--navy); }
.course-card .cc-meta{
  display:flex; flex-direction:column; gap:9px; padding:16px 22px; margin-top:auto;
  border-top:1px solid var(--line); margin-top:18px;
}
.cc-meta-row{ display:flex; justify-content:space-between; font-size:13.5px; }
.cc-meta-row span:first-child{ color:var(--ink-faint); }
.cc-meta-row span:last-child{ font-family:'Roboto'; font-weight:500; }
.course-card .cc-price{
  display:flex; justify-content:space-between; align-items:center;
  padding:18px 22px; background:var(--bg);
}
.cc-price b{ font-family:'Montserrat'; font-size:20px; color:var(--primary); }
.course-card h3 a{ color:inherit; text-decoration:none; }
.course-card h3 a:hover{ color:var(--primary); }
.cc-price .old{ text-decoration:line-through; color:var(--ink-faint); font-size:13px; margin-right:6px; font-weight:400;}

/* ---------- advantages ---------- */
.adv-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.adv-card{
  background:var(--surface); border-radius:var(--radius-md); padding:26px;
  border:1px solid var(--line); display:flex; gap:18px; align-items:flex-start;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.adv-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.adv-card .ai{
  width:44px; height:44px; border-radius:50%;
  background:var(--primary-tint);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .2s ease, transform .2s ease;
}
.adv-card:hover .ai{
  background:var(--navy);
  transform:scale(1.05);
}
.adv-card .ai svg{ width:21px; height:21px; color:var(--primary); transition:color .2s ease; }
.adv-card:hover .ai svg{ color:var(--accent); }
.adv-card p{ font-size:14.5px; color:var(--ink-soft); }
.adv-card b{ display:block; font-size:15.5px; margin-bottom:6px; font-family:'Montserrat'; font-weight:700; color:var(--navy);}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius:var(--radius-lg); padding:56px;
  display:flex; justify-content:space-between; align-items:center; gap:32px;
  position:relative; overflow:hidden; color:#fff;
}
.cta-banner::before{
  content:''; position:absolute; width:340px; height:340px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,73,66,.28), transparent 70%);
  top:-140px; right:-80px;
}
.cta-banner h2{ font-size:clamp(24px,3vw,32px); max-width:460px; position:relative;}
.cta-banner-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  font-family:'Montserrat', sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
  position:relative;
}
.cta-online-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  flex-shrink:0;
}
.cta-banner p{ color:#AEB8CF; margin-top:12px; max-width:420px; position:relative; }
.cta-banner-actions,
.cta-actions{
  display:flex;
  gap:14px;
  position:relative;
  flex-shrink:0;
  flex-wrap:wrap;
  align-items:center;
}
.cta-banner .eyebrow{ color:var(--accent); }
.cta-banner .eyebrow::before{ box-shadow:0 0 0 3px rgba(169,228,77,.22); }
.cta-banner .btn-outline{
  border-color:rgba(255,255,255,.5);
  color:#fff;
}
.cta-banner .btn-outline:hover{
  border-color:#fff;
  color:#fff;
  background:rgba(255,255,255,.1);
}

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:22px 0;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  font-family:'Montserrat'; font-size:16px; font-weight:600; color:var(--navy);
  line-height:1.4;
}
.faq-q svg{ width:20px; height:20px; color:var(--primary); flex-shrink:0; transition:transform .25s; }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p,
.faq-a li,
.faq-a{
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.65;
}
.faq-a p{ padding:0 0 22px; max-width:760px; }
.faq-item.open .faq-a{ max-height:220px; }

/* ---------- footer ---------- */
.site-footer{ background:var(--navy); color:#B7C0D6; padding:64px 0 28px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; }
.footer-grid h5{ color:#fff; font-family:'Montserrat'; font-size:14px; margin-bottom:18px; font-weight:600; }
.footer-grid li{ margin-bottom:10px; font-size:14px; }
.footer-grid a:hover{ color:#fff; }
.footer-org{
  margin-top:40px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.1);
}
.footer-org-title{
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size:13px;
  font-weight:600;
  margin:0 0 14px;
  letter-spacing:.02em;
}
.footer-org-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px 6px;
  list-style:none;
  margin:0;
  padding:0;
}
.footer-org-list li{
  margin:0;
  font-size:12px;
  line-height:1.35;
}
.footer-org-list li:not(:last-child)::after{
  content:'·';
  margin-left:6px;
  color:#6F7A94;
  pointer-events:none;
}
.footer-org-list a{
  color:#9AA3B8;
  text-decoration:none;
}
.footer-org-list a:hover{ color:#fff; }
.footer-bottom{
  margin-top:32px; padding-top:24px; border-top:1px solid rgba(255,255,255,.1);
  display:flex; justify-content:space-between; font-size:13px; color:#6F7A94; flex-wrap:wrap; gap:12px;
}
.footer-grid .logo .mark{ box-shadow:0 4px 14px rgba(0,0,0,.2); }
.footer-grid .logo-text{ color:#fff; }
.footer-about{ margin-top:12px; font-size:13px; max-width:280px; color:#8C96AE; }
.footer-social{
  display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; align-items:center;
}
.footer-social-link{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-width:42px; height:42px; padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(169,228,77,.35);
  color:var(--accent);
  background:transparent;
  text-decoration:none;
  transition:background .15s, color .15s, border-color .15s, transform .15s;
}
.footer-social-link:hover{
  background:var(--accent); color:var(--navy); border-color:var(--accent);
  transform:translateY(-1px);
}
.footer-social-icon{
  width:18px; height:18px; flex:0 0 auto;
  fill:currentColor;
}
.footer-social-label{
  font-size:12px; font-weight:700; letter-spacing:.01em;
}
@media (max-width:560px){
  .footer-social-label{ display:none; }
  .footer-social-link{ width:42px; padding:0; }
}

/* ---------- cookie banner ---------- */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:1200;
  background:#fff; color:var(--ink);
  border-top:1px solid rgba(6,52,98,.12);
  box-shadow:0 -8px 28px rgba(6,52,98,.12);
  padding:16px 0;
}
.cookie-banner[hidden]{ display:none !important; }
.cookie-banner-inner{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.cookie-banner-text{
  margin:0; font-size:14px; line-height:1.45; color:#3a4660; max-width:920px;
}
.cookie-banner-text a{
  color:var(--navy); font-weight:600; text-decoration:underline; text-underline-offset:2px;
}
.cookie-banner-accept{
  flex:0 0 auto; white-space:nowrap; min-width:120px;
}
/* пока баннер виден — нижняя строка футера не прячется под ним */
body.has-cookie-banner{
  padding-bottom: var(--cookie-banner-offset, 120px);
}
body.has-cookie-banner .site-footer{
  padding-bottom: calc(28px + 12px);
}
@media (max-width:720px){
  .cookie-banner-inner{ flex-direction:column; align-items:stretch; gap:14px; }
  .cookie-banner-accept{ width:100%; }
}

/* ---------- breadcrumb ---------- */
.site-breadcrumbs{
  padding:16px 0 0;
  background:var(--surface);
}
.site-breadcrumbs + .legacy-content,
.site-breadcrumbs + .section,
.site-breadcrumbs + section{
  margin-top:0;
}
.page-migrated > .site-breadcrumbs{
  padding-bottom:14px;
  margin-bottom:4px;
}
.breadcrumb{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:13.5px;
  color:var(--ink-faint);
  margin-bottom:0;
  flex-wrap:wrap;
  row-gap:4px;
}
.breadcrumb a{
  color:inherit;
  text-decoration:none;
}
.breadcrumb a:hover{ color:var(--primary); }
.breadcrumb-sep{ color:var(--ink-faint); opacity:.65; }
.breadcrumb-current{ color:var(--navy); font-weight:500; }

.site-breadcrumbs--inline{
  padding:0;
  margin:0 0 14px;
  background:transparent;
  border:0;
}
.site-breadcrumbs--inline .breadcrumb{
  margin:0;
}

/* ---------- course detail page ---------- */
.course-hero{
  background:linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  color:#fff; padding:48px 0 90px; position:relative; overflow:hidden;
}
.course-hero::before{
  content:''; position:absolute; width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,73,66,.35), transparent 70%);
  top:-220px; right:-160px;
}
.course-hero-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:50px; position:relative; }
.course-hero > .container > .breadcrumb,
.course-hero-breadcrumb{
  margin-bottom:32px;
  row-gap:6px;
  color:#8C96AE;
}
.course-hero > .container > .breadcrumb a,
.course-hero-breadcrumb a{ color:#8C96AE; }
.course-hero > .container > .breadcrumb a:hover,
.course-hero-breadcrumb a:hover{ color:#fff; }
.course-hero > .container > .breadcrumb .breadcrumb-current,
.course-hero > .container > .breadcrumb > span:last-child,
.course-hero-breadcrumb .breadcrumb-current{ color:#fff; font-weight:500; }
.course-badges{ display:flex; gap:10px; margin-bottom:20px; flex-wrap:wrap; }
.badge{
  font-family:'Roboto'; font-size:11.5px; padding:5px 12px; border-radius:999px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); color:#D6DCEC;
}
.course-hero h1{ font-size:clamp(28px,3.6vw,42px); color:#fff; line-height:1.14; }
.course-hero-tagline{
  margin-top:14px;
  font-size:clamp(16px,2vw,20px);
  line-height:1.45;
  color:#B7C0D6;
  font-weight:400;
  font-family:'Roboto', sans-serif;
  max-width:560px;
}
.course-hero .lead{ margin-top:18px; color:#B7C0D6; font-size:16px; max-width:560px; }
.course-hero-cta{ margin-top:32px; }

.price-card{
  background:var(--surface); border-radius:var(--radius-md); padding:28px;
  color:var(--ink); box-shadow:var(--shadow-lg); align-self:start;
  border-top:4px solid var(--primary);
}
.price-card--sticky{
  position:sticky;
  top:88px;
  max-height:calc(100vh - 104px);
  overflow:auto;
}
.price-card-form{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.price-card-form-label{
  font-family:'Montserrat',sans-serif;
  font-size:13px;
  font-weight:700;
  color:var(--navy);
  margin:0 0 12px;
}
.price-card .course-registration-form,
.price-card .course-lead-form{
  max-width:none;
  margin-bottom:0;
}
.course-registration-form--compact iframe{
  min-height:320px;
}
.course-registration--inline{
  padding-top:32px;
  padding-bottom:8px;
}
.course-registration-inner{
  max-width:560px;
}
.site-lead-form,
.course-lead-form{
  display:grid;
  gap:12px;
  margin:0 0 8px;
}
.site-lead-fields{
  display:grid;
  gap:12px;
}
.site-lead-field{
  display:grid;
  gap:6px;
}
.site-lead-field label{
  font-size:13px;
  font-weight:500;
  color:var(--ink-soft);
}
.site-lead-field input,
.site-lead-field textarea{
  width:100%;
  min-height:46px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--bg);
  color:var(--navy);
  font:inherit;
  font-size:15px;
  box-sizing:border-box;
}
.site-lead-field textarea{ min-height:72px; resize:vertical; }
.site-lead-field input:focus,
.site-lead-field textarea:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(255,73,66,.12);
}
.site-lead-note{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:var(--ink-faint);
}
.site-lead-note a{ color:var(--primary); text-decoration:underline; }
.site-lead-consent{
  display:flex; align-items:flex-start; gap:10px;
  margin:0 0 4px; font-size:12px; line-height:1.4; color:var(--ink-faint);
  cursor:pointer;
}
.site-lead-consent input{
  margin-top:2px; flex:0 0 auto; width:16px; height:16px; accent-color:var(--primary);
}
.site-lead-consent a{ color:var(--primary); text-decoration:underline; text-underline-offset:2px; }
.site-lead-form .btn-block,
.course-lead-form .btn-block{
  width:100%;
  min-height:48px;
}
.site-lead-form .form-status,
.course-lead-form .form-status{
  margin:0;
  font-size:13px;
  text-align:center;
}
.site-lead-form .form-status--ok,
.course-lead-form .form-status--ok{ color:var(--teal); }
.site-lead-form .form-status--error,
.course-lead-form .form-status--error{ color:var(--primary); }
.course-lead-form--compact .site-lead-consent{
  margin-top:4px; font-size:11px;
}
.fs-lead-dialog-form .site-lead-consent{ margin:4px 0 8px; }
.home-consult-form .site-lead-consent{ margin:2px 0 8px; color:#d7deed; }
.home-consult-form .site-lead-consent a{ color:#fff; }
.price-card .course-lead-form--compact .site-lead-field label{
  font-size:12px;
}
.course-apply-fallback{
  padding-top:0;
}
.price-card .old-price{ color:var(--ink-faint); text-decoration:line-through; font-size:15px; }
.price-card .price{ font-family:'Montserrat'; font-size:34px; margin:6px 0 18px; color:var(--primary); }
.price-card ul{ margin:18px 0; display:flex; flex-direction:column; gap:11px; }
.price-card li{ display:flex; gap:10px; font-size:14px; color:var(--ink-soft); align-items:flex-start; }
.price-card li .home-promo-check{ flex-shrink:0; margin-top:1px; }
.price-card .deadline{
  margin-top:16px; font-size:12.5px; font-family:'Roboto'; color:var(--navy);
  background:#E6F5F0; padding:8px 12px; border-radius:10px; text-align:center;
}

.course-info-wrap{
  position:relative;
  z-index:3;
  margin-bottom:56px;
}
.info-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  background:transparent;
  border-radius:0;
  overflow:visible;
  margin-top:-48px;
  position:relative;
  z-index:2;
  box-shadow:none;
}
.info-strip--3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
.info-strip .cell{
  background:var(--surface);
  padding:22px 22px 24px;
  border-radius:var(--radius-md);
  border:1px solid rgba(6,52,98,.08);
  box-shadow:0 8px 28px rgba(6,52,98,.08);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  min-height:100%;
}
.info-strip .cell-icon{
  width:43px;
  height:43px;
  object-fit:contain;
  flex-shrink:0;
}
.info-strip .cell-copy{ display:grid; gap:8px; width:100%; }
.info-strip .cell span{
  display:block;
  font-size:12.5px;
  color:var(--ink-faint);
  font-family:'Roboto', sans-serif;
  letter-spacing:.01em;
  font-weight:500;
  line-height:1.35;
}
.info-strip .cell b{
  font-family:'Montserrat', sans-serif;
  font-size:clamp(16px,2vw,20px);
  color:var(--navy);
  line-height:1.3;
  display:block;
}
.info-strip .cell--price b{
  font-size:clamp(20px,2.4vw,26px);
  color:var(--primary);
}
.info-strip .cell--next-price b{
  font-size:clamp(18px,2.2vw,22px);
  color:var(--navy-soft);
}

.program-list{ display:flex; flex-direction:column; gap:14px; }
.program-timeline{
  display:flex;
  flex-direction:column;
  gap:12px;
  position:relative;
  margin-top:8px;
}
.page-program{ padding-top:72px; }
.program-topics-shell{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.program-topic-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  counter-reset:none;
}
@media (min-width:900px){
  .program-topic-list{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px 28px; }
}
.program-topic-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--ink-soft);
  font-size:15px;
  line-height:1.45;
}
.program-topic-num{
  flex:0 0 auto;
  min-width:34px;
  height:34px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
.program-topic-text{
  flex:1;
  min-width:0;
  padding-top:6px;
  color:var(--ink-soft);
}
.program-section-head{
  max-width:760px;
  margin-bottom:40px;
}
.program-section-head:has(+ .program-intro-card){
  margin-bottom:20px;
}
/* карточка часов — на всю ширину контейнера (и fallback, если ещё внутри head) */
.program-section-head:has(> .program-intro-card){
  max-width:none;
}
.program-section-head:has(> .program-intro-card) > .eyebrow,
.program-section-head:has(> .program-intro-card) > h2{
  max-width:760px;
}
.program-section-head h2{ margin-bottom:0; }
.program-intro-card{
  width:100%;
  max-width:none;
  margin:0 0 40px;
  padding:20px 22px;
  border-radius:var(--radius-md);
  background:linear-gradient(135deg, var(--primary-tint) 0%, #fff 100%);
  border:1px solid rgba(255,73,66,.12);
  display:grid;
  gap:8px;
  box-sizing:border-box;
}
@media (min-width:768px){
  .program-intro-card{
    grid-template-columns:minmax(220px, 280px) 1fr;
    align-items:center;
    gap:12px 40px;
    padding:24px 32px;
  }
}
.program-intro-stat{
  font-family:'Montserrat', sans-serif;
  font-size:clamp(18px,2.2vw,22px);
  font-weight:700;
  color:var(--navy);
  line-height:1.3;
}
.program-intro-text{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:var(--ink-soft);
}
.program-item{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:border-color .2s, box-shadow .2s;
}
.program-item.is-open{
  border-color:rgba(6,52,98,.16);
  box-shadow:var(--shadow-sm);
}
.program-item-head{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  border:none;
  background:transparent;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.program-item-head:hover .program-title{ color:var(--primary); }
.program-num{
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--navy);
  color:var(--accent);
  font-family:'Montserrat', sans-serif;
  font-size:14px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.program-item.is-open .program-num{
  background:var(--primary);
  color:#fff;
}
.program-title{
  font-family:'Montserrat', sans-serif;
  font-size:16px;
  font-weight:700;
  color:var(--navy);
  line-height:1.35;
  transition:color .2s;
}
.program-chevron{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--bg);
  border:1px solid var(--line);
  position:relative;
  flex-shrink:0;
  transition:transform .25s, background .2s;
}
.program-chevron::before,
.program-chevron::after{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:10px;
  height:2px;
  background:var(--navy);
  border-radius:1px;
  transform:translate(-50%, -50%);
}
.program-chevron::after{
  transform:translate(-50%, -50%) rotate(90deg);
}
.program-item.is-open .program-chevron{
  transform:rotate(45deg);
  background:var(--primary-tint);
  border-color:rgba(255,73,66,.2);
}
.program-item-panel{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}
.program-item.is-open .program-item-panel{
  max-height:2000px;
}
.program-item-panel .program-body{
  padding:0 20px 20px 80px;
  border-top:1px solid var(--line);
  margin-top:0;
  padding-top:16px;
}
.program-item .pi-num{ font-family:'Roboto'; color:var(--primary); font-weight:600; font-size:15px; flex-shrink:0; }
.program-item h4{ font-size:16px; margin-bottom:8px; color:var(--navy); line-height:1.4; }
.program-item p,
.program-item li,
.program-body,
.program-body p,
.program-body li{
  font-size:16px;
  line-height:1.65;
  color:var(--ink-soft);
}

.expert-card{
  display:flex; gap:20px; align-items:center; background:var(--surface); border-radius:var(--radius-md);
  padding:24px; border:1px solid var(--line);
}
.expert-card .ph{
  width:64px; height:64px; border-radius:50%;
  background:var(--primary);
  border:3px solid var(--accent);
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff;
  font-family:'Montserrat'; font-size:20px; font-weight:700;
}
.expert-card b{ display:block; font-family:'Montserrat'; font-size:15px; color:var(--navy); }
.expert-card span{ font-size:13px; color:var(--ink-soft); }

/* ---------- form ---------- */
.form-card{ background:var(--surface); border-radius:var(--radius-md); padding:30px; border:1px solid var(--line); }
.form-row{ margin-bottom:14px; }
.form-row label{ display:block; font-size:13px; color:var(--ink-soft); margin-bottom:7px; }
.form-row input{
  width:100%; padding:13px 15px; border-radius:10px; border:1px solid var(--line);
  font-family:inherit; font-size:14.5px; background:var(--bg);
}
.form-row input:focus{ outline:2px solid var(--primary); outline-offset:1px; background:var(--surface); }
.form-note{ font-size:11.5px; color:var(--ink-faint); margin-top:12px; text-align:center; }

/* ---------- utility ---------- */
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.tag-list{ display:flex; flex-wrap:wrap; gap:10px; }
:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; }

/* categories grid — направления обучения */
.categories-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.cat-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:22px 18px;
  text-align:center;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color:var(--ink);
}
.cat-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}
.cat-card h3{
  font-size:14px;
  line-height:1.35;
  color:var(--navy);
  margin-top:12px;
}
.cat-card .cat-icon{
  width:44px; height:44px; border-radius:50%;
  background:var(--navy);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto;
}
.cat-card .cat-icon svg{ width:20px; height:20px; color:var(--accent); }

.seo-text-block{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:36px 32px;
}
.seo-text-block h2{ font-size:24px; color:var(--navy); margin-bottom:18px; }
.seo-text-block p{ font-size:15px; color:var(--ink-soft); line-height:1.65; margin-bottom:14px; }
.seo-text-block ul{ margin:16px 0; padding-left:20px; color:var(--ink-soft); font-size:15px; line-height:1.7; }

.reviews-embed{
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--line);
  min-height:420px;
  background:var(--surface);
}
.reviews-embed iframe{ width:100%; height:420px; border:0; display:block; }

.license-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.license-grid img{
  width:100%;
  height:auto;
  border-radius:10px;
  border:1px solid var(--line);
}

@media (max-width:980px){
  .categories-grid{ grid-template-columns:repeat(3,1fr); }
  .license-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .categories-grid{ grid-template-columns:repeat(2,1fr); }
  .license-grid{ grid-template-columns:1fr; }
}


/* ---------- landing / marketing homepage ---------- */
.urgency-bar{
  background:linear-gradient(90deg, var(--primary) 0%, #E83830 100%);
  color:#fff;
  font-size:13px;
  padding:10px 0;
  position:relative;
}
.urgency-inner{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  text-align:left;
}
.urgency-pulse{
  width:8px; height:8px; border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 0 0 rgba(169,228,77,.6);
  animation:urgency-pulse 1.8s ease infinite;
  flex-shrink:0;
}
@keyframes urgency-pulse{
  0%{ box-shadow:0 0 0 0 rgba(169,228,77,.55); }
  70%{ box-shadow:0 0 0 8px rgba(169,228,77,0); }
  100%{ box-shadow:0 0 0 0 rgba(169,228,77,0); }
}
.urgency-sep{ opacity:.5; }
.urgency-link{
  color:var(--accent);
  font-weight:600;
  margin-left:4px;
  white-space:nowrap;
}
.urgency-link:hover{ text-decoration:underline; }

.hero-landing{ padding:48px 0 100px; }
.hero-landing .hero-grid{ align-items:start; }
.hero-checks{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  list-style:none;
}
.hero-checks li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  color:#D6DCEC;
  line-height:1.4;
}
.hero-checks svg{
  width:18px; height:18px;
  color:var(--accent);
  flex-shrink:0;
  margin-top:2px;
}
.hero-checks.hero-checks-light{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 14px;
  margin-top:0;
  align-items:stretch;
  padding:0;
}
.home-hero-extra .hero-checks-light li{
  color:var(--navy);
  font-weight:600;
}

.hero-side{ position:relative; }
.hero-offer{
  background:var(--surface);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  color:var(--ink);
  border-top:4px solid var(--primary);
}
.hero-offer-top{ padding:24px 24px 16px; }
.hero-offer-badge{
  font-family:'Roboto', sans-serif;
  font-size:11px;
  padding:4px 10px;
  border-radius:999px;
  background:var(--primary-tint);
  color:var(--primary);
  font-weight:600;
  display:inline-block;
  margin-bottom:12px;
}
.hero-offer h3{
  font-size:17px;
  color:var(--navy);
  line-height:1.3;
  margin-bottom:10px;
}
.hero-offer-price .old{
  text-decoration:line-through;
  color:var(--ink-faint);
  font-size:14px;
  margin-right:8px;
}
.hero-offer-price b{
  font-family:'Montserrat',sans-serif;
  font-size:30px;
  color:var(--primary);
}
.hero-offer-note{
  margin-top:8px;
  font-size:13px;
  color:var(--ink-soft);
}
.hero-offer-form{
  padding:16px 24px 24px;
  background:var(--bg);
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hero-offer-form input{
  width:100%;
  padding:13px 15px;
  border-radius:10px;
  border:1px solid var(--line);
  font-family:inherit;
  font-size:14.5px;
  background:var(--surface);
}
.hero-offer-form input:focus{
  outline:2px solid var(--primary);
  outline-offset:1px;
}
.hero-founder{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:18px;
  padding:14px 16px;
  border-radius:var(--radius-md);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
}
.hero-founder img{
  width:56px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 16px rgba(0,0,0,.25));
}
.hero-founder b{
  display:block;
  font-family:'Montserrat',sans-serif;
  font-size:15px;
  color:#fff;
}
.hero-founder span{
  font-size:12.5px;
  color:#AEB8CF;
}

.trust-strip{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  padding:20px 0;
  margin-top:-40px;
  position:relative;
  z-index:2;
}
.trust-strip-grid{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13.5px;
  font-weight:600;
  color:var(--navy);
  white-space:nowrap;
}
.trust-item svg{
  width:20px; height:20px;
  color:var(--primary);
  flex-shrink:0;
}

.section-tight{ padding-top:72px; }
.pain-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.pain-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:28px 24px;
}
.pain-card-accent{
  border-color:var(--primary);
  box-shadow:0 8px 32px rgba(255,73,66,.1);
}
.pain-num{
  font-family:'Roboto', sans-serif;
  font-size:12px;
  color:var(--primary);
  font-weight:600;
  display:block;
  margin-bottom:14px;
}
.pain-card h3{
  font-size:17px;
  color:var(--navy);
  margin-bottom:10px;
  line-height:1.3;
}
.pain-card p{
  font-size:14px;
  color:var(--ink-soft);
  line-height:1.5;
}

.offer-block{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:start;
}
.offer-list{
  margin-top:24px;
  display:flex;
  flex-direction:column;
  gap:12px;
  list-style:none;
}
.offer-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  color:var(--ink-soft);
}
.offer-list svg{
  width:18px; height:18px;
  color:var(--teal);
  flex-shrink:0;
  margin-top:2px;
}
.price-card-hero{ position:sticky; top:96px; }
.price-card-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.price-save{
  font-family:'Roboto', sans-serif;
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  background:#E8FBD8;
  color:#036657;
  font-weight:600;
}
.info-strip-landing{ margin-top:0; }

.founder-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:center;
}
.founder-visual{
  position:relative;
  display:flex;
  justify-content:center;
}
.founder-visual img{
  width:100%;
  max-width:360px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 20px 40px rgba(6,52,98,.15));
  position:relative;
  z-index:1;
}
.founder-stats{
  display:flex;
  gap:32px;
  margin-top:32px;
  flex-wrap:wrap;
}
.founder-stats b{
  display:block;
  font-family:'Montserrat',sans-serif;
  font-size:28px;
  color:var(--primary);
}
.founder-stats span{
  font-size:13px;
  color:var(--ink-faint);
}

.compare-table{
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  background:var(--surface);
}
.compare-row{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:0;
  border-bottom:1px solid var(--line);
  font-size:14px;
}
.compare-row:last-child{ border-bottom:none; }
.compare-row > div{
  padding:16px 20px;
  display:flex;
  align-items:center;
}
.compare-head{
  background:var(--navy);
  color:#fff;
  font-family:'Montserrat',sans-serif;
  font-weight:600;
  font-size:14px;
}
.compare-head > div:first-child{ background:transparent; }
.compare-row > div:first-child{
  font-weight:500;
  color:var(--navy);
}
.compare-row .yes{
  color:var(--teal);
  font-weight:700;
  font-size:18px;
  justify-content:center;
}
.compare-row .no{
  color:var(--ink-faint);
  font-size:18px;
  justify-content:center;
}
.compare-row > div:nth-child(2){
  background:var(--primary-tint);
  justify-content:center;
  font-weight:600;
  color:var(--navy);
}

.reviews-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.review-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
}
.review-card-featured{
  border-color:var(--primary);
  box-shadow:0 12px 36px rgba(255,73,66,.12);
  transform:translateY(-4px);
}
.review-stars{
  color:var(--primary);
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:14px;
}
.review-card p{
  font-size:14.5px;
  color:var(--ink-soft);
  line-height:1.55;
  flex:1;
}
.review-author{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.review-author b{
  display:block;
  font-family:'Montserrat',sans-serif;
  font-size:14px;
  color:var(--navy);
}
.review-author span{
  font-size:12.5px;
  color:var(--ink-faint);
}

.adv-grid{ grid-template-columns:repeat(3,1fr); }

.apply-perks{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:24px;
}
.apply-perk{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14.5px;
  color:var(--ink-soft);
  font-weight:500;
}
.apply-perk svg{
  width:18px; height:18px;
  color:var(--teal);
  flex-shrink:0;
}
.form-card-promo{
  border-top:4px solid var(--primary);
  box-shadow:var(--shadow-lg);
}
.form-promo-badge{
  font-family:'Roboto', sans-serif;
  font-size:12px;
  padding:8px 14px;
  border-radius:10px;
  background:var(--primary-tint);
  color:var(--primary);
  font-weight:600;
  text-align:center;
  margin-bottom:20px;
}
.form-row select{
  width:100%;
  padding:13px 15px;
  border-radius:10px;
  border:1px solid var(--line);
  font-family:inherit;
  font-size:14.5px;
  background:var(--bg);
  color:var(--ink);
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236F7A94' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:36px;
}
.form-row select:focus{
  outline:2px solid var(--primary);
  outline-offset:1px;
  background-color:var(--surface);
}

.faq-item.open .faq-a{ max-height:320px; }

/* ---------- homepage (migrated) ---------- */
.page-home .section{ padding:80px 0; }
.page-home .section-head h2{
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.18;
  color:var(--navy);
}
.page-home .section-head h2 b{ color:var(--primary); font-weight:inherit; }
.page-home .section-head.center{ max-width:760px; }

.page-trenings .section{ padding:56px 0; }
.page-trenings-hero{
  padding-top:40px;
  padding-bottom:8px;
  background:var(--surface);
}
.page-trenings-hero .section-head{ margin-bottom:0; max-width:760px; }
.page-trenings-hero h1{
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.18;
  color:var(--navy);
}
.page-trenings-hero h1 b{ color:var(--primary); font-weight:inherit; }
.page-trenings .home-directions{ padding-top:32px; }
.page-trenings-directions{
  padding-top:24px;
  padding-bottom:56px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.page-trenings-directions .home-course-card h3{
  flex:1;
}

.page-trenings-benefits{
  padding:72px 0 80px;
  background:linear-gradient(180deg, #F4F7FB 0%, var(--surface) 100%);
  border-top:1px solid var(--line);
}
.page-trenings-benefits .section-head{
  max-width:760px;
  margin-bottom:44px;
}
.page-trenings-benefits .section-head h2{
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.18;
  color:var(--navy);
}
.page-trenings-benefits .section-head h2 b{
  color:var(--primary);
  font-weight:inherit;
}

.page-online .section{ padding:56px 0; }
.page-online-courses{
  padding-top:32px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.page-online-courses .section-head{
  max-width:760px;
  margin-bottom:40px;
}
.page-online-courses .section-lead{
  margin-top:14px;
  font-size:16px;
  line-height:1.6;
  color:var(--ink-soft);
}
.online-course-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}
.online-course-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.online-course-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.online-course-img{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#E8EBF2;
}
.online-course-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .35s ease;
}
.online-course-card:hover .online-course-img img{
  transform:scale(1.04);
}
.online-course-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px 20px 20px;
}
.online-course-body h3{
  margin:0;
  font-size:17px;
  line-height:1.32;
  color:var(--navy);
}
.online-course-body h3 a{
  color:inherit;
  text-decoration:none;
}
.online-course-body h3 a:hover{ color:var(--primary); }
.online-course-desc{
  margin:10px 0 0;
  font-size:14px;
  line-height:1.55;
  color:var(--ink-soft);
  flex:1;
}
.online-course-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.online-course-price b{
  font-family:'Montserrat', sans-serif;
  font-size:19px;
  color:var(--primary);
  white-space:nowrap;
}
.page-online-info{
  background:var(--bg);
}
.page-online-info .section-head{
  max-width:none;
  margin-bottom:32px;
}
.page-online-faq{
  max-width:none;
  margin:0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:8px 28px;
  box-shadow:var(--shadow-sm);
}
.page-online-faq .faq-a p{
  max-width:none;
  line-height:1.65;
}
.page-online-faq .faq-item:last-child{
  border-bottom:none;
}
.page-online .faq-item.open .faq-a{
  max-height:1200px;
}

.page-online .faq-item.open .faq-a{
  max-height:1200px;
}

.page-online{ padding-top:0; }
.page-online > .site-breadcrumbs{ display:none; }
.page-online .page-trenings-hero{ display:none; }
.hero-online{
  padding:48px 0 88px;
}
.hero-online h1 .hero-online-subtitle{
  display:block;
  margin-top:10px;
  font-size:clamp(20px, 2.4vw, 30px);
  font-weight:600;
  color:var(--accent);
  line-height:1.2;
}
.hero-online .hero-grid{
  min-height:420px;
  align-items:end;
  gap:32px 20px;
}
.hero-online .hero-founder-zero{
  width:min(100%, 440px);
  align-self:end;
  justify-self:end;
  margin-bottom:0;
}
.hero-online .hero-founder-glow{
  width:340px;
  height:340px;
  bottom:78px;
  left:40%;
  background:radial-gradient(circle, rgba(255,73,66,.34) 0%, rgba(169,228,77,.12) 48%, transparent 72%);
}
.hero-online .hero-founder-photo{
  position:relative;
  z-index:1;
  width:100%;
  max-height:clamp(400px, calc(100vh - 220px), 520px);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
}
.hero-online .hero-founder-photo > img{
  max-width:440px;
  max-height:clamp(400px, calc(100vh - 220px), 520px);
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center 18%;
  display:block;
  filter:drop-shadow(0 20px 38px rgba(0,0,0,.32));
}
.hero-online .hero-founder-caption{
  bottom:24px;
  background:rgba(6,52,98,.88);
  border:1px solid rgba(255,255,255,.18);
}
.hero-online .hero-founder-caption .hero-founder-badge{
  background:linear-gradient(135deg, #E8C08A 0%, #C8945A 100%);
  color:var(--navy);
  font-size:11px;
  font-weight:700;
  padding:6px 12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.hero-online .hero-founder-caption span:not(.hero-founder-badge){
  font-size:12.5px;
  color:#C5CDDF;
}
.hero-online .hero-cta .btn-outline{
  border-color:rgba(255,255,255,.34);
  color:#fff;
  background:transparent;
}
.hero-online .hero-cta .btn-outline:hover{
  border-color:#fff;
  color:var(--navy);
  background:#fff;
}
.hero-online-trust{
  margin-top:28px;
}

.page-individual .section{ padding:56px 0; }
.page-individual .page-trenings-hero{ display:none; }
.hero-individual{
  padding:48px 0 88px;
}
.hero-individual .hero-grid{
  min-height:420px;
  align-items:end;
  gap:32px 20px;
}
.hero-individual .about-hero-visual{
  justify-self:end;
  align-self:end;
}
.hero-individual .hero-cta .btn-outline{
  border-color:rgba(255,255,255,.34);
  color:#fff;
  background:transparent;
}
.hero-individual .hero-cta .btn-outline:hover{
  border-color:#fff;
  color:#fff;
  background:rgba(255,255,255,.08);
}
.hero-individual-trust{
  margin-top:40px;
}
.page-individual-programs{
  padding-top:32px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.page-individual-programs .section-head{
  max-width:760px;
  margin-bottom:40px;
}
.page-individual-programs .section-lead{
  margin-top:14px;
  font-size:16px;
  line-height:1.6;
  color:var(--ink-soft);
}
.individual-program-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}
.individual-program-grid--duo{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  max-width:1080px;
  margin:0 auto;
}
.individual-expert-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.individual-expert-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:rgba(227,30,36,.16);
}
.individual-expert-head{
  display:flex;
  gap:18px;
  align-items:center;
  padding:22px 22px 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.individual-expert-avatar{
  flex-shrink:0;
  width:88px;
  height:88px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--accent);
  box-shadow:0 8px 20px rgba(15,23,42,.12);
}
.individual-expert-avatar img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.individual-expert-avatar-ph{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:#fff;
  font-family:'Montserrat', sans-serif;
  font-size:24px;
  font-weight:700;
}
.individual-expert-copy h3{
  margin:0;
  font-size:20px;
  line-height:1.2;
  color:var(--navy);
}
.individual-expert-role{
  margin:6px 0 0;
  font-size:13.5px;
  line-height:1.45;
  color:var(--ink-soft);
}
.individual-expert-count{
  display:inline-flex;
  margin-top:10px;
  padding:4px 10px;
  border-radius:999px;
  background:var(--primary-tint);
  color:var(--primary);
  font-family:'Roboto', sans-serif;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.02em;
}
.individual-program-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-content:flex-start;
  flex:1;
  min-height:220px;
  padding:20px 22px;
}
.individual-program-chips--solo{
  align-items:center;
  justify-content:center;
}
.individual-program-chip{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--bg);
  font-size:13.5px;
  line-height:1.35;
  color:var(--ink);
}
.individual-program-chips--solo .individual-program-chip{
  width:100%;
  justify-content:center;
  min-height:72px;
  padding:18px 20px;
  font-family:'Montserrat', sans-serif;
  font-size:17px;
  font-weight:600;
  color:var(--navy);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
}
.individual-expert-footer{
  padding:0 22px 22px;
  margin-top:auto;
}
.individual-program-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.individual-program-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:rgba(227,30,36,.16);
}
.individual-program-photo img{
  display:block;
  width:100%;
  aspect-ratio:359 / 200;
  object-fit:cover;
  object-position:center top;
}
.individual-program-list{
  list-style:none;
  margin:0;
  padding:20px 22px 8px;
  flex:1;
  display:grid;
  gap:10px;
}
.individual-program-list li{
  position:relative;
  padding-left:18px;
  font-size:14.5px;
  line-height:1.45;
  color:var(--ink);
}
.individual-program-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--primary);
}
.individual-program-btn{
  margin:16px 22px 22px;
  align-self:flex-start;
}
.page-individual-benefits{
  padding:64px 0 72px;
  background:var(--bg);
}
.page-individual-benefits .section-head{
  max-width:760px;
  margin-bottom:44px;
}
.page-individual-benefits .section-head h2{
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.18;
  color:var(--navy);
}
.page-individual-benefits .section-head h2 b{
  color:var(--primary);
  font-weight:inherit;
}
.individual-benefit-card p{
  margin:0;
  font-family:'Montserrat', sans-serif;
  font-size:16px;
  font-weight:600;
  line-height:1.45;
  color:var(--navy);
}
.individual-benefit-card .trenings-benefit-icon{
  margin-bottom:14px;
}
.individual-benefits-grid{
  gap:20px;
}
.individual-benefits-grid .individual-benefit-card{
  padding:24px 20px 22px;
}

.page-trenings-experts,
.page-experts .page-trenings-experts{
  padding:64px 0 72px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.page-trenings-experts .section-head{
  max-width:760px;
  margin-bottom:44px;
}
.page-trenings-experts .section-head h2{
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.18;
  color:var(--navy);
}
.page-trenings-experts .section-head h2 b{
  color:var(--primary);
  font-weight:inherit;
}
.trenings-experts-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}
.trenings-expert-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.trenings-expert-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:rgba(227,30,36,.18);
}
.trenings-expert-photo img,
.trenings-expert-photo-ph{
  display:block;
  width:100%;
  aspect-ratio:359 / 200;
  object-fit:cover;
}
.trenings-expert-photo-ph{
  background:linear-gradient(135deg, #E8EDF5 0%, #D7E0EC 100%);
}
.trenings-expert-body{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
  padding:24px 22px 28px;
}
.trenings-expert-name{
  font-family:'Montserrat', sans-serif;
  font-size:22px;
  line-height:1.2;
  color:var(--navy);
  margin:0;
}
.trenings-expert-role{
  margin:0;
  font-size:15px;
  line-height:1.45;
  color:var(--ink-soft);
}
.trenings-expert-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px 12px;
  margin-top:2px;
}
.trenings-expert-social{
  font-size:12.5px;
  font-weight:600;
  color:var(--primary);
  text-decoration:none;
}
.trenings-expert-social:hover{ text-decoration:underline; }
.trenings-expert-btn{ margin-top:auto; }

.fs-expert-dialog{
  border:none;
  border-radius:var(--radius-lg);
  padding:0;
  width:min(680px, calc(100vw - 32px));
  max-height:calc(100vh - 32px);
  overflow:hidden;
  background:transparent;
  box-shadow:none;
}
.fs-expert-dialog:not([open]){
  display:none;
}
.fs-expert-dialog::backdrop{
  background:rgba(15,34,58,.58);
}
.fs-expert-dialog-panel{
  position:relative;
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 32px);
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
}
.fs-expert-dialog-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:var(--bg);
  color:var(--ink-soft);
  cursor:pointer;
}
.fs-expert-dialog-close svg{ width:18px; height:18px; }
.fs-expert-dialog-head{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:18px;
  align-items:center;
  padding:24px 56px 18px 24px;
  border-bottom:1px solid var(--line);
}
.fs-expert-dialog-photo img,
.fs-expert-dialog-photo .trenings-expert-photo-ph{
  width:120px;
  aspect-ratio:1;
  border-radius:14px;
  object-fit:cover;
}
.fs-expert-dialog-head h3{
  margin:0 0 6px;
  font-family:'Montserrat', sans-serif;
  font-size:24px;
  color:var(--navy);
}
.fs-expert-dialog-head p{
  margin:0;
  font-size:15px;
  line-height:1.45;
  color:var(--ink-soft);
}
.fs-expert-dialog-bio{
  padding:20px 24px 24px;
  overflow:auto;
  font-size:14.5px;
  line-height:1.55;
  color:var(--ink-soft);
}
.fs-expert-dialog-bio ul{
  margin:0;
  padding-left:18px;
}
.fs-expert-dialog-bio li{ margin-bottom:8px; }
.fs-expert-dialog-bio li:last-child{ margin-bottom:0; }
.fs-expert-dialog-bio p{ margin:0 0 10px; }
.fs-expert-dialog-bio p:last-child{ margin-bottom:0; }

/* Страница эксперта /experts/{slug}/ */
.expert-profile{
  padding:48px 0 56px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.expert-profile-grid{
  display:grid;
  grid-template-columns:minmax(240px, 360px) minmax(0, 1fr);
  gap:40px 48px;
  align-items:start;
}
.expert-profile-photo img,
.expert-profile-photo-ph{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:var(--radius-lg);
  background:var(--line);
  display:block;
}
.expert-profile-eyebrow{
  margin:0 0 8px;
  font:600 13px/1.3 Montserrat, sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--primary);
}
.expert-profile-name{
  margin:0 0 10px;
  font:700 clamp(28px, 3.4vw, 42px)/1.15 Montserrat, sans-serif;
  color:var(--navy);
}
.expert-profile-role{
  margin:0 0 18px;
  font-size:18px;
  color:var(--ink-soft);
}
.expert-profile-bio{
  margin:22px 0 28px;
  font-size:15.5px;
  line-height:1.6;
  color:var(--ink-soft);
}
.expert-profile-bio ul{
  margin:0;
  padding-left:18px;
}
.expert-profile-bio li{ margin-bottom:8px; }
.expert-profile-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.expert-more{
  padding:48px 0 64px;
}
.expert-more-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.expert-more-card{
  display:flex;
  gap:14px;
  align-items:center;
  padding:12px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  text-decoration:none;
  color:inherit;
  background:var(--surface);
  transition:border-color .2s, box-shadow .2s;
}
.expert-more-card:hover{
  border-color:var(--navy);
  box-shadow:var(--shadow-sm);
}
.expert-more-photo{
  width:64px;
  height:64px;
  flex-shrink:0;
  border-radius:12px;
  overflow:hidden;
  background:var(--line);
}
.expert-more-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.expert-more-name{
  font:600 15px/1.3 Montserrat, sans-serif;
  color:var(--navy);
}
.expert-more-role{
  margin-top:2px;
  font-size:13px;
  color:var(--ink-soft);
}
.expert-courses{
  background:#F6F8FC;
  padding-top:56px;
  padding-bottom:56px;
}
.expert-courses-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}
.expert-course-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border:1px solid #E4E9F2;
  border-radius:16px;
  overflow:hidden;
  min-height:100%;
}
.expert-course-img{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#E8EBF2;
}
.expert-course-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.expert-course-body{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:18px 20px 20px;
  flex:1;
}
.expert-course-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.expert-course-badge{
  font-size:12px;
  font-family:'Roboto',sans-serif;
  color:var(--ink-faint);
  background:#EEF2F8;
  padding:4px 10px;
  border-radius:999px;
}
.expert-course-badge.is-open{
  background:#E8FBD8;
  color:#036657;
}
.expert-course-title{
  margin:0;
  font-size:18px;
  line-height:1.3;
  color:var(--navy);
}
.expert-course-title a{
  color:inherit;
  text-decoration:none;
}
.expert-course-title a:hover{ color:var(--primary); }
.expert-course-lead{
  margin:0;
  font-size:14px;
  line-height:1.45;
  color:var(--ink-faint);
}
.expert-course-meta{
  display:grid;
  gap:8px;
  margin-top:auto;
}
.expert-course-meta-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:13px;
  color:var(--navy);
}
.expert-course-meta-label{
  color:var(--ink-faint);
  flex-shrink:0;
}
.expert-course-body .btn{
  align-self:flex-start;
  margin-top:4px;
}
.course-expert-card b a{
  color:inherit;
  text-decoration:none;
}
.course-expert-card b a:hover{ color:var(--primary); }
.trenings-expert-name a{
  color:inherit;
  text-decoration:none;
}
.trenings-expert-name a:hover{ color:var(--primary); }
.trenings-expert-photo{ display:block; }
@media (max-width:900px){
  .expert-profile-grid{ grid-template-columns:1fr; gap:24px; }
  .expert-profile-photo img,
  .expert-profile-photo-ph{ max-width:320px; margin:0 auto; }
  .expert-more-grid{ grid-template-columns:1fr; }
  .expert-courses-grid{ grid-template-columns:1fr; }
}

.home-vacancies-section{
  padding:32px 0 48px;
  background:transparent;
}
.home-vacancies-section .home-vacancies-banner{
  margin-top:0;
}
.page-individual .home-vacancies-section,
.page-trenings .home-vacancies-section,
.page-online .home-vacancies-section,
.page-trial .home-vacancies-section,
.page-catalog .home-vacancies-section,
.page-course .home-vacancies-section{
  padding:32px 0 48px;
}
.page-individual-benefits + .home-vacancies-section,
.page-trenings-benefits + .home-vacancies-section{
  padding-top:0;
}
.page-individual-benefits:has(+ .home-vacancies-section),
.page-trenings-benefits:has(+ .home-vacancies-section){
  padding-bottom:48px;
  border-bottom:none;
}
.page-catalog .page-trenings-benefits + .home-vacancies-section{
  background:transparent;
  border-top:none;
  padding-bottom:56px;
}
main.page-individual + .site-footer,
main.page-trenings + .site-footer,
main.page-online + .site-footer,
main.page-trial + .site-footer,
main.page-catalog:has(.home-vacancies-section:last-child) + .site-footer,
main:has(.home-vacancies-section:last-child) + .site-footer{
  margin-top:0;
  border-top:none;
}
.home-advantages .home-vacancies-banner{
  margin-top:36px;
}

.trenings-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}
.trenings-benefit-card{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:100%;
  padding:32px 28px 30px;
  border-radius:var(--radius-lg);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.trenings-benefit-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:rgba(6,52,98,.12);
}
.trenings-benefit-icon{
  width:72px;
  height:72px;
  margin-bottom:22px;
  border-radius:20px;
  background:linear-gradient(145deg, var(--navy-soft) 0%, var(--navy) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  box-shadow:0 10px 24px rgba(6,52,98,.16);
}
.trenings-benefit-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:brightness(0) invert(1);
}
.trenings-benefit-card h3{
  font-size:16px;
  line-height:1.35;
  letter-spacing:.02em;
  color:var(--navy);
  margin-bottom:12px;
}
.trenings-benefit-card p{
  font-size:15px;
  line-height:1.65;
  color:var(--ink-soft);
}
.trenings-benefits-grid.individual-benefits-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

.home-intro{
  padding:56px 0 48px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.home-intro-shell{
  text-align:left;
}
.home-intro-head{
  max-width:none;
  margin-bottom:28px;
}
.home-intro-eyebrow{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:var(--primary-tint);
  color:var(--navy);
  font-family:'Montserrat', sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
}
.home-intro-head h2{
  max-width:760px;
  margin:0;
}
.home-intro-columns{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px 36px;
}
.home-intro-col{
  margin:0;
  font-size:16px;
  line-height:1.72;
  color:var(--ink-soft);
}

.home-promos{ padding-top:8px; }
.home-promo-stack{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}
.home-promo-card{
  display:flex;
  flex-direction:column;
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  height:100%;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.home-promo-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}
.home-promo-media{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  flex-shrink:0;
  background:#E8EBF2 center/cover no-repeat;
  overflow:hidden;
  transition:transform .4s ease;
}
.home-promo-card:hover .home-promo-media{
  transform:scale(1.05);
}
.home-promo-body{
  padding:18px 16px 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}
.home-promo-title{ font-size:15px; line-height:1.35; color:var(--navy); margin:0; }
.home-promo-title a{
  color:inherit;
  text-decoration:none;
  transition:color .15s ease;
}
.home-promo-card:hover .home-promo-title a{ color:var(--primary); }
.home-promo-bullets{
  font-size:13px;
  color:var(--ink-soft);
  line-height:1.55;
  flex:1;
}
.home-promo-bullets br{ display:block; content:''; margin-top:6px; }
.home-promo-check{
  display:inline-flex;
  width:15px;
  height:15px;
  vertical-align:-3px;
  margin-right:4px;
  color:var(--accent);
  flex-shrink:0;
}
.home-promo-check svg{ width:15px; height:15px; display:block; }
.home-promo-bullets img.emoji{ display:none; }
.home-promo-body .btn{
  align-self:stretch;
  width:100%;
  text-align:center;
  margin-top:auto;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.home-promo-card:hover .home-promo-body .btn-outline{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}
.home-promo-card:hover .home-promo-body .btn-outline:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}

.home-directions{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.home-dir-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:14px;
}
.home-dir-card{
  background:linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-md);
  padding:22px 12px 18px;
  text-align:center;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  min-height:148px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.home-dir-card:hover{
  transform:translateY(-6px);
  background:linear-gradient(165deg, var(--navy) 0%, #042a52 100%);
  box-shadow:0 14px 36px rgba(6,52,98,.24);
  border-color:rgba(169,228,77,.4);
  z-index:1;
  position:relative;
}
.home-dir-icon{
  width:64px;
  height:64px;
  margin:0 auto 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.home-dir-card:hover .home-dir-icon{
  transform:scale(1.06);
  background:rgba(169,228,77,.14);
  border-color:rgba(169,228,77,.45);
}
.home-dir-icon img{
  width:44px;
  height:44px;
  object-fit:contain;
}
.home-dir-title{
  display:block;
  font-family:'Montserrat', sans-serif;
  font-size:13px;
  font-weight:700;
  color:#fff;
  line-height:1.35;
  transition:color .15s ease;
}
.home-dir-card:hover .home-dir-title{ color:var(--accent); }

.home-schedule{
  background:#fff;
}
.home-schedule .home-tab-nav{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:36px;
}
.home-tab-btn{
  padding:12px 24px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface);
  font-size:14px;
  font-weight:600;
  color:var(--ink-soft);
  transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.home-tab-btn:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
  border-color:var(--navy);
  color:var(--navy);
}
.home-tab-btn.is-active{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
  transform:none;
  box-shadow:0 8px 20px rgba(6,52,98,.18);
}
.home-course-grid{ gap:20px; }
.home-course-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.home-course-img{
  display:block;
  aspect-ratio:16/11;
  overflow:hidden;
  background:#E8EBF2;
}
.home-course-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .4s ease;
}
.home-course-card:hover .home-course-img img{
  transform:scale(1.05);
}
.home-course-card .cc-top{
  padding:16px 20px 0;
}
.home-course-card h3{
  padding:12px 20px 0;
  min-height:0;
  font-size:17px;
}
.home-course-card .cc-meta{
  margin-top:10px;
  padding:14px 20px;
}
.home-course-card .cc-price{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 12px;
  padding:16px 20px;
}
.home-course-card .cc-price .btn{
  margin-left:0;
  flex-shrink:0;
}
.home-course-card .cc-price b{
  font-size:19px;
  white-space:nowrap;
}

.home-schedule-cta{
  padding:0 0 72px;
  margin-top:-8px;
  background:#fff;
}
.home-schedule-cta-banner{
  align-items:stretch;
  gap:40px;
}
.cta-banner-copy{
  flex:1;
  min-width:min(100%, 320px);
}
.home-consult-form{
  flex:1;
  min-width:min(100%, 360px);
  max-width:420px;
  display:grid;
  gap:10px;
  position:relative;
}
.home-consult-form input:not([type="checkbox"]),
.home-consult-form textarea{
  width:100%;
  padding:13px 15px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-family:inherit;
  font-size:14.5px;
  transition:border-color .15s ease, background .15s ease;
}
.home-consult-form input:not([type="checkbox"])::placeholder,
.home-consult-form textarea::placeholder{
  color:#9AA8C4;
}
.home-consult-form input:not([type="checkbox"]):focus,
.home-consult-form textarea:focus{
  outline:none;
  border-color:rgba(169,228,77,.55);
  background:rgba(255,255,255,.12);
}
.home-consult-form .site-lead-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  max-width:100%;
}
.home-consult-form .site-lead-consent input[type="checkbox"]{
  width:16px;
  height:16px;
  margin-top:2px;
  padding:0;
  flex:0 0 16px;
  border:none;
  background:transparent;
  accent-color:var(--accent);
}
.home-consult-form .site-lead-consent span{
  flex:1 1 auto;
  min-width:0;
}
.home-consult-form textarea{
  resize:vertical;
  min-height:72px;
}
.cta-form-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
  align-items:center;
}
.cta-form-phone{
  display:inline-flex;
  align-items:center;
  min-height:53px;
  padding:0 4px;
  font-family:'Montserrat', sans-serif;
  font-size:17px;
  font-weight:700;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
}
.cta-form-phone:hover{
  color:var(--accent);
}
.cta-form-call{
  display:none;
}
@media (max-width:640px){
  .cta-form-phone{
    display:none;
  }
  .cta-form-call{
    display:inline-flex;
  }
}
.home-consult-form .form-status{
  color:#C5CDDF;
}
.home-consult-form .form-status--ok{ color:#B8E986; }
.home-consult-form .form-status--error{ color:#FFB4B0; }
.form-note-light{
  color:#8C96AE !important;
  text-align:left !important;
  margin-top:6px !important;
  font-size:12px !important;
}
.form-note-light a{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:2px;
}

.home-reviews{
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(255,73,66,.06), transparent 62%),
    radial-gradient(700px 360px at 100% 100%, rgba(169,228,77,.08), transparent 60%),
    var(--bg);
}
.home-reviews-layout{
  display:grid;
  grid-template-columns:minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap:clamp(28px, 4vw, 56px);
  align-items:center;
}
.home-reviews-copy{
  max-width:420px;
}
.home-reviews-stars{
  color:var(--primary);
  font-size:15px;
  letter-spacing:3px;
  margin-bottom:18px;
}
.home-reviews-title{
  font-size:clamp(28px, 3.4vw, 40px);
  line-height:1.12;
  color:var(--navy);
  letter-spacing:-.02em;
}
.home-reviews-title b{
  color:var(--primary);
  font-weight:inherit;
}
.home-reviews-caption{
  margin-top:16px;
  font-size:16px;
  line-height:1.55;
  color:var(--ink-soft);
}
.home-reviews-link{
  margin-top:28px;
  white-space:normal;
  text-align:center;
  line-height:1.35;
  max-width:100%;
}
.home-reviews-stage{
  position:relative;
  min-width:0;
  max-width:100%;
}
.home-reviews-frame{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  transition:transform .22s ease, box-shadow .22s ease;
  width:100%;
  max-width:100%;
}
.home-reviews-frame:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(6,52,98,.14);
}
.home-reviews-frame-bar{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 20px;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color:#fff;
  font-size:14px;
  font-weight:600;
}
.home-reviews-frame-mark{
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.home-reviews-frame-mark svg{
  width:18px;
  height:18px;
  color:var(--accent);
}
.home-reviews-frame-label{
  line-height:1.35;
}
.home-reviews-widget{
  max-width:100%;
  margin:0;
  border:none;
  border-radius:0;
  box-shadow:none;
  background:var(--surface);
  overflow:hidden;
}
.home-reviews-widget:hover{
  transform:none;
  box-shadow:none;
}
.home-reviews-widget iframe{
  width:100%;
  max-width:100%;
  height:min(72vh, 680px);
  min-height:520px;
  border:0;
  display:block;
  background:var(--surface);
}

.home-license{ background:var(--surface); border-top:1px solid var(--line); }
.home-license-head{ margin-bottom:28px; }
.home-license-head .eyebrow{ justify-content:flex-start; }
.home-license-title{
  font-size:clamp(28px,3.4vw,40px);
  line-height:1.15;
  color:var(--navy);
  max-width:720px;
  margin:0;
  text-align:left;
}
.home-license-title b{ color:var(--primary); font-weight:inherit; }
.home-license-sub{
  margin:12px 0 0;
  font-size:16px;
  line-height:1.5;
  color:var(--ink-soft);
  max-width:640px;
}
.home-license-carousel{
  position:relative;
  padding:4px 52px 52px;
  overflow:hidden;
  max-width:100%;
}
.home-license-carousel.swiper,
.fs-media-carousel.swiper{
  overflow:hidden;
}
.home-license-carousel .swiper-slide,
.fs-media-carousel .swiper-slide{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-radius:var(--radius-md);
  border:1px solid var(--line);
  overflow:hidden;
  min-height:340px;
  padding:10px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  cursor:zoom-in;
}
.home-license-carousel .swiper-slide:hover,
.fs-media-carousel .swiper-slide:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(255,73,66,.25);
}
.home-license-carousel img,
.fs-media-carousel img{
  width:100%;
  height:320px;
  object-fit:contain;
  padding:6px;
}
.home-license-carousel .swiper-button-prev,
.home-license-carousel .swiper-button-next,
.fs-media-carousel .swiper-button-prev,
.fs-media-carousel .swiper-button-next{
  color:var(--navy);
  width:44px;
  height:44px;
  margin-top:-22px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:50%;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.home-license-carousel .swiper-button-prev::after,
.home-license-carousel .swiper-button-next::after,
.fs-media-carousel .swiper-button-prev::after,
.fs-media-carousel .swiper-button-next::after{
  font-size:16px;
  font-weight:700;
}
.home-license-carousel .swiper-button-prev,
.fs-media-carousel .swiper-button-prev{ left:0; }
.home-license-carousel .swiper-button-next,
.fs-media-carousel .swiper-button-next{ right:0; }
.home-license-carousel .swiper-button-prev:hover,
.home-license-carousel .swiper-button-next:hover,
.fs-media-carousel .swiper-button-prev:hover,
.fs-media-carousel .swiper-button-next:hover{
  color:var(--primary);
  border-color:rgba(255,73,66,.3);
  box-shadow:var(--shadow-md);
  transform:scale(1.06);
}
.home-license-carousel .swiper-pagination,
.fs-media-carousel .swiper-pagination{
  bottom:8px;
}
.home-license-carousel .swiper-pagination-bullet,
.fs-media-carousel .swiper-pagination-bullet{
  width:8px;
  height:8px;
  opacity:.35;
  background:var(--navy);
}
.home-license-carousel .swiper-pagination-bullet-active,
.fs-media-carousel .swiper-pagination-bullet-active{
  opacity:1;
  background:var(--primary);
  width:22px;
  border-radius:999px;
}

.fs-carousel-section{
  background:var(--surface);
  border-top:1px solid var(--line);
}
.fs-carousel-section--reviews{
  background:var(--bg);
}
.fs-carousel-head{
  margin-bottom:28px;
}
.fs-carousel-title{
  font-size:clamp(28px,3.4vw,40px);
  line-height:1.15;
  color:var(--navy);
  margin:0;
}
.fs-carousel-title b{
  color:var(--primary);
  font-weight:inherit;
}
.fs-media-carousel--reviews .swiper-slide{
  min-height:0;
  max-height:460px;
  cursor:default;
  overflow:hidden;
}
.fs-media-carousel--reviews img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:440px;
  object-fit:contain;
}
.fs-carousel-section--diplomas{
  background:var(--bg);
}
.fs-media-carousel--diplomas .swiper-slide{
  min-height:0;
  max-height:520px;
  cursor:default;
  overflow:hidden;
}
.fs-media-carousel--diplomas img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:500px;
  object-fit:contain;
  background:#fff;
  border-radius:var(--radius-md);
  border:1px solid var(--line);
}

.home-advantages .adv-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}
.home-adv-card{
  padding:20px 18px;
  flex-direction:column;
  gap:14px;
  align-items:flex-start;
  transition:none;
}
.home-adv-card:hover{
  transform:none;
  box-shadow:none;
  border-color:var(--line);
}
.home-adv-card .ai{
  width:40px;
  height:40px;
  background:transparent;
  border-radius:0;
  transition:none;
}
.home-adv-card:hover .ai{
  background:transparent;
  transform:none;
}
.home-adv-card .ai img{
  width:44px;
  height:44px;
  object-fit:contain;
}
.home-adv-card b{
  font-size:14px;
  line-height:1.42;
  margin-bottom:0;
}

.home-vacancies-banner{
  margin-top:36px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  min-height:141px;
  padding:0 0 0 clamp(24px, 4vw, 48px);
  border-radius:var(--radius-lg);
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color:#fff;
  box-shadow:var(--shadow-lg);
  transition:transform .22s ease, box-shadow .22s ease;
}
.home-vacancies-banner:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 60px rgba(6,52,98,.22);
}
.home-vacancies-banner::before{
  content:'';
  position:absolute;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,73,66,.24), transparent 70%);
  top:-140px;
  left:18%;
  pointer-events:none;
}
.home-vacancies-banner::after{
  content:'';
  position:absolute;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(169,228,77,.16), transparent 72%);
  bottom:-120px;
  left:-40px;
  pointer-events:none;
}
.home-vacancies-body{
  position:relative;
  z-index:2;
  flex:1;
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  padding:clamp(20px, 3vw, 28px) 24px clamp(20px, 3vw, 28px) 0;
  min-width:0;
}
.home-vacancies-copy{
  flex:1;
  min-width:min(100%, 280px);
}
.home-vacancies-copy h3{
  margin:0;
  font-family:'Montserrat', sans-serif;
  font-size:clamp(18px, 2.3vw, 24px);
  line-height:1.28;
  color:#fff;
  letter-spacing:-.01em;
}
.home-vacancies-btn{
  flex-shrink:0;
  min-width:148px;
}
.home-vacancies-photo{
  position:relative;
  z-index:1;
  flex:0 0 clamp(220px, 34%, 400px);
  align-self:stretch;
  min-height:141px;
  overflow:hidden;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
}
.home-vacancies-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
  display:block;
}

.home-seo{
  padding:72px 0 80px;
  background:
    radial-gradient(900px 420px at 0% 100%, rgba(6,52,98,.05), transparent 58%),
    radial-gradient(900px 420px at 100% 0%, rgba(169,228,77,.09), transparent 62%),
    var(--bg);
}
.home-seo-shell{
  position:relative;
  background:var(--surface);
  border:1px solid rgba(6,52,98,.1);
  border-top:none;
  border-left:none;
  border-radius:var(--radius-lg);
  padding:clamp(36px, 4.5vw, 56px) clamp(32px, 4vw, 52px);
  box-shadow:0 22px 56px rgba(6,52,98,.12);
}
.home-seo-shell::before{
  display:none;
}
.home-seo-head{
  max-width:none;
  margin:0;
  text-align:left;
}
.home-seo-eyebrow{
  display:inline-block;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:var(--primary-tint);
  color:var(--navy);
  font-family:'Montserrat', sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.home-seo-head h2{
  font-size:clamp(28px, 3.4vw, 38px);
  line-height:1.14;
  color:var(--navy);
  letter-spacing:-.02em;
  margin:0;
}
.home-seo-lead-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px 36px;
  margin-top:28px;
  text-align:left;
}
.home-seo-lead-col{
  margin:0;
  font-size:15.5px;
  line-height:1.68;
  color:var(--ink-soft);
}
.home-seo-lead{
  margin:28px 0 0;
  max-width:none;
  font-size:15.5px;
  line-height:1.68;
  color:var(--ink-soft);
}
.home-seo-checks{
  list-style:none;
  margin:36px 0 0;
  padding:28px 0 0;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}
.home-seo-check{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  height:100%;
  padding:22px 20px;
  border-radius:var(--radius-md);
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(169,228,77,.06), transparent 42%),
    var(--bg);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.home-seo-check:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-sm);
  border-color:transparent;
  background:var(--surface);
}
.home-seo-check-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--primary-tint);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.home-seo-check-icon svg{
  width:18px;
  height:18px;
  color:var(--primary);
}
.home-seo-check-text{
  font-size:15px;
  line-height:1.65;
  color:var(--ink-soft);
}
.home-seo-check-text a{
  color:var(--navy);
  font-weight:500;
  text-decoration:underline;
  text-decoration-color:rgba(6,52,98,.25);
  text-underline-offset:2px;
}
.home-seo-check-text a:hover{
  color:var(--primary);
}
.home-seo-footer{
  margin-top:24px;
  padding:24px 26px;
  border:1px solid rgba(6,52,98,.1);
  border-radius:var(--radius-md);
  background:
    linear-gradient(135deg, rgba(6,52,98,.04), rgba(169,228,77,.05)),
    var(--surface);
  box-shadow:0 12px 32px rgba(6,52,98,.08);
  display:flex;
  align-items:flex-start;
  gap:22px;
  text-align:left;
}
.home-seo-footer-mark{
  flex-shrink:0;
  width:56px;
  height:56px;
  border-radius:16px;
  background:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(6,52,98,.16);
}
.home-seo-footer-mark svg{
  width:28px;
  height:28px;
  color:var(--accent);
}
.home-seo-footer-copy{
  flex:1;
  min-width:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px 32px;
}
.home-seo-footer-copy p{
  margin:0;
  font-size:15px;
  line-height:1.72;
  color:var(--ink-soft);
}
.home-seo-footer-copy p:last-child{
  font-family:'Montserrat', sans-serif;
  font-weight:700;
  font-size:16px;
  color:var(--navy);
}

.home-seo-content{
  max-width:920px;
  color:var(--ink-soft);
  font-size:15px;
  line-height:1.7;
}
.home-seo-content p{ margin-bottom:14px; }
.home-seo-content h3,
.home-seo-content h4{
  color:var(--navy);
  margin:24px 0 12px;
  font-size:18px;
}
.home-seo-content ul{ list-style:disc; padding-left:22px; margin:12px 0; }
.home-seo-content li{ margin-bottom:8px; }

/* ---------- responsive ---------- */

/* iPad landscape: компактный двухколоночный hero */
@media (min-width:901px) and (max-width:1024px){
  .home-hero.hero-courses .hero-grid{
    grid-template-columns:minmax(0, 1fr) minmax(0, 340px);
    gap:20px;
    align-items:center;
  }
  .home-hero .hero-copy{
    max-width:none;
    padding-bottom:0;
  }
  .home-hero .lead{
    -webkit-line-clamp:unset;
    display:block;
    overflow:visible;
  }
  .home-hero .hero-founder-zero{
    width:100%;
    max-width:340px;
    justify-self:end;
    margin:0;
    margin-left:0;
  }
  .home-hero .hero-founder-photo,
  .home-hero .hero-founder-photo > img{
    max-height:460px;
    border-radius:var(--radius-lg);
  }
  .home-hero .hero-founder-caption{
    display:flex;
    bottom:14px;
    left:10px;
    right:10px;
    padding:10px 14px;
  }
  .home-hero .hero-founder-caption b{ font-size:16px; }
  .home-hero .hero-trust{ gap:14px; }
  .home-hero-extra{ padding:24px 0 28px; }
  .hero-checks.hero-checks-light{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-promo-stack{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-dir-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ display:none; }
  .hero-expert{ display:none; }
  .hero-founder-zero{ display:none; }
  .home-hero.hero-courses .hero-grid{
    grid-template-columns:1fr;
    gap:18px;
    justify-content:stretch;
  }
  .home-hero.hero-courses{
    padding:24px 0 14px;
  }
  .home-hero .hero-copy{
    max-width:none;
    padding-bottom:0;
    text-align:center;
  }
  .home-hero .hero-eyebrow{
    margin-left:auto;
    margin-right:auto;
  }
  .home-hero .lead{
    max-width:none;
    margin-left:auto;
    margin-right:auto;
    -webkit-line-clamp:unset;
    display:block;
    overflow:visible;
  }
  .home-hero .hero-cta{
    justify-content:center;
  }
  .home-hero .hero-founder-zero{
    display:block;
    width:min(100%, 380px);
    justify-self:center;
    margin:4px auto 0;
    margin-left:auto;
  }
  .home-hero .hero-founder-photo,
  .home-hero .hero-founder-photo > img{
    max-height:400px;
    border-radius:var(--radius-lg);
    object-position:center 16%;
  }
  .home-hero .hero-founder-caption{ display:none; }
  .home-hero .hero-trust{
    justify-content:center;
    gap:16px 24px;
  }
  .hero-side{ margin-top:32px; }
  .hero-founder{ display:none; }
  .trust-strip{ margin-top:0; }
  .trust-strip-grid{ justify-content:center; }
  .pain-grid{ grid-template-columns:1fr; }
  .offer-block{ grid-template-columns:1fr; }
  .price-card-hero{ position:static; }
  .founder-grid{ grid-template-columns:1fr; }
  .founder-visual{ order:-1; max-width:280px; margin:0 auto; }
  .compare-row{ grid-template-columns:1.2fr 1fr 1fr 1fr; font-size:12.5px; }
  .compare-row > div{ padding:12px 10px; }
  .reviews-grid{ grid-template-columns:1fr; }
  .review-card-featured{ transform:none; }
  .formats-grid{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .course-grid{ grid-template-columns:repeat(2,1fr); }
  .adv-grid{ grid-template-columns:1fr; }
  .cta-banner{ flex-direction:column; text-align:center; align-items:center; }
  .home-schedule-cta-banner .cta-banner-copy{ text-align:center; }
  .home-consult-form{ max-width:none; }
  .cta-form-actions{ justify-content:center; }
  .form-note-light{ text-align:center !important; }
  .footer-grid{ grid-template-columns:1fr 1fr; row-gap:32px; }
  .course-hero-grid{ grid-template-columns:1fr; }
  .price-card--sticky{
    position:static;
    max-height:none;
    overflow:visible;
  }
  .hero-catalog-photo{
    justify-self:center;
    align-self:center;
    margin:8px auto 0;
    max-width:320px;
  }
  .info-strip{ grid-template-columns:repeat(2,1fr); margin-top:24px; }
  .course-info-wrap{ margin-bottom:40px; }
  .grid-2{ grid-template-columns:1fr; gap:32px; }
  .urgency-inner{ font-size:12px; }
  .home-dir-grid{ grid-template-columns:repeat(3,1fr); }
  .home-promo-stack{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-intro-columns{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-promo-media{ aspect-ratio:16/10; }
  .home-promo-title{ font-size:17px; }
  .home-promo-body{ padding:22px 20px 24px; }
  .home-promo-bullets{ font-size:14px; }
  .home-promo-body .btn{ align-self:flex-start; width:auto; }
  .home-hero-extra .home-hero-offers{ grid-template-columns:1fr; }
  .hero-checks.hero-checks-light{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-advantages .adv-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .trenings-benefits-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .trenings-benefits-grid.individual-benefits-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .online-course-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .individual-program-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .individual-benefits-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .trenings-experts-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-seo-lead-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .home-seo-checks{ grid-template-columns:1fr; }
  .home-seo-footer{ flex-direction:column; }
  .home-seo-footer-copy{ grid-template-columns:1fr; }
  .home-hero .btn-hero-phone{ width:100%; }
}

/* Телефоны и iPad portrait */
@media (max-width:767px){
  .container{ padding-left:16px; padding-right:16px; }
  .section,
  .container,
  main#main-content{
    max-width:100%;
  }
  .page-home .fs-swiper,
  .legacy-content .fs-swiper{
    overflow:hidden;
    max-width:100%;
  }
  .site-header-top .header-shell{
    padding-top:max(14px, env(safe-area-inset-top, 0px));
    padding-bottom:12px;
    padding-left:16px;
    padding-right:16px;
  }
  .home-hero.hero-courses{ padding:14px 0 10px; }
  .home-hero .hero-grid{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .home-hero .hero-copy{
    display:contents;
    text-align:center;
  }
  .home-hero .hero-founder-zero{
    order:0;
    width:min(100%, 260px);
    margin:0 auto 4px;
  }
  .home-hero .hero-eyebrow{
    order:1;
    font-size:10.5px;
    padding:6px 10px;
    text-align:center;
    line-height:1.35;
  }
  .home-hero h1{
    order:2;
    width:100%;
    font-size:clamp(22px, 6.2vw, 32px);
    line-height:1.1;
    margin-top:2px;
  }
  .home-hero .lead{
    order:3;
    width:100%;
    font-size:14px;
    margin-top:8px;
  }
  .home-hero .hero-cta{
    order:4;
    flex-direction:column;
    margin-top:12px;
    gap:8px;
    width:100%;
  }
  .home-hero .hero-cta .btn{
    width:100%;
    padding:13px 20px;
    font-size:14.5px;
  }
  .home-hero .hero-trust{
    order:5;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px 12px;
    margin-top:12px;
    padding-top:12px;
    width:100%;
  }
  .home-hero .hero-trust .stat{
    text-align:center;
  }
  .home-hero .hero-trust .stat b{ font-size:18px; }
  .home-hero .hero-trust .stat span{ font-size:11.5px; }
  .home-hero .hero-founder-photo,
  .home-hero .hero-founder-photo > img{
    max-height:240px;
  }
  .home-hero-extra{
    padding:18px 0 22px;
  }
  .hero-checks-light li{
    font-size:13.5px;
    padding:10px 12px;
  }
  .home-hero-extra .home-hero-offer{
    padding:14px;
  }
  .trust-strip{
    padding:12px 0 14px;
  }
  .trust-strip .container{
    padding-left:16px;
    padding-right:16px;
  }
  .trust-strip-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px 14px;
    overflow:visible;
    justify-content:stretch;
  }
  .trust-item{
    flex:unset;
    white-space:normal;
    max-width:none;
    font-size:12px;
    line-height:1.35;
    gap:8px;
  }
  .trust-item svg{
    width:18px;
    height:18px;
  }
  .trust-item:last-child{
    grid-column:1 / -1;
    justify-content:center;
  }
  .home-intro{
    padding:40px 0 36px;
  }
  .home-intro-head h2{
    font-size:clamp(22px, 5.5vw, 28px);
  }
  .home-intro-col{ font-size:15px; }
  .home-directions .section-head h2{
    font-size:clamp(20px, 5vw, 26px);
  }
  .home-dir-grid{ gap:10px; }
  .home-dir-card{ padding:14px 10px; }
  .home-dir-title{ font-size:12px; }
  .home-schedule .home-tab-nav{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
    overflow:visible;
    flex-wrap:unset;
    justify-content:stretch;
    margin-bottom:24px;
    padding-bottom:0;
  }
  .home-tab-btn{
    flex:unset;
    width:100%;
    min-width:0;
    padding:9px 6px;
    font-size:11.5px;
    text-align:center;
    line-height:1.25;
  }
  .section.home-reviews{
    padding:44px 0 48px;
  }
  .home-reviews-layout{
    grid-template-columns:1fr;
    gap:20px;
    min-width:0;
  }
  .home-reviews-stage{
    width:100%;
    min-width:0;
  }
  .home-reviews-frame{
    width:100%;
    max-width:100%;
    border-radius:var(--radius-md);
  }
  .home-reviews-frame:hover{
    transform:none;
  }
  .home-reviews-stars{
    margin-bottom:10px;
    font-size:13px;
    letter-spacing:2px;
  }
  .home-reviews-title{
    font-size:clamp(20px, 5.5vw, 26px);
    line-height:1.15;
  }
  .home-reviews-caption{
    display:none;
  }
  .home-reviews-link{
    margin-top:14px;
    width:100%;
    font-size:13.5px;
    padding:11px 16px;
  }
  .home-reviews-frame-bar{
    padding:10px 14px;
    font-size:13px;
  }
  .home-reviews-frame-mark{
    width:28px;
    height:28px;
  }
  .home-reviews-widget iframe{
    min-height:260px;
    height:300px;
    max-width:100%;
  }
  .home-seo{
    padding:44px 0 52px;
  }
  .home-seo-shell{
    padding:22px 18px 24px;
    box-shadow:var(--shadow-sm);
  }
  .home-seo-shell::before{
    display:none;
  }
  .home-seo-head h2{
    font-size:clamp(22px, 5.5vw, 28px);
  }
  .home-seo-eyebrow{
    font-size:11px;
    margin-bottom:10px;
  }
  .home-seo-checks{
    margin-top:24px;
    padding-top:20px;
  }
  .home-seo-footer{
    margin-top:18px;
    padding:20px 18px;
    box-shadow:var(--shadow-sm);
  }
  .home-promo-title{ font-size:14px; }
  .home-vacancies-banner{ margin-top:0; }
}

@media (max-width:640px){
  .section{ padding:64px 0; }
  .formats-grid, .course-grid, .steps{ grid-template-columns:1fr; }
  .hero{ padding:40px 0 90px; }
  .home-vacancies-banner{
    flex-direction:column;
    align-items:stretch;
    padding:0 clamp(20px, 4vw, 28px);
    text-align:left;
  }
  .home-vacancies-body{
    order:2;
    flex-direction:column;
    align-items:flex-start;
    padding:20px 0 24px;
  }
  .home-vacancies-photo{
    order:1;
    flex:0 0 auto;
    width:100%;
    margin:0;
    min-height:168px;
    max-height:200px;
    border-radius:var(--radius-md) var(--radius-md) 0 0;
  }
  .home-vacancies-btn{ width:100%; }
  .home-seo{ padding:44px 0 52px; }
  .home-seo-shell{
    padding:22px 18px 24px;
  }
  .home-seo-lead-grid{ grid-template-columns:1fr; gap:16px; }
  .home-intro-columns{ grid-template-columns:1fr; gap:16px; }
  .hero-checks.hero-checks-light{ grid-template-columns:1fr; }
  .home-dir-grid{ grid-template-columns:repeat(2,1fr); }
  .home-promo-stack{ grid-template-columns:1fr; }
  .home-promo-media{ aspect-ratio:16/9; }
  .home-advantages .adv-grid{ grid-template-columns:1fr; }
  .trenings-benefits-grid{ grid-template-columns:1fr; }
  .trenings-benefits-grid.individual-benefits-grid{ grid-template-columns:1fr; }
  .online-course-grid{ grid-template-columns:1fr; }
  .individual-program-grid,
  .individual-program-grid--duo{ grid-template-columns:1fr; }
  .individual-benefits-grid{ grid-template-columns:1fr; }
  .individual-program-chips{ min-height:0; }
  .page-online-faq{ padding:4px 18px; }
  .trenings-experts-grid{ grid-template-columns:1fr; }
  .page-trenings-benefits{ padding:52px 0 60px; }
  .page-trenings-experts,
.page-experts .page-trenings-experts{ padding:52px 0 60px; }
  .fs-expert-dialog-head{
    grid-template-columns:1fr;
    text-align:center;
    padding-right:24px;
  }
  .fs-expert-dialog-photo img,
  .fs-expert-dialog-photo .trenings-expert-photo-ph{
    margin:0 auto;
  }
  .home-reviews-layout{
    grid-template-columns:1fr;
    gap:28px;
  }
  .home-reviews-copy{
    max-width:none;
    text-align:center;
  }
  .home-reviews-link{
    margin-left:auto;
    margin-right:auto;
    width:100%;
    max-width:100%;
    font-size:14px;
    padding:12px 16px;
    white-space:normal;
  }
  .home-reviews-widget iframe{ min-height:260px; height:300px; max-width:100%; }
  .home-license-carousel,
  .fs-media-carousel{ padding:0 8px 36px; }
  .hero-cta{ flex-direction:column; }
  .hero-cta .btn{ width:100%; }
  .footer-grid{ grid-template-columns:1fr; }
  .info-strip{ grid-template-columns:1fr; gap:10px; }
  .course-info-wrap{ margin-bottom:32px; }
  .cta-banner{ padding:36px 24px; }
  .price-card{ margin-top:24px; }
  .compare-table{ overflow-x:auto; }
  .compare-row{ min-width:520px; }
  .trust-item{ font-size:12px; }
  .adv-grid{ grid-template-columns:1fr; }
}

/* ---------- custom page layouts (course, catalog, org) ---------- */
.container-narrow{ max-width:820px; }
.page-doc h1{
  font-size:clamp(28px, 3vw, 36px);
  color:var(--navy);
  margin-bottom:24px;
}
.page-doc-body{
  font-size:16px;
  line-height:1.65;
  color:var(--ink-soft);
}
.page-doc-body p{ margin:0 0 14px; }
.page-doc-body strong{ color:var(--navy); }
.page-doc-body h4,
.page-doc-body h5{
  font-family:var(--font-display);
  color:var(--navy);
  line-height:1.35;
}
.page-doc-body h4{
  font-size:clamp(18px, 2.2vw, 22px);
  margin:0 0 18px;
}
.page-doc-body h5{
  font-size:17px;
  margin:28px 0 12px;
}
.page-doc-body h5:first-child,
.page-doc-body h4 + h5{ margin-top:0; }
.page-doc-body mark{
  background:var(--primary-tint);
  color:var(--navy);
  padding:0 3px;
  border-radius:2px;
}
.page-doc-body a{
  color:var(--primary);
  font-weight:500;
  text-decoration:none;
  word-break:break-word;
}
.page-doc-body a:hover{
  color:var(--primary-dark);
  text-decoration:underline;
}
.page-doc-body ul,
.page-doc-body ol{
  margin:0 0 14px;
  padding-left:1.35em;
}
.page-doc-body li{ margin-bottom:6px; }
.course-audience-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
}
/* одна карточка с фото: слева картинка, справа текст */
.course-audience-grid:has(> .course-audience-card:only-child){
  grid-template-columns:1fr;
}
.course-audience-grid > .course-audience-card:only-child.course-audience-card--media{
  display:flex;
  flex-direction:row;
  align-items:stretch;
}
.course-audience-grid > .course-audience-card:only-child.course-audience-card--media .course-audience-media{
  flex:0 0 min(42%, 420px);
  aspect-ratio:auto;
  min-height:260px;
}
.course-audience-grid > .course-audience-card:only-child.course-audience-card--media .course-audience-copy{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
@media (max-width:768px){
  .course-audience-grid > .course-audience-card:only-child.course-audience-card--media{
    flex-direction:column;
  }
  .course-audience-grid > .course-audience-card:only-child.course-audience-card--media .course-audience-media{
    flex-basis:auto;
    aspect-ratio:4/3;
    min-height:0;
  }
}
.course-audience-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:24px;
}
.course-audience-card--media{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.course-audience-media{
  aspect-ratio:4/3;
  overflow:hidden;
  background:#0b1220;
}
.course-audience-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.course-audience-copy{
  padding:22px 24px 24px;
}
.course-audience-card h3{
  font-size:18px;
  color:var(--navy);
  margin-bottom:10px;
}
.course-audience-card p{
  font-size:15px;
  line-height:1.55;
  color:var(--ink-soft);
}
.course-audience-card--media .course-audience-copy h3{ margin-bottom:10px; }
.course-advantages-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:24px;
}
.course-advantages .trenings-benefits-grid.course-advantages-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.course-advantage-card{
  gap:0;
}
.course-advantage-card > p{
  margin:0;
  font-size:15px;
  line-height:1.65;
  color:var(--ink-soft);
}
.course-advantage-item{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:flex-start;
}
.course-advantage-icon{
  width:64px;
  height:64px;
  object-fit:contain;
  flex-shrink:0;
}
.course-advantage-icon--fallback{
  width:36px;
  height:36px;
  border-radius:10px;
  background:var(--primary-tint);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
}
.course-advantage-icon--fallback svg{ width:20px; height:20px; }
.course-advantage-item p{
  margin:0;
  font-size:15px;
  line-height:1.5;
  color:var(--ink-soft);
}
.trenings-benefit-icon--fallback{
  color:#fff;
}
.trenings-benefit-icon--fallback svg{
  width:28px;
  height:28px;
}
.course-advantages-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px 24px;
  list-style:none;
  margin:0;
  padding:0;
}
.course-advantages-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:15px;
  line-height:1.45;
  color:var(--ink-soft);
}
.course-advantages-list .home-promo-check{ flex-shrink:0; margin-top:2px; }
.course-experts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
}
.course-expert-card{
  display:grid;
  grid-template-columns:88px 1fr;
  gap:16px;
  align-items:start;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px;
}
.course-expert-photo img{
  width:88px;
  height:88px;
  border-radius:12px;
  object-fit:cover;
  display:block;
}
.course-expert-bio{
  font-size:14px;
  line-height:1.5;
  color:var(--ink-soft);
  margin-top:6px;
}
.program-body{
  font-size:16px;
  line-height:1.65;
  color:var(--ink-soft);
}
.program-body p{ margin:0 0 12px; }
.program-body ul{
  margin:8px 0 0;
  padding-left:22px;
}
.program-body li{ margin:0 0 8px; }
.program-body li:last-child{ margin-bottom:0; }
.program-body li p{ margin:0; }
.course-program-intro{
  margin-top:16px;
  max-width:720px;
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.65;
}
.program-section-head .course-program-subtitle,
.program-intro-card .course-program-subtitle{
  margin:14px 0 0;
  max-width:720px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 0;
  font-family:'Montserrat',sans-serif;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  line-height:1.45;
  color:var(--ink-soft);
}
.program-intro-card .course-program-subtitle{
  margin-top:0;
  max-width:none;
}
.course-program-subtitle-sep{
  margin:0 10px;
  color:var(--ink-faint);
  font-weight:500;
}
.course-program-outro{
  margin:20px 0 0;
  max-width:780px;
  color:var(--ink);
  font-size:15.5px;
  line-height:1.65;
}
.course-program-outro strong{
  font-weight:700;
  color:var(--navy);
}
@media (max-width:640px){
  .program-item-head{ padding:16px; gap:12px; }
  .program-num{ width:38px; height:38px; font-size:13px; }
  .program-title{ font-size:16px; }
  .program-item-panel .program-body{ padding:14px 16px 16px 16px; }
  .program-section-head{ margin-bottom:28px; }
}
.price-card .price-note{
  font-size:12.5px;
  color:var(--ink-faint);
  margin:-8px 0 12px;
}
.course-highlights{ padding-top:40px; }
.course-highlights-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:32px 48px;
}
.course-highlight-card{
  display:grid;
  grid-template-columns:28px minmax(0, 1fr);
  column-gap:16px;
  row-gap:8px;
  align-items:start;
  background:none;
  border:none;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.course-highlight-icon{
  width:auto;
  height:auto;
  border-radius:0;
  background:transparent;
  color:var(--primary);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  margin-bottom:0;
  flex-shrink:0;
  padding-top:2px;
  grid-column:1;
  grid-row:1 / -1;
}
.course-highlight-icon svg{ width:22px; height:22px; }
.course-highlight-body{
  grid-column:2;
  grid-row:1 / -1;
  min-width:0;
}
.course-highlight-card > h3{
  grid-column:2;
  grid-row:1;
}
.course-highlight-card > p{
  grid-column:2;
  grid-row:2;
}
.course-highlight-card h3{
  font-size:17px;
  margin-bottom:8px;
  color:var(--navy);
  line-height:1.3;
}
.course-highlight-card p{
  font-size:15px;
  line-height:1.6;
  color:var(--ink-soft);
}
.course-promo{
  background:linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  color:#fff;
}
.course-promo-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
}
.course-promo-copy h2{
  color:#fff;
  font-size:clamp(24px,3vw,32px);
  margin-top:8px;
}
.course-promo-copy p{
  margin-top:14px;
  color:#B7C0D6;
  font-size:16px;
  max-width:520px;
}
.course-promo-copy .btn{ margin-top:24px; }
.course-promo-media img{
  width:100%;
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
  display:block;
}
.course-extra{
  padding-top:48px;
  padding-bottom:0;
}
.course-extra + .course-extra{ padding-top:32px; }
.course-seo{
  padding:56px 0 72px;
  background:
    radial-gradient(900px 420px at 0% 100%, rgba(6,52,98,.05), transparent 58%),
    radial-gradient(900px 420px at 100% 0%, rgba(169,228,77,.09), transparent 62%),
    var(--bg);
}
.course-seo-shell{
  background:var(--surface);
  border:1px solid rgba(6,52,98,.1);
  border-radius:var(--radius-lg);
  padding:clamp(28px, 3.5vw, 44px) clamp(24px, 3.5vw, 48px);
  box-shadow:0 22px 56px rgba(6,52,98,.1);
}
.course-seo-block + .course-seo-block{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.course-seo-block h2{
  font-family:'Montserrat', sans-serif;
  font-size:clamp(22px,2.6vw,28px);
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--navy);
  margin:0 0 16px;
  line-height:1.22;
}
.course-registration{
  padding-top:48px;
  padding-bottom:0;
}
.course-registration + .course-extra{ padding-top:32px; }
.course-registration h2,
.course-extra h2{
  font-size:clamp(22px,2.8vw,28px);
  color:var(--navy);
  margin-bottom:24px;
  line-height:1.25;
}
.course-registration-form{
  margin-bottom:24px;
  max-width:640px;
}
.course-registration-form iframe{
  max-width:100%;
}
.course-extra h2{
  margin-bottom:18px;
}
.course-prose{
  font-size:15.5px;
  line-height:1.68;
  color:var(--ink-soft);
}
.course-prose p{ margin:0 0 14px; }
.course-prose p:last-child{ margin-bottom:0; }
.course-prose ul,
.course-prose ol{
  margin:0 0 16px;
  padding:0;
  list-style:none;
}
.course-prose ul > li,
.course-prose ol > li{
  position:relative;
  margin:0 0 10px;
  padding-left:28px;
  line-height:1.65;
}
.course-prose ul > li::before{
  content:'';
  position:absolute;
  left:0;
  top:.45em;
  width:14px;
  height:14px;
  border-radius:4px;
  background:var(--accent);
  box-shadow:inset 0 0 0 1px rgba(6,52,98,.08);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.2 8.1 6.6 10.5 11.8 5.3' stroke='%23063462' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:12px 12px;
  background-position:center;
  background-repeat:no-repeat;
}
.course-prose ol{
  counter-reset:course-prose;
}
.course-prose ol > li{
  counter-increment:course-prose;
}
.course-prose ol > li::before{
  content:counter(course-prose);
  position:absolute;
  left:0;
  top:.15em;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--primary-tint);
  color:var(--navy);
  font-family:'Montserrat', sans-serif;
  font-size:11px;
  font-weight:700;
  line-height:20px;
  text-align:center;
}
.course-prose b,
.course-prose strong{ color:var(--navy); font-weight:600; }
.course-prose a{
  color:var(--navy);
  font-weight:500;
  text-decoration:underline;
  text-decoration-color:rgba(6,52,98,.25);
  text-underline-offset:2px;
}
.course-prose a:hover{ color:var(--primary); }
.course-prose img{
  max-width:100%;
  height:auto;
  border-radius:var(--radius-md);
  margin:12px 0;
}
@media (max-width:767px){
  .course-seo{ padding:40px 0 52px; }
  .course-seo-shell{ padding:22px 18px 24px; box-shadow:var(--shadow-sm); }
  .course-seo-block + .course-seo-block{ margin-top:22px; padding-top:22px; }
}
.page-catalog .course-grid{ margin-top:8px; }
.page-catalog .course-card{
  text-decoration:none;
  color:inherit;
}
.page-catalog .course-card-media{
  aspect-ratio:16/10;
  overflow:hidden;
  background:#E8EBF2;
}
.page-catalog .course-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .35s ease;
}
.page-catalog .course-card-media--placeholder{
  min-height:180px;
  background:linear-gradient(135deg, var(--primary-tint) 0%, #fff 100%);
}
.page-catalog .course-card:hover .course-card-media img{
  transform:scale(1.04);
}
.page-catalog .course-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  gap:14px;
  padding:18px 20px 20px;
}
.page-catalog .course-card-body h3{
  margin:0;
  padding:0;
  font-size:17px;
  line-height:1.32;
  color:var(--navy);
}
.page-catalog .course-card-subtitle{
  display:inline-block;
  margin-top:2px;
  font-size:15px;
  font-weight:600;
  color:var(--ink-soft);
}
.page-catalog .course-card-price{
  margin:0;
  font-family:'Montserrat',sans-serif;
  font-size:15px;
  font-weight:700;
  color:var(--primary);
  line-height:1.3;
}
.page-catalog .course-card-desc{
  margin:0;
  font-size:14px;
  line-height:1.45;
  color:var(--ink-soft);
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.page-catalog .course-card-link{
  margin-top:auto;
  align-self:flex-start;
}
.page-catalog a.course-card:hover .course-card-link{
  border-color:var(--primary);
  color:var(--primary);
}
.page-catalog-info{
  padding:64px 0 72px;
  border-top:none;
  background:
    radial-gradient(900px 420px at 0% 100%, rgba(6,52,98,.05), transparent 58%),
    radial-gradient(900px 420px at 100% 0%, rgba(169,228,77,.09), transparent 62%),
    var(--bg);
}
.page-catalog-info .catalog-info-shell{
  background:var(--surface);
  border:1px solid rgba(6,52,98,.1);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  padding:clamp(28px, 3.5vw, 44px);
}
.page-catalog-info .catalog-info-layout{
  display:grid;
  gap:clamp(32px, 4vw, 48px);
  max-width:none;
}
.page-catalog-info .catalog-info-block{
  margin:0;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
}
.page-catalog-info .catalog-info-block .eyebrow{
  margin-bottom:12px;
}
.page-catalog-info .catalog-info-block h2{
  margin:0;
  font-family:'Montserrat', sans-serif;
  font-size:clamp(24px, 2.8vw, 32px);
  font-weight:700;
  line-height:1.18;
  color:var(--navy);
  letter-spacing:-0.02em;
}
.page-catalog-info .catalog-info-body{
  margin-top:20px;
}
.page-catalog-info .catalog-info-block p,
.page-catalog-info .prose p{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.72;
  color:var(--ink-soft);
}
.page-catalog-info .catalog-info-block p:last-child{
  margin-bottom:0;
}
.page-catalog-info .catalog-info-lead{
  margin:0 0 18px;
  font-family:'Montserrat', sans-serif;
  font-size:15px;
  font-weight:600;
  color:var(--navy);
}
.page-catalog-info .catalog-info-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px 18px;
}
.page-catalog-info .catalog-info-check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-height:100%;
  margin:0;
  padding:16px 16px 16px 14px;
  border-radius:var(--radius-md);
  border:1px solid rgba(6,52,98,.08);
  background:linear-gradient(180deg, #FAFBFD 0%, var(--bg) 100%);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-catalog-info .catalog-info-check:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
  border-color:transparent;
  background:var(--surface);
}
.page-catalog-info .catalog-info-check-icon{
  flex-shrink:0;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--primary-tint);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--primary);
}
.page-catalog-info .catalog-info-check-icon svg{
  width:18px;
  height:18px;
}
.page-catalog-info .catalog-info-check-text{
  font-size:15px;
  line-height:1.55;
  color:var(--ink-soft);
  padding-top:4px;
}
/* legacy .prose without frames */
.page-catalog-info .prose{
  max-width:none;
  margin:0;
  padding:0;
  background:none;
  border:none;
  border-radius:0;
  box-shadow:none;
}
.page-catalog-info .prose b,
.page-catalog-info .prose strong{
  color:var(--navy);
  font-weight:600;
}
@media (max-width:767px){
  .page-catalog-info{ padding:48px 0 56px; }
  .page-catalog-info .catalog-info-shell{ padding:22px 18px 24px; }
  .page-catalog-info .catalog-info-list{ grid-template-columns:1fr; }
}
.page-trial-info{
  padding:32px 0 56px;
  background:var(--surface);
  border-top:1px solid var(--line);
}
.page-trial-info .prose{
  max-width:none;
  width:100%;
  margin:0;
  padding:0;
  background:none;
  border:none;
  border-radius:0;
  box-shadow:none;
  font-size:16px;
  line-height:1.68;
  color:var(--ink-soft);
}
.page-trial-info .prose p{
  margin:0 0 14px;
}
.page-trial-info .prose p:last-child{
  margin-bottom:0;
}
.page-trial .hero-trial,
.page-trial-child .hero-trial-child{
  padding:56px 0 56px;
}
.page-trial .hero-trial .hero-catalog-photo img{
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
  object-fit:cover;
  width:100%;
  max-height:480px;
  height:480px;
}
@media (max-width:1024px){
  .page-trial .hero-trial .hero-grid{
    grid-template-columns:1fr;
  }
  .page-trial .hero-trial .hero-grid > .hero-catalog-photo{
    order:-1;
    width:min(100%, 320px);
    margin:0 auto 12px;
  }
  .page-trial .hero-trial .hero-catalog-photo img{
    border-radius:var(--radius-lg);
    height:auto;
    max-height:none;
    aspect-ratio:3 / 4;
  }
}
@media (max-width:1024px){
  .page-trial-child .hero-trial-child .hero-grid{
    grid-template-columns:1fr;
  }
  .page-trial-child .hero-trial-child .hero-grid > .hero-catalog-photo{
    order:-1;
    width:min(100%, 320px);
    margin:0 auto 12px;
  }
  .page-trial-child .hero-trial-child .hero-catalog-photo--framed,
  .page-trial-child .hero-trial-child .hero-catalog-photo--framed img{
    border-radius:var(--radius-lg);
  }
}
.page-trial-child .catalog-hero-breadcrumb{
  margin:0 0 20px;
  flex-wrap:nowrap;
  row-gap:0;
  max-width:100%;
}
.page-trial-child .catalog-hero-breadcrumb .breadcrumb-current{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  min-width:0;
}
.page-trial-child .hero-catalog-photo{
  width:min(100%, 380px);
}
.page-trial-child .hero-catalog-photo--framed img{
  height:360px;
  max-height:360px;
}
.page-trial-courses .online-course-grid{ margin-top:8px; }

.trial-teacher{
  padding:48px 0;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.trial-intro{
  padding:36px 0 12px;
  background:var(--bg);
}
.trial-intro-prose{
  max-width:820px;
  margin:0 auto;
  font-size:16px;
  line-height:1.68;
  color:var(--ink-soft);
}
.trial-intro-prose p{ margin:0; }
.trial-experts{
  padding:48px 0 56px;
  background:var(--surface);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.trial-experts-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:28px 36px;
  margin-top:28px;
}
.trial-experts-card{
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:stretch;
}
.trial-experts-photo img{
  width:100%;
  aspect-ratio:3/4;
  max-height:360px;
  object-fit:cover;
  object-position:center top;
  border-radius:var(--radius-md);
  display:block;
  box-shadow:var(--shadow-sm);
}
.trial-experts-body h3{
  margin:0 0 10px;
  font-size:clamp(20px,2vw,26px);
  color:var(--navy);
}
.trial-experts-body p{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:var(--ink-soft);
}
@media (max-width:767px){
  .trial-experts-grid{ grid-template-columns:1fr; }
  .trial-experts-photo img{ max-height:320px; }
}
.trial-teacher-grid{
  display:grid;
  grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);
  gap:36px;
  align-items:center;
}
.trial-teacher-photo img{
  width:100%;
  max-width:320px;
  border-radius:var(--radius-lg);
  display:block;
  box-shadow:var(--shadow-md);
}
.trial-teacher-copy .eyebrow{ color:var(--primary); }
.trial-teacher-copy h2{
  margin:8px 0 12px;
  font-size:clamp(26px,3vw,36px);
  color:var(--navy);
}
.trial-teacher-copy p{
  margin:0;
  max-width:520px;
  color:var(--ink-soft);
  line-height:1.65;
}
.trial-videos{ padding:56px 0 72px; }
.trial-video-group{ margin-top:36px; }
.trial-video-group h3{
  margin:0 0 16px;
  font-size:clamp(20px,2.2vw,26px);
  color:var(--navy);
}
.trial-video-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:18px;
}
.trial-video-frame{
  position:relative;
  aspect-ratio:16/9;
  border-radius:var(--radius-md);
  overflow:hidden;
  background:#0b1220;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.trial-video-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.trial-video-facade{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  cursor:pointer;
  background:#0b1220;
  color:inherit;
}
.trial-video-facade img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.trial-video-play{
  position:absolute;
  left:50%;
  top:50%;
  width:64px;
  height:64px;
  margin:-32px 0 0 -32px;
  border-radius:50%;
  background:rgba(11,18,32,.72);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  pointer-events:none;
}
.trial-video-play::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-40%,-50%);
  border-style:solid;
  border-width:10px 0 10px 16px;
  border-color:transparent transparent transparent #fff;
}
.trial-video-facade:hover .trial-video-play,
.trial-video-facade:focus-visible .trial-video-play{
  background:rgba(11,18,32,.88);
}
.trial-video-facade:focus-visible{
  outline:2px solid var(--accent, #3b82f6);
  outline-offset:2px;
}
.course-expert-videos{ padding-top:8px; }
.course-expert-video-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
@media (max-width:767px){
  .course-expert-video-grid{ grid-template-columns:1fr; }
}
.trial-about-cards{ padding:48px 0; }
.trial-about-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:18px;
  margin-top:8px;
}
.trial-about-card{
  padding:24px 22px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(169,228,77,.07), transparent 60%),
    var(--bg);
  box-shadow:var(--shadow-sm);
}
/* #learn — без плашек: просто колонки */
#learn .trial-about-grid{
  gap:28px 36px;
  margin-top:16px;
}
#learn .trial-about-card{
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}
#learn .trial-about-card-body{
  padding:0;
}
#learn .trial-about-card h3,
#learn .trial-about-card-body h3{
  margin:0 0 12px;
  font-size:clamp(17px,1.5vw,20px);
}
.trial-about-card--media{
  padding:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.trial-about-card-media{
  aspect-ratio:16/10;
  overflow:hidden;
  background:#0b1220;
}
.trial-about-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.trial-about-card-body{
  padding:20px 20px 22px;
}
.trial-about-card h3,
.trial-about-card-body h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.35;
  color:var(--navy);
}
.trial-about-card p,
.trial-about-card-body p{
  margin:0;
  color:var(--ink-soft);
  line-height:1.65;
  font-size:15px;
}
#audience .trial-about-grid{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:20px;
}
/* Как на WP: фото слева в карточке, текст справа */
#audience .trial-about-card--media{
  flex-direction:row;
  align-items:stretch;
  min-height:240px;
}
#audience .trial-about-card-media{
  flex:0 0 36%;
  max-width:220px;
  aspect-ratio:auto;
  min-height:240px;
  align-self:stretch;
}
#audience .trial-about-card-media img{
  object-position:center top;
}
#audience .trial-about-card--media:nth-child(2) .trial-about-card-media img{
  object-position:25% center;
}
#audience .trial-about-card-body{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:22px 24px;
}
@media (max-width:767px){
  #audience .trial-about-card--media{
    flex-direction:column;
    min-height:0;
  }
  #audience .trial-about-card-media{
    flex:none;
    max-width:none;
    width:100%;
    min-height:0;
    aspect-ratio:16/10;
  }
}
.trial-about-cta{ padding:8px 0 64px; }
.trial-about-cta-box{
  max-width:820px;
  margin:0 auto;
  text-align:center;
  padding:clamp(28px,4vw,44px);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  background:linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  color:#fff;
  box-shadow:var(--shadow-md);
  position:relative;
  overflow:hidden;
}
.trial-about-cta-box h2{
  margin:0 0 12px;
  font-size:clamp(24px,3vw,34px);
  color:#fff;
  position:relative;
}
.trial-about-cta-box p{
  margin:0 auto 24px;
  max-width:520px;
  color:#B7C0D6;
  line-height:1.6;
}
.trial-about-reg{
  padding:48px 0 72px;
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(169,228,77,.12), transparent 62%),
    var(--bg);
  border-top:1px solid var(--line);
}
.trial-about-reg-head{
  max-width:640px;
  margin:0 auto 28px;
}
.trial-about-reg-head .section-lead{
  margin:12px auto 0;
  color:var(--ink-soft);
}
.trial-about-reg-card{
  max-width:520px;
  margin:0 auto;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  padding:clamp(22px,3vw,32px);
}
.trial-reg-form{
  display:grid;
  gap:14px;
  margin:0;
}
.trial-reg-field{
  display:grid;
  gap:6px;
}
.trial-reg-field label{
  font-size:14px;
  font-weight:500;
  color:var(--ink-soft);
}
.trial-reg-field input{
  width:100%;
  min-height:48px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--bg);
  color:var(--navy);
  font:inherit;
  font-size:15px;
  box-sizing:border-box;
}
.trial-reg-field input:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(255,73,66,.12);
}
.trial-reg-field input::placeholder{ color:var(--ink-faint); }
.trial-reg-note{
  margin:2px 0 0;
  font-size:12px;
  line-height:1.45;
  color:var(--ink-faint);
}
.trial-reg-note a{ color:var(--primary); text-decoration:underline; }
.trial-reg-form .btn-block{ width:100%; min-height:52px; }
.trial-reg-form .form-status{
  margin:0;
  font-size:14px;
  text-align:center;
}
.trial-reg-form .form-status--ok{ color:var(--teal); }
.trial-reg-form .form-status--error{ color:var(--primary); }
.trial-about-reg-contacts{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px 18px;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--line);
}
.trial-about-reg-phone{
  display:inline-flex;
  align-items:center;
  font-family:Montserrat, sans-serif;
  font-weight:700;
  font-size:18px;
  letter-spacing:-.01em;
  color:var(--navy);
}
.trial-about-reg-phone:hover{ color:var(--primary); }
.trial-about-reg-call{
  display:none;
  width:100%;
}
@media (max-width:640px){
  .trial-about-reg-call{ display:inline-flex; }
}
.trial-about-reviews{
  padding-bottom:24px;
}
@media (max-width:760px){
  .trial-teacher-grid{ grid-template-columns:1fr; }
  .trial-teacher-photo img{ max-width:240px; margin:0 auto; }
}

.vacancies-hero{
  background:linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  color:#fff;
  padding:32px 0 64px;
  position:relative;
  overflow:hidden;
}
.vacancies-hero::before{
  content:'';
  position:absolute;
  width:480px;
  height:480px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,73,66,.28), transparent 70%);
  top:-200px;
  right:-140px;
}
.vacancies-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);
  gap:40px;
  align-items:center;
  position:relative;
}
.vacancies-hero .breadcrumb,
.vacancies-hero .breadcrumb a,
.vacancies-hero-breadcrumb,
.vacancies-hero-breadcrumb a{ color:#8C96AE; }
.vacancies-hero .breadcrumb span,
.vacancies-hero-breadcrumb .breadcrumb-current{ color:#fff; font-weight:500; }
.vacancies-hero-breadcrumb{
  margin-bottom:28px;
  row-gap:6px;
}
.vacancies-hero-breadcrumb a:hover{ color:#fff; }
.vacancies-hero .eyebrow{ color:var(--accent); }
.vacancies-hero h1{
  margin-top:0;
  font-size:clamp(30px,3.8vw,44px);
  line-height:1.12;
  color:#fff;
}
.vacancies-hero-lead{
  margin-top:16px;
  max-width:560px;
  color:#B7C0D6;
  font-size:16px;
  line-height:1.6;
}
.vacancies-hero-copy .btn{ margin-top:28px; }
.vacancies-hero-media img{
  width:100%;
  max-width:420px;
  margin-left:auto;
  display:block;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.22));
}
.page-vacancies{ padding-top:0; }
.vacancies-partners{ padding-top:56px; }
.vacancies-filters{
  margin:0 auto 32px;
  max-width:960px;
  display:grid;
  gap:18px;
}
.vacancies-filter-group{
  display:grid;
  gap:10px;
}
.vacancies-filters-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}
.vacancies-filter-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.vacancies-filter-label{
  font-size:13px;
  font-weight:600;
  color:var(--navy);
}
.vacancy-tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.vacancy-tag{
  appearance:none;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  border-radius:999px;
  padding:8px 14px;
  font:inherit;
  font-size:13px;
  font-weight:500;
  line-height:1.2;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease;
}
.vacancy-tag:hover{
  border-color:rgba(255,73,66,.25);
  color:var(--primary);
}
.vacancy-tag.is-active{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}
.vacancies-filters select{
  width:100%;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  font-family:inherit;
  font-size:14.5px;
  transition:border-color .15s ease, box-shadow .15s ease;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:42px;
}
.vacancies-filters select:focus{
  outline:none;
  border-color:rgba(6,52,98,.28);
  box-shadow:0 0 0 3px rgba(6,52,98,.08);
}
.vacancies-filter-meta{
  margin:14px 0 0;
  font-size:13.5px;
  color:var(--ink-faint);
  text-align:center;
}
.vacancies-empty{
  margin:0 0 24px;
  padding:18px 20px;
  border-radius:var(--radius-md);
  background:var(--primary-tint);
  border:1px solid rgba(255,73,66,.12);
  color:var(--ink-soft);
  text-align:center;
}
.vacancy-partner-card[hidden]{
  display:none !important;
}
.vacancies-partners-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:22px;
}
.vacancy-partner-card{
  display:flex;
  flex-direction:column;
  gap:18px;
  min-height:100%;
  padding:24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.vacancy-partner-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-md);
  border-color:rgba(6,52,98,.12);
}
.vacancy-partner-head{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.vacancy-partner-logo{
  width:104px;
  height:104px;
  border-radius:18px;
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
  flex-shrink:0;
}
.vacancy-partner-logo--placeholder{
  background:linear-gradient(145deg, var(--navy-soft) 0%, var(--navy) 100%);
}
.vacancy-partner-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.vacancy-partner-head h3{
  margin:0;
  font-size:17px;
  line-height:1.35;
  color:var(--navy);
}
.vacancy-partner-meta{
  display:grid;
  gap:10px;
  padding:14px 16px;
  border-radius:12px;
  background:var(--bg);
}
.vacancy-partner-meta-row{
  display:grid;
  gap:4px;
}
.vacancy-partner-meta-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:600;
  color:var(--ink-faint);
  font-family:'Roboto', sans-serif;
}
.vacancy-partner-meta-row a,
.vacancy-partner-meta-row span{
  font-size:14.5px;
  color:var(--navy);
  line-height:1.45;
}
.vacancy-partner-meta-row a:hover{ color:var(--primary); }
.vacancy-partner-vacancies .eyebrow{
  display:block;
  margin-bottom:10px;
}
.vacancy-partner-vacancies ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.vacancy-partner-vacancies li{
  font-size:13.5px;
  line-height:1.35;
  color:var(--ink-soft);
  padding:7px 12px;
  border-radius:999px;
  background:var(--primary-tint);
  border:1px solid rgba(255,73,66,.12);
}
.page-vacancies-cta{ padding-top:0; }
@media (max-width:900px){
  .vacancies-hero-grid{ grid-template-columns:1fr; }
  .vacancies-hero-media img{ margin:0 auto; }
  .vacancies-partners-grid{ grid-template-columns:1fr; }
  .vacancies-filters-row{ grid-template-columns:1fr; }
}
.course-hero .course-hero-cta{
  max-width:100%;
}
.course-hero .course-hero-cta .btn{
  max-width:100%;
  white-space:normal;
  text-align:center;
  line-height:1.25;
}
.course-hero .course-hero-cta .btn-outline{
  border-color:rgba(255,255,255,.34);
  color:#fff;
  background:transparent;
}
.course-hero .course-hero-cta .btn-outline:hover{
  border-color:#fff;
  color:var(--navy);
  background:#fff;
}
.course-hero--landing .course-hero-grid--landing{
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:32px;
  align-items:start;
}
.course-registration--below-hero{
  padding-top:8px;
  padding-bottom:8px;
}
.course-registration-below{
  /* Форма 1: ширина как у .course-highlights — обычный .container */
  width:100%;
}
.course-registration-below .course-hero-info{
  margin:0 0 24px;
  max-width:none;
  width:100%;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
.course-registration-below .course-hero-info-cell{
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-sm);
  min-height:100%;
}
.course-registration-below .course-hero-info-label{
  color:var(--ink-faint);
}
.course-registration-below .course-hero-info-value{
  color:var(--navy);
}
.course-registration-below .price-card{
  position:static;
  max-width:none;
  width:100%;
}
.course-registration-below .price-card--sticky{
  position:static;
  top:auto;
}
.price-card--split{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:28px 40px;
  align-items:start;
}
.price-card--split .price-card-main{
  min-width:0;
}
.price-card--split .price-card-form{
  margin-top:0;
  padding-top:0;
  border-top:none;
  padding-left:32px;
  border-left:1px solid var(--line);
}
@media (max-width:800px){
  .price-card--split{
    grid-template-columns:1fr;
    gap:20px;
  }
  .price-card--split .price-card-form{
    padding-left:0;
    border-left:none;
    padding-top:18px;
    border-top:1px solid var(--line);
  }
}
@media (max-width:980px){
  .course-registration-below .course-hero-info{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:560px){
  .course-registration-below .course-hero-info{
    grid-template-columns:1fr;
  }
}
.course-landing-media{
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  background:#0b1220;
  align-self:stretch;
  min-height:420px;
}
.course-landing-media img{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  object-position:center top;
  border-radius:inherit;
}
.course-hero-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:22px;
  max-width:560px;
}
.course-hero-info-cell{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:rgba(255,255,255,.04);
}
.course-hero-info-icon{
  width:40px;
  height:40px;
  flex-shrink:0;
  object-fit:contain;
}
.course-hero-info-label{
  display:block;
  font-size:12px;
  color:#9AA6BD;
  margin-bottom:4px;
}
.course-hero-info-value{
  display:block;
  font-size:13.5px;
  line-height:1.4;
  color:#fff;
  font-weight:600;
  white-space:pre-line;
}
.landing-prose p{ margin-bottom:1rem; }
@media (max-width:1024px){
  .course-hero--landing .course-hero-grid--landing{
    grid-template-columns:1fr;
  }
  .course-hero--landing .course-landing-media{
    order:-1;
    max-width:520px;
    width:100%;
    margin:0 auto;
    min-height:320px;
    border-radius:var(--radius-lg);
  }
  .course-landing-media img{
    min-height:320px;
    border-radius:var(--radius-lg);
  }
}
@media (max-width:767px){
  .course-highlights-grid,
  .course-promo-grid{ grid-template-columns:1fr; }
  .course-audience-grid,
  .course-advantages-grid,
  .course-advantages-list{ grid-template-columns:1fr; }
  .course-expert-card{ grid-template-columns:1fr; }
}

.page-blog-post{ padding-top:0; }
.page-blog-post > .site-breadcrumbs{ display:none; }

.page-schedule{
  padding-top:0;
  background:#fff;
}
body:has(main.page-schedule){
  background:#fff;
}
main.page-schedule + .site-footer{
  margin-top:0;
}
.page-schedule > .site-breadcrumbs{
  background:#fff;
}

.page-experts{
  padding-top:0;
  background:#fff;
}
body:has(main.page-experts){
  background:#fff;
}
main.page-experts + .site-footer{
  margin-top:0;
}
.page-experts > .site-breadcrumbs{
  background:#fff;
}
.page-experts .page-trenings-experts{
  background:#fff;
  border-bottom:none;
}

.page-blog-index{
  padding-top:0;
  background:#fff;
}
body:has(main.page-blog-index){
  background:#fff;
}
main.page-blog-index + .site-footer{
  margin-top:0;
}
.page-blog-index .section{
  padding:0;
  background:#fff;
}
.page-blog-index-head{
  padding:0 0 32px;
  background:#fff;
}
.page-blog-index-head .site-breadcrumbs--inline{
  padding:24px 0 28px;
  margin:0;
}
.page-blog-index-intro{
  max-width:none;
}
.page-blog-index-intro h1{
  font-size:clamp(28px, 3.4vw, 40px);
  line-height:1.12;
  color:var(--navy);
  margin:0 0 10px;
}
.page-blog-index-lead{
  margin:0;
  padding:10px 0 24px;
  max-width:none;
  font-size:16.5px;
  line-height:1.65;
  color:var(--ink-soft);
}
.page-blog-index-body{
  padding:0 0 120px;
  background:#fff;
}
.page-blog-index-body > .container{
  padding-bottom:32px;
}
.blog-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  margin-bottom:8px;
}
.blog-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover{
  transform:translateY(-4px);
  border-color:transparent;
  box-shadow:var(--shadow-lg);
}
.blog-card-media{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#E8EBF2;
}
.blog-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .35s ease;
}
.blog-card:hover .blog-card-media img{ transform:scale(1.04); }
.blog-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  gap:10px;
  padding:18px 20px 20px;
}
.blog-card-date{
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--primary);
}
.blog-card-title{
  margin:0;
  font-size:17px;
  line-height:1.32;
  color:var(--navy);
}
.blog-card-title a{
  color:inherit;
  text-decoration:none;
}
.blog-card-title a:hover{ color:var(--primary); }
.blog-card-excerpt{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:var(--ink-soft);
  flex:1;
}
.blog-card-more{
  align-self:flex-start;
  margin-top:14px;
}
.blog-card:hover .blog-card-more{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}
.blog-card:hover .blog-card-more:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
}
@media (max-width:1024px){
  .blog-card-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:640px){
  .page-blog-index-head{ padding:0 0 20px; }
  .page-blog-index-head .site-breadcrumbs--inline{ padding:18px 0 22px; }
  .page-blog-index-lead{ padding:8px 0 18px; }
  .page-blog-index-body{ padding:0 0 96px; }
  .page-blog-index-body > .container{ padding-bottom:24px; }
  .blog-card-grid{ grid-template-columns:1fr; }
}

.blog-353n-intro{
  padding:16px 0 28px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.blog-353n-container{ max-width:var(--container); }
.blog-353n-crumb{ margin:0 0 14px; }
.blog-353n-crumb .breadcrumb{ margin:0; }
.blog-353n-kicker{
  display:inline-flex;
  align-items:center;
  margin-top:2px;
  padding:6px 12px;
  border-radius:999px;
  background:var(--primary-tint);
  border:1px solid rgba(255,73,66,.12);
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--primary);
}
.section.blog-article-section.page-353n{ padding:40px 0 56px; }
.page-353n .blog-prose{
  font-size:16px;
  line-height:1.7;
}
.page-353n .blog-prose h2{
  margin-top:36px;
  margin-bottom:12px;
}
.page-353n .blog-section-head{
  margin-top:36px;
}
.page-353n .blog-section-head .eyebrow{
  display:block;
  margin-bottom:8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--primary);
}
.page-353n .blog-section-head h2{
  margin:0;
}
.page-353n .blog-lead{
  font-size:17px;
  line-height:1.65;
  color:var(--ink);
}
.page-353n .blog-prose ul:not(.blog-checklist){
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.page-353n .blog-prose ul:not(.blog-checklist) li{
  position:relative;
  margin:0;
  padding:0 0 0 18px;
}
.page-353n .blog-prose ul:not(.blog-checklist) li::before{
  content:'';
  position:absolute;
  left:0;
  top:.65em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--primary);
}
.page-353n .blog-checklist{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.page-353n .blog-checklist li{
  position:relative;
  margin:0;
  padding:10px 12px 10px 36px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  line-height:1.55;
}
.page-353n .blog-checklist li::before{
  content:'';
  position:absolute;
  left:12px;
  top:15px;
  width:10px;
  height:10px;
  border-radius:3px;
  background:var(--accent);
}
.page-353n .blog-inline-cta{ margin:24px 0; }
.page-353n .blog-article-layout--with-toc{ gap:24px; }
.page-353n-faq{
  margin:8px 0 0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:8px 24px;
  box-shadow:var(--shadow-sm);
}
.page-353n-faq .faq-a p{
  max-width:none;
  font-size:16px;
  line-height:1.65;
}
.page-353n .faq-item.open .faq-a{ max-height:320px; }
.blog-353n-intro .blog-article-head h1,
.blog-article-head h1{
  margin-top:14px;
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.15;
  color:var(--navy);
  font-family:'Montserrat', sans-serif;
  font-weight:700;
}
.blog-article-date{
  display:block;
  margin-top:10px;
  font-size:14px;
  color:var(--ink-faint);
}
.blog-article-cover{
  margin:0 auto 32px;
  max-width:960px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  background:#E8EBF2;
  aspect-ratio:16 / 9;
}
.blog-article-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.blog-article-container{
  max-width:var(--container, 1240px);
  width:100%;
}
.blog-article-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:32px;
}
/* Содержание сверху на всю ширину, текст и блоки — тоже на всю ширину контейнера */
.blog-article-layout--with-toc{
  grid-template-columns:minmax(0, 1fr);
  align-items:stretch;
  gap:28px;
}
.blog-article-layout--with-toc > .blog-toc{
  order:-1;
  position:static;
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
.blog-article-layout--with-toc > .blog-article-body,
.blog-article-layout--with-toc > .blog-article-cta{
  width:100%;
  max-width:none;
}
.blog-article-layout--with-toc .blog-toc-ol{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 28px;
  padding-left:1.1em;
}
@media (min-width:900px){
  .blog-article-layout--with-toc .blog-toc-ol{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
.blog-article-body{ min-width:0; width:100%; }
.blog-article-body > h2{
  margin-top:44px;
  margin-bottom:14px;
  font-size:clamp(22px,2.6vw,28px);
  line-height:1.25;
  color:var(--navy);
  scroll-margin-top:96px;
}
.blog-article-body > .blog-lead + h2,
.blog-article-body > h2:first-of-type{
  margin-top:28px;
}
.blog-article-body > .blog-related + h2,
.blog-article-body > .blog-related--jobs + h2,
.blog-article-body > .blog-related--experts + h2{
  margin-top:36px;
}
.blog-article-body > p + h2,
.blog-article-body > ul + h2,
.blog-article-body > ol + h2{
  margin-top:44px;
}
.blog-article-body > p{ margin:0 0 14px; }
.blog-article-body > ul,
.blog-article-body > ol{
  margin:0 0 16px;
  padding-left:22px;
}
.blog-article-body > ul li,
.blog-article-body > ol li{ margin-bottom:8px; list-style:revert; }
.blog-article-head{ width:100%; }
.blog-article-head h1{ max-width:none; }
.blog-prose{
  font-size:16px;
  line-height:1.7;
  color:var(--ink-soft);
}
.blog-prose > * + *{ margin-top:16px; }
.blog-prose h2{
  margin-top:40px;
  margin-bottom:12px;
  font-size:clamp(22px,2.6vw,28px);
  line-height:1.25;
  color:var(--navy);
  scroll-margin-top:96px;
}
.blog-prose h2:first-child{ margin-top:0; }
.blog-prose p{ margin:0; }
.blog-prose ul{ margin:0; padding-left:22px; }
.blog-prose li{ margin-bottom:10px; }
.blog-prose a{ color:var(--primary); font-weight:500; text-decoration:none; }
.blog-prose a:hover{ text-decoration:underline; }
.blog-prose strong{ color:var(--navy); }
.blog-lead{ font-size:17px; line-height:1.65; color:var(--ink); }
.blog-checklist li{ padding-left:4px; }
.blog-sources{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:var(--ink-faint);
}
.blog-inline-cta{
  margin:32px 0;
  border-radius:var(--radius-md);
  background:linear-gradient(145deg, #fff 0%, var(--primary-tint) 100%);
  border:1px solid rgba(255,73,66,.14);
  box-shadow:var(--shadow-sm);
}
.blog-inline-cta--accent{
  background:linear-gradient(145deg, rgba(169,228,77,.14) 0%, #fff 55%);
  border-color:rgba(169,228,77,.35);
}
.blog-inline-cta--dark{
  background:linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  border-color:rgba(255,255,255,.08);
  color:#fff;
}
.blog-inline-cta-inner{ padding:28px 28px 24px; }
.blog-inline-cta-inner--split{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, 380px);
  gap:24px 32px;
  align-items:start;
}
.blog-inline-cta-copy{ min-width:0; }
.blog-inline-cta-copy .blog-inline-cta-eyebrow{ margin-bottom:0; }
.blog-inline-cta-copy h3{ margin-top:10px; }
.blog-inline-cta-copy p{
  margin-top:10px;
  max-width:none;
}
.blog-inline-cta-eyebrow{
  display:inline-flex;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--primary);
}
.blog-inline-cta--dark .blog-inline-cta-eyebrow{ color:var(--accent); }
.blog-inline-cta h3{
  margin-top:10px;
  font-size:clamp(20px,2.4vw,24px);
  line-height:1.3;
  color:var(--navy);
}
.blog-inline-cta--dark h3{ color:#fff; }
.blog-inline-cta p{
  margin-top:10px;
  max-width:560px;
  font-size:15px;
  line-height:1.6;
  color:var(--ink-soft);
}
.blog-inline-cta--dark p{ color:#B7C0D6; }
.blog-inline-cta--dark .blog-inline-cta-copy p{ color:#B7C0D6; }
.blog-lead-form{
  margin-top:0;
  max-width:none;
  width:100%;
}
.blog-lead-form-panel{
  padding:18px 18px 16px;
  border-radius:var(--radius-sm);
  background:#fff;
  border:1px solid rgba(6,52,98,.1);
  box-shadow:var(--shadow-sm);
}
.blog-inline-cta--accent .blog-lead-form-panel{
  border-color:rgba(169,228,77,.28);
}
.blog-inline-cta--dark .blog-lead-form-panel{
  background:#fff;
  border-color:rgba(6,52,98,.1);
  box-shadow:var(--shadow-md);
}
.blog-lead-form-fields{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.blog-lead-form-fields--pair{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.blog-lead-field{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.blog-lead-field--full{ grid-column:1 / -1; }
.blog-lead-field label{
  display:block;
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--ink-faint);
  margin-bottom:6px;
}
.blog-lead-form input:not([type="checkbox"]),
.blog-lead-form textarea{
  display:block;
  width:100%;
  box-sizing:border-box;
  min-height:48px;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--bg);
  font:inherit;
  font-size:15px;
  color:var(--ink);
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.blog-lead-form textarea{
  resize:vertical;
  min-height:96px;
}
.blog-lead-form input::placeholder,
.blog-lead-form textarea::placeholder{ color:#9AA6BE; }
.blog-lead-form input:focus,
.blog-lead-form textarea:focus{
  outline:none;
  border-color:rgba(6,52,98,.28);
  box-shadow:0 0 0 3px rgba(6,52,98,.08);
  background:#fff;
}
.blog-inline-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.blog-inline-cta-actions .btn{
  min-height:44px;
  padding-left:18px;
  padding-right:18px;
}
.form-status{ margin:10px 0 0; font-size:13.5px; line-height:1.4; }
.form-status--ok{ color:#15803d; }
.form-status--error{ color:#b91c1c; }

/* ---------- Lead modal (заявка) ---------- */
.fs-lead-dialog{
  border:none;
  border-radius:var(--radius-lg);
  padding:0;
  width:min(560px, calc(100vw - 32px));
  max-height:calc(100vh - 32px);
  overflow:hidden;
  background:transparent;
  box-shadow:none;
}
.fs-lead-dialog:not([open]){ display:none; }
.fs-lead-dialog::backdrop{ background:rgba(15,34,58,.58); }
.fs-lead-dialog-panel{
  position:relative;
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 32px);
  overflow:auto;
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:var(--shadow-lg);
}
.fs-lead-dialog-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  color:#fff;
  cursor:pointer;
}
.fs-lead-dialog-close svg{ width:18px; height:18px; }
.fs-lead-dialog-head{
  padding:28px 28px 22px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255,73,66,.28), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color:#fff;
}
.fs-lead-dialog-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  font-family:'Montserrat', sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--accent);
}
.fs-lead-dialog-eyebrow[hidden],
.fs-lead-dialog-lead[hidden]{
  display:none !important;
}
.fs-lead-dialog-eyebrow .cta-online-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  flex-shrink:0;
}
.fs-lead-dialog-head h2{
  font-size:clamp(22px, 3vw, 28px);
  line-height:1.15;
  color:#fff;
  max-width:460px;
  padding-right:36px;
}
.fs-lead-dialog-lead{
  margin-top:10px;
  font-size:15px;
  line-height:1.55;
  color:#AEB8CF;
  max-width:460px;
}
.fs-lead-dialog-form{
  display:grid;
  gap:10px;
  padding:22px 24px 24px;
}
.fs-lead-dialog-form input:not([type="checkbox"]),
.fs-lead-dialog-form textarea{
  width:100%;
  padding:13px 15px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--ink);
  font-family:inherit;
  font-size:14.5px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.fs-lead-dialog-form .site-lead-consent input[type="checkbox"]{
  width:16px;
  height:16px;
  margin-top:2px;
  padding:0;
  flex:0 0 16px;
  border:none;
  background:transparent;
}
.fs-lead-dialog-form input::placeholder,
.fs-lead-dialog-form textarea::placeholder{
  color:var(--ink-faint);
}
.fs-lead-dialog-form input:focus,
.fs-lead-dialog-form textarea:focus{
  outline:none;
  border-color:rgba(6,52,98,.28);
  box-shadow:0 0 0 3px rgba(6,52,98,.08);
}
.fs-lead-dialog-form textarea{
  resize:vertical;
  min-height:88px;
}
.fs-lead-dialog-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px;
  align-items:center;
}
.fs-lead-dialog-phone{
  display:inline-flex;
  align-items:center;
  min-height:53px;
  padding:0 4px;
  font-family:'Montserrat', sans-serif;
  font-size:17px;
  font-weight:700;
  color:var(--navy);
  text-decoration:none;
  white-space:nowrap;
}
.fs-lead-dialog-phone:hover{
  color:var(--primary);
}
.fs-lead-dialog-call{
  display:none;
}
.fs-lead-dialog .form-status--ok,
.fs-lead-dialog .form-status--error{
  margin:0;
}
@media (max-width:640px){
  .fs-lead-dialog-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .fs-lead-dialog-actions .btn{
    width:100%;
    justify-content:center;
  }
  .fs-lead-dialog-phone{
    display:none;
  }
  .fs-lead-dialog-call{
    display:inline-flex;
  }
}
.blog-toc{
  position:sticky;
  top:96px;
  padding:18px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.blog-toc-title{
  margin:0 0 12px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--ink-faint);
}
.blog-toc-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.blog-toc-list a{
  display:block;
  font-size:14px;
  line-height:1.4;
  color:var(--ink-soft);
  text-decoration:none;
}
.blog-toc-list a:hover{ color:var(--primary); }
@media (max-width:960px){
  .blog-article-layout--with-toc .blog-toc-ol{
    grid-template-columns:1fr;
  }
  .blog-inline-cta-inner--split{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .blog-lead-form-fields--pair{ grid-template-columns:1fr; }
  .blog-inline-cta-inner{ padding:22px 18px 18px; }
  .blog-inline-cta-actions{ flex-direction:column; align-items:stretch; }
  .blog-inline-cta-actions .btn{ width:100%; justify-content:center; }
}

/* ---------- About page (/o-nas/) ---------- */
.page-about .section{ padding:56px 0; }
.page-about .about-stats.section{ padding:28px 0 36px; }

.about-hero{
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(255,73,66,.32), transparent 62%),
    radial-gradient(600px 360px at 8% 105%, rgba(169,228,77,.14), transparent 60%),
    linear-gradient(165deg, var(--navy-soft) 0%, var(--navy) 100%);
  color:#fff;
  padding:40px 0 56px;
  position:relative;
  overflow:hidden;
}
.about-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 560px) minmax(260px, 400px);
  gap:32px 20px;
  align-items:end;
  justify-content:start;
}
.about-hero-copy{
  align-self:center;
  max-width:560px;
  padding:8px 0 24px;
}
.about-hero-crumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:18px;
  font-size:13.5px;
  color:#8C96AE;
}
.about-hero-crumb a{
  color:#8C96AE;
  text-decoration:none;
}
.about-hero-crumb a:hover{ color:#fff; }
.about-hero-crumb span:last-child{
  color:#fff;
  font-weight:500;
}
.about-hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  font-family:'Roboto', sans-serif;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#C9D2E8;
}
.about-hero-eyebrow .dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
}
.about-hero h1{
  font-size:clamp(32px,4vw,52px);
  line-height:1.06;
  color:#fff;
}
.about-hero-role{
  margin-top:10px;
  font-size:16px;
  line-height:1.45;
  color:#B7C0D6;
}
.about-hero-quote{
  margin:18px 0 0;
  padding:0;
  border:none;
  max-width:480px;
}
.about-hero-quote p{
  font-family:'Montserrat', sans-serif;
  font-size:clamp(18px,2.2vw,22px);
  line-height:1.35;
  font-weight:600;
  font-style:italic;
  color:var(--accent);
}
.about-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}
.about-hero-visual{
  position:relative;
  width:min(100%, 400px);
  justify-self:start;
  align-self:end;
}
.about-hero-glow{
  position:absolute;
  width:340px;
  height:340px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,73,66,.4) 0%, rgba(169,228,77,.12) 48%, transparent 72%);
  bottom:78px;
  left:50%;
  transform:translateX(-50%);
  z-index:0;
  pointer-events:none;
}
.about-hero-photo{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  max-height:clamp(360px, calc(100vh - 240px), 520px);
  overflow:hidden;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
}
.about-hero-photo img{
  width:100%;
  max-width:400px;
  max-height:clamp(360px, calc(100vh - 240px), 520px);
  object-fit:cover;
  object-position:center 18%;
  display:block;
  filter:drop-shadow(0 20px 38px rgba(0,0,0,.32));
}
.about-hero-badge{
  position:absolute;
  z-index:2;
  left:16px;
  right:16px;
  bottom:20px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  border-radius:14px;
  background:rgba(6,52,98,.88);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}
.about-hero-badge-label{
  flex-shrink:0;
  padding:6px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, #E8C08A 0%, #C8945A 100%);
  color:var(--navy);
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.about-hero-badge b{
  display:block;
  font-family:'Montserrat', sans-serif;
  font-size:16px;
  color:#fff;
  line-height:1.2;
}
.about-hero-badge span:not(.about-hero-badge-label){
  display:block;
  font-size:12.5px;
  color:#C5CDDF;
}

.about-stats-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
}
.about-stat{
  padding:20px 18px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  text-align:center;
}
.about-stat b{
  display:block;
  font-family:'Montserrat', sans-serif;
  font-size:clamp(22px,2.6vw,28px);
  line-height:1.1;
  color:var(--primary);
}
.about-stat span{
  display:block;
  margin-top:6px;
  font-size:13.5px;
  line-height:1.35;
  color:var(--ink-soft);
}

.about-mission-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(280px, 360px);
  gap:32px 40px;
  align-items:start;
}
.about-mission-copy h2{
  font-size:clamp(26px,3.2vw,36px);
  line-height:1.15;
  color:var(--navy);
}
.about-mission-prose{
  margin-top:16px;
  display:grid;
  gap:14px;
}
.about-mission-prose p{
  font-size:16px;
  line-height:1.65;
  color:var(--ink-soft);
}
.about-regions-card{
  padding:24px 22px;
  border-radius:var(--radius-md);
  background:linear-gradient(145deg, var(--primary-tint) 0%, #fff 100%);
  border:1px solid rgba(255,73,66,.14);
  box-shadow:var(--shadow-sm);
}
.about-regions-card h3{
  font-size:18px;
  color:var(--navy);
  margin-bottom:8px;
}
.about-regions-card p{
  font-size:14.5px;
  line-height:1.55;
  color:var(--ink-soft);
}
.about-regions-card ul{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.about-regions-card li{
  position:relative;
  padding-left:16px;
  font-size:14.5px;
  color:var(--navy);
}
.about-regions-card li::before{
  content:'';
  position:absolute;
  left:0;
  top:.55em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--primary);
}
.about-regions-link{
  display:inline-flex;
  margin-top:16px;
  font-size:14px;
  font-weight:600;
  color:var(--primary);
  text-decoration:none;
}
.about-regions-link:hover{ text-decoration:underline; }

.about-founder-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:32px 40px;
  align-items:center;
}
.about-founder-photo{
  margin:0;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-md);
  background:#E8EBF2;
}
.about-founder-photo img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4 / 3;
  object-fit:cover;
}
.about-founder-body h2{
  font-size:clamp(24px,3vw,34px);
  line-height:1.15;
  color:var(--navy);
}
.about-founder-lead{
  margin-top:14px;
  font-size:16.5px;
  line-height:1.6;
  color:var(--ink-soft);
}
.about-founder-facts{
  margin:18px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.about-founder-facts li{
  position:relative;
  padding:10px 12px 10px 34px;
  border-radius:var(--radius-sm);
  background:var(--surface);
  border:1px solid var(--line);
  font-size:14.5px;
  line-height:1.45;
  color:var(--ink);
}
.about-founder-facts li::before{
  content:'';
  position:absolute;
  left:12px;
  top:15px;
  width:8px;
  height:8px;
  border-radius:3px;
  background:var(--accent);
}
.about-founder-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

.about-quote-band{
  background:var(--surface);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.about-quote-inner{
  position:relative;
  max-width:760px;
  margin:0 auto;
  padding:12px 0 8px 48px;
}
.about-quote-mark{
  position:absolute;
  left:0;
  top:-8px;
  font-family:'Montserrat', sans-serif;
  font-size:72px;
  line-height:1;
  color:rgba(255,73,66,.18);
}
.about-quote-inner blockquote{
  margin:0;
  padding:0;
  border:none;
}
.about-quote-inner blockquote p{
  font-family:'Montserrat', sans-serif;
  font-size:clamp(22px,2.8vw,30px);
  line-height:1.3;
  font-weight:600;
  font-style:italic;
  color:var(--navy);
}
.about-quote-inner footer{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  align-items:baseline;
}
.about-quote-inner cite{
  font-style:normal;
  font-weight:700;
  color:var(--navy);
}
.about-quote-inner footer span{
  font-size:14px;
  color:var(--ink-faint);
}

.about-cta{ padding-top:48px; padding-bottom:64px; }
.about-cta-banner{ width:100%; }

@media (max-width:960px){
  .about-hero-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .about-hero-copy{
    max-width:none;
    padding-bottom:0;
  }
  .about-hero-visual,
  .hero-individual .about-hero-visual,
  .hero-online .hero-founder-zero{
    width:100%;
    max-width:420px;
    justify-self:center;
    order:-1;
  }
  .about-stats-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .about-mission-grid,
  .about-founder-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .about-hero{ padding:28px 0 36px; }
  .about-hero-actions,
  .about-founder-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .about-hero-actions .btn,
  .about-founder-actions .btn{ width:100%; justify-content:center; }
  .about-stats-grid{ grid-template-columns:1fr; }
  .about-quote-inner{ padding-left:36px; }
  .about-quote-mark{ font-size:56px; }
}

/* ---------- Legal pages (/privacy/, /dogovor-oferty/) ---------- */
.page-legal{
  padding-top:0;
  background:#fff;
}
body:has(main.page-legal){
  background:#fff;
}
main.page-legal + .site-footer{
  margin-top:0;
}
.page-legal .section{ padding:56px 0; }
.page-legal-head{
  padding:40px 0 24px;
  background:#fff;
  border-bottom:none;
}
.page-legal-head h1{
  font-size:clamp(28px, 3.4vw, 40px);
  line-height:1.12;
  color:var(--navy);
}
.page-legal-body{
  padding-top:0;
  padding-bottom:64px;
  background:#fff;
  border-top:none;
}
.page-legal-card{
  padding:0;
  background:transparent;
  border:none;
  border-radius:0;
  box-shadow:none;
}
@media (max-width:640px){
  .page-legal .section{ padding:40px 0; }
  .page-legal-head{ padding:28px 0 24px; }
}

/* ---------- Contacts page (/kontakty/) ---------- */
.page-contacts{ padding-top:0; }
.page-contacts .section{ padding:56px 0; }
.page-contacts-head{
  padding:40px 0 32px;
  background:var(--surface);
  border-bottom:1px solid var(--line);
}
.page-utility-crumb{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:16px;
  font-size:13.5px;
  color:var(--ink-faint);
}
.page-utility-crumb a{
  color:var(--ink-faint);
  text-decoration:none;
  transition:color .15s ease;
}
.page-utility-crumb a:hover{ color:var(--primary); }
.page-utility-crumb span:last-child{
  color:var(--navy);
  font-weight:500;
}
.page-contacts-head h1{
  font-size:clamp(28px, 3.4vw, 40px);
  line-height:1.12;
  color:var(--navy);
}
.page-contacts-strip{
  padding-top:40px;
  padding-bottom:24px;
}
.contacts-cards-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}
.contacts-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:100%;
  padding:22px 22px 24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contacts-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:rgba(6,52,98,.12);
}
.contacts-card-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--primary-tint);
  color:var(--primary);
  flex-shrink:0;
}
.contacts-card-icon svg{
  width:22px;
  height:22px;
}
.contacts-card-title{
  font-size:17px;
  line-height:1.3;
  color:var(--navy);
}
.contacts-card-body{
  font-size:15px;
  line-height:1.55;
  color:var(--ink-soft);
}
.contacts-card-body a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}
.contacts-card-body a:hover{
  color:var(--primary-dark);
  text-decoration:underline;
}
.contacts-card-note{
  display:block;
  margin-top:6px;
  font-size:13.5px;
  color:var(--ink-faint);
}
.contacts-card-body strong{
  color:var(--navy);
  font-weight:600;
}
.page-contacts-body{
  padding-top:24px;
  padding-bottom:64px;
}
.contacts-details-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 1.05fr);
  gap:28px 36px;
  align-items:start;
}
.contacts-legal{
  padding:26px 24px 28px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);
}
.contacts-legal-title{
  font-size:clamp(22px, 2.4vw, 28px);
  line-height:1.2;
  color:var(--navy);
  margin-bottom:18px;
}
.contacts-legal-list{
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}
.contacts-legal-row{
  display:grid;
  grid-template-columns:minmax(140px, 38%) minmax(0, 1fr);
  gap:10px 16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}
.contacts-legal-row:last-child{
  padding-bottom:0;
  border-bottom:none;
}
.contacts-legal-row dt{
  margin:0;
  font-size:13.5px;
  font-weight:600;
  line-height:1.45;
  color:var(--ink-faint);
}
.contacts-legal-row dd{
  margin:0;
  font-size:15px;
  line-height:1.5;
  color:var(--ink);
}
.contacts-legal-row dd a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}
.contacts-legal-row dd a:hover{
  color:var(--primary-dark);
  text-decoration:underline;
}
.contacts-legal-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.contacts-map-wrap{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.contacts-map-widget{
  overflow:hidden;
  border-radius:var(--radius-md);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
  background:var(--surface);
  aspect-ratio:16 / 11;
  min-height:280px;
}
.contacts-map-widget iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:280px;
  border:0;
}
.contacts-map-link{
  align-self:flex-start;
  font-size:14.5px;
  font-weight:600;
  color:var(--navy);
  text-decoration:none;
  transition:color .15s ease;
}
.contacts-map-link:hover{ color:var(--primary); }

@media (max-width:960px){
  .contacts-cards-grid{ grid-template-columns:1fr; }
  .contacts-details-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .page-contacts .section{ padding:40px 0; }
  .page-contacts-head{ padding:28px 0 24px; }
  .contacts-legal-row{
    grid-template-columns:1fr;
    gap:4px;
  }
  .contacts-legal-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .contacts-legal-actions .btn{
    width:100%;
    justify-content:center;
  }
}

/* GetCourse intensiv → local trial landing */
.intensiv-gc-intro{
  padding-top:40px;
  padding-bottom:24px;
}
.intensiv-gc-intro-grid{
  display:grid;
  grid-template-columns:minmax(160px, 220px) minmax(0, 1fr);
  gap:36px 48px;
  align-items:start;
}
.intensiv-gc-intro-author{
  text-align:center;
}
.intensiv-gc-intro-avatar{
  width:160px;
  height:160px;
  margin:0 auto 14px;
  border-radius:50%;
  overflow:hidden;
  background:var(--surface);
}
.intensiv-gc-intro-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}
.intensiv-gc-intro-name{
  margin:0 0 4px;
  font-size:16px;
  line-height:1.3;
  color:var(--navy);
}
.intensiv-gc-intro-role{
  margin:0;
  font-size:14px;
  line-height:1.4;
  color:var(--ink-soft);
}
.intensiv-gc-intro-prose{
  max-width:none;
}
.intensiv-gc-intro-prose p{
  font-size:16px;
  line-height:1.65;
  color:var(--ink-soft);
  margin:0 0 14px;
}
.intensiv-gc-intro-prose p:last-child{ margin-bottom:0; }
@media (max-width:900px){
  .intensiv-gc-intro-grid{
    grid-template-columns:1fr;
    gap:24px;
    justify-items:center;
  }
  .intensiv-gc-intro-prose{ text-align:left; width:100%; }
}
.hero-catalog-photo--square{
  width:min(100%, 360px);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.hero-catalog-photo--square img{
  width:100%;
  aspect-ratio:1 / 1;
  max-height:none;
  height:auto;
  object-fit:cover;
  object-position:center top;
  border-radius:0 var(--radius-lg) var(--radius-lg) 0;
  filter:none;
  box-shadow:none;
}
.intensiv-gc-photo-caption{
  margin:0;
  font-size:14px;
  line-height:1.4;
  text-align:center;
  color:rgba(255,255,255,.82);
}
.intensiv-gc-author .trial-teacher-photo img{
  border-radius:0;
  box-shadow:none;
}
.intensiv-gc-author-list{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.intensiv-gc-author-list li{
  font-size:15px;
  line-height:1.45;
  color:var(--ink-soft);
  padding-left:0;
  border-left:none;
}
.intensiv-gc-price .price{ margin:8px 0 6px; }
.intensiv-gc-price-note{
  font-size:14px;
  line-height:1.45;
  color:var(--ink-soft);
  margin:0 0 16px;
}
@media (max-width:1024px){
  .hero-intensiv-gc .hero-grid{
    grid-template-columns:1fr;
  }
  .hero-intensiv-gc .hero-grid > .hero-catalog-photo--square{
    order:-1;
    width:min(100%, 320px);
    margin:0 auto;
  }
  .hero-catalog-photo--square img{
    border-radius:var(--radius-md);
  }
}
.intensiv-gc-authors{ padding:48px 0; }
.intensiv-gc-authors-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:32px 40px;
  margin-top:28px;
}
.intensiv-gc-author-card{
  display:grid;
  grid-template-columns:minmax(120px, 180px) minmax(0, 1fr);
  gap:20px 24px;
  align-items:start;
}
.intensiv-gc-author-card h3{
  margin:0 0 10px;
  font-size:clamp(20px, 2.2vw, 26px);
  color:var(--navy);
}
.intensiv-gc-author-card .trial-teacher-photo img{
  border-radius:0;
  box-shadow:none;
  width:100%;
  max-width:180px;
  aspect-ratio:1 / 1;
  object-fit:cover;
}
@media (max-width:900px){
  .intensiv-gc-authors-grid{ grid-template-columns:1fr; }
  .intensiv-gc-author-card{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }
  .intensiv-gc-author-card .intensiv-gc-author-list{ text-align:left; }
}

/* —— Вебинары / прямые эфиры —— */
.hero-webinar .lead{ max-width:38ch; }
.webinar-meta{ padding-top:8px; }
.webinar-meta-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.webinar-meta-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:22px 24px;
}
.webinar-meta-card h3{
  margin:0 0 8px;
  font-size:14px;
  font-weight:600;
  color:var(--ink-soft);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.webinar-meta-card p{
  margin:0;
  font-size:20px;
  font-weight:700;
  color:var(--navy);
  line-height:1.3;
}
.webinar-topics-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.9fr);
  gap:36px 48px;
  align-items:start;
}
.webinar-topic-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}
.webinar-topic-list li{
  position:relative;
  padding:14px 16px 14px 44px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  color:var(--ink-soft);
  line-height:1.5;
}
.webinar-topic-list li::before{
  content:"";
  position:absolute;
  left:16px; top:18px;
  width:14px; height:14px;
  border-radius:4px;
  background:var(--primary);
}
.webinar-reg-card{
  background:linear-gradient(160deg, var(--primary-tint) 0%, #fff 55%);
  border:1px solid rgba(255,73,66,.14);
  border-radius:var(--radius-lg);
  padding:28px 26px;
}
.webinar-reg-card h3{
  margin:0 0 8px;
  font-size:clamp(22px,2.4vw,28px);
  color:var(--navy);
}
.webinar-reg-card > p{
  margin:0 0 18px;
  color:var(--ink-soft);
}
.webinar-author-grid{
  display:grid;
  grid-template-columns:minmax(220px,.85fr) minmax(0,1.2fr);
  gap:28px 40px;
  align-items:center;
}
.webinar-author-photo img{
  display:block;
  width:100%;
  max-width:420px;
  border-radius:var(--radius-lg);
  object-fit:cover;
  aspect-ratio:4/5;
}
.webinar-author-role{
  margin:8px 0 14px;
  font-weight:700;
  color:var(--navy);
}
.webinar-audience-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
@media (max-width:900px){
  .webinar-meta-grid,
  .webinar-topics-grid,
  .webinar-author-grid{ grid-template-columns:1fr; }
}

/* —— 404 —— */
.page-404{
  padding:48px 0 72px;
  min-height:min(70vh, 720px);
  display:flex;
  align-items:center;
}
.page-404-layout{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:40px 56px;
  align-items:center;
}
.page-404-code{
  margin:0 0 8px;
  font-family:'Montserrat',sans-serif;
  font-size:clamp(56px,8vw,92px);
  font-weight:800;
  line-height:1;
  letter-spacing:-.04em;
  color:var(--primary);
  opacity:.9;
}
.page-404-copy h1{
  font-size:clamp(28px,4vw,42px);
  line-height:1.15;
  color:var(--navy);
  margin:0 0 16px;
}
.page-404-lead{
  max-width:38ch;
  color:var(--ink-soft);
  font-size:17px;
  line-height:1.6;
}
.page-404-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.page-404-hint{
  margin-top:18px;
  font-size:14px;
  color:var(--ink-faint);
}
.page-404-art{
  margin:0;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:#0b1220;
  box-shadow:var(--shadow-md);
  border:1px solid var(--line);
}
.page-404-photo{
  display:block;
  width:100%;
  height:100%;
  min-height:280px;
  max-height:420px;
  object-fit:cover;
  object-position:center;
}
.page-404-svg{ display:block; width:100%; height:auto; }
@media (max-width:900px){
  .page-404{ padding:32px 0 56px; }
  .page-404-layout{ grid-template-columns:1fr; gap:28px; }
  .page-404-art{ order:-1; }
  .page-404-photo{ max-height:280px; }
}


/* ---------- seo draft banner ---------- */
.seo-draft-banner{
  background:#fff8e6; border-bottom:1px solid #f0d9a0; color:#5c4813;
  padding:12px 0; font-size:14px; line-height:1.45;
}
.seo-draft-banner a{ color:var(--navy); font-weight:600; text-decoration:underline; margin-left:8px; }
.blog-toc-ol{ margin:0; padding-left:1.1em; display:flex; flex-direction:column; gap:8px; }
.blog-article-layout--with-toc .blog-toc-ol{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 28px;
  flex-direction:unset;
}
@media (min-width:900px){
  .blog-article-layout--with-toc .blog-toc-ol{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}
@media (max-width:960px){
  .blog-article-layout--with-toc .blog-toc-ol{
    grid-template-columns:1fr;
  }
}
.blog-toc-ol a{ color:inherit; text-decoration:none; }
.blog-toc-ol a:hover{ color:var(--primary); }
.blog-article-cta.cta-banner{
  margin-top:36px;
  padding:36px 32px;
  width:100%;
  box-sizing:border-box;
}
/* На всю ширину контейнера (под колонками текст + TOC) */
.blog-article-layout > .blog-article-cta.cta-banner{
  grid-column:1 / -1;
  width:100%;
  max-width:none;
}
.blog-article-cta.cta-banner h2{ margin:0 0 8px; font-size:clamp(22px,2.4vw,28px); color:#fff; max-width:none; }
.blog-article-cta.cta-banner p{ margin:0; max-width:640px; }
.blog-article-cta .cta-banner-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.blog-lead{ font-size:18px; line-height:1.55; color:var(--ink-soft); max-width:none; }
.blog-toc-inline{ display:none; } /* содержание в aside.blog-toc */
.blog-article-body .blog-article-cta{ width:100%; }

/* --- SEO article related blocks --- */
.blog-related{
  margin:40px 0 8px;
  padding:24px;
  border-radius:var(--radius-md);
  background:var(--surface);
  border:1px solid var(--line);
}
.blog-related-title{
  margin:0 0 8px;
  font-size:clamp(18px,2vw,22px);
  color:var(--navy);
  font-family:'Montserrat', sans-serif;
}
.blog-related-title a{ color:inherit; text-decoration:none; }
.blog-related-title a:hover{ color:var(--primary); }
.blog-related-lead{ margin:0 0 16px; color:var(--ink-soft); font-size:15px; }
.blog-related-eyebrow{
  margin:0;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--primary);
}
.blog-related-more{
  margin:16px 0 0;
  font-size:14px;
}
.blog-related-more a{ color:var(--navy); font-weight:600; text-decoration:none; }
.blog-related-more a:hover{ color:var(--primary); }
.blog-related-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (min-width:900px){
  .blog-article-body > .blog-related .blog-related-cards{
    grid-template-columns:repeat(4, minmax(0, 1fr));
  }
}
.blog-related-card{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  text-decoration:none;
  color:inherit;
  transition:border-color .15s, box-shadow .15s;
}
.blog-related-card:hover{
  border-color:rgba(255,73,66,.28);
  box-shadow:var(--shadow-sm);
}
.blog-related-card strong{
  font-size:15px;
  line-height:1.35;
  color:var(--navy);
}
.blog-related-card-label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--primary);
}
.blog-related-card-meta{
  font-size:13px;
  color:var(--ink-faint);
}
.blog-related--jobs{
  background:linear-gradient(145deg, rgba(169,228,77,.12) 0%, #fff 60%);
  border-color:rgba(169,228,77,.35);
}
.blog-related-jobs-inner{
  display:grid;
  grid-template-columns:minmax(0, 1.4fr) minmax(0, .8fr);
  gap:20px 28px;
  align-items:start;
}
.blog-related-jobs-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.blog-related-jobs-list a{
  display:block;
  padding:10px 14px;
  border-radius:10px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--navy);
  font-weight:600;
  font-size:14px;
  text-decoration:none;
}
.blog-related-jobs-list a:hover{ border-color:var(--primary); color:var(--primary); }
.blog-related--lych{
  display:grid;
  grid-template-columns:minmax(120px, 180px) minmax(0, 1fr);
  gap:20px 24px;
  align-items:center;
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  border:none;
  color:#fff;
}
.blog-lych-photo{
  display:block;
  border-radius:14px;
  overflow:hidden;
  aspect-ratio:3/4;
}
.blog-lych-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.blog-lych-copy .blog-related-title{ color:#fff; }
.blog-lych-copy .blog-related-eyebrow{ color:var(--accent); }
.blog-lych-copy p{ margin:0 0 10px; color:#AEB8CF; font-size:14px; line-height:1.55; }
.blog-lych-copy a{ color:var(--accent); }
.blog-lych-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }
.blog-related--lych .btn-outline{
  border-color:rgba(255,255,255,.45);
  color:#fff;
}
.blog-related--lych .btn-ghost{
  color:#fff;
  border-color:transparent;
}
.blog-experts-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.blog-expert-mini{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  text-decoration:none;
  color:inherit;
}
.blog-expert-mini:hover{ border-color:rgba(255,73,66,.28); }
.blog-expert-mini img{
  width:52px;
  height:52px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}
.blog-expert-mini b{ display:block; font-size:14px; color:var(--navy); }
.blog-expert-mini small{ display:block; font-size:12px; color:var(--ink-faint); margin-top:2px; }
@media (max-width:700px){
  .blog-related-cards{ grid-template-columns:1fr; }
  .blog-related-jobs-inner{ grid-template-columns:1fr; }
  .blog-related--lych{ grid-template-columns:1fr; }
  .blog-lych-photo{ max-width:200px; }
  .blog-experts-row{ grid-template-columns:1fr; }
}

/* Сведения об образовательной организации — каталог */
.org-layout{
  display:grid;
  grid-template-columns:minmax(220px,280px) minmax(0,1fr);
  gap:28px 36px;
  align-items:start;
  padding-top:8px;
  padding-bottom:40px;
}
.org-catalog{
  position:sticky;
  top:88px;
  padding:16px 16px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}
.org-catalog-title{
  display:block;
  margin:0 0 12px;
  font:700 14px/1.35 Montserrat,sans-serif;
  color:var(--navy);
  text-decoration:none;
}
a.org-catalog-title:hover{ color:var(--primary); }
.org-catalog-title--static{ margin:0 0 12px; }
.org-catalog-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.org-catalog-link{
  display:block;
  padding:8px 10px;
  border-radius:8px;
  font-size:13px;
  line-height:1.35;
  color:var(--ink);
  text-decoration:none;
}
.org-catalog-link:hover{ background:#f3f6fb; color:var(--navy); }
.org-catalog-link.is-active{
  background:rgba(6,52,98,.08);
  color:var(--navy);
  font-weight:600;
}
.org-hub{ padding-top:12px; padding-bottom:48px; }
.org-hub-lead{ max-width:42rem; margin:8px 0 28px; color:var(--ink-faint); }
.org-hub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:14px;
}
.org-hub-card{
  display:flex;
  align-items:center;
  min-height:72px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  text-decoration:none;
  color:var(--navy);
  font:600 15px/1.35 Montserrat,sans-serif;
  transition:border-color .15s, box-shadow .15s;
}
.org-hub-card:hover{
  border-color:rgba(255,73,66,.35);
  box-shadow:0 8px 24px rgba(6,52,98,.08);
}
.footer-org-title a{ color:inherit; text-decoration:none; }
.footer-org-title a:hover{ color:var(--primary); }
@media (max-width:900px){
  .org-layout{ grid-template-columns:1fr; }
  .org-catalog{ position:static; }
}

