:root {
    /* Брендовая палитра */
    --brand-primary: #0f1e3d;
    --brand-primary-strong: #0a1730;
    --brand-secondary: #f6b73c;
    --brand-secondary-strong: #d99711;
    --brand-accent: #3ab0ff;
    --brand-accent-soft: rgba(58, 176, 255, 0.18);

    /* Поверхности и фон */
    --surface-0: #ffffff;
    --surface-50: #f6f8fc;
    --surface-100: #eef2fb;
    --surface-200: #dfe8f7;
    --surface-900: #0a162d;

    /* Текст */
    --text-primary: #13274f;
    --text-secondary: #4b5d7c;
    --text-muted: #7c8ba5;
    --text-inverse: #ffffff;

    /* Градиенты и тени (поддержка существующих переменных) */
    --gradient-primary: linear-gradient(135deg, rgba(10, 22, 45, 0.96) 0%, rgba(17, 47, 94, 0.92) 100%);
    --gradient-secondary: linear-gradient(135deg, #ffd77a 0%, #f6b73c 100%);
    --gradient-accent: linear-gradient(135deg, rgba(58, 176, 255, 0.25) 0%, rgba(110, 208, 255, 0.05) 100%);

    --shadow-xs: 0 6px 18px rgba(15, 30, 61, 0.08);
    --shadow: 0 10px 30px rgba(15, 30, 61, 0.12);
    --shadow-lg: 0 28px 60px rgba(10, 24, 52, 0.16);

    --border-soft: rgba(19, 39, 79, 0.08);
    --border-muted: rgba(19, 39, 79, 0.12);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition-base: all 0.35s ease;

    /* Алиасы для совместимости со старыми стилями */
    --primary-color: var(--brand-primary);
    --secondary-color: var(--brand-secondary);
    --accent-color: var(--brand-accent);
    --light-color: var(--surface-50);
    --dark-color: var(--surface-900);
    --text-color: var(--text-primary);
    --text-light: var(--text-muted);
    --neon-cyan: rgba(58, 176, 255, 0.65);
}

/* Базовые стили и типографика */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'Roboto', 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--surface-50);
    letter-spacing: 0.01em;
}

main {
    position: relative;
    z-index: 1;
}

a {
    color: var(--brand-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-secondary);
}

p {
    margin-bottom: 1.1rem;
    color: var(--text-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

ul, ol {
    padding-left: 1.25rem;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

::selection {
    background: rgba(246, 183, 60, 0.32);
    color: var(--surface-900);
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.1rem 0;
    background: rgba(13, 31, 60, 0.55);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-base);
}

.navbar .container {
    position: relative;
    z-index: 2;
}

.navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 122, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-inverse) !important;
    text-transform: uppercase;
}

.navbar-brand i {
    font-size: 1.35rem;
    color: var(--brand-secondary);
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.82) !important;
    padding: 0.6rem 0.9rem;
    transition: var(--transition-base);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 999px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffffff !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
    transition: var(--transition-base);
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(19, 39, 79, 0.08);
    box-shadow: var(--shadow-xs);
}

.navbar-scrolled .nav-link {
    color: var(--text-secondary) !important;
}

.navbar-scrolled .nav-link:hover,
.navbar-scrolled .nav-link:focus {
    color: var(--brand-primary) !important;
}

.navbar-scrolled .navbar-brand {
    color: var(--brand-primary) !important;
}

.navbar-scrolled .navbar-brand i {
    color: var(--brand-primary);
}

.navbar-scrolled .navbar-toggler-icon {
    filter: invert(0);
}

main {
    padding-top: 86px;
}

/* Сообщения */
.messages-container {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 1100;
    max-width: 420px;
}

.alert {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    padding: 1rem 1.25rem;
    background: var(--surface-0);
}

/* Кнопки */
.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: 0.8rem 1.9rem;
    letter-spacing: 0.05em;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(120%);
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--brand-primary) !important;
    border: none;
    box-shadow: 0 12px 24px rgba(246, 183, 60, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(246, 183, 60, 0.42);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--text-inverse);
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    color: var(--surface-0);
}

.btn-outline-primary {
    border: 1px solid rgba(58, 176, 255, 0.45);
    color: var(--brand-primary);
    background: rgba(58, 176, 255, 0.08);
}

