/*
 * Лендинг исполнителей. main.css клиентского сайта подключён ради шрифта,
 * футера и спрайта; здесь он перекрыт, чтобы его отступы и цвета не протекали.
 */

.worker-landing {
    background: #f6f5f2;
    color: #14202b;
}

.worker-landing section + section {
    padding-top: 0;
}

.worker-landing .container {
    padding-inline: 24px;
}

.worker-landing .h1,
.worker-landing .h2,
.worker-landing h3 {
    color: #14202b;
    line-height: 1.15;
}

.worker-landing .h1 {
    font-size: clamp(44px, 8vw, 120px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    margin: 0;
    text-align: left;
    overflow-wrap: break-word;
}

.worker-landing .h2 {
    font-size: clamp(28px, 3vw, 36px);
    margin: 0 0 28px;
    text-align: center;
}

.worker-landing a {
    color: inherit;
}

.worker-landing [hidden] {
    display: none !important;
}

/* Шапка */

.worker-landing .wl-header {
    background: #14283a;
    color: #ffffff;
    padding: 12px 0;
}

.worker-landing .wl-header .logo {
    width: 72px;
    height: 66px;
}

.worker-landing .wl-header .svg-logo {
    filter: brightness(0) invert(1);
}

.worker-landing .wl-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.worker-landing .wl-nav {
    flex: 1;
    min-width: 0;
}

.worker-landing .wl-nav__panel {
    display: flex;
    align-items: center;
    gap: 22px;
}

.worker-landing .wl-header .close-menu-btn {
    display: none;
}

.worker-landing .wl-header .menu {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    flex-wrap: wrap;
}

.worker-landing .wl-header .menu a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
}

.worker-landing .wl-header .menu a:hover {
    color: #ffc700;
}

.worker-landing .wl-switch-client {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 18px;
}

.worker-landing .wl-switch-client:hover {
    color: #ffc700;
}

.worker-landing .wl-phone {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.worker-landing .wl-login {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.worker-landing .wl-login:hover {
    color: #ffc700;
}

.worker-landing .menu-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
}

.worker-landing .menu-toggle span,
.worker-landing .menu-toggle span:before,
.worker-landing .menu-toggle span:after {
    background-color: #ffffff;
}

/* Герой */

.worker-landing .wl-hero {
    background: #f6f5f2;
    padding: 36px 0 48px;
}

.worker-landing .wl-clock {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #5c6b7a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.worker-landing .wl-clock .wl-time {
    font-size: 15px;
    letter-spacing: 0.04em;
    color: #14202b;
    text-transform: none;
}

.worker-landing .wl-mark {
    font-style: normal;
    text-decoration: underline;
    text-decoration-color: #ffc700;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.06em;
}

.worker-landing .wl-hero__rule {
    height: 1px;
    margin: 28px 0 32px;
    background: #d7d2c8;
}

.worker-landing .wl-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.55fr);
    gap: 48px;
    align-items: start;
}

.worker-landing .wl-lead {
    font-size: 18px;
    line-height: 1.5;
    color: #3d4a57;
    max-width: 38rem;
    margin: 0 0 24px;
}

.worker-landing .wl-city__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6b7a;
    margin-bottom: 10px;
}

.worker-landing .wl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.worker-landing .wl-chip {
    border: 1px solid #14202b;
    background: transparent;
    color: #14202b;
    border-radius: 0;
    padding: 8px 14px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.worker-landing .wl-chip.is-selected {
    background: #14283a;
    border-color: #14283a;
    color: #ffffff;
}

.worker-landing .wl-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    align-items: stretch;
    scroll-margin-top: 16px;
}

.worker-landing .wl-tiles:has(.worker-max-link[hidden]),
.worker-landing .wl-tiles:not(:has(.worker-max-link)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worker-landing .wl-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    min-height: 108px;
    padding: 16px;
    border: 1px solid #14202b;
    background: #ffffff;
    color: #14202b;
    text-decoration: none;
    box-shadow: none;
}

.worker-landing .wl-tile[hidden] {
    display: none;
}

.worker-landing .wl-tile:hover {
    background: #f3f1ea;
}

.worker-landing .wl-tile.is-primary,
.worker-landing .wl-tile--max {
    background: #ffc700;
    border-color: #ffc700;
}

.worker-landing .wl-tile.is-primary:hover,
.worker-landing .wl-tile--max:hover {
    background: #e6b400;
}

.worker-landing .wl-tile__icon {
    width: 32px;
    height: 32px;
    flex: none;
    display: block;
}

.worker-landing .wl-tile__icon--tg {
    color: #229ED9;
}

.worker-landing .wl-tile__title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
}

.worker-landing .wl-tile__note {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: #5c6b7a;
}

.worker-landing .wl-tile.is-primary .wl-tile__note,
.worker-landing .wl-tile--max .wl-tile__note {
    color: #3d4a57;
}

.worker-landing .wl-hero__photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

