:root {
    --color-bg: #F7F7F7;
    --color-primary-red: #CE353C;
    /* Match the vibrant red from the image */
    --color-text-dark: #333333;
    --color-text-muted: #666666;
    --color-gold: #A28A5B;
    /* The olive gold color of Emerica. */
    --color-white: #FFFFFF;

    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Oswald', sans-serif;

    --container-width: 1440px;
    --content-width: 1300px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus,
*:focus-visible,
*:active {
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
}

*::-moz-focus-inner {
    border: 0 !important;
}

button {
    border: 0 !important;
    outline: 0 !important;
}

button:focus,
button:active,
button:focus-visible,
button:focus-within {
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

button::-moz-focus-inner {
    border: 0 !important;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 40px;
    /* Base padding for large screens */
}

/* === HEADER === */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    /* Higher transparency for "glass" look */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    /* Slightly stronger shadow instead of border */
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    /* Added for absolute centering of nav */
}

.header .container {
    max-width: 1300px;
    padding: 0 40px;
}

.header__left {
    display: flex;
    align-items: center;
}

.header__logo-link {
    display: flex;
    align-items: center;
    z-index: 101;
    flex-shrink: 0;
    /* Logo never shrinks */
}

.logo-img {
    height: 40px;
    filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.9));
}

.header__nav {
    display: flex;
    gap: 35px;
    /* Modern wide spacing */
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__nav a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 6px 14px;
    border-radius: 99px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.header__nav a:hover {
    color: var(--color-primary-red);
    background: rgba(206, 53, 60, 0.05);
    /* Subtle pill background on hover */
}

.text-red {
    color: var(--color-primary-red) !important;
}

.header__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    /* min-width removed — was max-content which causes overflow on mobile */
}

.header__schedule {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.header__contacts-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.header__phone {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
    letter-spacing: 0.8px;
    transition: color 0.2s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.header__phone:hover {
    color: var(--color-primary-red);
}

.separator-line {
    width: 2px;
    height: 16px;
    background-color: var(--color-primary-red);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.9);
}

.header__socials {
    display: flex;
    gap: 6px;
    color: var(--color-primary-red);
    flex-wrap: nowrap;
    align-items: center;
    flex-shrink: 0;
}

.header__socials a {
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    display: flex;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}

.header__socials a:hover {
    transform: scale(1.15) translateY(-2px);
}

.header__socials a[aria-label="Viber"]:hover {
    color: #7360F2 !important;
}

.header__socials a[aria-label="WhatsApp"]:hover {
    color: #25D366 !important;
}

.header__socials a[aria-label="Telegram"]:hover {
    color: #2AABEE !important;
}

/* --- Mobile Components Base (Hidden on Desktop) --- */
.burger-btn,
.burger-btn *,
.burger-btn::before,
.burger-btn::after,
.burger-btn:focus,
.burger-btn:focus-visible,
.burger-btn:active,
.burger-btn:hover,
.burger-btn:focus-within,
.burger-btn.active,
.burger-btn.active *,
.burger-btn.active:focus,
.burger-btn.active:active,
.burger-btn.active:hover,
.burger-btn.active::before,
.burger-btn.active::after {
    outline: none !important;
    outline-width: 0 !important;
    outline-offset: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
}

.burger-btn {
    display: none;
    background: transparent !important;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    transition: 0.3s;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    position: relative;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 18px;
    height: 1px;
    background: #333;
    transition: 0.3s;
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.burger-btn span:focus,
.burger-btn span:active {
    outline: none !important;
    border: none !important;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-overlay {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    height: 100vh;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 5;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === MAIN CONTENT === */
main {
    flex: 1;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    padding-top: 150px;
    /* Slightly raised from 180px */
    padding-bottom: 80px;
    overflow: hidden;
    min-height: 600px;
    background-image:
        linear-gradient(to right, #ffffff 25%, rgba(255, 255, 255, 0.6) 45%, transparent 70%),
        url('painter-hero.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero__background-text {
    position: absolute;
    top: 130px;
    /* Lowered to clear fixed header */
    left: 40px;
    font-size: 260px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    z-index: 0;
    line-height: 0.8;
    pointer-events: none;
    letter-spacing: -12px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.hero__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Changed from center to allow manual vertical positioning */
    position: relative;
    z-index: 1;
    min-height: 500px;
}

.hero__text-area {
    padding-left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 450px;
}

.brand-name {
    color: var(--color-primary-red);
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0px;
    margin-left: 0;
    padding-left: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.7);
}

.product-title {
    font-size: 72px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    margin-left: 0;
    padding-left: 0;
    max-width: 100%;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.7);
}

.product-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 60px;
    text-align: left;
    letter-spacing: 0;
    line-height: 1.6;
    -webkit-text-stroke: 4px rgba(255, 255, 255, 0.9);
    paint-order: stroke fill;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5);
}

.product-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.btn-shop,
.price-box {
    text-decoration: none;
    padding: 16px 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-primary);
    width: 240px;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-shop {
    background-color: var(--color-primary-red);
    color: var(--color-white);
    border: 2px solid transparent;
    /* Match the 2px border of .price-box for height symmetry */
}

.btn-shop:hover {
    background-color: #b02a30;
    transform: translateY(-2px);
}

.price-box {
    border: 2px solid var(--color-primary-red);
    color: var(--color-primary-red);
    background-color: var(--color-white);
}

.price-box:hover {
    background-color: rgba(188, 30, 45, 0.05);
    transform: translateY(-2px);
}

/* Hero Image Area */
.hero__image-area {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-photo {
    width: 140%;
    max-width: 1200px;
    transform: translateX(5%);
    /* Adjust breakout to the right */
    filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.15));
    z-index: 2;
    mix-blend-mode: multiply;
    mask-image: radial-gradient(ellipse at center, black 65%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 65%, transparent 100%);
}

@media (max-width: 992px) {
    .main-photo {
        width: 100%;
        max-width: 600px;
        transform: none;
    }
}

/* === BENEFITS SECTION === */
.benefits {
    padding: 60px 0;
    background: var(--color-white);
    position: relative;
    z-index: 5;
    margin-top: -30px;
    /* Slight overlap with hero for better flow */
    width: 100%;
    overflow: hidden;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    background: #FAFAFA;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    background: var(--color-white);
    border-color: rgba(206, 53, 60, 0.08);
}

.benefit-item__icon {
    margin-bottom: 28px;
    color: var(--color-primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(206, 53, 60, 0.1);
}

.benefit-item:hover .benefit-item__icon {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(206, 53, 60, 0.12);
}

.benefit-item__icon svg {
    display: block;
}


.benefit-item__title {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--color-text-dark);
    line-height: 1.3;
    letter-spacing: 0.8px;
}

.benefit-item__text {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    font-weight: 400;
}

.benefit-item__text strong {
    font-weight: 600;
    color: var(--color-text-dark);
}

/* Decoration for hover state */
.benefit-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-red);
    transition: width 0.3s ease;
}

