@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800;900&display=swap");

:root {
    --black: #0b0b0b;
    --black-soft: #161616;
    --yellow: #ffd20a;
    --yellow-dark: #c99c00;
    --white: #ffffff;
    --muted: #c7c7c7;
    --line: rgba(255, 255, 255, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 24px;
    align-items: center;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(11, 11, 11, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.site-header__brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 900;
    text-transform: uppercase;
}

.site-header__brand img {
    width: 168px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.site-header__nav {
    display: flex;
    gap: 18px;
    justify-content: center;
    color: var(--muted);
    font-size: 14px;
}

.site-header__nav a:hover,
.site-header__phone:hover {
    color: var(--yellow);
}

.site-header__phones {
    display: grid;
    gap: 3px;
    justify-items: end;
}

.site-header__phone {
    font-weight: 800;
    white-space: nowrap;
}

.site-header__mobile-phone {
    display: none;
}

.site-header__burger,
.site-header__mobile-menu {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    background: var(--yellow);
    color: var(--black);
    border: 0;
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.button--small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
}

.button--ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--yellow);
}

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: end;
    padding: clamp(70px, 9vw, 130px) clamp(18px, 4vw, 56px) 56px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.18)),
        var(--hero-image) center/cover no-repeat;
}

.hero h1,
.page-hero h1 {
    max-width: 900px;
    margin: 10px 0 18px;
    font-size: clamp(54px, 8vw, 112px);
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--yellow);
}

.hero p,
.page-hero p,
.split p,
.hiring-cta p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.eyebrow {
    margin: 0;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero__panel {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.78);
    border-left: 8px solid var(--yellow);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.4);
}

.hero__panel strong {
    color: var(--yellow);
    font-size: 24px;
    text-transform: uppercase;
}

.hero__panel span {
    color: var(--white);
    font-weight: 700;
}

.section {
    padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
    background: var(--white);
    color: var(--black);
}

.section--dark {
    background: var(--black);
    color: var(--white);
}

.section--yellow {
    background: var(--yellow);
    color: var(--black);
}

.section__head {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin-bottom: 34px;
}

.section h2,
.page-hero h2,
.hiring-grid h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    min-height: 420px;
    display: grid;
    align-content: end;
    position: relative;
    overflow: hidden;
    background: var(--black-soft);
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 240ms ease, opacity 240ms ease;
}

.service-card:hover img {
    transform: scale(1.04);
    opacity: 0.5;
}

.service-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    padding: 22px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.service-card__body span {
    width: max-content;
    padding: 6px 10px;
    background: var(--yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.service-card__button {
    width: max-content;
    padding: 10px 0;
    color: var(--yellow);
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--yellow);
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.benefits,
.steps,
.hiring-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.benefits article,
.steps article,
.hiring-grid article {
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

.benefits strong,
.steps span {
    display: block;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 34px;
    align-items: center;
}

.split img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
}

.steps article {
    background: var(--black-soft);
    border-color: var(--line);
}

.steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    padding: 22px;
    border: 1px solid #dedede;
    background: #f7f7f7;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.faq-list p {
    color: #444;
    line-height: 1.6;
}

.page-hero {
    padding: clamp(80px, 10vw, 150px) clamp(18px, 4vw, 56px);
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.45)),
        url("../images/page-hero-replacement.png") center/cover no-repeat;
}

.thank-you {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.38)),
        url("../images/thank-you-replacement.png") center/cover no-repeat;
}

.hiring-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hiring-grid ul {
    margin: 22px 0 0;
    padding-left: 20px;
    line-height: 1.8;
}

.section--cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
    gap: 30px;
    align-items: center;
    border-top: 2px solid var(--yellow);
}

.inline-form,
.lead-modal__panel {
    display: grid;
    gap: 14px;
}

.inline-form input,
.inline-form textarea,
.lead-modal input,
.lead-modal textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d7d7d7;
    background: var(--white);
    color: var(--black);
    font: inherit;
}

.lead-modal[hidden] {
    display: none;
}

.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
}

.lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.lead-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 30px;
    background: var(--black);
    border: 2px solid var(--yellow);
    color: var(--white);
}

.lead-modal__panel h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-modal__text,
.form-status {
    color: var(--muted);
    line-height: 1.5;
}

.lead-modal label {
    display: grid;
    gap: 8px;
}

.lead-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: var(--yellow);
    color: var(--black);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 22px;
    align-items: center;
    padding: 20px clamp(18px, 4vw, 56px);
    border-top: 1px solid var(--line);
    background: var(--black);
}

.site-footer strong {
    font-size: 16px;
}

.site-footer p {
    max-width: 720px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.site-footer__links {
    display: flex;
    gap: 16px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.site-footer__links a:hover {
    color: var(--yellow);
}

.site-footer__contacts {
    display: grid;
    align-content: center;
    gap: 5px;
    justify-items: end;
    font-size: 13px;
    font-weight: 800;
}

.is-modal-open {
    overflow: hidden;
}

@media (max-width: 1040px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .site-header__nav,
    .site-header__phones {
        display: none;
    }

    .hero,
    .split,
    .section--cta {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-header {
        grid-template-columns: auto 1fr auto;
        justify-content: space-between;
        padding: 12px 18px;
    }

    .site-header__brand span,
    .site-header .button {
        display: none;
    }

    .site-header__phones {
        display: flex;
        justify-self: end;
        min-width: 0;
        margin-right: 12px;
    }

    .site-header__phone {
        overflow: hidden;
        color: var(--white);
        font-size: 13px;
        text-overflow: ellipsis;
    }

    .site-header__phone + .site-header__phone {
        display: none;
    }

    .site-header__burger {
        display: inline-grid;
        width: 44px;
        height: 38px;
        padding: 8px;
        align-content: center;
        gap: 5px;
        border: 1px solid var(--yellow);
        background: transparent;
        cursor: pointer;
    }

    .site-header__burger span {
        display: block;
        height: 3px;
        background: var(--yellow);
    }

    .site-header__mobile-menu {
        position: fixed;
        top: 63px;
        right: 0;
        left: 0;
        z-index: 19;
        display: grid;
        gap: 0;
        padding: 10px 18px 18px;
        background: rgba(11, 11, 11, 0.98);
        border-top: 1px solid var(--line);
        border-bottom: 2px solid var(--yellow);
    }

    .site-header__mobile-menu[hidden] {
        display: none;
    }

    .site-header__mobile-menu a {
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
        color: var(--white);
        font-weight: 900;
        text-transform: uppercase;
    }

    .site-header__mobile-menu .button {
        display: inline-flex;
        width: 100%;
        margin-top: 16px;
    }

    .site-header__brand img {
        width: 116px;
        max-height: 48px;
    }

    .hero {
        min-height: 620px;
        padding-top: 72px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 48px;
    }

    .services-grid,
    .benefits,
    .steps,
    .hiring-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer {
        gap: 16px;
    }

    .site-footer__links {
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .site-footer__contacts {
        justify-items: start;
    }

    .hero__panel {
        padding: 18px;
    }
}
