html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* АНИМАЦИЯ ВРАЩЕНИЯ ЛОГОТИПА */
@keyframes logo-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ЦВЕТОВАЯ ПАЛИТРА И ХАЙ-ТЕК ПЕРЕМЕННЫЕ */
:root {
    --bg-main: #0a0b0d;
    --bg-alt: #111317;
    --bg-card: #16191f;
    --bg-card-nested: #20242d;
    --bg-footer: #050607;
    --text-main: #ffffff;
    --text-muted: #a2a8b5;
    
    --scrollbar-thumb: #2c323f;    
    
    --accent-sport: #ff3333;       /* Спортивный Красный */
    --accent-dynamic: #ff9933;     /* Динамичный Оранжевый */
    --border-sport: #cc0000;       
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.3);
    --metal-gradient: linear-gradient(135deg, #ffffff 0%, #b0b7c3 50%, #e5e5e5 100%);
    --btn-text: #0a0b0d;
    --glass-bg: rgba(22, 25, 31, 0.8);
    --bg-navbar: #0a0b0d;
    --navbar-scroll-offset: 0px;
}

body[data-theme="light"] {
    --bg-main: #f4f6f9;
    --bg-alt: #e6e9f0;
    --bg-card: #ffffff;
    --bg-card-nested: #f4f6f9;
    --bg-footer: #dbdfeb;
    --text-main: #12151c;
    --text-muted: #4e5566;
    
    --scrollbar-thumb: #b2b9c9;    
    
    --accent-sport: #ee1111;       
    --accent-dynamic: #ff8811;     
    --border-sport: #cc0000;
    
    --border-color: rgba(0, 0, 0, 0.09);
    --border-strong: rgba(0, 0, 0, 0.4);
    --metal-gradient: linear-gradient(135deg, #12151c 0%, #2c3241 50%, #1c1f26 100%);
    --btn-text: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --bg-navbar: #f4f6f9;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html {
    scroll-padding-top: var(--navbar-scroll-offset);
}

#contacts {
    scroll-margin-top: var(--navbar-scroll-offset);
}

/* PREMIUM ДИНАМИЧЕСКИЙ СКРОЛЛБАР */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
    border: 3px solid var(--bg-main); 
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-sport); 
}

.text-muted, .text-secondary {
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
}

.section-alt {
    background-color: var(--bg-alt);
    transition: background-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.serif-font {
    font-family: 'Playfair Display', serif;
}

/* Навигационная панель */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    z-index: 1050;
    background: var(--bg-navbar);
}
.navbar.scrolled {
    padding: 10px 0;
}
.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 6px;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-sport) !important;
}

@media (min-width: 992px) {
    .navbar-nav > .navbar-menu-item + .navbar-menu-item {
        margin-left: 12px;
    }

    .navbar-nav > .navbar-theme-item {
        margin-left: 16px !important;
    }

    .navbar-nav > .navbar-social-item {
        margin-left: 16px !important;
    }

    .navbar-menu-link {
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 9px 14px !important;
        border-radius: 4px;
        font-size: 0.88rem;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
        background: transparent;
        color: var(--text-main) !important;
        border: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .navbar-menu-link:hover,
    .navbar-menu-link.active {
        background: rgba(255, 51, 51, 0.08);
        color: var(--accent-sport) !important;
    }
}

/* МОБИЛЬНОЕ МЕНЮ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 24px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }
    body[data-theme="light"] .navbar-collapse {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    }
    .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 0 !important;
        margin: 0;
    }
    .navbar-collapse .navbar-nav > .nav-item {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
    }
    .navbar-collapse .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.35;
    }
    .navbar-collapse .navbar-menu-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 44px;
        padding: 10px 16px !important;
        border-radius: 4px;
        font-size: 0.95rem;
        font-weight: 600;
        background: transparent;
        color: var(--text-main) !important;
        border: none;
    }
    .navbar-collapse .navbar-menu-link:hover,
    .navbar-collapse .navbar-menu-link.active {
        background: rgba(255, 51, 51, 0.08);
        color: var(--accent-sport) !important;
    }
    .navbar-collapse .navbar-nav > .nav-item.navbar-theme-item,
    .navbar-collapse .navbar-nav > .nav-item.navbar-social-item {
        margin-left: 0 !important;
    }
    .navbar-collapse .theme-switch-wrapper {
        justify-content: center;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .navbar-collapse .contact-social--nav {
        padding: 0;
        margin: 0;
    }
}

/* Выравнивание переключателя темы */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    align-self: center;
}
.theme-switch-wrapper .form-switch {
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}
.theme-switch-label {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}

