.elementor-1861 .elementor-element.elementor-element-4b4d3dc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1861 .elementor-element.elementor-element-ec99f96{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--flex-wrap:wrap;}.elementor-1861 .elementor-element.elementor-element-4394cda{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1861 .elementor-element.elementor-element-1a58936{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1861 .elementor-element.elementor-element-32dec6d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1861 .elementor-element.elementor-element-ba42212{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1861 .elementor-element.elementor-element-2f63574{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1861 .elementor-element.elementor-element-ba77be5{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-1861 .elementor-element.elementor-element-4394cda{--width:33.3333%;}.elementor-1861 .elementor-element.elementor-element-1a58936{--width:33.3333%;}.elementor-1861 .elementor-element.elementor-element-32dec6d{--width:33.3333%;}.elementor-1861 .elementor-element.elementor-element-ba42212{--width:33.3333%;}.elementor-1861 .elementor-element.elementor-element-2f63574{--width:33.3333%;}.elementor-1861 .elementor-element.elementor-element-ba77be5{--width:33.3333%;}}/* Start custom CSS *//* --- ЗАГАЛЬНІ ЗМІННІ БРЕНДУ --- */
:root {
    --brand-red: #D32F2F;
    --brand-yellow: #FFCC00;
    --brand-dark: #1a1a1a;
    --card-bg: #FFF9E6; /* Теплий кремовий */
    --text-dark: #333;
    --text-light: #666;
}

/* Налаштування шрифту (опціонально, якщо вже є на сайті - прибрати) */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- СЕКЦІЯ КОНТАКТІВ --- */
.contacts-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* --- ЗАГОЛОВОК (PREMIUM DARK STYLE) --- */
.contacts-header-premium {
    text-align: center;
    margin-bottom: 50px;
}
.header-subtitle {
    color: var(--brand-yellow);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.header-title {
    color: #ffffff; /* Якщо фон білий, змініть на var(--text-dark) */
    font-size: 42px;
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
}
.header-divider {
    width: 80px;
    height: 4px;
    background: var(--brand-yellow);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- СІТКА КАРТОК --- */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* --- СТИЛЬ СТАНДАРТНОЇ КАРТКИ --- */
.contact-card {
    background: var(--card-bg);
    border: 2px solid var(--brand-yellow);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-color: var(--brand-red);
    background: #fff;
}

/* Бейдж посади */
.role-badge {
    background: var(--brand-red);
    color: #FFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.3);
}

/* Іконки (для стандартних карток) */
.icon-box {
    background: #FFFFFF;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-red);
    border: 2px solid var(--brand-yellow);
}
.icon-svg { width: 32px; height: 32px; fill: currentColor; }

/* Тексти */
.person-name {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}
.person-position {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 500;
    flex-grow: 1; /* Розтягує блок, щоб кнопки були знизу */
}

/* --- СТИЛЬ СПЕЦІАЛЬНОЇ КАРТКИ (ТЕХПІДТРИМКА) --- */
.contact-card.special {
    padding: 0;
    border-color: #0073aa; /* Синій акцент для IT */
}
.contact-card.special:hover { border-color: var(--brand-yellow); }

.special-photo-header {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center top;
    position: relative;
}
.special-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Кнопки зв'язку */
.contact-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
}
.action-link:hover {
    background: var(--brand-red);
    color: #FFFFFF;
    border-color: var(--brand-red);
}

/* Спеціальні стилі кнопок для IT картки */
.special .action-link.website {
    background: #0073aa;
    color: white;
    border: none;
}
.special .action-link.website:hover { 
    background: var(--brand-yellow); 
    color: black; 
}

/* Адаптив */
@media (max-width: 768px) {
    .header-title { font-size: 32px; }
    .contacts-grid { grid-template-columns: 1fr; }
}/* End custom CSS */