/* ==========================================================================
   ABER Tools — About Page Styles
   Structure: Variables → Base → Hero → Sticky Scroll → Bento → Video →
              Client Switcher → CTA → Modals → Mobile (1024 → 768 → 480)
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bg-white: #FFFFFF;
    --bg-gray: #F3F4F6;
    --bg-light: #F9FAFB;
    --accent: #009FED;
    --accent-dark: #0284C7;
    --text: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --text-light: #D1D5DB;
    --border: #E5E7EB;
    --green: #22c55e;
    --yellow: #eab308;
    --radius-card: 16px;
    --radius-lg: 24px;
    --radius-btn: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition-base: 0.3s ease;
    --transition-spring: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: var(--bg-white);
}


/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Video background */
.hero__video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #111;
    overflow: hidden;
}

.hero__video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

/* Overlay */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.4;
    z-index: 1;
}

/* Content */
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 1rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeInUp 700ms ease-out forwards;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: #E5E7EB;
    max-width: 600px;
    margin: 0 0 2rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    animation: heroFadeInUp 700ms ease-out 150ms forwards;
}

@keyframes heroFadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

.hero__scroll-hint svg {
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Marquee */
.hero__marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.hero__marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.hero__marquee-inner span {
    padding-right: 4rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ==========================================================================
   STICKY SCROLL SECTION
   ========================================================================== */
.hero-after-block {
    display: flex;
    background: #fff;
    font-family: 'Manrope', sans-serif;
}

/* Left column — sticky */
.hero-after-block__left {
    flex: 0 0 48%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 24px 24px 4vw;
    background: #fff;
    gap: 0;
}

/* Right column — scrollable */
.hero-after-block__right {
    flex: 1;
    min-width: 0;
}

.hero-after-block__right-inner {
    background: rgba(239, 246, 255, 0.6);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 20px 20px 0;
}

/* Sticky cards (right column) */
.sticky-card {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 4vw 32px 28px;
    gap: 0;
}

.sticky-card__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
}

.sticky-card__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px;
}

.sticky-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.sticky-card__metrics span {
    padding: 8px 14px;
    background: #eff6ff;
    border-radius: 12px;
}

/* Lift area */
.lift-area {
    position: relative;
    flex: 1;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lift-area__block {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 100%;
}

.lift-area__block img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    display: block;
    transform: translate(-50%, -50%);
}

.lift-area__block .lift-pillars { z-index: 1; }
.lift-area__block .lift-car    { z-index: 2; transition: transform 0.1s linear; }

.lift-area__heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.25;
}

.lift-area__sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 16px;
}

/* Quote manifest */
.quote-manifest {
    min-height: 100px;
    margin-bottom: 24px;
    position: relative;
}

.quote-manifest__text {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #4B5563;
    border-left: 3px solid #0099FF;
    padding-left: 20px;
    margin: 0;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.quote-manifest__text.active { opacity: 1; }

/* Scroll gallery */
.scroll-gallery {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.scroll-gallery__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.scroll-gallery__slide.active {
    opacity: 1;
    z-index: 1;
}

.scroll-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video card */
.video-card__wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.video-card__player {
    flex: 0 0 340px;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.video-card__player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Stock card */
.stock-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.stock-card .sticky-card__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.stock-card__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
}

/* Status blocks */
.status-block {
    margin-bottom: 24px;
}

.status-block:last-of-type { margin-bottom: 0; }

.status-block__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.status-block__dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
}

.status-block__dot--green  { background: var(--green); }
.status-block__dot--yellow { background: var(--yellow); }

.status-block__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.status-block__desc {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 8px 0 0;
}

.status-block__btn {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--yellow);
    text-decoration: none;
    border-bottom: 1px dashed var(--yellow);
    transition: opacity 0.2s;
}

.status-block__btn:hover { opacity: 0.7; }

.stock-card__footer {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0;
}


/* ==========================================================================
   BENTO GRID
   ========================================================================== */
.bento {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.bento__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(300px, auto);
}