.benefit-item:hover::after {
    width: 100%;
}

@media (max-width: 1200px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 40px 0;
        margin-top: 0;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-item {
        padding: 30px;
    }
}



/* === SERVICES / PRICING SECTION === */
.services {
    padding: 100px 0;
    background: var(--color-bg);
    width: 100%;
    overflow: hidden;
}

.services__lead {
    text-align: center;
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: -40px;
    margin-bottom: 60px;
    font-weight: 500;
}

.services__lead strong {
    color: var(--color-text-dark);
}

/* --- Car Diagram --- */
.car-diagram-wrap {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 30px;
    align-items: center;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .car-diagram-wrap {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
}

.car-diagram-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-diagram-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.blueprint-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    display: block;
}

/* Dots */
.car-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(206, 53, 60, 0.25);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 0 rgba(206, 53, 60, 0);
    z-index: 10;
}

.car-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.car-dot:hover {
    background: rgba(206, 53, 60, 0.8);
    box-shadow: 0 0 15px rgba(206, 53, 60, 0.6);
    transform: translate(-50%, -50%) scale(1.3);
}

.car-dot:hover::after {
    background: #fff;
}


/* --- Info Panel --- */
.car-info-panel {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 30px 24px;
    height: 280px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.car-info-panel__default {
    text-align: center;
}

.car-info-panel__icon {
    margin: 0 auto 16px;
    width: 60px;
    height: 60px;
    background: rgba(206, 53, 60, 0.07);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-info-panel__hint {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    font-weight: 500;
}

.car-info-panel__active {
    width: 100%;
    display: none;
}

.car-info-panel__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 6px;
}

.car-info-panel__part {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.car-info-panel__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
}

.car-info-panel__price {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary-red);
    margin-top: 6px;
    margin-bottom: 16px;
}

.car-info-panel__note {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-weight: 500;
}

/* --- Price Grid --- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
}

.price-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.price-card--featured {
    background: var(--color-primary-red);
    border-color: transparent;
}

.price-card--featured .price-card__title {
    color: var(--color-white);
}

.price-card--featured .price-card__num {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.price-card--featured .price-list li span {
    color: rgba(255, 255, 255, 0.8);
}

.price-card--featured .price-list li strong {
    color: var(--color-white);
}

.price-card--featured .price-list li {
    border-color: rgba(255, 255, 255, 0.2);
}

.price-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.price-card--featured .price-card__head {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.price-card__num {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-red);
    border: 1px solid rgba(206, 53, 60, 0.2);
    border-radius: 6px;
    padding: 2px 7px;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-card__title {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    line-height: 1.2;
    letter-spacing: 0.5px;
    min-height: 44px;
    /* Обеспечивает одинаковую высоту для заголовков в 1 и 2 строки */
}

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 13px;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list li span {
    color: var(--color-text-muted);
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

.price-list li strong {
    color: var(--color-text-dark);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Car Types Grid for Full Paint Card */
.car-types-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.car-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    box-sizing: border-box;
}

.car-type-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.car-icon {
    width: 60px;
    height: 30px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-icon svg {
    width: 100%;
    height: 100%;
}

.car-type-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.3;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-type-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-secondary);
    letter-spacing: 0.3px;
}

/* --- Price Modifiers --- */
.price-modifiers {
    display: flex;
    gap: 16px;
}

.price-modifier {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 14px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.price-modifier strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.price-modifier p {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.price-modifier__badge {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary-red);
    flex-shrink: 0;
    min-width: 68px;
    text-align: center;
    background: rgba(206, 53, 60, 0.07);
    border-radius: 10px;
    padding: 8px 10px;
    line-height: 1;
}

.price-modifier__badge--green {
    color: #1a9e5c;
    background: rgba(26, 158, 92, 0.08);
}

/* Responsive */
@media (max-width: 1200px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-diagram-wrap {
        grid-template-columns: 1fr;
    }

    .car-info-panel {
        min-height: auto;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
    }

    .price-modifiers {
        flex-direction: column;
    }

    .car-diagram-wrap {
        display: none;
    }
}

/* Gallery Carousel */

.hero__gallery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: auto;
}

