/* ============================================
   HERO SECTION
============================================ */

.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-color: #F6F6F6;
}

/* Заголовок H1 */
.hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 24px;
}

/* Подзаголовок H3 */
.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 32px;
}

/* Стили для кнопок */
.hero-buttons {
    margin-bottom: 40px;
}

.btn-catalog {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    border: 1px solid #EFBD2E;
    border-radius: 18px;
    padding: 14px 32px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-catalog:hover {
    background-color: #EFBD2E;
    color: #000000;
    border-color: #EFBD2E;
}

.btn-calculate {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #ffffff;
    background-color: #EFBD2E;
    border: 1px solid #EFBD2E;
    border-radius: 18px;
    padding: 14px 32px;
    transition: all 0.3s ease;
}

.btn-calculate:hover {
    background-color: #FEBC2F;
    border-color: #FEBC2F;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 189, 46, 0.3);
}

/* Разделительная черта */
.divider {
    width: 40px;
    height: 0;
    border: 1px solid #000000;
    margin: 32px 0;
}

/* Блок преимуществ */
.advantage-item {
    text-align: left;
}

.advantage-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 8px;
}

.advantage-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Правый блок с изображением */
.hero-image-wrapper {
    position: relative;
    display: inline-block;
}

.hero-main-image {
    width: 100%;
    max-width: 673px;
    height: auto;
    aspect-ratio: 673/503;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    position: relative;
    z-index: 2;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-background-layer {
    position: absolute;
    width: 100%;
    max-width: 673px;
    height: 100%;
    aspect-ratio: 673/503;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    background: #FEBC2F;
    z-index: 1;
    top: 16px;
    left: -11px;
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) and (min-width: 992px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-image-wrapper {
        margin-top: 60px;
    }
    
    .image-background-layer {
        top: 12px;
        left: -8px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
        line-height: 110%;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 130%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .btn-catalog,
    .btn-calculate {
        width: 100%;
        text-align: center;
    }
    
    .hero-advantages .row {
        margin: -10px;
    }
    
    .advantage-item {
        margin-bottom: 20px;
    }
    
    .advantage-title {
        font-size: 20px;
    }
    
    .advantage-desc {
        font-size: 14px;
    }
    
    .image-background-layer {
        top: 8px;
        left: -5px;
    }
    
    .hero-main-image {
        border-top-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }
    
    .image-background-layer {
        border-top-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-advantages .col-6 {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* ============================================
   CATEGORIES SECTION
============================================ */

.categories-section {
    background: #FFFFFF;
}

/* Заголовок секции */
.categories-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 16px;
}

.categories-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000000;
    max-width: 800px;
}

/* Карточка категории */
.category-card {
    height: 296px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Фоновое изображение карточки */
.category-card-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.category-card:hover .category-card-bg {
    transform: scale(1.05);
}

.placeholder-bg {
    background: linear-gradient(135deg, #f1f5f8 0%, #e2e8f0 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Контент карточки */
.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(241, 245, 248, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 9px;
    margin: 11px;
    height: auto;
    min-height: 48px;
    display: flex;
    align-items: center;
    z-index: 2;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-card-content:hover {
    background: rgba(241, 245, 248, 0.95);
}

/* Блок с информацией внутри карточки */
.category-card-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Текстовая часть */
.category-text {
    flex: 1;
    min-width: 0; /* Для корректного обрезания текста */
}

.category-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    opacity: 0.8;
}

/* Иконка справа */
.category-icon-wrapper {
    flex-shrink: 0;
}

.category-icon {
    width: 29px;
    height: 32px;
    border-radius: 18px;
    border: 2px solid rgba(211, 213, 215, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.category-card-content:hover .category-icon {
    border-color: rgba(239, 189, 46, 0.4);
    background-color: rgba(239, 189, 46, 0.1);
}

.category-icon svg {
    width: 11px;
    height: 11px;
    stroke: #000000;
    transition: transform 0.3s ease;
}

.category-card-content:hover .category-icon svg {
    transform: translateX(2px);
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) {
    .category-card {
        height: 280px;
    }
    
    .categories-title {
        font-size: 32px;
    }
    
    .categories-description {
        font-size: 20px;
    }
}

/* Адаптивность для мобильных (2 колонки) */
@media (max-width: 991px) {
    .category-card {
        height: 250px;
    }
    
    .category-title {
        font-size: 14px;
        line-height: 20px;
    }
    
    .category-desc {
        font-size: 11px;
    }
}

/* Адаптивность для маленьких мобильных (1 колонка) */
@media (max-width: 767px) {
    .categories-title {
        font-size: 28px;
    }
    
    .categories-description {
        font-size: 18px;
        line-height: 130%;
    }
    
    .category-card {
        height: 220px;
    }
    
    .category-card-content {
        padding: 8px;
        margin: 8px;
    }
    
    .category-title {
        font-size: 14px;
        line-height: 18px;
        white-space: normal;
    }
    
    .category-desc {
        display: none; /* На мобильных можно скрыть описание для экономии места */
    }
    
    .category-icon {
        width: 26px;
        height: 28px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .categories-title {
        font-size: 24px;
    }
    
    .categories-description {
        font-size: 16px;
    }
    
    .category-card {
        height: 200px;
    }
}


/* ============================================
   ABOUT PRODUCTION SECTION
============================================ */

.about-production-section {
    background: #F6F6F6;
}

/* Левый блок: заголовок и текст */
.about-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 24px;
}

.about-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000000;
}

.about-list li {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000000;
    position: relative;
    padding-left: 28px;
}

.about-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #EFBD2E;
    border-radius: 50%;
}

.about-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 252%;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    color: #EFBD2E;
    display: inline-block;
    transition: all 0.3s ease;
}

.about-link:hover {
    color: #FEBC2F;
    text-decoration-thickness: 2px;
    transform: translateX(5px);
}

/* Правый блок: сетка изображений для десктопа */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.about-grid-img {
    width: 100%;
    height: 228px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.about-grid-item:hover .about-grid-img {
    transform: scale(1.05);
}

/* Заглушка для изображений */
.placeholder-img {
    width: 100%;
    height: 228px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* Правый блок: слайдер для мобильных */
.about-slider {
    position: relative;
    width: 100%;
}

.about-production-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.about-slider-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
}

/* Стили для Swiper навигации */
.about-production-swiper .swiper-button-next,
.about-production-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-production-swiper .swiper-button-next:after,
.about-production-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

.about-production-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffffff;
    opacity: 0.5;
}

.about-production-swiper .swiper-pagination-bullet-active {
    background: #EFBD2E;
    opacity: 1;
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) and (min-width: 992px) {
    .about-title {
        font-size: 32px;
    }
    
    .about-text,
    .about-list li {
        font-size: 18px;
    }
    
    .about-grid-img {
        height: 200px;
    }
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 991px) {
    .about-grid-img,
    .about-slider-img,
    .placeholder-img {
        height: 250px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .about-title {
        font-size: 28px;
    }
    
    .about-text,
    .about-list li {
        font-size: 18px;
        line-height: 130%;
    }
    
    .about-list li {
        padding-left: 24px;
        margin-bottom: 12px;
    }
    
    .about-list li:before {
        width: 14px;
        height: 14px;
        top: 8px;
    }
    
    .about-slider-img {
        height: 280px;
    }
    
    .about-production-swiper .swiper-button-next,
    .about-production-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .about-production-swiper .swiper-button-next:after,
    .about-production-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .about-title {
        font-size: 24px;
    }
    
    .about-text,
    .about-list li {
        font-size: 16px;
    }
    
    .about-link {
        font-size: 15px;
    }
    
    .about-slider-img {
        height: 240px;
    }
}



/* ============================================
   WORKFLOW SECTION
============================================ */

.workflow-section {
    background: #FFF;
}

/* Заголовок секции */
.workflow-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
}

/* Десктопная версия */
.workflow-line-container {
    position: relative;
    padding: 60px 0 100px;
}

.workflow-line-wrapper {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    height: 1px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.workflow-line-start {
    position: absolute;
    left: 0;
    width: 9px;
    height: 9px;
    background-color: #414141;
    border-radius: 50%;
    z-index: 2;
}

.workflow-line {
    position: absolute;
    left: 4.5px; /* Половина ширины начального кружка */
    right: 0;
    height: 1px;
    background-color: #414141;
}

/* Кружки с номерами */
.step-circle {
    width: 80px;
    height: 80px;
    border: 1px solid #000000;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 54px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #FF6000;
}

/* Контент этапа */
.step-content {
    padding-top: 15px;
}

.step-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 8px;
}

.step-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 0;
}

/* Распределение этапов по ширине */
.workflow-steps .workflow-step {
    flex: 0 0 auto;
    width: 20%;
    padding: 0 15px;
}

/* Мобильная версия (слайдер) */
.workflow-mobile {
    padding: 40px 0;
}

.workflow-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.mobile-step {
    padding: 30px 20px;
}

.mobile-step-circle {
    width: 100px;
    height: 100px;
    border: 1px solid #000000;
    border-radius: 50%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.mobile-step-number {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 54px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #FF6000;
}

.mobile-step-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 10px;
}

.mobile-step-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 0;
}

/* Стили для Swiper навигации */
.workflow-swiper .swiper-button-next,
.workflow-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 50%;
    transform: translateY(-50%);
}

.workflow-swiper .swiper-button-next:after,
.workflow-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

.workflow-swiper .swiper-pagination {
    bottom: 0;
}

.workflow-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000000;
    opacity: 0.3;
}

.workflow-swiper .swiper-pagination-bullet-active {
    background: #FF6000;
    opacity: 1;
}

/* Анимация для кружков на десктопе */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.step-circle:hover {
    animation: pulse 1s infinite;
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) and (min-width: 992px) {
    .workflow-title {
        font-size: 32px;
    }
    
    .step-circle {
        width: 70px;
        height: 70px;
    }
    
    .step-number {
        font-size: 22px;
        line-height: 46px;
    }
    
    .step-title,
    .step-desc {
        font-size: 18px;
    }
    
    .mobile-step-circle {
        width: 90px;
        height: 90px;
    }
    
    .mobile-step-number {
        font-size: 26px;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .workflow-line-container {
        padding: 50px 0 80px;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .step-number {
        font-size: 20px;
        line-height: 40px;
    }
    
    .step-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .step-desc {
        font-size: 16px;
        line-height: 22px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .workflow-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .mobile-step {
        padding: 20px 15px;
    }
    
    .mobile-step-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .mobile-step-number {
        font-size: 24px;
        line-height: 46px;
    }
    
    .mobile-step-title {
        font-size: 20px;
        line-height: 26px;
    }
    
    .mobile-step-desc {
        font-size: 16px;
        line-height: 22px;
    }
    
    .workflow-swiper .swiper-button-next,
    .workflow-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .workflow-swiper .swiper-button-next:after,
    .workflow-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .workflow-title {
        font-size: 24px;
    }
    
    .mobile-step-circle {
        width: 70px;
        height: 70px;
    }
    
    .mobile-step-number {
        font-size: 22px;
        line-height: 40px;
    }
    
    .mobile-step-title {
        font-size: 18px;
        line-height: 24px;
    }
    
    .mobile-step-desc {
        font-size: 15px;
        line-height: 20px;
    }
}




/* ============================================
   ADVANTAGES SECTION
============================================ */

.advantages-section {
    background: #FFF;
}

/* Левый блок: заголовок и список */
.advantages-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 24px;
}

.advantages-list li {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 116%;
    letter-spacing: 0%;
    color: #000000;
    position: relative;
    padding-left: 40px;
}

.advantages-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17L4 12' stroke='%23EFBD2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Правый блок: заголовок галереи */
.gallery-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 24px;
}

/* Сетка галереи для десктопа */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
}

.gallery-grid-img {
    width: 100%;
    height: 228px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.gallery-grid-item:hover .gallery-grid-img {
    transform: scale(1.05);
}

/* Иконка увеличения */
.gallery-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.gallery-grid-item:hover .gallery-zoom-icon {
    opacity: 1;
}

.gallery-zoom-icon:hover {
    background: rgba(239, 189, 46, 0.8);
}

.gallery-zoom-icon svg {
    width: 20px;
    height: 20px;
}

/* Модальное окно галереи */
.gallery-modal .modal-content {
    background: transparent;
    border: none;
}

.gallery-modal .modal-header {
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.gallery-modal .btn-close {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 16px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-modal .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Слайдер для мобильных */
.gallery-slider {
    position: relative;
    width: 100%;
}

.gallery-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.gallery-slider-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 18px;
}

/* Стили для Swiper навигации */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffffff;
    opacity: 0.5;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: #EFBD2E;
    opacity: 1;
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) and (min-width: 992px) {
    .advantages-title,
    .gallery-title {
        font-size: 32px;
    }
    
    .advantages-list li {
        font-size: 18px;
        line-height: 280%;
        padding-left: 36px;
    }
    
    .gallery-grid-img {
        height: 200px;
    }
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 991px) {
    .gallery-grid-img,
    .gallery-slider-img,
    .placeholder-img {
        height: 250px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .advantages-title,
    .gallery-title {
        font-size: 28px;
    }
    
    .advantages-list li {
        font-size: 18px;
        line-height: 250%;
        padding-left: 32px;
        margin-bottom: 16px;
    }
    
    .advantages-list li:before {
        width: 20px;
        height: 20px;
        background-size: 20px;
    }
    
    .gallery-slider-img {
        height: 280px;
    }
    
    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .gallery-swiper .swiper-button-next:after,
    .gallery-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .advantages-title,
    .gallery-title {
        font-size: 24px;
    }
    
    .advantages-list li {
        font-size: 16px;
        line-height: 220%;
        padding-left: 28px;
    }
    
    .advantages-list li:before {
        width: 18px;
        height: 18px;
        background-size: 18px;
    }
    
    .gallery-slider-img {
        height: 240px;
    }
}





/* ============================================
   CERTIFICATES SECTION
============================================ */

.certificates-section {
    background: #EEF1F4;
}

/* Метка секции */
.certificates-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FEBC2F;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Заголовок секции */
.certificates-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    margin-bottom: 16px;
}

/* Текстовый блок */
.certificates-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #000000;
    padding-right: 20px;
}

/* Сетка сертификатов для десктопа */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.certificate-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.certificate-link {
    display: block;
    text-decoration: none;
    position: relative;
    height: 100%;
}

.certificate-img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 15px;
    transition: transform 0.3s ease;
}

