/**
 * Brands Page Styles
 * Neo-Brutalism стиль для Hero блока
 * Размеры ТОЧНО как на главной странице (homepage-v3.css)
 * 
 * @package HelloElementorChild
 * @since 2.7.0
 */

/* ===== PAGE WRAPPER ===== */
.nt-brands-page {
    background: var(--bg-page, #FAFBFF);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== HERO SECTION — отступ как на главной ===== */
.nt-brands-page .nt-hero-section {
    padding: 8px 0 0 0;
}

/* ===== NEO-BRUTALISM HERO WRAPPER ===== */
.nt-brands-hero-wrapper {
    border: 3px solid #000000;
    border-radius: 20px;
    box-shadow: 6px 6px 0px 0px rgba(0,0,0,1);
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* ===== HERO SLIDE ===== */
.nt-brands-hero {
    height: 420px;
    max-height: 420px;
    background-color: #E8F4FD;
    border-radius: 17px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ===== HERO CONTENT — расширенный, без изображения ===== */
.nt-brands-hero-content {
    padding: 32px 64px;
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
    font-size: 16px; /* Унификация базового размера */
    line-height: 1.5;
}

/* Хлебные крошки */
.nt-brands-hero .nt-hero-breadcrumbs {
    margin-bottom: 12px;
}

.nt-brands-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nt-brands-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb a {
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.nt-brands-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb a:hover {
    color: #000000;
}

/* H1 — компактный для баннера без изображения */
.nt-brands-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

/* Акцент — на одной строке */
.nt-brands-hero-accent {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #4285F4;
    text-transform: uppercase;
}

/* Подзаголовок — компактный */
.nt-brands-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(0,0,0,0.6);
    line-height: 1.5;
    margin: 0 0 16px 0;
    max-width: 600px;
}

/* CTA кнопка — размер как на главной Neo */
.nt-brands-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: #4285F4;
    border: 2px solid #000000;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.15s ease;
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}

.nt-brands-hero-cta:hover {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.nt-brands-hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.nt-brands-hero-cta:hover svg {
    transform: translateX(3px);
}

/* Белый цвет текста */
.nt-brands-hero-cta,
.nt-brands-hero-cta:hover,
.nt-brands-hero-cta:focus,
.nt-brands-hero-cta:active,
.nt-brands-hero-cta:visited {
    color: #FFFFFF !important;
}

/* ===== ADVANTAGES SECTION — отступы как на главной ===== */
.nt-brands-page .nt-advantages-section {
    margin-top: 24px;
    margin-bottom: 48px;
    padding-top: 16px;
}

.nt-brands-page .nt-advantages-bar {
    background: white;
    border-radius: 14px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    overflow: hidden;
}

.nt-brands-page .nt-advantage-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 12px;
    border-right: 1px solid #E6E6FF;
    transition: background 0.2s;
}

.nt-brands-page .nt-advantage-item:last-child {
    border-right: none;
}

.nt-brands-page .nt-advantage-item:hover {
    background: #F5F9FF;
}

.nt-brands-page .nt-advantage-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary, #2C3DF5);
    line-height: 1.2;
    margin-bottom: 4px;
}

.nt-brands-page .nt-advantage-text {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    line-height: 1.3;
}

/* ===== ADVANTAGES CARD ===== */
.nt-brands-advantages-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nt-brands-advantages-card .nt-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark, #213777);
    text-align: center;
    margin: 0 0 32px 0;
}

.nt-brands-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.nt-brands-advantage-item {
    background: var(--bg-light, #F5F7FF);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.nt-brands-advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 61, 245, 0.1);
}

.nt-brands-advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    color: var(--primary, #2C3DF5);
}

.nt-brands-advantage-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.nt-brands-advantage-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #213777);
    margin: 0 0 12px 0;
}

.nt-brands-advantage-item p {
    font-size: 15px;
    color: var(--text-gray, #64748B);
    line-height: 1.6;
    margin: 0;
}

.nt-brands-advantages-footer {
    padding-top: 32px;
    border-top: 2px solid var(--border, #E6E6FF);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.nt-brands-advantages-footer p {
    font-size: 15px;
    color: var(--text-gray, #64748B);
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.nt-brands-advantages-footer p:last-child {
    margin-bottom: 0;
}

.nt-brands-advantages-footer strong {
    color: var(--primary, #2C3DF5);
}

/* ===== BRANDS CARD ===== */
.nt-brands-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nt-brands-card .nt-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark, #213777);
    text-align: center;
    margin: 0 0 32px 0;
}

.nt-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nt-brand-item {
    background: #F5F9FF;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-height: 80px;
}

.nt-brand-item:hover {
    border-color: var(--primary, #2C3DF5);
    background: white;
}

.nt-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark, #213777);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .nt-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .nt-brands-advantages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== MOBILE — компактный баннер без изображения ===== */
@media (max-width: 768px) {
    .nt-brands-hero-wrapper {
        border: 2px solid #000000;
        border-radius: 16px;
        box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
        margin-right: 6px;
        margin-bottom: 6px;
    }
    
    .nt-brands-hero {
        height: auto;
        max-height: none;
        min-height: 420px; /* Как на главной */
        border-radius: 14px;
        align-items: center;
    }
    
    .nt-brands-hero-content {
        padding: 24px;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 14px !important; /* Унификация */
        line-height: 1.5 !important;
    }
    
    .nt-brands-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb {
        font-size: 11px;
    }
    
    .nt-brands-hero h1 {
        font-size: 1.75rem;
        font-weight: 900;
        line-height: 1.1 !important;
        margin-bottom: 6px;
    }
    
    .nt-brands-hero-accent {
        font-size: 1.1rem;
        font-weight: 800;
        line-height: 1.2 !important;
        margin-bottom: 10px;
    }
    
    .nt-brands-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4 !important;
        margin-bottom: 12px;
    }
    
    .nt-brands-hero-cta {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 10px;
        box-shadow: 3px 3px 0px 0px rgba(0,0,0,1);
        margin-top: 8px;
        width: auto;
        align-self: flex-start; /* Не растягивать на всю ширину */
    }
    
    .nt-brands-hero-cta svg {
        width: 12px;
        height: 12px;
    }
    
    .nt-brands-advantages-card,
    .nt-brands-card {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .nt-brands-advantages-card .nt-section-title,
    .nt-brands-card .nt-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .nt-brands-advantage-item {
        padding: 24px;
    }
    
    .nt-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .nt-brand-item {
        padding: 16px 12px;
        min-height: 60px;
    }
    
    .nt-brand-name {
        font-size: 13px;
    }
    
    /* Advantages Bar mobile */
    .nt-brands-page .nt-advantages-bar {
        flex-wrap: wrap;
    }
    
    .nt-brands-page .nt-advantage-item {
        flex: 1 1 50%;
        border-bottom: 1px solid #E6E6FF;
        padding: 16px 8px;
    }
    
    .nt-brands-page .nt-advantage-item:nth-child(odd) {
        border-right: 1px solid #E6E6FF;
    }
    
    .nt-brands-page .nt-advantage-item:nth-child(even) {
        border-right: none;
    }
    
    .nt-brands-page .nt-advantage-item:nth-child(n+5) {
        border-bottom: none;
    }
    
    .nt-brands-page .nt-advantage-item {
        padding: 18px 8px;
    }
    
    .nt-brands-page .nt-advantage-number {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .nt-brands-hero-content {
        max-width: 100%;
        padding: 20px;
    }
}