.nav-arrow {
    background: none;
    border: none;
    color: var(--color-primary-red);
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-arrow:hover {
    transform: scale(1.2);
}

.gallery-container {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: space-evenly;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 150px;
    max-width: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.05));
}

.gallery-item:hover img {
    transform: translateY(-5px) scale(1.05);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.item-info p {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-red);
}

/* === TIMELINE SECTION === */
.timeline {
    padding: 100px 0;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.timeline-card {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
    background: var(--color-white);
    border-color: rgba(206, 53, 60, 0.1);
}

.timeline-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.timeline-card__num {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-red);
    border: 1px solid rgba(206, 53, 60, 0.2);
    border-radius: 6px;
    padding: 2px 7px;
    flex-shrink: 0;
    margin-top: 2px;
}

.timeline-card__title {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.timeline-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.timeline-card__desc {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.timeline-card__time {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.timeline-card--featured {
    background: var(--color-primary-red);
    border-color: transparent;
}

.timeline-card--featured .timeline-card__head {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.timeline-card--featured .timeline-card__title {
    color: var(--color-white);
}

.timeline-card--featured .timeline-card__num {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.timeline-card--featured .timeline-card__desc {
    color: rgba(255, 255, 255, 0.8);
}

.timeline-card--featured .time-value {
    color: var(--color-white);
}

.timeline-card--featured .time-unit {
    color: rgba(255, 255, 255, 0.8);
}

.timeline-card--featured:hover {
    background: #b02a30;
    border-color: transparent;
}

.time-value {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary-red);
    line-height: 1;
}

.time-unit {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-dark);
}

.timeline-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 10px;
    color: var(--color-text-muted);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline-note svg {
    color: var(--color-primary-red);
    flex-shrink: 0;
}

.timeline-note p {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1200px) {
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline {
        padding: 60px 0;
    }

    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .timeline-card {
        padding: 20px 12px;
    }

    .time-value {
        font-size: 32px;
    }

    .time-unit {
        font-size: 11px;
    }

    .timeline-card__title {
        font-size: 13px;
    }

    .timeline-card__desc {
        font-size: 11px;
    }
}

/* === BEFORE/AFTER SECTION === */
.before-after {
    padding: 100px 0;
    background-color: var(--color-white);
    width: 100%;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* More spacing for premium look */
    color: var(--color-text-muted);
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-family: var(--font-secondary);
    /* Back to the powerful Oswald */
    font-size: 64px;
    /* Impactful size */
    font-weight: 800;
    /* Back to bold weight */
    margin: 0;
    color: var(--color-text-dark);
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    max-width: 100%;
    word-wrap: break-word;
}

.section-title span {
    color: var(--color-primary-red);
}

.text-red {
    color: var(--color-primary-red);
}

.before-after-grid {
    display: grid;
    /* FIX: Use min() to prevent cards from exceeding viewport on mobile */
    grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr));
    gap: 30px;
}

.before-after-wrapper {
    overflow: visible;
}

.comparison-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f5f5f5;
    cursor: ew-resize;
    user-select: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-img.before {
    z-index: 2;
    /* width is now 100%, clipping is done via clip-path in JS */
    width: 100% !important;
    pointer-events: none;
    /* Let clicks pass to the card for dragging */
}

/* Ensure images are always full size and not shrinking */
.comparison-img img {
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.comparison-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 1);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    transition: scale 0.2s ease;
}

.comparison-card:active .slider-handle {
    scale: 1.1;
}

/* Mobile Nav - Hidden on Desktop */
.mobile-nav-comparison {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-arrow:hover {
    border-color: var(--color-primary-red);
}

.dots-indicator {
    display: flex;
    gap: 8px;
}

.dot {
    height: 6px;
    width: 20px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.dot.active {
    width: 45px;
    background: var(--color-primary-red);
}

/* === FOOTER === */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 0;
    margin-top: 60px;
    background-color: transparent;
    width: 100%;
    overflow: hidden;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.footer__logo-img {
    height: 35px;
}

.footer__desc {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.footer__right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
    max-width: 300px;
}

.footer__company,
.footer__text,
.footer__copyright {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.footer__company {
    font-weight: 700;
    color: var(--color-text-dark);
}

/* === CONTACTS SECTION === */
.contacts {
    padding: 100px 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contacts__background-text {
    position: absolute;
    top: 60px;
    right: 40px;
    font-size: 200px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    z-index: 0;
    line-height: 0.8;
    pointer-events: none;
    letter-spacing: -8px;
    text-transform: uppercase;
    font-family: var(--font-primary);
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}

.contacts__main-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* V3 Strict Minimalism Card Styles */
.v3-card {
    background: white;
    border: 2px solid var(--color-primary-red);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.v3-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('brocken-car.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    z-index: 0;
}

.v3-card > * {
    position: relative;
    z-index: 1;
}

.v3-title {
    font-family: var(--font-secondary);
    font-size: 32px;
    margin: 0 0 10px 0;
    color: var(--color-primary-red);
    text-transform: uppercase;
}

.v3-desc {
    font-size: 15px;
    color: var(--color-text-dark);
    margin: 0 0 25px 0;
    line-height: 1.5;
    text-shadow:
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        0 0 8px rgba(255, 255, 255, 0.8);
}

.v3-icons-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.v3-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: transparent;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-icon:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.v3-divider {
    width: 100%;
    height: 1px;
    background: #EAEAEA;
    margin: 30px 0;
    position: relative;
}

.v3-divider::after {
    content: "ИЛИ ПОЗВОНИТЕ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 15px;
    font-size: 11px;
    color: #888;
    font-weight: 700;
}

/* Payment Methods in CTA Block */
.payment-methods-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.payment-title {
    text-align: center;
    margin-bottom: 30px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 32px;
    background: #FAFAFA;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.payment-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    background: var(--color-white);
    border-color: rgba(206, 53, 60, 0.08);
}

.payment-item__title {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--color-text-dark);
    line-height: 1.3;
    letter-spacing: 0.8px;
}

.payment-item__title iconify-icon {
    color: var(--color-primary-red);
}

.payment-item__text {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    font-weight: 400;
    margin: 0;
}

/* Decoration for hover state */
.payment-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-red);
    transition: width 0.3s ease;
}

.payment-item:hover::after {
    width: 100%;
}

/* Map Section */
.map-section {
    padding: 0 0 80px 0;
    /* Padding below the main contacts */
    background: var(--color-bg);
    width: 100%;
    overflow: hidden;
}

.map-layout {
    width: 100%;
}

.map-card {
    height: 600px;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    position: relative;
}

.map-card-address {
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
}

.map-address-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.map-address-icon {
    font-size: 32px;
    color: var(--color-primary-red);
}

.map-address-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-address-label {
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-address-value {
    font-size: 16px;
    color: var(--color-text-dark);
    font-weight: 700;
}

.map-route-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.map-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--color-text-dark);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    border: 1px solid #EAEAEA;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex: 1;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.map-route-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #DDDDDD;
}

.map-route-btn-text {
    font-weight: 500;
    white-space: nowrap;
}

.map-route-btn-text strong {
    font-weight: 800;
}

.route-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facade-photo {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    min-height: 250px;
}

.facade-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary-red);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(231, 38, 40, 0.4);
    z-index: 2;
}

