/* ============================================
   CONTACTS PAGE - MODERN DESIGN
   ============================================ */

/* Контейнер карточек */
.contact-box {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0 40px 0;
}

/* Каждая карточка */
.contact-box .contact-item {
    flex: 1 1 calc(50% - 30px);
    max-width: 500px;
    min-width: 300px;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px 30px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-box .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Декоративная полоска сверху */
.contact-box .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff7d2f, #ff9a5e);
}

.contact-box .contact-item.skt-testing::before {
    background: linear-gradient(90deg, #0073aa, #00a0d2);
}

/* Заголовок */
.contact-box .contact-item h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Бейджи */
.contact-item__badge {
    font-size: 12px;
    font-weight: 500;
    color: #0073aa;
    background: #e8f4fd;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    letter-spacing: 0.3px;
}

/* Бейдж "Main Office" - оранжевый */
.contact-item__badge--main {
    color: #ff7d2f;
    background: #fff0e8;
}

/* Тело карточки */
.contact-item__body {
    margin: 18px 0 0 0;
}

.contact-item__row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

.contact-item__row:last-child {
    border-bottom: none;
}

.contact-item__label {
    font-weight: 600;
    color: #555;
    font-size: 13px;
    min-width: 100px;
    flex-shrink: 0;
}

.contact-item__value {
    font-size: 14px;
    color: #333;
    word-break: break-word;
}

.contact-item__value a {
    color: #ff7d2f;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item__value a:hover {
    color: #e0661a;
    text-decoration: underline;
}

.contact-item.skt-testing .contact-item__value a {
    color: #0073aa;
}

.contact-item.skt-testing .contact-item__value a:hover {
    color: #005a87;
}

/* ============================================
   АДАПТИВ
   ============================================ */

@media (max-width: 1024px) {
    .contact-box .contact-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .contact-box {
        gap: 20px;
        padding: 10px 0 30px 0;
    }
    
    .contact-box .contact-item {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        padding: 25px 20px 20px 20px;
    }
    
    .contact-item__row {
        flex-direction: column;
        gap: 2px;
        padding: 6px 0;
    }
    
    .contact-item__label {
        min-width: auto;
        font-size: 12px;
    }
    
    .contact-box .contact-item h2 {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .contact-box .contact-item {
        padding: 20px 15px 18px 15px;
        border-radius: 12px;
    }
}

/* ============================================
   СКРЫВАЕМ НЕНУЖНЫЕ БЛОКИ
   ============================================ */

.gc-contact-wraper,
.int-contacts,
.entry-content {
    display: none;
}