:root {
    --blue: #0066ff;
    --blue-btn: #0066ff;
    --blue-dark: #0052cc;
    --white: #ffffff;
    --green: #2ecc71;
    --field-radius: 28px;
    --card-radius: 32px;
    --max-width: 1080px;
    --font: "Unbounded", "Segoe UI", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body.site-body {
    min-height: 100vh;
    font-family: var(--font);
    background: var(--blue);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

/* ── Header ── */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px 0;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
}

.site-logo__icon {
    flex-shrink: 0;
}

.site-header__user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header__name {
    text-transform: none;
    letter-spacing: 0;
}

.site-header__name--link {
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.site-header__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    flex-shrink: 0;
}

/* ── Main ── */
.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px 48px;
}

.screen.is-hidden {
    display: none;
}

.screen--form {
    display: none;
}

.screen--form.is-visible {
    display: block;
}

/* ── Intro (screen 1) ── */
.intro__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 820px) {
    .intro__layout {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 8px;
        min-height: auto;
        align-items: center;
        padding-top: 4px;
    }
}

.intro__title {
    font-size: clamp(2.4rem, 6vw, 3.75rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.02;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
}

.intro__list {
    list-style: none;
    font-size: clamp(1.05rem, 2.4vw, 1.45rem);
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 32px;
}

.intro__list li {
    position: relative;
    padding-left: 1.15em;
    margin-bottom: 2px;
}

.intro__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 900;
}

.intro__price-title {
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    font-weight: 800;
    margin-bottom: 6px;
}

.intro__price-hint {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 600;
    margin-bottom: 4px;
}

.intro__price-value {
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 28px;
}

.intro__order-btn {
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 999px;
    background: var(--blue-btn);
    color: var(--white);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 6px 6px 32px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.intro__order-btn:hover {
    background: var(--blue-dark);
}

.intro__order-btn-text {
    padding-right: 20px;
}

.intro__order-btn-switch {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 72px;
    height: 44px;
    border-radius: 999px;
    background: var(--white);
    padding: 0 8px;
    flex-shrink: 0;
}

.intro__order-btn-switch span {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blue);
}

.intro__hero {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.intro__hero-img {
    display: block;
    max-width: 100%;
    max-height: min(560px, 72vh);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
}

/* ── Mobile landing (phones) ── */
.intro-mobile,
.swipe-order {
    display: none !important;
}

@media (max-width: 819px) {
    body.is-home {
        min-height: 100dvh;
        overflow-x: hidden;
    }

    body.is-home .site-header {
        position: relative;
        z-index: 3;
        padding: max(12px, env(safe-area-inset-top)) 20px 0;
        max-width: none;
    }

    body.is-home .site-logo {
        font-size: 1.35rem;
    }

    body.is-home .site-header__user,
    body.is-order .site-header__user {
        font-size: 0.82rem;
        gap: 8px;
    }

    body.is-home .site-header__avatar,
    body.is-order .site-header__avatar {
        width: 36px;
        height: 36px;
    }

    body.is-home .site-main {
        max-width: none;
        padding: 0;
        min-height: calc(100dvh - 64px);
    }

    body.is-home .intro--desktop {
        display: none !important;
    }

    body.is-home .intro-mobile {
        display: block !important;
        position: relative;
        min-height: calc(100dvh - 64px);
        padding: 0 20px env(safe-area-inset-bottom);
    }

    body.is-home .intro-mobile__content,
    body.is-home .intro-mobile__slider-wrap,
    body.is-home .swipe-order,
    body.is-home .swipe-order__label {
        display: block;
    }

    body.is-home .swipe-order {
        display: flex !important;
        cursor: pointer;
    }

    .intro-mobile__content {
        position: relative;
        z-index: 2;
        max-width: 58%;
        padding-top: 8px;
        color: var(--white);
    }

    .intro-mobile__title {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
        font-weight: 900;
        line-height: 1.05;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .intro-mobile__lead {
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .intro-mobile__price {
        font-size: 1.05rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .intro-mobile__notice {
        font-size: 0.78rem;
        font-weight: 600;
        line-height: 1.4;
        padding: 8px 10px;
        border-radius: 12px;
        background: rgba(0, 40, 120, 0.35);
    }

    .intro-mobile__courier {
        position: absolute;
        top: -8px;
        right: -4px;
        width: min(62vw, 270px);
        height: auto;
        max-height: 42vh;
        object-fit: contain;
        object-position: top right;
        pointer-events: none;
        z-index: 1;
    }

    .intro-mobile__slider-wrap {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .swipe-order {
        position: relative;
        align-items: center;
        height: 58px;
        border-radius: 999px;
        background: rgba(0, 50, 160, 0.45);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        overflow: hidden;
        touch-action: none;
        user-select: none;
    }

    .swipe-order.is-complete {
        background: rgba(255, 255, 255, 0.2);
    }

    .swipe-order__label {
        flex: 1;
        text-align: center;
        font-weight: 800;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        padding-right: 56px;
        pointer-events: none;
        transition: opacity 0.2s ease;
        color: var(--white);
    }

    .swipe-order.is-dragging .swipe-order__label,
    .swipe-order.is-complete .swipe-order__label {
        opacity: 0.35;
    }

    .swipe-order__thumb {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 72px;
        height: 48px;
        border-radius: 999px;
        background: var(--white);
        cursor: grab;
        touch-action: none;
        transition: transform 0.25s ease, right 0.25s ease, left 0.25s ease;
    }

    .swipe-order__thumb::after {
        content: "";
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--blue);
    }

    .swipe-order__thumb.is-dragging {
        cursor: grabbing;
        transition: none;
    }

    body.is-order .site-main {
        padding: 16px 20px max(32px, env(safe-area-inset-bottom));
    }
}

@media (min-width: 820px) {
    .intro-mobile,
    .intro-mobile *,
    .swipe-order {
        display: none !important;
    }

    .intro--desktop {
        display: grid !important;
    }
}

/* ── Order form (screen 2) ── */
.order-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 28px;
}

@media (min-width: 780px) {
    .order-form__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: block;
    margin-bottom: 18px;
}

.field__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.field__input {
    width: 100%;
    border: none;
    border-radius: var(--field-radius);
    background: var(--white);
    color: #111;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 18px 24px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.field__textarea {
    resize: vertical;
    min-height: 96px;
    line-height: 1.4;
    font-weight: 500;
}

.field__input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.field__input.is-invalid,
.field.is-invalid .field__input {
    background: #fff5f5;
    color: #c62828;
    box-shadow: 0 0 0 2px #ef5350;
}

.field__input.is-invalid:focus,
.field.is-invalid .field__input:focus {
    box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.45);
}

.field.is-invalid .field__label {
    color: #ffcdd2;
}

.field__input-wrap {
    position: relative;
}

.field__input--map {
    padding-right: 56px;
}

.field__map-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
    padding: 0;
}

.field__map-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-50%) scale(1.08);
}

