/* ==========================================
   ПРАВИЛО — Светлая тема с фиолетовым акцентом
   Bootstrap 5.3.3 + Custom Light Theme
   Шрифты: Raleway (заголовки) + Nunito (текст)
   ========================================== */

/* ==========================================
   Root Variables
   ========================================== */
:root {
    --bg-body:      #f8f5ff;
    --bg-white:     #ffffff;
    --bg-alt:       #f0ebff;
    --bg-card:      #ffffff;
    --primary:      #7c3aed;
    --primary-dark: #5b21b6;
    --secondary:    #06b6d4;
    --accent:       #a855f7;
    --gold:         #f59e0b;
    --orange:       #f97316;
    --orange-dark:  #ea6c0e;
    --text:         #2d2b5f;
    --text-muted:   #6b7280;
    --card-border:  rgba(124, 58, 237, 0.18);
    --border-radius: 1rem;
    --transition:   all 0.3s ease-in-out;
}

/* ==========================================
   Bootstrap Overrides — Light Theme
   ========================================== */
.bg-light {
    background-color: var(--bg-alt) !important;
}

.bg-dark-section {
    background-color: var(--bg-alt) !important;
}

.bg-white {
    background-color: var(--bg-white) !important;
}

.card {
    background: var(--bg-card) !important;
    border: 1px solid var(--card-border) !important;
    color: var(--text) !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.card:hover {
    box-shadow: 0 10px 35px rgba(124, 58, 237, 0.18) !important;
    border-color: rgba(124, 58, 237, 0.35) !important;
}

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

.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text) !important;
}

.alert-info {
    background: rgba(6, 182, 212, 0.08) !important;
    border: 1px solid rgba(6, 182, 212, 0.25) !important;
    color: var(--text) !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    color: var(--text) !important;
}

.alert strong {
    color: #92400e;
}

.list-unstyled, ul li, ol li, p, .lead {
    color: var(--text);
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: #0891b2 !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-success {
    background: var(--secondary) !important;
}

.bg-primary.bg-opacity-10 {
    background: rgba(124, 58, 237, 0.1) !important;
}

.bg-success.bg-opacity-10 {
    background: rgba(6, 182, 212, 0.1) !important;
}

/* ==========================================
   Global Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-body);
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

a {
    transition: var(--transition);
}

html {
    scroll-padding-top: 80px;
}

[data-aos] {
    overflow-anchor: none;
}

main, section, .container {
    overflow-x: clip;
}

/* ==========================================
   Navigation — светлый frosted glass
   ========================================== */
.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.12);
    border-bottom-color: rgba(124, 58, 237, 0.25);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}

.brand-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    color: var(--text) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-nav-phone {
    background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.5);
    color: #fff !important;
}

.btn-nav-social {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    text-decoration: none !important;
}

.btn-nav-vk {
    background: #5181b8;
}

.btn-nav-vk:hover {
    background: #3b5998;
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-nav-tg {
    background: #2CA5E0;
}

.btn-nav-tg:hover {
    background: #1a8bc4;
    transform: translateY(-2px);
    color: #fff !important;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(230, 230, 250, 0.98);
        margin-top: 1rem;
        border-radius: 1rem;
        border: 1px solid rgba(124, 58, 237, 0.25);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
        overflow: hidden;
    }

    .navbar-nav {
        text-align: center;
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 1rem;
        color: var(--text) !important;
        border-bottom: 1px solid rgba(124, 58, 237, 0.15);
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-buttons {
        justify-content: center;
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid rgba(124, 58, 237, 0.2);
    }

    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.25rem 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
    }

    .btn-nav-phone span {
        display: inline !important;
    }
}

@media (max-width: 575px) {
    .brand-text { font-size: 1.2rem; }
    .brand-sub  { font-size: 0.5rem; }
}

/* ==========================================
   Hero Section — фото + тёмный overlay
   ========================================== */
.hero-section {
    background-image: url('../img/logo_alma_final.png');
    background-color: #ffa270;
    background-size: auto calc(var(--vh, 1vh) * 114);
    background-position: center 30%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: calc(var(--vh, 1vh) * 100);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: calc(var(--vh, 1vh) * -15);
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f97316 0%, #facc15 40%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.9)) drop-shadow(0 0 8px rgba(0,0,0,0.6));
}

.hero-title .gradient-word {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.31rem, 3.98vw, 1.91rem);
    font-weight: 700;
    max-width: 700px;
    margin: 8rem auto 2rem;
    opacity: 1;
    color: #fff;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.4);
    text-shadow:
        0 0 6px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(0, 0, 0, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.9),
        1px 1px 2px rgba(0, 0, 0, 0.9),
        -1px -1px 2px rgba(0, 0, 0, 0.9);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
    color: #fff !important;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.45);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.6);
    color: #fff !important;
}

