/* landing.css — стили для публичного лендинга студии йоги */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ===== CSS Custom Properties ===== */
:root {
    --landing-font-heading: 'Playfair Display', Georgia, serif;
    --landing-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --landing-bg: #ffffff;
    --landing-bg-alt: #faf8f5;
    --landing-bg-card: #ffffff;
    --landing-text: #2d2d2d;
    --landing-text-muted: #777;
    --landing-text-light: #aaa;
    --landing-border: #e8e4e0;
    --landing-primary: #667eea;
    --landing-primary-dark: #4a63d0;
    --landing-gradient: linear-gradient(135deg, #667eea, #764ba2);
    --landing-green: #8cb3a0;
    --landing-green-dark: #6d9a84;
    --landing-radius: 12px;
    --landing-radius-lg: 20px;
    --landing-shadow: 0 4px 20px rgba(0,0,0,0.06);
    --landing-shadow-hover: 0 8px 30px rgba(102,126,234,0.12);
    --landing-transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--landing-font-body);
    color: var(--landing-text);
    background: var(--landing-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--landing-primary-dark);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--landing-bg-alt);
}

.section-title {
    font-family: var(--landing-font-heading);
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--landing-text);
}

.section-subtitle {
    font-size: 16px;
    color: var(--landing-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

/* ===== Header/Nav ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--landing-border);
    transition: background var(--landing-transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-logo {
    font-family: var(--landing-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--landing-text);
    letter-spacing: 0.5px;
}

.header-logo span {
    background: var(--landing-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--landing-text);
    position: relative;
    padding-bottom: 2px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--landing-gradient);
    transition: width var(--landing-transition);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-nav a:hover {
    color: var(--landing-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--landing-text);
}

.header-burger svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--landing-border);
    }

    .header-nav.open {
        display: flex;
    }

    .header-burger {
        display: block;
    }

    .header-actions .btn {
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--landing-font-body);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--landing-transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--landing-gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(102,126,234,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.35);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--landing-primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #2d1b4e 0%, #1a1a3e 30%, #3d2a5e 60%, #2d1b4e 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(102,126,234,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(118,75,162,0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--landing-font-heading);
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, #c9a8ff, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #667eea, #8b6ed6);
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
}

.hero-actions .btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 56px;
}

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

.hero-stat-number {
    font-family: var(--landing-font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 26px;
    }
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: var(--landing-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #f0ece8, #e8e0d8);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-text-light);
    font-size: 14px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text h2 {
    font-family: var(--landing-font-heading);
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-text p {
    font-size: 16px;
    color: var(--landing-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--landing-text);
}

.about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--landing-green);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

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

.direction-card {
    background: var(--landing-bg-card);
    border-radius: var(--landing-radius);
    padding: 32px 28px;
    box-shadow: var(--landing-shadow);
    transition: all var(--landing-transition);
    text-align: center;
    border: 1px solid var(--landing-border);
}

.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--landing-shadow-hover);
}

.direction-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.direction-icon svg {
    width: 28px;
    height: 28px;
    color: var(--landing-primary);
}

.direction-card h3 {
    font-family: var(--landing-font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.direction-card p {
    font-size: 14px;
    color: var(--landing-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.direction-meta {
    font-size: 13px;
    color: var(--landing-text-light);
}

@media (max-width: 768px) {
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Schedule ===== */
.schedule-cta {
    text-align: center;
    background: linear-gradient(135deg, #2d1b4e, #3d2a5e);
    border-radius: var(--landing-radius-lg);
    padding: 64px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.schedule-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(102,126,234,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(118,75,162,0.1) 0%, transparent 50%);
}

.schedule-cta * {
    position: relative;
    z-index: 1;
}

.schedule-cta h2 {
    font-family: var(--landing-font-heading);
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 12px;
}

.schedule-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-cta .btn-primary {
    background: linear-gradient(135deg, #667eea, #8b6ed6);
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
}

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--landing-bg-card);
    border-radius: var(--landing-radius);
    padding: 40px 32px;
    box-shadow: var(--landing-shadow);
    border: 1px solid var(--landing-border);
    text-align: center;
    transition: all var(--landing-transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--landing-shadow-hover);
}

.pricing-card.popular {
    border-color: var(--landing-primary);
    box-shadow: 0 4px 20px rgba(102,126,234,0.1);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    display: inline-block;
    padding: 4px 14px;
    background: var(--landing-gradient);
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-family: var(--landing-font-heading);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-card .pricing-type {
    font-size: 14px;
    color: var(--landing-text-muted);
    margin-bottom: 20px;
}

.pricing-amount {
    font-family: var(--landing-font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--landing-primary);
    margin-bottom: 4px;
}

.pricing-amount small {
    font-size: 18px;
    font-weight: 400;
}

.pricing-details {
    font-size: 14px;
    color: var(--landing-text-muted);
    margin-bottom: 8px;
}

.pricing-divider {
    width: 40px;
    height: 2px;
    background: var(--landing-border);
    margin: 20px auto;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--landing-text);
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--landing-green);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Music ===== */
.music-block {
    text-align: center;
    padding: 64px 32px;
    background: var(--landing-bg-card);
    border-radius: var(--landing-radius-lg);
    box-shadow: var(--landing-shadow);
    border: 1px dashed var(--landing-border);
}

.music-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.music-icon svg {
    width: 36px;
    height: 36px;
    color: var(--landing-primary);
}

.music-block h3 {
    font-family: var(--landing-font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.music-block p {
    font-size: 15px;
    color: var(--landing-text-muted);
    margin-bottom: 4px;
}

.music-block .music-placeholder {
    font-size: 13px;
    color: var(--landing-text-light);
    font-style: italic;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--landing-border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--landing-font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--landing-text);
    text-align: left;
    transition: color var(--landing-transition);
}

.faq-question:hover {
    color: var(--landing-primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--landing-transition);
    color: var(--landing-text-muted);
}

.faq-item.open .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

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

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--landing-bg-card);
    border-radius: var(--landing-radius);
    box-shadow: var(--landing-shadow);
    border: 1px solid var(--landing-border);
    transition: all var(--landing-transition);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--landing-shadow-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--landing-primary);
}

