/* ===== VARIABLES ===== */
:root {
    --pink: #FF4DA6;
    --pink-dark: #D4006E;
    --pink-bg: #FF69B4;
    --purple: #C06FBB;
    --purple-dark: #8B3A8A;
    --gray-dark: #2C2C2C;
    --white: #ffffff;
    --font: 'Montserrat', sans-serif;
    --header-h: 70px;
    --transition: 0.3s ease;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--gray-dark);
    background: rgba(255,255,255,0.97);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; padding-top: var(--header-h); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
}
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); }
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.btn-outline-pink {
    background: transparent;
    color: var(--pink);
    border: 2px solid var(--pink);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-outline-pink:hover { background: var(--pink); color: #fff; }
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-full { width: 100%; }
.btn-write {
    background: var(--pink);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-write:hover { background: var(--pink-dark); }
.btn-login {    padding: 8px 20px;    border: 2px solid var(--pink);    color: var(--pink);    border-radius: 25px;    font-size: 0.85rem;    font-weight: 700;    transition: all 0.3s ease;    white-space: nowrap;    text-decoration: none;    display: inline-block;}.btn-login:hover { background: var(--pink); color: #fff; }.btn-cabinet {    padding: 8px 20px;    background: var(--purple);    color: #fff;    border-radius: 25px;    font-size: 0.85rem;    font-weight: 700;    text-decoration: none;    display: inline-block;    transition: var(--transition);}.btn-cabinet:hover { background: var(--purple-dark); }.btn-logout {    padding: 8px 16px;    border: 2px solid #ddd;    color: #888;    border-radius: 25px;    font-size: 0.85rem;    font-weight: 600;    text-decoration: none;    display: inline-block;    transition: var(--transition);}.btn-logout:hover { border-color: #aaa; color: #555; }

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 24px;
    gap: 16px;
}
.header-phone a {
    color: var(--pink);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.header-phone a:hover { color: var(--pink-dark); }
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}
.main-nav a {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-dark);
    transition: var(--transition);
    white-space: nowrap;
}
.main-nav a:hover { color: var(--pink); background: rgba(255,77,166,0.06); }
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-icons a {
    color: var(--purple);
    transition: var(--transition);
    display: flex;
    align-items: center;
}
.social-icons a:hover { color: var(--pink); }
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.burger span {
    display: block;
    height: 2px;
    background: var(--gray-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,44,44,0.7) 0%, rgba(140,58,138,0.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 40px 20px;
}
.hero-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-shadow: 2px 4px 16px rgba(0,0,0,0.4);
    margin-bottom: 20px;
}
.hero-sub {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--pink-bg);
    margin-bottom: 40px;
    font-weight: 400;
}
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--gray-dark), var(--purple-dark));
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.page-hero--blog,
.page-hero--courses,
.page-hero--contact {
    background: linear-gradient(135deg, #1a1a2e, var(--purple-dark));
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.page-hero-sub {
    font-size: 1.1rem;
    opacity: 0.85;
}
.page-hero-cat {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.page-hero-meta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--gray-dark);
}
.section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 48px;
    font-size: 1rem;
}

/* ===== HELP SECTION ===== */
.help-section {
    padding: 80px 0;
    background: #fafafa;
}
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.help-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255,255,255,0.97);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.help-item:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.help-icon { color: var(--pink); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.help-cta { text-align: center; }

/* ===== QUOTES CAROUSEL ===== */
.quotes-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, var(--purple-dark));
}
.quotes-carousel {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}
.quotes-photo img {
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius);
    margin: 0 auto;
    object-fit: cover;
    aspect-ratio: 3/4;
    border: 4px solid var(--pink);
}
.quotes-content { position: relative; }
.carousel-slide { display: none; }
.carousel-slide.active { display: block; }
.quote-text {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--pink);
    line-height: 1.4;
    font-style: normal;
    text-align: center;
}
.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.dot.active { background: var(--pink); transform: scale(1.3); }

/* ===== BOOKING FORM ===== */
.booking-section {
    padding: 80px 0;
    background: rgba(255,255,255,0.97);
}
.booking-form, .contact-form, .order-form {
    max-width: 640px;
    margin: 0 auto;
}

/* ===== FORMS ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.97);
    color: var(--gray-dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255,77,166,0.1);
}
.form-result {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius);
    text-align: center;
    display: none;
}
.form-result.success { background: #d4edda; color: #155724; display: block; }
.form-result.error { background: #f8d7da; color: #721c24; display: block; }

/* ===== ABOUT ===== */
.about-section { padding: 80px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.about-photo-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-photo-wrap img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}
.about-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.about-card-item {
    text-align: center;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    padding: 16px 8px;
    border-radius: var(--radius);
}
.about-card-num { display: block; font-size: 1.8rem; font-weight: 800; }
.about-card-label { font-size: 0.75rem; opacity: 0.9; }
.about-name { font-size: 2.5rem; font-weight: 800; color: var(--pink); margin-bottom: 4px; }
.about-title { color: var(--purple); font-weight: 600; margin-bottom: 24px; font-size: 1.1rem; }
.about-text p { margin-bottom: 16px; color: #555; }
.about-section-h {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pink);
}
.about-edu-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
}
.about-edu-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--pink);
    font-size: 0.8rem;
}
.about-cta { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* ===== METHODS PAGE ===== */
.methods-page {
    min-height: 100vh;
    background: url('/assets/images/methods-bg.png') center/cover fixed;
    position: relative;
}
.methods-overlay {
    min-height: 100vh;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(4px);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}
.methods-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}
.methods-sub {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 48px;
}
.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    text-align: left;
    margin-bottom: 48px;
}
.method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 18px 20px;
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.method-card:hover { background: rgba(255,77,166,0.15); border-color: var(--pink); }
.method-icon { color: var(--pink); font-size: 1.2rem; flex-shrink: 0; }
.method-name { font-weight: 500; font-size: 0.95rem; }
.methods-cta { margin-top: 16px; }

