/* --- ПЕРЕМЕННЫЕ И СБРОС --- */
:root {
    --bg-main: #0c1844;
    --text-main: #ffffff;
    --text-muted: #9ba4c4;
    --btn-desktop: linear-gradient(90deg, #816279 0%, #586591 100%);
    --btn-mobile: linear-gradient(90deg, #b3bbd4 0%, #7581a6 100%);
    --header-btn-bg: rgba(255, 255, 255, 0.08);
    --gold: #dfb768;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background-color: var(--bg-main); color: var(--text-main); line-height: 1.5; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.visually-hidden { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.skip-link{position:absolute;left:-999px;top:0;background:#fff;color:#0c1844;padding:10px 16px;z-index:9999;border-radius:0 0 8px 0;}
.skip-link:focus{left:0;}

/* --- КНОПКИ --- */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; outline: none; }
.btn--header { background-color: var(--header-btn-bg); padding: 10px 24px; font-size: 14px; color: #fff; }
.btn--header:hover { background-color: rgba(255, 255, 255, 0.15); }
.btn--main { background: var(--btn-desktop); padding: 16px 36px; font-size: 20px; color: #fff; }
.btn--main:hover { opacity: 0.9; transform: translateY(-2px); }
.btn--light-gradient { background: linear-gradient(90deg, #daddf0 0%, #7681a3 100%); color: #172154; padding: 16px 44px; font-size: 17px; font-weight: 600; border-radius: 50px; border: none; cursor: pointer; box-shadow: 0 10px 20px rgba(118, 129, 163, 0.15); transition: all 0.3s ease; }
.btn--light-gradient:hover { opacity: 0.9; transform: translateY(-2px); }
.btn:disabled{opacity:.6;cursor:not-allowed;transform:none !important;}

/* --- ШАПКА --- */
.header { padding: 30px 0; }
.header__inner { display: flex; align-items: center; justify-content: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo__icon { width: 45px; height: 45px; background: url('/media/logo.png') center/contain no-repeat; flex-shrink:0; }
.logo__text { font-size: 11px; color: var(--text-muted); line-height: 1.3; min-width: 180px;}
.nav__list { display: flex; gap: 30px; }
.nav__link { font-size: 14px; font-weight: 500; color: #d1d6e8; position: relative; text-wrap: nowrap; }
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 1px;
}
.header__right{display:flex;align-items:center;gap:16px;flex-direction: column-reverse;}
.header__phone{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;}
.burger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; }
.burger span { position: absolute; width: 100%; height: 2px; background-color: #fff; left: 0; transition: 0.3s; }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 50%; transform: translateY(-50%); } .burger span:nth-child(3) { bottom: 0; }

/* --- ХЛЕБНЫЕ КРОШКИ / ВНУТРЕННИЙ ХИРО --- */
.breadcrumbs{font-size:13px;color:var(--text-muted);margin-bottom:20px;}
.breadcrumbs a{color:var(--text-muted);} .breadcrumbs a:hover{color:#fff;}
.page-hero{padding:40px 0 70px;position:relative;}
.page-hero__title{font-size:52px;font-weight:600;line-height:1.1;margin-bottom:16px;}
.page-hero__subtitle{font-size:20px;color:var(--text-muted);max-width:640px;}

/* --- HERO --- */
.hero { padding: 60px 0 40px; position: relative; }
.hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 80px; }
.hero__content { flex: 0 0 45%; max-width: 550px; }
.hero__title { font-size: 64px; font-weight: 300; line-height: 1.1; margin-bottom: 24px; }
.hero__desc { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.4; max-width: 480px; }
.hero__visual { flex: 1; display: flex; justify-content: flex-end; position: relative; }
.duo {
    display: flex;
    align-items: flex-start;
}
.shard-left {
    width: 900px;
    height: 817px;
    margin-top: -380.164px;
    margin-left: -800px;
    position: absolute;
    overflow: hidden;
    transform: rotate(0deg);
}
.shard-right {
    width: 900px;
    height: 817px;
    margin-top: -458.164px;
    margin-left: -840px;
    position: absolute;
    overflow: hidden;
    transform: rotate(0deg);
}
.shard-left img,
.shard-right img {
    transition: opacity 0.5s ease;
}
.shard-left img.fade,
.shard-right img.fade {
    opacity: 0;
}
.hero__footer { display: flex; justify-content: space-between; align-items: flex-end; padding-top: 20px; flex-wrap:wrap; gap:20px;}
.partners { display: flex; align-items: center; gap: 40px; opacity: 0.7; flex-wrap:wrap; }
.partner-logo { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.awards { display: flex; gap: 16px; }
.award-badge { display: flex; align-items: center; gap: 8px; padding: 8px 20px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 30px; font-size: 14px; color: #d1d6e8; }
.award-badge::before { content: '🏆'; font-size: 14px; }

/* --- СВЕТЛЫЙ КОНТЕЙНЕР --- */
.light-wrapper { position: relative; background-color: #f4f6fa; overflow: hidden; z-index: 1; }
.section-blob{position:absolute;border-radius:50%;filter:blur(130px);z-index:-1;}

/* --- ВЫЗОВЫ И РЕШЕНИЯ --- */
.challenges { position: relative; padding: 100px 0 60px; z-index: 1; }
.challenges__header { margin-bottom: 50px; }
.challenges__title, .section__title { font-size: 40px; font-weight: 600; color: #2c3661; margin-bottom: 16px; letter-spacing: -0.5px; }
.challenges__subtitle, .section__subtitle { font-size: 20px; color: #717c9b; line-height: 1.5; max-width: 560px; }
.challenges__grid { display: flex; gap: 60px; margin-bottom: 60px; flex-wrap: wrap; }
.card { flex: 1 1 260px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); background: rgba(255,255,255,.35); border: 1px solid #0B1F5F30; border-radius: 24px; padding: 50px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.card__icon-wrap { width: 140px; height: 140px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; font-size: 50px; }
.card__icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.card__title { font-size: 20px; font-weight: 600; color: #1b2457; margin-bottom: 16px; line-height: 1.3; }
.card__text { font-size: 16px; color: #6a7494; line-height: 1.4; }
.card__details{font-size:14px;color:#6a7494;margin-top:14px;line-height:1.5;}
.challenges__actions, .section__actions { text-align: center; }

/* --- КОНСУЛЬТАЦИЯ --- */
.consultation { position: relative; padding: 80px 0 100px; z-index: 1; }
.consultation__header { margin-bottom: 50px; }
.consultation__grid { display: flex; gap: 24px; margin-bottom: 60px; flex-wrap: wrap; }
.c-card { flex: 1 1 220px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); background: rgba(255,255,255,.35); border: 1px solid #0B1F5F30; border-radius: 20px; padding: 60px 20px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.c-card__icon { width: 140px; height: 140px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; font-size: 45px; }
.c-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.c-card__text { font-size: 20px; font-weight: 500; color: #0B1F5F; line-height: 1.3; }
.consultation__actions{display: flex;justify-content: center;}
/* --- ВИДЕО-БАННЕР (на всех устройствах, не только мобильных) --- */
.video-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #0c1844;
    margin-bottom: 60px;
    cursor: pointer;
}
.video-banner__poster { width: 100%; height: 100%; object-fit: cover; }
.video-banner__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(7,15,50,.75) 0%, rgba(7,15,50,.15) 45%, rgba(7,15,50,.35) 100%);
}
.video-banner__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 84px; height: 84px; border-radius: 50%;
    background: rgba(255,255,255,.16);
    border: 1.5px solid rgba(255,255,255,.5);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.video-banner__play:hover { background: rgba(255,255,255,.28); transform: translate(-50%, -50%) scale(1.06); }
.video-banner__play-icon {
    width: 0; height: 0; margin-left: 6px;
    border-top: 14px solid transparent; border-bottom: 14px solid transparent;
    border-left: 22px solid #ffffff;
}
.video-banner__caption {
    position: absolute; left: 28px; bottom: 22px; right: 28px;
    color: #fff; font-size: 16px; font-weight: 500; margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.video-banner iframe, .video-banner video {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-banner.is-playing { cursor: default; }
.video-banner.is-playing .video-banner__poster,
.video-banner.is-playing .video-banner__overlay,
.video-banner.is-playing .video-banner__play,
.video-banner.is-playing .video-banner__caption { display: none; }

/* --- ФОРМА --- */
.contact-section { position: relative; padding: 120px 0; z-index: 1; display: flex; justify-content: center; }
.form-card { position: relative; background-color: #071E5D; border-radius: 24px; padding: 70px 40px; width: 100%; max-width: 860px; margin: 0 auto; overflow: hidden; box-shadow: 0 40px 80px rgba(3, 10, 33, 0.2); }
.form-card__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.form-card__title { font-size: 32px; font-weight: 500; color: #ffffff; margin-bottom: 40px; line-height: 1.3; max-width: 600px; }
.contact-form { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.contact-form__input, .contact-form__textarea { width: 100%; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 30px; padding: 14px 20px; color: #ffffff; font-size: 16px; font-family: var(--font-family); text-align: center; outline: none; transition: var(--transition); }
.contact-form__textarea{border-radius:18px; text-align:left; resize:vertical; min-height:90px;}
.contact-form__input::placeholder, .contact-form__textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.contact-form__input:focus, .contact-form__textarea:focus { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.05); }
.contact-form__submit { width: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.25) 100%); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 30px; padding:14px 20px; color: #ffffff; font-size: 16px; font-weight: 600; font-family: var(--font-family); cursor: pointer; transition: var(--transition); margin-top: 8px; }
.contact-form__submit:hover { background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.35) 100%); }
.form-card__footer { color: #a4adca; font-size: 16px; line-height: 1.5; }
.form-msg{font-size:14px;margin-top:10px;min-height:20px;}
.form-msg.ok{color:#8fd19e;} .form-msg.err{color:#e79b8a;}
.contact-form__consent{font-size:12px;color:#a4adca;line-height:1.4;}
.contact-form__consent a{text-decoration:underline;}

/* --- РЕЗУЛЬТАТЫ --- */
.results { position: relative; padding: 100px 0 120px; z-index: 1; }
.results__header { text-align: center; margin-bottom: 60px; }
.results__title { font-size: 40px; font-weight: 500; color: #2b355a; letter-spacing: -0.5px; }
.results__grid { display: flex; justify-content: center; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.r-card { flex: 0 1 480px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background:rgba(255,255,255,.5); border: 1px solid #0B1F5F30; border-radius: 24px; padding: 60px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 30px 60px rgba(35, 47, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1); transition: transform 0.3s ease; }
.r-card:hover { transform: translateY(-5px); }
.r-card__icon { width: 140px; height: 140px; margin-bottom: 30px; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.r-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.r-card__text { font-size: 18px; line-height: 1.5; color: #0B1F5F; font-weight: 500; }
.results__actions { text-align: center; }
.stats-grid{display:flex;flex-wrap:wrap;gap:24px;justify-content:center;margin-bottom:60px;}
.stat-card{flex:1 1 200px;max-width:260px;background:#fff;border-radius:20px;padding:32px 20px;text-align:center;box-shadow:0 15px 35px rgba(35,47,92,.06);}
.stat-card__value{font-size:40px;font-weight:700;color:#0B1F5F;}
.stat-card__label{font-size:14px;color:#6a7494;margin-top:8px;}

/* --- БЛОГ --- */
.blog-section { position: relative; padding: 80px 0 100px; z-index: 1; }
.blog__header { margin-bottom: 40px; }
.blog__title { font-size: 44px; font-weight: 500; color: #2c3661; letter-spacing: -0.5px; }
.blog__grid { display: flex; gap: 30px; flex-wrap: wrap; }
.blog-card { flex: 1 1 300px; background-color: #ffffff; border-radius: 28px; overflow: hidden; box-shadow: 0 15px 35px rgba(35, 47, 92, 0.04); display: flex; flex-direction: column; transition: transform 0.3s ease; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card__image-wrap { width: 100%; height: 200px; background-color: #4a3e3d; position: relative; }
.blog-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__content { padding: 28px 24px 32px; text-align: left; }
.blog-card__date{font-size:13px;color:#9aa3c0;margin-bottom:8px;}
.blog-card__post-title { font-size: 24px; font-weight: 600; color: #2c3661; margin-bottom: 12px; line-height: 1.2; }
.blog-card__post-desc { font-size: 16px; color: #5d6785; line-height: 1.4; }
.blog-card__link{margin-top:16px;font-size:14px;font-weight:600;color:#0B1F5F;display:inline-block;}

/* --- ДЕТАЛЬНАЯ СТАТЬЯ --- */
.article{padding:60px 0 100px;position:relative;z-index:1;}
.article__cover{width:100%;max-height:480px;object-fit:cover;border-radius:24px;margin-bottom:40px;}
.article__meta{display:flex;gap:16px;color:#8b95b8;font-size:14px;margin-bottom:16px;flex-wrap:wrap;}
.article__title{font-size:40px;font-weight:600;color:#2c3661;margin-bottom:24px;line-height:1.2;}
.article__body{max-width:760px;font-size:18px;color:#3a4468;line-height:1.7;}
.article__body h2{font-size:26px;color:#2c3661;margin:36px 0 16px;font-weight:600;}
.article__body p{margin-bottom:18px;}
.article__tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:40px;}
.article__tag{background:#e9edf7;color:#3a4468;font-size:13px;padding:6px 16px;border-radius:20px;}
.article__share{margin-top:40px;}

/* --- ЭКСПЕРТЫ --- */
.experts{position:relative;padding:80px 0 100px;z-index:1;}
.experts__grid{display:flex;flex-wrap:wrap;gap:30px;}
.expert-card{flex:1 1 260px;max-width:290px;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 15px 35px rgba(35,47,92,.05);}
.expert-card__photo{width:100%;height:280px;object-fit:cover;background:#c9d1e6;object-position: top;}
.expert-card__body{padding:24px;}
.expert-card__name{font-size:18px;font-weight:600;color:#2c3661;margin-bottom:6px;}
.expert-card__role{font-size:14px;color:#717c9b;margin-bottom:10px;}
.expert-card__bio{font-size:14px;color:#6a7494;line-height:1.5;}

/* --- FAQ --- */
.faq{position:relative;padding:60px 0 100px;z-index:1;}
.faq__list{max-width:820px;margin:0 auto;}
.faq-item{border-bottom:1px solid #d8dded;}
.faq-item summary{cursor:pointer;padding:24px 0;font-size:18px;font-weight:600;color:#1b2457;list-style:none;display:flex;justify-content:space-between;align-items:center;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+';font-size:24px;color:#717c9b;transition:.3s;}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item p{padding:0 0 24px;color:#6a7494;font-size:16px;line-height:1.6;max-width:700px;}

/* --- КОНТАКТЫ --- */
.contacts-page{position:relative;padding:60px 0 100px;z-index:1;}
.contacts-grid{display:flex;gap:50px;flex-wrap:wrap;}
.contacts-info{flex:1 1 320px;}
.contacts-info__item{margin-bottom:28px;}
.contacts-info__label{font-size:13px;color:#8b95b8;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;}
.contacts-info__value{font-size:20px;font-weight:600;color:#1b2457;}
.contacts-map{flex:1 1 420px;min-height:420px;border-radius:24px;overflow:hidden;background:#dfe4f0;}
.contacts-map iframe, .contacts-map ymaps{width:100%;height:100%;min-height:420px;border:0;}

/* --- О АССОЦИАЦИИ --- */
.about-section { background-color: #0c1844; padding: 100px 0 120px; color: #ffffff; }
.about__title { font-size: 40px; font-weight: 600; color: #ffffff; margin-bottom: 60px; letter-spacing: -0.5px; }
.about__list { display: flex; flex-direction: column; }
.about__item { padding: 32px 0; font-size: 21px; line-height: 1.5; font-weight: 500; color: #ffffff; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.about__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.highlight { color: var(--gold); }

/* --- ФУТЕР --- */
.footer{background:#081338;color:#a4adca;padding:50px 0;font-size:14px;
    position: relative;}
.footer__inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;}
.footer__col{min-width:200px;}
.footer__title{color:#fff;font-weight:600;margin-bottom:14px;font-size:15px;}
.footer__list li{margin-bottom:8px;}
.footer__list a:hover{color:#fff;}
.footer__bottom{margin-top:36px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:#7480a3;}
.footer-thimb{
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    height: 313px;
    pointer-events: none;
    position: absolute;
    right: 0;
    width: 364px;
    z-index: 1;
}
/* --- 404 / 50x --- */
.error-page{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:100px 20px;}
.error-page__code{font-size:120px;font-weight:700;color:var(--gold);line-height:1;}
.error-page__text{font-size:22px;color:var(--text-muted);margin:20px 0 30px;}

/* --- МОБИЛЬНОЕ МЕНЮ --- */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #0c1844; z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu__inner { height: 100%; display: flex; flex-direction: column; padding: 30px 40px; overflow-y:auto;}
.mobile-menu__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 60px; }
.mobile-menu__close { background: none; border: none; cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.mobile-menu__list { display: flex; flex-direction: column; width: 100%; }
.mobile-menu__item { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.15); text-align: center; }
.mobile-menu__item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.mobile-menu__link { display: block; padding: 24px 0; font-size: 16px; font-weight: 600; color: #ffffff; }

/* --- COOKIE BANNER --- */
.cookie-banner{position:fixed;left:20px;right:20px;bottom:20px;max-width:560px;margin:0 auto;background:#071E5D;color:#fff;padding:20px 24px;border-radius:18px;box-shadow:0 20px 50px rgba(0,0,0,.3);z-index:3000;display:none;gap:16px;align-items:center;flex-wrap:wrap;}
.cookie-banner.show{display:flex;}
.cookie-banner p{font-size:13px;color:#c9cfe6;flex:1 1 260px;}
.cookie-banner a{text-decoration:underline;}
.cookie-banner button{flex:0 0 auto;}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1920px) {
    .hero__title, .page-hero__title { font-size: 44px; }
    .hero__desc { font-size: 18px; }

    .challenges__title, .section__title, .consultation__title, .results__title { font-size: 34px; }
    .card { padding: 40px 20px; }
    .r-card { padding: 50px 30px; }


}
@media (max-width: 1024px) {
    .header__right .btn--header{
        display: none;
    }

    .container { padding: 0 20px; }
    .nav, .header__phone, .btn--header { display: none; }
    .burger { display: block; }
    .hero { padding: 20px 0; }
    .hero__inner { flex-direction: column-reverse; gap: 24px; margin-bottom: 40px; margin-top: 220px; }

    .hero__content { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero__title, .page-hero__title { font-size: 32px; font-weight: 600; margin-bottom: 16px; color: #a4adca; }
    .hero__desc { font-size: 16px; margin-bottom: 30px; }
    .btn--main { background: var(--btn-mobile); color: var(--bg-main); padding: 14px 40px; font-size: 16px; }
    .hero__visual { width: 100%; justify-content: center; }
    .hero__footer { justify-content: center; }
    .awards { /*display: none;*/ }
    .partners { gap: 20px; justify-content: center; }
    .challenges__grid, .consultation__grid, .results__grid, .blog__grid, .experts__grid, .stats-grid { flex-direction: column; }
    .card { /*flex-direction: row;*/ align-items: flex-start; text-align: left; padding: 24px 20px; }
    .card__icon-wrap { width: 55px; height: 55px; flex-shrink: 0; margin-bottom: 0; margin-right: 20px; }
    .btn--light-gradient { width: 100%; padding: 16px 20px; font-size: 16px; text-align: center; }
    .form-card { padding: 40px 20px; }
    .form-card__title { font-size: 26px; max-width: 320px; }
    .contacts-grid{flex-direction:column;}
    .footer__inner{flex-direction:column;}
    .article__title{font-size:28px;}
    .article__body{font-size:16px;}
    .video-banner{aspect-ratio:16/10;border-radius:18px;margin-bottom:40px;}
    .video-banner__play{width:64px;height:64px;}
    .video-banner__play-icon{border-top-width:11px;border-bottom-width:11px;border-left-width:17px;}
    .video-banner__caption{font-size:14px;left:18px;right:18px;bottom:16px;}
    .blog-card{
        flex: unset;
    }
    .stat-card, .expert-card{
        flex: unset;
        max-width: unset;
    }
}

/* --- МОДАЛЬНОЕ ОКНО --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 24, 68, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.show {
    display: flex;
    opacity: 1;
}
.modal__dialog {
    background: #071E5D;
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}
.modal.show .modal__dialog {
    transform: translateY(0);
}
.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}
.modal__close:hover {
    color: var(--gold);
}
/* Адаптация формы под размер модального окна */
.modal .form-card {
    background: transparent;
    box-shadow: none;
    padding: 40px 20px 20px;
}
.modal .form-card__title {
    font-size: 24px;
    margin-bottom: 30px;
}

/* --- ПУЛЬСИРУЮЩИЙ МАРКЕР НА КАРТЕ --- */
.map-pulsar {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-pulsar__logo {
    width: 44px;
    height: 44px;
    background-color: #0c1844;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    z-index: 2;
    object-fit: contain;
    padding: 5px;
}
.map-pulsar__ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: map-pulse-wave 2s infinite ease-out;
}
@keyframes map-pulse-wave {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ЭКСПЕРТОВ (ФИЛЬТРЫ, СОРТИРОВКА) --- */
.experts-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(35, 47, 92, 0.04);
}
.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-btn {
    background: #e9edf7;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    color: #3a4468;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.is-active {
    background: #0B1F5F;
    color: #ffffff;
}
.sort-select {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #d8dded;
    color: #1b2457;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    background-color: #fff;
    cursor: pointer;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}
.pagination-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d8dded;
    background: #ffffff;
    color: #1b2457;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.pagination-btn:hover, .pagination-btn.is-active {
    background: #0B1F5F;
    color: #fff;
    border-color: #0B1F5F;
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- ДЕТАЛЬНАЯ СТРАНИЦА ЭКСПЕРТА --- */
.expert-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 60px 0 100px;
}
.expert-sidebar {
    flex: 0 0 340px;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(35, 47, 92, 0.05);
    text-align: center;
    position: sticky;
    top: 30px;
}
.expert-sidebar__photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 4px solid #f4f6fa;
    object-position: top;
}
.expert-sidebar__name {
    font-size: 24px;
    font-weight: 700;
    color: #1c2454;
    margin-bottom: 8px;
}
.expert-sidebar__role {
    font-size: 14px;
    color: #717c9b;
    line-height: 1.4;
    margin-bottom: 20px;
}
.expert-sidebar__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}
.expert-sidebar__tag {
    background: #f0f3fa;
    color: #3b456d;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 15px;
    font-weight: 500;
}
.expert-sidebar__stats {
    border-top: 1px solid #e9edf7;
    border-bottom: 1px solid #e9edf7;
    padding: 20px 0;
    margin-bottom: 24px;
    text-align: left;
}
.expert-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #3a4468;
    margin-bottom: 12px;
}
.expert-stat-item:last-child { margin-bottom: 0; }
.expert-stat-item__icon {
    font-size: 18px;
    flex-shrink: 0;
}
.expert-sidebar__price-box {
    margin-bottom: 24px;
}
.expert-sidebar__price {
    font-size: 32px;
    font-weight: 700;
    color: #0B1F5F;
}
.expert-sidebar__price-desc {
    font-size: 12px;
    color: #717c9b;
    margin-top: 4px;
}

.expert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.expert-block {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(35, 47, 92, 0.03);
}
.expert-block__title {
    font-size: 22px;
    font-weight: 600;
    color: #1b2457;
    margin-bottom: 24px;
}
.about-grid {
    display: flex;
    gap: 30px;
    align-items: center;
}
.about-video {
    flex: 0 0 180px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #0c1844;
}
.about-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-text {
    font-size: 16px;
    color: #5d6785;
    line-height: 1.6;
}
.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.topic-tag {
    background: #ffffff;
    border: 1px solid #d8dded;
    color: #3b456d;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.topic-tag::after {
    content: '→';
    color: var(--gold);
    font-weight: bold;
}
.help-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}
.help-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: #3a4468;
}
.help-check-item::before {
    content: '✓';
    color: #0b1f5f;
    background: #e9edf7;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}
.education-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.education-card {
    background: #f8fafc;
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    border-radius: 0 16px 16px 0;
}
.education-card__institution {
    font-weight: 600;
    color: #1b2457;
    font-size: 16px;
    margin-bottom: 4px;
}
.education-card__details {
    font-size: 14px;
    color: #717c9b;
}

/* Адаптивность для детальной страницы */
@media (max-width: 1024px) {
    .expert-layout {
        flex-direction: column;
        gap: 30px;
    }
    .expert-sidebar {
        flex: unset;
        width: 100%;
        position: static;
    }
    .about-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-video {
        width: 100%;
        flex: unset;
        height: 200px;
    }
}