/* ===== HERO SECTION — 2 КОЛОНКИ ===== */
.hero {
    padding: 60px 0 100px;
    background: #f5f5f5;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* ==================== ЛЕВАЯ КОЛОНКА (СЛАЙДЕР) ==================== */
.hero-slider-col {
    flex: 1.2;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
}

.hero-slider-col .heroSwiper,
.hero-slider-col .swiper-slide {
    height: 100%;
    min-height: 420px;
}

.hero-slider-col .slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slider-col .slide-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}

.hero-slider-col .slide-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 30px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-slider-col .swiper-slide-active .slide-content {
    opacity: 1;
}

.hero-slider-col .slide-content h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.hero-slider-col .slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-slider-col .btn-primary {
    display: inline-block;
    background: #5200b0;
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.hero-slider-col .btn-primary:hover {
    background: #6d1fc4;
    transform: translateY(-2px);
}

/* Точки пагинации */
.hero-slider-col .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 20;
    text-align: center;
}

.hero-slider-col .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    opacity: 0.8;
    margin: 0 6px;
    border-radius: 50%;
    transition: 0.2s;
}

.hero-slider-col .swiper-pagination-bullet-active {
    background: #ffcc29;
    transform: scale(1.2);
    opacity: 1;
}

/* Скрываем стрелки */
.hero-slider-col .swiper-button-prev,
.hero-slider-col .swiper-button-next {
    display: none !important;
}

/* ==================== ПРАВАЯ КОЛОНКА — НОВЫЙ СТИЛЬ ==================== */
.hero-glass-col {
    flex: 0.8;
}
.hero-glass-block {
    background: #fffcf0;
    border-radius: 40px;
    padding: 32px 24px;
    color: #1e1b1a;
    border: none;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1), 0 1px 0 0 #ffcc29 inset;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-glass-block .welcome-new-link {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 100px;
    background: #ffffff;
    color: #b87c00;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: 0.2s;
    border: 1px solid #ffcc29;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.hero-glass-block .welcome-new-link:hover {
    background: #ffcc29;
    color: #1e1b1a;
    border-color: #e6b422;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255,204,41,0.3);
}
.welcome-new-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.hero-glass-block .welcome-new-image {
    max-width: 100%;
    border-radius: 24px;
    margin: 20px 0;
    box-shadow: 0 12px 24px -16px rgba(0,0,0,0.2);
    border: 1px solid #ffefb3;
}
.hero-glass-block .welcome-new-static-text h3 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #4d3571, #3f2c78, #803dbe);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.hero-glass-block .welcome-new-static-text p {
    font-size: 13px;
    text-align: center;
    line-height: 1.45;
    opacity: 0.7;
    font-weight: 500;
    color: #5a5246;
    text-transform: uppercase;
}
/* ==================== АДАПТИВ ==================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        gap: 30px;
    }
    .hero-slider-col,
    .hero-glass-col {
        flex: auto;
    }
    .hero-slider-col .heroSwiper,
    .hero-slider-col .swiper-slide {
        min-height: 380px;
    }
    .hero-slider-col .slide-content h1 {
        font-size: 28px;
    }
}
@media (max-width: 520px) {

}

/* ===== PROMO BLOCKS ===== */
.promo-blocks {
    max-width: 1080px;
    margin: -70px auto 80px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    z-index: 10;
    position: relative;
}

.block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 25px;
    height: 240px;
    color: white;
    text-align: center;
    transition: transform 0.4s;
}
.promo-custom-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.block:hover {
    transform: translateY(-15px);
}

.green {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.052) 35%, rgba(0,0,0,0) 25%),
    linear-gradient(135deg, #8fbf1f, #9ec41f);
}

.yellow {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.032) 35%, rgba(0,0,0,0) 25%),
    linear-gradient(135deg, #f3a81d, #f7b51e);
}

.red {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.051) 35%, rgba(0,0,0,0) 25%),
    linear-gradient(135deg, #c92d2d, #e73333);
}

.purple {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.052) 35%, rgba(0,0,0,0) 25%),
    linear-gradient(135deg, #8e2aa6, #ae2fca);
}.block-icon {
    display: flex;
    font-size: 70px;
}

