/*
Theme Name: My Fullerene
Theme URI: https://my-fullerene.local
Author: AI Assistant
Description: A modern WordPress theme for Full Energy affiliate blog with C60 fullerene products.
Version: 1.0.6
Text Domain: my-fullerene
*/

:root {
    --color-bg-dark: #111111;
    --color-bg-card: #1A1A1A;
    --color-accent-orange: #FF6B00;
    --color-text-white: #FFFFFF;
    --color-text-gray: #A0A0A0;
    --color-border: #2A2A2A;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-white);
    background-color: var(--color-bg-dark);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Текст статей / блога: ссылки в брендовом оранжеве (не синий/фиолетовый браузера на тёмном фоне) */
.entry-content a,
.entry-content a:visited,
.fe-single-content a,
.fe-single-content a:visited,
.fe-blog-intro a,
.fe-blog-intro a:visited,
.fe-entry-content a,
.fe-entry-content a:visited {
    color: var(--color-accent-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 1;
}

.entry-content a:hover,
.entry-content a:focus,
.fe-single-content a:hover,
.fe-single-content a:focus,
.fe-blog-intro a:hover,
.fe-blog-intro a:focus,
.fe-entry-content a:hover,
.fe-entry-content a:focus {
    color: #ff8533;
    opacity: 1;
}

.entry-content a strong,
.fe-single-content a strong {
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    background-color: var(--color-bg-dark);
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header .logo a {
    color: var(--color-text-white);
    font-size: 24px;
    font-weight: 700;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Только текстовые пункты — подчёркивание; кнопка «Купить» отдельно, одна высота с рядом */
.main-navigation a:not(.btn-cta) {
    color: var(--color-text-white);
    font-size: 14px;
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    line-height: 1.25;
}

.main-navigation a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 0;
    background-color: var(--color-accent-orange);
    transition: width 0.3s ease;
}

.main-navigation a:not(.btn-cta):hover::after {
    width: 100%;
}

.btn-cta {
    background-color: var(--color-accent-orange);
    color: var(--color-text-white) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    will-change: transform, box-shadow;
}

.btn-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

/* Шапка: фиксированная высота кнопки «Купить» в одну линию с пунктами меню */
.main-navigation .btn-cta {
    flex-shrink: 0;
    align-self: center;
    height: 40px;
    min-height: 40px;
    padding: 0 22px;
    line-height: 1;
    box-sizing: border-box;
}

.main-navigation .btn-cta::after {
    display: none;
}

/* Hero Section */
.hero-fullscreen {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.9)), url('./assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.15);
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.4);
    animation: float 15s infinite linear;
    filter: blur(12px);
    will-change: transform;
}

.p1 { width: 150px; height: 150px; top: 10%; left: 15%; animation-duration: 25s; }
.p2 { width: 80px; height: 80px; top: 70%; left: 80%; animation-duration: 18s; animation-direction: reverse; }
.p3 { width: 200px; height: 200px; top: 40%; left: 65%; animation-duration: 30s; background: rgba(255, 255, 255, 0.03); box-shadow: 0 0 30px rgba(255, 255, 255, 0.05); }
.p4 { width: 50px; height: 50px; top: 80%; left: 20%; animation-duration: 12s; }
.p5 { width: 100px; height: 100px; top: 20%; left: 85%; animation-duration: 22s; animation-direction: reverse; }
.p6 { width: 90px; height: 90px; top: 55%; left: 10%; animation-duration: 20s; background: rgba(255, 255, 255, 0.03); box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); }

@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-30px) translateX(20px) rotate(120deg); }
    66% { transform: translateY(15px) translateX(-15px) rotate(240deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-text-white);
    max-width: 900px;
    padding: 0 20px;
}

/* Бейдж над заголовком */
.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.45);
    color: var(--color-accent-orange);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.03em;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    margin: 0 0 24px 0;
    line-height: 1.1;
}

.hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--color-text-gray);
    margin: 0 auto 40px auto;
    max-width: 620px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-cta {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 8px;
}

/* Кнопка «Стать партнёром» в герое */
.btn-partner-hero {
    border-color: var(--color-accent-orange) !important;
    color: var(--color-accent-orange) !important;
    font-weight: 600;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.btn-partner-hero:hover {
    background: var(--color-accent-orange) !important;
    color: #fff !important;
}

/* Строка доверия под кнопками */
.hero-trust-bar {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.hero-trust-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
}
@media (max-width: 560px) {
    .hero-trust-bar { gap: 12px; font-size: 12px; }
    .hero-badge { font-size: 12px; padding: 6px 14px; }
}

.btn-outline {
    border: 1px solid var(--color-text-white);
    color: var(--color-text-white);
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-text-white);
    color: var(--color-bg-dark);
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: var(--color-light);
    text-align: center;
}

.benefits h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.benefits-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.benefit-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.benefit-card h3 {
    color: var(--color-accent);
    font-size: 20px;
    margin: 0 0 16px 0;
}

.benefit-card p {
    font-size: 14px;
    margin: 0;
}