.theme-switch-caption {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    margin: 0 !important;
    user-select: none;
}

.theme-switch-caption:hover {
    color: var(--text-main);
}
.form-check-input-theme {
    cursor: pointer;
    width: 2.3em;
    height: 1.2em;
    margin: 0 !important;
    float: none !important;
    background-color: rgba(128, 128, 128, 0.3);
    border-color: transparent;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3ccircle cx='10' cy='10' r='7' fill='%23ffffff'/%3e%3c/svg%3e");
    transition: background-position 0.15s ease-in-out, background-color 0.3s;
}
.form-check-input-theme:checked {
    background-color: var(--text-main);
}

/* Кнопки */
.btn-silver {
    background: var(--accent-sport); 
    color: #ffffff !important; 
    font-weight: 600;
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
}
.btn-silver:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 51, 51, 0.2);
}
.btn-outline-silver {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-strong);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
}
.btn-outline-silver:hover {
    border-color: var(--accent-sport); 
    background: rgba(255, 51, 51, 0.08);
    color: var(--accent-sport); 
}

/* СЕТКА ПЕРВОГО ЭКРАНА */
.hero-section {
    position: relative;
    padding: 120px 0 60px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(128, 128, 128, 0.02) 0%, transparent 80%);
}
@media (min-width: 992px) {
    .hero-section {
        padding: 160px 0 100px 0;
    }
}
.hero-section h1 {
    font-size: clamp(2.0rem, 4.2vw, 3.5rem);
    line-height: 1.15;
}

/* Контейнер крыльчатки */
.hero-wheel-container {
    width: 100%;
    max-width: 290px;
    aspect-ratio: 1 / 1;
    margin: 20px auto 0 auto;
    background-image: var(--esg-img-vint);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}
@media (min-width: 576px) { .hero-wheel-container { max-width: 340px; } }
@media (min-width: 992px) {
    .hero-wheel-container {
        max-width: 500px;
        margin: 0 0 0 auto; 
    }
}
@media (min-width: 1400px) { .hero-wheel-container { max-width: 560px; } }

.hero-badge {
    background: rgba(128, 128, 128, 0.08);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-sport); 
    display: inline-block;
    margin-bottom: 20px;
}

/* Настройка секций */
.section-padding { padding: 60px 0; }
@media (min-width: 992px) { .section-padding { padding: 110px 0; } }

.section-title-sub {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-main);
    opacity: 0.6;
    margin-bottom: 12px;
    display: block;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    margin-bottom: 40px;
    line-height: 1.2;
}

/* ФИЧИ ПЕРВОГО ЭКРАНА */
.hero-features {
    width: 100%;
}

.feature-mini {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-mini__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 51, 51, 0.1);
    color: var(--accent-sport);
    font-size: 1.05rem;
}

.feature-mini__body {
    min-width: 0;
}

.feature-mini__title {
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.feature-mini__text {
    line-height: 1.4;
}

@media (hover: hover) {
    .feature-mini:hover {
        border-color: rgba(255, 51, 51, 0.35);
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    }

    body[data-theme="light"] .feature-mini:hover {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 575.98px) {
    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-features > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero-features > [class*="col-"]:last-child {
        grid-column: 1 / -1;
    }

    .feature-mini {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }

    .feature-mini__title {
        font-size: 0.9rem;
    }
}

.concept-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    transition: all 0.3s ease;
}
.concept-card:hover,
		.concept-highlight:hover {
    border-color: var(--accent-sport); 
    transform: translateY(-4px);
}
.concept-icon {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-sport); 
}