.btn-hero-secondary {
    background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
    color: #fff !important;
    padding: 1rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.45);
}

.btn-hero-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.6);
    color: #fff !important;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 6px;
    height: 10px;
    background: #fff;
    border-radius: 3px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

@media (max-width: 767px) {
    .hero-section {
        background-size: auto calc(var(--vh, 1vh) * 75);
        background-position: center center;
        background-repeat: no-repeat;
    }
    .hero-section > .container {
        min-height: calc(var(--vh, 1vh) * 100) !important;
        padding-top: 9rem;
        padding-bottom: 2.5rem;
    }
    .hero-content {
        /* Общее положение блока по высоте — двигает и заголовок, и подзаголовок вместе */
        margin-top: calc(var(--vh, 1vh) * -25);
    }
    .hero-title {
        font-size: clamp(1.3rem, 6.2vw, 1.62rem);
        letter-spacing: 1px;
        white-space: nowrap;
        /* Расстояние между заголовком и подзаголовком */
        margin-bottom: 6rem;
    }
    .hero-subtitle {
        font-size: clamp(1.2rem, 3.9vw, 1.46rem);
        line-height: 1.3;
        /* Только горизонтальные отступы — вертикальное положение регулируется выше */
        margin: 0 auto 1.5rem;
    }
    .btn-hero-primary, .btn-hero-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 220px;
    }
    .hero-cta { flex-direction: column; align-items: center; }
    .scroll-indicator { display: none; }
}

/* ==========================================
   Video Section
   ========================================== */
.video-section .ratio {
    background-color: #000;
    width: 90%;
    margin: 2rem auto;
    height: 350px;
}

.video-section .ratio::before {
    padding-top: 0 !important;
    display: none !important;
}

/* ==========================================
   Section Titles
   ========================================== */
.section-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ==========================================
   Benefits
   ========================================== */
.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border) !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.07);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.18);
    border-color: rgba(124, 58, 237, 0.4) !important;
}

.benefit-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-number {
    font-family: 'Raleway', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(124, 58, 237, 0.35);
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1) !important;
}

.icon-box i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   Gallery
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.12);
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }

/* Gallery mobile carousel */
#galleryMobileCarousel {
    padding-bottom: 50px;
    position: relative;
}

#galleryMobileCarousel .carousel-item img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.12);
}

#galleryMobileCarousel .carousel-control-prev,
#galleryMobileCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.9;
}

#galleryMobileCarousel .carousel-control-prev { left: 5px; }
#galleryMobileCarousel .carousel-control-next { right: 5px; }

#galleryMobileCarousel .carousel-indicators {
    position: relative;
    bottom: 0;
    margin-top: 1rem;
}

#galleryMobileCarousel .carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.3;
}

#galleryMobileCarousel .carousel-indicators .active {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .gallery-desktop {
        display: none !important;
    }
}

/* ==========================================
   YouTube
   ========================================== */
.ratio { background: transparent; }
.ratio::before { background: transparent !important; }

.youtube {
    background-color: #000;
    position: absolute;
    inset: 0;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.youtube iframe {
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    border: none;
    z-index: 10;
}

.youtube img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.youtube:hover img {
    transform: scale(1.05);
}

.youtube .play-button {
    width: 90px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    z-index: 2;
    border-radius: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.youtube:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.7);
}

.youtube .play-button::before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
}

/* ==========================================
   Gradient BG — для раздела цен
   ========================================== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4c1d95 0%, #1e3a8a 100%);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: #fff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
    color: #fff !important;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-danger {
    background: var(--orange);
    border: none;
}

.btn-danger:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    transform: translateY(-2px);
}

/* ==========================================
   Shadow Utilities
   ========================================== */
.shadow-sm  { box-shadow: 0 2px 10px rgba(124, 58, 237, 0.1) !important; }
.shadow     { box-shadow: 0 5px 20px rgba(124, 58, 237, 0.15) !important; }
.shadow-lg  { box-shadow: 0 10px 40px rgba(124, 58, 237, 0.2) !important; }

/* ==========================================
   Program Section
   ========================================== */
#program img {
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* ==========================================
   MAK Cards / Regression Section
   ========================================== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.07);
}

.service-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* ==========================================
   Healer / About Section
   ========================================== */
.healer-quote {
    background: var(--bg-alt);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    border-radius: 0 1rem 1rem 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    position: relative;
}