.facade-badge svg {
    width: 16px;
    height: 16px;
}

.map-details {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.map-details h4 {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.map-details p {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.btn-map {
    display: block;
    width: 100%;
    text-align: center;
    background: #F8F9FA;
    color: var(--color-text-dark);
    font-size: 14px;
    padding: 15px;
    border-radius: 10px;
}

.btn-map:hover {
    background: #EAEAEA;
    color: var(--color-text-dark);
}

/* Working Hours inside CTA Block */
.working-hours-block {
    text-align: center;
    margin-top: 25px;
    padding: 18px;
    background: #FAFAFA;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px dashed #E0E0E0;
}

.working-hours-label {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.working-hours-value {
    font-size: 16px;
    color: var(--color-text-dark);
}

/* ========================================= */
/* Process Section (Variant 3)               */
/* ========================================= */
.process-section {
    padding: 80px 0 60px 0;
    background: var(--color-bg);
    width: 100%;
    overflow: hidden;
}

.process-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 20%;
    z-index: 2;
    position: relative;
}

.p-title {
    font-family: var(--font-secondary);
    font-size: 18px;
    color: var(--color-text-dark);
    margin: 15px 0 5px 0;
    text-transform: uppercase;
}

.p-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin: 0;
}

.v3-row {
    position: relative;
    padding-top: 30px;
}

.v3-line {
    position: absolute;
    top: 65px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #EAEAEA;
    z-index: 1;
}

.v3-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-primary-red);
    width: 0%;
    transition: width 0.5s ease;
}

.process-row:hover .v3-line-fill {
    width: 100%;
}

.v3-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-red);
    font-size: 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.process-step:hover .v3-icon-box {
    background: var(--color-primary-red);
    color: white;
    transform: scale(1.1);
}

/* === MATERIALS SECTION === */
.materials-section {
    padding: 100px 0;
    background: white;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.materials-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/paint-booth.webp') center/cover no-repeat;
    opacity: 0.15;
    filter: contrast(1.5) saturate(1.4) brightness(1.1);
    pointer-events: none;
    z-index: 0;
}

.materials-section .container {
    position: relative;
    z-index: 1;
}

.materials-content {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Compact Grid Layout */
.materials-compact-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.materials-compact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #EAEAEA;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Equipment Card */
.materials-compact-card--equipment {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    justify-content: center;
    border: 1px solid #E8E8E8;
}

.materials-compact-card--equipment::before {
    background: linear-gradient(90deg, #666 0%, #999 100%);
}

.equipment-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.equipment-icon-large iconify-icon {
    font-size: 50px;
    color: var(--color-primary-red);
    --svg-stroke-width: 1;
}

.equipment-icon-large iconify-icon svg {
    stroke-width: 1;
}

.materials-compact-card--equipment h3 {
    font-size: 18px;
    margin-bottom: 24px;
}

.materials-compact-card--equipment .compact-features {
    width: 100%;
}

/* Combined Brands Card - REMOVED */

.materials-compact-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: var(--color-primary-red);
}

.materials-compact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary-red) 0%, #E74C3C 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.materials-compact-card:hover::before {
    opacity: 1;
}

.compact-icon {
    width: 60px;
    height: 60px;
    background: #FAFAFA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.compact-icon iconify-icon {
    font-size: 32px;
    color: var(--color-primary-red);
}

.compact-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.materials-compact-card:hover .compact-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(206, 53, 60, 0.15);
}

.compact-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.materials-compact-card h3 {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.compact-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.compact-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
    border-bottom: 1px solid #F5F5F5;
    transition: all 0.2s ease;
}

.materials-compact-card:hover .compact-features li {
    padding-left: 4px;
}

.compact-features li:last-child {
    border-bottom: none;
}

