/* ============================================
   Дизайн-система v7 — Оптимизированная версия
   ============================================ */

/* --- Переменные --- */
:root {
    /* Цвета */
    --bg-color: #0c0e0f;
    --bg-gradient: radial-gradient(circle at 50% 0%, #15241f 0%, #0c0e0f 70%);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-hover-border: rgba(207, 162, 99, 0.3);

    --text-primary: #f2efe9;
    --text-secondary: #a3a8a6;
    --text-dark: #0c0e0f;

    --gold: #cfa263;
    --gold-gradient: linear-gradient(135deg, #dfbe88 0%, #b88d4c 100%);
    --gold-hover: #dfbe88;
    --gold-glow: rgba(207, 162, 99, 0.2);

    --wa-color: #25d366;
    --tg-color: #0088cc;

    /* Шрифты */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Единая система анимаций (вместо повторений) */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-cinematic: cubic-bezier(0.15, 0.85, 0.35, 1);
    --duration-fast: 0.3s;
    --duration-normal: 0.5s;
    --duration-slow: 0.8s;
    --duration-cinematic: 1.2s;

    /* Стандартная тень для золотого свечения */
    --gold-shadow-hover: 0 20px 45px rgba(207, 162, 99, 0.25);
}

/* --- Сброс стилей --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}


/* --- Типографика --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h1 span {
    color: var(--gold);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
}


/* --- Вспомогательные классы --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-title {
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}


/* ===========================================================
   ПЕРЕИСПОЛЬЗУЕМЫЕ КЛАССЫ (написаны один раз, работают везде)
   =========================================================== */

/*
 * .image-hover — Единый hover-эффект для ВСЕХ изображений на сайте.
 * Вместо того чтобы повторять один и тот же код для about-image-wrapper,
 * space-image-wrapper, trust-image-wrapper — мы пишем его ОДИН раз здесь,
 * а в HTML просто добавляем класс image-hover к нужному элементу.
 */
.image-hover {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
    will-change: transform;
}

.image-hover:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: var(--gold-shadow-hover);
}

/* Изображение внутри .image-hover: чёрно-белое → цветное при наведении */
.image-hover img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: grayscale(1) contrast(1.02);
    transition: filter var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-smooth);
}

.image-hover:hover img {
    filter: grayscale(0) contrast(1.05) saturate(1.1);
    transform: scale(1.03);
}

/*
 * .image-tilt — класс для 3D-наклона изображения за мышкой.
 * Работает через JS: при mousemove изменяется rotateX/rotateY.
 * Здесь задаём только CSS-основу для плавного возврата.
 */
.image-tilt {
    transition: transform var(--duration-slow) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
    will-change: transform;
}

.image-tilt img {
    transition: transform var(--duration-slow) var(--ease-smooth),
                filter var(--duration-normal) var(--ease-smooth);
}

/*
 * .card-hover — Единый hover-эффект для карточек (format-card и подобных).
 */
.card-hover {
    transition: transform var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.card-hover:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}


/* --- Навигационная панель --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 14, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    transition: padding var(--duration-normal) var(--ease-smooth),
                background var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
    transition: color var(--duration-normal) var(--ease-smooth);
}

.nav-logo:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-channel-btn {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: border-color var(--duration-normal) var(--ease-smooth),
                color var(--duration-normal) var(--ease-smooth);
}

.nav-channel-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lang-btn {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-normal) var(--ease-smooth),
                color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.lang-btn:hover {
    background: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}


/* --- Кнопки --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    border: none;
    transition: transform var(--duration-normal) var(--ease-smooth),
                background var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth),
                color var(--duration-normal) var(--ease-smooth);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(207, 162, 99, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    color: #ffffff;
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}


/* --- Первый экран (Hero) --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    transform: scale(1.01);
    filter: saturate(0.76) contrast(1.12) brightness(0.76) grayscale(0.22);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(12, 14, 15, 0.96) 0%, rgba(12, 14, 15, 0.82) 40%, rgba(12, 14, 15, 0.35) 70%, rgba(12, 14, 15, 0.8) 100%);
    pointer-events: none;
}

.glow-bg {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(207, 162, 99, 0.06) 0%, rgba(16, 74, 52, 0.15) 50%, transparent 100%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: block;
    max-width: 720px;
    margin-left: 0;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(207, 162, 99, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-image-caption {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}


/* --- Блок «Кто я» (About) --- */
.about-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* about-image-wrapper теперь использует общие классы image-hover + image-tilt */
.about-image-wrapper {
    width: 100%;
}

