﻿/* ============================================================================
 * Страница «О нас» (tpl-about.php) — полный CSS, перенесён 1-в-1 из эталона
 * pages/О нас/css/about.1f083d0d.min.css + критические inline-блоки
 * (hero/info-cards + director-video-modal).
 *
 * Пути изображений:
 *   ../images/  →  ../img/webp/   (webp-картинки)
 *   ../images/Vector_Play.svg  →  ../img/Vector_Play.svg
 * ========================================================================== */

/* === Critical CSS (был inline в head эталона): hero + info cards для быстрого FCP === */
.hero-banners { padding: 2rem 0 0 0; background: var(--color-bg-pages); }
.banners-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; align-items: stretch; }
.banners-wrapper.single-banner { grid-template-columns: 1fr; }
.banners-wrapper.single-banner .banner-left { grid-column: 1 / -1; }
.banner-left {
    background: url('../img/webp/About_us_Background_hero.webp') center/cover;
    border-radius: 30px;
    padding: 3rem;
    display: block;
    align-items: center;
    min-height: 400px;
    position: relative;
}
.banner-content { position: relative; z-index: 2; color: var(--color-text-main); }
.banner-content h1 { margin-bottom: 1rem; color: var(--color-white); }
.banner-content p { margin-bottom: 2rem; opacity: .9; color: var(--color-white); }
.info-cards-wrapper {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 2rem;
}
.stats-card {
    background: url('../img/webp/About_us_hero_image.webp') center/cover;
    border-radius: 20px;
    height: 420px;
    position: relative;
    grid-row: 1 / 3;
}
.stats-wrapper { display: flex; gap: 1.5rem; position: absolute; bottom: 20px; left: 20px; }
.stat-item { padding: 1.5rem; border-radius: 25px; min-width: 300px; max-width: 350px; }
.stat-item:first-child { background: var(--color-white); }
.stat-item:first-child h1 { color: var(--color-text-main); }
.stat-item:first-child .text-p2 { color: var(--color-text-secondary); }
.info-card {
    border-radius: 20px;
    padding: 1.25rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.info-card-year { background: var(--color-white); }
.info-card-education { background: var(--color-white); height: auto; display: flex; flex-direction: column; }
.info-card-content { width: 100%; }
.info-card h4 { margin-top: 0; margin-bottom: 1rem; color: var(--color-text-primary); }
.info-card h1 { margin-bottom: 1.25rem; color: var(--color-text-primary); }
.info-card .text-p2 { margin-bottom: 1rem; color: var(--color-text-primary); }
.info-card-education .info-card-content { display: flex; flex-direction: column; height: 100%; }
.info-card-education .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 1280px) {
    .info-cards-wrapper { gap: .75rem; }
    .stats-wrapper { gap: 1rem; bottom: 15px; left: 15px; }
    .stat-item { min-width: 240px; max-width: 280px; padding: 1rem; }
    .info-card { padding: 1rem; }
}
@media (max-width: 1024px) {
    .hero-banners { padding: 1.5rem 0; }
    .banners-wrapper { grid-template-columns: 1fr; }
    .banner-left { grid-column: 1 / -1; padding: 2.5rem; min-height: 350px; }
    .info-cards-wrapper { grid-template-columns: 1fr; gap: 1rem; }
    .stats-card { height: 350px; border-radius: 20px; grid-row: auto; }
    .stats-wrapper { bottom: 15px; left: 15px; gap: 1rem; }
    .info-card { padding: 1.25rem; }
    .stat-item { min-width: 250px; max-width: 300px; padding: 1.25rem; }
}
@media (max-width: 768px) {
    .hero-banners { padding: 1rem 0; }
    .banner-left { padding: 2rem; min-height: 300px; border-radius: 20px; }
    .info-cards-wrapper { margin-top: 1.5rem; }
    .stats-card { height: 300px; border-radius: 20px; }
    .stats-wrapper { flex-direction: row; gap: .75rem; bottom: 15px; left: 15px; }
    .stat-item { min-width: auto; max-width: none; padding: 1rem; border-radius: 20px; }
    .info-card { padding: 1rem; }
}
@media (max-width: 480px) {
    .banner-left { padding: 1.5rem; border-radius: 15px; }
    .stats-card { border-radius: 20px; }
    .stats-wrapper { bottom: 12px; left: 12px; flex-direction: column; }
    .info-card { padding: .75rem; }
    .stat-item { padding: .75rem; border-radius: 15px; }
}

/* === Director Video Modal (был inline в head эталона) === */
.director-video-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.director-video-modal-overlay.active { display: flex; opacity: 1; }
.director-video-modal {
    background: #ffffff;
    border-radius: 30px;
    max-width: 95vw;
    max-height: 90vh;
    width: 1000px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    padding: 40px;
}
.director-video-modal-overlay.active .director-video-modal { transform: scale(1); }
.director-video-modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    color: #333333;
    cursor: pointer;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 100;
}
.director-video-modal-close:hover { color: #000000; transform: scale(1.1); }
.director-video-title { color: var(--color-text-primary); margin: 0 0 40px 0; padding-right: 40px; }
.director-video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
}
.yandex-video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-loading {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
}
.loading-spinner {
    width: 40px; height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.video-loading p { font-family: var(--font-primary); font-size: var(--font-size-base); margin: 0; }

@media screen and (min-width: 769px) {
    .director-video-modal-overlay { align-items: center; padding-top: 0; }
}
@media screen and (max-width: 1200px) {
    .director-video-modal { width: 90vw; }
}
@media screen and (max-width: 768px) {
    .director-video-modal-overlay { align-items: center; padding-top: 0; }
    .director-video-modal { width: 95vw; max-height: calc(100vh - 40px); margin: 0; padding: 20px; border-radius: 24px; overflow-y: auto; }
    .director-video-modal-close { top: 16px; right: 16px; font-size: 22px; width: 32px; height: 32px; }
    .director-video-title { font-size: var(--font-size-xl); margin-bottom: 16px; padding-right: 35px; }
    .director-video-container { border-radius: 16px; }
    .yandex-video-container { min-height: 150px; border-radius: 16px; }
    .yandex-video-container video { width: 100%; height: auto; max-height: 250px; object-fit: contain; }
}
@media screen and (max-width: 480px) {
    .director-video-modal-overlay { align-items: center; padding-top: 0; }
    .director-video-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); margin: 0; padding: 16px; border-radius: 20px; }
    .director-video-modal-close { top: 12px; right: 12px; font-size: 20px; width: 28px; height: 28px; }
    .director-video-title { font-size: var(--font-size-lg); margin-bottom: 12px; padding-right: 30px; }
    .director-video-container { border-radius: 12px; }
    .yandex-video-container { min-height: 120px; border-radius: 12px; }
    .yandex-video-container video { width: 100%; height: auto; max-height: 200px; object-fit: contain; }
}