.contact-card h4 {
    font-family: var(--landing-font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 14px;
    color: var(--landing-text-muted);
    line-height: 1.5;
}

.contact-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--landing-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-text-muted);
    transition: all var(--landing-transition);
}

.contact-socials a:hover {
    background: var(--landing-gradient);
    color: #fff;
    transform: translateY(-2px);
}

.contact-socials a svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}

.footer-brand h3 {
    font-family: var(--landing-font-heading);
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color var(--landing-transition);
}

.footer-col a:hover {
    color: var(--landing-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
    color: var(--landing-primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.news-card {
    background: var(--landing-bg-card);
    border-radius: var(--landing-radius);
    overflow: hidden;
    box-shadow: var(--landing-shadow);
    border: 1px solid var(--landing-border);
    transition: all var(--landing-transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--landing-shadow-hover);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--landing-bg-alt);
}

.news-card-body {
    padding: 20px 24px;
}

.news-card-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.news-card-badge.type-announcement {
    background: rgba(102,126,234,0.1);
    color: var(--landing-primary);
}

.news-card-badge.type-schedule_change {
    background: rgba(230,126,34,0.1);
    color: #e67e22;
}

.news-card-badge.type-tour {
    background: rgba(39,174,96,0.1);
    color: #27ae60;
}

.news-card-badge.type-promo {
    background: rgba(231,76,60,0.1);
    color: #e74c3c;
}

.news-card h3 {
    font-family: var(--landing-font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-card .news-meta {
    font-size: 13px;
    color: var(--landing-text-light);
    margin-bottom: 10px;
}

.news-card .news-excerpt {
    font-size: 14px;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