.field__map-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.field__map-btn svg {
    display: block;
}

.field__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a63e8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 22px center;
    padding-right: 48px;
    cursor: pointer;
}

.field--schedule .field__schedule-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 10px;
}

.field__input--sm {
    padding: 14px 16px;
    font-size: 0.88rem;
    border-radius: 20px;
}

.field--pay {
    margin-top: 4px;
}

.pay-picker {
    display: flex;
    gap: 28px;
    margin-top: 6px;
}

.pay-picker__item {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    opacity: 0.45;
    padding: 4px;
    font-family: inherit;
    transition: opacity 0.15s ease;
}

.pay-picker__item.is-active {
    opacity: 1;
}

.pay-note {
    margin-top: 8px;
    font-size: 0.82rem;
    color: var(--white);
    opacity: 0.75;
    line-height: 1.4;
}

.cash-options {
    margin-top: 14px;
}

.cash-picker {
    display: flex;
    gap: 20px;
    margin-top: 6px;
}

.cash-picker__item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--white);
}

.cash-picker__item input {
    accent-color: var(--white);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.field--business {
    margin-top: 4px;
}

.business-toggle {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
    opacity: 0.75;
}

.business-toggle:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.6);
}

.business-toggle.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
}

.business-fields {
    margin-top: 14px;
}

.business-fields .field:last-child {
    margin-bottom: 0;
}

.waiting-cash {
    margin-top: 16px;
}

.waiting-cash__text {
    font-size: 0.95rem;
    color: var(--green);
    font-weight: 600;
}

.pay-picker__icon {
    display: block;
}

