/* === GLOBAL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #222;
    background-color: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* === HERO === */
.hero {
    position: relative;
    width: 100%;
    margin-top: 65px;        /* отступ под шапку */
    overflow: hidden;
    /* БЕЗ height / min-height */
}

.hero__slider {
    width: 100%;
}

/* каждый слайд по умолчанию скрыт */
.hero__slide {
    width: 100%;
    padding: 80px 120px;
    background-size: cover;
    background-position: center;
    display: none;           /* прячем */
    opacity: 0;
    transition: opacity .5s ease;
}

/* активный слайд показываем */
.hero__slide.active {
    display: block;
    opacity: 1;
}

.slide_content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.hero__content {
    max-width: 540px;
}

.hero__badge {
    font-size: 14px;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 12px;
}

.hero__title,
.hero__title3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.1;
}

.hero__title2 {
    width: 700px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.1;
}


.hero__subtitle,
.hero__subtitle3 {
    font-size: 18px;
    margin-bottom: 32px;
}


.hero__button {
    padding: 12px 42px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    background: #222;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.hero__button:hover {
    background: #fff;
    color: #222;
}

.hero__image {
    max-width: 280px;
    height: auto;
    pointer-events: none;
}

.hero__image2 {
    max-width: 240px;
    height: auto;
    pointer-events: none;
}

/* dots */
.hero__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transition: .3s;
    cursor: pointer;
}

.dot.active {
    background: #fff;
    transform: scale(1.25);
}

/* === BENEFITS === */
.benefits {
    padding: 80px 0;
}

.benefits__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 46px;
    margin-bottom: 8px;
}

.benefits__subtitle {
    font-size: 24px;
    max-width: 500px;
    color: #222;
    margin-bottom: 10px;
}

.benefits__subtitle2 {
    max-width: 500px;
    color: #555;
    margin-bottom: 32px;
}

.benefits__subtitle3 {
    max-width: 1000px;
    color: #555;
    margin-bottom: 16px;
}

.benefits__subtitle1 {
    max-width: 1000px;
    color: #555;
    margin-bottom: 32px;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.benefits__item {
    padding: 20px;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #eee;
}

.benefits__item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.benefits__item-text {
    font-size: 14px;
    color: #555;
}

/* ================================
      BESTSELLERS — PREMIUM STYLE
================================ */
.bestsellers { 
    padding: 120px 0; 
} 

.bestsellers__header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 32px; 
} 

.bestsellers__title { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 46px; 
} 

.bestsellers__subtitle { 
    max-width: 700px; 
    color: #555; 
} 

/* 1 карточка */
@media (max-width: 768px) {
    .bestsellers__title { 
        line-height: 1; 
        margin-bottom: 10px; 
    } 

    .bestsellers__subtitle { 
        margin-bottom: 20px; 
    } 

    .bestsellers__header { 
        display: block; 
    }
}

.bestsellers__link { 
    border-bottom: 1px solid #222; 
    text-decoration: none; 
    color: #222; 
    font-size: 14px; 
}

/* =====================================
      BESTSELLERS — PREMIUM COMPACT
===================================== */

.bestsellers__list {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    justify-content: center;
    gap: 24px;
}

/* Карточка */
.bestsellers__item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: .3s ease;
    width: 100%;
    max-width: 340px;       /* 🔥 компактная премиальная ширина */
    margin: 0 auto;
}

.bestsellers__item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Фото */
.bestsellers__image-wrapper {
    width: 100%;
    aspect-ratio: 2 / 3;  /* 🔥 фото диктует размеры */
    overflow: hidden;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bestsellers__image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

/* Контент */
.bestsellers__content {
    padding: 16px 18px 22px;
}

.bestsellers__name {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}

.bestsellers__description {
    font-size: 13px;
    color: #555;
    margin-bottom: 14px;
    line-height: 1.5;
    min-height: 40px;
}

.bestsellers__button {
    padding: 8px 14px;
    border-radius: 4px;
    border: 1px solid #222;
    background: transparent;
    text-decoration: none;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    color: #222;
    transition: .3s;
}

.bestsellers__button:hover {
    background: #222;
    color: #fff;
}


/* =====================================
        АДАПТИВ
===================================== */

/* 2 карточки */
@media (max-width: 992px) {
    .bestsellers__list {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        gap: 20px;
    }
}

/* 1 карточка — центр, компактная */
@media (max-width: 768px) {
    .bestsellers__list {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .bestsellers__item {
        max-width: 320px;      /* 🔥 фото и карточка становятся компактными */
    }
}

/* Мобильный вид */
@media (max-width: 480px) {
    .bestsellers__item {
        max-width: 300px;      /* 🔥 идеально для твоих фото */
    }

    .bestsellers__name {
        font-size: 18px;
    }

    .bestsellers__description {
        font-size: 12px;
    }

    .bestsellers__button {
        font-size: 15px;
        padding: 7px 12px;
    }
}



/* === WHY === */
.why {
    padding: 80px 0;
    background: #f7f7f7;
}

.why__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
}

.why__subtitle {
    max-width: 1000px;
    color: #555;
    margin-bottom: 32px;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why__item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 22px;
}

.why__item-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.why__item-text {
    font-size: 14px;
    color: #555;
}

/* === FAQ === */
.faq {
    padding: 80px 0;
}

.faq__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
}