.compact-features iconify-icon {
    font-size: 20px;
    color: var(--color-primary-red);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.feature-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.star-icon {
    width: 20px;
    height: 20px;
    color: #FFD700;
}

.faq-arrow {
    width: 20px;
    height: 20px;
}

.menu-arrow {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.materials-compact-card:hover .compact-features iconify-icon {
    transform: scale(1.1);
}

/* Equipment Block */
.materials-equipment {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid #EAEAEA;
}

.equipment-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.equipment-icon iconify-icon {
    font-size: 40px;
    color: var(--color-primary-red);
}

.materials-equipment h3 {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin: 0 0 24px 0;
}

.equipment-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.equipment-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.equipment-features iconify-icon {
    font-size: 20px;
    color: var(--color-primary-red);
}

/* Brands Grid */
.materials-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.brand-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #EAEAEA;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-color: var(--color-primary-red);
}

.brand-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: #FAFAFA;
    border-radius: 16px;
    padding: 20px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.brand-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-dark);
    border-bottom: 1px solid #F5F5F5;
}

.brand-features li:last-child {
    border-bottom: none;
}

.brand-features iconify-icon {
    font-size: 18px;
    color: var(--color-primary-red);
    flex-shrink: 0;
}

/* === GUARANTEE (TRUST) SECTION === */
.guarantee-section {
    padding: 100px 0;
    background: white;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.guarantee-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('quality.webp') center/cover no-repeat;
    opacity: 0.15;
    filter: contrast(1.5) saturate(1.4) brightness(1.1);
    pointer-events: none;
    z-index: 0;
}

.guarantee-section .container {
    position: relative;
    z-index: 1;
}

.guarantee-grid {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.guarantee-card {
    background: transparent;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guarantee-card--single {
    max-width: 600px;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.guarantee-card--single ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.guarantee-card--single li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-dark);
    padding: 16px 0;
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow:
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        0 0 8px rgba(255, 255, 255, 0.8);
}

.guarantee-card--single li::before {
    content: "✓";
    color: var(--color-primary-red);
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
    text-shadow:
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        0 0 8px rgba(255, 255, 255, 0.9);
}

.guarantee-card:hover {
    transform: translateY(-8px);
    box-shadow: none;
}

.guarantee-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #FEF2F2;
    color: var(--color-primary-red);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
}

@media (max-width: 576px) {
    .guarantee-card--single {
        padding: 32px 24px;
    }

    .guarantee-card--single li {
        font-size: 16px;
        padding: 12px 0 12px 32px;
    }

}

/* === FAQ SECTION === */
.faq-section {
    padding: 100px 0;
    background: white;
    width: 100%;
    overflow: hidden;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid #F0F0F0;
}

.faq-item:first-child {
    border-top: 1px solid #F0F0F0;
}

.faq-item__header {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item__header:hover .faq-item__question {
    color: var(--color-primary-red);
}

.faq-item__question {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
    flex: 1;
}

.faq-item__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F8F8F8;
    color: var(--color-text-dark);
    font-size: 20px;
    transition: all 0.3s ease;
}

.faq-item__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item__answer {
    padding-bottom: 30px;
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-list li {
    position: relative;
    padding-left: 20px;
}

.faq-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary-red);
}

.faq-item.active .faq-item__arrow {
    background: var(--color-primary-red);
    color: white;
    transform: rotate(180deg);
}

.faq-item.active .faq-item__content {
    max-height: 500px;
}

@media (max-width: 576px) {
    .faq-item__question {
        font-size: 16px;
        line-height: 1.4;
    }

    .faq-item__header {
        padding: 20px 0;
    }

    .faq-item__answer {
        font-size: 14px;
    }
}

/* === REVIEWS SECTION === */
.reviews-section {
    padding: 100px 0;
    background: var(--color-bg);
    width: 100%;
    overflow: hidden;
}

.reviews-slider-container {
    width: 100%;
    max-width: 1300px;
    margin: 40px auto 0;
    position: relative;
    padding: 0 50px;
    /* Space for the arrows */
}

.reviews-track-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.review-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--color-text-dark);
}

.review-nav-arrow:hover {
    border-color: var(--color-primary-red);
    color: var(--color-primary-red);
}

.review-nav-arrow:active {
    border-color: var(--color-primary-red);
    border-width: 3px;
    background: rgba(206, 53, 60, 0.05);
}

.review-prev {
    left: 10px;
}

.review-next {
    right: 10px;
}

.reviews-track {
    display: flex;
    gap: 30px;
    padding: 50px 20px;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: max-content;
}

.review-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.6;
    transform: scale(0.95);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card.active,
.review-card:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #FFC107;
    /* Yellow / Gold for stars */
    font-size: 20px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #EAEAEA;
    padding-top: 20px;
    margin-top: 10px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.review-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-text-dark);
}

.review-car {
    font-size: 13px;
    color: #888;
}

@media (max-width: 1300px) {
    .reviews-slider-container {
        padding: 0 20px;
    }

    .review-prev {
        left: 5px;
    }

    .review-next {
        right: 5px;
    }

    .review-card {
        flex: 0 0 350px;
    }
}

