@font-face {
    font-family: 'FuturaPT';
    src: url('/wp-content/themes/hello-child/assets/fonts/FuturaPT-Book.woff') format('woff2'),
    url('/wp-content/themes/hello-child/assets/fonts/FuturaPT-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
h1, h2, h3, h4, h5, h6, p, a, li, ol {
    font-family: 'FuturaPT', Arial, sans-serif !important;
}
a {
    text-decoration: none;
}
.header__logo_slogan a {
    text-decoration: none !important;
}

/* Верхний блок */
.site-branding {
    text-align: center;
    margin-bottom: 10px;
}
.site-title a, .site-description {
    color: #000;
}

.site-header .site-branding {
    display: flex;
    flex-direction: row !important;
    gap: .5rem;
    justify-content: flex-start !important;
    align-items: center;
}

.site-header .site-branding .site-logo img {
    height:60px !important;
    width:auto !important;
}

.header__logo_slogan {
    text-align: left;
    margin-left: 20px;
}
.socials__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.header__languages {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.header__languages a {
    font-weight: 600;
    margin-left: 5px;
    margin-right: 5px;
    color: black;
    font-size: 16px;
    text-decoration: none;
}
.socials {
    display: flex;
    align-items: center;
}

.socials img {
    width:36px;
    margin-right: 10px;
}

/* Контакты и соцсети */
.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    background: #f5f5f5;
}
.top-info .contacts div {
    line-height: 1.2;
}
.contacts {
    text-align: right;
}

.contacts .phone,
.contacts .email {
    color: #253f75;
    text-decoration: none;
    font-size: 17px;
    font-family: 'FuturaPT', Arial, sans-serif;
    font-weight: 700;
}

/* Кнопка "Показать email" — переиспользуется где угодно на сайте (шапка, подвал, текст
   Elementor на /contacts/ и т.д.), поэтому структурный сброс и фикс [hidden] сделаны
   глобальными через !important, а не завязаны на родительский контекст:
   - reset.css родительской темы перехватывает кнопку через [type="button"] — атрибутный
     селектор с той же специфичностью, что и один класс, и сам reset.css грузится позже
     (см. грабли, п. 6a) — обычный класс той же специфичности не выигрывает;
   - reset.css тем же правилом задаёт display:inline-block авторским CSS, а атрибут
     [hidden] — это стиль браузера (user-agent); авторские правила перебивают
     user-agent всегда, независимо от специфичности, поэтому одного [hidden] в HTML
     недостаточно, нужен явный display:none !important;
   - у reset.css есть ещё [type="button"]:hover{background-color:#c36;color:#fff} —
     та же специфичность (0,2,0), что и у контекстных правил цвета ниже, reset.css
     грузится позже → на hover текст кнопки становился белым и пропадал на белом фоне
     (фон при этом уже держится transparent благодаря !important выше). Цвет тоже
     нужен с !important — везде, где он задаётся (ниже и инлайн-стилем на /contacts/). */
.email-reveal-btn {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0;
    width: auto !important;
    text-decoration: underline;
    cursor: pointer;
}
.email-reveal-btn:hover {
    text-decoration: none;
}
.email-reveal-btn[hidden],
.email-reveal-link[hidden] {
    display: none !important;
}

/* Цвет/размер — контекстные: в шапке и подвале свои, на /contacts/ заданы инлайн-стилем
   на самой кнопке (по образцу соседней ссылки, которую она прячет). */
.contacts .email-reveal-btn,
.footer__contacts_email .email-reveal-btn {
    color: #253f75 !important;
    font-size: 17px;
    font-family: 'FuturaPT', Arial, sans-serif;
    font-weight: 700;
}

/* Главное меню */
.main-navigation {
    width: 100%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

:root {
    --header-offset: 120px; /* подгони под высоту своей шапки */
}

/* общий контейнер */
.header-media {
    position: relative;
    width: 100vw;
    height: calc(100vh - var(--header-offset));
    overflow: hidden;
    z-index: 0;
}

/* внутренний обёртчик */
.header-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* само видео */
.header-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100%;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.header-media--video {
    position: relative;
}

.header-video-title {
    position: absolute;
    left: 30px;
    bottom: 20px;
    z-index: 10;
    max-width: 50%;
}

.header-video-title h1 {
    margin: 0;
    color: #ffffff;
    font-size: 52px;
    line-height: 1;
    font-weight: 600;
    font-family: 'FuturaPT', Arial, sans-serif;
}



.callback {
    display:flex;
    align-items:center;
}
/* Кнопка обратного звонка */
#callback-button {
    padding: 8px 16px;
    background: #0073e6;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size:16px;
    text-transform: uppercase;
}

.header__menu {
    width: 100%;
    position:relative;
}
.header__menu .site-navigation {
    width: 100%;
}
.header__menu .site-navigation > ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.header__menu .site-navigation ul li {
    clear: both;
    font-family: 'FuturaPT', Arial, sans-serif;
    font-size: 16px;
    display: inline-block;
    margin: 0;
    color: #000000;
    white-space: nowrap;
}
.header__menu a {
    text-decoration: none;
}
.header__menu .site-navigation ul li a {
    font-size: 17px;
    color: #262626;
    font-family: 'FuturaPT', Arial, sans-serif;
    font-weight: 400;
}

.header-banner-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - var(--header-offset));
    display: flex;
    justify-content: center;
    align-items: center;
	/*filter: brightness(0.7);*/
    max-height: 450px;
}

