/*
Theme Name: Volye — Учебный центр
Theme URI: https://volye-edu.ru
Author: Volye Team
Author URI: https://volye-edu.ru
Description: Премиальная тёмная тема для учебного центра «Волье». Beauty/fashion/luxury стиль с неоновыми glow-эффектами, стеклянными карточками и адаптивным дизайном. Многостраничная структура с лендингом на главной.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: volye
Tags: custom-logo, custom-menu, editor-style, responsive-layout, one-column, two-columns, three-columns, four-columns
*/

/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --bg-primary: #070816;
    --bg-secondary: #0b1020;
    --bg-card: rgba(15, 20, 45, 0.6);
    --bg-card-hover: rgba(20, 28, 60, 0.7);
    --accent-blue: #2e5bff;
    --accent-purple: #8b3dff;
    --accent-pink: #d946ef;
    --text-primary: #ffffff;
    --text-secondary: #b8bdd3;
    --text-muted: #6b7194;
    --border-color: rgba(139, 61, 255, 0.15);
    --border-hover: rgba(139, 61, 255, 0.4);
    --glow-purple: rgba(139, 61, 255, 0.3);
    --glow-pink: rgba(217, 70, 239, 0.25);
    --glow-blue: rgba(46, 91, 255, 0.25);
    --gradient-main: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    --gradient-btn: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1280px;
    --header-height: 80px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* WordPress admin bar fix for fixed header */
body.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.btn--primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 20px var(--glow-purple), 0 0 40px rgba(139, 61, 255, 0.15);
    border: none;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-purple), 0 0 60px rgba(139, 61, 255, 0.25);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 61, 255, 0.08);
    transform: translateY(-2px);
}

.btn--call {
    background: var(--gradient-btn);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.85rem;
    box-shadow: 0 4px 16px var(--glow-purple);
}

.btn--call:hover {
    box-shadow: 0 6px 24px var(--glow-purple), 0 0 40px rgba(139, 61, 255, 0.2);
    transform: translateY(-1px);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-purple);
    background: rgba(139, 61, 255, 0.1);
    border: 1px solid rgba(139, 61, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--transition-slow), transform 0.7s var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(7, 8, 22, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo__icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.custom-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo__name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo__sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Nav */
.nav__list {
    display: flex;
    gap: 28px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link:hover::after {
    width: 100%;
}

/* Header contacts */
.header__contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.header__phone-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-purple);
}

.header__hours {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1002;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 8, 22, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: var(--text-primary);
    padding: 8px;
    line-height: 1;
}

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

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-menu__link:hover {
    color: var(--accent-purple);
}

.mobile-menu__footer {
    margin-top: 48px;
    text-align: center;
}

.mobile-menu__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-menu__phone svg {
    width: 22px;
    height: 22px;
    color: var(--accent-purple);
}

.mobile-menu__hours {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   MOBILE CALL BUTTON
   ============================================ */
.mobile-call-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--gradient-btn);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 24px var(--glow-purple), 0 0 40px rgba(139, 61, 255, 0.3);
    transition: var(--transition);
    animation: pulse-ring 2s infinite;
}

.mobile-call-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 4px 24px var(--glow-purple), 0 0 0 0 rgba(139, 61, 255, 0.4);
    }
    70% {
        box-shadow: 0 4px 24px var(--glow-purple), 0 0 0 15px rgba(139, 61, 255, 0);
    }
    100% {
        box-shadow: 0 4px 24px var(--glow-purple), 0 0 0 0 rgba(139, 61, 255, 0);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

/* Hero BG effects */
.hero__bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -15%;
    right: -5%;
    animation: float-glow-1 12s ease-in-out infinite;
}

.hero__glow--2 {
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    bottom: 10%;
    left: 20%;
    opacity: 0.2;
    animation: float-glow-2 15s ease-in-out infinite;
}

.hero__glow--3 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    top: 30%;
    left: 5%;
    opacity: 0.15;
    animation: float-glow-3 10s ease-in-out infinite;
}

@keyframes float-glow-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes float-glow-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.1); }
}

@keyframes float-glow-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, 25px); }
}

/* Hero decorative lines */
.hero__line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    opacity: 0.1;
}

.hero__line--1 {
    width: 100%;
    height: 1px;
    top: 30%;
    left: 0;
}

.hero__line--2 {
    width: 70%;
    height: 1px;
    top: 60%;
    right: 0;
    transform: rotate(-5deg);
}

.hero__line--3 {
    width: 50%;
    height: 1px;
    bottom: 20%;
    left: 10%;
    transform: rotate(3deg);
}

/* Hero inner */
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

/* Hero content */
.hero__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-purple);
    background: rgba(139, 61, 255, 0.08);
    border: 1px solid rgba(139, 61, 255, 0.25);
    border-radius: 100px;
    width: fit-content;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero__title-line {
    display: block;
}

