/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --color-bg-primary: #FAFAF8;
    --color-bg-secondary: #F5F3EF;
    --color-text-primary: #2D3748;
    --color-text-secondary: #4A5568;
    --color-accent: #8B7355;
    --color-accent-hover: #6F5B43;
    --color-accent-light: #F3EDE6;
    --color-border: #E2E8F0;
    --color-white: #FFFFFF;
    --color-success: #48BB78;
    --color-error: #F56565;
    
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ===== СБРОС ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

ul {
    list-style: none;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

.btn--full {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.nav__list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav__link {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--color-accent);
}

.nav__link--accent {
    background: var(--color-accent);
    color: var(--color-white) !important;
    padding: 8px 20px;
    border-radius: var(--radius-md);
}

.nav__link--accent:hover {
    background: var(--color-accent-hover);
    color: var(--color-white) !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
    background: var(--color-bg-primary);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero__text {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ===== СЕКЦИИ ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.section-title--left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SERVICES ===== */
.services {
    background: var(--color-bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.service-card__subtitle {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 16px;
}

.service-card__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== WARNING ===== */
.warning {
    background: #FFF5E6;
    border-left: 4px solid #F6AD55;
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.warning__icon {
    color: #F6AD55;
    flex-shrink: 0;
}

.warning__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.warning__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== FIRST SESSION ===== */
.first-session {
    background: var(--color-bg-primary);
}

/* ===== APPROACH ===== */
.approach__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.approach__item {
    text-align: center;
}

.approach__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent-light);
    margin-bottom: 16px;
}

.approach__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.approach__text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
    background: var(--color-bg-secondary);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about__photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about__intro {
    margin-bottom: 32px;
}

.about__text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.about__list {
    margin-bottom: 24px;
}

.about__list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.about__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

.about__note {
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ===== FORMAT ===== */
.format__pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.price-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.price-card--featured {
    border-color: var(--color-accent);
    transform: scale(1.02);
}

.price-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.price-card__price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.price-card__list {
    text-align: left;
}

.price-card__list li {
    padding: 8px 0;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}

.price-card__list li:last-child {
    border-bottom: none;
}

.format__subtitle {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-primary);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.details-block {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.details-block h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.details-block p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.details-block ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.details-block ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* ===== CONTACT ===== */
.contact {
    background: var(--color-bg-secondary);
}

.contact__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact__social {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__social-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.contact__social-text {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    color: var(--color-text-primary);
}

.social-link:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.social-link--telegram:hover {
    background: #E3F2FD;
    color: #0088cc;
}

.social-link--instagram:hover {
    background: #FFF0F5;
    color: #E1306C;
}

.social-link--vk:hover {
    background: #F0F4FF;
    color: #4C75A3;
}

.social-link__info {
    display: flex;
    flex-direction: column;
}

.social-link__name {
    font-weight: 600;
    font-size: 1rem;
}

.social-link__handle {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* PROTECTED CONTACTS */
.contact__protected {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__revealed {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#showContactsBtn {
    width: 100%;
    max-width: 400px;
}

/* PREFER */
.contact__prefer {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.prefer-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.prefer-text strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.prefer-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.phone-link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.05rem;
}

.phone-link:hover {
    color: var(--color-accent-hover);
}

/* MESSENGERS */
.contact__messengers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--color-white);
}

.messenger-btn--telegram {
    background: #0088cc;
}

.messenger-btn--telegram:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.messenger-btn--whatsapp {
    background: #25D366;
}

.messenger-btn--whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-text-primary);
    color: var(--color-white);
    padding: 32px 0;
    text-align: center;
}

.footer__copy {
    margin-bottom: 8px;
    font-weight: 500;
}

.footer__note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== АНИМАЦИИ ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .hero__title {
        font-size: 1.875rem;
    }
    
    .hero__inner,
    .about__inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        padding: 80px 32px 32px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__subtitle {
        font-size: 1.25rem;
    }
    
    .hero__photo {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about__inner {
        grid-template-columns: 1fr;
    }
    
    .price-card--featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.5rem;
    }
    
    .services__grid,
    .approach__grid,
    .details-grid {
        grid-template-columns: 1fr;
    }
}