.header-banner-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* уровень затемнения */
    pointer-events: none; /* чтобы не мешало кликам */
    z-index: 1;
}

.header-banner-title {
    position: relative;
    z-index: 2; /* текст поверх затемнения */
}

/* Общий стиль шапки */


/* Когда прилип */
.header__menu.sticky {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    position: fixed !important;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 999999;
    transition: background 0.35s
    ease, box-shadow 0.35s
    ease, padding 0.35s;
}

.header__menu.sticky nav {
    max-width: 1200px;
    margin: 0 auto;
}


.header-banner-title {
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.header-banner-title h1 {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin: 0;
    font-family: 'FuturaPT', Arial, sans-serif !important;
    letter-spacing: 3px;
}

.site-navigation ul.menu li.menu-item-has-children::after {
    align-items: center;
    color: #666;
    content: "▾" !important;
    display: flex;
    font-size: 1em !important;
    justify-content: center;
    text-decoration: none;
}

/* Контейнер попапа */
#popmake-2341 {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 28px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 420px;
}

/* Контент */
#popmake-2341 .pum-content {
    padding: 0;
}
#popmake-2341 h2 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #111;
}
#popmake-2341 .wpforms-field input:not([type="checkbox"]),
#popmake-2341 .wpforms-field select {
    width: 100%;
    max-width: 100%;
    height: 52px;
    border-radius: 10px;
    border: 1.5px solid #4da3e0;
    padding: 0 16px;
    font-size: 16px;
    background: #fff;
}

/* Фокус */
#popmake-2341 .wpforms-field input:focus,
#popmake-2341 .wpforms-field select:focus {
    outline: none;
    border-color: #1e88d9;
    box-shadow: 0 0 0 2px rgba(30, 136, 217, 0.15);
}

/* Отступы между полями */
#popmake-2341 .wpforms-field {
    margin-bottom: 18px;
}
#popmake-2341 input::placeholder {
    color: #aaa;
}
#popmake-2341 .wpforms-field-checkbox {
    margin-top: 10px;
    margin-bottom: 20px;
}

#popmake-2341 .wpforms-field-checkbox label {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

#popmake-2341 .wpforms-field-checkbox input {
    margin-right: 8px;
}
#popmake-2341 .wpforms-submit {
    width: 100%;
    height: 56px;
    border-radius: 28px;
    background: #3aa6dc;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

#popmake-2341 .wpforms-submit:hover {
    background: #2d95c9;
}
#popmake-2341 .pum-close {
    font-size: 28px;
    top: 12px;
    right: 16px;
    color: #999;
}

#popmake-2341 .pum-close:hover {
    color: #000;
}


@media(max-width: 992px) {
    .header-banner-title h1 {
        font-size: 52px;
    }
}

@media(max-width: 768px) {
    .header-banner-title h1,
    .header-video-title h1 {
        font-size: 45px;
    }

    .site-header .header-inner .site-branding .site-logo img {
        height: auto !important;
        max-width: 123px; /* EN: натуральный размер прежнего логотипа — новый 356 px */
    }
}

@media (max-width: 576px) {
    .header-video-wrapper {
        height: 235px;
    }
    .site-header:has(.header-video-wrapper) {
        max-height: 550px;
    }
}
/* Хлебные крошки (Yoast) — узкая полоса во всю ширину экрана сразу под баннером
   (у страниц без баннера — под меню), на всех страницах кроме главной */
.ps-breadcrumbs {
    width: 100%;
    background: #f4f4f4;
    border-bottom: 1px solid #e6e6e6;
}

/* Вплотную к баннеру: у <header> родительской темы padding-block-end: 1rem */
.site-header:has(.header-media) + .ps-breadcrumbs {
    margin-top: -1rem;
}

.ps-breadcrumbs .ps-breadcrumbs__list {
    display: block;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    font-family: 'FuturaPT', Arial, sans-serif;
}

.ps-breadcrumbs .ps-breadcrumbs__list a {
    color: #253f75;
}

.ps-breadcrumbs .ps-breadcrumbs__list a:hover {
    text-decoration: underline;
}

.ps-breadcrumbs .ps-breadcrumbs__list .breadcrumb_last {
    color: #666;
}

@media (max-width: 576px) {
    .ps-breadcrumbs .ps-breadcrumbs__list {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* Переключатель языковых версий (EN KZ UZ TJ KG) — inc/i18n.php */
.header__languages a.is-active {
    color: #253f75;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.header__languages a:hover {
    color: #253f75;
}
