.contact-page-header__title {
    max-width: 980px;
    margin: 0 auto 16px;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
}

.contact-page-header .thm-breadcrumb {
    max-width: 980px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.5;
}

.contact-schedule-section {
    padding: 48px 0 80px;
}

.contact-tabs {
    display: flex;
    gap: 0;
    padding: 4px;
    margin-bottom: 28px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
}

.contact-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: #888;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 10px;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
}

.contact-tab.is-active {
    background: #34c759;
    color: #fff;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.35);
}

.contact-tab:hover:not(.is-active) {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.contact-panel {
    display: none;
}

.contact-panel.is-active {
    display: block;
}

.contact-card-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.contact-card-grid > .contact-grid-col {
    flex: 0 0 25%;
    max-width: 25%;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 28px;
}

.contact-card-grid > .contact-grid-col--full {
    flex: 0 0 100%;
    max-width: 100%;
}

.contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 199, 89, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.contact-card__photo-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111;
}

.contact-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.contact-card:hover .contact-card__photo {
    transform: scale(1.04);
}

.contact-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 18px 20px;
}

.contact-card__name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.contact-card__meta {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.contact-card__meta--phone {
    margin-top: auto;
    padding-top: 4px;
}

.contact-card__label {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.contact-card__phone {
    color: #4ade80;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.contact-card__phone:hover {
    text-decoration: underline;
}

.contact-loading,
.contact-empty {
    text-align: center;
    padding: 32px 16px;
    margin: 0;
    color: #888;
}

@media (max-width: 1199px) {
    .contact-card-grid > .contact-grid-col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) {
    .contact-page-header__title {
        font-size: 26px;
    }

    .contact-card-grid > .contact-grid-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .contact-page-header__title {
        font-size: 20px;
    }

    .contact-tabs {
        flex-direction: column;
        gap: 4px;
    }

    .contact-tab {
        font-size: 13px;
        padding: 10px 8px;
    }

    .contact-card-grid > .contact-grid-col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .contact-card__name {
        font-size: 16px;
    }
}

@media (max-width: 479px) {
    .contact-card-grid > .contact-grid-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