.certificate-link:hover .certificate-img {
    transform: scale(1.02);
}

/* Бейдж PDF */
.pdf-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.certificate-link:hover .pdf-badge {
    background: #FEBC2F;
    color: #FFFFFF;
}

.pdf-badge svg {
    width: 16px;
    height: 16px;
}

/* Слайдер для мобильных */
.certificates-slider {
    position: relative;
    width: 100%;
    padding: 0 10px;
}

.certificates-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.certificate-slider-img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Стили для Swiper навигации */
.certificates-swiper .swiper-button-next,
.certificates-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certificates-swiper .swiper-button-next:after,
.certificates-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: #000000;
    font-weight: bold;
}

.certificates-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000000;
    opacity: 0.3;
}

.certificates-swiper .swiper-pagination-bullet-active {
    background: #FEBC2F;
    opacity: 1;
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) and (min-width: 992px) {
    .certificates-title {
        font-size: 32px;
    }
    
    .certificates-text {
        font-size: 18px;
        line-height: 26px;
    }
    
    .certificate-img,
    .certificate-slider-img {
        height: 320px;
    }
    
    .certificates-grid {
        gap: 20px;
    }
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 991px) {
    .certificates-text {
        margin-bottom: 30px;
        padding-right: 0;
        text-align: center;
    }
    
    .certificate-slider-img {
        height: 340px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .certificates-title {
        font-size: 28px;
        text-align: center;
    }
    
    .certificates-label {
        text-align: center;
    }
    
    .certificates-text {
        font-size: 18px;
        line-height: 26px;
    }
    
    .certificate-slider-img {
        height: 300px;
    }
    
    .certificates-swiper .swiper-button-next,
    .certificates-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .certificates-swiper .swiper-button-next:after,
    .certificates-swiper .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .pdf-badge {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .certificates-title {
        font-size: 24px;
    }
    
    .certificates-text {
        font-size: 16px;
        line-height: 24px;
    }
    
    .certificate-slider-img {
        height: 260px;
    }
    
    .certificates-slider {
        padding: 0;
    }
}





/* ============================================
   REQUEST SECTION
============================================ */

.request-section {
    background: #FFF;
}

/* Заголовок секции */
.request-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 5%;
    text-align: left;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 16px;
}

/* Описание */
.request-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000000;
    max-width: 600px;
}