.concept-highlight {
			color: var(--text-main);
			font-size: 0.9rem;
			line-height: 1.65;
			background-color: var(--bg-card);
			border: 1px solid var(--border-color);
			padding: 30px;
			border-radius: 8px;
			height: 100%;
			transition: all 0.3s ease;
			margin: 20px 0;
		}
		.concept-callout {
			background-color: var(--bg-card);
			border: 1px solid var(--border-color);
			margin: 15px 0;
			border-radius: 8px;
			padding: 22px 24px;
			font-size: 0.95rem;
			line-height: 1.65;
			transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
		}
body[data-theme="light"] .concept-callout {
    background-color: rgba(255, 51, 51, 0.06);
}

/* Табы Каталога */
.nav-tabs-custom {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 35px;
    justify-content: center;
    gap: 5px;
}
.nav-tabs-custom .nav-link {
    background: transparent !important;
    border: none !important;
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
    font-weight: 600;
    padding: 10px 20px;
    color: var(--text-muted) !important;
    position: relative;
    transition: color 0.3s ease;
}
.nav-tabs-custom .nav-link:hover, .nav-tabs-custom .nav-link.active {
    color: var(--accent-sport) !important; 
}
.nav-tabs-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-sport); 
}

/* Карточки каталога */
.turbo-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.turbo-card:hover { 
    border-color: var(--accent-dynamic); 
    transform: translateY(-2px);
}
.turbo-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.turbo-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    opacity: 0.5;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.turbo-price {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    background: rgba(255, 51, 51, 0.10);
    border: 1px solid rgba(255, 51, 51, 0.25);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
    margin-bottom: 0;
    width: fit-content;
    max-width: 100%;
}
.turbo-price i { color: var(--accent-sport); opacity: 0.95; }
.turbo-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.turbo-prices--full {
    margin-bottom: 20px;
}
.turbo-price small {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.turbo-price--exchange {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}
body[data-theme="light"] .turbo-price--exchange {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}
.turbo-potential {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}
.turbo-potential i {
    color: var(--accent-sport);
    font-size: 0.95rem;
}
.turbo-card-content {
    flex-grow: 1;
}
.turbo-card-desc {
    position: relative;
    max-height: 2.85em;
    overflow: hidden;
    margin-bottom: 4px;
}
.turbo-card-desc__text {
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.turbo-card-desc::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5em;
    background: linear-gradient(to bottom, rgba(22, 25, 31, 0), var(--bg-card));
    pointer-events: none;
}
body[data-theme="light"] .turbo-card-desc::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg-card));
}
.turbo-link-btn {
    margin-top: 14px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 600;
}

/* Слайдер фото в карточке (Bootstrap Carousel) */
.turbo-gallery {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.06) 0%, transparent 70%);
    margin-bottom: 16px;
}
.turbo-gallery .carousel-item {
    aspect-ratio: 16 / 10;
}

.turbo-gallery .turbo-gallery-photo {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-card-nested);
}

.turbo-gallery .turbo-gallery-photo__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    filter: blur(22px) saturate(1.15) brightness(0.72);
    pointer-events: none;
    user-select: none;
}

.turbo-gallery .turbo-gallery-photo__link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.turbo-gallery .turbo-gallery-photo__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    filter: contrast(1.05) saturate(1.05);
}

.turbo-gallery__photo-link {
    display: block;
    width: 100%;
    height: 100%;
}

.turbo-gallery--catalog .turbo-gallery-photo__img {
    cursor: pointer;
}

.product-gallery-placeholder {
    overflow: hidden;
}