.btn-outline-primary.active,
.btn-outline-primary:hover {
    color: var(--brand-primary);
    border-color: rgba(58, 176, 255, 0.8);
    background: rgba(58, 176, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(58, 176, 255, 0.25);
}

.btn-outline-info,
.btn-outline-success,
.btn-outline-danger {
    color: inherit;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.btn-outline-secondary {
    color: var(--text-secondary);
    border: 1px solid rgba(19, 39, 79, 0.2);
    background: rgba(19, 39, 79, 0.05);
}

.btn-outline-secondary:hover {
    color: var(--brand-primary);
    border-color: rgba(19, 39, 79, 0.4);
    background: rgba(19, 39, 79, 0.12);
}

.btn-outline-info:hover {
    color: #0a63a0;
    border-color: rgba(10, 99, 160, 0.4);
}

.btn-outline-success:hover {
    color: #0f8655;
    border-color: rgba(15, 134, 85, 0.4);
}

.btn-outline-danger:hover {
    color: #c0392b;
    border-color: rgba(192, 57, 43, 0.4);
}

.filter-btn.active {
    background: var(--gradient-secondary);
    color: var(--brand-primary);
    border: none;
    box-shadow: 0 10px 24px rgba(246, 183, 60, 0.25);
}

/* Hero */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    padding: clamp(5rem, 12vw, 10.5rem) 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.page-hero {
    min-height: 52vh;
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.page-hero .hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.page-hero .hero-title {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
}

.page-hero .hero-subtitle {
    margin: 0 auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 45%;
    height: 110%;
    background: radial-gradient(circle at center, rgba(246, 183, 60, 0.38) 0%, rgba(246, 183, 60, 0) 70%);
    filter: blur(20px);
    transform: rotate(-12deg);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(10, 22, 45, 0.05) 60%, rgba(10, 22, 45, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-inverse);
}

.highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.highlight-badge i {
    font-size: 0.95rem;
    color: var(--brand-secondary);
}

.hero-title {
    font-size: clamp(2.85rem, 4.8vw, 4.4rem);
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-inverse);
    letter-spacing: 0.08em;
    text-shadow: 0 12px 36px rgba(9, 21, 43, 0.45);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    max-width: 520px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    text-shadow: 0 6px 24px rgba(9, 21, 43, 0.35);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-image {
    position: relative;
    z-index: 2;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: clamp(1.8rem, 5vw, 3.5rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    pointer-events: none;
    z-index: 4;
}

.hero-scroll-indicator .indicator-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
    animation: subtlePulse 2.4s ease-in-out infinite;
}

.hero-scroll-indicator .indicator-line {
    width: 2px;
    height: 32px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 60%,
        rgba(255, 255, 255, 0) 100%
    );
}

.hero-scroll-indicator .indicator-line::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    top: -18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    animation: indicatorLine 1.9s ease-in-out infinite;
}

.hero-scroll-indicator .indicator-label {
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.hero-decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.75;
    mix-blend-mode: screen;
    animation: glowPulse 16s ease-in-out infinite;
}

.hero-orb--primary {
    width: clamp(220px, 18vw, 320px);
    height: clamp(220px, 18vw, 320px);
    top: -15%;
    right: -8%;
    background: radial-gradient(circle at 30% 30%, rgba(246, 183, 60, 0.92) 0%, rgba(246, 183, 60, 0.05) 70%);
}

.hero-orb--secondary {
    width: clamp(180px, 15vw, 260px);
    height: clamp(180px, 15vw, 260px);
    bottom: -12%;
    left: 12%;
    background: radial-gradient(circle at 70% 70%, rgba(58, 176, 255, 0.8) 0%, rgba(58, 176, 255, 0.04) 70%);
    animation-delay: -4s;
}

.hero-orb--accent {
    width: clamp(140px, 12vw, 200px);
    height: clamp(140px, 12vw, 200px);
    top: 18%;
    left: 28%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 65%);
    animation-delay: -7s;
}

.hero-grid {
    position: absolute;
    inset: 10% 8%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px), linear-gradient(240deg, rgba(58, 176, 255, 0.18) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.25;
    transform: rotate(-6deg);
    animation: subtlePan 22s linear infinite;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(255, 215, 122, 0.35) 0, rgba(255, 215, 122, 0) 50%),
                radial-gradient(circle at 75% 75%, rgba(58, 176, 255, 0.25) 0, rgba(58, 176, 255, 0) 55%);
    opacity: 0.35;
    animation: subtlePulse 10s ease-in-out infinite;
}

.hero-section .hero-content,
.hero-section .hero-image {
    position: relative;
    z-index: 3;
}

.hero-section .hero-image {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    will-change: transform;
}