/* Факты */

.worker-landing .wl-stats {
    background: #ffffff;
    padding: 28px 0;
    border-top: 1px solid #e6e1d8;
    border-bottom: 1px solid #e6e1d8;
}

.worker-landing .wl-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.worker-landing .wl-stat {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #14202b;
    margin-bottom: 4px;
}

.worker-landing .wl-stat__note {
    display: block;
    color: #5c6b7a;
    font-size: 15px;
    line-height: 1.4;
}

/* Преимущества */

.worker-landing .wl-benefits {
    background: #f6f5f2;
    padding: 72px 0;
}

.worker-landing .wl-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.worker-landing .wl-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e6e1d8;
}

.worker-landing .wl-card h3 {
    font-size: 20px;
    margin: 0 0 8px;
}

.worker-landing .wl-card p {
    margin: 0;
    color: #3d4a57;
    font-size: 15px;
    line-height: 1.5;
}

/* Виды работ */

.worker-landing .wl-jobs {
    background: #ffffff;
    padding: 0 0 48px;
}

.worker-landing .wl-stage {
    position: relative;
    height: min(100vh, 880px);
    height: min(100svh, 880px);
    overflow: hidden;
    background: #14283a;
}

.worker-landing .wl-stage__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0s linear 0.7s;
}

.worker-landing .wl-stage__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity 0.7s ease, visibility 0s;
}

.worker-landing .wl-stage__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 28px;
    min-width: 0;
    padding: 88px 48px 36px;
    background: var(--stage-bg, #14283a);
    color: #ffffff;
}

.worker-landing .wl-stage__name {
    margin: 0;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    overflow-wrap: break-word;
}

.worker-landing .wl-stage__line {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
}

.worker-landing .wl-stage__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.worker-landing .wl-stage__count {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.worker-landing .wl-stage__next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.worker-landing .wl-stage__next:hover {
    background: rgba(255, 255, 255, 0.12);
}

.worker-landing .wl-stage__art {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    background: #ffffff;
}

.worker-landing .wl-stage__art img {
    width: min(420px, 80%);
    height: auto;
    max-height: 80%;
    object-fit: contain;
}

.worker-landing .wl-stage__slide--flip .wl-stage__art {
    order: 1;
}

.worker-landing .wl-stage__slide--flip .wl-stage__panel {
    order: 2;
}

.worker-landing .wl-stage__clock {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    color: #ffffff;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.worker-landing .wl-stage__clock .wl-time {
    position: relative;
    z-index: 1;
    font-size: clamp(64px, 10vw, 140px);
    text-shadow: 0 2px 18px rgba(20, 32, 43, 0.35);
}

.worker-landing .wl-stage__dial {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.7em;
    height: 1.7em;
    border: 1px dashed rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(64px, 10vw, 140px);
}

.worker-landing .wl-stage__dial::after {
    content: "";
    position: absolute;
    top: 7%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.worker-landing .wl-time {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.worker-landing .wl-time__sep {
    line-height: 1;
}

.worker-landing .wl-digit {
    display: inline-block;
    height: 1em;
    overflow: hidden;
    line-height: 1;
}

.worker-landing .wl-digit__col {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.worker-landing .wl-digit__col > span {
    display: block;
    height: 1em;
    line-height: 1;
}

.worker-landing .wl-time.is-in .wl-digit__col {
    transform: translateY(calc(var(--d) * -1em));
}

@media (prefers-reduced-motion: reduce) {
    .worker-landing .wl-digit__col {
        transition: none;
        transform: translateY(calc(var(--d) * -1em));
    }

    .worker-landing .wl-stage__slide,
    .worker-landing .wl-stage__slide.is-active {
        transition: none;
    }
}

.worker-landing .wl-note {
    text-align: left;
    color: #5c6b7a;
    margin: 20px 0 0;
}

/* Шаги */

.worker-landing .wl-steps {
    background: #f6f5f2;
    padding: 72px 0;
}

.worker-landing .wl-steps__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.7fr);
    gap: 40px;
    align-items: center;
}

.worker-landing .wl-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.worker-landing .wl-steps__list li + li {
    margin-top: 0;
}

.worker-landing .wl-steps__list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 0;
}

.worker-landing .wl-steps__list li > span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffc700;
    color: #14202b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.worker-landing .wl-steps__list strong {
    display: block;
    margin-bottom: 4px;
}

.worker-landing .wl-steps__list p {
    margin: 0;
    color: #3d4a57;
    font-size: 15px;
}

.worker-landing .wl-steps__photo {
    text-align: center;
}

.worker-landing .wl-steps__photo img {
    width: min(280px, 100%);
    border-radius: 24px;
}

/* FAQ */

.worker-landing .wl-faq {
    background: #ffffff;
    padding: 72px 0;
}

.worker-landing .wl-faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.worker-landing .wl-faq details {
    background: #f6f5f2;
    border-radius: 12px;
    padding: 0 18px;
}

