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

:root {
    --ink: #24272c;
    --muted: #636a73;
    --line: #d8dbe1;
    --paper: #f3f4f6;
    --soft: #e9ebef;
    --panel: #ffffff;
    --brand: #b4232f;
    --brand-dark: #22262c;
    --accent: #d02535;
    --white: #ffffff;
    --shadow: 0 16px 42px rgba(31, 36, 42, 0.08);
}

@font-face {
    font-family: "StrokeWeight60";
    src: url("/assets/fonts/strokeweight/strokeWeight%2060.otf") format("opentype");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 110px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.55;
}

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

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

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 0 40px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(23, 27, 33, 0.46);
    backdrop-filter: blur(14px);
    transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
    color: var(--ink);
    border-color: rgba(216, 219, 225, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(31, 36, 42, 0.08);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.brand span,
.footer-brand span {
    font-family: "StrokeWeight60", Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 0.8rem;
    letter-spacing: 0;
}

.brand-logo {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.site-header .brand-logo {
    filter: invert(1);
    transition: filter 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.is-open .brand-logo {
    filter: none;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.92rem;
    font-weight: 500;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.8);
}

.site-nav a:hover {
    color: #ff9aa2;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-open .site-nav a {
    color: rgba(36, 39, 44, 0.78);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
    color: var(--accent);
}

.site-nav .header-phone {
    margin-left: 4px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--white);
    font-weight: 600;
}

.site-header.is-scrolled .header-phone,
.site-header.is-open .header-phone {
    border-color: var(--line);
    color: var(--brand);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: inherit;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
}

.hero {
    position: relative;
    display: flex;
    min-height: max(720px, 100svh);
    overflow: hidden;
    color: var(--white);
    background: #171b21;
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    background-image: url("/assets/img/worker-arrival.webp");
    background-position: center;
    background-size: cover;
    filter: saturate(0.82) contrast(1.04);
    transform: scale(1.01);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(23, 27, 33, 0.98) 0%, rgba(23, 27, 33, 0.78) 62%, rgba(23, 27, 33, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(980px, calc(100% - 144px));
    min-height: max(720px, 100svh);
    flex-direction: column;
    justify-content: center;
    padding: 96px 0 78px clamp(48px, 5vw, 72px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(4.3rem, 7.2vw, 7.7rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.hero-subtitle {
    max-width: 820px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    font-weight: 600;
    line-height: 1.35;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.55rem, 2.15vw, 2.15rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
}

.hero-actions,
.button {
    display: inline-flex;
    align-items: center;
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0 0;
}

.button {
    min-height: 46px;
    justify-content: center;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: var(--white);
    background: var(--brand);
}

.button-primary:hover {
    background: #971c28;
}

.button-secondary {
    color: var(--ink);
    border-color: #c8ccd3;
    background: rgba(255, 255, 255, 0.74);
}

.button-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.button-hero {
    min-height: 52px;
    color: #171b21;
    background: var(--white);
    font-weight: 700;
}

.button-hero:hover {
    color: var(--brand);
    background: var(--white);
}

.hero-route {
    position: absolute;
    z-index: 2;
    right: clamp(48px, 5vw, 72px);
    bottom: 76px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 40px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    list-style: none;
    text-transform: uppercase;
}

.hero-route li::before {
    display: block;
    width: 11px;
    height: 11px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent);
    content: "";
}

.section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 74px 0;
}

.section-heading {
    max-width: 760px;
}

.intro,
.split,
.request-section,
.compliance {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(30px, 5vw, 72px);
    align-items: start;
}

.intro-text {
    color: var(--muted);
    font-size: 1.06rem;
}

.intro-text p:last-child,
.split p:last-child {
    margin-bottom: 0;
}

.band {
    width: 100%;
    max-width: none;
    padding-right: max(24px, calc((100vw - 1180px) / 2));
    padding-left: max(24px, calc((100vw - 1180px) / 2));
    background: var(--soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.feature-card {
    min-height: 136px;
    padding: 22px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 8px;
    background: var(--panel);
}

.check-icon {
    display: grid;
    width: 30px;
    height: 30px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand);
    font-weight: 600;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    min-height: 168px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.process-list span {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-weight: 600;
}

.process-list p {
    margin-bottom: 0;
    font-weight: 500;
}

.split p {
    color: var(--muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud span {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    font-weight: 500;
}

.compliance {
    width: min(1180px, calc(100% - 48px));
    padding: 42px;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand-dark);
}

.compliance .eyebrow {
    color: #ff7a85;
}

.compliance h2 {
    color: var(--white);
}

.compliance p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.03rem;
}

.request-section {
    align-items: stretch;
}

.request-copy {
    padding: 24px 0;
}

.request-copy p {
    color: var(--muted);
    font-size: 1.04rem;
}

address {
    display: grid;
    gap: 8px;
    margin-top: 30px;
    font-style: normal;
}

address a {
    color: var(--brand);
    font-weight: 600;
}

.request-form {
    display: grid;
    gap: 15px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.request-form label {
    display: grid;
    gap: 7px;
    font-weight: 500;
}

.request-form span {
    font-size: 0.92rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #c8ccd3;
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(180, 35, 47, 0.17);
    border-color: var(--brand);
}

small {
    color: #a51f2b;
    font-weight: 500;
}

.hidden-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.form-alert.success {
    color: #0f4f35;
    background: #e4f4ea;
}

.form-alert.error {
    color: #8b1d27;
    background: #f8e2e5;
}

.form-note {
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.consent-check {
    grid-template-columns: 18px 1fr;
    align-items: start;
    column-gap: 10px;
    font-weight: 500;
}

.consent-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.consent-check span {
    font-size: 0.86rem;
    line-height: 1.45;
}

.consent-check a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consent-check small {
    grid-column: 2;
}

.turnstile-widget {
    min-height: 65px;
}

.turnstile-widget small {
    display: block;
    margin-top: 7px;
}

.site-footer {
    padding: 46px 40px 28px;
    color: rgba(255, 255, 255, 0.76);
    background: #20242a;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 28px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.footer-grid > div {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-brand {
    color: var(--white);
}

.site-footer h3 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 0.98rem;
}

.site-footer p {
    margin: 0;
}

.site-footer a,
.site-footer span {
    display: block;
}

.site-footer a {
    color: var(--white);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, 100%);
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.cookie-banner {
    position: fixed;
    z-index: 30;
    right: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    width: min(680px, calc(100% - 40px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.cookie-banner .button {
    min-height: 42px;
}

.legal-page {
    background: var(--paper);
}

.legal-document {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 82px;
}

.legal-document h1 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
}

.legal-document h2 {
    margin: 34px 0 12px;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
}

.legal-document p {
    color: var(--muted);
}

.legal-document a:not(.legal-back) {
    color: var(--brand);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-document strong {
    color: var(--ink);
}

.legal-list {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding-left: 22px;
    color: var(--muted);
}

.legal-list li {
    padding-left: 4px;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 18px 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.legal-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 32%;
    color: var(--ink);
    font-size: 0.92rem;
}

.legal-table td {
    color: var(--muted);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-back {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--brand);
    font-weight: 600;
}

@media (max-width: 1080px) {
    .feature-grid,
    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .site-header {
        min-height: 64px;
        padding: 0 20px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        color: var(--ink);
        background: var(--white);
        box-shadow: 0 22px 35px rgba(31, 36, 42, 0.12);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
    }

    .site-nav .header-phone {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        color: var(--brand);
    }

    .hero {
        min-height: max(700px, 100svh);
    }

    .hero-content {
        width: min(780px, calc(100% - 40px));
        min-height: max(700px, 100svh);
        margin: 0;
        padding: 104px 0 72px 20px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(23, 27, 33, 0.97) 0%, rgba(23, 27, 33, 0.76) 100%);
    }

    .hero-route {
        display: none;
    }

    .intro,
    .split,
    .request-section,
    .compliance {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .hero {
        min-height: max(640px, 100svh);
    }

    .hero-content {
        width: calc(100% - 36px);
        min-height: max(640px, 100svh);
        padding: 96px 0 48px 18px;
    }

    .hero h1 {
        font-size: clamp(3.1rem, 15vw, 4.45rem);
        letter-spacing: -0.04em;
        line-height: 0.98;
    }

    .hero-subtitle {
        margin-top: 22px;
        font-size: 1rem;
    }

    .feature-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

    .section {
        width: min(100% - 36px, 1180px);
        padding: 58px 0;
    }

    .band {
        padding-right: 18px;
        padding-left: 18px;
    }

    .compliance {
        width: min(100% - 36px, 1180px);
        padding: 30px 22px;
    }

    .request-form {
        padding: 20px;
    }

    .button {
        width: 100%;
    }

    .site-footer {
        padding: 26px 20px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        padding: 14px;
    }

    .cookie-banner p {
        font-size: 0.84rem;
    }
}