.turbo-gallery--compact.product-gallery-placeholder {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card-nested);
}

.product-gallery-placeholder__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    aspect-ratio: 16 / 10;
    padding: 1.5rem;
    text-align: center;
}

.product-gallery-placeholder__icon {
    font-size: 2rem;
    color: var(--text-muted);
    opacity: 0.65;
}

.product-gallery-placeholder__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.turbo-gallery--compact.product-gallery-placeholder .product-gallery-placeholder__inner {
    min-height: 0;
    padding: 1rem;
}

.turbo-gallery--compact .product-gallery-placeholder__icon {
    font-size: 1.5rem;
}

.turbo-gallery--compact .product-gallery-placeholder__text {
    font-size: 0.85rem;
}

.turbo-gallery .carousel-indicators {
    margin-bottom: 10px;
}
.turbo-gallery .carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.45);
    opacity: 1;
}
.turbo-gallery .carousel-indicators .active {
    background-color: var(--accent-sport);
}
.turbo-gallery .carousel-control-prev,
.turbo-gallery .carousel-control-next {
    width: 18%;
    opacity: 0.85;
}

.turbo-gallery--catalog .carousel-item {
    transition: none;
}

.turbo-gallery--catalog .carousel-control-prev,
.turbo-gallery--catalog .carousel-control-next {
    opacity: 0;
    pointer-events: none;
}

.turbo-gallery--catalog.is-hover-scrubbing {
    cursor: ew-resize;
}

.turbo-gallery--catalog.is-hover-scrubbing .carousel-indicators [data-bs-target] {
    opacity: 1;
}

.turbo-gallery--catalog .carousel-indicators {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.turbo-gallery--catalog.is-hover-scrubbing .carousel-indicators {
    opacity: 1;
}

@media (hover: none) {
    .turbo-gallery--catalog .carousel-control-prev,
    .turbo-gallery--catalog .carousel-control-next {
        opacity: 0.85;
        pointer-events: auto;
    }
}

/* Fullscreen галерея */
.modal-fullscreen .modal-content {
    background: rgba(10, 11, 13, 0.92);
    border: 0;
}
.gallery-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 20;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(22, 25, 31, 0.75);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gallery-modal-close:hover { border-color: rgba(255,255,255,0.35); }
.gallery-modal-carousel .carousel-item {
    height: 100vh;
}

.gallery-modal-carousel .turbo-gallery-photo--modal {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0a0a0a;
}

.gallery-modal-carousel .turbo-gallery-photo__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    filter: blur(28px) saturate(1.15) brightness(0.65);
    pointer-events: none;
    user-select: none;
}

.gallery-modal-carousel .turbo-gallery-photo__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 72px 4vw 60px 4vw;
    box-sizing: border-box;
}
.gallery-modal-carousel .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.gallery-modal-carousel .carousel-control-prev,
.gallery-modal-carousel .carousel-control-next {
    width: 12%;
    opacity: 0.9;
}
.turbo-title { font-size: 1.25rem; margin-bottom: 12px; }
.turbo-specs { list-style: none; padding: 0; margin: 20px 0; font-size: 0.9rem; }
.turbo-specs li { margin-bottom: 8px; display: flex; align-items: flex-start; }
.turbo-specs li i { font-size: 0.7rem; margin-right: 10px; margin-top: 5px; color: var(--accent-dynamic); opacity: 0.8; } 

.turbo-power-box {
    background-color: var(--bg-card-nested);
    border: 1px dashed var(--accent-dynamic); 
    padding: 14px;
    text-align: center;
    border-radius: 4px;
    margin-top: auto;
}
.turbo-power-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-dynamic); 
}

/* Списки шагов */
.step-item { position: relative; padding-bottom: 30px; }
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 44px;
    bottom: 0;
    width: 1px;
    background-color: var(--border-color);
}
.step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--bg-card-nested);
    border: 1px solid var(--accent-sport); 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-sport); 
    margin-right: 16px;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .step-num { width: 48px; height: 48px; margin-right: 24px; }
    .step-item:not(:last-child)::after { left: 24px; top: 48px; }
}
.step-content h4 { font-size: 1.15rem; margin-bottom: 6px; }