.hero-section .hero-image:hover {
    transform: translateY(-8px) rotate3d(1, -1, 0, 6deg);
    box-shadow: 0 48px 80px rgba(9, 21, 43, 0.4);
}

.hero-buttons .btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    z-index: -1;
}

.hero-buttons .btn:hover::before {
    transform: translateX(120%);
}

/* Секции */
.section {
    position: relative;
    padding: clamp(4rem, 9vw, 6.5rem) 0;
}

.section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(19, 39, 79, 0.08) 100%);
    opacity: 0.25;
    pointer-events: none;
}

.section.bg-light {
    background: var(--surface-50) !important;
}

.section-separator {
    position: relative;
    width: 100%;
    height: 110px;
    margin-top: -1px;
    line-height: 0;
}

.section-separator svg {
    display: block;
    width: 100%;
    height: 100%;
}

.section-separator path {
    fill: currentColor;
}

.section-separator--light {
    color: var(--surface-50);
    transform: translateY(-1px);
}

.section-separator--brand {
    color: #0f1e3d;
}

.section-separator--reverse svg {
    transform: rotate(180deg);
}

.section-title {
    text-align: center;
    margin-bottom: clamp(2.4rem, 6vw, 3.4rem);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.2rem;
    width: 78px;
    height: 6px;
    border-radius: 999px;
    background: var(--gradient-secondary);
}

.section-lead {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.list-check {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.list-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.icon-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(246, 183, 60, 0.15);
    color: var(--brand-secondary);
    font-size: 0.85rem;
}

.section-title.text-white::after {
    background: rgba(255, 255, 255, 0.55);
}

/* Карточки */
.card {
    position: relative;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--surface-0);
    box-shadow: var(--shadow-xs);
    transition: var(--transition-base);
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.card:hover::after {
    opacity: 1;
}

.card-body {
    position: relative;
    z-index: 2;
    padding: 1.8rem;
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
}

.card-img-top {
    border-radius: 0;
    max-height: 240px;
    object-fit: cover;
}

/* Возможности */
.capability-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.4rem 1.8rem;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--surface-0);
    border: 1px solid var(--border-muted);
    box-shadow: var(--shadow-xs);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.capability-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(58, 176, 255, 0.18), rgba(246, 183, 60, 0.18));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.capability-item:hover {
    transform: translateY(-6px);
    border-color: rgba(246, 183, 60, 0.4);
    box-shadow: var(--shadow);
}

.capability-item:hover::before {
    opacity: 1;
}

.capability-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(246, 183, 60, 0.14);
    color: var(--brand-secondary);
    font-size: 2rem;
    box-shadow: inset 0 0 0 1px rgba(246, 183, 60, 0.2);
    transition: var(--transition-base);
}

.capability-item:hover .capability-icon {
    transform: scale(1.08) translateY(-2px);
    box-shadow: inset 0 0 0 2px rgba(246, 183, 60, 0.3), 0 12px 22px rgba(246, 183, 60, 0.18);
}

/* Продукты */
.interactive-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --mouse-x: 50%;
    --mouse-y: 50%;
    --glow-opacity: 0;
}

.interactive-card::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(58, 176, 255, 0.28),
        rgba(246, 183, 60, 0.15),
        transparent 70%
    );
    opacity: var(--glow-opacity);
    transition: opacity 0.35s ease;
    pointer-events: none;
    mix-blend-mode: screen;
}

.product-card {
    height: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: var(--surface-0);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% -10%, rgba(58, 176, 255, 0.25), transparent 55%), radial-gradient(circle at 80% 120%, rgba(246, 183, 60, 0.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.product-card-link {
    display: block;
    height: 100%;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.product-card-link:hover {
    text-decoration: none;
}

.product-card-link .btn {
    pointer-events: none;
}


.product-detail-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.product-info-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: var(--surface-0);
    box-shadow: var(--shadow-xs);
}

.specifications {
    background: rgba(19, 39, 79, 0.04);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.2rem;
    border-left: 4px solid var(--brand-secondary);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

.blog-post-title {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--brand-primary);
}

.blog-post-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: var(--brand-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--brand-secondary);
    padding-left: 1.2rem;
    margin: 2rem 0;
    font-style: italic;
    background: rgba(246, 183, 60, 0.08);
    border-radius: 0 14px 14px 0;
}

.product-card .product-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-soft);
}

