:root {
    /* Цветовая палитра: глубокий фиолетовый с плавным градиентом и золотом */
    --bg-color-main: #1a0f2e;
    --bg-color-dark: #0a0514;
    --accent-gold: #cd9a40;
    --accent-gold-light: #e6b86a;
    --accent-gold-dark: #a37223;
    
    --text-white: #fdfdfd;
    --text-gray: #d1cbdc;
    
    --glass-bg: rgba(30, 20, 50, 0.4);
    --glass-border: rgba(205, 154, 64, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Типографика */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Анимации */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    background-color: var(--bg-color-dark);
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background gradient & pattern overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 30%, var(--bg-color-main) 0%, var(--bg-color-dark) 80%);
    z-index: -2;
}

.bg-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg.png'); /* ИИ сгенерированный фон */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15; /* Утонченность, чтобы не отвлекать */
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px; /* Mobile first, но не слишком широко на ПК */
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 400;
}

.gold-text {
    color: var(--accent-gold-light);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-gold);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    margin: 10px auto 0;
    border-radius: 2px;
}
.mb-10 { margin-bottom: 10px; }

/* Header */
.header {
    padding: 20px 0;
    text-align: center;
}
.logo-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold-dark) 100%);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(205, 154, 64, 0.3);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color-dark);
}

.title {
    font-size: 2.2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--bg-color-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(205, 154, 64, 0.4);
}

.glow-effect:hover {
    box-shadow: 0 0 25px rgba(205, 154, 64, 0.6);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

section {
    padding: 40px 0;
}

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

.card {
    padding: 25px;
    transition: var(--transition-smooth);
}
.card:hover { border-color: rgba(205, 154, 64, 0.5); }

.card-header h4 {
    color: var(--accent-gold-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(205, 154, 64, 0.3);
    padding-bottom: 10px;
}

.price-list {
    list-style: none;
}
.price-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: var(--text-white);
    font-size: 1.05rem;
}
.price-list li:last-child { margin-bottom: 0; }
.price-list .price {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.check-list {
    list-style: none;
    margin-top: 15px;
}
.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}
.check-list li::before {
    content: '✧';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.2rem;
    line-height: 1;
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 40px;
}

.carousel-track-wrap {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* для фото студии */
    object-position: center;
    border-radius: 10px;
}
.carousel-slide img.cert-img { object-fit: contain; } /* для сертификатов */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-gold);
    color: var(--bg-color-dark);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}
.carousel-btn:hover { background: var(--accent-gold-light); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.loader {
    width: 100%; text-align: center; padding: 50px; color: var(--accent-gold);
}

/* Контакты */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.contact-item .icon-wrap {
    margin-right: 15px;
    font-size: 1.4rem;
}
.contact-item a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover { color: var(--accent-gold-light); }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(205, 154, 64, 0.2);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(205, 154, 64, 0.1);
    color: var(--accent-gold);
    transition: var(--transition-smooth);
    border: 1px solid rgba(205, 154, 64, 0.3);
}

.social-icon:hover {
    background: var(--accent-gold);
    color: var(--bg-color-dark);
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Отложенные анимации */
.fade-in { opacity: 0; animation: fadeIn 1s ease forwards; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.slide-down { opacity: 0; transform: translateY(-20px); animation: slideDown 0.8s ease forwards; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideDown { to { opacity: 1; transform: translateY(0); } }

/* Desktop adjustments */
@media (min-width: 768px) {
    .container { max-width: 800px; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .hero .title { font-size: 3rem; }
    .carousel-slide { height: 450px; }
}
