.site-head,.ix-foot{box-sizing:border-box}
.site-head *,.ix-foot *{box-sizing:border-box}
.site-head a,.ix-foot a{color:inherit;text-decoration:none}
.sh-search button{cursor:pointer}
body a,
body a:hover,
body a:focus,
body a:active,
body a:visited{
  border-bottom:none;
}
header.site-head a.sh-brand-link,
header.site-head a.sh-brand-link:hover,
header.site-head a.sh-brand-link:focus,
header.site-head a.sh-brand-link:active{
  display:block;
  line-height:0;
  border:0;
  text-decoration:none;
  background:none;
  box-shadow:none;
}
header.site-head button.sh-access{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:0;
  border-radius:4px;
  background:transparent;
  box-shadow:none;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  line-height:1.2;
  color:#333;
  white-space:nowrap;
}
header.site-head button.sh-access svg{display:block;width:17px;height:17px;stroke:#333;fill:none;stroke-width:1.6;flex:0 0 auto}
header.site-head button.sh-access:hover,
header.site-head button.sh-access:focus{
  background:#242424;
  color:#fff;
  box-shadow:none;
}
header.site-head button.sh-access:hover svg,
header.site-head button.sh-access:focus svg{stroke:#fff}
.sh-lang span{color:#242424}
body.ikp-theme{--vamtam-header-height:0px}
body.fl-builder-edit .site-head,body.fl-builder-edit .ix-foot{display:none !important}
/* ================= ШАПКА САЙТА ================= */
.site-head{background:#f5f5f5;border-bottom:1px solid #e6e6e6}
.sh-top{max-width:1400px;margin:0 auto;padding:14px 32px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px}
.sh-brand{display:flex;align-items:center;gap:16px}
.sh-brand .min{width:152px;height:auto;display:block}
.sh-brand .logo{width:170px;height:auto;display:block}
.sh-search{display:flex;max-width:392px;width:100%;justify-self:center}
.sh-search input{flex:1;border:1px solid #dcdcdc;border-right:0;border-radius:4px 0 0 4px;padding:8px 12px;font:inherit;font-size:13px;background:#fff;color:#333}
.sh-search button{border:1px solid #dcdcdc;background:#ececec;border-radius:0 4px 4px 0;padding:8px 16px;font:inherit;font-size:12.5px;cursor:pointer;color:#333}
.sh-right{display:flex;align-items:center;gap:16px}
.sh-phone{display:flex;align-items:flex-start;gap:9px;color:#8a2d7d;white-space:nowrap}
.sh-phone svg{width:17px;height:17px;margin-top:3px;flex:0 0 auto;fill:none;stroke:#8a2d7d;stroke-width:1.7}
.sh-phone b{display:block;font-size:13.5px;font-weight:600;line-height:1.2}
.sh-phone small{display:block;font-size:11px;color:#555;margin-top:2px}
.sh-lang{font-size:12px;color:#2f6fb0;font-weight:600;display:flex;gap:7px;align-items:center}
.sh-lang .devbsitr-widget{font-family:inherit;font-size:12px}
.sh-lang .devbsitr-text-links,
.sh-lang .devbsitr-flags,
.sh-lang .devbsitr-buttons{display:flex;align-items:center;gap:7px}
header.site-head .sh-lang a,
header.site-head .sh-lang a:hover,
header.site-head .sh-lang a:focus{
  text-decoration:none;
  color:#2f6fb0;
  font-weight:600;
}
header.site-head .sh-lang .devbsitr-button,
header.site-head .sh-lang .devbsitr-button:hover,
header.site-head .sh-lang .devbsitr-button:focus{
  padding:0 2px;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:#2f6fb0;
  font:inherit;
  font-weight:600;
  transform:none;
}
.sh-nav{border-top:1px solid #e6e6e6;background:#f5f5f5}
.sh-nav-in{max-width:1400px;margin:0 auto;padding:0 32px;box-sizing:border-box}
header.site-head nav.sh-nav ul{
  max-width:none;
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-start;
}
header.site-head nav.sh-nav li{margin:0;padding:0}
header.site-head .sh-nav a,
header.site-head .sh-nav a:link,
header.site-head .sh-nav a:visited,
header.site-head .sh-nav li.current-menu-item>a,
header.site-head .sh-nav li.current-menu-ancestor>a,
header.site-head .sh-nav li.current_page_item>a{
  display:block;
  padding:13px 0;
  font-size:12.5px;
  font-weight:500;
  color:#242424;
  position:relative;
}
header.site-head .sh-nav a:hover,
header.site-head .sh-nav a:focus{
  color:#8a2d7d;
}
.sh-nav a.on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#8a2d7d}

/* место под баннер */
.hero-slot{max-width:1425px;margin:0 auto;padding:0}
.hero{display:none}
.hero.show{display:block}
.hero.h1.show,.hero.h3.show{display:grid}
.hero.h1,.hero.h2,.hero.h3{border-radius:0;margin:0;max-width:none}
.hero.h1{padding:0 0 0 48px;border:0;border-bottom:1px solid var(--line);height:430px;grid-template-columns:1fr 520px}
.hero-slot + .ix-wrap .ix-sec:first-child{padding-top:34px}


/* выравнивание содержимого баннера по сетке блоков (1400 + 32) */
.hero.h1{padding-left:calc((100% - 1400px)/2 + 32px)}
.h2 .inner{padding-left:calc((100% - 1400px)/2 + 32px)}
.hero.h3{padding-left:calc((100% - 1400px)/2 + 32px);padding-right:calc((100% - 1400px)/2 + 32px)}
@media (max-width:1300px){
  .hero.h1{padding-left:44px}
  .h2 .inner{padding-left:44px}
  .hero.h3{padding-left:44px;padding-right:44px}
}
@media (max-width:620px){
  .hero.h1{padding-left:18px}
  .h2 .inner{padding-left:18px}
  .hero.h3{padding-left:18px;padding-right:18px}
}

/* ================= БАННЕР: восемь слайдов, картинка целиком ================= */
.hero.h4{position:relative;height:auto;aspect-ratio:1600/450;background:#3d1436;overflow:hidden;align-items:center;justify-content:center}
.hero.h4.show{display:flex}
.hero.h4 .bg{position:absolute;inset:-6%;width:112%;height:112%;object-fit:cover;filter:blur(34px) brightness(.5) saturate(1.1);z-index:1}
.hero.h4 .main{position:relative;z-index:2;width:100%;height:100%;object-fit:cover;display:block}
.hero.h4 .nav{right:24px;bottom:16px}
.hero.h4 .nav .dots i{background:rgba(255,255,255,.45)}
.hero.h4 .nav .dots i.on{background:#fff}
.hero.h4 .nav .ar button{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.35);color:#fff}
@media (max-width:760px){
  .hero.h4{padding:0}
  .hero.h4 .nav{position:absolute;right:12px;bottom:10px}
}


/* ================= БАННЕР: Центр им. В.П. Кащенко ================= */
.hero.h6{position:relative;background:linear-gradient(100deg,#fdf4ea 0%,#fbeade 46%,#f7dfd1 100%);color:#17110c;aspect-ratio:1600/450;display:flex;align-items:center;justify-content:center;gap:3.5%;overflow:hidden;font-family:"Golos Text",Montserrat,sans-serif}
.hero.h6:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 40%,rgba(255,255,255,.8),rgba(255,255,255,0) 62%);pointer-events:none;z-index:1}
.hero.h6 .arch{position:absolute;right:-3%;top:0;height:100%;width:auto;opacity:.42;z-index:0;pointer-events:none}
.hero.h6 .txt{position:relative;z-index:3;width:40%}
.hero.h6 .kick{font-size:.75vw;letter-spacing:.1em;text-transform:uppercase;font-weight:500;color:#8a7f70;margin-bottom:1.1vw}
.hero.h6 .kick b{color:#17110c;font-weight:600}
.hero.h6 h2{font-family:"Spectral",Georgia,serif;font-weight:400;font-size:2.875vw;line-height:1.12;letter-spacing:-.01em;margin:0 0 1vw;color:#17110c}
.hero.h6 h2 em{font-style:normal;color:#c46a31}
.hero.h6 .sub{font-size:.97vw;line-height:1.55;color:#4a423a;margin:0 0 1.6vw;max-width:44ch}
.hero.h6 .row{display:flex;align-items:center;gap:.9vw}
.hero.h6 .btn{display:inline-flex;align-items:center;gap:.6vw;background:#17110c;color:#faf6ee;font-size:.94vw;font-weight:500;padding:.75vw 1.3vw;border-radius:.38vw;text-decoration:none}
.hero.h6 .btn2{display:inline-flex;align-items:center;background:transparent;color:#17110c;font-size:.94vw;font-weight:500;padding:.7vw 1.2vw;border-radius:.38vw;border:1px solid #d8cdbc;text-decoration:none}
.hero.h6 .right{position:relative;z-index:3;width:19.75%}
.hero.h6 .frame{position:relative;background:#fffdf9;border:1px solid #e6ddd0;border-radius:.62vw;padding:.75vw;box-shadow:0 18px 40px -30px rgba(23,17,12,.55)}
.hero.h6 .frame img{display:block;width:100%;aspect-ratio:316/334;object-fit:cover;object-position:center 30%;border-radius:.38vw;filter:sepia(.12) contrast(1.02)}
.hero.h6 .badge{position:absolute;right:1.2vw;top:1.2vw;background:#17110c;color:#faf6ee;font-size:.69vw;font-weight:500;letter-spacing:.04em;padding:.38vw .7vw;border-radius:.38vw}
.hero.h6 .cap{margin-top:.75vw;font-size:.75vw;line-height:1.45;color:#7a7062}
.hero.h6 .cap b{color:#c46a31;font-weight:500}
@media (max-width:900px){
  .hero.h6{aspect-ratio:auto;flex-direction:column;gap:24px;padding:28px 20px 34px;align-items:flex-start}
  .hero.h6 .txt{width:100%}
  .hero.h6 .kick{font-size:10px;margin-bottom:12px}
  .hero.h6 h2{font-size:30px;margin-bottom:12px}
  .hero.h6 .sub{font-size:14px;margin-bottom:18px}
  .hero.h6 .btn,.hero.h6 .btn2{font-size:13px;padding:11px 16px;border-radius:6px}
  .hero.h6 .right{width:min(78%,320px);align-self:flex-start}
  .hero.h6 .arch{opacity:.22;right:-22%}
  .hero.h6 .frame{padding:10px;border-radius:10px}
  .hero.h6 .badge{font-size:10px;padding:5px 9px;right:18px;top:18px}
  .hero.h6 .cap{font-size:11.5px;margin-top:10px}
}
@media (min-width:761px) and (max-width:1200px){
  .sh-top{grid-template-columns:auto 1fr auto;gap:16px;padding:12px 24px}
  .sh-brand .min{width:128px}
  .sh-brand .logo{width:142px}
  .sh-search{max-width:240px}
  .sh-right{gap:14px}
  .sh-phone small{display:none}
  .sh-access{display:none}
  .sh-nav-in{padding:0 24px}
  .sh-nav ul{gap:18px;padding:0}
}
@media (max-width:760px){
  /* на телефоне фото остаётся целым, но приглушается, чтобы текст читался */
  .h2 img.bg{height:100%;object-position:right center}
  .h2 .veil{background:linear-gradient(90deg,rgba(61,20,54,.97) 0%,rgba(61,20,54,.94) 55%,rgba(61,20,54,.82) 100%)}
  .h2 .inner{padding-left:18px;padding-right:18px}
}
@media (max-width:620px){
  .sh-brand .min{width:132px}
  .sh-brand .logo{width:150px}
  .sh-access{display:none}
}



/* ===== мобильная шапка и меню ===== */
@media (max-width:760px){
  .sh-top{grid-template-columns:1fr auto;gap:10px 12px;padding:10px 18px;align-items:center;justify-items:stretch}
  .sh-search{display:none}
  .sh-brand{gap:8px}
  .sh-brand .min{width:94px}
  .sh-brand .logo{width:106px}
  .sh-right{gap:8px;flex-wrap:nowrap}
  .sh-phone{gap:5px;align-items:center}
  .sh-phone svg{width:14px;height:14px;margin-top:0}
  .sh-phone b{font-size:11.5px;white-space:nowrap}
  .sh-phone small{display:none}
  .sh-lang{display:none}
  .sh-nav-in{padding:0 18px}
  .sh-nav ul{flex-wrap:nowrap;overflow-x:auto;gap:16px;padding:0;justify-content:flex-start;scrollbar-width:none}
  .sh-nav ul::-webkit-scrollbar{display:none}
  .sh-nav a{white-space:nowrap;font-size:12px;padding:11px 0}
}
/* ============ ПОДВАЛ ============ */
.ix-foot{background:#903e6f;color:#fff}
.ix-fwrap{max-width:1400px;margin:0 auto;padding:40px 32px 26px}
.ix-fcols{display:grid;grid-template-columns:320px 1.15fr 1fr .85fr;gap:36px;align-items:start}
.ix-fbrand{display:flex;flex-direction:column;gap:18px}
.ix-fmin{width:176px;height:auto;display:block}
.ix-fikp{width:166px;height:auto;display:block;opacity:.95}
.ix-finfo b{font-size:15px;font-weight:600;display:block;margin-bottom:8px}
.ix-finfo p{margin:0 0 15px;font-size:13px;line-height:1.5;color:rgba(255,255,255,.82)}
.ix-fsoc{display:flex;align-items:center;gap:14px}
.ix-fsoc img{height:26px;width:auto;display:block;opacity:.9;transition:opacity .2s}
.ix-fsoc a:hover img{opacity:1}
.ix-fnav{display:flex;flex-direction:column;gap:11px}
footer.ix-foot nav.ix-fnav a,
footer.ix-foot nav.ix-fnav a:link,
footer.ix-foot nav.ix-fnav a:visited,
footer.ix-foot nav.ix-fnav a:active{font-size:13px;line-height:1.4;color:rgba(255,255,255,.86);text-decoration:none;transition:color .2s}
footer.ix-foot nav.ix-fnav a:hover,
footer.ix-foot nav.ix-fnav a:focus{color:#fff;text-decoration:none}
.ix-fcopy{margin-top:34px;padding-top:16px;border-top:1px solid rgba(255,255,255,.18);font-size:11.5px;line-height:1.5;color:rgba(255,255,255,.68)}
@media (max-width:1000px){.ix-fcols{grid-template-columns:1fr 1fr;gap:28px}.ix-fbrand{grid-column:1/-1;flex-direction:row;align-items:center}}
@media (max-width:620px){.ix-fcols{grid-template-columns:1fr}.ix-fwrap{padding:28px 18px 22px}.ix-fmin{width:150px}.ix-fikp{width:140px}}
