@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #F17210;
    --primary-orange-light: #FF9849;
    --primary-green: #78AF69;
    --primary-green-light: #98C18B;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #6C757D;
    --black: #212529;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(241, 114, 16, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

body {
    font-family: 'Montserrat', Medium;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { 
    font-size: clamp(32px, 4vw, 52px); 
}

h2 { 
    font-size: clamp(26px, 3vw, 36px); 
}

h3 { 
    font-size: clamp(18px, 2vw, 22px); 
}

.section-title {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
}

/* ===== MOBILE HEADER STYLES ===== */
.header-mobile {
    display: none;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    gap: 12px;
    background: var(--white);
}

.mobile-header-container .logo img {
    max-height: 26px;
    width: auto;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Кнопка телефона */
.mobile-phone-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(241, 114, 16, 0.12) 0%, rgba(241, 114, 16, 0.18) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.mobile-phone-btn:hover {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.mobile-phone-btn:active {
    transform: scale(0.95);
}

/* Кнопка бургер-меню - компактная */
.mobile-menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #377850 0%, #327457 100%);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(55, 120, 80, 0.25);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация бургера при открытии */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Мобильное меню - компактное и красивое */
.mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, #377850 0%, #327457 100%);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
}

.mobile-nav.active {
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-nav-content {
    padding: 20px 16px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-item {
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    transition: var(--transition);
    background: transparent;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.mobile-nav-link:active {
    transform: translateX(2px) scale(0.98);
}

.mobile-nav-link svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.mobile-nav-link.consultation-link {
    background: linear-gradient(135deg, #F17210 0%, #FF9849 100%);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(241, 114, 16, 0.3);
}

.mobile-nav-link.consultation-link:hover {
    background: linear-gradient(135deg, #FF9849 0%, #F17210 100%);
    transform: translateX(4px) scale(1.02);
}

.mobile-nav-link.consultation-link {
    background: transparent;
    box-shadow: none;
    font-weight: 500;
}

.mobile-nav-link.consultation-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
}

/* Футер мобильного меню */
.mobile-nav-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-phone,
.mobile-nav-email {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-phone:hover,
.mobile-nav-email:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.mobile-nav-phone svg,
.mobile-nav-email svg {
    opacity: 0.9;
    flex-shrink: 0;
}

.mobile-nav-phone {
    color: #FFD700;
}

.mobile-nav-email {
    color: #87CEEB;
}

/* ===== PHONE MODAL (Mobile Only) ===== */
.phone-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.phone-modal.active {
    display: flex;
}

.phone-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.phone-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 340px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.phone-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--medium-gray);
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
}

.phone-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.phone-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.phone-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.phone-modal-close svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.phone-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.phone-option:hover {
    background: var(--white);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 114, 16, 0.15);
}

.phone-option:active {
    transform: translateY(0);
}

.phone-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(241, 114, 16, 0.15) 0%, rgba(241, 114, 16, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.phone-option-icon svg {
    width: 22px;
    height: 22px;
}

.phone-option-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.phone-option-label {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 500;
}

.phone-option-number {
    font-size: 16px;
    color: var(--black);
    font-weight: 600;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Desktop Header - показываем только на экранах >= 768px */
.header-desktop {
    display: block;
}

/* Mobile Header - показываем только на экранах < 768px */
.header-mobile {
    display: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--medium-gray);
    flex-wrap: wrap;
    gap: 16px;
}

/* Логотип */
.logo img {
    max-height: 30px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

/* Контакты в хедере - без обводки */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.contact-item:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
}

.contact-item:hover a {
    color: var(--primary-orange);
}

/* Иконки контактов (телефон и письмо) */
.contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition);
}

/* Эффект при наведении на иконки контактов */
.contact-item:hover .contact-icon {
    filter: brightness(0) saturate(100%) invert(47%) sepia(86%) saturate(1614%) hue-rotate(350deg) brightness(98%) contrast(97%);
    transform: scale(1.1);
}

/* Телефонные и email ссылки */
.contact-item a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
}

.contact-phone, .contact-email {
    letter-spacing: 0.3px;
}

/* Поиск в овале */
.header-search {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
    min-width: 280px;

}

.header-search:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(241, 114, 16, 0.1);
    background: var(--white);
}

.header-search input {
    padding: 12px 24px;
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--black);
}

