/* ================================================
   ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ - ПЕРЕКРЫВАЮТ ВСЁ
   Подключать ПОСЛЕДНИМ!
   ================================================ */

/* НАВИГАЦИЯ - ЕЩЕ ПРОЗРАЧНЕЕ С РАЗМЫТИЕМ */
.nav {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05) !important;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(35px) !important;
    -webkit-backdrop-filter: blur(35px) !important;
}

/* 1. HERO СЕКЦИЯ - ГАРМОНИЧНОЕ РАЗМЕЩЕНИЕ */
section.hero .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3rem !important;
    min-height: 100vh !important;
    padding: 2rem !important;
    padding-top: 150px !important;
    margin-top: 0 !important;
}

section.hero .hero-title {
    margin-bottom: 1.5rem !important;
    order: 1 !important;
}

section.hero .hero-subtitle {
    margin-bottom: 2rem !important;
    order: 2 !important;
}

section.hero .hero-cta {
    margin-bottom: 0 !important;
    order: 3 !important;
}

section.hero .hero-scroll {
    position: static !important;
    margin-top: 4rem !important;
    order: 4 !important;
}

/* 2. ИКОНКИ QUALITY - PNG БЕЗ КРУЖКОВ */
.quality-grid .quality-icon {
    width: 100px !important;
    height: 100px !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 auto 2rem !important;
}

.quality-grid .quality-icon img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.quality-grid .quality-icon::after,
.quality-grid .quality-icon::before {
    display: none !important;
    content: none !important;
}

/* 3. КАРТОЧКИ QUALITY - СТРОГО ОДИНАКОВАЯ ВЫСОТА, БЕЗ ДЕРГАНИЯ */
.quality-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    align-items: start !important;
    grid-auto-rows: 1fr !important;
}

.quality-grid .quality-item {
    background: white !important;
    padding: 2.5rem 2rem 3rem !important;
    border-radius: 16px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    height: auto !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    will-change: transform !important;
    transform: translateZ(0) !important;
}

.quality-grid .quality-item .quality-features {
    flex: 1 !important;
}

/* 4. ПЛАШКА QUALITY-USAGE - БОЛЬШОЙ ОТСТУП СВЕРХУ */
.quality-usage {
    margin-top: 6rem !important;
    padding: 2.5rem 3rem !important;
}

/* 5. PRODUCTS - ШИРЕ, ОБЕ КНОПКИ ЗОЛОТЫЕ */
.products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 1200px !important;
    gap: 4rem !important;
}

.product-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    will-change: transform !important;
    transform: translateZ(0) !important;
}

.product-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-content .btn {
    margin-top: auto !important;
}

/* ОБЕ КНОПКИ ЗОЛОТЫЕ */
.product-card .btn-outline,
.product-card .btn-primary,
.product-card-featured .btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    padding: 14px 32px !important;
    width: 100% !important;
    max-width: 280px !important;
}

.product-card .btn:hover {
    background: linear-gradient(135deg, #1a3d2e 0%, #2d5a3d 100%) !important;
    color: white !important;
}

/* 6. PROCESS - ЗАГОЛОВКИ ЗАГЛАВНЫМИ */
.process-step-title {
    text-transform: uppercase !important;
    font-size: 1.5rem !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
}

.process-content p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
}

.process-image {
    height: 450px !important;
}

/* 7. ФОРМА - КОМПАКТНАЯ */
.contact-form {
    gap: 1.2rem !important;
}

.contact-form .form-group {
    margin-bottom: 0 !important;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 0 !important;
    font-size: 1rem !important;
}

.contact-form .form-group-message {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}

.contact-form .form-group-message textarea {
    padding: 1rem !important;
    min-height: 150px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: white !important;
    resize: vertical !important;
}

.contact-form .form-group-message textarea:focus {
    border-color: #1a3d2e !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(26, 61, 46, 0.1) !important;
}

.contact-form .form-group-message label {
    position: static !important;
    display: block !important;
    margin-bottom: 0.5rem !important;
    color: #1a3d2e !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}


.contact-form .btn-submit {
    background: #1a3d2e !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 1rem 2rem !important;
    margin-top: 0.8rem !important;
    border: none !important;
}

.contact-form .btn-submit:hover {
    background: #2d5a47 !important;
    color: white !important;
}

.contact-info .section-title {
    text-align: left !important;
}

/* 8. FOOTER - ПРОСТАЯ ПЛАШКА БЕЗ ВОЛН */
.footer {
    background: #1a3d2e !important;
    padding: 4rem 0 2rem !important;
}

.footer::before,
.footer::after {
    content: none !important;
    display: none !important;
}

.footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.footer-brand h3 {
    color: #d4af37 !important;
    background: none !important;
    -webkit-text-fill-color: #d4af37 !important;
}

.footer-links a::before,
.footer-social a::before {
    display: none !important;
}

.footer-social-wrapper h4,
.footer-articles h4,
.footer-links h4 {
    color: #d4af37 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 1rem !important;
}

/* АДАПТИВНОСТЬ */
/* КАРТОЧКИ ВЫБОРА ПРОДУКТА - СЧЕТЧИКИ */
.product-selector-card {
    position: relative !important;
}

.product-selector-card[data-count]::before {
    content: attr(data-count) !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: #1a3d2e !important;
    color: white !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}

.product-selector-card[data-count="0"]::before {
    display: none !important;
}

.product-cards-selector {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
}

.product-selector-card {
    background: #f8f7f4 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 16px !important;
    padding: 1.5rem 1rem !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.product-selector-card:hover {
    border-color: #d4af37 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2) !important;
}

.product-selector-card.selected {
    background: linear-gradient(135deg, #fff3d4 0%, #f4e4bc 100%) !important;
    border-color: #d4af37 !important;
    border-width: 3px !important;
}

.selector-icon {
    font-size: 2.5rem !important;
    margin-bottom: 0.8rem !important;
}

.product-selector-card h4 {
    color: #1a3d2e !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0.5rem 0 0.3rem !important;
}

.product-selector-card p {
    color: #6b6b6b !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .quality-grid {
        grid-template-columns: 1fr !important;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .process-image {
        height: 300px !important;
    }

    .product-cards-selector {
        grid-template-columns: 1fr !important;
    }
}