/* Base card */
.bento__card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.bento__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Showroom card (accordion) */
.bento__card--showroom {
    grid-column: span 2;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1200 / 675;
    height: auto;
    min-height: 200px;
}

.showroom-accordion {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 0;
}

.showroom-accordion__panel {
    flex: 1;
    min-width: 48px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showroom-accordion__panel.expanded { flex: 5; }

.showroom-accordion__panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bento__card--showroom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.bento__card--showroom .bento__card-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.bento__card--showroom .bento__card-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Stock card (bento) */
.bento__card--stock { grid-column: span 1; }

.bento__card--stock .bento__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 24px;
}

/* Badges */
.bento__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
}

.bento__badge span {
    font-size: 0.95rem;
    font-weight: 500;
}

.bento__badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
}

/* Green dot with ping animation */
.bento__badge-dot--green {
    background: var(--green);
    z-index: 1;
}

.bento__badge-dot--green::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--green);
    animation: dot-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes dot-ping {
    0%, 100% { transform: scale(0.5); opacity: 0.8; }
    50%      { transform: scale(1);   opacity: 0; }
}

/* Yellow dot */
.bento__badge-dot--yellow {
    background: var(--yellow);
    animation: pulse-yellow 2s ease-in-out infinite;
}

@keyframes pulse-yellow {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

/* Badge groups with tooltips */
.bento__badge-group {
    position: relative;
    display: block;
    margin-bottom: 12px;
}

.bento__badge-group:last-child { margin-bottom: 0; }
.bento__badge-group .bento__badge { margin-bottom: 0; }

/* Tooltip */
.bento__badge-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    margin-bottom: 10px;
    width: 260px;
    max-width: calc(100vw - 32px);
    padding: 14px 16px;
    background: var(--text);
    color: var(--bg-gray);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 10;
    pointer-events: none;
}

.bento__badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-top-color: var(--text);
}

/* Tooltip show — desktop hover OR mobile tap (via JS class) */
.bento__badge-group:hover .bento__badge-tooltip,
.bento__badge-group.is-tooltip-open .bento__badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.bento__badge-tooltip-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.8rem;
}

.bento__badge-tooltip-title svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.bento__badge-tooltip p { margin: 0; color: var(--text-light); }

/* Brands card (full width) */
.bento__card--brands {
    grid-column: span 3;
    overflow: hidden;
    padding: 50px 40px;
}

.bento__card--brands .bento__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 24px;
    text-align: center;
}

/* Brand slider */
.bento__slider-wrap {
    overflow: hidden;
    padding: 36px 24px;
}

.bento__slider-wrap:hover .bento__slider { animation-play-state: paused; }

.bento__slider {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-left: 12px;
    animation: slider 18s linear infinite;
}

.bento__slider--reverse { animation-name: slider-reverse; }

.bento__slider-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: transform 0.4s ease, filter 0.4s ease;
    transform-origin: center center;
}

.bento__slider-item img {
    height: 40px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}

.bento__slider-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.bento__slider-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Brand hover zoom effect */
.bento__slider.brand-hover .bento__slider-item:hover {
    transform: scale(1.6);
    z-index: 10;
}

.bento__slider.brand-hover .bento__slider-item.brand-before {
    transform: scale(0.5) translateX(-24px);
    filter: blur(6px);
}

.bento__slider.brand-hover .bento__slider-item.brand-after {
    transform: scale(0.5) translateX(24px);
    filter: blur(6px);
}

@keyframes slider {
    0%, 12.5% { transform: translateX(0); }
    100%      { transform: translateX(-50%); }
}

@keyframes slider-reverse {
    0%, 12.5% { transform: translateX(-50%); }
    100%      { transform: translateX(0); }
}


/* ==========================================================================
   VIDEO SECTION (Dark)
   ========================================================================== */
.video-section {
    position: relative;
    background: var(--text);
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

/* Mouse spotlight */
.video-section__spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 107, 0, 0.12),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-section:hover .video-section__spotlight { opacity: 1; }