.header-search input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-style: italic;
    font-weight: 300;
    opacity: 0.8;
}

.header-search input:focus::placeholder {
    opacity: 0.5;
}

.header-search button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 100%;
}

.header-search button:hover {
    background: linear-gradient(135deg, var(--primary-orange-light) 0%, var(--primary-orange) 100%);
}

.header-search button:hover .search-icon {
    transform: scale(1.1);
}

/* Иконка поиска */
.search-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

/* ===== НАВИГАЦИЯ С ГРАДИЕНТНОЙ ПОЛОСКОЙ ===== */
.main-nav {
    background: linear-gradient(180deg, #377850 0%, #327457 100%);
    padding: 12px 0;
    width: 100%;
    border-radius: 60px;

    box-shadow: var(--shadow-md);
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

/* Стили для всех навигационных ссылок */
.nav-link {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #3F865A, #3F865E);
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Эффект при наведении на ссылки */
.nav-link:hover {
    background: linear-gradient(135deg, #3F865E, #3F865A);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* Активное состояние (если нужно) */
.nav-link.active {
    background: linear-gradient(135deg, #2a6b3f, #2a6b43);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Специальный стиль для ссылки "Консультация" */
.main-nav .consultation-link {
    background: linear-gradient(135deg, #3F865A, #3F865E);
    font-weight: 500;
}

.main-nav .consultation-link:hover {
    background: linear-gradient(135deg, #3F865E, #3F865A);
}

.main-nav .nav-link.active {
    background: linear-gradient(135deg, #2a6b3f, #2a6b43);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(16, 241, 23, 0.305) 0%, rgba(37, 238, 15, 0.947) 100%);
    color: var(--white);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/main1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0;
    margin-right: auto;
    text-align: left;
}

.hero h1 {
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 17px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Оранжевый текст для "НАША ЗАБОТА" */
.orange-text {
    color: #F17210;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

/* Эффект свечения для оранжевого текста */
.orange-text::after {
    content: 'НАША ЗАБОТА';
    position: absolute;
    top: 0;
    left: 0;
    color: #FF9849;
    opacity: 0.3;
    transform: translate(2px, 2px);
    z-index: -1;
    pointer-events: none;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #4AB760;
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #3d9e52; /* Немного темнее для эффекта наведения */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== СЛАЙДЕР АКЦИЙ С ЭФФЕКТОМ ЗАТУХАНИЯ ===== */
.hero {
    position: relative;
    min-height: 600px;
    overflow: visible;
}

.hero-slider-container {
    position: absolute;
    bottom: 30px;
    right: 0px;
    width: 380px;
    z-index: 10;
    align-items: center;
}

.hero-slider {
    position: relative;
    width: 90%;
    height: 180px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;   
    background: linear-gradient(to top, #ffe282, #fcc54eee);
}

/* Все слайды позиционируются абсолютно */
.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: linear-gradient(to top, #df8626d3, #bd7919ee);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
    pointer-events: none;
    overflow: visible; /* Меняем на visible, чтобы тень была видна */
    
    /* Создаем эффект двух слоев через outline */
    outline: 2px solid #f89500;
    outline-offset: 4px; /* Отступ создает второй слой */
    
    /* Выпирание слева */
    margin-left: 5px;
    width: calc(100% + 25px);
    
    /* Добавляем тень для глубины */
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}

/* Фоновый логотип для каждого слайда */
.slider-slide[data-slide="1"]::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-image: url('../assets/icons/optimization.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.slider-slide[data-slide="2"]::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-image: url('../assets/icons/delivery.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.slider-slide[data-slide="3"]::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-image: url('../assets/icons/service.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.slider-slide.active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.slide-content {
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Текстовая часть слайда */
.slide-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slide-title1 {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 23px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slide-title2 {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 23px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slide-title3 {
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    margin-top: 23px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ОСНОВНОЙ ТЕКСТ - уменьшенный */
.slide-description {
    font-size: 7px;
    color: #ffffff;
    margin-top: 10px;
    line-height: 1.4;
    opacity: 0.8;
    font-weight: 1px;
    max-width: 320px;
}

/* ИКОНКА - без кружка, больше и прозрачная */
.slide-icon {
    width: 80px; /* Увеличил размер */
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Прозрачный фон */
    padding: 0; /* Убрал отступы */
    transition: all 0.3s ease;
    opacity: 0.6;
    transform: scale(1);
}

.slider-slide:hover .slide-icon {
    opacity: 0.9;
    transform: scale(1.05);
}

.slide-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.7); /* Белый с прозрачностью */
    transition: all 0.3s ease;
}

/* Индикаторы слайдов */
.slider-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 30;
    background: transparent;
    padding: 5px 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(223, 134, 38, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot.active {
    width: 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, #F17210, #FF9849);
    border: 1px solid white;
}

/* Кнопки навигации */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #df8626;
    transition: all 0.3s ease;
    z-index: 30;
    opacity: 0.5;
}

.hero-slider:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: linear-gradient(135deg, #F17210, #FF9849);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.slider-nav.prev {
    left: 5px;
}

.slider-nav.next {
    right: 5px;
}

/* ===== ACCENT OFFERS ===== */
.accent-offers {
    padding: 60px 0;
    background-image: url('../assets/images/lines3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.accent-offers-mobile {
    display: none;
}

.section-title1 {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 20px;
    color: #48AB4D;
    font-family: 'Montserrat', Medium;
    font-size: 36px;
    font-weight: 300;
}

.section-title1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 3px;
    background: linear-gradient(90deg, #FF6F00, #FF9800);
    border-radius: 1.5px;
}

/* Layout - два блока слева и справа */
.offers-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 2200px;
    margin: 0 auto;
}

/* Список преимуществ слева */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Элемент списка */
.offer-item {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: transparent;
}
.offer-item[data-item="1"] {
    bottom: 60px;
    right: 150px;
    width: 170px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.offer-item[data-item="2"] {
    bottom: 20px;
    right: 100px;
    width: 260px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.offer-item[data-item="3"] {
    bottom: -20px;
    right: 150px;
    width: 170px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.offer-item[data-item="4"] {
    bottom: -50px;
    right: 100px;
    width: 160px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Текст преимущества */
.offer-text {
    font-size: 22px;
    font-weight: 00;
    color: #515151;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-family: Montserrat, regular;
}

.offer-item:hover .offer-text {
    color: #000000;
    transform: translateX(5px);
}

.protection{
    align-items: center;
    position: absolute;
    margin-left: -60px;
    margin-top: -20px;
}

/* Активный элемент (выбранный) */
.offer-item.active .offer-click-area {
    box-shadow: 0 6px 20px rgba(139, 139, 139, 0.3);
}

.offer-item.active .offer-text {
    color: #3e3d3d;
    font-weight: 600;
}
    
/* Анимация при переключении */
.offer-item {
    animation: fadeInLeft 0.5s ease forwards;
    opacity: 0;
}

.offer-item:nth-child(1) { animation-delay: 0.1s; }
.offer-item:nth-child(2) { animation-delay: 0.2s; }
.offer-item:nth-child(3) { animation-delay: 0.3s; }
.offer-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Большой зелёный шестиугольник */
.offers-rhombus {
    width: 100%;
    height: 480px;
    background-image: url('../assets/images/rhombus.png');
    display: flex;
    background-repeat: no-repeat;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Контент внутри шестиугольника */
.rhombus-content {
    width: 75%;
    height: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

@keyframes iconBounce {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.rhomb-data{
    position: absolute;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    position: relative;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 200px;
    transition: all 0.3s ease;
    background: transparent;
}

/* Заголовок внутри ромба */
.rhombus-title {
    position: absolute;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    margin-right: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Описание внутри ромба */
.rhombus-description {
    position: absolute;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-left: 35px;
    max-width: 340px;
    transition: all 0.3s ease;
    margin-top: 100px
}

.projects-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.projects-mobile {
    display: none;
}

.projects-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-text-overlay {
    position: absolute;
    top: 0%;
    width:100%;
    height: auto;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
}

.text-project {
    font-family: 'Montserrat', Medium;
    margin-left: 30px;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    font-weight: 300;
    margin-top: 30px;
}

.heading-project {
    position: absolute;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', regular;
    text-align: center;
    margin-top: 120px;
    margin-left: 30px;
    font-weight: 400;
}

.description-project {
    position: absolute;
    margin: 0;
    color: #f0f0f0;
    line-height: 1.8;
    font-family: 'Montserrat', regular;
    font-size: 14px;
    margin-left: 30px;
    text-align: center;
    margin-top:300px;
    font-weight: 300;
}

.project-text-overlay1 {
    position: absolute;
    top: 0%;
    width:100%;
    height: auto;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
}

.text-project1 {
    font-family: 'Montserrat', Medium;
    margin-left: 30px;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    font-weight: 300;
    margin-top: 30px;
    margin-left: 810px;
}

.heading-project1 {
    position: absolute;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', regular;
    text-align: center;
    margin-top: 120px;
    margin-left: 810px;
    font-weight: 400;
}

.description-project1 {
    position: absolute;
    margin: 0;
    color: #f0f0f0;
    line-height: 1.8;
    font-family: 'Montserrat', regular;
    font-size: 14px;
    margin-left: 770px;
    text-align: center;
    margin-top:300px;
    font-weight: 300;
}

.project-text-overlay2 {
    position: absolute;
    top: 0%;
    width:100%;
    height: auto;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
}

.text-project2 {
    font-family: 'Montserrat', Medium;
    margin-left: 30px;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    font-weight: 300;
    margin-top: 430px;
    margin-left: 30px;
}

.heading-project2 {
    position: absolute;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', regular;
    text-align: center;
    margin-top: 520px;
    margin-left: 30px;
    font-weight: 400;
}

.description-project2 {
    position: absolute;
    width: 400px;
    margin: 0;
    color: #f0f0f0;
    line-height: 1.8;
    font-family: 'Montserrat', regular;
    font-size: 14px;
    margin-left: 0px;
    text-align: center;
    margin-top: 700px;
    font-weight: 300;
}

.project-text-overlay3 {
    position: absolute;
    top: 0%;
    width:100%;
    height: auto;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.text-project3 {
    font-family: 'Montserrat', Medium;
    margin-left: 30px;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    position: absolute;
    font-weight: 300;
    margin-top: 430px;
    margin-left: 470px;
}

.heading-project3 {
    position: absolute;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Montserrat', regular;
    text-align: center;
    margin-top: 520px;
    margin-left: 470px;
    font-weight: 400;
}

.description-project3 {
    position: absolute;
    width: 800px;
    margin: 0;
    color: #f0f0f0;
    line-height: 1.8;
    font-family: 'Montserrat', regular;
    font-size: 14px;
    margin-left: 420px;
    text-align: center;
    margin-top: 700px;
    font-weight: 300;
}
















/* ===== PROJECTS ===== */
.projects {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 114, 16, 0.9) 0%, rgba(120, 175, 105, 0.9) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.9;
}

.project-card .project-content {
    padding: 32px;
    position: relative;
    z-index: 2;
}

.project-card h3 {
    color: var(--primary-orange);
    margin-bottom: 16px;
    font-size: 24px;
}

.project-card p {
    color: var(--dark-gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.project-card:hover h3,
.project-card:hover p,
.project-card:hover .project-link {
    color: var(--white);
}

.project-link {
    display: inline-block;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding-right: 24px;
}

.project-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.project-link:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* ===== NEWS SECTION ===== */
.news {
    padding: 60px 0;
    background: var(--white);
}

.section-title2 {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
    color: var(--black);
    font-family: 'Montserrat', Medium;
    font-size: 36px;
    font-weight: 300;
}

.section-title2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 3px;
    background: linear-gradient(90deg, #FF6F00, #FF9800);
    border-radius: 1.5px;
}

.news-subtitle {
    text-align: center;
    color: var(--dark-gray);
    font-size: 16px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card-image img[src=""] {
    display: none;
}

.news-card-image::after {
    content: '';
    width: 64px;
    height: 64px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 24px;
    position: relative;
    background: var(--white);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(241, 114, 16, 0.1);
    color: var(--primary-orange);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-title {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--black);
    line-height: 1.4;
    font-weight: 600;
}

.news-card-excerpt {
    color: var(--dark-gray);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 14px;
    flex: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--medium-gray);
}

.news-card-date {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 500;
}

.read-more-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.read-more-arrow .arrow-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.read-more-arrow:hover {
    color: var(--primary-orange);
    gap: 8px;
}

.read-more-arrow:hover .arrow-icon {
    transform: translateX(4px);
}

.news-archive {
    text-align: center;
    margin-top: 16px;
}

.archive-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.archive-link:hover {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== SPECIAL OFFERS - HORIZONTAL SLIDER ===== */
.special-offers {
    padding: 48px 0;
    background: #ffffff;
    position: relative;
}

/* Заголовок секции */
.offers-header {
    text-align: center;
    margin-bottom: 40px;
}

.offers-subtitle {
    font-size: 15px;
    color: var(--dark-gray);
    margin-top: 12px;
    font-weight: 400;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.special-offers .section-title2 {
    color: var(--black);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.special-offers .section-title2::after {
    display: none;
}

/* Слайдер предложений */
.offers-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    cursor: grab;
}

.offers-slider:active {
    cursor: grabbing;
}

.offers-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.offers-slider:active .offers-slider-track {
    cursor: grabbing;
}

/* Карточка предложения */
.offer-card-slider {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.offer-card-slider:hover {
    transform: translateY(-4px);
    border-color: #d0d0d0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Бейджи */
.offer-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.offer-badge-hot {
    background: #F17310;
    color: white;
}

.offer-badge-new {
    background: #48AB4D;
    color: white;
}

.offer-badge-free {
    background: #6B7280;
    color: white;
}

.offer-badge-premium {
    background: #1E40AF;
    color: white;
}

/* Иконка */
.offer-card-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
}

.offer-card-icon svg {
    width: 28px;
    height: 28px;
}

/* Стиль иконок для разных карточек */
.offer-card-slider:nth-child(1) .offer-card-icon {
    background: rgba(241, 114, 16, 0.08);
    color: #F17310;
}

.offer-card-slider:nth-child(2) .offer-card-icon {
    background: rgba(72, 171, 77, 0.08);
    color: #48AB4D;
}

.offer-card-slider:nth-child(3) .offer-card-icon {
    background: rgba(107, 114, 128, 0.08);
    color: #6B7280;
}

.offer-card-slider:nth-child(4) .offer-card-icon {
    background: rgba(30, 64, 175, 0.08);
    color: #1E40AF;
}

/* Текст */
.offer-card-slider h3 {
    color: var(--black);
    margin-bottom: 12px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.offer-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 13px;
}

/* Цена */
.offer-price {
    margin-bottom: 18px;
    padding: 14px;
    background: #f8f8f8;
    border-radius: 10px;
}

.offer-price-old {
    display: block;
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.offer-price-new {
    font-size: 20px;
    font-weight: 700;
    color: #48AB4D;
}

/* Особенности */
.offer-features {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.offer-features span {
    padding: 5px 10px;
    background: rgba(72, 171, 77, 0.1);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #2E7D32;
}

/* Время */
.offer-time {
    margin-bottom: 18px;
    padding: 10px;
    background: rgba(241, 114, 16, 0.08);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #C65506;
}

/* Ссылка */
.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    border: none;
}

.offer-link:hover {
    background: #5e8e50;
    transform: translateY(-1px);
}

/* Индикаторы */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.slider-dot.active {
    width: 28px;
    border-radius: 5px;
    background: var(--primary-green);
}

/* CTA блок */
.offers-cta {
    text-align: center;
    margin-top: 40px;
    padding: 28px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.offers-cta p {
    font-size: 16px;
    color: var(--black);
    margin-bottom: 18px;
    font-weight: 500;
}

.btn-offers {
    display: inline-block;
    padding: 13px 32px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-offers:hover {
    background: #d9650b;
    transform: translateY(-1px);
}

/* ===== PROJECTS SECTION: REAL HTML/CSS CARDS ===== */
.projects-section {
    padding: 64px 0;
    background: #fff;
}

.projects-container {
    max-width: 1100px;
}

.projects-title {
    text-align: center;
    color: #43a047;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
}

.projects-line {
    width: 72px;
    height: 4px;
    margin: 0 auto 34px;
    background: #f28c28;
    border-radius: 999px;
}

.projects-section .projects-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
}

.projects-section .project-card {
    min-height: 320px;
    border-radius: 10px;
    padding: 32px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projects-section .project-card::before {
    display: none;
}

.projects-section .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.projects-section .project-card-orange {
    background: linear-gradient(135deg, #d88a4a 0%, #df9153 100%);
}

.projects-section .project-card-green {
    background: linear-gradient(135deg, #76ad68 0%, #79b36c 100%);
}

.projects-section .project-card h3 {
    color: #fff;
    font-size: 31px;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.1;
}

.projects-section .project-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.projects-section .project-description {
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
    line-height: 1.65;
    margin: auto 0 0;
    max-width: 540px;
}

@media (max-width: 900px) {
    .projects-section .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-section .project-card {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .projects-title {
        font-size: 28px;
    }

    .projects-section .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-section .project-card {
        min-height: 260px;
        padding: 26px;
    }

    .projects-section .project-card h3 {
        font-size: 28px;
    }
}

/* ===== CONTACTS ===== */
.contacts {
    padding: 60px 0;
    background: #ffffff;
}

.contacts-header {
    text-align: center;
    margin-bottom: 48px;
}

.contacts-subtitle {
    font-size: 16px;
    color: var(--dark-gray);
    margin-top: 12px;
    line-height: 1.6;
}

/* Сетка контактных карточек */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Карточка контакта */
.contact-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: #d0d0d0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* Иконка */
.contact-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(241, 114, 16, 0.08);
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.contact-card:hover .contact-icon-wrap {
    background: var(--primary-orange);
    color: var(--white);
}

.contact-icon-wrap svg {
    width: 26px;
    height: 26px;
}

/* Заголовок карточки */
.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 14px;
}

/* Ссылки */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.contact-link {
    font-size: 15px;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-orange);
}

/* Адрес */
.contact-address {
    font-size: 15px;
    color: var(--black);
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Примечание */
.contact-note {
    font-size: 13px;
    color: #999;
    display: block;
}

/* Нижний блок: режим работы + форма */
.contacts-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Левая колонка */
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Режим работы */
.work-hours {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 28px;
}

.work-hours h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.work-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.work-hours-row:last-child {
    border-bottom: none;
}

.work-day {
    font-size: 14px;
    color: var(--dark-gray);
}

.work-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.work-time.off {
    color: #c0392b;
}

/* CTA блок */
.contacts-cta {
    background: var(--primary-green);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.contacts-cta p {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 500;
}

.btn-contacts {
    display: inline-block;
    padding: 13px 32px;
    background: var(--white);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-contacts:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Форма */
.contacts-form {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.25s ease;
}

.contacts-form:hover {
    border-color: #d0d0d0;
}

.contacts-form h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--black);
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-orange);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(241, 114, 16, 0.08);
}

.btn-form {
    display: inline-block;
    padding: 14px 28px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.btn-form:hover {
    background: #5e8e50;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #377850 0%, #327457 100%);
    color: rgba(255,255,255,0.85);
    padding: 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 52px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Бренд */
.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

/* Соцсети */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

/* Навигация, услуги, контакты */
.footer-nav h4,
.footer-services h4,
.footer-contacts h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav ul,
.footer-services ul,
.footer-contacts ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a,
.footer-services a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--white);
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.footer-contacts li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(255,255,255,0.5);
}

.footer-contacts a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts a:hover {
    color: var(--white);
}

/* Нижняя полоса */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.8);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== МЕДИА ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ ===== */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .header-top {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .header-contacts {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 16px;
    }
    
    .header-search input {
        width: 200px;
    }
    
    .nav-list {
        gap: 16px;
    }
    
    .nav-link {
        padding: 8px 18px;
        font-size: 15px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    .offers-layout {
        gap: 30px;
    }
    
    .offer-item[data-item="1"] { right: 80px; }
    .offer-item[data-item="2"] { right: 50px; }
    .offer-item[data-item="3"] { right: 80px; }
    .offer-item[data-item="4"] { right: 50px; }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    /* Шапка */
    .header-desktop {
        display: none !important;
    }
    
    .header-mobile {
        display: block !important;
    }
    
    .main-nav,
    .nav-list {
        display: none !important;
    }
    
    /* Контейнер */
    .container {
        padding: 0 16px;
    }
    
    /* Секции */
    section {
        padding: 36px 0;
    }
    
    .section-title1,
    .section-title2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .section-title1::after,
    .section-title2::after {
        width: 80px;
        height: 2px;
    }
    
    /* ===== HERO MOBILE ===== */
    .hero {
        min-height: auto;
        padding: 40px 0 48px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 8px;
    }
    
    .hero h1 {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 13px 24px;
        font-size: 12px;
    }
    
    .hero-slider-container {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin: 24px auto 0;
        padding: 0;
    }
    
    .hero-slider {
        height: 140px;
        border-radius: 12px;
    }
    
    .slider-slide {
        padding: 12px;
        border-radius: 12px;
        outline-offset: 2px;
        margin-left: 0;
        width: 100%;
    }
    
    .slide-title1,
    .slide-title2,
    .slide-title3 {
        font-size: 13px;
        margin-top: 4px;
    }
    
    .slide-description {
        font-size: 10px;
        margin-top: 4px;
        max-width: 200px;
    }
    
    .slider-dots {
        bottom: -20px;
    }
    
    /* ===== НАШИ ПРЕИМУЩЕСТВА MOBILE ===== */
    .accent-offers-desktop {
        display: none !important;
    }
    
    .accent-offers-mobile {
        display: block !important;
    }
    
    .accent-offers {
        padding: 36px 0;
    }
    
    .mobile-offers-slider {
        overflow: hidden;
        margin-bottom: 20px;
    }
    
    .mobile-offers-track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 0 16px;
    }
    
    .mobile-offers-track::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-offer-card {
        flex: 0 0 160px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 16px;
        padding: 20px 14px;
        text-align: center;
        scroll-snap-align: start;
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid transparent;
    }
    
    .mobile-offer-card.active {
        background: linear-gradient(135deg, var(--primary-green) 0%, #2E7D32 100%);
        border-color: var(--primary-green);
        transform: scale(1.03);
        box-shadow: 0 8px 24px rgba(120, 175, 105, 0.25);
    }
    
    .mobile-offer-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
    }
    
    .mobile-offer-icon svg {
        width: 100%;
        height: 100%;
    }
    
    .mobile-offer-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--black);
        margin-bottom: 6px;
    }
    
    .mobile-offer-card.active .mobile-offer-title {
        color: var(--white);
    }
    
    .mobile-offer-text {
        font-size: 11px;
        color: var(--dark-gray);
        line-height: 1.4;
        margin: 0;
    }
    
    .mobile-offer-card.active .mobile-offer-text {
        color: rgba(255,255,255,0.9);
    }
    
    .mobile-offer-indicator {
        width: 24px;
        height: 3px;
        background: var(--medium-gray);
        border-radius: 2px;
        margin: 12px auto 0;
        transition: var(--transition);
    }
    
    .mobile-offer-card.active .mobile-offer-indicator {
        background: var(--white);
        width: 36px;
    }
    
    .mobile-offers-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .mobile-offer-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: var(--medium-gray);
        cursor: pointer;
        transition: var(--transition);
        padding: 0;
    }
    
    .mobile-offer-dot.active {
        background: var(--primary-green);
        width: 24px;
        border-radius: 4px;
    }
    
    .mobile-offer-details {
        background: var(--white);
        border: 1px solid var(--medium-gray);
        border-radius: 14px;
        padding: 20px;
        text-align: center;
    }
    
    .mobile-offer-details-title {
        font-size: 18px;
        font-weight: 700;
        color: var(--primary-green);
        margin-bottom: 10px;
    }
    
    .mobile-offer-details-text {
        font-size: 13px;
        color: var(--dark-gray);
        line-height: 1.6;
        margin: 0;
    }
    
    .mobile-offer-details-content {
        transition: opacity 0.3s ease;
    }
    
    .mobile-offer-details-content.fade-out {
        opacity: 0;
    }
    
    /* ===== ПРОЕКТЫ MOBILE ===== */
    .projects-desktop {
        display: none !important;
    }
    
    .projects-mobile {
        display: flex !important;
        flex-direction: column;
        gap: 14px;
    }
    
    .project-mobile-card {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        border: 1px solid var(--medium-gray);
        border-radius: 14px;
        padding: 20px;
        transition: var(--transition);
    }
    
    .project-mobile-card:active {
        transform: scale(0.98);
    }
    
    .project-mobile-logo {
        font-size: 22px;
        font-weight: 700;
        color: var(--primary-orange);
        margin-bottom: 6px;
    }
    
    .project-mobile-card h3 {
        font-size: 15px;
        font-weight: 600;
        color: var(--black);
        margin-bottom: 8px;
    }
    
    .project-mobile-card p {
        font-size: 13px;
        color: var(--dark-gray);
        line-height: 1.5;
        margin: 0;
    }
    
    /* ===== НОВОСТИ MOBILE ===== */
    .news {
        padding: 36px 0;
    }
    
    .news-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 28px;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 15px;
    }
    
    .news-card-excerpt {
        font-size: 13px;
    }
    
    /* ===== АКЦИИ MOBILE ===== */
    .special-offers {
        padding: 36px 0;
    }
    
    .offers-header {
        margin-bottom: 24px;
    }
    
    .special-offers .section-title2 {
        font-size: 22px;
    }
    
    .offers-subtitle {
        font-size: 13px;
    }
    
    .offer-card-slider {
        flex: 0 0 260px;
        padding: 20px 16px;
    }
    
    .offer-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .offer-card-slider h3 {
        font-size: 16px;
    }
    
    .offer-description {
        font-size: 12px;
    }
    
    .offers-cta {
        margin-top: 24px;
        padding: 18px 14px;
    }
    
    .offers-cta p {
        font-size: 13px;
    }
    
    /* ===== КОНТАКТЫ MOBILE ===== */
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .contact-card {
        padding: 20px 16px;
    }
    
    .contacts-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn-form {
        width: 100%;
    }
    
    /* ===== FOOTER MOBILE ===== */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 22px;
    }
    
    .hero-slider {
        height: 130px;
    }
    
    .slide-title1,
    .slide-title2,
    .slide-title3 {
        font-size: 12px;
    }
    
    .slide-description {
        font-size: 9px;
    }
    
    .offer-card-slider {
        flex: 0 0 240px;
        padding: 18px 14px;
    }
    
    .project-mobile-logo {
        font-size: 20px;
    }
    
    .project-mobile-card h3 {
        font-size: 14px;
    }
    
    .project-mobile-card p {
        font-size: 12px;
    }
}

/* Горизонтальная ориентация */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 24px 0;
    }
    
    .hero-slider-container {
        display: none;
    }
    
    .mobile-nav.active {
        max-height: 80vh;
    }
}

/* Высокое разрешение */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    body {
        font-size: 18px;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 12px 32px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ===== */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary-orange);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Final overrides for rebuilt project cards */
.projects-section .projects-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 12px;
    max-width: 1080px;
    margin: 0 auto;
}

.projects-section .project-card {
    min-height: 320px;
}

@media (max-width: 900px) {
    .projects-section .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .projects-section .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-section .project-card {
        min-height: 260px;
    }
}