.pay-picker__text {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.order-form__bottom {
    margin-top: 28px;
    text-align: center;
}

.order-form__total {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.order-form__total span {
    font-weight: 900;
}

.order-form__error {
    color: #ffd0d0;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.order-form__zone-error {
    color: #ffd0d0;
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.order-form__zone-error a {
    color: #fff;
    text-decoration: underline;
    font-weight: 800;
    white-space: nowrap;
}

.order-form__notice {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 40, 120, 0.35);
}

.order-form__submit {
    display: inline-block;
    min-width: min(100%, 340px);
    border: 3px solid var(--white);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 16px 40px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.order-form__submit:not(:disabled):hover {
    background: var(--white);
    color: var(--blue);
}

.order-form__submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.order-form__legal {
    margin-top: 16px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.5;
    opacity: 0.88;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.order-form__legal a {
    text-decoration: underline;
}

/* ── Map picker modal ── */
.map-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.map-modal.is-open {
    display: flex;
}

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

.map-modal__body {
    position: relative;
    width: min(100%, 640px);
    max-height: 90vh;
    background: var(--white);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.map-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    border-bottom: 1px solid #e8e8e8;
}

.map-modal__close {
    border: none;
    background: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.map-modal__close:hover {
    color: #111;
}

.map-modal__map {
    height: 360px;
    background: #e8eef7;
    flex-shrink: 0;
}

.map-picker-marker {
    background: transparent;
    border: none;
}

.map-picker-marker__pin {
    display: block;
    width: 30px;
    height: 30px;
    background: var(--blue);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.map-picker-marker__pin::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 7px auto 0;
    background: #fff;
    border-radius: 50%;
    transform: rotate(45deg);
}

.leaflet-container .map-picker-marker {
    margin-left: -15px !important;
    margin-top: -42px !important;
    width: 30px !important;
    height: 42px !important;
}

.map-modal__footer {
    padding: 14px 20px 18px;
    border-top: 1px solid #e8e8e8;
}

.map-modal__address {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.45;
    min-height: 1.45em;
    font-weight: 600;
}

.map-modal__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.map-modal__btn {
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.map-modal__btn--cancel {
    background: #f0f0f0;
    color: #555;
}

.map-modal__btn--cancel:hover {
    background: #e4e4e4;
}

.map-modal__btn--confirm {
    background: #0066ff;
    color: var(--white);
}

.map-modal__btn--confirm:hover:not(:disabled) {
    background: #0052cc;
}

.map-modal__btn--confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

body.has-map-modal {
    overflow: hidden;
}

@media (max-width: 480px) {
    .map-modal {
        padding: 0;
        align-items: flex-end;
    }

    .map-modal__body {
        width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
    }

    .map-modal__map {
        height: 50vh;
    }
}

/* ── Waiting (screen 3) ── */
.waiting-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 780px) {
    .waiting-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 32px;
    }
}

.waiting-map {
    min-height: 300px;
    background: var(--white);
    border-radius: var(--card-radius);
}

@media (min-width: 780px) {
    .waiting-map {
        min-height: 380px;
    }
}

.waiting-terms__title {
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.waiting-terms ul {
    list-style: none;
    font-weight: 700;
    line-height: 1.55;
    font-size: clamp(0.88rem, 2vw, 1rem);
}

.waiting-terms li {
    margin-bottom: 12px;
    padding-left: 1em;
    position: relative;
}

.waiting-terms li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.waiting-terms a {
    text-decoration: underline;
}

.waiting-status {
    margin-top: 36px;
    text-align: center;
}

.waiting-status__label {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.waiting-status__queue {
    max-width: 420px;
    margin: 0 auto 16px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    opacity: 0.95;
}

.waiting-status__timer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 900;
}

.waiting-status__icon {
    display: inline-flex;
    color: var(--white);
}

.waiting-status__icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.waiting-order-id {
    margin-top: 18px;
    font-weight: 700;
    font-size: 0.85rem;
    opacity: 0.75;
}

.waiting-pay {
    margin-top: 28px;
}

.waiting-pay__text {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.45;
}

.waiting-pay__amount {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.waiting-pay .order-form__submit {
    text-decoration: none;
    background: var(--white);
    color: var(--blue);
}

.waiting-cancelled {
    margin-top: 20px;
    font-weight: 700;
    font-size: 1rem;
}

.waiting-max {
    margin-top: 28px;
    text-align: center;
}

.waiting-max--required {
    padding: 16px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.waiting-max--required .waiting-max__text {
    color: #fff;
}

.waiting-max__text {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 14px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.waiting-max__btn {
    text-decoration: none;
    background: var(--white);
    color: var(--blue);
}

.waiting-max__linked {
    margin-top: 24px;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    opacity: 0.92;
}

/* ── Success (screen 4) ── */
.success-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 20px 0;
}

.success-card {
    width: min(100%, 420px);
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 56px 40px 52px;
    text-align: center;
}

.success-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    border-radius: 14px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.success-card__icon svg {
    width: 44px;
    height: 44px;
}

.success-card__title {
    color: var(--blue);
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.success-card__meta {
    margin-top: 16px;
    color: #444;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.5;
}

.success-card__btn {
    display: inline-block;
    margin-top: 24px;
    border: none;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-family: inherit;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 14px 28px;
    text-decoration: none;
}

/* ── SEO content (видимый блок для поисковиков и пользователей) ── */
.seo-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 24px 48px;
}

body.is-order .seo-content {
    display: none;
}

.seo-content__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--white);
}

.seo-content__lead {
    margin: 0 0 20px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
}

.seo-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    margin-bottom: 22px;
}

@media (max-width: 700px) {
    .seo-content__grid {
        grid-template-columns: 1fr;
    }
}

.seo-content__grid h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
}

.seo-content__grid ul {
    margin: 0;
    padding-left: 1.15em;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.seo-content__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 8px 0 28px;
}

.seo-content__links a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0.9;
}

.seo-content__links a:hover {
    opacity: 1;
}

.seo-faq {
    margin-top: 8px;
}

.seo-faq__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.seo-faq__item {
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
}

.seo-faq__item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.seo-faq__item summary::-webkit-details-marker {
    display: none;
}

.seo-faq__item p {
    margin: 8px 0 2px;
    line-height: 1.5;
    opacity: 0.92;
    font-size: 0.92rem;
}

/* ── Footer (secondary pages) ── */
.site-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.8;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
}

body.is-home .site-footer,
body.is-order .site-footer {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Legal / compliance pages ── */
body.is-legal .site-main {
    padding-top: 12px;
}

.legal-page {
    max-width: 760px;
}

.legal-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px 24px 32px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.legal-card__badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-card__title {
    font-size: clamp(1.45rem, 4.5vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
}

.legal-card__lead {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 24px;
    opacity: 0.96;
}

.legal-section {
    margin-bottom: 22px;
}

.legal-section h2 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-section p,
.legal-section li {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.55;
}

.legal-section ul,
.legal-section ol {
    padding-left: 1.2rem;
}

.legal-section li + li {
    margin-top: 6px;
}

.legal-steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.legal-steps li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 10px;
}

.legal-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.legal-card__note {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    opacity: 0.82;
}

.legal-section a {
    text-decoration: underline;
}

body.is-legal .site-footer {
    display: flex;
}

/* ── Cookie banner ── */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 30, 70, 0.96);
    color: var(--white);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}