.video-section__inner {
    position: relative;
    z-index: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 48px;
    align-items: center;
}

.video-section__left  { flex: 0 0 40%; }
.video-section__right { flex: 0 0 60%; overflow: visible; }

.video-section__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.video-section__text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 0 2rem;
    color: var(--text-light);
}

.video-section__counter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 0.25rem;
}

.video-section__counter-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Easter egg */
.video-section__easter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s, text-shadow 0.2s;
}

.video-section__easter:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 159, 237, 0.8);
}

.video-section__easter svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Video thumbnails grid */
.video-section__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: visible;
}

.video-section__thumb {
    position: relative;
    flex: 1;
    min-width: 0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    text-decoration: none;
    background-color: #374151;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, flex 0.4s ease;
    transform-origin: center center;
}

/* :has() hover — thumbnail expand/shrink (desktop only, with JS fallback) */
.video-section__grid:has(.video-section__thumb:nth-child(1):hover) .video-section__thumb:nth-child(1),
.video-section__grid.js-hover-1 .video-section__thumb:nth-child(1) {
    transform: scale(2);
    z-index: 2;
}
.video-section__grid:has(.video-section__thumb:nth-child(1):hover) .video-section__thumb:nth-child(2),
.video-section__grid.js-hover-1 .video-section__thumb:nth-child(2) {
    transform: scale(0.5) translateX(40%);
}
.video-section__grid:has(.video-section__thumb:nth-child(1):hover) .video-section__thumb:nth-child(3),
.video-section__grid.js-hover-1 .video-section__thumb:nth-child(3) {
    transform: scale(0.5) translateX(80%);
}

.video-section__grid:has(.video-section__thumb:nth-child(2):hover) .video-section__thumb:nth-child(1),
.video-section__grid.js-hover-2 .video-section__thumb:nth-child(1) {
    transform: scale(0.5) translateX(-40%);
}
.video-section__grid:has(.video-section__thumb:nth-child(2):hover) .video-section__thumb:nth-child(2),
.video-section__grid.js-hover-2 .video-section__thumb:nth-child(2) {
    transform: scale(2);
    z-index: 2;
}
.video-section__grid:has(.video-section__thumb:nth-child(2):hover) .video-section__thumb:nth-child(3),
.video-section__grid.js-hover-2 .video-section__thumb:nth-child(3) {
    transform: scale(0.5) translateX(40%);
}

.video-section__grid:has(.video-section__thumb:nth-child(3):hover) .video-section__thumb:nth-child(1),
.video-section__grid.js-hover-3 .video-section__thumb:nth-child(1) {
    transform: scale(0.5) translateX(-80%);
}
.video-section__grid:has(.video-section__thumb:nth-child(3):hover) .video-section__thumb:nth-child(2),
.video-section__grid.js-hover-3 .video-section__thumb:nth-child(2) {
    transform: scale(0.5) translateX(-40%);
}
.video-section__grid:has(.video-section__thumb:nth-child(3):hover) .video-section__thumb:nth-child(3),
.video-section__grid.js-hover-3 .video-section__thumb:nth-child(3) {
    transform: scale(2);
    z-index: 2;
}

/* Play button */
.video-section__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 159, 237, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-section__thumb:hover .video-section__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-section__play svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-left: 4px;
}

/* Video modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.video-modal--open {
    opacity: 1;
    visibility: visible;
}

.video-modal__inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal--open .video-modal__inner {
    transform: scale(1);
}

.video-modal__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-modal__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.video-modal__close:hover { background: rgba(255, 255, 255, 0.3); }


/* ==========================================================================
   CLIENT SWITCHER (B2B / B2C)
   ========================================================================== */
.client-switcher {
    padding: 80px 20px;
    background: var(--bg-light);
}

.client-switcher__inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* Pill toggle */
.client-switcher__toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.client-switcher__toggle {
    width: 320px;
    height: 48px;
    background: var(--border);
    border-radius: var(--radius-btn);
    padding: 4px;
    display: flex;
    position: relative;
}

