:root {
    --black: #000;
    --white: #fff;
    --muted: #5f5f5f;
    --line: #dcdcdc;
    --motion-soft: #d9d9d9;
    --panel-muted: #d7d7d7;
    --accent-red: #e30000;
    --accent-font: "Unbounded", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--white);
    color: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    transition: background 0.25s ease, color 0.25s ease;
}

.language-switch {
    position: absolute;
    top: 58px;
    right: max(24px, calc((100vw - 640px) / 2 + 28px));
    display: flex;
    border: 2px solid var(--black);
}

.language-switch button {
    min-width: 34px;
    min-height: 26px;
    background: var(--white);
    color: var(--black);
    border: 0;
    border-right: 2px solid var(--black);
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.language-switch button:last-child {
    border-right: 0;
}

.language-switch button.active {
    background: var(--black);
    color: var(--white);
}

body.inverted {
    --black: #fff;
    --white: #000;
    --muted: #a7a7a7;
    --line: #303030;
    --motion-soft: #262626;
    --panel-muted: #333;
    --accent-red: #ff3030;
}

.container {
    width: min(100%, 640px);
    margin: 0 auto;
    padding: 0 28px;
}

.brand-header {
    position: relative;
    padding: 28px 0 38px;
}

.brand-lockup {
    width: min(235px, calc(100% - 56px));
    min-height: 47px;
    margin: 0 0 0 max(28px, calc((100vw - 640px) / 2 + 28px));
    padding: 10px 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
}

.fuel-ticker {
    width: 100%;
    overflow: hidden;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
}

.fuel-track {
    width: max-content;
    display: flex;
    gap: 42px;
    padding: 9px 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    animation: ticker-slide 28s linear infinite;
}

.fuel-track span {
    padding-left: 42px;
}

.brand-left {
    font-size: clamp(10px, 2.4vw, 14px);
    font-weight: 900;
    line-height: 0.88;
    text-transform: uppercase;
}

.brand-divider {
    width: 1px;
    height: 27px;
    background: var(--white);
    opacity: 0.75;
}

.brand-name {
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    font-size: clamp(17px, 4.5vw, 28px);
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-founded {
    width: min(235px, calc(100% - 56px));
    margin: 8px 0 0 max(28px, calc((100vw - 640px) / 2 + 28px));
    color: var(--black);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.theme-toggle {
    position: absolute;
    top: 28px;
    right: max(24px, calc((100vw - 640px) / 2 + 28px));
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--black);
    border: 0;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.toggle-track {
    width: 34px;
    height: 18px;
    padding: 3px;
    display: flex;
    align-items: center;
    background: var(--black);
    border: 1px solid var(--black);
}

.toggle-dot {
    width: 10px;
    height: 10px;
    display: block;
    background: var(--white);
    transition: transform 0.22s ease;
}

body.inverted .toggle-dot {
    transform: translateX(14px);
}

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

.hero {
    padding: 38px 0 36px;
}

.hero-panel {
    width: min(386px, 100%);
    margin-left: auto;
    padding: 24px 22px;
    min-height: 114px;
}

.hero-panel span,
.booking-kicker,
.price-label,
label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-panel h1 {
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    margin-top: 12px;
    font-size: clamp(34px, 9vw, 50px);
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
}

.hero-panel p {
    max-width: 360px;
    margin: 14px 0 20px;
    color: var(--panel-muted);
    font-size: 16px;
    line-height: 1.35;
}

.motion-preview {
    position: relative;
    width: 100%;
    height: 42px;
    margin: 8px 0 20px;
    overflow: hidden;
}

.motion-preview::before {
    content: none;
}

.motion-line {
    position: absolute;
    left: 0;
    right: 24px;
    top: 20px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--white) 0 20px,
        transparent 20px 32px
    );
    opacity: 0.72;
}

.motion-car {
    position: absolute;
    left: 0;
    top: 9px;
    width: 44px;
    height: 20px;
    background: var(--white);
    animation: car-glide 3.2s ease-in-out infinite;
}

.motion-car span,
.motion-car::before,
.motion-car::after {
    content: "";
    position: absolute;
    background: var(--black);
}

.motion-car span {
    width: 16px;
    height: 7px;
    left: 13px;
    top: -5px;
    background: var(--white);
}

.motion-car::before,
.motion-car::after {
    bottom: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--white);
}

.motion-car::before {
    left: 6px;
}

.motion-car::after {
    right: 6px;
}

.motion-pin {
    position: absolute;
    right: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: var(--white);
    transform: rotate(45deg);
    animation: pin-pulse 1.6s ease-in-out infinite;
}

.motion-pin::after {
    content: "";
    position: absolute;
    inset: 6px;
    background: var(--black);
}