.product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 176, 255, 0.08);
    color: var(--brand-primary);
    font-size: 2.2rem;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-secondary);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(58, 176, 255, 0.35);
    box-shadow: 0 28px 45px rgba(15, 30, 61, 0.18);
}

.product-card:hover::before {
    opacity: 1;
}

/* Статистика */
.stat-item {
    position: relative;
    padding: 2.4rem 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(19, 39, 79, 0.08);
    color: var(--brand-primary);
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 36px rgba(15, 30, 61, 0.12);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate3d(0, 0, 0);
}

.stat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(58, 176, 255, 0.14) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.stat-item:hover::after {
    opacity: 1;
}

.counters-section {
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(58, 176, 255, 0.12) 0%, transparent 52%),
        radial-gradient(circle at 88% 26%, rgba(246, 183, 60, 0.12) 0%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.95) 100%);
}

.counters-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 55%);
    pointer-events: none;
}

.stat-item:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0 28px 55px rgba(15, 30, 61, 0.18);
}

.stat-icon {
    font-size: 2.8rem;
    margin-bottom: 1.1rem;
    color: var(--brand-secondary);
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.stat-label {
    color: rgba(19, 39, 79, 0.58);
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Отзывы */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
    padding: 2.2rem 2rem;
    background: var(--surface-0);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 176, 255, 0.12), rgba(246, 183, 60, 0.12));
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 55px rgba(15, 30, 61, 0.18);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-avatar {
    font-size: 3.2rem;
    color: var(--brand-primary);
    background: rgba(58, 176, 255, 0.12);
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-rating {
    color: var(--brand-secondary);
    letter-spacing: 0.18em;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 700;
    color: var(--brand-primary);
}

/* Партнеры */
.partner-logo {
    height: 88px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition-base);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
}

/* Формы */
.form-label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    border-radius: 14px;
    border: 1px solid var(--border-muted);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: rgba(58, 176, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(58, 176, 255, 0.18);
}

.form-control.is-invalid {
    border-color: rgba(220, 53, 69, 0.65);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.15);
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #db3545;
}

/* Карта */
.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-soft);
}

.map-container iframe {
    border: 0;
}

/* FAQ (аккордеон) */
.accordion-item {
    border: none;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-xs);
}

.accordion-button {
    border-radius: var(--radius-sm) !important;
    padding: 1.25rem 1.4rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(246, 183, 60, 0.08);
}

.accordion-button:not(.collapsed) {
    background: rgba(246, 183, 60, 0.18);
    color: var(--brand-primary);
    box-shadow: none;
}

.accordion-body {
    padding: 1.4rem;
    color: var(--text-secondary);
}

/* Пагинация */
.pagination .page-link {
    border-radius: 999px;
    border: 1px solid var(--border-muted);
    margin: 0 0.3rem;
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    transition: var(--transition-base);
}

.pagination .page-link:hover {
    border-color: rgba(58, 176, 255, 0.45);
    color: var(--brand-primary);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-secondary);
    border-color: transparent;
    color: var(--brand-primary);
    box-shadow: 0 10px 22px rgba(246, 183, 60, 0.25);
}

/* Футер */
.footer {
    position: relative;
    background: linear-gradient(160deg, #0a162d 0%, #122c54 65%, #0a162d 100%);
    color: var(--text-inverse);
    padding: clamp(3.5rem, 8vw, 5.5rem) 0 2.5rem;
    overflow: hidden;
}

.footer::before,
.footer::after {
    content: '';
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

.footer::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -80px;
    background: rgba(246, 183, 60, 0.22);
}

.footer::after {
    width: 280px;
    height: 280px;
    bottom: -120px;
    left: -40px;
    background: rgba(58, 176, 255, 0.18);
}

.footer h5,
.footer h6 {
    color: var(--brand-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.4rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    transition: var(--transition-base);
}

.footer a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: var(--gradient-secondary);
    color: var(--brand-primary);
    transform: translateY(-3px);
}

/* Кнопка «Вверх» */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-secondary);
    color: var(--brand-primary);
    box-shadow: 0 18px 36px rgba(246, 183, 60, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
}