.client-switcher__pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #FFFFFF;
    border-radius: var(--radius-btn);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}

.client-switcher__toggle--b2c .client-switcher__pill {
    transform: translateX(100%);
}

.client-switcher__tab {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.client-switcher__tab--active { color: var(--text); }

/* Content */
.client-switcher__content {
    animation: clientFadeIn 0.3s ease-out forwards;
}

@keyframes clientFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.client-switcher__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Flip cards */
.client-switcher__card {
    opacity: 0;
    animation: clientStaggerIn 0.4s ease-out forwards;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    min-height: 220px;
    height: 220px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-spring),
                border-radius var(--transition-spring),
                box-shadow var(--transition-spring),
                background var(--transition-spring),
                border-color var(--transition-spring);
}

.client-switcher__card:nth-child(1) { animation-delay: 0ms; }
.client-switcher__card:nth-child(2) { animation-delay: 100ms; }
.client-switcher__card:nth-child(3) { animation-delay: 200ms; }
.client-switcher__card:nth-child(4) { animation-delay: 300ms; }

@keyframes clientStaggerIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Card hover / active state */
.client-switcher__card:hover,
.client-switcher__card.is-flipped {
    transform: scale(1.03);
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 159, 237, 0.25);
    background: var(--accent);
    border-color: var(--accent);
    cursor: pointer;
}

/* Front face */
.client-switcher__first {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
    transition: opacity var(--transition-spring), transform var(--transition-spring);
    opacity: 1;
    transform: translateY(0);
    border-radius: var(--radius-card);
}

.client-switcher__card:hover .client-switcher__first,
.client-switcher__card.is-flipped .client-switcher__first {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

/* Back face */
.client-switcher__second {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    border-radius: var(--radius-card);
    transition: opacity var(--transition-spring), transform var(--transition-spring);
    transform: translateY(8px);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

.client-switcher__card:hover .client-switcher__second,
.client-switcher__card.is-flipped .client-switcher__second {
    opacity: 1;
    transform: translateY(0);
}

.client-switcher__back-text { margin: 0; max-width: 100%; }

/* Icon */
.client-switcher__card .client-switcher__icon {
    width: 162px;
    height: 162px;
    object-fit: contain;
    flex-shrink: 0;
}

.client-switcher__card:hover .client-switcher__first .client-switcher__icon,
.client-switcher__card.is-flipped .client-switcher__first .client-switcher__icon {
    filter: brightness(0) invert(1);
}

.client-switcher__card .client-switcher__first span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.client-switcher__card:hover .client-switcher__first span,
.client-switcher__card.is-flipped .client-switcher__first span {
    color: #FFFFFF;
}


/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta {
    background: linear-gradient(135deg, #009FED 0%, #0284C7 25%, #0369A1 50%, #0284C7 75%, #009FED 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.cta__title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 2rem;
}

.cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.cta__btn:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

.cta__btn--primary {
    background: #fff;
    color: var(--accent);
    border: none;
}

.cta__btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}


/* ==========================================================================
   CONTACT MODAL ("Уточнить наличие")
   ========================================================================== */
.aber-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.aber-modal.is-open {
    opacity: 1;
    pointer-events: all;
}

.aber-modal__box {
    background: #fff;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transform: scale(0.95) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg);
}

.aber-modal.is-open .aber-modal__box {
    transform: scale(1) translateY(0);
}

.aber-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-gray);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.aber-modal__close:hover {
    color: var(--text);
    background: var(--border);
    transform: rotate(90deg);
}

.aber-modal__title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 12px;
    line-height: 1.2;
}

.aber-modal__desc {
    font-family: 'Manrope', sans-serif;
    color: #4B5563;
    font-size: 0.95rem;
    margin: 0 0 24px;
    line-height: 1.5;
}

.aber-modal__input {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 2px solid var(--bg-gray);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s, background-color 0.2s;
    background: var(--bg-light);
    box-sizing: border-box;
}

