.contact-hero-with-image {
    padding: 80px 5% 60px;
    background: linear-gradient(135deg, 
        rgba(42, 124, 95, 0.003) 0%, 
        rgba(252, 255, 253, 1) 50%, 
        rgba(42, 124, 95, 0.003) 100%);
    position: relative;
}

.contact-hero-with-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(42, 124, 95, 0) 0%, 
        rgba(42, 124, 95, 0.2) 50%, 
        rgba(42, 124, 95, 0) 100%);
}

.contact-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-hero-text h1 {
    font-size: 3.5rem;
    color: #0f3b2e;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-hero-text .subtitle {
    font-size: 1.3rem;
    color: #5a7a6e;
    line-height: 1.6;
}

.contact-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 968px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero-text .subtitle {
        font-size: 1.1rem;
    }
}

/* CONTACT SECTION */
.contact-section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(42, 124, 95, 0) 0%, 
        rgba(42, 124, 95, 0.2) 50%, 
        rgba(42, 124, 95, 0) 100%);
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(42, 124, 95, 0) 0%, 
        rgba(42, 124, 95, 0.2) 50%, 
        rgba(42, 124, 95, 0) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.distributor-card {
    background: #fff;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(15, 59, 46, 0.08);
}

.distributor-content h2 {
    font-size: 1.75rem;
    color: #0f3b2e;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.distributor-cooperation > h2 {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(42, 124, 95, 0.2);
}

.distributor-cooperation {
    color: #5a7a6e;
}

.cooperation-block {
    margin-bottom: 24px;
}

.cooperation-block:last-child {
    margin-bottom: 0;
}

.cooperation-lead {
    margin: 0 0 6px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a7a6e;
    font-weight: 500;
}

.cooperation-company {
    margin: 0 0 4px;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #0f3b2e;
    font-weight: 700;
    letter-spacing: 0;
}

.cooperation-address {
    margin: 0;
    color: #5a7a6e;
    font-size: 1rem;
    line-height: 1.7;
}

.cooperation-block h3 {
    margin: 20px 0 10px;
    color: #0f3b2e;
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 700;
}

.cooperation-name {
    margin: 0 0 2px;
    color: #5a7a6e;
    font-size: 1rem;
}

.cooperation-role {
    margin: 0 0 10px;
    color: #5a7a6e;
    font-size: 0.95rem;
}

.cooperation-line {
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5a7a6e;
    font-size: 1rem;
    line-height: 1.6;
}

.cooperation-line:last-child {
    margin-bottom: 0;
}

.cooperation-line a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cooperation-line a:hover {
    color: #2a7c5f;
    text-decoration: underline;
}

.cooperation-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d62828;
}

.cooperation-icon svg {
    width: 15px;
    height: 15px;
}

.distributor-logo-box {
    background: white;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f4f2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.distributor-logo-box:hover {
    border-color: rgba(42, 124, 95, 0.3);
    box-shadow: 0 8px 25px rgba(42, 124, 95, 0.12);
}

.distributor-logo-box a.logo-placeholder {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    padding: 20px 24px;
    border-radius: 14px;
}

.distributor-logo-box a.logo-placeholder img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

.btn-distributor {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    background: #2a7c5f;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 124, 95, 0.3);
}

.btn-distributor:hover {
    background: #256b52;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 124, 95, 0.4);
}

.icon-external {
    flex-shrink: 0;
}

.pharmacy-section {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 2px solid #f0f4f2;
}

.pharmacy-section h2 {
    font-size: 2rem;
    color: #0f3b2e;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-section .pharmacy-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(42, 124, 95, 0.06);
    border-left: 3px solid #2a7c5f;
    border-radius: 0 12px 12px 0;
    color: #3a6d56;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.6;
}

.contact-section .pharmacy-notice svg {
    flex-shrink: 0;
}

.contact-section .pharmacy-notice span {
    flex: 1;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:not(.availability-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.availability-label {
    margin: 14px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(42, 124, 95, 0.2);
    font-size: 1.75rem;
    line-height: 1.3;
    color: #0f3b2e;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.seller-item {
    background: white;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f4f2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.availability-card .seller-item:hover {
    border-color: rgba(42, 124, 95, 0.3);
    box-shadow: 0 8px 25px rgba(42, 124, 95, 0.12);
}

.seller-logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    padding: 20px 24px;
    border-radius: 14px;
}

.seller-logo-link img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: start;
    }

    .distributor-card {
        position: static;
    }

}

@media (max-width: 768px) {
    .contact-hero-with-image {
        padding: 56px 20px 36px;
    }

    .contact-hero-text h1 {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .contact-hero-text .subtitle {
        font-size: 1rem;
    }

    .contact-section {
        padding: 40px 20px;
    }

    .distributor-card,
    .contact-card {
        padding: 30px 25px;
    }

    .distributor-content h2 {
        font-size: 1.6rem;
    }

    .cooperation-lead,
    .cooperation-block h3 {
        font-size: 1.15rem;
    }

    .cooperation-company {
        font-size: 1.05rem;
    }

    .cooperation-address,
    .cooperation-name,
    .cooperation-role,
    .cooperation-line {
        font-size: 0.95rem;
    }

    .cooperation-block {
        margin-bottom: 20px;
    }

    .distributor-logo-box {
        margin: 20px 0;
    }

    .distributor-logo-box a.logo-placeholder {
        min-height: 96px;
        padding: 14px 16px;
    }

    .seller-logo-link {
        min-height: 96px;
        padding: 14px 16px;
    }

    .distributor-logo-box a.logo-placeholder img {
        max-width: 280px;
    }

    .seller-logo-link img {
        max-width: 280px;
    }

    .btn-distributor {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        text-align: center;
    }

    .contact-section .pharmacy-notice {
        align-items: flex-start;
        padding: 16px 18px;
        gap: 12px;
    }

    .contact-section .pharmacy-notice svg {
        width: 44px;
        height: 44px;
    }

}

@media (max-width: 480px) {
    .contact-hero-with-image {
        padding: 48px 15px 28px;
    }

    .contact-hero-text h1 {
        font-size: 1.7rem;
    }

    .distributor-card,
    .contact-card {
        padding: 25px 20px;
    }

    .distributor-logo-box {
        margin: 16px 0;
    }

    .seller-item {
        margin: 16px 0 0;
    }

    .distributor-logo-box a.logo-placeholder {
        min-height: 84px;
        padding: 12px 12px;
    }

    .seller-logo-link {
        min-height: 84px;
        padding: 12px 12px;
    }

    .distributor-logo-box a.logo-placeholder img {
        max-width: 230px;
    }

    .seller-logo-link img {
        max-width: 230px;
    }

    .cooperation-lead,
    .cooperation-block h3 {
        font-size: 1rem;
    }

    .cooperation-company {
        font-size: 1rem;
    }

    .cooperation-address,
    .cooperation-name,
    .cooperation-role,
    .cooperation-line {
        font-size: 0.92rem;
    }

    .cooperation-icon {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

    .cooperation-icon svg {
        width: 13px;
        height: 13px;
    }
}