/* Логистика */
.logistics-box {
    
}
.logistics-options {
    --bs-gutter-y: 1rem;
}
.logistic-way {
    padding: 24px 22px;
    background-color: var(--bg-card-nested);
    border-radius: 8px;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.logistic-way:hover {
    border-color: var(--accent-sport);
    transform: translateY(-2px);
}
.logistic-way__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.35;
}
.logistic-way__title i {
    color: var(--accent-sport);
    opacity: 0.9;
}
.logistic-way__text {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 991.98px) {
    .logistics-intro {
        margin-bottom: 0.5rem;
    }
}

/* Отзывы */
.trust-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.rating-star { color: #ffca28; font-size: 1.2rem; margin-right: 3px; }

footer {
    padding: 60px 0 30px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-footer);
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.social-link:hover {
    transform: translateY(-2px) scale(1.06);
    opacity: 0.92;
}
.social-link--phone {
    position: relative;
}
.social-link__tooltip {
    position: absolute;
    left: 50%;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.social-link__tooltip--below {
    top: calc(100% + 10px);
    transform: translateX(-50%) translateY(-4px);
}
.social-link__tooltip--above {
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
}
@media (hover: hover) and (pointer: fine) {
    .social-link--phone:hover .social-link__tooltip,
    .social-link--phone:focus-visible .social-link__tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
.social-logo {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}
.social-logo--inline {
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.15em;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

.contact-social--nav {
    width: 100%;
    padding-top: 4px;
}

@media (min-width: 992px) {
    .contact-social--nav {
        width: auto;
        padding-top: 0;
    }
}

.contact-social--footer {
    justify-content: center;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons--start {
    margin-left: 0;
    margin-right: auto;
}

.contact-buttons__phone,
.contact-buttons__messengers {
    width: 100%;
}

.contact-buttons__item {
    font-weight: 500;
    min-height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.contact-buttons__item--phone {
    width: 100%;
    font-weight: 600;
    background: var(--bg-card);
}

.contact-buttons__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-buttons__item--messenger {
    flex: 1 1 calc(50% - 4px);
    min-width: calc(50% - 4px);
    background: var(--bg-card);
    box-shadow: none;
}

@media (hover: hover) {
    .contact-buttons__item:hover {
        border-color: rgba(255, 51, 51, 0.35);
        background: var(--bg-card);
        color: var(--text-main);
        transform: translateY(-1px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    }

    body[data-theme="light"] .contact-buttons__item:hover {
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    }
}

body[data-theme="light"] .contact-buttons__item {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body[data-theme="light"] .contact-buttons__item--messenger {
    box-shadow: none;
}

.contact-buttons__item--messenger:only-child {
    flex: 1 1 100%;
    min-width: 100%;
}

@media (min-width: 576px) {
    .contact-buttons__item--messenger {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 120px;
    }

    .contact-buttons__item--messenger:only-child {
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 280px;
    }
}

.contact-section {
    width: 100%;
}

@media (max-width: 575.98px) {
    .contact-buttons {
        max-width: none;
    }
}

/* ИНТЕГРАЦИЯ ВРАЩЕНИЯ ЛОГОТИПА */
.logo-img {
    display: block; /* Гарантирует правильную работу transform */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--esg-img-logo-white);
    width: 40px;
    height: 40px;
    transform-origin: center center; /* Точно по оси */
    animation: logo-spin 10s linear infinite;
    transition: color 0.3s ease, opacity 0.3s ease;
}
body[data-theme="light"] .logo-img {
    background-image: var(--esg-img-logo-black);
}

.scroll-top-btn {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 1040;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--glass-bg);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    border-color: var(--accent-sport);
    color: var(--accent-sport);
}
