/* Кольорова палітра */
:root {
    --primary: #004E89;
    --primary-light: #1a5f99;
    --accent: #FF6B35;
    --text-dark: #1A1A2E;
    --text-body: #4A4A68;
    --text-light: #6B6B85;
    --bg-card: #FFFFFF;
    --bg-section: #F8F9FC;
    --border: #E0E4EB;
    --border-light: #EDF0F5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ========== HERO ========== */
.contacts-hero {
    background: linear-gradient(135deg, #004E89 0%, #002845 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.contacts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
}

.contacts-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contacts-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contacts-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ========== КОНТАКТНА СЕКЦІЯ ========== */
.contacts-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.contacts-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ========== КОНТАКТНІ КАРТКИ ========== */
.contact-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-card h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.contact-card h2 i {
    color: var(--primary);
    font-size: 22px;
    width: 32px;
    text-align: center;
}

.contact-info-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item h3 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-item h3 i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-info-item p {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.7;
    margin: 4px 0;
    padding-left: 28px;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ========== ТЕЛЕФОНИ ========== */
.phone-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phone-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.phone-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.phone-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-number a {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.phone-person {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 400;
}

/* ========== ДОНАТ КАРТКА ========== */
.donation-card {
    background: linear-gradient(135deg, var(--bg-section) 0%, #FFFFFF 100%);
    border: 2px solid var(--primary);
}

.donation-card h2 i {
    color: var(--accent);
}

.card-number {
    background: var(--bg-card);
    padding: 18px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
    text-align: center;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.card-holder {
    margin-top: 12px;
    padding: 14px;
    background: var(--bg-section);
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.card-holder p {
    font-size: 14px;
    color: var(--text-body);
    margin: 3px 0;
    padding: 0 !important;
}

.card-holder strong {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

/* ========== КАРТА ========== */
.map-container {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== АДАПТИВНІСТЬ ========== */
@media (max-width: 1024px) {
    .contacts-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        padding: 60px 0 40px;
    }

    .contacts-hero h1 {
        font-size: 36px;
    }

    .contacts-section {
        padding: 60px 0;
    }

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

    .contact-card h2 {
        font-size: 18px;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contacts-hero h1 {
        font-size: 32px;
    }

    .contact-card {
        padding: 24px;
    }

    .card-number {
        font-size: 15px;
        letter-spacing: 1px;
        padding: 14px;
    }

    .phone-number a {
        font-size: 15px;
    }

    .map-container {
        height: 350px;
    }
}