@media (max-width: 992px) {
    .reviews-slider-container {
        padding: 0 15px;
    }

    .review-card {
        flex: 0 0 320px;
        padding: 35px 25px;
    }

    .review-nav-arrow {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .reviews-track {
        padding: 40px 10px;
        gap: 20px;
    }

    .review-card {
        /* FIX: Fixed width for mobile */
        flex: 0 0 280px;
        padding: 28px 20px;
        border-radius: 16px;
        gap: 16px;
    }

    .review-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .review-stars {
        font-size: 18px;
        gap: 3px;
    }

    .review-avatar {
        width: 40px;
        height: 40px;
    }

    .review-name {
        font-size: 14px;
    }

    .review-car {
        font-size: 12px;
    }

    .review-author {
        padding-top: 14px;
        margin-top: 10px;
        gap: 12px;
    }

    .review-card.active {
        transform: scale(1);
    }
}

/* Mobile scroll indicators */
.review-scroll-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.review-dot.active {
    background: var(--color-primary-red);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 576px) {
    .reviews-slider-container {
        padding: 0;
    }

    .reviews-track-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 calc(50vw - 140px);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        max-width: 100%;
    }

    .reviews-track-wrapper::-webkit-scrollbar {
        display: none;
    }

    .reviews-track {
        padding: 40px calc(50vw - 140px);
        gap: 20px;
        transition: none;
    }

    .review-card {
        flex: 0 0 280px;
        padding: 28px 20px;
        border-radius: 16px;
        gap: 16px;
        scroll-snap-align: center;
    }

    .review-nav-arrow {
        display: none;
    }

    .review-scroll-indicators {
        display: flex;
    }
}

@media (max-width: 768px) {
    .reviews-slider-container {
        padding: 0 15px;
    }

    .review-card {
        flex: 0 0 300px;
    }

    .review-card.active {
        transform: scale(1.02);
    }

    .process-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .process-step {
        width: 100%;
        max-width: 300px;
    }

    .v3-line {
        display: none;
    }
}

