/* ===== Шапка «С Днём кадрового работника» (макет 2500 px, контент 1233 px) =====
   Все размеры внутри .sk-hero__wrap заданы в cqw (% ширины контейнера),
   поэтому шапка масштабируется пропорционально макету.
   Фон шапки: https://promo.vip.1otruda.ru/sk/img/dkadr.png
   Заголовок и «и бодрой осени!» — картинка assets2/sk-title.png, шрифты не нужны. */

/*
.header.sk-hero {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0 0 24px;
    overflow: hidden;
    background: url('https://promo.vip.1otruda.ru/sk/img/dkadr.png') center top no-repeat;
   
}

*/
.header.sk-hero {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 0 0 24px;
    overflow: hidden;
    background: none;
    color: #164364;
}


.header {margin-bottom: 25px}
.header.sk-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 888px;
    background: url('https://promo.vip.1otruda.ru/sk/img/dkadr.png') center top / cover no-repeat;
    pointer-events: none;
    z-index: 0;
}
.sk-hero__wrap {
    container-type: inline-size;
    position: relative;
    width: min(1233px, 100% - 32px);
    margin: 0 auto;
}

.sk-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 550fr) minmax(0, 641fr);
    column-gap: 3.4%;
    align-items: start;
    padding: 8.3cqw 0 0cqw;
}

/* --- левая колонка --- */
.sk-hero__logo {
    display: block;
    width: 18.2cqw;
    height: auto;
    margin: -.35cqw 0 0 -.45cqw; /* PNG с небольшим полем вокруг букв */
}
.sk-hero__heading {
    display: block;
    width: 46.2cqw;
    max-width: none;
    height: auto;
    margin: 1.95cqw 0 0 -.81cqw; /* PNG с полями вокруг букв */
}

/* --- плеер --- */
.sk-hero__player {
    position: relative;
    margin-top: 4.6cqw;
}
.sk-player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #d9d9d9;
    box-shadow: 0 1.6cqw 4cqw rgba(120, 60, 10, .22);
    overflow: hidden;
}
.sk-player__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1b1b1b;
}
.sk-player__btn {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(22, 67, 100, .05), rgba(22, 67, 100, .35));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .25s ease, background .25s ease;
}
.sk-player__btn:hover { background: linear-gradient(180deg, rgba(22, 67, 100, .0), rgba(22, 67, 100, .25)); }
.sk-player__btn:focus-visible { outline: 3px solid #f15723; outline-offset: -3px; }
.sk-player__icon {
    width: 11cqw;
    height: 11cqw;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    background: #f15723;
    box-shadow: 0 .8cqw 2.4cqw rgba(0, 0, 0, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}
.sk-player__btn:hover .sk-player__icon { transform: scale(1.08); }
.sk-player__icon svg { width: 38%; height: 38%; margin-left: 6%; fill: #fff; }
.sk-player.is-playing .sk-player__btn { opacity: 0; pointer-events: none; }

/* курсор поверх угла плеера (позиция из макета) */
.sk-hero__cursor {
    position: absolute;
    left: 89.9%;
    top: 94.7%;
    width: 10.8%;
    height: auto;
    pointer-events: none;
    z-index: 2;
    transition: opacity .3s ease;
}
.sk-hero__player.is-playing .sk-hero__cursor { opacity: 0; }

/* --- телефон --- */
.sk-hero__phone {
    position: absolute;
    top: 3.6cqw;
    right: 0;
    text-align: right;
    font-size: max(13px, 1.25cqw);
    line-height: 1.3;
    color: #164364;
}
.sk-hero__phone a {
    display: block;
    font-size: 2.2em;
    font-weight: 700;
    color: #164364;
    text-decoration: none;
    white-space: nowrap;
}

/* логотип в верхней плашке дублирует логотип в шапке — прячем */
.sk-topbar__logo { display: none; }

/* --- мобильная версия --- */
@media (max-width: 700px) {
    .sk-hero__wrap { width: calc(100% - 32px); }
    .sk-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 8cqw;
        padding: 22cqw 0 6cqw;
    }
    .sk-hero__logo { width: 42cqw; }
    .sk-hero__heading { width: 103.6%; margin: 6cqw 0 0 -1.6%; }
    .sk-hero__player { margin-top: 0; }
    .sk-hero__cursor { width: 14%; }
    .sk-hero__phone { position: static; margin: 0 0 6cqw; text-align: left; font-size: 14px; }
}

/* ===== Блок цен (prices.php) на светлом фоне шапки ===== */
.header.sk-hero > .container { position: relative; padding-bottom: 8px; }
.sk-hero .price-wrap { color: #164364; }

.sk-hero .pricing-toggle {
    display: inline-flex;
    padding: 4px;
    gap: 4px;
    background: rgba(255, 255, 255, .75);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(120, 60, 10, .12);
}
.sk-hero .pricing-toggle .toggle-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 15px;
    background: transparent;
    color: #164364;
    transition: background .2s, color .2s;
}
.sk-hero .pricing-toggle .toggle-btn.active {
    background: #164364;
    color: #fff;
}

.sk-hero .price-container > [class*="col"] { display: flex; }
.sk-hero .price {
    width: 100%;
    height: 100%;
    padding: 28px 20px 24px;
    background: rgba(255, 255, 255, .92);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(120, 60, 10, .15);
    color: #164364;
}
.sk-hero .price__d1 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.sk-hero .price__d2 { margin-top: 4px; font-size: 15px; color: #5b7287; }
.sk-hero .price__d3 { margin-top: 14px; font-size: 18px; color: #8a97a3; text-decoration: line-through; }
.sk-hero .price__d4 { margin: 2px 0 16px; font-size: 34px; font-weight: 800; color: #f15723; }
.sk-hero .price .btn-trud2 { min-width: 70%; }

@media (max-width: 700px) {
    .sk-hero .pricing-toggle { flex-direction: column; border-radius: 20px; width: 100%; }
    .sk-hero .pricing-toggle .toggle-btn { width: 100%; }
}
