/* ==================== CONTACTS PAGE STYLES ==================== */
/* Neo-Brutalism стиль для Hero блока */
/* Размеры ТОЧНО как на главной странице (homepage-v3.css) */

/* ===== PAGE WRAPPER ===== */
.nt-contacts-page {
    background: var(--bg-page, #FAFBFF);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== HERO SECTION — отступ как на главной ===== */
.nt-contacts-page .nt-hero-section {
    padding: 8px 0 0 0;
}

/* ===== NEO-BRUTALISM HERO WRAPPER ===== */
.nt-contacts-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-contacts-hero {
    height: 420px;
    max-height: 420px;
    background-color: #FFF5F9;
    border-radius: 17px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ===== HERO CONTENT — расширенный, без изображения ===== */
.nt-contacts-hero-content {
    padding: 32px 64px;
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
    font-size: 16px; /* Унификация базового размера */
    line-height: 1.5;
}

/* Хлебные крошки */
.nt-contacts-hero .nt-hero-breadcrumbs {
    margin-bottom: 12px;
}

.nt-contacts-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-contacts-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb a {
    color: rgba(0,0,0,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.nt-contacts-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb a:hover {
    color: #000000;
}

/* H1 — компактный для баннера без изображения */
.nt-contacts-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.1;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

/* Акцент — на одной строке */
.nt-contacts-hero-accent {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #E88AAF;
    text-transform: uppercase;
}

/* Подзаголовок — компактный */
.nt-contacts-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 ГРУППА ===== */
.nt-contacts-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* CTA кнопка — размер как на главной Neo */
.nt-contacts-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    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-contacts-hero-cta:hover {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.nt-contacts-hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.nt-contacts-hero-cta:hover svg {
    transform: translateX(3px);
}

/* Telegram — синяя */
.nt-contacts-hero-cta.cta-telegram {
    background: #4285F4;
    color: #FFFFFF;
}

.nt-contacts-hero-cta.cta-telegram:hover,
.nt-contacts-hero-cta.cta-telegram:visited {
    color: #FFFFFF;
}

/* Позвонить — розовая */
.nt-contacts-hero-cta.cta-call {
    background: #F5A3C7;
    color: #000000;
}

.nt-contacts-hero-cta.cta-call:hover,
.nt-contacts-hero-cta.cta-call:visited {
    color: #000000;
}

/* ===== ADVANTAGES SECTION — отступы как на главной ===== */
.nt-contacts-page .nt-advantages-section {
    margin-top: 24px;
    margin-bottom: 48px;
    padding-top: 16px;
}

.nt-contacts-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;
    height: 96px; /* Фиксированная высота как на главной */
}

.nt-contacts-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;
    height: 96px; /* Фиксированная высота как на главной */
    box-sizing: border-box;
}

.nt-contacts-page .nt-advantage-item:last-child {
    border-right: none;
}

.nt-contacts-page .nt-advantage-item:hover {
    background: #F5F9FF;
}

.nt-contacts-page .nt-advantage-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary, #2C3DF5);
    line-height: 1.2;
    margin-bottom: 4px;
}

.nt-contacts-page .nt-advantage-text {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    line-height: 1.3;
}

.nt-contacts-page .nt-section {
    margin-bottom: 48px; /* Как на главной */
}

/* ==================== CONTACT CARDS ==================== */

.contact-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 100%;
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    font-family: var(--font-family-montserrat);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 8px 20px rgba(44, 61, 245, 0.3);
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
}

.card-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: var(--font-family-montserrat);
}

.phone-link {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    margin: 16px 0 20px;
    transition: all 0.3s;
    font-family: var(--font-family-montserrat);
}

.phone-link:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.card-description {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-family: var(--font-family-montserrat);
}

.messengers {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.messenger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.messenger-btn.whatsapp {
    background: #25D366;
}

.messenger-btn.telegram {
    background: #0088cc;
}

.messenger-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.messenger-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.email-link {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin: 16px 0 20px;
    transition: all 0.3s;
    font-family: var(--font-family-montserrat);
}

.email-link:hover {
    color: var(--primary-dark);
}

.working-hours {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
}

.hours-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: var(--font-family-montserrat);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-family: var(--font-family-montserrat);
}

.day {
    color: var(--text-gray);
}

.time {
    font-weight: 600;
    color: var(--text-dark);
}

.time.closed {
    color: #EF4444;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
    .contact-cards-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== MOBILE — компактный баннер без изображения ===== */
@media (max-width: 768px) {
    .nt-contacts-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-contacts-hero {
        height: auto;
        max-height: none;
        min-height: 420px; /* Как на главной */
        border-radius: 14px;
        align-items: center;
    }
    
    .nt-contacts-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-contacts-hero .nt-hero-breadcrumbs .woocommerce-breadcrumb {
        font-size: 11px;
    }
    
    .nt-contacts-hero h1 {
        font-size: 1.75rem;
        font-weight: 900;
        line-height: 1.1 !important;
        margin-bottom: 6px;
    }
    
    .nt-contacts-hero-accent {
        font-size: 1.1rem;
        font-weight: 800;
        line-height: 1.2 !important;
        margin-bottom: 10px;
    }
    
    .nt-contacts-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4 !important;
        margin-bottom: 12px;
    }
    
    .nt-contacts-hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
    }
    
    .nt-contacts-hero-cta {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 10px;
        box-shadow: 3px 3px 0px 0px rgba(0,0,0,1);
        width: auto;
        align-self: flex-start; /* Не растягивать на всю ширину */
    }
    
    .nt-contacts-hero-cta svg {
        width: 12px;
        height: 12px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .card-title {
        font-size: 24px;
    }

    .phone-link {
        font-size: 28px;
    }

    .email-link {
        font-size: 19px;
    }
    
    /* Advantages Bar mobile */
    .nt-contacts-page .nt-advantages-bar {
        flex-wrap: wrap;
        height: auto; /* Сброс фиксированной высоты для мобильных */
    }
    
    .nt-contacts-page .nt-advantage-item {
        flex: 1 1 50%;
        border-bottom: 1px solid #E6E6FF;
        padding: 18px 8px;
        height: auto; /* Сброс фиксированной высоты для мобильных */
    }
    
    .nt-contacts-page .nt-advantage-item:nth-child(odd) {
        border-right: 1px solid #E6E6FF;
    }
    
    .nt-contacts-page .nt-advantage-item:nth-child(even) {
        border-right: none;
    }
    
    .nt-contacts-page .nt-advantage-item:nth-child(5) {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: none;
    }
    
    .nt-contacts-page .nt-advantage-item:nth-child(n+4) {
        border-bottom: none;
    }
    
    .nt-contacts-page .nt-advantage-number {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .nt-contacts-hero-content {
        max-width: 100%;
        padding: 20px;
    }
}