.faq__line {
    width: 50px;
    height: 3px;
    background: #222;
    margin: 18px 0 40px;
}

.faq__item {
    border-bottom: 1px solid #ccc;
    padding: 14px 0;
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: .4s;
    color: #555;
}

.faq__item.active .faq__answer {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

.faq__item.active .faq__icon img {
    transform: rotate(45deg);
}

/* === WHATSAPP FLOAT BUTTON === */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 64px;
    height: 64px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Плавное появление */
@keyframes fadeInBottom {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.whatsapp-float {
    animation: fadeInBottom 0.6s ease forwards;
}


/* === ADAPTIVE === */
@media (max-width: 1024px) {
    .benefits__grid,
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
    }

    .hero__slide {
        position: relative;
        height: auto;
        padding: 60px 20px 80px;
    }

    .slide_content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .benefits__grid,
    .why__grid {
        grid-template-columns: 1fr;
    }
}

/* ===== GALLERY ===== */
.gallery {
    padding: 80px 0;
}

.gallery__container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.gallery__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery__subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

/* Masonry grid */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    width: 100%;
    margin-bottom: 20px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Adaptive */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}
@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* ================================
       FIX HERO PADDING ON MOBILE
================================ */

/* --- 768px --- */
@media (max-width: 768px) {
    .hero {
        margin-top: 80px;        /* можно чуть меньше, если хочешь */
    }

    .hero__slide {
        padding: 40px 16px 48px; /* меньше отступы сверху/снизу */
    }

    .slide_content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero__image {
        max-width: 220px;
        margin: 0 auto;
    }

    .hero__title,
    .hero__title3 {
        font-size: 34px;
    }

    .hero__title2 {
        font-size: 34px;
        width: 100%;
    }

    .hero__subtitle,
    .hero__subtitle3 {
        font-size: 16px;
    }
}