/* Поля формы */
.request-input,
.request-select,
.request-textarea {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #85462380;
    height: 60px;
    border-radius: 10px;
    border: 1px solid rgba(39, 46, 40, 0.53);
    padding: 20px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.request-input::placeholder,
.request-textarea::placeholder {
    color: rgba(133, 70, 35, 0.5);
}

.request-input:focus,
.request-select:focus,
.request-textarea:focus {
    border-color: #FEBC2F;
    box-shadow: 0 0 0 0.25rem rgba(254, 188, 47, 0.25);
    color: #000000;
}

.request-select option {
    color: #000000;
    padding: 10px;
}

.request-select option:first-child {
    color: rgba(133, 70, 35, 0.5);
}

.request-textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

/* Кнопка отправки */
.request-submit {
    background: #FEBC2F;
    height: 48px;
    border-radius: 10px;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 20.17px;
    line-height: 100%;
    letter-spacing: 5%;
    text-align: center;
    color: #fff;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.request-submit:hover {
    background: #EFBD2E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 188, 47, 0.3);
    color: #fff;
}

.request-submit:active {
    transform: translateY(0);
}

/* Чекбокс */
.request-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #272E28;
    margin-right: 12px;
    cursor: pointer;
}

.request-checkbox:checked {
    background-color: #FEBC2F;
    border-color: #FEBC2F;
}