/* Responsive Extra */
@media (max-width: 992px) {
    .contacts__main-row {
        grid-template-columns: 1fr;
    }

    .map-layout {
        height: auto;
    }

    .map-card {
        height: 500px;
    }

    .v3-card {
        padding: 30px 20px;
    }

    .payment-title {
        text-align: center;
        margin-top: 30px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .payment-item {
        padding: 24px 20px;
    }
}

@media (max-width: 576px) {
    .v3-title {
        font-size: 26px;
    }

    .v3-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .payment-grid {
        gap: 12px;
    }

    .payment-item {
        padding: 30px;
    }

    .payment-item__title {
        font-size: 16px;
    }

    .payment-item__text {
        font-size: 13px;
    }

    .map-card-address {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 20px;
    }

    .map-route-btn {
        width: 300px;
        max-width: 100%;
        justify-content: flex-start;
    }

    .contact-data-side {
        padding: 30px 20px;
    }

    .contacts__background-text {
        font-size: 32vw;
    }

    .map-card {
        height: 400px;
    }
}

@media (max-width: 1440px) {
    .header__left {
        gap: 30px;
    }

    .header__nav {
        gap: 16px;
    }
}

@media (max-width: 1280px) {
    .container {
        padding: 0 20px;
    }

    .logo-img {
        height: 34px;
    }

    .header__left {
        gap: 20px;
    }

    .header__nav {
        gap: 12px;
    }

    .header__schedule {
        font-size: 9px;
        margin-right: 10px;
    }
}

@media (max-width: 1180px) {
    .header__nav {
        gap: 6px;
    }

    .header__nav a {
        letter-spacing: 0;
    }

    /* Hide separator line so it doesn't create weird wraps */
    .separator-line {
        display: none;
    }

    .header__schedule {
        margin-right: 0;
    }
}

@media (max-width: 1100px) {
    .header {
        padding: 12px 0;
    }

    .header__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }

    .header .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header__left {
        width: auto;
    }

    .header__nav,
    .desktop-phone,
    .header__schedule {
        display: none !important;
    }

    /* Variant 5 Layout adjustments */
    .header__actions {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-direction: row;
        width: 100%;
    }

    .header__contacts-row {
        margin: 0;
        display: flex;
        justify-content: flex-end;
        margin-left: auto;
    }

    .header__phone {
        display: none;
    }

    .header__socials {
        display: flex;
        gap: 4px;
    }

    .header__socials a {
        /* FIX: Ensure 44px minimum touch target for accessibility */
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        background: transparent;
        padding: 0;
        border-radius: 10px;
        transition: transform 0.2s ease;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: none;
    }

    .header__socials a:hover {
        transform: scale(1.1);
    }

    .header__socials a img {
        width: 24px;
        height: 24px;
    }

    .burger-btn {
        display: flex;
        /* FIX: Ensure 44px minimum touch target for burger button */
        min-width: 44px;
        min-height: 44px;
    }

    .mobile-menu-overlay {
        display: flex;
    }

    .hero {
        padding-top: 120px !important;
        background-position: 75% center;
    }

    .hero__content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 0 !important;
    }

    .hero__text-area {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .product-title {
        font-size: 48px;
        margin-left: 0;
        text-align: left;
    }

    .product-subtitle {
        text-align: left;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .product-actions {
        justify-content: flex-start;
        width: 100%;
        flex-direction: row;
        gap: 12px;
    }

    .main-photo {
        width: 100%;
        max-width: 600px;
        transform: none;
    }

    .hero__background-text {
        font-size: 140px;
        top: 80px;
        /* Offset from fixed header */
        left: 50%;
        transform: translateX(-50%);
        color: rgba(0, 0, 0, 0.04);
        text-align: center;
    }

    .before-after,
    .materials-section,
    .guarantee-section,
    .faq-section,
    .reviews-section,
    .contacts {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .materials-grid,
    .guarantee-grid,
    .faq-container {
        margin-top: 40px;
    }

    .materials-content {
        margin-top: 40px;
        gap: 30px;
    }

    .materials-compact-grid {
        margin-top: 40px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .materials-compact-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 20px 16px;
        gap: 16px;
    }

    .equipment-icon-large {
        width: 70px;
        height: 70px;
        margin: 0;
        flex-shrink: 0;
    }

    .equipment-icon-large iconify-icon {
        font-size: 36px;
    }

    .compact-logo {
        width: 70px;
        height: 70px;
        margin: 0;
        padding: 14px;
        flex-shrink: 0;
    }

    .materials-compact-card h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .equipment-icon-large {
        width: 70px;
        height: 70px;
    }

    .equipment-icon-large iconify-icon {
        font-size: 36px;
    }

    .materials-compact-card--equipment h3 {
        font-size: 15px;
    }

    .compact-features li {
        font-size: 14px;
        padding: 10px 0;
        gap: 10px;
    }

    .compact-features iconify-icon {
        font-size: 18px;
    }

    .services__lead {
        margin-top: 10px;
        margin-bottom: 40px;
        text-align: left;
    }

    .section-title {
        font-size: 32px;
    }

    .before-after-wrapper {
        overflow: hidden;
    }

    .before-after-grid {
        display: flex;
        overflow: visible;
        gap: 0;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .comparison-card {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        aspect-ratio: 4/3;
        border-radius: 0;
    }

    .mobile-nav-comparison {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 120px !important;
        background-position: 70% center;
    }

    .product-title {
        font-size: 36px;
        /* Smaller to fit single line if possible */
    }

    .brand-name {
        font-size: 18px;
    }

    .product-actions {
        /* FIX: Stack CTA buttons vertically to prevent horizontal overflow */
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        gap: 10px;
    }

    .product-title {
        text-align: left;
        line-height: 1.1;
    }

    .product-subtitle {
        text-align: left;
    }

    .btn-shop,
    .price-box {
        width: 300px;
        max-width: 100%;
        padding: 16px 20px;
        font-size: 14px;
        min-height: 44px;
    }

    .hero__background-text {
        font-size: 110px;
        top: 80px;
        /* Offset from fixed header */
        color: rgba(0, 0, 0, 0.05);
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
    }

    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer__left,
    .footer__right {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .footer__right {
        text-align: center;
    }

    .section-title {
        font-size: 28px;
    }
}

/* Fix for background text overflow */
.hero,
.contacts {
    overflow-x: hidden;
}

/* === FLOATING ACTION BUTTONS === */
.fab-v2-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    z-index: 1000;
    pointer-events: none;
    /* Let clicks pass through container */
}

.fab-v2-up {
    width: 38px;
    height: 38px;
    background: white;
    color: #555;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #EFEFEF;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    /* Disabled until visible */
}

.fab-v2-up.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* Enable clicks */
}

.fab-v2-up:hover {
    transform: translateY(-3px) !important;
    background: #FAFAFA;
}

.fab-v2-call {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary-red);
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(206, 53, 60, 0.3);
    transition: all 0.3s ease;
    pointer-events: auto;
    /* Enable clicks */
    animation: pulse-red 2s infinite;
}

.fab-v2-call-text {
    display: flex;
    flex-direction: column;
}

.fab-v2-call-text strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

.fab-v2-call-text span {
    font-size: 9px;
    opacity: 0.9;
    margin-top: 3px;
}

.fab-v2-call:hover {
    background: #A9262C;
    transform: scale(1.03);
    animation: none;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(206, 53, 60, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(206, 53, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(206, 53, 60, 0);
    }
}

@media (max-width: 768px) {
    .fab-v2-container {
        bottom: 20px;
        right: 20px;
    }
}

/* === SCROLL ANIMATIONS === */
.fade-up,
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity;
}

.fade-up.is-visible,
.fade-in.is-visible,
.section-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grids */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* =============================================
   MOBILE RESPONSIVE FIXES (≤480px)
   Comprehensive fixes for small phone screens
   ============================================= */
@media (max-width: 480px) {

    /* FIX: Reduce container padding to gain horizontal space on small screens */
    .container {
        padding: 0 16px;
    }

    .header .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* FIX: Cap hero background text to prevent horizontal overflow */
    .hero__background-text {
        font-size: 70px;
        left: 50%;
        transform: translateX(-50%);
        letter-spacing: -4px;
        white-space: nowrap;
        max-width: 90vw;
    }

    /* FIX: Scale down product title for narrow screens */
    .product-title {
        font-size: 32px;
    }

    .product-subtitle {
        font-size: 15px;
    }

    .brand-name {
        font-size: 16px;
    }

    /* FIX: Reduce section padding on mobile for better vertical rhythm */
    .services {
        padding: 60px 0;
    }

    .services__lead {
        margin-top: 0;
        margin-bottom: 30px;
        font-size: 14px;
    }

    /* FIX: Reduce price card padding to prevent content clipping */
    .price-card {
        padding: 20px 16px;
    }

    /* FIX: Allow price values to wrap if needed */
    .price-list li strong {
        white-space: normal;
        text-align: right;
    }

    .price-list li {
        font-size: 12px;
    }

    /* FIX: Reduce price modifier padding */
    .price-modifier {
        padding: 14px 16px;
        gap: 12px;
    }

    .price-modifier__badge {
        font-size: 18px;
        min-width: 56px;
        padding: 6px 8px;
    }

    /* FIX: Scale down section titles to prevent overflow on narrow screens */
    .section-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .section-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* FIX: Reduce timeline padding and time-value size */
    .timeline {
        padding: 40px 0;
    }

    .time-value {
        font-size: 36px;
    }

    .timeline-card {
        padding: 20px 16px;
    }

    /* FIX: Reduce benefit card padding for mobile */
    .benefit-item {
        padding: 20px 16px;
    }

    /* FIX: Process section padding */
    .process-section {
        padding: 40px 0 30px 0;
    }

    /* FIX: Materials section padding */
    .materials-section {
        padding: 60px 0;
    }

    .materials-content {
        margin-top: 30px;
        gap: 20px;
    }

    .materials-compact-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .materials-compact-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 20px 16px;
        gap: 16px;
    }

    .compact-logo {

    /* Узкие логотипы для мобильных (-m.webp) */
    .compact-logo {
        width: 70px;
        height: 90px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .compact-logo img {
        border-radius: 8px;
        object-fit: contain;
    }

    /* Уменьшаем gap - текст занимает больше места */
    .materials-compact-card {
        gap: 10px;
    }

    .equipment-icon-large {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }

    .equipment-icon-large iconify-icon {
        font-size: 30px;
    }

    .compact-icon {
        width: 60px;
        height: 60px;
    }

    .compact-icon iconify-icon {
        font-size: 28px;
    }

    .materials-compact-card h3 {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: left;
    }

    .compact-features li {
        font-size: 12px;
        padding: 6px 0;
    }

    .compact-features iconify-icon {
        font-size: 16px;
    }


    /* FIX: Guarantee section padding for narrow screens */
    .guarantee-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .guarantee-section {
        padding: 60px 0;
    }

    .guarantee-card {
        padding: 28px 20px;
    }

    /* FIX: Guarantee section padding for narrow screens */
    .guarantee-card--single {
        padding: 28px 20px;
    }

    .guarantee-card--single li {
        font-size: 15px;
        padding: 10px 0 10px 28px;
    }

    /* FIX: FAQ section padding */
    .faq-section {
        padding: 60px 0;
    }

    .faq-container {
        margin-top: 30px;
    }

    .faq-item__question {
        font-size: 15px;
    }

    /* FIX: Reviews section — hide nav arrows that clip on small screens */
    .reviews-section {
        padding: 60px 0;
    }

    .reviews-slider-container {
        padding: 0 10px;
    }

    .reviews-track {
        padding: 30px 10px;
    }

    .review-card {
        gap: 16px;
        flex: 0 0 260px;
    }

    .review-card.active {
        transform: scale(1);
    }

    /* FIX: Contacts section */
    .contacts {
        padding: 50px 0;
    }

    .contacts__background-text {
        font-size: 24vw;
    }

    .v3-card {
        padding: 24px 16px;
    }

    .v3-title {
        font-size: 22px;
    }

    .v3-desc {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .v3-icon {
        width: 48px;
        height: 48px;
    }

    /* FIX: Map card address layout */
    .map-card-address {
        padding: 16px;
        gap: 12px;
    }

    .map-route-btn {
        width: 300px;
        max-width: 100%;
        padding: 16px 20px;
        font-size: 14px;
        min-height: 44px;
        justify-content: flex-start;
    }

    .map-card {
        height: 350px;
    }

    /* FIX: Footer padding */
    .footer {
        padding: 40px 0;
        margin-top: 30px;
    }

    /* FIX: Mobile menu link touch targets */
    .mobile-menu-overlay a {
        min-height: 44px;
        padding: 14px 0;
    }

    /* FIX: FAB buttons positioning for small screens */
    .fab-v2-container {
        bottom: 16px;
        right: 16px;
    }


    /* ВАРИАНТ 1: Усиленная пульсация */
    .fab-v2-call {
        padding: 16px 22px;
        border-radius: 50px;
        box-shadow: 0 8px 25px rgba(206, 53, 60, 0.5);
        animation: pulse-strong 1.5s infinite;
    }

    .fab-v2-call .fab-v2-call-text strong {
        font-size: 16px;
        font-weight: 800;
    }

    .fab-v2-call .fab-v2-call-text span {
        font-size: 10px;
    }

    .fab-v2-call iconify-icon {
        width: 28px;
        height: 28px;
    }

    @keyframes pulse-strong {
        0% {
            box-shadow: 0 0 0 0 rgba(206, 53, 60, 0.7);
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(206, 53, 60, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(206, 53, 60, 0);
            transform: scale(1);
        }
    }

    /* FIX: Working hours block in contacts */
    .working-hours-block {
        padding: 14px;
    }

    .working-hours-value {
        font-size: 14px;
    }

    /* FIX: Before/after gallery padding adjustment */
    .before-after {
        padding: 50px 0;
    }

    .comparison-card {
        border-radius: 8px;
    }

    .payment-item {
        padding: 18px 14px;
    }

    .payment-item__title {
        font-size: 15px;
    }

    .payment-item__text {
        font-size: 12px;
    }
}

/* =============================================
   EXTRA SMALL SCREENS (≤320px)
   Addresses the narrowest phones
   ============================================= */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }

    .header .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .product-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }

    .hero__background-text {
        font-size: 56px;
    }

    .v3-title {
        font-size: 20px;
    }

    /* FIX: Tighter price card styling for 320px */
    .price-card {
        padding: 16px 12px;
    }

    .price-list li {
        font-size: 11px;
        gap: 6px;
    }

    .review-card {
        flex: 0 0 240px;
        padding: 24px 16px;
        gap: 14px;
    }

    .review-text {
        font-size: 13px;
        line-height: 1.4;
    }

    .review-author {
        padding-top: 12px;
        margin-top: 6px;
        gap: 10px;
    }

    .review-stars {
        font-size: 16px;
        gap: 2px;
    }

    .reviews-slider-container {
        padding: 0 8px;
    }
}