/* ===== CONTRACT PAGE ===== */
.contract-page {
    min-height: 100vh;
    background: url('/assets/images/contract-bg.png') center/cover fixed;
}
.contract-overlay {
    min-height: 100vh;
    background: rgba(0,0,0,0.2);
    padding: 80px 0;
    color: #fff;
}
.contract-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}
.contract-intro {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 60px;
}
.contract-sections {
    display: grid;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 48px;
}
.contract-section {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-left: 4px solid var(--pink);
    padding: 28px 32px;
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}
.contract-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink-bg);
    margin-bottom: 16px;
}
.contract-section p { margin-bottom: 12px; opacity: 0.9; }
.contract-section ul { padding-left: 0; }
.contract-section ul li {
    padding: 4px 0 4px 24px;
    position: relative;
    opacity: 0.9;
}
.contract-section ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--pink);
}
.contract-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PRICING PAGE ===== */
.pricing-page {
    min-height: 100vh;
    background: url('/assets/images/pricing-bg.png') center/cover fixed;
}
.pricing-overlay {
    min-height: 100vh;
    background: rgba(26, 26, 46, 0.88);
    padding: 80px 0;
    color: #fff;
}
.pricing-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    color: var(--pink);
    margin-bottom: 12px;
}
.pricing-sub {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 60px;
    font-size: 1.1rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.pricing-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 32px 24px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.pricing-card--featured {
    border-color: var(--pink);
    background: rgba(255,77,166,0.12);
}
.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: #fff;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-card-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.pricing-desc { font-size: 0.9rem; opacity: 0.7; margin-bottom: 20px; }
.pricing-card-price {
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 700;
}
.price-eur { color: var(--pink); font-size: 1.5rem; }
.price-sep { opacity: 0.5; margin: 0 8px; }
.price-rub { color: #fff; font-size: 1.3rem; }
.pricing-features {
    margin-bottom: 24px;
}
.pricing-features li {
    padding: 6px 0;
    font-size: 0.9rem;
    opacity: 0.85;
}
.pricing-note {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BLOG ===== */
.blog-section { padding: 60px 0; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}
.blog-card {
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.blog-card-img-link { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img-link img { transform: scale(1.05); }
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
    aspect-ratio: 16/9;
}
.blog-card-body { padding: 24px; }
.blog-cat {
    display: inline-block;
    background: rgba(255,77,166,0.1);
    color: var(--pink);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.blog-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card-title a:hover { color: var(--pink); }
.blog-card-excerpt { font-size: 0.9rem; color: #666; margin-bottom: 16px; }
.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 12px;
}
.blog-likes { color: var(--pink); }
.btn-readmore {
    color: var(--pink);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.btn-readmore:hover { color: var(--pink-dark); }
.no-items { text-align: center; color: #999; padding: 60px 20px; font-size: 1.1rem; }

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.page-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid #e8e8e8;
    color: var(--gray-dark);
    background: rgba(255,255,255,0.97);
}
.page-btn:hover, .page-btn.active {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
}

/* ===== BLOG SINGLE ===== */
.post-section { padding: 60px 0; }
.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.post-cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.post-body h1, .post-body h2, .post-body h3 {
    margin: 24px 0 12px;
    color: var(--gray-dark);
}
.post-body p { margin-bottom: 16px; color: #555; line-height: 1.8; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 16px; }
.post-body li { margin-bottom: 8px; color: #555; }
.post-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
    flex-wrap: wrap;
}
.like-btn {
    background: none;
    border: 2px solid var(--pink);
    color: var(--pink);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}
.like-btn:hover, .like-btn.liked {
    background: var(--pink);
    color: #fff;
}
.post-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
    background: #f9f9f9;
    border-radius: var(--radius);
    padding: 24px;
}
.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-dark);
}
.sidebar-widget p { font-size: 0.9rem; color: #666; margin-bottom: 16px; }
.sidebar-post-link {
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #e8e8e8;
    transition: var(--transition);
}
.sidebar-post-link:hover { color: var(--pink); }
.sidebar-post-link:last-child { border-bottom: none; }

/* ===== COURSES ===== */
.courses-section { padding: 60px 0; }
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.course-card {
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}
.course-card:hover { transform: translateY(-4px); }
.course-card--featured { border: 2px solid var(--pink); }
.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--pink);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}
.course-card-img { overflow: hidden; aspect-ratio: 16/9; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; }
.course-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark), var(--pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.4);
    aspect-ratio: 16/9;
}
.course-card-body { padding: 24px; }
.course-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.course-card-desc { font-size: 0.9rem; color: #666; margin-bottom: 16px; }
.course-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 16px;
}
.course-price { margin-bottom: 20px; }
.price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}
.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink);
}
.price-current-lg {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pink);
    display: block;
    margin-top: 8px;
}