.request-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(254, 188, 47, 0.25);
}

.request-checkbox-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #000000;
    cursor: pointer;
    user-select: none;
}

/* Правый блок с изображением */
.request-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.request-main-image {
    width: 100%;
    max-width: 673px;
    height: auto;
    aspect-ratio: 673/503;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    position: relative;
    z-index: 2;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.request-image-background {
    position: absolute;
    width: 100%;
    max-width: 673px;
    height: 100%;
    aspect-ratio: 673/503;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    background: #FEBC2F;
    z-index: 1;
    top: 16px;
    left: -11px;
}

/* Стили для ошибок валидации */
.request-input.is-invalid,
.request-select.is-invalid,
.request-textarea.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #dc3545;
    margin-top: 5px;
}

/* Стили для модального окна */
#requestSuccessModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#requestSuccessModal .modal-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
}

#requestSuccessModal p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #666;
}

/* Анимация появления формы */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.request-form {
    animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность для планшетов */
@media (max-width: 1199px) and (min-width: 992px) {
    .request-title {
        font-size: 26px;
    }
    
    .request-description {
        font-size: 18px;
    }
    
    .request-submit {
        font-size: 18px;
    }
    
    .request-checkbox-label {
        font-size: 15px;
    }
}

/* Адаптивность для планшетов и мобильных */
@media (max-width: 991px) {
    .request-image-wrapper {
        margin-top: 40px;
    }
    
    .request-image-background {
        top: 12px;
        left: -8px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 767px) {
    .request-title {
        font-size: 24px;
        text-align: center;
    }
    
    .request-description {
        font-size: 18px;
        text-align: center;
        margin: 0 auto;
    }
    
    .request-input,
    .request-select,
    .request-textarea {
        height: 55px;
        padding: 15px;
        font-size: 16px;
    }
    
    .request-textarea {
        min-height: 100px;
    }
    
    .request-submit {
        height: 46px;
        font-size: 18px;
    }
    
    .request-checkbox-label {
        font-size: 14px;
        line-height: 130%;
    }
    
    .request-main-image {
        border-top-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }
    
    .request-image-background {
        border-top-left-radius: 40px;
        border-bottom-right-radius: 40px;
        top: 8px;
        left: -5px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 575px) {
    .request-title {
        font-size: 20px;
    }
    
    .request-description {
        font-size: 16px;
    }
    
    .request-input,
    .request-select,
    .request-textarea {
        height: 50px;
        padding: 12px;
        font-size: 15px;
    }
    
    .request-textarea {
        min-height: 90px;
    }
    
    .request-submit {
        height: 44px;
        font-size: 16px;
    }
    
    .request-checkbox {
        width: 18px;
        height: 18px;
    }
    
    .request-checkbox-label {
        font-size: 13px;
    }
}

