/* ===================================
   БАЗОВЫЕ ПЕРЕМЕННЫЕ И СБРОС
   =================================== */
:root {
    --primary: #C44569;
    --primary-dark: #8B5A9E;
    --bg-gradient: linear-gradient(135deg, #fff5f7 0%, #f3e7f9 50%, #e8f4f8 100%);
    --card-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #888888;
    --border-color: #f0e6f5;
    --shadow-sm: 0 2px 8px rgba(196, 69, 105, 0.08);
    --shadow-md: 0 4px 16px rgba(196, 69, 105, 0.12);
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-gradient);
    min-height: 100vh;
}

a { text-decoration: none; color: var(--primary); transition: 0.3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Градиентный текст (безопасный способ, не ломает структуру) */
.gradient-text {
    background: linear-gradient(135deg, #C44569 0%, #8B5A9E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   ШАПКА И НАВИГАЦИЯ
   =================================== */
.header {
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 30px;
}
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
.logo h1 { font-size: 1.5rem; margin: 0; line-height: 1.2; }
.logo span { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 4px; }

.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { color: var(--text-dark); font-weight: 500; padding: 5px 0; position: relative; }
.nav-menu a.active, .nav-menu a:hover { color: var(--primary); }
.nav-menu a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--primary); }

.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--primary); }

/* ===================================
   HERO & КНОПКИ
   =================================== */
.hero { text-align: center; padding: 60px 20px 40px; }
.hero h1 { font-size: 2.8rem; margin-bottom: 15px; line-height: 1.2; }
.hero-subtitle { font-size: 1.1rem; color: var(--primary-dark); font-weight: 600; margin-bottom: 20px; }
.hero-text { max-width: 700px; margin: 0 auto 30px; color: var(--text-light); font-size: 1.05rem; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; border: 2px solid transparent; }
.btn-primary { background: linear-gradient(135deg, #C44569, #8B5A9E); color: white; box-shadow: 0 4px 15px rgba(196, 69, 105, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196, 69, 105, 0.4); }
/* Фото в Hero секции */
.hero-photo {
    margin: 30px auto 40px;
    max-width: 350px;
    width: 90%;
}

.hero-photo img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Круглое фото */
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(196, 69, 105, 0.2);
    border: 5px solid white;
    transition: transform 0.3s ease;
}

.hero-photo img:hover {
    transform: scale(1.02);
}

/* Адаптив для фото */
@media (max-width: 768px) {
    .hero-photo {
        max-width: 280px;
        margin: 25px auto 30px;
    }
}
/* ===================================
   СЕКЦИИ И СЕТКИ
   =================================== */
.section { padding: 50px 0; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }

/* Карточки */
.card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid var(--border-color);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-dark); }
.card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.5; }

/* ===================================
   ЦЕНЫ И ФОРМАТЫ
   =================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; margin-bottom: 30px; }
.price-card {
    background: linear-gradient(135deg, #fff5f7, #f8f0fa);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.price-card:hover { border-color: var(--primary); }
.price { font-size: 2rem; font-weight: 700; color: var(--primary); display: block; margin: 10px 0; }
.duration { color: var(--text-muted); font-size: 0.9rem; display: block; margin-bottom: 15px; }

.formats-info {
    text-align: center;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   CTA БЛОК
   =================================== */
.cta-box {
    background: linear-gradient(135deg, #C44569, #8B5A9E);
    border-radius: var(--radius);
    padding: 60px 30px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
}
.cta-box h2 { color: white; background: none; -webkit-text-fill-color: white; margin-bottom: 20px; }
.cta-box p { margin-bottom: 30px; opacity: 0.9; font-size: 1.1rem; }
.cta-box .btn-primary { background: white; color: var(--primary); border-color: white; }
.cta-box .btn-primary:hover { background: transparent; color: white; }

/* ===================================
   ФУТЕР
   =================================== */
.footer { background: var(--card-bg); padding: 50px 0 20px; margin-top: 60px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-sm); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer h3 { font-size: 1.1rem; margin-bottom: 15px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-light); }
.footer a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: var(--text-muted); }

/* ===================================
   АДАПТИВНОСТЬ
   =================================== */
@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; width: 100%; padding: 20px 0; border-top: 1px solid var(--border-color); margin-top: 15px; }
    .nav-menu.active { display: flex; }
    .menu-toggle { display: block; }
    
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    .cta-box { padding: 40px 20px; }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */
.about-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.about-text { flex: 1; min-width: 280px; }
.about-photo {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--shadow-md);
    margin: 0 auto;
    display: block;
}

/* Timeline */
.timeline {
    border-left: 3px solid var(--primary);
    padding-left: 25px;
    margin: 30px 0;
}
.timeline-item {
    margin-bottom: 25px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}
.timeline-item h3 { font-size: 1.2rem; margin-bottom: 5px; color: var(--text-dark); }
.timeline-item p { color: var(--text-light); margin: 0; }

/* Quote */
.quote-box {
    background: var(--card-gradient);
    padding: 35px;
    border-radius: var(--radius);
    border-left: 5px solid var(--primary);
    font-style: italic;
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-dark);
    margin: 30px 0 40px;
    box-shadow: var(--shadow-sm);
}

/* Mobile adjustments for About */
@media (max-width: 768px) {
    .about-intro { flex-direction: column-reverse; text-align: center; }
    .about-photo { width: 220px; height: 220px; margin-bottom: 20px; }
    .quote-box { font-size: 1.1rem; padding: 25px; }
}

/* ===================================
   CONTACTS PAGE STYLES
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Левая колонка */
.messengers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.messenger-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}
.messenger-btn:hover {
    border-color: var(--primary);
    background: var(--card-gradient);
}
.messenger-btn .icon { font-size: 1.5rem; margin-bottom: 5px; }

.contact-details { margin-bottom: 30px; }
.detail-item { margin-bottom: 20px; }
.detail-item h3 { font-size: 1.1rem; margin-bottom: 5px; }
.social-links-footer a { margin-right: 15px; font-weight: 600; }

.map-placeholder {
    background: #eee;
    height: 250px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Правая колонка - Форма */
.contact-form-wrapper {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-gradient);
    transition: 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 69, 105, 0.1);
}

/* Адаптив для контактов */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .messengers-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 25px; }
}