/* Global Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Products Carousel Section */
.products {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-white);
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.carousel-btn:hover {
    background-color: var(--color-accent-orange);
    border-color: var(--color-accent-orange);
}

.products-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.products-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 40px;
    padding-bottom: 30px;
    scrollbar-width: none; /* Firefox */
}

.products-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Catalog grid (page-catalog) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

.products-grid .product-card {
    flex: none;
    width: auto;
    max-width: none;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
    background-color: var(--color-bg-card);
    border-radius: 16px;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 300px;
    }
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
}

.product-img {
    height: 320px;
    background-color: #2A2A2A;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-gray);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges */
.product-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-morning { background-color: #27AE60; }
.badge-day { background-color: #F2C94C; color: #111111; }
.badge-evening { background-color: var(--color-accent-orange); }
.badge-aqua { background-color: #2D9CDB; }
.badge-cosmetics { background-color: #828282; }

.product-badge.product-badge--long {
    font-size: 11px;
    line-height: 1.25;
    padding: 8px 12px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
}

/* Product Info */
.product-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 22px;
    margin: 0 0 12px 0;
    color: var(--color-text-white);
}

.product-desc {
    font-size: 16px;
    color: var(--color-text-gray);
    margin: 0 0 24px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: var(--color-text-white);
    font-size: 24px;
    font-weight: 700;
    margin: auto 0 8px 0;
}

/* Партнёрский блок в карточке товара */
.product-partner-block {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-partner-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.product-partner-price .price-value {
    color: #4CAF50;
    font-size: 20px;
    font-weight: 700;
}
.product-partner-price .price-label {
    color: var(--color-text-gray);
    font-size: 12px;
}
.btn-partner {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    border-radius: 8px;
    border: 2px solid var(--color-accent-orange);
    background: transparent;
    color: var(--color-accent-orange);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}
.btn-partner:hover {
    background: var(--color-accent-orange);
    color: #fff;
}

/* Баннер партнёрства на странице каталога */
.partner-banner {
    background: linear-gradient(135deg, rgba(255,107,0,0.12) 0%, rgba(255,107,0,0.04) 100%);
    border: 1px solid rgba(255,107,0,0.3);
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.partner-banner-text h3 {
    color: var(--color-accent-orange);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.partner-banner-text p {
    color: var(--color-text-gray);
    font-size: 15px;
    margin: 0;
    max-width: 560px;
}
.partner-banner-badge {
    background: var(--color-accent-orange);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.partner-banner-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 32px;
    background: var(--color-accent-orange);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.partner-banner-cta:hover { opacity: 0.88; }
@media (max-width: 640px) {
    .partner-banner { padding: 24px 20px; flex-direction: column; }
    .partner-banner-badge { font-size: 22px; }
}

.product-card .btn-cta {
    background-color: var(--color-accent-orange);
    color: var(--color-text-white);
    width: 100%;
    padding: 16px 0;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
    border-radius: 8px;
}

.product-card .btn-cta:hover {
    background-color: #e66000;
}

/* Expert Section (Home & Page) */
.expert-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
}

.expert-section.bg-light {
    background-color: var(--color-bg-dark);
}

.expert-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .expert-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.expert-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.expert-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.expert-info h2 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--color-text-white);
}

.expert-subtitle {
    font-size: 20px;
    color: var(--color-text-gray);
    font-weight: 400;
    margin: 0 0 40px 0;
}

.expert-info p {
    font-size: 16px;
    color: var(--color-text-gray);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.about-feature h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0 0 16px 0;
}

.about-feature p {
    font-size: 16px;
    color: var(--color-text-gray);
    margin: 0;
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--color-accent-orange);
    animation: float-icon 4s ease-in-out infinite;
    display: inline-block;
}

.feature-icon svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 0 16px rgba(255, 107, 0, 0.5));
}

.about-feature:nth-child(1) .feature-icon { animation-delay: 0s; }
.about-feature:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.about-feature:nth-child(3) .feature-icon { animation-delay: 1s; }

@keyframes float-icon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Expert Page Specifics */
.expert-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .expert-stats {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    background: var(--color-bg-card);
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid var(--color-border);
}

.stat-item h4 {
    font-size: 48px;
    color: var(--color-accent-orange);
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1;
}

.stat-item p {
    font-size: 16px;
    color: var(--color-text-white);
    margin: 0;
    font-weight: 600;
}

.expert-competencies {
    margin: 80px 0;
}

.expert-competencies h3 {
    font-size: 28px;
    text-align: center;
    margin: 0 0 40px 0;
    color: var(--color-text-white);
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .competencies-grid {
        grid-template-columns: 1fr;
    }
}

.competency-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.competency-icon {
    font-size: 24px;
    color: var(--color-accent-orange);
    background: rgba(255, 107, 0, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.competency-text h4 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: var(--color-text-white);
}

.competency-text p {
    font-size: 14px;
    color: var(--color-text-gray);
    margin: 0;
}

.expert-cta-block {
    background: var(--color-bg-card);
    color: var(--color-text-white);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    margin: 60px 0;
    border: 1px solid var(--color-border);
}

.expert-cta-block h3 {
    font-size: 32px;
    margin: 0 0 16px 0;
}

.expert-cta-block p {
    font-size: 18px;
    color: var(--color-text-gray);
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.reviews-header h2 {
    font-size: 40px;
    margin: 0;
    color: var(--color-text-white);
}

.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 30px;
    scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .review-card { flex: 0 0 300px; padding: 30px; }
    .reviews-header { flex-direction: column; gap: 20px; align-items: flex-start; }
}

.review-stars {
    color: var(--color-accent-orange);
    margin-bottom: 20px;
    font-size: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 16px;
    color: var(--color-text-gray);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-text-white);
    font-size: 18px;
}

.review-name {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 4px 0;
    color: var(--color-text-white);
}

.review-product {
    font-size: 14px;
    color: var(--color-accent-orange);
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.faq-section h2 {
    text-align: center;
    font-size: 40px;
    margin: 0 0 60px 0;
    color: var(--color-text-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 30px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-white);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent-orange);
}

.faq-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
    color: var(--color-accent-orange);
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 20px;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    color: var(--color-text-gray);
    font-size: 16px;
    line-height: 1.6;
}

/* Contacts page */
.contacts-page {
    padding: 60px 0 100px;
    background-color: var(--color-bg-dark);
}

.contacts-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.contacts-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 20px;
    color: var(--color-text-white);
}

