:root {
    --primary: #38c4ef;
    --primary-dark: #0094c5;
    --bg: #020617;
    --text: #f9fafb;
    --muted: #9ca3af;
    --border: rgba(148, 163, 184, 0.25);
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.55);
    --transition-fast: .25s ease;
}

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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #111827 0%, #020617 55%, #000 100%);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1120px;
    padding: 0 16px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.7), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.nav__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ЛОГО */
.nav__logo {
    height: 32px;
    /* якщо хочеш менше/більше – міняй тут */
    width: auto;
    object-fit: contain;
    display: block;
}

.nav__brand-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .08em;
}

.nav__brand-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #6b7280;
}

.nav__links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav__link {
    font-size: 14px;
    color: var(--muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav__link:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.nav__cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 12px 30px rgba(56, 196, 239, 0.7);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.nav__cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 45px rgba(56, 196, 239, 0.95);
}
/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(6px);
}

.modal__content {
    position: relative;
    max-width: 360px;
    margin: 12vh auto;
    padding: 22px;
    border-radius: 18px;

    background: linear-gradient(180deg,
            rgba(15, 23, 42, .95),
            rgba(2, 6, 23, .95));

    border: 1px solid rgba(148, 163, 184, .25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 22px;
    cursor: pointer;
}

.modal__eyebrow {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 4px;
}

.modal__title {
    font-size: 18px;
    margin-bottom: 14px;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal__form input {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(148, 163, 184, .25);
    color: #e5e7eb;
}

.modal__hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

.nav__dealer {
    padding: 8px 18px 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.7);
    font-size: 13px;
    font-weight: 600;
    color: #fff7ed;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(140deg, rgba(249, 115, 22, 0.2), rgba(250, 204, 21, 0.15));
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.25);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.nav__dealer span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav__dealer span:first-child {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(250, 204, 21, 0.4);
    font-size: 14px;
}

.nav__dealer:hover {
    transform: translateY(-2px);
    border-color: rgba(250, 204, 21, 0.95);
    box-shadow: 0 18px 42px rgba(234, 88, 12, 0.45);
    filter: brightness(1.05);
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav__burger-line {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    transition: .2s ease;
}

.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 12px;
}

.nav__mobile a {
    font-size: 14px;
    color: var(--muted);
}

.nav__mobile-cta {
    margin-top: 4px;
    align-self: flex-start;
}

/* ===== HERO ===== */
.hero {
    padding: 40px 0 64px;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.95);
    margin-bottom: 16px;
}

.badge__dot {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #e0faff, #38c4ef 50%, #003e57 100%);
    box-shadow: 0 0 16px rgba(56, 196, 239, 0.9);
}

.badge span {
    font-size: 12px;
    color: var(--muted);
}

.hero__title {
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.12;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero__title span {
    display: inline-block;
    background: linear-gradient(120deg, #38c4ef, #7dd3fc, #38c4ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__subtitle {
    font-size: 15px;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 22px;
}

.hero__bullets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.hero__bullet {
    border-radius: 999px;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.95);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero__bullet-emoji {
    font-size: 14px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-primary {
    padding: 11px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(56, 196, 239, 0.8);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 18px 50px rgba(56, 196, 239, 1);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.96);
    font-size: 14px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    color: var(--text);
    border-color: rgba(226, 232, 240, 0.9);
    background: rgba(15, 23, 42, 1);
    transform: translateY(-2px);
}

.hero__note {
    font-size: 11px;
    color: #64748b;
}

.hero__right {
    position: relative;
}

.hero__card {
    position: relative;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, rgba(56, 196, 239, 0.3), #020617 50%, #020617 100%);
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    inset: -80px;
    background: radial-gradient(circle at 0 0, rgba(56, 196, 239, 0.35), transparent 60%);
    pointer-events: none;
}

.hero__card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.hero__chip {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
}

.hero__status {
    font-size: 11px;
    color: #bbf7d0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.hero__car-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero__car-meta {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
}
.hero__car-image {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hero__car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* затемнение для читабельности */
.hero__car-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.45) 100%);
}