.healer-quote::before {
    content: '\201C';
    font-size: 5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.25;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
}

.healer-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: #fff;
    box-shadow: 0 10px 35px rgba(124, 58, 237, 0.35);
}

/* ==========================================
   Pricing Cards
   ========================================== */
.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.2);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-price {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-old-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ==========================================
   Contacts
   ========================================== */
.contacts-section {
    background: var(--bg-alt);
    padding-bottom: 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.07);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.18);
    border-color: rgba(124, 58, 237, 0.35);
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.contact-icon-tg {
    background: linear-gradient(135deg, #2CA5E0 0%, #1a8bc4 100%);
    box-shadow: 0 8px 25px rgba(44, 165, 224, 0.3);
}

.contact-icon-vk {
    background: linear-gradient(135deg, #5181b8 0%, #3b5998 100%);
    box-shadow: 0 8px 25px rgba(81, 129, 184, 0.3);
}

.contact-phone {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.contact-phone:hover {
    color: var(--accent);
}

.cta-block {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    padding: 3rem;
    border-radius: 1.5rem;
    color: #fff;
}

.cta-block h4 {
    color: #fff;
}

.cta-block .btn-success {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff !important;
}

.cta-block .btn-success:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    transform: translateY(-3px);
}

.map-container {
    width: 100%;
    height: 400px;
    margin-top: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 767px) {
    .contact-card { padding: 2rem 1rem; }
    .contact-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .contact-phone { font-size: 1.25rem; }
    .cta-block { padding: 2rem 1.5rem; }
    .map-container { height: 300px; }
}

/* ==========================================
   Masters Section
   ========================================== */
.master-photo-wrapper {
    position: relative;
    display: inline-block;
}

.master-photo {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.master-photo-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0.25;
}

.master-info { padding: 1rem 0; }

.master-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
}

.master-list li i {
    font-size: 1.1rem;
    min-width: 20px;
    color: var(--secondary) !important;
    -webkit-text-fill-color: var(--secondary) !important;
}

@media (max-width: 991px) {
    .master-photo-wrapper::before { top: 15px; left: 15px; right: -15px; bottom: -15px; }
    .master-info { text-align: center; padding-top: 2rem; }
    .master-list li { text-align: left; }
}

@media (max-width: 575px) {
    .master-photo-wrapper::before { display: none; }
    .master-info { text-align: center; }
    .master-info .display-6 { font-size: 1.75rem; }
    .master-info .lead { font-size: 1rem; }
    .master-list { text-align: left; padding: 0 0.5rem; }
    .master-list li { font-size: 0.9rem; margin-bottom: 0.75rem !important; align-items: flex-start !important; }
    .master-list li i { font-size: 0.9rem; margin-right: 0.5rem !important; margin-top: 0.25rem !important; }
    .master-list li span { flex: 1; }
}

/* ==========================================
   Science Section
   ========================================== */
.science-img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.science-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

/* ==========================================
   Footer — тёмный
   ========================================== */
footer {
    background: #0f0c29;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

footer a:hover { opacity: 0.8; }
footer p { color: rgba(255, 255, 255, 0.6); }

/* ==========================================
   Scroll to Top
   ========================================== */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
}

#scrollTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

/* ==========================================
   Responsive Overrides
   ========================================== */
@media (max-width: 991px) {
    .nav-link::after { display: none; }
    .display-2 { font-size: 2.5rem; }
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }
    .pricing-card { padding: 2rem 1.5rem; }
    #scrollTop { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}

@media (max-width: 767px) {
    .display-2 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
    .lead { font-size: 1rem; }
    .btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
    .benefit-number { font-size: 3rem; }
    .benefit-icon { font-size: 2.5rem; }
    .contact-card { padding: 1.5rem 1rem; }
    .pricing-price { font-size: 2.5rem; }
    .service-card { padding: 1.5rem; }
    .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 575px) {
    .display-2 { font-size: 1.75rem; }
    .display-4 { font-size: 1.5rem; }
    .display-5 { font-size: 1.3rem; }
    h4 { font-size: 1.15rem; }
    h5 { font-size: 1rem; }
    .hero-cta { flex-direction: column; align-items: center; gap: 0.75rem; }
    .healer-quote { padding: 1.5rem; font-size: 1rem; }
    .card-body { padding: 1.25rem !important; }
}

/* ==========================================
   Custom Scrollbar
   ========================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}

::selection        { background: var(--primary); color: white; }
::-moz-selection   { background: var(--primary); color: white; }

/* ==========================================
   Session Timeline
   ========================================== */
.session-timeline {
    position: relative;
    padding-left: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.session-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.08);
    transition: var(--transition);
}

