/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
.home-full-width-modern {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative;
    left: 0;
    right: 0;
}

.home-full-width-modern .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Удаление header */
.home-full-width-modern header,
.home-full-width-modern .site-header,
.home-full-width-modern #masthead,
.home-full-width-modern .header-image {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
}

/* Общие стили */
.home-full-width-modern * {
    box-sizing: border-box;
}

.home-full-width-modern a {
    text-decoration: none !important;
}

.home-full-width-modern a:hover {
    text-decoration: none !important;
}

/* Контейнеры */
.home-section {
    width: 100% !important;
    max-width: none !important;
    padding: 100px 0;
    position: relative;
}

.home-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .home-section .container {
        padding: 0 20px;
    }
}

/* ===== HERO СЕКЦИЯ ===== */
.home-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f9f7f4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0 !important;
    padding: 0 !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 126, 95, 0.1) 0%, rgba(139, 115, 85, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #333;
    letter-spacing: -0.02em;
}

.hero-title span {
    display: block;
}

.hero-title .accent {
    color: #FF7E5F;
    position: relative;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF7E5F, #8B7355);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 48px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    gap: 12px;
}

.hero-button.primary {
    background: linear-gradient(135deg, #FF7E5F, #FF9A8B);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 126, 95, 0.3);
}

.hero-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(255, 126, 95, 0.4);
}

.hero-button.secondary {
    background: transparent;
    color: #555;
    border-color: #eee;
}

.hero-button.secondary:hover {
    background: #f9f7f4;
    transform: translateY(-2px);
    border-color: #FFB8A8;
}

/* Стрелка прокрутки */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
    border: none;
}

.scroll-down:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.scroll-down svg {
    width: 24px;
    height: 24px;
    color: #FF7E5F;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== СЕКЦИЯ О ПРОЕКТЕ ===== */
.section-about {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #333;
}

.section-title .gradient {
    background: linear-gradient(135deg, #FF7E5F, #8B7355);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF7E5F, #8B7355);
    margin: 0 auto;
    border-radius: 2px;
}

.about-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: #FFB8A8;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF7E5F, #8B7355);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #f9f7f4, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #FFB8A8, #ffffff);
}

.feature svg {
    width: 40px;
    height: 40px;
    color: #FF7E5F;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.feature p {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
}

/* ===== СЕКЦИЯ ПРЕДЛОЖЕНИЙ ===== */
.section-offer {
    background: #f9f7f4;
}

.offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.offer {
    background: white;
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.offer:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.offer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer:hover .offer-decoration {
    opacity: 1;
}

.offer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    background: #f9f7f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.offer:hover .offer-icon {
    background: rgba(255, 126, 95, 0.1);
    transform: rotate(10deg);
}

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

.offer h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.offer p {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 24px;
}

.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
}

.offer-link:hover {
    color: #FF7E5F;
    gap: 12px;
}

.offer-link svg {
    width: 16px;
    height: 16px;
}

/* Цвета для иконок */
.offer:nth-child(1) .offer-decoration { background: #E34F26; }
.offer:nth-child(2) .offer-decoration { background: #4285F4; }
.offer:nth-child(3) .offer-decoration { background: #0088CC; }
.offer:nth-child(4) .offer-decoration { background: #4CAF50; }

.offer:nth-child(1) .offer-icon svg { color: #E34F26; }
.offer:nth-child(2) .offer-icon svg { color: #4285F4; }
.offer:nth-child(3) .offer-icon svg { color: #0088CC; }
.offer:nth-child(4) .offer-icon svg { color: #4CAF50; }

/* ===== СЕКЦИЯ ТОВАРОВ ===== */
.section-products {
    background: white;
}

/* Большие товары WooCommerce */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto 60px !important;
    padding: 0 40px !important;
}

.products-grid li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.products-grid li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.products-grid li.product a img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    display: block !important;
}

.products-grid .woocommerce-loop-product__title {
    font-size: 1.5rem !important;
    font-weight: 600;
    margin: 24px 24px 12px !important;
    color: #333;
    text-align: left !important;
}

.products-grid .woocommerce-loop-product__title a {
    color: #333;
    text-decoration: none !important;
}

.products-grid .woocommerce-loop-product__title a:hover {
    color: #FF7E5F;
}

.products-grid .price {
    font-size: 1.75rem !important;
    font-weight: 700;
    color: #FF7E5F;
    margin: 0 24px 20px !important;
    text-align: left !important;
}

.products-grid .button {
    display: block !important;
    margin: 0 24px 24px !important;
    padding: 14px 28px !important;
    background: #FF7E5F;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.products-grid .button:hover {
    background: #FF6B4A;
    transform: translateY(-2px);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.button-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: linear-gradient(135deg, #FF7E5F, #FF9A8B);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 126, 95, 0.3);
}

.button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(255, 126, 95, 0.4);
    gap: 16px;
}

/* ===== СЕКЦИЯ БЛОГА ===== */
.section-blog {
    background: #f9f7f4;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 40px;
}

.blog-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.blog-image {
    display: block;
    overflow: hidden;
    height: 240px;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-content {
    padding: 32px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.blog-date {
    color: #888;
}

.blog-category {
    background: #f9f7f4;
    color: #FF7E5F;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-title a {
    color: #333;
    text-decoration: none !important;
}

.blog-title a:hover {
    color: #FF7E5F;
}

.blog-excerpt {
    color: #888;
    line-height: 1.6;
    margin-bottom: 24px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: #FF7E5F;
    gap: 12px;
}

.blog-link svg {
    width: 16px;
    height: 16px;
}

/* ===== CTA СЕКЦИЯ ===== */
.section-cta {
    background: linear-gradient(135deg, #555555, #777777);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 48px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: white;
    color: #555;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
    gap: 16px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    margin: 0 !important;
}

/* Красивый скроллбар */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 4px 0;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #FFB8A8;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #FF7E5F;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f9f7f4;
    color: #FF7E5F;
    transform: rotate(90deg);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-content {
    text-align: center;
}

.modal-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f9f7f4;
    position: relative;
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-avatar::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #FF7E5F;
    border-radius: 50%;
    border: 3px solid white;
}

.modal-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.modal-role {
    color: #888;
    margin-bottom: 32px;
    font-size: 1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f9f7f4;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-link:hover {
    background: white;
    border-color: #FFB8A8;
    transform: translateX(4px);
}

.link-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-link:hover .link-icon {
    background: #FF7E5F;
}

.link-icon svg {
    width: 24px;
    height: 24px;
    color: #FF7E5F;
    transition: all 0.3s ease;
}

.contact-link:hover .link-icon svg {
    color: white;
}

.link-info {
    flex: 1;
    text-align: left;
    min-width: 0;
}

.link-label {
    display: block;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-value {
    display: block;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888;
    font-size: 0.875rem;
    margin-top: 24px;
}

.contact-note svg {
    width: 16px;
    height: 16px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 20px !important;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-button {
        width: 100%;
        max-width: 300px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .offers {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .modal-container {
        padding: 32px 24px;
        width: 95%;
    }
    
    .scroll-down {
        bottom: 30px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.25rem;
    }
    
    .home-section .container {
        padding: 0 16px;
    }
    
    .modal-container {
        padding: 24px 16px;
    }
}