.about-image {
    aspect-ratio: 4/5;
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-highlight {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 400;
}

.about-subtext {
    font-size: 1.1rem;
}

.about-badge-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.about-badge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
}

.badge-icon {
    font-size: 3rem;
    color: var(--gold);
}

.badge-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.badge-content p {
    font-size: 0.95rem;
}


/* --- Блок «Пространство» (Space) --- */
.space-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.005);
}

.space-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.space-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gold-gradient);
}

.space-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.space-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.space-desc-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* space-image-wrapper использует общие классы image-hover + image-tilt */
.space-image-wrapper {
    aspect-ratio: 4/3;
}


/* --- Блок «С чем можно прийти» (Issues) --- */
.issues-section {
    padding: 100px 0;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.issue-card-wrapper {
    perspective: 1000px;
    height: 180px;
    position: relative;
    transition: transform var(--duration-slow) var(--ease-smooth);
    will-change: transform;
}

.issue-card-wrapper:hover {
    transform: translateY(-10px) scale(1.06);
}

/* Золотое свечение под карточкой */
.issue-card-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 10%;
    width: 80%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(207, 162, 99, 0.35) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--duration-slow) ease;
    z-index: -1;
    pointer-events: none;
}

.issue-card-wrapper:hover::after {
    opacity: 1;
}

.issue-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform var(--duration-slow) var(--ease-bounce);
    cursor: pointer;
}

.issue-card-wrapper:hover .issue-card {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    padding: 1.6rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: border-color var(--duration-slow) ease,
                box-shadow var(--duration-slow) ease,
                background var(--duration-slow) ease;
}

.card-front {
    background: var(--card-bg);
}

.card-front * {
    transition: opacity 0.4s ease;
}

.issue-card-wrapper:hover .card-front * {
    opacity: 0;
}

.card-back {
    background: rgba(207, 162, 99, 0.03);
    transform: rotateY(180deg);
    border-color: rgba(207, 162, 99, 0.2);
}

.issue-card-wrapper:hover .card-back {
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(207, 162, 99, 0.25);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--gold);
    opacity: 0.8;
    transition: opacity var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-smooth);
}

.issue-card-wrapper:hover .card-icon {
    opacity: 1;
    transform: scale(1.1);
}

.card-front p {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
}

.card-explanation {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.55;
    font-weight: 300;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity var(--duration-slow) var(--ease-smooth),
                transform var(--duration-slow) var(--ease-smooth);
    transition-delay: 0.1s;
}

.issue-card-wrapper:hover .card-explanation {
    opacity: 1;
    transform: scale(1);
}


/* --- Блок «Форматы работы» (Formats) --- */
.formats-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* format-card использует общий класс .card-hover */
.format-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2rem;
    border-radius: 8px;
    position: relative;
}

.format-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.45;
    display: block;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: opacity var(--duration-normal) var(--ease-smooth),
                color var(--duration-normal) var(--ease-smooth);
}

.format-card:hover .format-num {
    opacity: 0.95;
    color: #dfbe88;
}

.format-card h3 {
    margin-bottom: 1.2rem;
    padding-right: 0;
}