.hero__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.hero__stat {
    border-radius: 10px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero__stat-label {
    font-size: 10px;
    color: #9ca3af;
}

.hero__stat-value {
    font-size: 13px;
    font-weight: 600;
}

.hero__timeline {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(148, 163, 184, 0.6);
}

.hero__timeline-title {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.hero__timeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero__timeline-step {
    font-size: 10px;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.98);
}

/* ===== SECTIONS ===== */
section {
    padding: 40px 0;
}

.section-header {
    margin-bottom: 20px;
}

.section-eyebrow {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--muted);
    max-width: 520px;
}

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

.card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #020617;
    padding: 16px 16px 14px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(56, 196, 239, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    border-color: rgba(148, 163, 184, 0.8);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 18px;
}

.card__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.card__text {
    font-size: 13px;
    color: var(--muted);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.step {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), #020617);
    padding: 14px 14px 12px;
}

.step__number {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 6px;
}

.step__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step__text {
    font-size: 13px;
    color: var(--muted);
}

/* CTA / FORM */
.cta-section {
    padding: 40px 0 46px;
}

.cta {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top left, rgba(56, 196, 239, 0.23), #020617 45%, #020617 100%);
    box-shadow: var(--shadow-soft);
    padding: 20px 18px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 22px;
}

.cta__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cta__subtitle {
    font-size: 13px;
    color: var(--muted);
}

.cta__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta__list li {
    position: relative;
    padding-left: 24px;
}

.cta__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38c4ef;
    font-weight: 700;
}

.form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form__field--full {
    grid-column: 1 / -1;
}

.form__label {
    font-size: 11px;
    color: #e5e7eb;
}

.form__input,
.form__textarea {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.96);
    padding: 9px 11px;
    font-size: 13px;
    color: var(--text);
    outline: none;
    transition: .2s ease;
}

.form__textarea {
    border-radius: 14px;
    min-height: 70px;
    resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(56, 196, 239, 0.9);
    background: rgba(15, 23, 42, 1);
}

.form__hint {
    font-size: 10px;
    color: #64748b;
    margin-top: 6px;
}

.form__status {
    font-size: 12px;
    margin-top: 6px;
    color: var(--muted);
}

.form__status--success {
    color: #4ade80;
}

.form__status--error {
    color: #f87171;
}

.form__submit {
    margin-top: 4px;
    justify-self: flex-start;
}

/* CASES CAROUSEL */
.cases {
    margin-top: 8px;
}

.cases__carousel {
    position: relative;
    overflow: hidden;
}

.cases__track {
    display: flex;
    gap: 14px;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

.case-card {
    min-width: min(280px, 80vw);
    max-width: 320px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: #020617;
    padding: 12px 12px 10px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.9);
}

.case-card__tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #93c5fd;
    margin-bottom: 4px;
}

.case-card__title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.case-card__meta {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 8px;
}

.case-card__row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 2px;
}

.case-card__label {
    color: #9ca3af;
}

.case-card__value {
    font-weight: 500;
}

.case-card__value--highlight {
    color: #bbf7d0;
}

.cases__controls {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 10px;
}

.cases__btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #e5e7eb;
    transition: var(--transition-fast);
}

.cases__btn:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(226, 232, 240, 0.95);
    transform: translateY(-1px);
}

.case-card__cta {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(31, 209, 249, 0.14);
    color: #1fd1f9;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(31, 209, 249, 0.28);
    transition: all 0.2s ease;
}

.case-card__cta:hover {
    background: rgba(31, 209, 249, 0.28);
    color: #e9fcff;
    border-color: rgba(31, 209, 249, 0.45);
}
.case-card__image {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* затемнение для текста */
.case-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.55) 100%);
}
/* FAQ */
.faq {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #020617;
    padding: 10px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(148, 163, 184, 0.85);
    transform: translateY(-1px);
}

.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.faq-item__question {
    font-size: 14px;
    font-weight: 500;
}

.faq-item__icon {
    font-size: 18px;
    transition: transform .25s ease;
}

.faq-item__answer {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}

.faq-item--open .faq-item__answer {
    display: block;
}

.faq-item--open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-telegram {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 14px;
    text-align: center;
}

.faq-telegram__text {
    margin-bottom: 10px;
    font-size: 14px;
    color: #cfd8e3;
}

.faq-telegram__btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #9fdff5;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.2s ease;
}

.faq-telegram__btn:hover {
    background: rgba(31, 209, 249, 0.2);
    color: #eafcff;
    border-color: rgba(31, 209, 249, 0.35);
}
/* CONTACTS */
.contacts {
    margin-top: 0px;
}