/* ===== COURSE SINGLE ===== */
.course-single-section { padding: 60px 0; }
.course-single-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
.course-cover { width: 100%; border-radius: var(--radius); margin-bottom: 32px; }
.course-body h1, .course-body h2, .course-body h3 {
    margin: 24px 0 12px;
    color: var(--gray-dark);
}
.course-body p { margin-bottom: 16px; color: #555; line-height: 1.8; }
.course-body ul, .course-body ol { padding-left: 24px; margin-bottom: 16px; }
.course-body li { margin-bottom: 8px; color: #555; }
.course-hero-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 12px;
    font-size: 1rem;
    opacity: 0.85;
}
.course-order-card {
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    position: sticky;
    top: 90px;
}
.course-order-price { margin-bottom: 24px; }

/* ===== CONTACT ===== */
.contact-section { padding: 60px 0; }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--gray-dark);
}
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; margin-bottom: 4px; }
.contact-item a { color: var(--pink); }
.contact-item p { color: #666; font-size: 0.9rem; }
.contact-form-wrap h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 28px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--gray-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pink);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}
.footer-brand p { font-size: 0.9rem; opacity: 0.7; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-nav h4, .footer-contact h4 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    font-size: 1rem;
}
.footer-nav a, .footer-contact p, .footer-contact a {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}
.footer-nav a:hover, .footer-contact a:hover { opacity: 1; color: var(--pink); }
.footer-socials { display: flex; gap: 12px; margin-top: 8px; }
.footer-socials a { opacity: 0.7; font-size: 0.85rem; transition: var(--transition); }
.footer-socials a:hover { opacity: 1; color: var(--pink); }
.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ===== WHATSAPP ===== */
.whatsapp-link { text-decoration: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-photo-col { max-width: 400px; margin: 0 auto; }
    .post-layout { grid-template-columns: 1fr; }
    .course-single-layout { grid-template-columns: 1fr; }
    .course-order-card { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-phone { display: none; }
    .social-icons { display: none; }
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(255,255,255,0.97);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 999;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-nav a { padding: 12px 16px; font-size: 1rem; }
    .burger { display: flex; }
    .hero { background-attachment: scroll; }
    .methods-page { background-attachment: scroll; }
    .pricing-page { background-attachment: scroll; }
    .hero-btns { flex-direction: column; align-items: center; }
    .quotes-carousel { grid-template-columns: 1fr; }
    .quotes-photo { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .about-cta { flex-direction: column; }
    .contract-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .blog-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .help-grid { grid-template-columns: 1fr; }
    .methods-grid { grid-template-columns: 1fr; }
    .about-card { grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== UX REFACTOR — ACTIVE NAV ===== */
.main-nav a.active {
  color: var(--pink);
  border-bottom: 2px solid var(--pink);
  background: rgba(255,77,166,0.08);
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  cursor: pointer;
}
.nav-overlay.active { display: block; }

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 10px 0 20px;
  font-size: 0.82rem;
  color: #888;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 0;
  margin: 0;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 4px;
  color: #bbb;
}
.breadcrumbs a {
  color: var(--purple);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #555; }

/* ===== TYPOGRAPHY ===== */
body {
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.post-content p,
.landing-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 1.4em;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem);   font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }

/* ===== BUTTONS AFFORDANCES ===== */
.btn, a[class^="btn"], button, [role="button"] {
  cursor: pointer;
}
.btn:hover,
.btn-primary:hover,
.btn-outline:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Touch targets — min 44px */
.main-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.social-icons a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn, .btn-write, .btn-login, .btn-cabinet {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}
.empty-state__icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--gray-dark); margin-bottom: 8px; font-size: 1.2rem; }
.empty-state p  { margin-bottom: 24px; }

/* ===== SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== FORM IMPROVEMENTS ===== */
.form-group .field-hint {
  font-size: 0.78rem;
  margin-top: 4px;
  min-height: 16px;
  display: block;
}
.form-group input[data-valid="true"] { border-color: #00c870; }
.form-group input[data-valid="false"] { border-color: #e53935; }

/* Section spacing */
.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 50px 0; } }

/* ===== 404 PAGE ===== */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.page-404 h1 { font-size: clamp(3rem, 10vw, 7rem); color: var(--pink); font-weight: 900; margin-bottom: 0; }
.page-404 h2 { font-size: 1.5rem; color: var(--gray-dark); margin-bottom: 16px; }
.page-404 p  { color: #666; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; }
.page-404__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===== MOBILE PRICING ===== */
@media (max-width: 600px) {
  .pricing-card__name  { font-size: 0.95rem; }
  .pricing-card__price { font-size: 1rem; }
}