.timeline-item:hover {
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    transform: translateX(5px);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 1.25rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
    z-index: 1;
}

/* Master Gallery Carousel */
#masterGalleryCarousel img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Story Carousel */
#storyCarousel {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#storyCarousel img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    max-height: 400px;
    width: 100%;
}

#storyCarousel .carousel-control-prev,
#storyCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(124, 58, 237, 0.7);
    border-radius: 50%;
    opacity: 1;
}

#storyCarousel .carousel-control-prev { left: -20px; }
#storyCarousel .carousel-control-next { right: -20px; }

#storyCarousel .carousel-indicators {
    bottom: -40px;
}

#storyCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border-top: none;
    border-bottom: none;
    background: rgba(124, 58, 237, 0.4);
}

#storyCarousel .carousel-indicators .active {
    background: var(--primary);
}

@media (max-width: 767px) {
    #storyCarousel .carousel-control-prev { left: 0; }
    #storyCarousel .carousel-control-next { right: 0; }
    #storyCarousel img {
        max-height: 280px;
    }
}

@media (max-width: 575px) {
    .session-timeline {
        padding-left: 35px;
    }
    .session-timeline::before {
        left: 14px;
    }
    .timeline-marker {
        left: -29px;
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    .timeline-item {
        padding: 1rem;
    }
}

/* ==========================================
   Accessibility
   ========================================== */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button, a, input, textarea, select {
    transition: var(--transition);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

[data-aos] { pointer-events: auto; }

/* ==========================================
   Photo Placeholders
   ========================================== */
.photo-placeholder {
    background: linear-gradient(135deg, #e9e4f5, #d6d0e8);
    border: 2px dashed var(--card-border);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    min-height: 400px;
    padding: 2rem;
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.photo-placeholder span {
    font-size: 0.9rem;
    text-align: center;
}

.photo-placeholder-wide {
    min-height: 350px;
}

.photo-placeholder-video {
    min-height: 200px;
    aspect-ratio: 16 / 9;
}

/* ==========================================
   Review Cards
   ========================================== */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
}

.review-card:hover {
    box-shadow: 0 10px 35px rgba(124, 58, 237, 0.15);
}

.review-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.review-text {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.review-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, var(--bg-card));
    pointer-events: none;
}

.review-text.expanded {
    max-height: 1000px;
}

.review-text.expanded::after {
    display: none;
}

.review-text p {
    margin-bottom: 0;
}

.review-toggle {
    cursor: pointer;
    color: var(--secondary);
    font-weight: 600;
    border: none;
    background: none;
    padding: 0.5rem 0 0;
    font-size: 0.9rem;
}

.review-toggle:hover {
    color: var(--primary);
}

/* ==========================================
   Comparison Table
   ========================================== */
.comparison-table {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
}

.comparison-table thead th {
    color: #fff !important;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent !important;
}

.comparison-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-color: var(--card-border);
    color: var(--text);
    background: #ffffff;
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover td {
    background: #f0f0f0;
}

/* ==========================================
   Level Cards (for class format)
   ========================================== */
.level-card {
    background: var(--bg-card);
    border: 2px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

.level-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2);
}

.level-card-featured {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.2);
}

.level-duration {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   FAQ Accordion
   ========================================== */
.accordion-item {
    border: 1px solid var(--card-border);
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    background: var(--bg-card);
}

.accordion-button {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-card);
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-alt);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(26%) sepia(69%) saturate(3982%) hue-rotate(258deg) brightness(89%) contrast(95%);
}

.accordion-body {
    background: var(--bg-card);
    color: var(--text);
    line-height: 1.7;
}

/* ==========================================
   Carousel Overrides
   ========================================== */
#reviewsCarousel {
    padding-bottom: 20px;
    position: relative;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    display: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 1.25rem;
    background-size: 50%;
}

#reviewsCarousel .carousel-indicators {
    position: relative;
    bottom: 0;
    margin-top: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.3;
}

.carousel-indicators .active {
    opacity: 1;
}

@media (max-width: 767px) {
    .level-duration { font-size: 2.5rem; }
    .level-card { padding: 2rem 1.5rem; }
    .review-card { padding: 1.5rem; }
    .photo-placeholder { min-height: 250px; }
    .photo-placeholder-video { min-height: 150px; }
    .comparison-table thead th,
    .comparison-table tbody td { padding: 0.75rem; font-size: 0.85rem; }
}

/* ==========================================
   Print
   ========================================== */
@media print {
    .navbar, #scrollTop, footer { display: none; }
    body { background: white !important; color: black !important; }
}