.hero__title-accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero__feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-purple);
    flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__artwork {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.hero__artwork-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.4;
    animation: artwork-pulse 6s ease-in-out infinite;
}

@keyframes artwork-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.03); }
}

.hero__artwork-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.course-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139, 61, 255, 0.3), transparent, rgba(217, 70, 239, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(139, 61, 255, 0.12), 0 0 40px rgba(139, 61, 255, 0.06);
}

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

.course-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card__icon svg {
    width: 100%;
    height: 100%;
}

.course-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-purple);
}

.course-card__link svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.course-card__link:hover {
    color: var(--accent-pink);
}

.course-card__link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.advantage-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 61, 255, 0.1);
}

.advantage-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card__icon svg {
    width: 100%;
    height: 100%;
}

.advantage-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.advantage-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__content .section__badge {
    align-self: flex-start;
}

.about__content .section__title {
    text-align: left;
}

.about__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about__btn {
    margin-top: 12px;
    width: fit-content;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(139, 61, 255, 0.1);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-card__label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ============================================
   TEACHERS SECTION
   ============================================ */
.teachers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.teacher-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.teacher-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(139, 61, 255, 0.1);
}

.teacher-card__photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.teacher-card__avatar {
    width: 100%;
    height: 100%;
}

.teacher-card__avatar svg {
    width: 100%;
    height: 100%;
}

.teacher-card__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.teacher-card__role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 14px;
}

.teacher-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card:hover {
    border-color: var(--border-hover);
}

.review-card__stars {
    display: flex;
    gap: 4px;
}

.star {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-card__name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   CONTACTS SECTION
   ============================================ */
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts__info .section__badge {
    align-self: flex-start;
}

.contacts__info .section__title {
    text-align: left;
}

.contacts__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent-purple);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.contact-item__value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

.contacts__call-btn {
    width: fit-content;
}

/* Contact Form */
.contacts__form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    backdrop-filter: blur(12px);
}

.contacts__form-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.form__group {
    margin-bottom: 20px;
    position: relative;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 20, 45, 0.5);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-muted);
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.15);
}

.form__input.error,
.form__textarea.error {
    border-color: #ef4444;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__error {
    display: block;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 6px;
    min-height: 18px;
}

.form__submit {
    width: 100%;
}

.form__success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 48px 24px;
}

.form__success.active {
    display: flex;
}

.form__success svg {
    color: #22c55e;
}

.form__success p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Map placeholder */
.contacts__map {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contacts__map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contacts__map-placeholder svg {
    width: 48px;
    height: 48px;
}

/* ============================================
   PAGE / SINGLE CONTENT STYLES
   ============================================ */
.page-header {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 40px;
    text-align: center;
    position: relative;
}

.page-header .hero__bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-content h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 40px;
}

.page-content h3 {
    font-size: 1.3rem;
    margin-top: 28px;
}

.page-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.page-content ul,
.page-content ol {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content a {
    color: var(--accent-purple);
}

.page-content a:hover {
    color: var(--accent-pink);
}

.page-content img {
    border-radius: var(--radius-lg);
    margin: 24px 0;
}

.page-content blockquote {
    border-left: 3px solid var(--accent-purple);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer__contact-item {
    text-align: right;
}

.footer__phone {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer__phone:hover {
    color: var(--accent-purple);
}

.footer__hours {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer__bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE — TABLET (<= 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .courses__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__content {
        align-items: center;
    }

    .hero__badge {
        margin: 0 auto;
    }

    .hero__subtitle {
        margin: 0 auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__features {
        justify-content: center;
    }

    .hero__visual {
        order: -1;
    }

    .hero__artwork {
        max-width: 380px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__content .section__badge,
    .about__content .section__title,
    .contacts__info .section__badge,
    .contacts__info .section__title {
        text-align: center;
        align-self: center;
    }

    .contacts__inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (<= 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav,
    .header__contacts {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-call-btn {
        display: flex;
    }

    .section {
        padding: 70px 0;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .container {
        padding: 0 16px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 40px;
    }

    .hero__title {
        font-size: 2.2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero__artwork {
        max-width: 280px;
    }

    /* Courses */
    .courses__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 28px 20px;
    }

    /* Advantages */
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* About stats */
    .about__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-card__number {
        font-size: 2rem;
    }

    /* Teachers */
    .teachers__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Reviews */
    .reviews__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contacts */
    .contacts__inner {
        gap: 32px;
    }

    .contacts__form-wrapper {
        padding: 28px 20px;
    }

    .contacts__map {
        height: 200px;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

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

    /* Page content */
    .page-header {
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 24px;
    }

    .page-content {
        padding: 0 16px 60px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (<= 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

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

    .hero__buttons .btn {
        width: 100%;
    }

    .section__title {
        font-size: 1.7rem;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .teacher-card {
        padding: 28px 20px;
    }

    .teacher-card__photo {
        width: 100px;
        height: 100px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-purple);
    outline-offset: 2px;
}