/* --- 600px --- */
@media (max-width: 600px) {

    

    .hero__slide {
        padding: 30px 16px 40px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title,
    .hero__title3,
    .hero__title2 {
        font-size: 30px;
    }

    .hero__subtitle,
    .hero__subtitle3 {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero__button {
        font-size: 18px;
        padding: 8px 28px;
        margin-top: 5px;
    }

    .hero__image {
        max-width: 150px;
    }
}

/* --- 480px --- */
@media (max-width: 480px) {

    .hero {
        margin-top: 80px;
        height: 100vh;
    }

    .hero__slide {
        padding: 24px 14px 35px;
    }

    .hero__title,
    .hero__title3,
    .hero__title2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .hero__subtitle,
    .hero__subtitle3 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .hero__image {
        max-width: 130px;
    }

    .hero__dots {
        bottom: 8px;
    }
}

/* --- 390px --- */
@media (max-width: 390px) {
    
    .hero__slide {
        padding: 20px 10px 30px;
    }

    .hero__title,
    .hero__title3,
    .hero__title2 {
        font-size: 22px;
    }

    .hero__button {
        font-size: 16px;
        padding: 6px 22px;
    }

    .hero__image {
        max-width: 120px;
    }
}

/* ===== PARTNERS MAP (LIST OF COUNTRIES) ===== */

.partners-map {
    padding: 80px 0;
    background-color: #fff;
}

.partners-map__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-map__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.partners-map__text {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #555;
    max-width: 850px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* GRID */
.partners-map__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* CARD */
.partners-map__item {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 18px 18px 20px;
    background-color: #fafafa;

    display: flex;
    flex-direction: column;
    gap: 10px;

    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.partners-map__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

/* Казахстан — главная карточка */
.partners-map__item--main {
    background-color: #222;
    color: #fff;
    border-color: #222;
}

.partners-map__item--main .partners-map__country {
    color: #fff;
}

.partners-map__item--main .partners-map__role {
    color: #f0f0f0;
}

/* FLAG */
.partners-map__flag {
    width: 52px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    background: #ddd;
}

.partners-map__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* TEXT */
.partners-map__country {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 600;
    color: #222;
}

.partners-map__role {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* ADAPTIVE */
@media (max-width: 1024px) {
    .partners-map__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .partners-map {
        padding: 60px 0;
    }

    .partners-map__title {
        font-size: 36px;
    }

    .partners-map__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .partners-map__grid {
        grid-template-columns: 1fr;
    }
}

/* === FULL-WIDTH BANNER === */
.full-banner {
    width: 100%;
    margin: 0;
}

.full-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Адаптивная высота — для крупных экранов */
@media (min-width: 992px) {
    .full-banner img {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .full-banner img {
        height: 480px;
    }
}

/* Мобильные — оставляем авто */
@media (max-width: 768px) {
    .full-banner img {
        height: auto;
    }
}

/* === NEWS HERO === */
.news-hero {
    width: 100%;
    padding: 160px 0 80px;
    background: #f5f5f5;
}

.news-hero__container {
    width: 90%;
    max-width: 1200px;
    margin: 150px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* ЛЕВАЯ ЧАСТЬ — ВИДЕО */
.news-hero__video {
    width: 320px;               /* типичная ширина вертикального видео */
    height: auto;
    aspect-ratio: 9 / 16;       /* вертикальное соотношение */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin: 0 auto;
}

.news-hero__video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero__placeholder {
    width: 100%;
    height: 100%;
    background: #222;
    color: #fff;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ПРАВАЯ ЧАСТЬ — ТЕКСТ */
.news-hero__content {
    width: 60%;
}

.news-hero__subtitle {
    font-size: 18px;
    color: #777;
    margin-bottom: 10px;
}

.news-hero__header {
    display: flex;
    align-items: flex-end;      /* выравнивание по вертикали */
    gap: 15px;
    margin-bottom: 20px;        /* расстояние между логотипом и текстом */
}

.news-hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0;
}

.news-hero__img {
    width: 150px;
    margin-bottom: 6px;
}

.news-hero__text {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
}

.news-hero__text_2 {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.news-hero__button {
    display: inline-block;
    padding: 13px 36px;
    background: #222;
    color: #fff;
    border-radius: 6px;
    font-size: 20px;
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
    transition: 0.3s;
}

.news-hero__button:hover {
    background: #444;
}

/* ====== 992px (Laptop / small desktop) ====== */
@media (max-width: 992px) {
    .news-hero__container {
        gap: 30px;
    }

    .news-hero__title {
        font-size: 36px;
    }

    

    .news-hero__img {
        width: 120px;
    }

    .news-hero__text,
    .news-hero__text_2 {
        font-size: 17px;
    }

    .news-hero__video {
        width: 280px;
    }

    .news-hero__content {
        width: 55%;
    }
}

/* ====== 768px (Tablet) ====== */
@media (max-width: 768px) {
    .news-hero__container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin: 80px auto;
    }

    .news-hero__content {
        width: 100%;
    }

    .news-hero__video {
        width: 300px;
        margin-bottom: 10px;
    }

    .news-hero__header {
        display: block;
        justify-content: center;
    }

    .news-hero__img {
        margin: 0 auto;
    }

    .news-hero__title {
        font-size: 32px;
    }

    .news-hero__text,
    .news-hero__text_2 {
        font-size: 16px;
        margin: 0 auto 12px;
        max-width: 90%;
    }
}

/* ====== 576px (Large Mobile) ====== */
@media (max-width: 576px) {
    .news-hero {
        padding: 100px 0 60px;
    }

    .news-hero__video {
        width: 260px;
    }

    .news-hero__img {
        width: 100px;
    }

    .news-hero__title {
        font-size: 28px;
    }

    .news-hero__text,
    .news-hero__text_2 {
        font-size: 15px;
        max-width: 95%;
    }

    .news-hero__button {
        font-size: 18px;
        padding: 12px 28px;
    }
}

/* ====== 420px (Small mobile) ====== */
@media (max-width: 420px) {
    .news-hero__video {
        width: 230px;
    }

    .news-hero__img {
        width: 85px;
    }

    .news-hero__title {
        font-size: 24px;
    }

    .news-hero__text,
    .news-hero__text_2 {
        font-size: 14px;
    }

    .news-hero__button {
        font-size: 16px;
        padding: 10px 24px;
    }
}