/* Уведомления (JS) */
.notification {
    position: fixed;
    top: 108px;
    right: 24px;
    z-index: 1200;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

/* Утилиты */
.glass-effect {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    border-radius: var(--radius-md);
}

.oil-drop {
    position: relative;
    overflow: hidden;
}

.oil-drop::after {
    content: '';
    position: absolute;
    inset: 10%;
    border-radius: 50% 50% 45% 55% / 55% 45% 50% 50%;
    background: radial-gradient(circle, rgba(246, 183, 60, 0.18) 0%, rgba(246, 183, 60, 0) 70%);
    filter: blur(18px);
    opacity: 0.6;
}

.animate-text {
    display: inline-block;
}

/* Система анимаций */
.animate-item {
    --transform-from: translate3d(0, 24px, 0);
    --transform-to: translate3d(0, 0, 0);
    --animation-delay: 0.2s;
    opacity: 0;
    transform: var(--transform-from);
    transition:
        opacity 0.68s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.68s cubic-bezier(0.23, 1, 0.32, 1);
    transition-delay: var(--animation-delay);
    will-change: transform, opacity;
}

.animate-item.is-visible {
    opacity: 1;
    transform: var(--transform-to);
}

.animate-fade-up {
    --transform-from: translate3d(0, 28px, 0);
}

.animate-fade-right {
    --transform-from: translate3d(-32px, 0, 0);
}

.animate-fade-left {
    --transform-from: translate3d(32px, 0, 0);
}

.animate-scale {
    --transform-from: scale(0.92);
    --transform-to: scale(1);
}

.animate-tilt {
    --transform-from: translate3d(0, 30px, 0) rotateX(-10deg);
    --transform-to: translate3d(0, 0, 0) rotateX(0deg);
}

.animate-delay-sm { --animation-delay: 0.25s; }
.animate-delay-md { --animation-delay: 0.35s; }
.animate-delay-lg { --animation-delay: 0.45s; }

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

@keyframes indicatorLine {
    0% {
        transform: translateY(-12px);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        transform: translateY(12px);
        opacity: 1;
    }
    100% {
        transform: translateY(26px);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        filter: blur(0);
    }
    50% {
        opacity: 0.95;
        filter: blur(2px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -16px, 0);
    }
}

@keyframes subtlePan {
    0% {
        transform: rotate(-6deg) translate3d(-3%, -3%, 0);
    }
    100% {
        transform: rotate(-6deg) translate3d(3%, 3%, 0);
    }
}

/* Медиа-запросы */
@media (max-width: 991.98px) {
    .navbar {
        background: rgba(13, 31, 60, 0.9);
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 0;
        text-align: center;
    }

    .hero-section {
        padding-top: 8rem;
    }

    .hero-image {
        margin-top: 2.5rem;
    }

    .hero-scroll-indicator {
        bottom: 1.8rem;
    }

    .hero-section .hero-image {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .navbar .btn {
        padding: 0.6rem 1.4rem;
    }
}

@media (max-width: 767.98px) {
    main {
        padding-top: 76px;
    }

    .hero-title {
        text-align: center;
    }

    .hero-subtitle,
    .hero-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .messages-container,
    .notification {
        left: 16px;
        right: 16px;
        max-width: none;
    }

    .testimonial-card {
        padding: 1.8rem 1.4rem;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .hero-section {
        padding-top: 6rem;
        padding-bottom: 4.5rem;
    }

    .hero-section .hero-image {
        max-width: 320px;
    }

    .counters-section .row {
        row-gap: 1.5rem;
    }

    .stat-item {
        padding: 1.8rem 1.6rem;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .product-card,
    .capability-item,
    .testimonial-card {
        border-radius: 18px;
    }

    .product-card .card-body,
    .capability-item {
        padding: 1.6rem 1.4rem;
    }

    .product-card .card-body .btn,
    .capability-item .btn {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }

    .navbar-collapse {
        background: rgba(13, 31, 60, 0.92);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.4rem;
    }

    .partner-logo {
        max-height: 64px;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .card-body {
        padding: 1.4rem;
    }

    .partner-logo {
        height: 72px;
    }

    .navbar .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero-title {
        font-size: clamp(2.1rem, 9vw, 2.6rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .product-card .card-body {
        gap: 0.9rem;
    }

    .card-body {
        padding: 1.3rem;
    }

    .stat-item {
        padding: 1.6rem 1.3rem;
        border-radius: 16px;
    }

    .stat-icon {
        font-size: 2.4rem;
        margin-bottom: 0.9rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .footer {
        text-align: center;
    }

    .footer .social-links a {
        margin-bottom: 0.5rem;
    }
}

/* Фоллбэк иконок (поддержка существующей логики) */
.icon-fallback {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-fallback.fa-3x { font-size: 3rem !important; }
.icon-fallback.fa-4x { font-size: 4rem !important; }
.icon-fallback.fa-5x { font-size: 5rem !important; }