.format-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- Блок «Как проходит работа» (Process) --- */
.process-section {
    padding: 100px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-step {
    position: relative;
}

.step-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- Блок доверия & Отзывы (Trust) --- */
.trust-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.trust-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.trust-info-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.card-icon-gold {
    font-size: 1.8rem;
    color: var(--gold);
    background: rgba(207, 162, 99, 0.06);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(207, 162, 99, 0.15);
}

.trust-info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.trust-info-card p {
    font-size: 0.95rem;
}

/* trust-image-wrapper использует общие классы image-hover + image-tilt */
.trust-image-wrapper .trust-image {
    aspect-ratio: 16/9;
}


/* --- Отзывы — Карусель --- */
.reviews-wrapper {
    border-top: 1px solid var(--card-border);
    padding-top: 5rem;
}

.reviews-title {
    margin-bottom: 3rem;
}

.reviews-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.reviews-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-item {
    position: absolute;
    width: 320px;
    height: 420px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem 2.2rem 2.2rem 2.2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 1.6s var(--ease-cinematic),
                opacity 1.6s var(--ease-cinematic),
                border-color 1.6s var(--ease-cinematic),
                box-shadow 1.6s var(--ease-cinematic);
    pointer-events: auto;
    will-change: transform, opacity;
}

.review-item::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(207, 162, 99, 0.08);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
    pointer-events: none;
}

.review-text {
    font-style: italic;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.review-author {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--gold);
    font-weight: 500;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

/* Кнопки навигации карусели */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.carousel-control:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 0 15px var(--gold-glow);
}

.carousel-control.prev { left: -40px; }
.carousel-control.next { right: -40px; }

/* Состояния карусели */
.review-item.card-center {
    transform: translate3d(0, -20px, 0) scale(1.06);
    opacity: 1;
    z-index: 5;
    border-color: rgba(207, 162, 99, 0.45);
    box-shadow: 0 15px 45px rgba(207, 162, 99, 0.18);
}

.review-item.card-center:hover {
    transform: translate3d(0, -55px, 0) scale(1.12);
    border-color: var(--gold);
    box-shadow: 0 25px 80px rgba(207, 162, 99, 0.75),
                0 0 40px rgba(207, 162, 99, 0.45);
    z-index: 6;
}

.review-item.card-left {
    transform: translate3d(-340px, 0, 0) scale(0.9);
    opacity: 0.45;
    z-index: 3;
    cursor: pointer;
}

.review-item.card-right {
    transform: translate3d(340px, 0, 0) scale(0.9);
    opacity: 0.45;
    z-index: 3;
    cursor: pointer;
}

.review-item.card-hidden {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}


/* --- Блок «Бизнес, стратегия и энергия» (Business) --- */
.business-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.002);
}

.business-card {
    background: rgba(12, 14, 15, 0.65);
    border: 1px solid rgba(207, 162, 99, 0.15);
    border-radius: 16px;
    padding: 5rem 4.5rem 4rem 4.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

.business-card:hover {
    border-color: rgba(207, 162, 99, 0.35);
    box-shadow: 0 25px 65px rgba(207, 162, 99, 0.05);
}

.business-header {
    position: relative;
    display: grid;
    grid-template-areas:
        "title image"
        "text image";
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem 4rem;
    align-items: center;
    padding-bottom: 4.5rem;
}

.business-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 100px;
    border-bottom: 1px solid rgba(207, 162, 99, 0.22);
    border-radius: 0 0 50% 50% / 0 0 20px 20px;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(207, 162, 99, 0.08);
}

.business-header-title {
    grid-area: title;
}

.business-header-text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.business-intro {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 2rem;
    max-width: 800px;
}

.business-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* business-image-wrapper использует .image-tilt (без image-hover, т.к. у него своя логика) */
.business-image-wrapper {
    grid-area: image;
    position: relative;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transition: transform var(--duration-cinematic) var(--ease-cinematic),
                border-color var(--duration-cinematic) var(--ease-cinematic),
                box-shadow var(--duration-cinematic) var(--ease-cinematic);
    width: 100%;
    max-width: 520px;
    justify-self: end;
    will-change: transform;
}