.contacts-lead {
    font-size: 18px;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin: 0;
}

.contacts-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 480px;
    margin: 0 auto 48px;
    text-align: center;
}

.contacts-card-title {
    font-size: 18px;
    margin: 0 0 12px;
    color: var(--color-text-white);
}

.contacts-muted {
    color: var(--color-text-gray);
    font-size: 15px;
    margin: 0 0 8px;
}

.contacts-highlight {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent-orange);
    margin: 0;
}

.contacts-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.contacts-channel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-white);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.contacts-channel:hover {
    opacity: 1;
    border-color: var(--color-accent-orange);
    transform: translateY(-2px);
}

.contacts-channel--primary {
    border-color: rgba(255, 107, 0, 0.45);
}

.contacts-channel-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-gray);
}

.contacts-channel-main {
    font-size: 16px;
    color: var(--color-text-gray);
}

.contacts-channel-handle {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent-orange);
}

.contacts-services {
    margin-bottom: 64px;
}

.contacts-services-grid {
    margin-top: 32px;
}

.contacts-form-section {
    max-width: 560px;
    margin: 0 auto 64px;
}

.contacts-form-section h2 {
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-text-white);
}

.contacts-form-intro {
    text-align: center;
    color: var(--color-text-gray);
    font-size: 15px;
    margin: 0 0 28px;
    line-height: 1.5;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-gray);
}

.contacts-field span {
    font-weight: 600;
    color: var(--color-text-white);
}

.contacts-field input,
.contacts-field textarea {
    font-family: var(--font-main);
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text-white);
    resize: vertical;
    min-height: 48px;
}

.contacts-field textarea {
    min-height: 120px;
}

.contacts-field input:focus,
.contacts-field textarea:focus {
    outline: none;
    border-color: var(--color-accent-orange);
}

.contacts-form-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
}

.contacts-channel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    color: var(--color-accent-orange);
    margin-bottom: 4px;
    flex-shrink: 0;
}

.contacts-channel-icon svg {
    width: 24px;
    height: 24px;
}

.contacts-channel--youtube .contacts-channel-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #FF4444;
}

.contacts-channel--youtube {
    border-color: rgba(255, 68, 68, 0.3);
}

.contacts-channel--youtube:hover {
    border-color: #FF4444;
}

.contacts-social-block {
    text-align: center;
    margin-bottom: 48px;
}

.contacts-social-block h2 {
    margin-bottom: 8px;
    color: var(--color-text-white);
}

.contacts-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-white);
    border: 1.5px solid var(--color-border);
    background: var(--color-bg-card);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-icon-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-icon-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.social-icon-btn--tg {
    color: var(--color-text-white);
}

.social-icon-btn--tg:hover {
    border-color: #29B6F6;
    background: rgba(41, 182, 246, 0.1);
}

.social-icon-btn--vk:hover {
    border-color: #4C75A3;
    background: rgba(76, 117, 163, 0.1);
}

.social-icon-btn--yt {
    color: var(--color-text-white);
}

.social-icon-btn--yt:hover {
    border-color: #FF4444;
    background: rgba(255, 68, 68, 0.1);
}

.contacts-quick-cta {
    margin-bottom: 48px;
}

.contacts-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-gray);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

.footer-col--contact strong {
    color: var(--color-text-white);
}

.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h3 {
    font-size: 24px;
    margin: 0;
    color: var(--color-text-white);
}

.footer-col h4 {
    font-size: 16px;
    margin: 0;
    color: var(--color-text-white);
}

.footer-col p, .footer-col a {
    color: var(--color-text-gray);
    font-size: 14px;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-gray);
    font-size: 14px;
    margin: 0;
}
