/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background: #0a0a0a;
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Цветовые классы */
.red-text { color: #e53935; }
.orange-text { color: #ff5722; }
.silver-text { color: #c0c0c0; }

.red-bg { background: #e53935; }
.orange-bg { background: #ff5722; }
.dark-bg { background: #1a1a1a; }
.black-bg { background: #0a0a0a; }

/* Типография */
h1, h2, h3, h4, .logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 #e53935;
}

.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff5722;
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #e53935;
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% { clip: rect(20px, 9999px, 25px, 0); }
    5% { clip: rect(15px, 9999px, 30px, 0); }
    10% { clip: rect(40px, 9999px, 45px, 0); }
    15% { clip: rect(60px, 9999px, 65px, 0); }
    20% { clip: rect(80px, 9999px, 85px, 0); }
    25% { clip: rect(100px, 9999px, 105px, 0); }
    30% { clip: rect(20px, 9999px, 25px, 0); }
    35% { clip: rect(40px, 9999px, 45px, 0); }
    40% { clip: rect(60px, 9999px, 65px, 0); }
    45% { clip: rect(80px, 9999px, 85px, 0); }
    50% { clip: rect(100px, 9999px, 105px, 0); }
    55% { clip: rect(20px, 9999px, 25px, 0); }
    60% { clip: rect(40px, 9999px, 45px, 0); }
    65% { clip: rect(60px, 9999px, 65px, 0); }
    70% { clip: rect(80px, 9999px, 85px, 0); }
    75% { clip: rect(100px, 9999px, 105px, 0); }
    80% { clip: rect(20px, 9999px, 25px, 0); }
    85% { clip: rect(40px, 9999px, 45px, 0); }
    90% { clip: rect(60px, 9999px, 65px, 0); }
    95% { clip: rect(80px, 9999px, 85px, 0); }
    100% { clip: rect(100px, 9999px, 105px, 0); }
}

@keyframes glitch-2 {
    0% { clip: rect(85px, 9999px, 90px, 0); }
    5% { clip: rect(65px, 9999px, 70px, 0); }
    10% { clip: rect(45px, 9999px, 50px, 0); }
    15% { clip: rect(25px, 9999px, 30px, 0); }
    20% { clip: rect(5px, 9999px, 10px, 0); }
    25% { clip: rect(85px, 9999px, 90px, 0); }
    30% { clip: rect(65px, 9999px, 70px, 0); }
    35% { clip: rect(45px, 9999px, 50px, 0); }
    40% { clip: rect(25px, 9999px, 30px, 0); }
    45% { clip: rect(5px, 9999px, 10px, 0); }
    50% { clip: rect(85px, 9999px, 90px, 0); }
    55% { clip: rect(65px, 9999px, 70px, 0); }
    60% { clip: rect(45px, 9999px, 50px, 0); }
    65% { clip: rect(25px, 9999px, 30px, 0); }
    70% { clip: rect(5px, 9999px, 10px, 0); }
    75% { clip: rect(85px, 9999px, 90px, 0); }
    80% { clip: rect(65px, 9999px, 70px, 0); }
    85% { clip: rect(45px, 9999px, 50px, 0); }
    90% { clip: rect(25px, 9999px, 30px, 0); }
    95% { clip: rect(5px, 9999px, 10px, 0); }
    100% { clip: rect(85px, 9999px, 90px, 0); }
}

h2.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 1px;
}

h2.section-title.light {
    color: #fff;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #e53935, #ff5722);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.subtitle {
    font-size: 1.4rem;
    color: #c0c0c0;
    margin-bottom: 2.5rem;
    max-width: 800px;
    font-weight: 300;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.section-subtitle.light {
    color: #ddd;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

.btn-primary {
    background: linear-gradient(45deg, #e53935, #ff5722);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #d32f2f, #f4511e);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #ff5722;
}

.btn-secondary:hover {
    background: #ff5722;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.4);
}

/* Хедер */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(229, 57, 53, 0.2);
}

#header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #e53935;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #e53935, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #e53935;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e53935, #ff5722);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.header-phone {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    background: #e53935;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.4);
}

.header-phone:hover {
    background: #ff5722;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #fff;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Секции */
.section {
    padding: 100px 0;
}

.dark-section {
    background: #1a1a1a;
}

.light-section {
    background: #fff;
    color: #333;
}

.light-section h2, .light-section h3 {
    color: #222;
}

.parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dark-overlay {
    background: rgba(10, 10, 10, 0.85);
}

.hero {
    background-image: url('images/garage-tools.jpg'); /* Технический гараж */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

.categories-parallax {
    background-image: url('images/engine-parts.jpg'); /* Детали двигателя */
}

.reviews-parallax {
    background-image: url('images/tires-stack.jpg'); /* Шины и диски */
}

/* О компании */
.about-text {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: #ddd;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(229, 57, 53, 0.3);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: #ff5722;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ff5722;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #c0c0c0;
}

/* Категории */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.category-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(229, 57, 53, 0.2), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(229, 57, 53, 0.2);
    border-color: #e53935;
}

.category-icon {
    font-size: 3.5rem;
    color: #ff5722;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.category-card p {
    color: #aaa;
    font-size: 1rem;
}

/* Бренды */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
}

.brand-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    width: 100%;
    max-width: 170px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.brand-logo:hover {
    transform: translateY(-5px);
    border-color: #ff5722;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.2);
}

.brand-logo img {
    max-width: 100%;
    max-height: 70px;
    filter: brightness(0) invert(1);
}

.light-section .brand-logo {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.light-section .brand-logo img {
    filter: none;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 40px 25px;
    background: #1a1a1a;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.light-section .advantage-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: #ff5722;
}

.advantage-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.advantage-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #aaa;
}

.light-section .advantage-card p {
    color: #666;
}

/* Слайдер отзывов */
.reviews-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.slider-container {
    display: flex;
    overflow: hidden;
    border-radius: 8px;
}

.review-card {
    min-width: 100%;
    padding: 50px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.review-text {
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #ddd;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 4rem;
    color: #ff5722;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.3;
    font-family: serif;
}

.review-author {
    font-weight: bold;
    color: #ff5722;
    font-size: 1.2rem;
    text-align: right;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(229, 57, 53, 0.8);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #e53935;
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: -80px;
}

.next {
    right: -80px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background: #ff5722;
    transform: scale(1.2);
    border-color: #fff;
}

/* Контакты */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-info h3, .map h3 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    color: #ff5722;
    font-size: 1.3rem;
    width: 40px;
    margin-top: 5px;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.contact-text a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: #ff5722;
    text-decoration: underline;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: 400px;
}

#map {
    width: 100%;
    height: 85%;
}

.map-note {
    font-size: 0.95rem;
    color: #888;
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.map-note i {
    margin-right: 10px;
    color: #ff5722;
}

/* Футер */
.footer {
    background: #0a0a0a;
    color: #aaa;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(229, 57, 53, 0.3);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    background: linear-gradient(45deg, #e53935, #ff5722);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link.vk { background: #4c75a3; }
.social-link.tg { background: #2aabee; }
.social-link.wa { background: #25d366; }
.social-link.phone { background: #e53935; }

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.footer-middle {
    margin-bottom: 40px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: #ff5722;
}

.footer-requisites {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-requisites p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-requisites strong {
    color: #fff;
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.9rem;
    color: #666;
}

/* Кнопка "Вверх" */
#toTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #e53935, #ff5722);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

#toTopBtn:hover {
    background: linear-gradient(45deg, #d32f2f, #f4511e);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
}

/* Адаптивность */
@media (max-width: 1200px) {
    h1 { font-size: 3.2rem; }
    h2.section-title { font-size: 2.4rem; }
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2.section-title { font-size: 2.2rem; }
    .prev { left: 20px; }
    .next { right: 20px; }
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .header-phone {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        z-index: 1000;
        border-top: 1px solid rgba(229, 57, 53, 0.3);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 15px 0;
    }
    .parallax {
        background-attachment: scroll; /* Отключаем параллакс на мобильных */
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.2rem; }
    h2.section-title { font-size: 1.8rem; }
    .subtitle { font-size: 1.2rem; }
    .section, .parallax { padding: 70px 0; }
    .categories-grid, .advantages-grid {
        grid-template-columns: 1fr;
    }
    .review-card {
        padding: 30px 20px;
    }
    .review-text {
        font-size: 1.1rem;
    }
    .stat-item {
        padding: 20px 10px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
	/* ==================== СЛАЙДЕР ОТЗЫВОВ (ИСПРАВЛЕННЫЙ) ==================== */
.reviews-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

.slider-container {
    position: relative;
    min-height: 250px;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(255, 87, 34, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.review-card.active {
    display: block;
    opacity: 1;
    position: relative;
}

.review-text {
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #ddd;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 4rem;
    color: #ff5722;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.3;
    font-family: serif;
}

.review-author {
    font-weight: bold;
    color: #ff5722;
    font-size: 1.2rem;
    text-align: right;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(229, 57, 53, 0.8);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #e53935;
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: -80px;
}

.next {
    right: -80px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 5;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.dot.active {
    background: #ff5722;
    transform: scale(1.2);
    border-color: #fff;
}

/* Ripple эффект для кнопок */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card.animated,
.advantage-card.animated,
.stat-item.animated,
.brand-logo.animated {
    animation: fadeInUp 0.6s ease forwards;
}

/* Для мобильных устройств */
@media (max-width: 992px) {
    .prev {
        left: 20px;
    }
    
    .next {
        right: 20px;
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .review-card {
        padding: 30px 20px;
    }
    
    .review-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