.cookie-banner__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.cookie-banner__text {
    flex: 1 1 220px;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
}

.cookie-banner__text a {
    color: var(--white);
    text-decoration: underline;
}

.cookie-banner__btn {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--blue);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
}

body.has-cookie-banner {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 480px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}

/* ── Legacy pages ── */
.page {
    padding: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.card--landing,
.card--seo {
    color: var(--white);
}

.landing__title,
.seo-content__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.landing__lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 600;
}

.landing__body {
    line-height: 1.55;
    font-weight: 600;
    margin-bottom: 16px;
}

.landing__cta-wrap {
    margin: 20px 0;
}

.landing__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 16px;
    font-weight: 700;
}

.landing__nav a,
.landing__body a {
    color: var(--white);
}

.btn--primary {
    display: inline-block;
    border-radius: 999px;
    background: var(--white);
    color: var(--blue);
    padding: 12px 24px;
    font-weight: 800;
    text-decoration: none;
}

/* ── Form mobile adaptation ── */
@media (max-width: 480px) {
    .field__input {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .field__input--map {
        padding-right: 50px;
    }

    .field__input--sm {
        padding: 12px 12px;
        font-size: 0.82rem;
        border-radius: 18px;
    }

    .field__map-btn {
        width: 36px;
        height: 36px;
        right: 5px;
    }

    .field__map-btn svg {
        width: 17px;
        height: 17px;
    }

    .field__label {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .field {
        margin-bottom: 14px;
    }

    .field--schedule .field__schedule-row {
        gap: 6px;
    }

    .pay-picker {
        gap: 16px;
    }

    .pay-picker__icon {
        width: 56px;
        height: auto;
    }

    .pay-picker__text {
        font-size: 0.7rem;
    }

    .cash-picker {
        gap: 12px;
        flex-wrap: wrap;
    }

    .cash-picker__item {
        font-size: 0.8rem;
    }

    .order-form__submit {
        font-size: 1rem;
        padding: 14px 24px;
        min-width: 100%;
    }
}

@media (max-width: 380px) {
    .field--schedule .field__schedule-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .field__input {
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .field__input--map {
        padding-right: 44px;
    }

    .field__map-btn {
        width: 32px;
        height: 32px;
        right: 4px;
    }

    .field__map-btn svg {
        width: 15px;
        height: 15px;
    }

    .pay-picker {
        gap: 12px;
    }

    .cash-picker {
        flex-direction: column;
        gap: 8px;
    }
}