.aber-modal__input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.aber-modal__submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.aber-modal__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 159, 237, 0.3);
}

.aber-modal__policy {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.aber-modal__policy a {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color 0.2s;
}

.aber-modal__policy a:hover { color: var(--accent); }


/* ==========================================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-after-block { flex-direction: column; }

    .hero-after-block__left {
        position: relative;
        height: auto;
        min-height: 60vh;
    }

    .sticky-card {
        min-height: 80vh;
        padding: 40px 20px;
    }
}


/* ==========================================================================
   RESPONSIVE — Mobile (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        min-height: 60vh;
        height: auto;
        padding-bottom: 0;
        justify-content: flex-start;
        padding-top: 8vh;
    }
    .hero__title    { font-size: 2rem; line-height: 1.25; margin-bottom: 0.75rem; }
    .hero__subtitle { font-size: 1rem; margin: 0 0 1rem; }
    .hero__content  { padding: 0 16px; align-items: center; }
    .hero__marquee  { height: 44px; position: relative; }
    .hero__marquee-inner span { font-size: 0.8rem; padding-right: 2.5rem; }
    .hero__scroll-hint { display: none; }

    /* Sticky scroll */
    .hero-after-block__left {
        padding: 20px 16px;
        min-height: auto;
        justify-content: flex-start;
    }
    .lift-area__sub              { margin-bottom: 60px; }
    .quote-manifest              { margin-bottom: 64px; min-height: 90px; }
    .quote-manifest__text        { margin-top: 48px; }
    .lift-area                   { margin-top: 120px; }
    .hero-after-block__left .sticky-card__metrics { margin-top: 70px; }
    .hero-after-block__right-inner { margin: 0; padding: 24px 16px; border-radius: 16px; }
    .lift-area__heading          { font-size: 1.35rem; }
    .lift-area__sub              { font-size: 0.9rem; margin: 0 0 12px; }
    .lift-area                   { min-height: 260px; }
    .quote-manifest              { min-height: 80px; margin-bottom: 20px; }
    .quote-manifest__text        { font-size: 16px; padding-left: 14px; }
    .sticky-card__metrics        { gap: 8px; }
    .sticky-card__metrics span   { font-size: 0.8rem; padding: 6px 10px; }
    .sticky-card                 { padding: 28px 16px; min-height: auto; }
    .sticky-card__title          { font-size: 1.35rem; margin: 0 0 10px; }
    .sticky-card__text           { font-size: 0.95rem; margin: 0 0 16px; }
    .video-card__wrap            { flex-direction: column; }
    .video-card__player          { flex: 1 1 100%; aspect-ratio: 9 / 16; }
    .stock-card .sticky-card__title { font-size: 1.25rem; flex-wrap: wrap; }
    .status-block__title         { font-size: 16px; }
    .status-block__desc          { font-size: 14px; }

    /* Bento */
    .bento                { padding: 48px 16px; }
    .bento__grid          { grid-template-columns: 1fr; gap: 20px; }
    .bento__card          { padding: 20px; border-radius: 20px; }
    .bento__card--showroom,
    .bento__card--stock,
    .bento__card--brands  { grid-column: span 1; }
    .bento__card--showroom { min-height: 220px; aspect-ratio: 4 / 3; }
    .showroom-accordion__panel { min-width: 40px; }
    .bento__card--showroom .bento__card-title { font-size: 1.2rem; }
    .bento__card--brands  { padding: 28px 16px; }
    .bento__card--brands .bento__card-title { font-size: 1.1rem; margin: 0 0 20px; }
    .bento__card--brands .bento__slider-wrap:not(:last-child) { margin-bottom: 16px; }
    .bento__slider-wrap   { padding: 24px 16px; }
    .bento__slider        { gap: 24px; }
    .bento__slider-item img  { height: 32px; max-width: 80px; }
    .bento__slider-item span { font-size: 0.75rem; }

    /* Toned-down brand hover on touch */
    .bento__slider.brand-hover .bento__slider-item:hover { transform: scale(1.15); }
    .bento__slider.brand-hover .bento__slider-item.brand-before,
    .bento__slider.brand-hover .bento__slider-item.brand-after {
        transform: scale(0.7);
        filter: blur(4px);
    }

    /* Tooltip mobile sizing */
    .bento__badge-tooltip { width: min(260px, calc(100vw - 32px)); }

    /* Video section */
    .video-section       { padding: 60px 0; }
    .video-section__inner { flex-direction: column; padding: 0 16px; gap: 28px; }
    .video-section__left,
    .video-section__right { flex: 1 1 100%; }
    .video-section__title { font-size: 1.6rem; }
    .video-section__text  { font-size: 1rem; margin: 0 0 1.5rem; }
    .video-section__counter { font-size: 3rem; }
    .video-section__grid  { flex-direction: column; gap: 12px; }
    .video-section__thumb { min-width: 100%; }
    .video-section__play  { opacity: 1; width: 48px; height: 48px; }

    /* Disable :has() hover on mobile — thumbs stack vertically */
    .video-section__grid:has(.video-section__thumb:hover) .video-section__thumb,
    .video-section__grid[class*="js-hover-"] .video-section__thumb {
        transform: none;
    }

    /* Client switcher */
    .client-switcher       { padding: 50px 16px; }
    .client-switcher__toggle { width: 100%; max-width: 300px; height: 46px; }
    .client-switcher__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .client-switcher__card { min-height: 180px; height: 180px; }
    .client-switcher__card .client-switcher__icon { width: 100px; height: 100px; }
    .client-switcher__card .client-switcher__first span { font-size: 14px; }
    .client-switcher__card .client-switcher__second { font-size: 0.9rem; }

    /* CTA */
    .cta          { padding: 70px 16px; }
    .cta__title   { font-size: 1.75rem; margin: 0 0 1.5rem; }
    .cta__buttons { flex-direction: column; gap: 12px; align-items: center; }
    .cta__btn     { width: 100%; max-width: 280px; padding: 14px 24px; }

    /* Video modal */
    .video-modal        { padding: 16px; align-items: flex-start; padding-top: 48px; }
    .video-modal__inner { max-width: 100%; }
    .video-modal__close { top: 8px; right: 8px; width: 40px; height: 40px; }

    /* Video section: disable hover effect on mobile */
    .video-section__inner { flex-direction: column; }
    .video-section__left,
    .video-section__right { flex: 1 1 100%; }

    /* Contact modal */
    .aber-modal__box { padding: 32px 20px; }
}


