@charset "UTF-8";
/* ============================================================
   CONTACTS PAGE
   ============================================================ */

   


   .page-template-page-contacts .header-subnav ul::before,
   .page-template-page-contacts .header-subnav ul::after {
       display: none !important;
     
   }
   
   
   .page-template-page-contacts .header-mobile__top::before,
   .page-template-page-contacts .header-mobile__top::after {
       display: none !important;
   }
.contacts-page {
    padding: 220px 0 80px;
    background: url('/wp-content/uploads/2026/05/c-fon.png') top center / cover no-repeat;
}

.contacts-page__wrap {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.contacts-page__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 50px;
    line-height: 54px;
    font-weight: 700;
    margin: 0;
}

/* ── Сетка: карточки + карта ── */
.contacts-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    align-self: stretch;
}

/* ── Карточки контактов ── */
.contacts-cards {
    border-radius: 20px;
    border: 1px solid var(--linii);
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    width: 735px;
    overflow: hidden;
}

.contacts-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--linii);
    overflow: hidden;
}

/* Карточка */
.contact-card {
    background: rgba(5,5,5,.21);
    border: 1px solid var(--linii);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: background .3s, border-color .3s;
}

.contact-card--link {
    cursor: pointer;
}

.contact-card--link:hover {
    background: rgba(255,219,115,.05);
    border-color: rgba(255,219,115,.3);
}

/* Ссылка растягивается на всю карточку */
.contact-card__link {

    inset: 0;
    z-index: 1;
}

.contact-card__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    align-self: stretch;
    position: relative;
    z-index: 2;
}

.contact-card__icon {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    align-self: stretch;
}

.contact-card__label {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 28px;
    line-height: 29px;
    font-weight: 700;
    align-self: stretch;
}

.contact-card__value {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    align-self: stretch;
}

/* ── Карта ── */
.contacts-map {
    border-radius: 20px;
    flex: 1;
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 400px;
}

.contacts-map__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    display: block;
    border-radius: 20px;
    transition: opacity .4s ease;
}

.contacts-map__img--default {
    opacity: 1;
}

.contacts-map__img--hover {
    opacity: 0;
}

.contacts-map:hover .contacts-map__img--default {
    opacity: 0;
}

.contacts-map:hover .contacts-map__img--hover {
    opacity: 1;
}




.contacts-page .cta-measurer {
  
    box-sizing: border-box;
    background: var(--cta-bg) no-repeat center center / cover;
    overflow: visible;
   
}


.contacts-page .cta-measurer__photo {
    width: auto;
    height: 622px;
    right: -168px;
    top: auto;
    bottom: 0;
}



/* ── Адаптив ── */
@media (max-width: 1366px) {
    .contacts-cards {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 1024px) {
    .contacts-page__wrap {
        gap: 40px;
    }
    .contacts-grid {
        flex-direction: column;
    }

    .contacts-cards {
        width: 100%;
    }

    .contacts-map {
        width: 100%;
        min-height: 300px;
        flex: none;
        aspect-ratio: 16/9;
    }

    .contacts-page__title {
        font-size: clamp(32px, 5vw, 50px);
    }
}


@media (max-width: 1023px) {
    .contacts-page {
        padding: 130px 0 80px;
    }
  
}



@media (max-width: 768px) {
    .contacts-cards {
        flex-direction: column;
    }

    .contacts-col {
        flex-direction: row;
    }

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

    .contact-card__icon {
        width: 40px;
        height: 40px;
    }

    .contact-card__label {
        font-size: 22px;
    }

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

@media (max-width: 480px) {

    .contacts-page__wrap {
        gap: 32px;
    }

    .contacts-page {
        padding: 110px 0 60px;
    }
  
}
