/* ==========================================================================
   Таксопарк «Вектор» г. Пермь — Mobile-First Clean Store CSS
   ========================================================================== */

/* Viewport Root - Using overflow-x: clip so position: sticky is NEVER broken */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

#wrapwrap {
    width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* Sticky Header enforcement */
.sticky-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

/* Remove underline from all links globally (except explicit legal links) */
a, a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
}

.legal-link, .legal-link:hover {
    text-decoration: underline !important;
}

/* Social & Platform Messenger Pills with Warm Gold Glow */
.social-pill {
    background-color: #FFFFFF !important;
    border: 1px solid #E4E4E7 !important;
    color: #18181B !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.social-pill:hover, .social-pill:focus {
    border-color: #EAB308 !important;
    background-color: #FFFDF5 !important;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3) !important;
    transform: translateY(-1.5px) !important;
    color: #18181B !important;
    text-decoration: none !important;
}

/* Reviews Carousel: Extra vertical breathing room */
.reviews-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-top: 12px !important;
    padding-bottom: 16px !important;
    margin-top: -12px !important;
    margin-bottom: -16px !important;
}

.review-slide {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Base & Typography */
body {
    background-color: #F7F6F2 !important;
    color: #18181B !important;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
    letter-spacing: -0.01em;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .serif-heading {
    font-family: 'Unbounded', 'Manrope', system-ui, sans-serif !important;
}

.serif-heading {
    font-family: 'Unbounded', 'Manrope', system-ui, sans-serif !important;
    letter-spacing: -0.03em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Primary CTA Button */
.btn-gold {
    background-color: #EAB308 !important;
    color: #18181B !important;
    font-weight: 700 !important;
    border-radius: 9999px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35) !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap !important;
}

@media (min-width: 640px) {
    .btn-gold {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

.btn-gold:hover {
    background-color: #FACC15 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.45) !important;
    color: #18181B !important;
}

.btn-gold:active {
    transform: translateY(0);
}

/* Secondary Outline Button */
.btn-outline {
    background-color: transparent !important;
    color: #18181B !important;
    border: 1px solid #D4D4D8 !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap !important;
}

@media (min-width: 640px) {
    .btn-outline {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }
}

.btn-outline:hover {
    background-color: #FFFFFF !important;
    border-color: #EAB308 !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.15) !important;
    color: #18181B !important;
}

/* Clean Studio Card */
.card-studio {
    background-color: #FFFFFF !important;
    border: 1px solid #E4E4E7 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card-studio:hover {
    border-color: #EAB308 !important;
    box-shadow: 0 16px 32px -8px rgba(234, 179, 8, 0.25), 0 0 0 1px rgba(234, 179, 8, 0.2) !important;
    transform: translateY(-2px);
}

/* Swatches & Model Pills */
.swatch-btn {
    border: 1px solid #E4E4E7;
    background-color: #FFFFFF;
    color: #52525B;
    transition: all 0.2s ease;
    cursor: pointer;
}

.swatch-btn:hover {
    border-color: #EAB308;
    color: #18181B;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}

.swatch-btn.active {
    border-color: #EAB308 !important;
    background-color: #EAB308 !important;
    color: #18181B !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35) !important;
}

.model-pill {
    border: 1px solid #E4E4E7;
    background-color: #FFFFFF;
    color: #52525B;
    transition: all 0.2s ease;
    cursor: pointer;
}

.model-pill:hover {
    border-color: #EAB308;
    color: #18181B;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.15);
}

.model-pill.active {
    border-color: #EAB308 !important;
    background-color: #EAB308 !important;
    color: #18181B !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35) !important;
}

/* Inputs */
.input-gold {
    background-color: #F7F6F2;
    border: 1px solid #E4E4E7;
    transition: all 0.2s ease;
}

.input-gold:focus {
    outline: none;
    border-color: #EAB308;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25);
}

/* Hero UMO 360 Card */
.umo-hero-card {
    background: #DFE0E2;
    border: 1px solid #D4D4D8;
    transition: all 0.3s ease;
}

.umo-hero-card:hover {
    border-color: #EAB308;
    box-shadow: 0 16px 32px -8px rgba(234, 179, 8, 0.25);
}

.umo-video-fullbleed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Reviews Carousel */
.reviews-track {
    display: flex;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    will-change: transform;
    cursor: grab;
}
.reviews-track:active {
    cursor: grabbing;
}

.review-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .review-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 1024px) {
    .review-slide {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Checkbox */
.legal-checkbox {
    accent-color: #EAB308;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    cursor: pointer;
}

/* Container Width Constraints (Desktop) */
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