.contacts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: flex-start;
    /* КЛЮЧЕВО */
}

.contacts__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.contacts__right {
    margin-top: -60px !important;
    align-self: flex-start;
}

.contacts__right .cta {
    margin-top: 0 !important;
}
/* ICONS */
.contact-icons {
    display: flex;
    gap: 14px;
    margin-top: 14px;
}

/* общая кнопка */
.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(circle at top left,
            rgba(56, 196, 239, 0.22),
            rgba(56, 196, 239, 0.08));

    border: 1px solid rgba(56, 196, 239, 0.35);

    box-shadow:
        0 6px 18px rgba(56, 196, 239, 0.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

/* иконка */
.contact-icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* hover */
.contact-icon:hover {
    transform: translateY(-3px);
    background: radial-gradient(circle at top left,
            rgba(56, 196, 239, 0.35),
            rgba(56, 196, 239, 0.14));
    box-shadow:
        0 14px 36px rgba(56, 196, 239, 0.55);
}

/* Telegram — главный */
.contact-icon--telegram {
    background: linear-gradient(135deg,
            rgba(56, 196, 239, 0.35),
            rgba(79, 209, 255, 0.18));
    border-color: rgba(56, 196, 239, 0.55);
}

/* hint */
.contacts__hint {
    font-size: 13px;
    color: #cbd5f5;
    opacity: .9;
}

/* RIGHT / DEALER */
.dealer-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    padding: 20px;

    /* ВАЖНО: поднимаем блок вверх */
    margin-top: -60px;
    /* можешь поиграться: -24, -32 */

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dealer-card__eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7dd3fc;
}

.dealer-card__title {
    font-size: 16px;
    font-weight: 600;
}

.dealer-card__text {
    font-size: 13px;
    color: #cbd5f5;
    line-height: 1.5;
}

.btn-dealer {
    margin-top: 6px;
    align-self: flex-start;
}

.dealer-card__note {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}


footer {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding: 12px 0 18px;
    margin-top: 20px;
    font-size: 11px;
    color: #6b7280;
}

footer a {
    color: #9ca3af;
}
/* ===== DEALER DASHBOARD ===== */
.dealer-section .container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

.dealer-table-wrapper {
    overflow-x: auto;
}

.dealer-table {
    width: 100%;
    table-layout: fixed;
}

.dealer-body {
    background: radial-gradient(circle at top, #111827 0, #020617 48%, #020617 100%);
}

/* Основний блок */
.dealer-section {
    padding: 40px 0 60px;
}

/* Заголовок */
.dealer-section .section-header {
    margin-bottom: 22px;
}

.dealer-section .section-title {
    font-size: 26px;
}

.dealer-section .section-subtitle {
    max-width: 520px;
}
/* Верхня карточка "Ви увійшли як" */
.dealer-summary {
    margin-bottom: 26px;
}

.dealer-summary__card {
    background: radial-gradient(circle at top left,
            rgba(56, 196, 239, 0.32),
            rgba(15, 23, 42, 0.95));
    border-radius: 18px;
    padding: 18px 20px 16px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow:
        0 14px 40px rgba(15, 23, 42, 0.8),
        0 0 0 1px rgba(15, 23, 42, 0.8) inset;
}

.dealer-summary__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 4px;
}

.dealer-summary__value {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dealer-summary__note {
    font-size: 12px;
    color: #9ca3af;
}
.dealer-cars {
    margin-top: 10px;
}

.dealer-cars__title {
    font-size: 18px;
    margin-bottom: 4px;
}

.dealer-cars__subtitle {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 14px;
}

/* Контейнер під таблицю (карточка) */
.dealer-table-wrapper {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 14px 16px 10px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    overflow-x: auto;
}

/* Таблиця */
.dealer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 540px;
}
.dealer-table th {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

.dealer-table td {
    font-size: 13px;
    line-height: 1.35;
}
.dealer-table thead th {
    font-weight: 500;
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(55, 65, 81, 0.8);
    color: #9ca3af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.car-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    background: #111;
    flex-shrink: 0;
}
.dealer-table tbody td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.dealer-table tbody tr:last-child td {
    border-bottom: none;
}

/* Зебра + hover */
.dealer-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.85);
}