.block-content {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.block h3 {
    width: 60%;
    text-align: end;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 12px;
}

.btn-block {
    width: 60%;
    padding: 10px;
    font-size: 12px;
    border: white solid 1px;
    color: white;
    text-decoration: none;
}

.btn-block:hover {
    color: #000;
    border-color: #0e0e0e;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ PROMO BLOCKS ===== */

@media (max-width: 1156px) {
    .promo-blocks {
        margin: -40px auto 60px; /* уменьшаем отрицательный отступ, чтобы блоки не наползали */
        gap: 8px;
    }

    .block {
        height: 220px;           /* чуть уменьшаем высоту */
        padding: 15px 20px;
    }

    .block h3 {
        font-size: 18px;
        width: 70%;              /* чуть шире, чтобы текст не обрезался */
    }

    .btn-block {
        width: 70%;
        padding: 8px;
        font-size: 11px;
    }

    .block-icon svg,
    .promo-custom-icon {
        width: 50px;
        height: 50px;
    }
}

/* Маленькие планшеты (до 768px) */
@media (max-width: 768px) {
    .promo-blocks {
        margin: -35px auto 50px;
        gap: 6px;
    }

    .block {
        height: 200px;
        padding: 12px 15px;
    }

    .block h3 {
        font-size: 16px;
        width: 80%;
        margin-bottom: 8px;
    }

    .btn-block {
        width: 80%;
        padding: 6px;
        font-size: 10px;
    }

    .block-icon svg,
    .promo-custom-icon {
        width: 45px;
        height: 45px;
    }
}

/* Телефоны (до 576px) */
@media (max-width: 576px) {
    .promo-blocks {
        margin: -20px auto 40px;
        gap: 10px;
        grid-template-columns: 1fr; /* одна колонка на самых маленьких экранах */
    }

    .block {
        height: auto;           /* высота по содержимому */
        min-height: 160px;      /* минимальная высота, чтобы блок не схлопывался */
        padding: 15px;
        flex-direction: row;    /* горизонтальное расположение иконки и текста для экономии места */
        align-items: center;
        text-align: left;
    }

    .block-icon {
        flex: 0 0 50px;
        margin-right: 15px;
        font-size: 0;           /* убираем возможный лишний отступ */
    }

    .block-icon svg,
    .promo-custom-icon {
        width: 50px;
        height: 50px;
    }

    .block-content {
        flex: 1;
        align-items: flex-start; /* текст прижимаем к левому краю */
    }

    .block h3 {
        width: 100%;            /* заголовок на всю ширину */
        text-align: left;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .btn-block {
        width: auto;            /* кнопка по ширине контента */
        padding: 6px 12px;
        font-size: 11px;
        display: inline-block;
        border-width: 1px;
    }
}



/* ===== WELCOME SECTION ===== */
.welcome {
    background-color: #ffffff;
}

.welcome-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

.welcome-header {
    text-align: left;
    width: 100%;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffcc29;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.welcome-mission {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
}

.welcome-line {
    width: 80px;
    height: 4px;
    background: #ffcc29;
    margin: 25px 0;
    border-radius: 2px;
}

.welcome-side {
    width: 100%;
    border-radius: 12px;
    padding: 10px;
    box-sizing: border-box;
}

/* ===== Кнопки ===== */
.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.welcome-btn {
    display: block;
    padding: 14px 20px;
    background: linear-gradient(135deg, #5200b0, #6212bd);
    color: white;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 48px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;                    /* на мобильных — на всю ширину */
}

.welcome-btn:hover {
    transform: translateY(-3px);
    background: #ffcc29;
    color: #1a1a1a;
    box-shadow: 0 10px 25px rgba(255, 204, 41, 0.35);
}

/* =====================================================================
   От 576px — текст и кнопки рядом (70% / 30%)
   ===================================================================== */

@media (min-width: 576px) {
    .welcome {
        padding: 40px 25px;
    }

    .welcome-wrapper {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }

    .welcome-header {
        width: 68%;                   /* ~70% */
        margin-bottom: 0;
    }

    .welcome-side {
        width: 32%;                   /* ~30% */
    }

    .welcome-title {
        font-size: 32px;
    }

    .welcome-mission {
        font-size: 17px;
    }

    /* Кнопки на планшетах и десктопе становятся компактнее */
    .welcome-btn {
        padding: 12px 24px;
        font-size: 15.5px;
        min-height: 46px;
        width: auto;                  /* уже не на всю ширину */
    }

    .welcome-buttons {
        gap: 16px;
    }
}

/* Более крупные экраны — чуть больше пространства и размера */
@media (min-width: 992px) {

    .welcome-wrapper {
        gap: 60px;
    }

    .welcome-header {
        width: 70%;
    }

    .welcome-side {
        width: 30%;
    }

    .welcome-title {
        font-size: 38px;
    }

    .welcome-mission {
        font-size: 18px;
    }

    .welcome-btn {
        padding: 12px 28px;
        font-size: 16px;
        min-height: 48px;
    }
}

@media (min-width: 1200px) {
    .welcome-title {
        font-size: 42px;
    }

    .welcome-mission {
        font-size: 19px;
    }

    .welcome-btn {
        padding: 13px 32px;
        font-size: 16px;
    }
}

/* Очень маленькие экраны (меньше 576px) — усиливаем мобильный вид */
@media (max-width: 575px) {
    .welcome {
        padding: 40px 15px;
    }

    .welcome-title {
        font-size: 24px;
    }

    .welcome-mission {
        font-size: 15px;
    }

    .welcome-btn {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* ===== NEWS SECTION (главная) ===== */
.news {
    margin: auto;
    padding: 90px 0;
    background: white;
}

.news-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
}

.news h2 {
    font-size: 26px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.news h2 span {
    color: #ffcc29;
}

/* левая колонка */
.news-left {
    flex: 1;
}

.news-card {
    margin-bottom: 30px;
    cursor: pointer;
}
.news-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
  padding-right: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  
  /* На всякий случай */
  overflow-wrap: break-word;
  word-break: break-word;
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.4s;
}

.news-date {
    display: inline-block;
    background: #ffcc29;
    color: white;
    padding: 6px 14px;
    font-size: 13px;
    margin: 12px 0;
}

.news-card a {
    color: #111;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
}

.news-card a:hover {
    color: #ffcc29;
}

/* центр */
.news-center img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.news-highlight {
    background: #ffcc29;
    padding: 35px;
    color: white;
    height: 320px;
}

.news-highlight h3 {
    margin: 15px 0;
    font-size: 22px;
}

.news-highlight a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.news-highlight a:hover {
    text-decoration: underline;
}

/* правая колонка */
.news-right {
    flex: 1.3;
}

.magazine-card {
    background: #f3f3f3;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    
}

.magazine-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    height: 320px;
}

.magazine-content {
    padding: 25px;
    height: 320px;
}

.magazine-content p {
    margin: 10px 0 15px;
}

.magazine-content a {
    text-decoration: none;
    font-weight: 600;
    color: #111;
}

.magazine-content a:hover {
    color: #ffcc29;
}

/* обёртка для центра и правой колонки */
.news-center-right-wrapper {
    flex: 2.6;
    display: flex;
    flex-direction: column;
}

.news-center-right-wrapper h2 {
    display: flex;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.news-center-and-right {
    display: flex;
    flex: 1;
}

.news-center {
    flex: 1.3;
    position: relative;
}

.news-right {
    flex: 1.3;
}

/* кнопки новостей */
.news-buttons {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin: auto;
    margin-top: 50px;
    max-width: 1080px;
}

.news-btn-outline,
.news-btn-filled {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

.news-btn-outline {
    border: 2px solid #ffcc29;
    color: #ffcc29;
}

.news-btn-outline:hover {
    background: #ffcc29;
    color: white;
}

.news-btn-filled {
    background: #ffcc29;
    color: white;
}

.news-btn-filled:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* адаптив новостей */
@media (max-width: 1100px) {
    .news-container {
        flex-direction: column;
        padding: 0 60px;
    }
    .news-left h2 {
        text-align: center;
    }
    .news-left img {
      height: 250px;
    }
    .news-left {
        margin-bottom: 30px;
    }
    
}

@media (max-width: 768px) {
    .news-container {
        padding: 0 20px;
    }
    .news h2 {
        font-size: 20px;
    }
    .news-center img {
        height: 220px;
    }
    .news-highlight {
        padding: 25px;
    }
    .news-buttons {
        flex-direction: column;
        gap: 20px;
        margin: 15px auto;
        padding: 0 5px;
    }
    .news-center-right-wrapper {
        flex: none;
    }
    .news-center-and-right {
        flex-direction: column;
    }
    .news-center-right-wrapper h2 {
        text-align: center;}
}

/* ===== PARTNERS CAROUSEL ===== */
.partners-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-title {
    font-size: 36px;
    font-weight: 600;
    margin-top: 20px;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffcc29, #ffb800);
    border-radius: 3px;
}

.partners-carousel {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.partners-carousel .swiper-wrapper {
    align-items: center;
}

.partners-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: 10px;
}

.partner-card {
    transform: scale(1.3);
}
.partner-card:hover {
    transform: scale(1.4);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* Пагинация */
.partners-pagination {
    position: relative !important;
    bottom: -40px !important;
    left: 0;
    width: 100%;
    margin-top: 30px;
    line-height: 1;
    text-align: center;
}

.partners-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #aaa;
    opacity: 0.5;
    margin: 0 6px;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: inline-block;
}

.partners-pagination .swiper-pagination-bullet-active {
    background: #ffcc29;
    opacity: 1;
    transform: scale(1.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0 100px;
    }
    .partners-title {
        font-size: 28px;
    }
    .partner-card {
        padding: 10px;
        max-width: 260px;
    }
    .partner-logo {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .partner-card {
        max-width: 130px;
        padding: 15px;
    }
    .partners-section {
        padding: 30px 0;
    }
}
/* ===== GALLERY SECTION ===== */
.gallery-section {
    position: relative;
    background: #111; /* тёмный фон на случай, если карта не загрузится */
    height: 500px; /* задай нужную высоту */
    overflow: hidden;
}

.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.map-container iframe {
    pointer-events: none; /* запрещает любые взаимодействия с картой */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: brightness(0.7); /* затемнение карты для контраста с центральным блоком */
}

.gallery-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.gallery-box {
    background: #ffcc29;
    padding: 60px 70px;
    text-align: center;
    border: 6px solid #fff;
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-box h2 {
    color: #111;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-btn {
    display: inline-block;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 12px;
    padding: 10px 20px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all .3s ease;
}

.gallery-btn:hover {
    background: #111;
    color: #fff;
}

/* Адаптив при необходимости */
@media (max-width: 900px) {
    .gallery-box {
        padding: 40px;
    }
}