/* ============================================================================
 * Основной CSS страницы «О нас» (минифицирован из about.1f083d0d.min.css)
 * Пути: ../images/ → ../img/webp/  ;  Vector_Play.svg → ../img/
 * ========================================================================== */
.banner-content,.stat-item:first-child h1{color:var(--color-text-main)}.director-title,.mission-title{margin-left:28px;margin-bottom:26px}.director-quote-content,.info-card-content,.mission-card-content{width:100%}.banners-wrapper.single-banner .banner-left{grid-column:1/-1}.documents-slider-nav-btn img,.documents-slider-nav-btn:hover img{filter:invert(29%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(71%) contrast(100%)}.director-quotes-nav-btn.prev .arrow-icon,.documents-slider-nav-btn.prev img{transform:rotate(180deg)}.documents-info .btn,.info-card-education .btn,.top-event-badge,.top-event-card .btn,.top-event-tag,.video-overview-content .btn{align-self:flex-start}.info-cards-wrapper,.reviews-grid{grid-template-rows:auto auto}.btn-white,.info-card-education,.info-card-year,.stat-item:first-child{background:var(--color-white)}.stats-wrapper .stat-item:nth-child(2){background:rgba(255,255,255,.35);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.3)}.stats-wrapper .stat-item:nth-child(2) .text-p2,.stats-wrapper .stat-item:nth-child(2) h1{color:var(--color-white)}.stat-label{opacity:.8;color:var(--color-text-plashka)}.btn-white{color:var(--color-text-main)}.info-card h4{margin-top:0;margin-bottom:1rem;color:var(--color-text-primary)}.info-card h1,.mission-card h4{margin-bottom:1.25rem;color:var(--color-text-primary)}.info-card .text-p2{margin-bottom:1rem;color:var(--color-text-primary)}.info-card-education .info-card-content{display:flex;flex-direction:column;height:100%}.info-card-education .btn:hover{background:var(--color-success)}.mission-section{padding:80px 0 0}.mission-title{color:var(--color-text-primary)}.mission-cards-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.mission-card{border-radius:30px;padding:28px;position:relative;min-height:300px;display:flex;align-items:flex-start}.mission-card-harmony{background:url('../img/webp/AboutUs_Mission1.webp') center/cover}.mission-card-foundation{background:url('../img/webp/AboutUs_Mission2.webp') center/cover}.mission-card h4{margin-top:0}.mission-card .text-p3{margin-bottom:1rem;color:var(--color-text-secondary);max-width:460px}.mission-card .text-p3:last-child{margin-bottom:0}.mission-card strong{color:var(--color-text-primary)}.director-section{padding:80px 0 0}.director-title{color:var(--color-text-primary)}.director-main-card{background:url('../img/webp/AboutUs_Director.webp') right center/cover;border-radius:30px;padding:28px;margin-bottom:1.25rem;height:415px;display:flex;align-items:flex-start}.director-main-content{max-width:680px;height:100%;display:flex;flex-direction:column}.director-main-info{margin-bottom:auto}.director-main-content h4{margin-top:0;margin-bottom:1.25rem;color:var(--color-text-primary)}.director-position{margin-bottom:0;color:var(--color-text-secondary)}.director-achievements{list-style:none;padding:0;margin:auto 0 0}.director-achievements li{position:relative;padding-left:1.5rem;margin-bottom:.75rem;color:var(--color-text-main)}.director-achievements li:first-child,.director-achievements li:nth-child(2),.director-achievements li:nth-child(3){margin-bottom:.75rem}.director-achievements li:nth-child(4){margin-bottom:0}.director-achievements li:before{content:"";position:absolute;left:0;top:.5rem;width:6px;height:6px;background:var(--color-burgundy);border-radius:50%}.director-quotes-wrapper{display:grid;grid-template-columns:repeat(3,1fr);gap:.625rem;margin-bottom:20px}.director-quote-card{background-image:url('../img/webp/AboutUs_Director_Quote.webp');background-repeat:no-repeat;background-position:left 0 top 0;background-size:auto 100%;background-color:var(--color-white);border-radius:30px;padding:28px;height:288px;display:flex;align-items:center}.director-quote-card .text-p3{margin:0;color:var(--color-text-secondary)}.director-actions{display:flex;gap:.875rem;width:100%}.director-actions .btn{flex:1}.director-mobile-wrapper{display:none}.director-mobile-photo{background:url('../img/webp/AboutUs_Director_768.webp') top center/cover;border-radius:30px;height:300px;margin-bottom:1rem}.director-mobile-info{background:var(--color-white);border-radius:30px;padding:28px;margin-bottom:1.25rem}.director-mobile-content{display:flex;flex-direction:column;height:100%}.director-quotes-mobile-wrapper{display:none}.director-quotes-mobile-header{display:flex;justify-content:flex-start;margin-bottom:1rem}.director-quotes-mobile-navigation{display:flex;gap:.5rem}.director-quotes-nav-btn{width:36px;height:36px;border:1px solid var(--color-border-light);border-radius:50%;background:var(--color-white);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s}.license-guarantees li::before{position:absolute;background:var(--color-burgundy);border-radius:50%;top:.5rem;width:6px;height:6px}.director-quotes-nav-btn:hover{background:var(--color-burgundy-dark)}.director-quotes-nav-btn .arrow-icon{width:18px;height:18px;transition:transform .3s;filter:brightness(0) saturate(100%) invert(25%) sepia(23%) saturate(1847%) hue-rotate(309deg) brightness(95%) contrast(89%)}.director-quotes-mobile-slider{display:flex;gap:1rem;overflow-x:auto;scroll-behavior:smooth;padding-bottom:1rem;-webkit-overflow-scrolling:touch}.director-quotes-mobile-slider::-webkit-scrollbar{display:none}.director-quotes-mobile-slider .director-quote-card{min-width:280px;max-width:300px;flex-shrink:0}.professional-environment-section{padding:80px 0 0}.professional-environment-title{margin-left:28px;margin-bottom:26px}.professional-environment-badge{background:var(--color-bg-burgundy-shield);color:var(--color-text-burgundy);padding:1rem;border-radius:30px;display:block;width:100%;text-align:center;margin-bottom:.625rem}.professional-environment-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:.625rem}.professional-environment-card{border-radius:30px;padding:28px;min-height:300px;display:flex;align-items:flex-start}.professional-environment-card-1{background:url('../img/webp/ProfessionalEnvironment_1.webp') center/cover}.professional-environment-card-2{background:url('../img/webp/ProfessionalEnvironment_2.webp') center/cover}.professional-environment-card-3{background:url('../img/webp/ProfessionalEnvironment_3.webp') center/cover}.professional-environment-content{max-width:100%}.professional-environment-content h4{margin-bottom:1.25rem;min-height:66px;line-height:1.5}.professional-environment-content .text-p3{margin-bottom:0;color:var(--color-text-secondary)}.quality-badge{background:var(--color-gray-200);color:var(--color-text-secondary);margin-top:1.875rem}.quality-card-1{background:url('../img/webp/Quality_1.webp') center/cover}.quality-card-2{background:url('../img/webp/Quality_2.webp') center/cover}.quality-card-3{background:url('../img/webp/Quality_3.webp') center/cover}.license-badge{background:var(--color-bg-green-shield);color:var(--color-text-green);margin-top:1.875rem}.document-title .text-p2,.events-tab,.placeholder-rectangle{color:var(--color-text-secondary)}.license-card-1{background:url('../img/webp/License_1.webp') center/cover}.license-card-2{background:url('../img/webp/License_2.webp') center/cover}.license-card-3{background:url('../img/webp/License_3.webp') center/cover}.license-guarantees{list-style:none;padding:0}.license-guarantees li{position:relative;padding-left:1.5rem;margin-bottom:.75rem}.license-guarantees li::before{content:'';left:0}.top-event-card.hidden,.top-events-group.hidden{display:none}.documents-info h2{margin-bottom:1.5rem}.documents-section{padding-top:80px;background-color:var(--color-bg-secondary);overflow-x:hidden}.documents-wrapper{display:grid;grid-template-columns:1.6fr 1fr;gap:10px;align-items:stretch}.documents-info{background-color:var(--color-white);border-radius:30px;padding:32px;display:flex;flex-direction:column;justify-content:space-between}.documents-slider-wrapper{background-color:#ededed;border-radius:30px;padding:28px;display:flex;align-items:center;justify-content:center;max-width:565px}.document-image,.document-placeholder{max-width:335px;box-shadow:var(--shadow-md)}.license-guarantees{margin:0}.documents-info h5{margin-bottom:1rem;margin-top:1.25rem}.documents-slider-container{background-color:transparent;height:auto;position:relative;width:100%;border-radius:16px;overflow:hidden}.documents-slide,.documents-slider{overflow:visible;position:relative}.documents-slider{width:100%;height:auto}.documents-slides{position:relative;width:100%;height:auto;display:flex;transition:transform .6s cubic-bezier(.25, .46, .45, .94)}.document-image img,.documents-slide{display:block;height:auto;width:100%}.documents-slide{flex-shrink:0;background:0 0;border-radius:0;padding:0;opacity:1;box-sizing:border-box}.document-slide-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem}.document-image{width:100%;height:auto;border-radius:16px;overflow:hidden}.document-image img{object-fit:cover}.document-placeholder{width:100%;height:auto;border-radius:16px;overflow:hidden}.placeholder-rectangle{width:100%;height:240px;background-color:var(--color-gray-200);display:flex;align-items:center;justify-content:center;border-radius:16px}.documents-slider-nav-btn,.documents-slider-nav-btn:hover,.events-tab{background:var(--color-white)}.document-title{text-align:center;max-width:300px}.document-title .text-p2{margin:0;line-height:1.4}.documents-slider-navigation{position:absolute;top:50%;transform:translateY(-50%);width:100%;left:0;display:flex;justify-content:space-between;z-index:20;pointer-events:none}.documents-slider-nav-btn{width:48px;height:48px;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.3s;pointer-events:auto}.documents-slider-nav-btn img{width:24px;height:24px}.documents-info .btn{width:auto;margin-top:auto}.top-events-section{padding:80px 0 0}.top-events-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.top-events-title{margin-left:28px;margin-bottom:0}.top-events-tabs{display:flex;gap:.5rem;margin-right:28px}.events-tab{padding:8px 16px;border:1px solid var(--color-border-light);border-radius:20px;cursor:pointer;transition:.3s}.events-tab:hover{background:var(--color-bg-secondary);border-color:var(--color-primary)}.events-tab-active{background:var(--color-primary);color:var(--color-white);border-color:var(--color-primary)}.events-tab-active:hover{background:var(--color-hover-green);border-color:var(--color-hover-green)}.top-events-cards-wrapper{position:relative;margin-bottom:2rem}.top-events-group{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}.top-event-card{border-radius:30px;padding:28px;background-size:cover;background-position:center;background-repeat:no-repeat;position:relative;min-height:350px;display:flex;flex-direction:column;justify-content:space-between}.top-event-card-1{background-image:url('../img/webp/TopEvents_1.webp')}.top-event-card-2{background-image:url('../img/webp/TopEvents_2.webp')}.top-event-content{display:flex;flex-direction:column;height:100%;justify-content:space-between;color:var(--color-text-primary);gap:12px}.top-event-badge{margin-bottom:1rem}.top-event-tag{margin-bottom:1.5rem}.top-event-date{margin-bottom:1.5rem;color:var(--color-white)}.top-event-card-1 h4:first-child{color:var(--color-primary)}.top-event-card-2 h4:first-child{color:var(--color-burgundy)}.top-event-card .btn{margin-top:12px}.video-overview-section{margin-top:80px;padding:0}.video-overview-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:stretch}.video-overview-info{background-color:var(--color-bg-plashka);border-radius:20px;padding:28px;height:379px;display:flex;flex-direction:column}.video-overview-content{height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.video-overview-content-top{display:flex;flex-direction:column}.video-overview-player,.video-placeholder{background-color:var(--color-bg-gray-shield);align-items:center;display:flex}.video-overview-content h2{margin-bottom:16px}.video-overview-player{border-radius:30px;height:379px;justify-content:center}.video-overview-video{width:100%;height:100%;position:relative}.video-overview-video video{width:100%;height:100%;object-fit:contain;border-radius:20px;background-color:var(--color-bg-gray-light)}.video-placeholder{width:100%;height:100%;border-radius:20px;justify-content:center;position:relative;cursor:pointer;transition:.3s}.video-placeholder:hover{transform:scale(1.02)}.video-play-button{width:80px;height:80px;background-color:var(--color-text-gray);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:.3s}.video-play-button:hover{background-color:var(--color-text-secondary);transform:scale(1.1)}.play-icon{width:32px;height:32px;margin-left:4px}.review-modal-avatar img,.review-modal-video video,.reviewer-avatar img{object-fit:cover;width:100%;height:100%}.section-padding-xl{padding:120px 0 0}.section-padding-lg{padding:80px 0 0}.section-padding-md{padding:60px 0 0}.section-padding-sm{padding:40px 0 0}.card-padding-xl{padding:28px}.card-padding-lg{padding:24px}.card-padding-md{padding:20px}.card-padding-sm{padding:16px}.card-padding-xs{padding:15px}.title-margin-lg{margin-left:20px}.title-margin-md{margin-left:15px}.title-margin-sm{margin-left:10px}.border-radius-xl{border-radius:30px}.border-radius-lg{border-radius:25px}.border-radius-md{border-radius:20px}.border-radius-sm{border-radius:15px}.border-radius-xs{border-radius:12px}.grid-single{grid-template-columns:1fr}.grid-double{grid-template-columns:1fr 1fr}.btn-full-width{width:100%}@media screen and (max-width:1280px){.info-card,.stat-item{padding:1rem}.info-cards-wrapper{gap:.75rem}.stats-wrapper{gap:1rem;bottom:15px;left:15px}.stat-item{min-width:240px;max-width:280px}}@media screen and (max-width:1200px){.director-title,.mission-title{margin-left:clamp(20px,3vw,28px)}.hero-banners{padding:clamp(1.5rem,2.5vw,2rem) 0}.banner-left{padding:clamp(2rem,3.5vw,3rem);min-height:clamp(350px,35vh,420px)}.director-main-card,.mission-card{min-height:clamp(250px,30vh,300px)}.info-cards-wrapper{gap:clamp(.75rem,1.5vw,1rem);margin-top:clamp(1.5rem,2.5vw,2rem)}.stats-wrapper{gap:clamp(1rem,2vw,1.5rem);bottom:clamp(15px,2vw,20px);left:clamp(15px,2vw,20px)}.info-card{padding:clamp(1rem,2vw,1.5rem)}.mission-section{padding:clamp(80px,10vw,120px) 0 0}.mission-card{padding:clamp(20px,3vw,28px)}.director-section{padding:clamp(80px,10vw,120px) 0 0}.director-main-card{padding:clamp(20px,3vw,28px)}.director-quote-card{padding:clamp(20px,3vw,28px);min-height:clamp(160px,20vh,200px)}}@media screen and (max-width:1024px){.director-title,.mission-title{margin-left:20px}.banners-wrapper,.director-quotes-wrapper,.documents-wrapper,.info-cards-wrapper,.mission-cards-wrapper,.top-events-group{grid-template-columns:1fr}.hero-banners{padding:1.5rem 0}.banner-left{grid-column:1/-1;padding:2.5rem;min-height:350px}.info-cards-wrapper{gap:1rem}.stats-card{height:350px;border-radius:20px;grid-row:auto}.stats-wrapper{bottom:15px;left:15px;gap:1rem}.info-card{padding:1.25rem}.mission-section{padding:80px 0 0}.mission-cards-wrapper{gap:1rem}.mission-card{padding:20px;min-height:250px}.director-section{padding:80px 0 0}.director-quotes-wrapper{gap:1rem}.director-main-card{padding:20px;min-height:250px}.director-quote-card{padding:20px;min-height:180px}.director-actions{flex-direction:row;align-items:center}.director-actions .btn{flex:1}.professional-environment-cards{grid-template-columns:1fr;gap:1rem}.professional-environment-card{min-height:250px;padding:20px;border-radius:20px}.top-events-tabs,.top-events-title{margin-left:20px}.stat-item{min-width:250px;max-width:300px;padding:1.25rem}.documents-wrapper{gap:2rem;width:100%;max-width:100%;box-sizing:border-box}.documents-info,.documents-slider-wrapper{padding:1.5rem;border-radius:20px}.document-slide-content{gap:1rem;padding:1.5rem}.document-image,.document-placeholder{max-width:250px;border-radius:12px}.placeholder-rectangle{height:200px;border-radius:12px}.top-events-section{padding:80px 0 0}.top-events-header{flex-direction:column;align-items:flex-start;gap:1.5rem}.top-events-tabs{margin-right:20px}.top-events-group{gap:1.5rem}.top-event-card{min-height:auto;padding:24px;border-radius:25px}.video-overview-wrapper{gap:1.5rem}.video-overview-info,.video-overview-player{padding:24px;height:400px}.video-play-button{width:70px;height:70px}.play-icon{width:28px;height:28px}}@media screen and (max-width:1024px) and (min-width:768px){.documents-slider-wrapper{width:100%;max-width:100%;height:auto;min-height:400px;padding:2rem;box-sizing:border-box}.documents-slider-container{width:100%;height:100%;min-height:350px}.document-slide-content{height:100%;min-height:300px;justify-content:center;padding:1.5rem}.document-image,.document-placeholder{max-width:300px;height:auto}.placeholder-rectangle{height:250px}}@media screen and (max-width:768px){.director-mobile-info{padding:20px;border-radius:20px}.director-main-card{display:none}.director-mobile-wrapper{display:block}.director-mobile-photo{height:250px;border-radius:20px}.director-mobile-info .director-main-info h4{margin-bottom:1.25rem}.director-mobile-info .director-position{margin-bottom:2rem}.director-quotes-wrapper{display:none}.director-quotes-mobile-wrapper{display:block}.director-quotes-mobile-slider .director-quote-card{min-width:260px;max-width:300px;height:200px;padding:20px;border-radius:20px;display:flex;align-items:flex-end}.director-actions{flex-direction:column;align-items:flex-start}.director-actions .btn{width:100%}.banner-left,.stat-item,.stats-card{border-radius:20px}.hero-banners{padding:1rem 0}.banner-left{padding:2rem;min-height:300px}.info-card,.stat-item{padding:1rem}.info-cards-wrapper{margin-top:1.5rem}.stats-card{height:300px}.stats-wrapper{flex-direction:row;gap:.75rem;bottom:15px;left:15px}.stat-item{min-width:auto;max-width:none}.documents-info,.documents-slider-wrapper{border-radius:16px;width:100%;max-width:100%;box-sizing:border-box}.banner-content h1{margin-bottom:.75rem}.banner-content p{margin-bottom:1.5rem}.documents-info{padding:1.25rem}.documents-slider-wrapper{padding:0;flex-direction:column;align-items:stretch;gap:1rem}.document-slide-content{gap:.75rem;padding:1rem}.document-image,.document-placeholder{max-width:200px;border-radius:10px}.placeholder-rectangle{height:160px;border-radius:10px}.document-title{max-width:250px}.documents-slider-navigation{position:static;transform:none;width:auto;justify-content:flex-start;margin:0;gap:20px}.top-events-tabs,.top-events-title{margin-left:15px}.documents-slider-nav-btn{width:36px;height:36px}.documents-slider-nav-btn img{width:18px;height:18px}.documents-slider-container{padding:1.25rem;border-radius:16px;background-color:#ededed;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.top-events-section{padding:60px 0 0}.top-events-tabs{margin-right:15px;flex-wrap:wrap;gap:.5rem}.events-tab{padding:6px 12px;font-size:var(--font-size-xs)}.top-event-card,.video-overview-info,.video-overview-player{padding:20px;border-radius:20px}.top-event-content{gap:0}.top-event-card{min-height:auto}.top-event-badge,.top-event-card h4,.top-event-tag{margin-bottom:.75rem}.top-event-description{margin-bottom:1rem;flex-grow:1}.top-event-date{margin-bottom:0}.events-tag{margin-bottom:12px}.video-overview-wrapper{grid-template-columns:1fr;gap:1rem}.video-overview-info{order:1;height:379px}.video-overview-player{order:2;height:379px}.video-overview-video{min-height:unset}.video-overview-video video{border-radius:12px}.video-placeholder{border-radius:15px}.video-play-button{width:60px;height:60px}.play-icon{width:24px;height:24px}.contact-form-section{padding:2rem 0}}@media screen and (max-width:480px){.director-title,.mission-title{margin-left:15px}.documents-section{padding-top:80px}.banner-left{padding:1.5rem;border-radius:15px}.info-card,.stat-item{padding:.75rem}.stats-card{border-radius:20px}.stats-wrapper{bottom:12px;left:12px;flex-direction:column}.stat-item{border-radius:15px}.mission-section{padding:60px 0 0}.mission-card{padding:15px;min-height:220px;border-radius:20px}.director-section{padding:60px 0 0}.director-main-card{padding:15px;min-height:220px;border-radius:20px}.director-quote-card{padding:15px;min-height:160px;border-radius:20px}.documents-info,.documents-slider-wrapper{border-radius:15px;margin:0;max-width:100%;box-sizing:border-box}.documents-info{padding:20px;width:100%}.documents-slider-wrapper{padding:0;flex-direction:column;align-items:stretch;gap:.75rem;width:100%}.top-events-tabs,.top-events-title{margin-left:10px}.documents-info h2,.documents-info p,.license-guarantees li{word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.document-slide-content{gap:.5rem;padding:.5rem;max-width:100%}.document-image,.document-placeholder{max-width:160px;border-radius:8px}.placeholder-rectangle{height:120px;border-radius:8px}.document-title{max-width:180px}.document-title p{word-wrap:break-word;overflow-wrap:break-word}.documents-info .btn{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.documents-slider-navigation{padding:0 .75rem}.documents-slider-container{padding:.5rem;border-radius:15px;background-color:#ededed;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.top-events-section{padding:40px 0 0}.top-events-tabs{margin-right:10px}.events-tab{padding:4px 8px;font-size:var(--font-size-xs)}.top-event-card,.video-overview-info,.video-overview-player{padding:16px;border-radius:15px}.top-event-card{min-height:auto}.top-events-group{gap:1rem}.video-overview-info{order:1;height:379px}.video-overview-player{order:2;height:379px}.video-overview-video{min-height:unset}.video-overview-video video{border-radius:10px}.video-play-button{width:50px;height:50px}.play-icon{width:20px;height:20px}.contact-form-section{padding:50px 0}.contact-form-wrapper{gap:1.8rem}.social-link,.social-link img{width:50px;height:50px}}.reviews-section{padding-top:80px;background-color:var(--color-bg-secondary)}.reviews-slider{position:relative;width:100%;overflow:hidden;min-height:350px}.reviews-slides-container{display:flex;width:683%;transition:transform .6s cubic-bezier(.25, .46, .45, .94)}.reviews-slide{width:20%;flex-shrink:0;opacity:1;margin-right:1%;padding-right:8px;box-sizing:border-box}.review-card,.reviews-wrapper{padding:32px;position:relative}.reviews-slide:last-child{margin-right:0}.reviews-slide.active{opacity:1}.reviews-wrapper{border-radius:30px;overflow:hidden}.reviews-wrapper::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:url('../img/webp/Reviews_Main.webp');background-size:cover;background-position:center;background-repeat:no-repeat;transform:scaleY(-1);z-index:0}.reviews-wrapper.burgundy-bg::after{background-image:url('../img/webp/Decide_Main.webp');transform:scaleX(-1)}.reviews-wrapper::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:var(--overlay-light);z-index:1}.reviews-wrapper>*{position:relative;z-index:2}.reviews-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.reviews-header h2{color:var(--color-white);margin-bottom:0}.review-modal-header h3,.reviewer-name{margin:0;color:var(--color-text-main)}.reviews-header.white-title h2{color:var(--color-text-white)}.reviews-navigation{display:flex;gap:20px}.reviews-nav-btn{width:50px;height:50px;border-radius:50%;background-color:rgba(255,255,255,.2);border:.2px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s}.reviews-nav-btn:hover{background-color:rgba(255,255,255,.3);border-color:rgba(255,255,255,.5)}.arrow-icon{width:24px;height:24px;filter:brightness(0) invert(1)}.reviews-nav-btn.prev .arrow-icon{transform:rotate(180deg)}.reviews-grid{display:grid;grid-template-columns:1.3fr 1.7fr;gap:10px;width:73.5%;margin:0}.review-card:nth-child(3){grid-column:1/3;grid-row:2;width:calc(50% - 6.67px)}.review-card:nth-child(4){grid-column:1/3;grid-row:2;width:calc(50% - 3.33px);justify-self:end}.review-card{background-color:var(--color-white);border-radius:20px;display:flex;align-items:flex-start;justify-content:flex-start;min-height:280px;box-sizing:border-box;cursor:pointer;transition:.3s}.review-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,.1)}.review-card.has-video::after{content:'';position:absolute;top:20px;right:20px;width:48px;height:48px;background-color:var(--color-primary);border-radius:50%;display:flex;align-items:center;justify-content:center;z-index:3}.review-card.has-video.burgundy-play::after{background-color:var(--color-secondary)}.review-card.has-video::before{content:'';position:absolute;top:35px;right:34px;width:18px;height:18px;background:url('../img/Vector_Play.svg') center center/contain no-repeat;z-index:4}.review-content{width:100%;height:100%;display:flex;flex-direction:column;gap:20px}.reviews-section .events-tag,.reviews-section-mobile .events-tag{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left}.reviewer-info{display:flex;gap:16px;align-items:flex-start}.reviewer-avatar{flex-shrink:0;width:80px;height:80px;border-radius:50%;overflow:hidden;background-color:var(--color-bg-gray-shield);display:flex;align-items:center;justify-content:center}.reviewer-details{flex:1;display:flex;flex-direction:column;gap:8px}.review-content .text-p3{color:var(--color-text-plashka);margin:0}.review-text-truncated{display:-webkit-box;-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.review-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);z-index:1000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:.3s}.review-modal-overlay.active{opacity:1;visibility:visible}.review-modal{background-color:var(--color-white);border-radius:30px;max-width:1000px;width:90%;max-height:90vh;overflow-y:auto;position:relative;transform:scale(.8);transition:.3s;box-shadow:0 20px 40px rgba(0,0,0,.15)}.review-modal-overlay.active .review-modal{transform:scale(1)}.review-modal-header{padding:40px 40px 20px;border-bottom:1px solid var(--color-border-light);position:relative}.review-modal-close{position:absolute;top:20px;right:20px;width:40px;height:40px;border:none;background:0 0;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .3s}.review-modal-avatar,.review-modal-close:hover,.review-modal-video{background-color:var(--color-bg-gray-shield)}.review-modal-close::after,.review-modal-close::before{content:'';position:absolute;width:20px;height:2px;background-color:var(--color-text-main);border-radius:1px}.review-modal-close::before{transform:rotate(45deg)}.review-modal-close::after{transform:rotate(-45deg)}.review-modal-content{padding:20px 40px 40px;display:flex;gap:50px;align-items:flex-start}.review-modal.has-video .review-modal-avatar,.reviews-section-mobile{display:none}.review-modal-avatar{flex-shrink:0;width:160px;height:160px;border-radius:50%;overflow:hidden}.review-modal-video{flex-shrink:0;width:300px;height:200px;border-radius:20px;overflow:hidden;display:none}.review-modal.has-video .review-modal-video{display:block}.review-modal-text{flex:1;color:var(--color-text-plashka);line-height:1.6}@media screen and (max-width:1024px){.reviews-wrapper{padding:40px}.reviews-header{margin-bottom:32px}.review-card{padding:24px;min-height:250px}.review-content{gap:16px}.reviewer-avatar{width:50px;height:50px}.review-card.has-video::after{width:40px;height:40px;top:16px;right:16px}.review-card.has-video::before{top:28px;right:26px;width:16px;height:16px;background:url('../img/Vector_Play.svg') center center/contain no-repeat}}@media screen and (max-width:768px){.reviews-section{padding:60px 0}.reviews-wrapper{padding:32px}.reviews-header{flex-direction:column;gap:20px;margin-bottom:24px}.reviews-grid{grid-template-columns:1fr;gap:16px}.reviews-slides-container{transition:transform .4s ease-in-out}.review-card{padding:20px;min-height:220px}.review-content,.reviewer-info{gap:12px}.reviewer-avatar{width:45px;height:45px}.review-card.has-video::after{width:36px;height:36px;top:12px;right:12px}.review-card.has-video::before{top:23px;right:22px;width:14px;height:14px;background:url('../img/Vector_Play.svg') center center/contain no-repeat}.review-modal{width:95%;margin:20px}.review-modal-header{padding:30px 30px 15px}.review-modal-content{padding:15px 30px 30px;flex-direction:column;gap:30px}.review-modal-avatar{width:120px;height:120px;align-self:center}.review-modal-video{width:100%;height:180px;align-self:center}}.reviews-wrapper-mobile{border-radius:30px;padding:32px;position:relative;overflow:hidden}.reviews-wrapper-mobile::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background-image:url('../img/webp/Reviews_Main.webp');background-size:cover;background-position:center;background-repeat:no-repeat;transform:scaleY(-1);z-index:0}.reviews-wrapper-mobile.burgundy-bg::after{background-image:url('../img/webp/Decide_Main.webp');transform:scaleX(-1) scaleY(-1)}@media screen and (max-width:480px){.reviews-section{display:none}.reviews-section-mobile{display:block;margin-top:40px}.reviews-wrapper-mobile{padding:20px}.reviews-wrapper-mobile::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('../img/Reviews_bg.svg') center center/cover no-repeat;opacity:.1;z-index:1}.reviews-wrapper-mobile>*{position:relative;z-index:2}.reviews-header-mobile{display:flex;justify-content:space-between;align-items:center;margin-bottom:40px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:16px}.reviews-header-mobile h2{text-align:left;margin:0}.reviews-header-mobile.white-title h2{color:var(--color-text-white)}.reviews-navigation-mobile{display:flex;gap:15px}.reviews-nav-btn-mobile{width:36px;height:36px;border-radius:50%;background-color:rgba(255,255,255,.2);border:.2px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.3s}.reviews-nav-btn-mobile:hover{background-color:rgba(255,255,255,.3);border-color:rgba(255,255,255,.5)}.reviews-nav-btn-mobile .arrow-icon{width:18px;height:18px;filter:brightness(0) invert(1)}.reviews-nav-btn-mobile.prev .arrow-icon{transform:rotate(180deg)}.reviews-slider-mobile{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;padding:0;margin:0}.reviews-slider-mobile::-webkit-scrollbar{display:none}.reviews-cards-container-mobile{display:flex;gap:10px;padding:0;align-items:stretch;width:max-content}.review-card-mobile{width:348px;min-width:348px;max-width:348px;flex:0 0 348px;padding:22px;box-sizing:border-box;background:var(--color-white);border-radius:20px;box-shadow:none;position:relative;cursor:pointer;transition:transform .3s;height:auto;display:flex;flex-direction:column}.review-card-mobile:hover{transform:translateY(-5px);box-shadow:0 8px 30px rgba(0,0,0,.15)}.reviews-section-mobile .review-text{max-height:130px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;text-overflow:ellipsis;line-height:1.5;word-wrap:break-word}.review-card-mobile.has-video::after{content:'';position:absolute;top:16px;right:16px;width:30px;height:30px;background-color:var(--color-primary);border-radius:50%;z-index:3}.review-card-mobile.has-video.burgundy-play::after{background-color:var(--color-secondary)}.review-card-mobile.has-video::before{content:'';position:absolute;top:25px;right:24px;width:12px;height:12px;background:url('../img/Vector_Play.svg') center center/contain no-repeat;z-index:4}.reviews-nav-btn{width:36px;height:36px}.arrow-icon{width:18px;height:18px}.reviews-section{padding:40px 0}.reviews-wrapper{padding:20px;overflow:visible}.reviews-header{margin-bottom:20px;flex-direction:column;justify-content:flex-start;align-items:self-start;gap:16px}.reviews-header h2{text-align:left;margin-right:auto}.reviews-navigation{gap:15px}.reviews-section .events-tag,.reviews-section-mobile .events-tag{display:block;-webkit-line-clamp:unset;line-clamp:unset;-webkit-box-orient:unset;overflow:visible}.reviews-slider{overflow-x:visible;overflow-y:visible;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;padding:0;margin:0}.reviews-slider::-webkit-scrollbar{display:none}.reviews-slides-container{display:flex;gap:0;padding:0;align-items:stretch;width:auto;transform:none!important;transition:none!important}.reviews-slide{display:flex;flex-shrink:0;width:auto;margin-right:0;padding-right:0;opacity:1!important}.reviews-grid{display:flex;flex-direction:row;gap:0;width:auto;margin:0}.review-card{width:348px;min-width:348px;max-width:348px;flex:0 0 348px;padding:22px;box-sizing:border-box;height:auto}.review-card:not(:first-child){display:block}.review-card:nth-child(3),.review-card:nth-child(4){grid-column:unset;grid-row:unset;width:100%;justify-self:unset}.review-content{gap:16px;height:100%;display:flex;flex-direction:column;justify-content:flex-start}.reviewer-info{gap:12px;flex-shrink:0}.reviewer-avatar{width:50px;height:50px}.reviewer-name{margin-bottom:4px}.review-card.has-video::after{width:32px;height:32px;top:10px;right:10px}.review-card.has-video::before{top:18px;right:18px;width:8px;height:8px;background:url('../img/Vector_Play.svg') center center/contain no-repeat}.review-modal{width:95%;margin:10px}.review-modal-header{padding:20px 20px 10px}.review-modal-content{padding:10px 20px 20px;gap:25px}.review-modal-avatar{width:100px;height:100px}.review-modal-video{width:100%;height:160px}.review-modal-close{top:15px;right:15px;width:35px;height:35px}}

/* ============================================================================
 * Контакт-форма (нижняя секция) — 1-в-1 с эталоном pages/О нас/css/core.0ed89c3d.min.css
 * Пути: ../images/ → ../img/webp/  (Reviews_Main.webp)
 * ========================================================================== */
.contact-form-section { padding: 80px 0; }
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
.contact-form-info-card {
    background: var(--color-white);
    border-radius: 30px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-form-info-card h2 { margin-bottom: 1.5rem; }
.contact-form-info-card .text-p2 { color: var(--color-text-main); margin-bottom: 1rem; }
.contact-form-info-card .text-p2:last-of-type { margin-bottom: 2rem; }
.contact-social-title { margin-top: auto; margin-bottom: 12px; }
.contact-social-links { display: flex; gap: 1rem; margin-top: 12px; }
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    text-decoration: none;
    padding: 0;
}
.social-link img { width: 54px; height: 54px; }
.contact-social-links .social-link:hover {
    transform: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.contact-form-card { border-radius: 30px; padding: 32px; }
.contact-form-card.theme-image {
    background-image: url('../img/webp/Reviews_Main.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.contact-form-card.theme-image::before {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    z-index: 1;
    content: '';
}
.contact-form-card.theme-image > * { position: relative; z-index: 2; }

@media screen and (max-width: 1366px) { .contact-form-section { padding: 120px 0; } }
@media screen and (max-width: 1200px) { .contact-form-section { padding: 100px 0; } }
@media screen and (max-width: 1024px) {
    .contact-form-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .contact-form-card, .contact-form-info-card { padding: 28px; }
    .contact-form-section { padding: 60px 0; }
}
@media screen and (max-width: 900px) {
    .contact-form-section { padding: 70px 0; }
    .contact-form-card, .contact-form-info-card { padding: 28px; }
}
@media screen and (max-width: 768px) {
    .contact-form-wrapper { gap: 32px; }
    .contact-form-card, .contact-form-info-card { padding: 2rem; border-radius: 20px; }
    .contact-social-links { gap: 12px; }
    .social-link { width: 48px; height: 48px; }
}
@media screen and (max-width: 640px) {
    .contact-form-section { padding: 50px 0; }
    .contact-form-wrapper { gap: 1.8rem; }
    .contact-form-card, .contact-form-info-card { padding: 22px; }
}
@media screen and (max-width: 480px) {
    .contact-form-section { padding: 32px 0; }
    .contact-form-wrapper { gap: 1.5rem; }
    .contact-form-card, .contact-form-info-card { padding: 20px; border-radius: 20px; }
    .contact-social-links { gap: 8px; }
    .social-link { width: 44px; height: 44px; }
    .social-link img { width: 32px; height: 32px; }
}

/* Стили .contact-form-container / .form-field / .agreement-option / .contact-form-buttons
 * / .privacy-link и медиа-запросы вынесены в общий assets/css/modular-contact-form.css
 * (единая точка управления формами). Из page-specific остаётся только служебный
 * модификатор .contact-form-no-privacy. */
.contact-form-no-privacy .agreement-field { display: none; }

.partners-section{
    margin-top: 80px;
    padding-bottom: 0;
}

/* ============================================================================
 * Reviews-section на /about_us/ — стили 1-в-1 с главной страницей
 * (см. home.css:1736+). Асимметричный grid 1.3fr / 1.7fr, мобильные размеры
 * паддингов/кнопок такие же как на home. Перебиваем минифицированные
 * правила из строки 214 (683%, 20%, width:73.5%, nth-child(3)/(4)).
 * ========================================================================== */
.reviews-section .reviews-slides-container { width: 100%; }
.reviews-section .reviews-slide { width: 100%; margin-right: 0; padding-right: 0; }
.reviews-section .reviews-grid {
    grid-template-columns: 1.3fr 1.7fr;
    grid-template-rows: auto auto;
    gap: 10px;
    width: 100%;
}
.reviews-section .review-card:nth-child(3),
.reviews-section .review-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    justify-self: auto;
}

/* Адаптив — те же breakpoints, что на главной. */
@media screen and (max-width: 1024px) {
    .reviews-wrapper { padding: 36px; }
    .reviews-header { margin-bottom: 36px; }
    .review-card { padding: 28px; min-height: 260px; }
}
@media screen and (max-width: 768px) {
    .reviews-section { padding: 50px 0; }
    .reviews-wrapper { padding: 28px; }
    .reviews-header {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 20px;
        align-items: flex-start;
    }
    .reviews-navigation { gap: 18px; }
    .reviews-nav-btn { width: 40px; height: 40px; }
    .arrow-icon { width: 20px; height: 20px; }
    .reviews-section .reviews-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .review-card { padding: 22px; min-height: 200px; }
}

/* На ≤480 убираем display:none из минифицированной строки 214 (раньше блок
   был раздвоен на desktop + mobile; теперь единая разметка адаптируется
   через CSS scroll-snap из reviews.css). */
@media screen and (max-width: 480px) {
    .reviews-section { display: block; }
}

/* Partners marquee — стили вынесены в dk-theme.css (сквозной component). */