.dealer-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.45);
    transition: background 0.18s ease;
}

/* Колонки */
.dealer-table td:nth-child(1) {
    font-weight: 500;
    white-space: nowrap;
}

.dealer-table td:nth-child(2) strong {
    display: block;
    margin-bottom: 2px;
}

.dealer-table td:nth-child(2) small {
    font-size: 11px;
}

/* Статус (ми вже додавали базові статуси, але хай будуть ще раз на всяк випадок) */
.status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.status--ship {
    background: rgba(56, 196, 239, 0.18);
    color: #38c4ef;
}

.status--customs {
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
}

.status--done {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
}

.status--default {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}
/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .dealer-section {
        padding-top: 28px;
    }

    .dealer-section .section-title {
        font-size: 22px;
    }

    .dealer-summary__card {
        padding: 14px 14px 12px;
        border-radius: 16px;
    }

    .dealer-table-wrapper {
        padding: 10px 10px 8px;
        border-radius: 14px;
    }
}
/* ===== MOBILE FIX FOR DEALER DASHBOARD ===== */
@media (max-width: 700px) {

    /* Показуємо кнопки в шапці саме в кабінеті дилера */
    .dealer-body .nav__links {
        display: flex;
        /* замість display:none */
        gap: 8px;
        margin-top: 8px;
        width: 100%;
        justify-content: flex-end;
        /* або space-between, як тобі більше зайде */
    }

    /* Ховаємо бургер у дилерському кабінеті, він там не потрібен */
    .dealer-body .nav__burger {
        display: none !important;
    }

    /* Трошки піджимаємо сам хедер, щоб на мобілці не роз’їжджався */
    .dealer-body .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero__right {
        order: -1;
    }

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

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

    /* CONTACTS на планшетах / вузьких ноутбуках */
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts__left {
        order: 1;
    }

    .contacts__right {
        order: 2;
        margin-top: 8px !important;
    }

    .dealer-card {
        margin-top: 0;
    }

    .contact-icons {
        margin-top: 12px;
        margin-bottom: 6px;
    }

    .btn-dealer {
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .nav__links {
        display: none;
    }

    .nav__burger {
        display: flex;
    }

    .nav__dealer--mobile {
        align-self: flex-start;
        margin-top: 4px;
    }

    .hero {
        padding-top: 28px;
    }

        
    .hero__car-image {
        height: 140px;
    }
        

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

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

    /* CONTACTS на телефонах */
    .contacts__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .contacts__left {
        order: 1;
    }

    .contacts__right {
        order: 2;
        margin-top: 4px !important;
    }

    .cta {
        padding: 18px 14px 16px;
    }
}
/* ===== DEALER DASHBOARD TUNING (compact + full width) ===== */

.dealer-section .container {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
}

.dealer-table-wrapper {
    margin-top: 14px;
    padding: 14px 16px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 55%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
}

.dealer-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.dealer-table th,
.dealer-table td {
    padding: 9px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

.dealer-table thead th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
}

.dealer-table tbody td {
    font-size: 12px;
    line-height: 1.35;
}

/* ===== widths tuning ===== */

/* АВТО — шире (фото + название) */
.dealer-table th:first-child,
.dealer-table td:first-child {
    width: 320px;
}

/* LOT / VIN — уже */
.dealer-table th:nth-child(2),
.dealer-table td:nth-child(2) {
    width: 150px;
}

/* ЛОКАЦИЯ */
.dealer-table th:nth-child(3),
.dealer-table td:nth-child(3) {
    width: 180px;
}

/* КОНТЕЙНЕР */
.dealer-table th:nth-child(4),
.dealer-table td:nth-child(4) {
    width: 130px;
}

/* СТАТУС */
.dealer-table th:nth-child(5),
.dealer-table td:nth-child(5) {
    width: 170px;
}

/* ДАТА — компактно */
.dealer-table th:nth-child(6),
.dealer-table td:nth-child(6) {
    width: 105px;
}

/* ДИЛЕР — уже */
.dealer-table th.col-dealer,
.dealer-table td.col-dealer {
    width: 190px;
}

/* дилер */

/* ===== AUTO CELL (photo + title) ===== */
.car-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.car-thumb {
    width: 72px;
    height: 48px;
    border-radius: 7px;
    object-fit: cover;
    /* не сжимает, а обрезает красиво */
    background: #111827;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7);
}

.car-title {
    font-size: 12.5px;
    font-weight: 600;
}

.car-auction {
    font-size: 11px;
    opacity: 0.75;
}

/* ===== LOT/VIN compact + ellipsis ===== */
.lot-vin {
    font-size: 11.5px;
}

.lot-vin .vin {
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.78;
}

.vin-text {
    display: inline-block;
    max-width: 150px;
    /* вот это режет VIN */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.lot {
    white-space: nowrap;
}

/* ===== LOCATION ===== */
.location-cell {
    font-size: 11.5px;
    line-height: 1.3;
}

/* ===== DATE ===== */
.eta-cell {
    text-align: center;
    font-weight: 600;
    font-size: 11.5px;
    white-space: nowrap;
}

/* ===== STATUS ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge--ship {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.status-badge--customs {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
}

.status-badge--done {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}

.status-badge--warehouse {
    background: rgba(148, 163, 184, 0.18);
    color: #e5e7eb;
}

.status-badge--default {
    background: rgba(148, 163, 184, 0.18);
    color: #e5e7eb;
}

.status-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.status-select {
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 7px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #020617;
    color: #e5e7eb;
}

/* ===== DEALER LIKE STATUS ===== */
.dealer-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.dealer-badge {
    display: inline-flex;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.18);
    color: #e5e7eb;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dealer-select {
    width: 210px;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 7px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: #020617;
    color: #e5e7eb;
}

/* hide dealer column for dealers */
body.role-dealer .col-dealer {
    display: none;
}

body.role-dealer .dealer-table th.col-dealer {
    display: none;
}

body.role-dealer .dealer-table td.col-dealer {
    display: none;
}

/* responsive */
@media (max-width: 900px) {
    .dealer-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .dealer-table th,
    .dealer-table td {
        padding: 8px 8px;
    }

    .car-thumb {
        width: 62px;
        height: 44px;
    }

    .vin-text {
        max-width: 120px;
    }
}
.carpage__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
}