.business-image {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: screen;
    opacity: 0.3;
    filter: grayscale(0.3) brightness(0.85);
    transition: opacity var(--duration-cinematic) var(--ease-cinematic),
                filter var(--duration-cinematic) var(--ease-cinematic);
}

.business-image-wrapper:hover {
    transform: translateY(-8px) scale(1.08);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(207, 162, 99, 0.35);
}

.business-image-wrapper:hover .business-image {
    opacity: 1;
    filter: grayscale(0) brightness(1.15);
}

.business-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 2.2rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    margin-top: 3.5rem;
}

.b-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.b-icon {
    font-size: 1.1rem;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth),
                background var(--duration-normal) var(--ease-smooth);
}

.b-feature:hover .b-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(207, 162, 99, 0.3);
    background: rgba(207, 162, 99, 0.05);
}

.b-feature h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.b-feature p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.business-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.stat-icon {
    font-size: 1.6rem;
    color: var(--gold);
    opacity: 0.8;
}

.stat-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-num {
    font-size: 1.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}


/* --- Блок «Методическое пособие» (Handbook) --- */
.handbook-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.005);
}

.handbook-card {
    background: linear-gradient(135deg, rgba(21, 36, 31, 0.4) 0%, rgba(12, 14, 15, 0.6) 100%);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.handbook-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 100%, rgba(207, 162, 99, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.handbook-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.handbook-info h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.handbook-desc-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.btn-download {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* --- Заглушка кнопки методички (narrow fix) --- */
#download-manual-btn.is-disabled,
#download-manual-btn[data-placeholder="true"] {
    opacity: 0.85;
    cursor: not-allowed;
    /* сохраняем текущий дизайн — не отключаем pointer-events, чтобы срабатывал toast */
}
#download-manual-btn.is-disabled:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Toast-заглушка */
.handbook-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 380px;
    background: rgba(18, 22, 23, 0.96);
    color: var(--text-primary);
    border: 1px solid rgba(207, 162, 99, 0.35);
    border-left: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(207, 162, 99, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.handbook-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .handbook-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1.5rem;
        max-width: none;
    }
}

.handbook-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-mockup {
    width: 180px;
    height: 240px;
    background: #111516;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.pdf-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0.01) 50%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.pdf-icon {
    font-size: 4.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    transition: color var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-smooth);
}

.pdf-tag {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
}

.handbook-card:hover .pdf-mockup {
    transform: translateY(-5px) rotate(2deg);
    border-color: var(--card-hover-border);
    box-shadow: 0 20px 40px rgba(207, 162, 99, 0.15);
}

.handbook-card:hover .pdf-icon {
    color: #dfbe88;
    transform: scale(1.05);
}


/* --- Финальный призыв (CTA) --- */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #15241f 0%, #0c0e0f 70%);
}

.glow-bg-bottom {
    position: absolute;
    bottom: -20%;
    left: 20%;
    width: 60%;
    height: 50%;
    background: radial-gradient(circle, rgba(207, 162, 99, 0.05) 0%, rgba(16, 74, 52, 0.2) 60%, transparent 100%);
    filter: blur(80px);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}


/* --- Подвал (Footer) --- */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--card-border);
    background: #080a0b;
}

.footer p {
    font-size: 0.9rem;
}


/* --- Плавающие кнопки связи --- */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform var(--duration-normal) var(--ease-smooth),
                background-color var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.float-wa {
    background-color: var(--wa-color);
}