.btn {
    min-height: 52px;
    padding: 15px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 0;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-light {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-dark {
    width: 100%;
    background: var(--black);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

.booking-section {
    padding: 0 0 70px;
}

.booking-card {
    width: min(386px, 100%);
    padding-top: 36px;
}

.booking-kicker {
    width: 100%;
    margin: 0 0 22px auto;
    padding: 15px 18px;
    background: var(--black);
    color: var(--white);
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    font-weight: 700;
    text-align: center;
}

.booking-card h2 {
    width: min(386px, 100%);
    margin-bottom: 16px;
    padding: 22px 20px;
    background: var(--black);
    color: var(--white);
    font-size: clamp(28px, 8vw, 43px);
    font-weight: 900;
    line-height: 0.98;
    text-transform: uppercase;
}

.section-subtitle {
    width: min(386px, 100%);
    margin: 0 0 52px auto;
    padding: 20px;
    background: var(--black);
    color: var(--white);
    font-size: 16px;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 22px;
}

label {
    margin-bottom: 10px;
}

.class-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.class-option {
    min-height: 112px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--black);
    color: var(--white);
    border: 3px solid var(--black);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.class-option:hover {
    transform: translateY(-2px);
}

.class-option.active {
    background: var(--white);
    color: var(--black);
}

.class-name {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.class-price {
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.compact-group {
    width: min(386px, 100%);
    margin: 70px 0 22px;
}

.days-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.days-selector span {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

input[type="text"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 0;
    color: var(--black);
    font: inherit;
    font-size: 16px;
    outline: none;
}

.input-hint {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

.days-selector input {
    width: 116px;
}

input:focus {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}

.price-display {
    width: min(386px, 100%);
    margin: 0 0 26px auto;
    padding: 18px;
}

.currency-switch {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid currentColor;
}

.currency-switch button {
    min-height: 34px;
    background: transparent;
    color: currentColor;
    border: 0;
    border-right: 1px solid currentColor;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.currency-switch button:last-child {
    border-right: 0;
}

.currency-switch button.active {
    background: var(--white);
    color: var(--black);
}

.price-single {
    margin-top: 16px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.price-single span {
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    font-size: clamp(42px, 13vw, 64px);
    font-weight: 900;
    line-height: 0.9;
}

.price-single small {
    padding-bottom: 6px;
    color: var(--panel-muted);
    font-size: 12px;
    font-weight: 900;
}

.price-meta {
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid currentColor;
}

.price-meta span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.price-meta strong {
    font-size: 14px;
    font-weight: 900;
    text-align: right;
}

.discount-line {
    margin-top: 14px;
    padding: 10px 12px;
    background: var(--accent-red);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.form-note {
    width: min(386px, 100%);
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.phone-order-link {
    width: min(386px, 100%);
    min-height: 58px;
    margin: 14px auto 0;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 2px solid var(--black);
    color: var(--black);
    text-decoration: none;
}

.phone-order-link span,
.phone-order-link strong {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.phone-order-link strong {
    white-space: nowrap;
}

.thank-you {
    padding: 24px 0 0;
}

.thank-you h2,
.thank-you p {
    background: var(--black);
    color: var(--white);
}

.thank-you h2 {
    padding: 24px 20px;
    font-size: clamp(34px, 10vw, 52px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.thank-you p {
    width: min(386px, 100%);
    margin: 22px 0 26px auto;
    padding: 22px 20px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.delivery-soon {
    width: 100%;
    min-height: 90px;
    flex-direction: column;
    gap: 6px;
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    cursor: not-allowed;
    line-height: 1.25;
    opacity: 0.42;
}

.manager-note {
    width: 100%;
    min-height: 90px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

.delivery-soon span {
    font-size: 12px;
}

.new-order-link {
    display: block;
    margin-top: 18px;
    color: var(--black);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.how-section,
.cars-section,
.site-footer {
    padding: 56px 0;
}

.how-section h2,
.cars-section h2,
.delivery-info {
    width: min(386px, 100%);
    margin-bottom: 22px;
    padding: 16px 18px;
    background: var(--black);
    color: var(--white);
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.delivery-info {
    margin: 0 0 18px auto;
    font-size: 16px;
    line-height: 1.3;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step,
.car-class-card {
    min-height: 112px;
    padding: 16px;
}

.step h3,
.car-class-card h3 {
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
}

.step p,
.car-class-card p,
.price {
    margin-top: 18px;
    color: var(--panel-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.car-classes {
    width: min(386px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.car-class-card:nth-child(even) {
    margin-left: auto;
}

.car-class-card {
    min-height: 78px;
    padding: 12px;
}

.car-class-card h3 {
    font-size: 15px;
}

.car-class-card p,
.car-class-card .price {
    margin-top: 8px;
    font-size: 11px;
}

.seo-disclaimer {
    padding: 28px 0 64px;
}

.seo-microtext {
    width: min(386px, 100%);
    margin-left: auto;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.55;
    text-align: justify;
}

.seo-microtext p + p {
    margin-top: 12px;
}

.footer-panel {
    width: min(386px, 100%);
    margin-left: auto;
    padding: 24px;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.footer-motion {
    position: relative;
    width: min(386px, 100%);
    height: 118px;
    margin: 0 0 14px auto;
    overflow: hidden;
}

.footer-motion::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 21%, var(--white) 21% 22%, transparent 22% 78%, var(--white) 78% 79%, transparent 79%),
        linear-gradient(90deg, transparent 0 49%, var(--white) 49% 51%, transparent 51%);
    opacity: 0.32;
}

.road-lane {
    position: absolute;
    top: -30px;
    bottom: -30px;
    width: 2px;
    background: var(--white);
    opacity: 0.72;
}

.lane-left {
    left: 33%;
}

.lane-right {
    right: 33%;
}

.road-mark {
    position: absolute;
    left: calc(50% - 1px);
    width: 2px;
    height: 20px;
    background: var(--white);
    animation: road-scroll 1.5s linear infinite;
}

.mark-a {
    top: -20px;
}

.mark-b {
    top: 44px;
    animation-delay: 0.75s;
}

.road-car {
    position: absolute;
    width: 22px;
    height: 38px;
    background: var(--white);
    border-radius: 2px;
    animation: traffic-down 4s linear infinite;
}

.road-car::before,
.road-car::after {
    content: "";
    position: absolute;
    background: var(--black);
}

.road-car::before {
    left: 4px;
    right: 4px;
    top: 6px;
    height: 9px;
}

.road-car::after {
    left: 4px;
    right: 4px;
    bottom: 5px;
    height: 4px;
    opacity: 0.55;
}

.road-car span {
    position: absolute;
    left: -3px;
    right: -3px;
    top: 19px;
    height: 3px;
    background: var(--white);
}

.car-a {
    left: 23%;
    top: -44px;
    animation-duration: 4.2s;
}

.car-b {
    left: calc(50% - 11px);
    top: -72px;
    animation-duration: 3.4s;
    animation-delay: 0.85s;
    opacity: 0.86;
}

.car-c {
    right: 23%;
    top: -58px;
    animation-duration: 4.8s;
    animation-delay: 1.45s;
    opacity: 0.72;
}

.site-version {
    width: min(386px, 100%);
    margin: 10px 0 0 auto;
    color: var(--muted);
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: right;
}

.sos-button {
    width: 128px;
    min-height: 30px;
    margin: 16px 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--accent-red);
    color: #fff;
    border: 2px solid var(--accent-red);
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.sos-button span {
    font-family: var(--accent-font);
    font-optical-sizing: auto;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.sos-button small {
    font-size: 7px;
    letter-spacing: 0.5px;
}

@media (min-width: 760px) {
    .booking-card {
        margin-left: 0;
    }
}
@media (max-width: 430px) {
    .container {
        padding: 0 24px;
    }

    .brand-lockup {
        width: 235px;
        max-width: calc(100% - 48px);
        min-height: 47px;
        margin-left: 24px;
        gap: 9px;
        padding: 10px 11px;
    }

    .brand-founded {
        width: 235px;
        max-width: calc(100% - 48px);
        margin-left: 24px;
    }

    .brand-divider {
        height: 27px;
    }

    .theme-toggle {
        position: static;
        width: fit-content;
        margin: 14px 0 0 24px;
    }

    .language-switch {
        position: static;
        width: fit-content;
        margin: 12px 0 0 24px;
    }

    .class-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .steps {
        gap: 14px;
    }

    .step {
        padding: 14px 10px;
    }
}

@keyframes car-glide {
    0% {
        transform: translateX(0);
    }

    48% {
        transform: translateX(calc(100% + 220px));
    }

    49% {
        opacity: 0;
        transform: translateX(calc(100% + 220px));
    }

    50% {
        opacity: 0;
        transform: translateX(-54px);
    }

    56% {
        opacity: 1;
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes pin-pulse {
    0%,
    100% {
        opacity: 0.64;
        transform: rotate(45deg) scale(1);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.14);
    }
}

@keyframes ticker-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes road-scroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(64px);
    }
}

@keyframes traffic-down {
    from {
        transform: translateY(-54px);
    }

    to {
        transform: translateY(188px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fuel-track {
        animation: none;
    }
}