.worker-landing .wl-faq summary {
    cursor: pointer;
    font-weight: 700;
    padding: 16px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.worker-landing .wl-faq summary::-webkit-details-marker {
    display: none;
}

.worker-landing .wl-faq summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: #14283a;
}

.worker-landing .wl-faq details[open] summary::after {
    content: "−";
}

.worker-landing .wl-faq details p {
    margin: 0;
    padding: 0 0 16px;
    color: #3d4a57;
    line-height: 1.5;
}

.worker-landing .wl-faq details a {
    color: #14283a;
    font-weight: 700;
}

/* Подвал */

.worker-landing .footer {
    background: #f6f5f2;
    padding: 48px 0 32px;
}

.worker-landing .footer .footer-menu a:hover,
.worker-landing .footer .contact-link:hover {
    color: #14283a;
}

/* Cookie */

.worker-landing.wl-cookie-open {
    overflow: hidden;
}

.worker-landing .wl-cookie {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 32, 43, 0.62);
}

.worker-landing .wl-cookie__card {
    width: min(440px, 100%);
    background: #ffffff;
    color: #14202b;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 24px 60px rgba(20, 32, 43, 0.35);
}

.worker-landing .wl-cookie p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.45;
}

.worker-landing .wl-cookie a {
    color: #14283a;
    font-weight: 700;
    text-decoration: underline;
}

.worker-landing .wl-cookie button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #ffc700;
    color: #14202b;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .worker-landing .wl-hero__grid,
    .worker-landing .wl-steps__layout,
    .worker-landing .wl-cards,
    .worker-landing .wl-stats__grid {
        grid-template-columns: 1fr;
    }

    .worker-landing .wl-hero__photo img {
        aspect-ratio: 16 / 9;
        max-height: 260px;
    }

    .worker-landing .wl-stage {
        height: auto;
        min-height: 640px;
    }

    .worker-landing .wl-stage__slide,
    .worker-landing .wl-stage__slide--flip {
        grid-template-columns: 1fr;
        grid-template-rows: min(42vh, 320px) minmax(0, 1fr);
    }

    .worker-landing .wl-stage__art,
    .worker-landing .wl-stage__slide--flip .wl-stage__art {
        order: 1;
    }

    .worker-landing .wl-stage__panel,
    .worker-landing .wl-stage__slide--flip .wl-stage__panel {
        order: 2;
        padding: 108px 24px 24px;
    }

    .worker-landing .wl-stage__art img {
        width: min(300px, 70%);
    }

    .worker-landing .wl-stage__clock {
        top: calc(min(42vh, 320px) + 56px);
        left: 24px;
        transform: none;
    }

    .worker-landing .wl-stage__clock .wl-time,
    .worker-landing .wl-stage__dial {
        font-size: 52px;
    }

    .worker-landing .wl-stage__dial {
        display: none;
    }
}

@media (max-width: 767px) {
    .worker-landing .container {
        padding-inline: 16px;
    }

    .worker-landing .wl-tiles,
    .worker-landing .wl-tiles:has(.worker-max-link[hidden]),
    .worker-landing .wl-tiles:not(:has(.worker-max-link)) {
        grid-template-columns: 1fr;
    }

    .worker-landing .wl-tile {
        flex-direction: row;
        align-items: center;
        min-height: 0;
        gap: 14px;
        padding: 14px 16px;
    }

    .worker-landing .menu-toggle {
        display: flex;
    }

    .worker-landing #mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        background: rgba(20, 32, 43, 0.45);
        transform: translateX(110%);
        transition: transform 0.25s ease;
        display: flex;
        padding: 0;
    }

    .worker-landing #mobile-menu.active {
        transform: translateX(0);
    }

    .worker-landing .wl-nav__panel {
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff;
        color: #14202b;
        width: min(320px, 100%);
        margin-left: auto;
        height: 100%;
        padding: 64px 24px 32px;
        gap: 18px;
        overflow-y: auto;
    }

    .worker-landing .wl-header .close-menu-btn {
        display: block;
        position: absolute;
        top: 16px;
        right: 16px;
        color: #14202b;
        font-size: 32px;
        line-height: 1;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .worker-landing .wl-header .menu {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0;
        gap: 14px;
    }

    .worker-landing .wl-header .menu a,
    .worker-landing .wl-phone,
    .worker-landing .wl-switch-client,
    .worker-landing .wl-login {
        color: #14202b;
    }

    .worker-landing .wl-switch-client {
        border-left: none;
        padding-left: 0;
    }

    .worker-landing .wl-switch-client:hover {
        color: #ffc700;
    }

    .worker-landing .wl-benefits,
    .worker-landing .wl-steps,
    .worker-landing .wl-faq {
        padding: 48px 0;
    }

    .worker-landing .footer-content {
        flex-direction: column;
        row-gap: 28px;
    }
}
