/*
ДЕДЕКС - Лендинг средств от грызунов
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;900&display=swap');
        
@font-face {
    font-family: 'cc-ultimatum-heavy';
    src: url('../font/cc-ultimatum-heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    overflow-y: auto;
    transition: background 0.6s ease;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* Прелоадер */
.preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease, background 0.6s ease;
}

.preloader-wrapper.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    pointer-events: none !important;
}

.progress-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-circle circle {
    fill: none;
    stroke-width: 12;
}

.progress-bg {
    stroke: #e0e0e0;
}

.progress-bar {
    stroke-linecap: round;
    transition: stroke 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    font-weight: 600;
    color: #fff;
}

/* Основной контент */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    max-width: 100%;
    position: relative;
    min-height: calc(100vh - 40px);
    margin: 0;
    padding: 0;
    padding-top: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content.visible {
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column;
}

/* Хедер */
header {
    background: rgb(0 0 0 / 28%);
    padding: 30px 40px 15px;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
    width: 100%;
    margin-bottom: 0;
    font-family: 'cc-ultimatum-heavy', sans-serif;
    backdrop-filter: blur(15px);
}

header.header-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

header.header-scrolled { 
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    min-height: 60px;
    padding-bottom: 20px;
}

.header-menu-center {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-part {
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.logo-rat,
.logo-mouse {
    cursor: pointer;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-rat:hover,
.logo-mouse:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.logo-rat.active,
.logo-mouse.active {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-rat {
    max-width: 180px;
}

.logo-center {
    max-width: 60px;
    margin: 0 -45px;
    z-index: 2;
    position: relative;
}

.logo-mouse {
    max-width: 180px;
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 21px;
    font-weight: 900;
    font-family: 'cc-ultimatum-heavy', sans-serif;
    transition: opacity 0.3s;
    white-space: nowrap;
    letter-spacing: 1.2px;
    line-height: 1.3;
    transform: scaleY(1.1);
    text-transform: uppercase;
}

nav a:hover {
    opacity: 0.8;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 21px;
    font-weight: 900;
    font-family: 'cc-ultimatum-heavy', sans-serif;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.phone-icon {
    width: 24px;
    height: 19px;
    margin: 4px -11px 0px 0;
    fill: white;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    padding: 80px 30px 30px;
    z-index: 1000;
    transition: right 0.3s ease, background 0.6s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu.active {
    right: 0;
}

/* Скрываем кнопку scrollToTop когда мобильное меню открыто */
.mobile-menu.active ~ .scroll-to-top,
body:has(.mobile-menu.active) .scroll-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mobile-menu nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    flex: 1;
}

.mobile-menu nav a {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: opacity 0.3s;
}

.mobile-menu nav a:hover {
    opacity: 0.8;
}

.mobile-menu-phone {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu-phone .phone {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    transition: opacity 0.3s;
}

.mobile-menu-phone .phone:hover {
    opacity: 0.8;
}

.mobile-menu-phone .phone-icon {
    width: 20px;
    height: 14px;
    margin-top: 5px;
    margin-right: -12px;
    vertical-align: middle;
    object-fit: contain;
    transform: rotate(10deg);
}

/* Секции */
section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative; 
    width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 100px;
}

/* Фоновые элементы */
.bg-text {
    position: absolute;
    font-size: 51px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
}

.bg-text.top {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-circle {
    --size: 371px;
    --blur: 63px;
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%,
        #5FE9FF 0%,
        #2FD0F4 35%,
        #2BA0F3 70%,
        #2F6BF0 100%);
    filter: blur(var(--blur));
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
    will-change: transform, filter;
    transition: background 0.6s ease;
}

.bg-circle.left {
    left: -200px;
    top: 20%;
}

.bg-circle.right {
    right: -200px;
    bottom: 20%;
}

.bg-ellipse {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(180deg, #34C8FF 0%, #2F6BF0 100%);
    z-index: 2;
    pointer-events: none;
    will-change: transform;
    transition: background 0.6s ease;
}

.bg-ellipse.large { width: 123px; height: 123px; }
.bg-ellipse.small { width: 65px; height: 65px; }

/* Красная цветовая схема */
body[data-theme="red"] {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

body[data-theme="red"] header.header-scrolled {
    background: rgba(211, 47, 47, 0.95) !important;
}

body[data-theme="red"] .preloader-wrapper {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

body[data-theme="red"] .mobile-menu {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

body[data-theme="red"] .bg-ellipse {
    background: linear-gradient(180deg, #FF7B7B 0%, #D32F2F 100%);
}

body[data-theme="red"] .bg-circle {
    background: radial-gradient(50% 50% at 50% 50%,
        #FF9C9C 0%,
        #FF6A6A 35%,
        #E54B4B 70%,
        #D32F2F 100%);
}

body[data-theme="red"] .contact-btn {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

/* Белая карточка */
.white-card {
    background: white;
    border-radius: 30px;
    padding: 0 0px 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.white-card > .product-tabs {
    order: 1;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.white-card > div:not(.product-tabs) {
    order: 2;
    padding: 0 60px;
}

.white-card > *:not(.product-tabs):first-of-type {
    padding-top: 60px;
}

/* Белая карточка внутри FAQ должна иметь стандартные отступы */
.faq-page .white-card,
#faq .white-card {
    padding: 60px;
}

.faq-page .white-card > div:not(.product-tabs),
#faq .white-card > div:not(.product-tabs) {
    padding: 0;
}

.faq-page .white-card > *:not(.product-tabs):first-of-type,
#faq .white-card > *:not(.product-tabs):first-of-type {
    padding-top: 0;
}

/* Страница Продукция */
.product-page {
    position: relative;
}

.product-image-section {
    position: relative;
}

.product-carousel {
    position: relative;
}

.product-image-wrapper {
    position: relative;
    text-align: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 30px;
    overflow: hidden;
    touch-action: pan-x pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.product-image-wrapper:active {
    cursor: grabbing;
}

.product-image-wrapper img {
    width: 500px;
    height: 500px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 30px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    color: white;
    transition: all 0.6s ease;
}

.carousel-nav.next.theme-blue {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
}

.carousel-nav.next.theme-red {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

/* Индикатор стороны */
.image-side-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.side-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.side-dot.active {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    width: 30px;
    border-radius: 6px;
}

.side-dot.active.theme-blue {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
}

.side-dot.active.theme-red {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

/* Табы для продуктов */
.product-tabs {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-bottom: 0;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: stretch;
    position: relative;
}

.product-tab {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 30px;
    font-weight: 600;
    font-family: 'cc-ultimatum-heavy', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    border-radius: 0;
    opacity: 1;
    letter-spacing: 1px;
}

.product-tab:first-child {
    border-radius: 30px 0 0 0;
    padding: 15px 20px;
}

.product-tab:last-child {
    border-radius: 0 30px 0 0;
}

.product-tab.active {
    display: block;
}

.product-tab.theme-blue {
    background: linear-gradient(135deg, #22a3ee 0%, #3D5AF1 100%);
}

.product-tab.theme-red {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 50%, #8B0000 100%);
}

.product-tab:hover:not(.active) {
    opacity: 0.9;
    z-index: 2;
}

.product-info {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    border-radius: 30px;
    padding: 50px 30px;
    transition: background 0.6s ease, opacity 0.5s ease;
}

.product-info.theme-blue {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
}

.product-info.theme-red {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

.product-info h1 {
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-info .subtitle {
    font-size: 24px;
    color: white;
    margin-bottom: 30px;
    font-weight: 600;
}

.briquette-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.briquette-type-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.briquette-type-btn.active {
    background: white;
    color: #3D5AF1;
}

.briquette-type-btn:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.briquette-type-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.product-info.theme-blue .briquette-type-btn.active {
    color: #3D5AF1;
}

.product-info.theme-red .briquette-type-btn.active {
    color: #D32F2F;
}

.weight-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.weight-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease;
}

.weight-btn.active {
    background: white;
    color: #3D5AF1;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.weight-btn:not(.active) {
    background: #3D5AF1;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-info.theme-blue .weight-btn:not(.active) {
    background: #3D5AF1;
}

.product-info.theme-red .weight-btn:not(.active) {
    background: #D32F2F;
}

.product-info.theme-blue .weight-btn.active {
    color: #3D5AF1;
}

.product-info.theme-red .weight-btn.active {
    color: #D32F2F;
}

.product-description {
    color: white;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.instruction-btn {
    padding: 20px 50px;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.instruction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.instruction-btn.theme-blue {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
}

.instruction-btn.theme-red {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

/* Страница Инструкция */
.instruction-page {
    position: relative;
}

.important-section {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 50%, #8B0000 100%);
    color: #FFF9E6;
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.important-section h3 {
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
}

.important-section h3::before {
    content: '⚠️';
    font-size: 36px;
    display: inline-block;
}

.important-section p {
    font-size: 18px;
    color: #FFF9E6;
    opacity: 0.95;
}

.disclaimer-text {
    margin-top: 20px;
}

.disclaimer-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #FFF9E6;
}

.step-section {
    margin-bottom: 30px;
}

.step-header {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    transition: background 0.5s ease;
    text-transform: uppercase;
}

.step-header.second {
    background: linear-gradient(135deg, #1AC5DD 0%, #22D1EE 100%);
}

.step-header.theme-blue {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
}

.step-header.second.theme-blue {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
}

.step-header.theme-red {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

.step-header.second.theme-red {
    background: linear-gradient(135deg, #FF8A8A 0%, #FF6A6A 100%);
}

.step-content {
    background: white;
    padding: 40px;
    border-radius: 0 0 15px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.step-text h4 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.step-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.step-illustration {
    text-align: center;
}

.step-illustration img {
    max-width: 100%;
    height: auto;
}

/* Страница Борьба с контрафактом */
.counterfeit-page {
    position: relative;
}

.counterfeit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-package {
    text-align: center;
    position: relative;
}

.package-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    overflow: visible;
}

.package-image {
    position: relative;
    max-width: 100%;
    height: auto;
    display: inline-block;
    overflow: visible;
}

.package-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Интерактивные точки */
.hotspot {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform-origin: center;
}

.hotspot-dot {
    width: 20px;
    height: 20px;
    background: #3D5AF1;
    border: 3px solid white;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(61, 90, 241, 0.4);
}

.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #3D5AF1;
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.hotspot:hover .hotspot-dot {
    transform: scale(1.3);
    background: #FF6A6A;
    box-shadow: 0 4px 12px rgba(255, 106, 106, 0.6);
}

.hotspot:hover .hotspot-pulse {
    background: #FF6A6A;
    animation-duration: 1s;
}

.hotspot-tooltip {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    max-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.hotspot-tooltip p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Аккордеон контрафакт */
.counterfeit-accordion {
    margin-bottom: 30px;
}

.counterfeit-item {
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.counterfeit-question {
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #686868;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.6s ease;
}

.counterfeit-question:hover {
    color: #3D5AF1;
}

.counterfeit-question.active {
    color: #3D5AF1;
}

.counterfeit-question::after {
    content: url('../img/Arrowfaq.png');
    font-size: 16px;
    transition: transform 0.4s;
    transform: rotate(180deg);
}

.counterfeit-question.active::after {
    transform: rotate(0deg);
    content: url('../img/Arrowactive.png');
}

.counterfeit-answer {
    font-family: 'Poppins', sans-serif;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    padding: 0 20px;
    border-top: 1px solid #E9E9E9;
}

.counterfeit-answer.active {
    max-height: 1000px;
    padding: 16px 20px 20px 20px;
}

.counterfeit-answer h3 {
    font-size: 24px;
    color: #3D5AF1;
    margin-bottom: 20px;
    font-weight: 700;
}

.counterfeit-answer ul {
    list-style: none;
    color: #333;
    margin: 0;
    padding: 0;
}

.counterfeit-answer li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    line-height: 1.6;
}

.counterfeit-answer li:last-child {
    border-bottom: none;
}

.counterfeit-answer li:before {
    content: "✓ ";
    color: #3D5AF1;
    font-weight: bold;
    margin-right: 10px;
}

.counterfeit-callout {
    background: rgba(47, 160, 243, 0.08);
    border-left: 4px solid #3D5AF1;
    padding: 16px 20px;
    border-radius: 10px;
    margin: 10px 0 12px 0;
    color: #333;
    line-height: 1.7;
}

.counterfeit-callout.warn {
    background: rgba(255, 152, 0, 0.08);
    border-left-color: #FF9800;
}

.hotline {
    color: #3D5AF1;
    text-decoration: none;
    font-weight: 600;
}

.hotline:hover {
    text-decoration: underline;
}

.muted {
    color: #9A9A9A;
}

.contact-btn {
    margin-top: 40px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-decoration-line: none;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body[data-theme="red"] .faq-question.active,
body[data-theme="red"] .faq-question:hover,
body[data-theme="red"] .hotline,
body[data-theme="red"] .counterfeit-question.active,
body[data-theme="red"] .counterfeit-question:hover {
    color: #E53935;
}

body[data-theme="red"] .counterfeit-answer h3 {
    color: #E53935;
}

body[data-theme="red"] .counterfeit-answer li:before {
    color: #E53935;
}

body[data-theme="red"] .counterfeit-callout {
    border-left-color: #E53935;
    background: rgba(229, 57, 53, 0.08);
}

/* Страница FAQ */
.faq-page {
    position: relative;
}

.faq-title-bg {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.faq-title {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    padding: 20px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: #686868;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.6s ease;
}

.faq-question:hover {
    color: #3D5AF1;
}

.faq-question.active {
    color: #3D5AF1;
}

.faq-question::after {
    content: url('../img/Arrowfaq.png');
    font-size: 16px;
    transition: transform 0.4s;
    transform: rotate(180deg);
}

.faq-question.active::after {
    transform: rotate(0deg);
    content: url('../img/Arrowactive.png');
}

.faq-answer {
    font-family: 'Poppins', sans-serif;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: #3B3B3B;
    font-size: 18px;
    line-height: 1.8;
    padding: 0 20px;
    border-top: none;
}

.faq-answer.active {
    max-height: 500px;
    padding: 16px 20px 20px 20px;
    border-top: 1px solid #E9E9E9;
}

.faq-page img,
.faq-container img,
#faqContainer img,
.faq-item img,
.faq-answer img {
    pointer-events: none !important;
    cursor: default !important;
}

/* Футер */
footer {
    color: white;
    padding: 20px 40px 0;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    border-top: 2px solid rgb(255 255 255 / 14%);
    font-family: 'cc-ultimatum-heavy', sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
    padding-bottom: 20px;
}

.footer-section {
    min-width: 0;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 18px;
    white-space: nowrap;
}

.footer-section p,
.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.footer-section:nth-child(3) p {
    white-space: normal;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-section:nth-child(3) p img {
    margin: 3px -9px 0px 0;
    flex-shrink: 0;
    align-self: flex-start;
    transform: none;
}

.footer-section:nth-child(3) p span {
    display: inline-block;
    max-width: calc(100% - 30px);
    line-height: 30px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section a.underlined {
    text-decoration: underline;
}

.footer-section p img,
.footer-section a img {
    width: 20px;
    height: 17px;
    margin: 3px -9px 0px 0;
    flex-shrink: 0;
    object-fit: contain;
    transform: rotate(15deg);
}

/* Страницы контактов */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form h2 {
    font-size: 36px;
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    row-gap: 0;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
    /* margin-top: 25px; */
}

.form-group label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required-star {
    color: #D32F2F;
    font-size: 16px;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E9E9E9;
    border-radius: 12px;
    font-size: 18px;
    font-family: inherit;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3D5AF1;
    box-shadow: 0 0 0 3px rgba(61, 90, 241, 0.1);
}

body[data-theme="red"] .form-group input:focus,
body[data-theme="red"] .form-group textarea:focus {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Сообщения об ошибках */
.error-message {
    display: block;
    color: #D32F2F;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.error-message.show {
    opacity: 1;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group input.success,
.form-group textarea.success {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.submit-btn {
    padding: 18px 50px;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body[data-theme="red"] .submit-btn {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

.contact-info {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    border-radius: 30px;
    padding: 50px 40px;
    color: white;
}

body[data-theme="red"] .contact-info {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.contact-item {
    margin-bottom: 35px;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-item a,
.contact-item p {
    font-size: 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin: 7px 0 0 0;
}

/* Модалка успеха */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

body[data-theme="red"] .modal-icon {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

.modal h3 {
    font-size: 28px;
    font-weight: 900;
    color: #333;
    margin-bottom: 15px;
}

.modal p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.modal-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body[data-theme="red"] .modal-btn {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%);
}

/* Страница приватности */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 42px;
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.privacy-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #3D5AF1;
    margin-top: 40px;
    margin-bottom: 20px;
}

body[data-theme="red"] .privacy-content h2 {
    color: #D32F2F;
}

.privacy-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.privacy-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.privacy-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.privacy-content strong {
    color: #333;
    font-weight: 600;
}

.privacy-content a {
    color: #3D5AF1;
    text-decoration: none;
}

body[data-theme="red"] .privacy-content a {
    color: #D32F2F;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-date {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
    font-style: italic;
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed !important;
    bottom: 40px !important;
    right: 40px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    pointer-events: auto !important;
}

/* Пульсирующий круг под кнопкой */
.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(34, 209, 238, 0.5);
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

button.scroll-to-top.hidden,
.scroll-to-top.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
}

.scroll-to-top.hidden::before {
    display: none;
}

.scroll-to-top:not(.hidden):hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
}

/* Стили для синей темы (по умолчанию) */
body[data-theme="blue"] .scroll-to-top,
.scroll-to-top {
    background: linear-gradient(135deg, #22D1EE 0%, #3D5AF1 100%) !important;
}

body[data-theme="blue"] .scroll-to-top::before,
.scroll-to-top::before {
    border-color: rgba(34, 209, 238, 0.5);
}

/* Стили для красной темы */
body[data-theme="red"] .scroll-to-top {
    background: linear-gradient(135deg, #FF6A6A 0%, #D32F2F 100%) !important;
}

body[data-theme="red"] .scroll-to-top::before {
    border-color: rgba(255, 106, 106, 0.5);
}

/* Модальное окно для изображений */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Стили кнопки закрытия для синей темы */
body[data-theme="blue"] .image-modal-close {
    background: linear-gradient(135deg, rgba(34, 209, 238, 0.8) 0%, rgba(61, 90, 241, 0.8) 100%);
    color: white;
}

body[data-theme="blue"] .image-modal-close:hover {
    background: linear-gradient(135deg, rgba(34, 209, 238, 1) 0%, rgba(61, 90, 241, 1) 100%);
}

/* Стили кнопки закрытия для красной темы */
body[data-theme="red"] .image-modal-close {
    background: linear-gradient(135deg, rgba(255, 106, 106, 0.8) 0%, rgba(211, 47, 47, 0.8) 100%);
    color: white;
}

body[data-theme="red"] .image-modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 106, 106, 1) 0%, rgba(211, 47, 47, 1) 100%);
}

.product-image-wrapper img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-image-wrapper img:hover {
    transform: scale(1.02);
}

#counterfeitImage {
    pointer-events: none !important;
    cursor: default !important;
}

/* Медиа-запрос до ширины 1094px */
@media (max-width: 1094px) {
    .bg-ellipse.large {
        z-index: 1;
    }
}

/* Адаптивность для средних экранов */
@media (max-width: 1305px) and (min-width: 769px) {
    header {
        padding: 20px 30px 12px;
    }

    .main-content {
        padding-top: 90px;
    }

    .header-container {
        max-width: 100%;
    }

    .logo-rat,
    .logo-mouse {
        max-width: 140px;
    }

    .logo-center {
        max-width: 50px;
        margin: 0 -35px;
    }

    .header-menu-center {
        gap: 15px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 16px;
        letter-spacing: 0.8px;
    }

    .phone {
        font-size: 16px;
    }

    .phone-icon {
        width: 20px;
        height: 16px;
    }
}

/* Адаптивность для узких средних экранов */
@media (max-width: 1010px) and (min-width: 771px) {
    header {
        padding: 15px 20px 10px;
    }

    .main-content {
        padding-top: 80px;
    }

    .header-container {
        max-width: 100%;
        padding-bottom: 15px;
    }

    .logo-rat,
    .logo-mouse {
        max-width: 110px;
    }

    .logo-center {
        max-width: 40px;
        margin: 0 -28px;
    }

    .header-menu-center {
        gap: 10px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    nav {
        gap: 8px;
    }

    nav a {
        font-size: 14px;
        letter-spacing: 0.5px;
        padding: 0 2px;
    }

    .phone {
        font-size: 14px;
        gap: 5px;
    }

    .phone-icon {
        width: 18px;
        height: 14px;
        margin: 2px -8px 0 0;
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .product-container,
    .counterfeit-container,
    .step-content {
        grid-template-columns: 1fr;
    }

    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .white-card {
        padding: 0 0px 20px;
    }

    .white-card > div:not(.product-tabs) {
        padding: 0 40px;
    }

    .white-card > *:not(.product-tabs):first-of-type {
        padding-top: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .bg-ellipse.small {
        width: 65px;
        height: 65px;
        z-index: 1;
    }

    .briquette-type-btn {
        padding: 12px 19px;
        border: none;
        border-radius: 15px;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.6s ease;
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .weight-btn {
        padding: 12px 20px;
        border: none;
        border-radius: 15px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.6s ease;
    }

    .weight-selector {
        display: flex;
        gap: 5px;
        margin-bottom: 30px;
    }

    .briquette-type-selector {
        display: flex;
        gap: 5px;
        margin-bottom: 20px;
    }

    .product-info h1 {
        font-size: 30px;
        font-weight: 900;
        color: white;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .product-info .subtitle {
        font-size: 24px;
        color: white;
        margin-bottom: 11px;
        font-weight: 600;
    }

    header {
        padding: 15px 20px 10px;
    }

    .main-content {
        padding-top: 75px;
    }

    .white-card > .product-tabs {
        order: 1;
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 30px 30px 0 0;
        overflow: hidden;
    }

    .white-card > div:not(.product-tabs) {
        order: 2;
        padding: 0 20px;
    }

    .white-card > *:not(.product-tabs):first-of-type {
        padding-top: 40px;
    }

    .product-tab.active {
        display: block;
    }

    .product-tabs {
        flex-direction: row;
        gap: 0;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: stretch;
        margin-left: 0;
        margin-right: 0;
    }

    .product-tab {
        flex: 1;
        padding: 23px 20px;
        font-size: 23px;
        text-align: center;
        margin-right: 0;
        border-radius: 0;
        opacity: 1;
    }

    .product-tab:first-child {
        border-radius: 30px 0 0 0;
        padding: 23px 20px;
    }

    .product-tab:last-child {
        border-radius: 0 30px 0 0;
    }

    .header-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .header-menu-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
    }

    .header-menu-center nav {
        display: none;
    }

    .burger {
        display: flex;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .logo {
        gap: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .logo-rat {
        max-width: 140px;
    }

    .logo-center {
        max-width: 70px;
        margin: 0 -35px;
        z-index: 2;
        position: relative;
    }

    .logo-mouse {
        max-width: 140px;
    }

    section {
        padding: 30px 20px;
    }

    .white-card {
        padding: 0 0px 20px;
        border-radius: 30px;
        margin: 20px 0;
    }

    .white-card > div:not(.product-tabs) {
        padding: 0 20px;
    }

    .white-card > *:not(.product-tabs):first-of-type {
        padding-top: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .footer-section p,
    .footer-section a {
        font-size: 18px;
        text-align: left;
    }

    .bg-circle {
        --size: 220px;
        --blur: 40px;
    }
    
    .bg-circle.left { left: -110px; top: 30%; }
    .bg-circle.right { right: -110px; bottom: 10%; }

    .bg-ellipse {
        width: 180px;
        height: 90px;
    }

    .bg-ellipse.large {
        z-index: 1;
    }

    .scroll-to-top {
        bottom: 30px;
        right: 30px;
        width: 55px;
        height: 55px;
    }

    .scroll-to-top svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 30px 15px 10px;
    }

    .main-content {
        padding-top: 90px;
    }

    section {
        padding: 25px 15px;
    }

    .white-card {
        padding: 0 0px 20px;
        border-radius: 30px;
        margin: 15px 0;
    }

    .white-card > div:not(.product-tabs) {
        padding: 0 15px;
    }

    .white-card > *:not(.product-tabs):first-of-type {
        padding-top: 20px;
    }

    .product-tab {
        flex: 1;
        padding: 12px 15px;
        font-size: 13px;
        font-weight: 700;
        white-space: normal;
        line-height: 1.3;
    }

    .logo {
        gap: 3px;
    }

    .logo-rat {
        max-width: 110px;
    }

    .logo-center {
        max-width: 55px;
        margin: 0 -25px;
    }

    .logo-mouse {
        max-width: 110px;
    }

    .faq-title {
        font-size: 23px;
        margin-bottom: 25px;
    }

    .bg-circle {
        --size: 160px;
        --blur: 32px;
    }
    
    .bg-circle.left { left: -80px; top: 35%; }
    .bg-circle.right { right: -80px; bottom: 5%; }

    .bg-ellipse {
        width: 150px;
        height: 75px;
    }

    .bg-ellipse.large {
        z-index: 1;
    }

    .footer-section p,
    .footer-section a {
        font-size: 16px;
    }

    .form-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .submit-btn {
        width: 100%;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }

    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .image-modal-img {
        max-height: 85vh;
    }

    .image-modal-close {
        top: -35px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
}