.float-wa:hover {
    background-color: #20ba5a;
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.float-tg {
    background-color: var(--tg-color);
}

.float-tg:hover {
    background-color: #0077b3;
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
}


/* --- Анимации появления --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) ease,
                transform var(--duration-slow) var(--ease-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s !important;
}

/* Каскадное появление */
.issues-grid .issue-card-wrapper:nth-child(1) { transition-delay: 0.05s; }
.issues-grid .issue-card-wrapper:nth-child(2) { transition-delay: 0.1s; }
.issues-grid .issue-card-wrapper:nth-child(3) { transition-delay: 0.15s; }
.issues-grid .issue-card-wrapper:nth-child(4) { transition-delay: 0.2s; }
.issues-grid .issue-card-wrapper:nth-child(5) { transition-delay: 0.25s; }
.issues-grid .issue-card-wrapper:nth-child(6) { transition-delay: 0.3s; }
.issues-grid .issue-card-wrapper:nth-child(7) { transition-delay: 0.35s; }
.issues-grid .issue-card-wrapper:nth-child(8) { transition-delay: 0.4s; }
.issues-grid .issue-card-wrapper:nth-child(9) { transition-delay: 0.45s; }
.issues-grid .issue-card-wrapper:nth-child(10) { transition-delay: 0.5s; }

.formats-grid .format-card:nth-child(1) { transition-delay: 0.05s; }
.formats-grid .format-card:nth-child(2) { transition-delay: 0.15s; }
.formats-grid .format-card:nth-child(3) { transition-delay: 0.25s; }
.formats-grid .format-card:nth-child(4) { transition-delay: 0.35s; }

.process-timeline .process-step:nth-child(1) { transition-delay: 0.05s; }
.process-timeline .process-step:nth-child(2) { transition-delay: 0.15s; }
.process-timeline .process-step:nth-child(3) { transition-delay: 0.25s; }
.process-timeline .process-step:nth-child(4) { transition-delay: 0.35s; }
.process-timeline .process-step:nth-child(5) { transition-delay: 0.45s; }

.trust-info-cards .trust-info-card:nth-child(1) { transition-delay: 0.05s; }
.trust-info-cards .trust-info-card:nth-child(2) { transition-delay: 0.15s; }
.trust-info-cards .trust-info-card:nth-child(3) { transition-delay: 0.25s; }


/* ============================================
   АДАПТИВНОСТЬ (все @media в одном месте)
   ============================================ */

@media (max-width: 1100px) {
    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .business-card {
        padding: 3.5rem 2.5rem 3rem 2.5rem;
    }
    .business-header {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        padding-bottom: 3.5rem;
        text-align: center;
    }
    .business-header-title {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .business-header-text {
        align-items: center;
    }
    .business-image-wrapper {
        justify-self: center;
        max-width: 380px;
    }
    .business-features {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    .business-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-content {
        align-items: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .space-card, .handbook-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }

    .space-image-wrapper {
        aspect-ratio: 16/10;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .navbar {
        height: 70px;
    }

    .nav-container {
        height: 70px;
        padding: 0 1.5rem;
    }

    .nav-channel-btn {
        display: none;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .floating-actions {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .space-card, .handbook-card {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .pdf-mockup {
        width: 140px;
        height: 186px;
    }

    .pdf-icon {
        font-size: 3.5rem;
    }

    /* Карусель: мобильная версия */
    .reviews-carousel-container {
        height: 480px;
    }

    .review-item {
        width: 290px;
        height: 380px;
        padding: 2.2rem 1.8rem 1.8rem 1.8rem;
    }

    .review-item.card-left {
        transform: translate3d(-100%, 0, 0) scale(0.8);
        opacity: 0;
        pointer-events: none;
    }

    .review-item.card-right {
        transform: translate3d(100%, 0, 0) scale(0.8);
        opacity: 0;
        pointer-events: none;
    }

    .review-item.card-center {
        transform: translate3d(0, -10px, 0) scale(1);
        box-shadow: 0 10px 30px rgba(207, 162, 99, 0.15);
    }

    .carousel-control {
        width: 40px;
        height: 40px;
    }

    /* Бизнес: мобильная версия */
    .business-card {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }

    .business-header {
        gap: 2rem;
    }

    .business-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