/* ==========================================================================
   RESPONSIVE — Small phones (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
    .hero__title         { font-size: 1.65rem; }
    .hero__subtitle      { font-size: 0.95rem; }
    .lift-area__heading  { font-size: 1.2rem; }
    .sticky-card__title  { font-size: 1.2rem; }
    .bento__card--brands .bento__card-title { font-size: 1rem; }
    .video-section__title   { font-size: 1.4rem; }
    .video-section__counter { font-size: 2.5rem; }
    .cta__title          { font-size: 1.5rem; }
    .client-switcher__grid { grid-template-columns: 1fr; }
    .client-switcher__card { min-height: 160px; height: 160px; }
}


/* ==========================================================================
   RESPONSIVE — Video section (≤ 900px)
   ========================================================================== */
@media (max-width: 900px) {
    .video-section__inner {
        flex-direction: column;
    }
    .video-section__left,
    .video-section__right {
        flex: 1 1 100%;
    }
    .video-section__grid {
        flex-direction: column;
    }
    .video-section__grid:has(.video-section__thumb:nth-child(1):hover) .video-section__thumb:nth-child(1),
    .video-section__grid:has(.video-section__thumb:nth-child(2):hover) .video-section__thumb:nth-child(2),
    .video-section__grid:has(.video-section__thumb:nth-child(3):hover) .video-section__thumb:nth-child(3) {
        transform: none;
    }
    .video-section__grid:has(.video-section__thumb:hover) .video-section__thumb {
        transform: none;
    }
}