.carpage__media img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.info-grid div {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 12px;
    border-radius: 12px;
}

.info-grid span {
    display: block;
    font-size: 11px;
    opacity: .7;
    margin-bottom: 4px;
}

.status-block,
.dealer-block {
    margin-top: 16px;
}

@media(max-width:900px) {
    .carpage__grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== Dealer table photos ===== */
.dealer-table td.car-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dealer-table .car-photo {
    width: 120px;
    /* ← размер фото */
    height: 80px;
    /* ← размер фото */
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}

.dealer-table .car-title {
    display: block;
    line-height: 1.2;
    max-width: 320px;
}

.dealer-table .car-photo--empty {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    opacity: 0.6;
}
.car-cell {
    display: flex;
    gap: 12px;
    align-items: center;
}

.car-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.car-thumb--empty {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .6;
    border: 1px solid rgba(255, 255, 255, .15);
}

.car-meta .car-title {
    line-height: 1.2;
}

.car-meta .car-sub {
    margin-top: 6px;
    font-size: 12px;
    opacity: .8;
}

.muted {
    opacity: .7;
}

.status-col {
    max-width: 420px;
}
.car-link {
    color: inherit;
    text-decoration: none;
}

.car-link:hover {
    text-decoration: underline;
}

.car-thumb {
    cursor: pointer;
}
/* =======================
   SEO text block
======================= */
.seo-text {
    padding: 70px 0;
}

.seo-text__content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-text__content p {
    margin: 0 0 14px;
    line-height: 1.7;
    opacity: 0.95;
}

.seo-text__links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* mobile spacing */
@media (max-width: 768px) {
    .seo-text {
        padding: 50px 0;
    }
}

.hero--page .hero__card {
    min-height: 360px;
}

.page-section {
    padding: 80px 0;
}

.page-section--alt {
    padding: 80px 0;
}
.cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(20, 20, 20, .92);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    font-size: 14px;
    line-height: 1.4;
}

.cookie-notice a {
    color: #38c4ef;
    text-decoration: none;
}

.cookie-notice a:hover {
    text-decoration: underline;
}

.cookie-notice__btn {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: #38c4ef;
    color: #0b1b22;
}

@media (max-width:640px) {
    .cookie-notice {
        flex-direction: column;
        align-items: flex-start;
    }
}