/*
 * contacts.css — Сторінка контактів
 * Підключається тільки на page-contacts.php через functions.php
 */

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */

.ct-hero {
    background: var(--gradient-hero);
    padding: var(--sp-10) 0 var(--sp-12);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ct-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.ct-hero .container { position: relative; }

.ct-hero__eyebrow {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin: 0 0 .5rem;
}

.ct-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600;
    color: #fff;
    margin: 0 0 .75rem;
    line-height: 1.15;
}

.ct-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   SECTION
══════════════════════════════════════════════════════════════ */

.ct-section {
    background: #f8fafc;
    padding: var(--sp-10) 0 var(--sp-16);
}

.ct-wrap {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-10);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT CARDS
══════════════════════════════════════════════════════════════ */

.ct-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

.ct-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1.25rem;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.ct-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-color: #86efac;
}

.ct-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #166534;
    margin-bottom: 1.25rem;
    transition: background .2s;
}

.ct-card:hover .ct-card__icon {
    background: #dcfce7;
}

.ct-card__label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 .4rem;
}

.ct-card__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 .4rem;
}

.ct-card__hint {
    font-size: .825rem;
    color: #9ca3af;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   SOCIAL
══════════════════════════════════════════════════════════════ */

.ct-social-block {
    width: 100%;
    text-align: center;
}

.ct-social-block__title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 1.25rem;
}

.ct-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ct-social__btn {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1.5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: .75rem;
    background: #fff;
    color: #374151;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.ct-social__btn:hover {
    border-color: #1F6F43;
    background: #f0fdf4;
    color: #1F6F43;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    .ct-cards {
        grid-template-columns: 1fr;
    }

    .ct-social {
        flex-direction: column;
        align-items: stretch;
    }

    .ct-social__btn {
        justify-content: center;
    }
}
