:root {
    --asphalt: #16181b;
    --asphalt-2: #1d2024;
    --charcoal: #23272c;
    --line: #33383f;
    --yellow: #ffc400;
    --yellow-deep: #e0a800;
    --white: #ffffff;
    --muted: #9ba2ab;
    --muted-2: #6c737b;
    --radius: 6px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    min-height: 100svh;
    background: var(--asphalt);
    color: var(--white);
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 46px 22px 28px;
    position: relative;
    isolation: isolate;
}
.bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url("https://roadsteadltd.co.uk/wp-content/uploads/2026/06/Truck2.jpg");    background-size: cover;
    background-position: center right;
}
.bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 20, 23, 0.72) 0%, rgba(18, 20, 23, 0.6) 38%, rgb(18 20 23 / 62%) 100%), linear-gradient(100deg, rgb(18 20 23 / 16%) 0%, rgba(18, 20, 23, 0.5) 55%, rgba(18, 20, 23, 0.35) 100%)}
.shell {
    width: 100%;
    max-width: 520px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo {
    width: min(420px, 82vw);
    height: auto;
    display: block;
    margin-bottom: 30px;
}
.roadline {
    width: 120px;
    height: 5px;
    margin-bottom: 30px;
    background: repeating-linear-gradient(to right, var(--yellow) 0 18px, transparent 18px 32px);
    background-size: 32px 100%;
    animation: roll 1.3s linear infinite;
}
@keyframes roll {
    to {
        background-position: 32px 0;
    }
}
.intro {
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 42ch;
    margin-bottom: 34px;
}
.intro b {
    color: var(--white);
    font-weight: 600;
}

.wpcf7-turnstile {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.wpcf7-spinner {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

form {
    width: 100%;
    background: rgba(24, 27, 31, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px 28px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(to right, var(--yellow) 0 22px, transparent 22px 40px);
    display: none;
}
.field {
    margin-bottom: 16px;
}
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
label {
    display: block;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: "Archivo", sans-serif;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 7px;
}
label .req {
    color: var(--yellow);
}
input,
textarea {
    margin: 5px 0;
    width: 100%;
    background: #15171a;
    border: 1px solid var(--charcoal);
    border-radius: var(--radius);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 14px;
    transition:
        border-color 0.18s var(--ease),
        box-shadow 0.18s var(--ease);
}
input::placeholder,
textarea::placeholder {
    color: #565c63;
}
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.16);
}
textarea {
    resize: vertical;
    min-height: 80px;
    height: 80px;
}
.field-err {
    border-color: #a85a52 !important;
}
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Archivo", sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 14px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid transparent;
    background: var(--yellow);
    color: #1a1206;
    margin-top: 6px;
    transition:
        transform 0.15s var(--ease),
        background 0.2s var(--ease);
}
.btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}
.btn svg {
    width: 16px;
    height: 16px;
}
.note {
    font-size: 0.78rem;
    color: var(--muted-2);
    text-align: center;
    margin-top: 12px;
}
.status {
    display: none;
    font-size: 0.92rem;
    padding: 12px 15px;
    border-radius: var(--radius);
    margin-top: 14px;
    line-height: 1.5;
}
.status.show {
    display: block;
}
.status.ok {
    background: rgba(255, 196, 0, 0.1);
    border: 1px solid var(--yellow-deep);
    color: #ffe49a;
}
.status.err {
    background: rgba(255, 90, 80, 0.08);
    border: 1px solid #7a3a36;
    color: #ffb3ad;
}

.foot {
    margin-top: 30px;
    color: var(--muted-2);
    font-size: 0.82rem;
    text-align: center;
}
.foot a {
    color: var(--muted);
}
.foot a:hover {
    color: var(--yellow);
}

@media (max-width: 480px) {
    .row2 {
        grid-template-columns: 1fr;
    }
    form {
        padding: 26px 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .roadline {
        animation: none;
        opacity: 0.85;
    }
}
