/* ==========================================================================
   1. БАЗОВЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ
   ========================================================================== */
:root {
    --bg-color: #FAFAFA; /* Молочный фон */
    --text-color: #333333; /* Мягкий черный */
    --accent-color: #E3D5CA; /* Пудровый */
    --gold-color: #B89F7D; /* Приглушенное золото */
    --white: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-text: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding-top: 80px; /* ФИКС: Отступ под фиксированный хедер */
    font-family: var(--font-text);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Скрывает всё, что вылезает за край по горизонтали */
    position: relative;

}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-top: 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantages {padding: 100px 0px 0px 0px;}

section {
    padding: 80px 0;
    background: transparent !important; /* ФИКС для пудрового свечения */
}

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

/* ==========================================================================
   2. ШАПКА И НАВИГАЦИЯ (HEADER)
   ========================================================================== */


/* 1. Глобальный фикс для всех элементов (ОБЯЗАТЕЛЬНО) */
* {
    box-sizing: border-box;
}

/* 3. Фикс Хедера */
.header {
    position: fixed; /* Жестко прибиваем к экрану */
    top: 0;          /* Точно в самый верх */
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;    /* Убедись, что высота зафиксирована */
}



.header {
    position: fixed; /* ФИКС: Закрепляем шапку */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0; /* Добавил легкий внутренний отступ для эстетики */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--text-color);
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 25px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav a:hover {
    color: var(--gold-color);
}

/* Активная страница в меню */
.nav a.active {
    color: var(--gold-color);
    position: relative;
    font-weight: 600;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background-color: var(--gold-color);
    border-radius: 50%;
}

/* ==========================================================================
   3. ГЛОБАЛЬНЫЕ КНОПКИ
   ========================================================================== */
.btn {
    display: inline-block;
    background-color: var(--gold-color);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
    border: 1px solid var(--gold-color);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--gold-color);
}

.btn-outline {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
    transition: 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold-color);
    color: var(--white);
}

/* ==========================================================================
   4. ГЛАВНЫЙ ЭКРАН (HERO) И ВОТЕРМАРКИ
   ========================================================================== */
.hero-section {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text-block {
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    color: var(--gold-color);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-title span {
    color: var(--gold-color);
    font-style: italic;
}

.hero-subtitle {
    font-size: 17px;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(184, 159, 125, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(184, 159, 125, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 159, 125, 0); }
}

.hero-actions .btn {
    animation: pulse-gold 2s infinite;
}

.hero-image-block {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-photo {
    width: 100%;
    max-width: 420px;
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    display: block;
}

.hero-blob {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 160px;
    height: 160px;
    background-color: var(--accent-color);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
}

.hero-watermark {
    position: absolute;
    top: 7%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13vw; 
    font-family: var(--font-heading);
    color: var(--accent-color);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    text-transform: uppercase;
}

.hero-watermark.secondary {
    top: 70%;
    left: 6%;
    opacity: 0.5;
    transform: translate(-50%, -50%) rotate(-90deg) !important;
}
.hero-watermark.abo {
    top: 72% !important;
    left: 18% !important;
    opacity: 0.2;
    transform: translate(-50%, -50%) rotate(-90deg) !important;
}
.hero-watermark.cont {top: 18% !important;}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 5;
    margin-top: 30px;
}

.stat-item {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

.stat-item b {
    display: block;
    font-size: 32px;
    font-family: var(--font-heading);
    color: var(--gold-color);
}

/* ==========================================================================
   5. ПРАЙС-ЛИСТ И АККОРДЕОНЫ
   ========================================================================== */
.services-hero {
    padding: 10px 0 10px 0;
}

.cta-section {
    padding: 40px 0 70px 0;
}

.head-price {padding: 0px 0px;}

   .price-section {
    position: relative;
    z-index: 1;
}

.price-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-header {
    padding: 22px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
}

.icon {
    font-size: 28px;
    color: var(--gold-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.8s ease-out;
    overflow: hidden;
}

.accordion-item.active .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-inner {
    overflow: hidden;
    padding: 0 30px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-top: 1px dashed transparent; 
    margin-top: 5px;
}

.accordion-item.active .accordion-inner {
    opacity: 1;
    padding-bottom: 30px;
    padding-top: 15px;
    border-top-color: var(--accent-color);
}

/* Списки внутри прайса */
.price-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* ФИКС: Выравнивание цены по нижней линии */
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--accent-color); 
    padding-bottom: 5px;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list .product {
    font-size: 16px;
    flex: 1;
}

.price-list .price {
    font-weight: 600;
    color: var(--gold-color);
    white-space: nowrap; /* ФИКС: Запрет переноса цены и знака рубля */
    flex-shrink: 0; /* ФИКС: Запрет сжатия колонки с ценой */
    margin-left: 15px;
}

.price-list .sub-category {
    border-bottom: none;
    font-weight: 600;
    margin-top: 15px;
    padding-bottom: 5px;
    color: var(--text-color);
}

.price-list .sub-item {
    padding-left: 15px; 
}

.sub-group {
    margin-top: 25px;
    padding-left: 20px;
    border-left: 1px dashed var(--accent-color);
}

.sub-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-color);
    margin: 0 0 10px 0;
}

/* ==========================================================================
   6. ВИЗУАЛЬНЫЕ ПАУЗЫ (ШАХМАТКА)
   ========================================================================== */
.price-visual-break {
    margin: 15px 0 0px 0;
    padding: 50px;
    background: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--accent-color);
    position: relative;
    z-index: 5;
}

.break-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-direction: row;
}

.break-img {
    flex: 1;
    min-width: 300px;
}

.break-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.break-text {
    flex: 1.2;
}

/* Управление реверсом */
.price-visual-break.reverse .break-grid,
#second-break .break-grid {
    flex-direction: row-reverse !important;
}

/* ==========================================================================
   7. СЕКЦИЯ "ОБО МНЕ"
   ========================================================================== */
.about-page {padding: 0 0;}

   .about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 20px 0;
}

.values-section {padding: 0px 0px;}

.image-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-img-container {
    position: relative;
    z-index: 2;
    width: 85%;
}

.about-img-main {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.gold-frame {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold-color);
    border-radius: 20px;
    z-index: -1;
}

.sub-img-container {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 45%;
    z-index: 3;
}

.about-img-sub {
    width: 100%;
    border-radius: 15px;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sub-title {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.about-lead {
    font-size: 18px;
    line-height: 1.7;
    margin: 25px 0;
    color: #444;
}

.about-features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-icon {
    color: var(--gold-color);
    font-size: 20px;
}

.feature-item h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-family: var(--font-heading);
}

.about-quote {
    margin-top: 40px;
    padding-left: 25px;
    border-left: 2px solid var(--accent-color);
    font-style: italic;
    color: #666;
}

/* ==========================================================================
   8. ЭСТЕТИКА (АТМОСФЕРА) И TIMELINE
   ========================================================================== */
.atmosphere-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.atmosphere-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.atmosphere-text {
    flex: 1;
}

.atmosphere-images {
    flex: 1;
    position: relative;
    min-height: 450px;
}

.img-large {
    width: 75%;
    border-radius: 20px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.img-small {
    width: 55%;
    border-radius: 15px;
    position: absolute;
    bottom: -40px;
    left: 0;
    z-index: 2;
    border: 10px solid var(--bg-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Таймлайн */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: var(--gold-color);
    top: 0; bottom: 0; left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    right: -6px; top: 15px;
    background-color: var(--white);
    border: 2px solid var(--gold-color);
    border-radius: 50%;
    z-index: 1;
}

.right { left: 50%; }
.right::after { left: -6px; }

.year {
    font-weight: 700;
    color: var(--gold-color);
    display: block;
    margin-bottom: 5px;
}

.timeline-section {padding: 120px 0 0 0;}

.timeline-section .section-title {
    text-align: center;
}

.timeline-item.left {
    text-align: right;
    padding-right: 50px;
}

.timeline-item.right {
    text-align: left;
    padding-left: 50px;
}

.timeline-content {
    display: inline-block;
    max-width: 400px; 
}

/* ==========================================================================
   9. ЦЕННОСТИ (VALUES GRID) И УСЛУГИ МИНИ
   ========================================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.value-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--accent-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    background: var(--accent-color);
    transform: translateY(-10px) !important;
    transition: all 0.3s ease;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 60px;
    color: rgba(184, 159, 125, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: 0.5s;
}

.value-card:hover .value-number {
    color: var(--white);
    transform: scale(1.2);
}

.services-brief {
    padding: 20px 0 100px 0px;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    /* margin-bottom: 60px; */
}

.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-mini-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.service-mini-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(184, 159, 125, 0.1);
    transition: all 0.5s ease !important;
}

.service-icon {
    font-size: 30px;
    color: var(--gold-color);
    margin-bottom: 20px;
}

.service-mini-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
}

.service-mini-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.link-more {
    text-decoration: none;
    color: var(--gold-color);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
}

.link-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold-color);
    transition: 0.3s;
}

.link-more:hover::after {
    width: 50%;
    left: 25%;
}

/* ==========================================================================
   10. СТРАНИЦЫ КОНТАКТОВ (PREMIUM И CREATIVE)
   ========================================================================== */
.contacts-premium {
    padding: 100px 0 50px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.social-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-btn-premium {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    border: 1px solid var(--accent-color);
    transition: all 0.4s ease;
    background: var(--white);
}

.social-btn-premium .btn-text {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-color);
}

.social-btn-premium .btn-sub {
    font-size: 12px;
    color: #999;
}

.social-btn-premium.wa:hover {
    border-color: #25D366;
    background: #f0fff4;
    transform: translateY(-5px);
}

.social-btn-premium.tg:hover {
    border-color: #8a3ab9;
    background: #ffebef;
    transform: translateY(-5px);
}

.contact-details-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.detail-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-color);
    margin-bottom: 5px;
}

.contact-img-box {
    position: relative;
}

.contact-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.contact-blob {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.contact-image-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.contact-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-image-wrapper:hover .contact-img {
    transform: scale(1.05);
}

/* Creative Contacts (если используется) */
.contacts-creative {
    background: url('https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
}

.contacts-creative::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.glass-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.social-btn {
    display: block;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    background: var(--white);
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.social-btn.wa:hover { background: #25D366; color: var(--white); border-color: #25D366; transform: translateY(-3px);}
.social-btn.tg:hover { background: #0088cc; color: var(--white); border-color: #0088cc; transform: translateY(-3px);}
.social-btn.inst:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: var(--white); border-color: transparent; transform: translateY(-3px);}

/* ==========================================================================
   11. FAQ, ОТЗЫВЫ, ЦИТАТА, ТИКЕР И ПРОЧИЕ БЛОКИ
   ========================================================================== */
.faq, .faq-section {
    padding: 20px 0;
}

.faq-section {
    background-color: var(--bg-color);
    padding: 50px 0 0 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item.accordion-item {
    border: none;
    border-left: 4px solid var(--gold-color);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    background: var(--white);
    transition: all 0.3s ease; 
}

.faq-item.accordion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(184, 159, 125, 0.15); 
}

.faq-item.accordion-item.active .accordion-inner {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.faq-question {
    margin: 0;
    font-size: 20px;
    color: var(--text-color);
}

.faq-answer {
    margin: 0;
    font-family: var(--font-text);
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.cta-box {
    background-color: var(--accent-color);
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.reviews-section {
    padding: 0px 0;
    background-color: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0px;
}

.review-card {
    padding: 25px 40px;
    background: var(--bg-color);
    border-radius: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transform: translateY(-5px) !important;
    transition: all 0.5s ease;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 80px;
    color: var(--accent-color);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 30px;
    opacity: 0.5;
}

.review-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
}

.author-tag {
    display: block;
    font-size: 12px;
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.quote-block {
    text-align: center;
    padding-bottom: 0px;
}

.quote-content {
    position: relative;
    display: inline-block;
}

.quote-img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 100px;
    margin-bottom: -50px;
    opacity: 0.8;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.quote-text span {
    color: var(--gold-color);
    font-style: italic;
}

.contacts-visual-footer {
    padding-top: 0px;
    padding-bottom: 0px;
}

.ticker-wrap {
    display: flex;
    width: 100%;
    overflow: hidden;
    background: var(--white);
    padding: 20px 50px;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    margin-bottom: 50px;
}

.ticker {
    display: flex;
    flex-shrink: 0;
    animation: marquee 20s linear infinite;
}

.ticker span {
    font-family: var(--font-text);
    font-size: 14px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-color);
    padding-right: 50px;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.watermark-vertical {
    position: absolute;
    top: 250px;
    right: 20px; 
    font-size: 235px; 
    font-family: var(--font-heading);
    color: var(--accent-color);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    writing-mode: vertical-rl;
    line-height: 0.8;
    user-select: none;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   12. ПУДРОВОЕ СВЕЧЕНИЕ (ФОН)
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-color);
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob-1 {
    top: -100px;
    right: -100px;
    background: #E3D5CA;
}

.blob-2 {
    bottom: -150px;
    left: -150px;
    background: #D5BDAF;
    animation-duration: 25s;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 400px;
    height: 400px;
    background: #F5EBE0;
    opacity: 0.3;
    animation-duration: 30s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 100px) scale(1.1); }
    100% { transform: translate(-30px, 50px) scale(0.9); }
}

/* ==========================================================================
   13. ФУТЕР
   ========================================================================== */
.main-footer {
    background-color: #fcf9f7;
    padding: 30px 0 10px;
    border-top: 1px solid var(--accent-color);
    color: var(--text-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    /* margin-bottom: 0px; */
}

.footer-logo {
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.footer-logo span {
    font-size: 14px;
    color: var(--gold-color);
    letter-spacing: 3px;
}

.footer-about {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 30px;
    margin-top: 0px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
    font-size: 35px;
}

.social-link:hover {
    background-color: var(--gold-color);
    color: var(--white);
    border-color: var(--gold-color);
    transform: translateY(-1.5px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-color);
    margin-top: 0px;
}

.footer-links, .footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-info li {
    margin-bottom: 6px;
    font-size: 15px;
    color: #555;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom-info {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.appointment-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-color);
    opacity: 0.8;
    margin: 10px 0;
}


/* ==========================================================================
   14. АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (МЕДИАЗАПРОСЫ)
   ВНИМАНИЕ: Они ВСЕГДА должны быть в самом конце файла!
   ========================================================================== */

/* ПЛАНШЕТЫ И ТЕЛЕФОНЫ (меньше 992px) */
@media (max-width: 992px) {
    .about-wrapper { flex-direction: column; gap: 60px; text-align: center; }
    .about-wrapper h1 { text-align: center !important; }
    .image-stack { margin: 0 auto; }
    .gold-frame { left: 20px; }
    
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-text-block { text-align: center; order: 1; }
    .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-image-block { justify-content: center; order: 2; }
    
    .atmosphere-wrapper { flex-direction: column; text-align: center; gap: 50px; }
    .atmosphere-text h2 { text-align: center !important; }
    .atmosphere-images { width: 100%; min-height: 400px; margin-top: 20px; }
    .img-large { right: 10%; width: 80%; }
    .img-small { bottom: -20px; left: 5%; width: 60%; }
    
    .timeline::after { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px !important; text-align: left !important; }
    .timeline-item::after { left: 14px; }
    .right { left: 0; }
    
    .contacts-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .contacts-text-side { order: 1; }
    .contacts-image-side { order: 2; }
    .contact-details-list { grid-template-columns: 1fr; }
    .social-actions { justify-content: center; }
    
    .watermark-vertical { font-size: 100px; right: 0; top: 100px; opacity: 0.2;}
    .hero-watermark.secondary {color: #FFFFFF;}
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-about { margin: 0 auto 30px; }
    .footer-socials { justify-content: center; }

    /* ФИКС: Шахматные блоки на мобилках ВСЕГДА фото сверху, текст снизу */
    .break-grid, 
    .price-visual-break.reverse .break-grid,
    #second-break .break-grid {
        flex-direction: column !important; 
        text-align: center;
    }
    
    .break-img {
        max-width: 100%;
        min-width: unset;
    }
    
    #second-break .break-img { order: 1 !important; }
    #second-break .break-text { order: 2 !important; }
}

/* СТАНДАРТНЫЕ ТЕЛЕФОНЫ (меньше 768px) */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    
    h1, h2 { font-size: 28px !important; }
    .hero h1 { font-size: 38px; }
    .hero-content { flex-direction: column; text-align: center; }

    .hero-photo { max-width: 280px; margin: 0 auto; }

    .price-visual-break { padding: 30px 15px; margin: 40px 0; }

    .info-line { flex-direction: column; gap: 10px; }
    .info-line .separator { display: none; }

    /* ФИКС: Выстраиваем хедер на мобильных */
    .header .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
    }
    
    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav a {
        margin: 0 10px; /* Убираем margin-left 25px и делаем ровные отступы */
        font-size: 12px;
        letter-spacing: 1px;
    }
}

/* МАЛЕНЬКИЕ ТЕЛЕФОНЫ (меньше 400px) */
@media (max-width: 480px) {
    /* ... твои старые стили для аккордеона ... */

    .header .container {
        padding: 0 10px; 
    } 

    .nav {
        display: flex;
        justify-content: center;
        gap: 8px !important; /* Уменьшаем расстояние между ссылками */
        flex-wrap: nowrap;
    }

    .nav a {
        margin-left: 0 !important; /* Убираем левый отступ, который всё портил */
        font-size: 10px !important; /* Уменьшаем шрифт до минимума, чтобы влезло */
        letter-spacing: 0.5px; /* Немного сужаем расстояние между буквами */
        white-space: nowrap; /* Еще одна страховка от переноса слов */
    }
    
    .logo {
        font-size: 18px; /* Немного уменьшаем логотип, если он тоже мешает */
    }

    .hero-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important; /* Равномерно распределяем по ширине */
        gap: 10px !important; /* РЕЗКО уменьшаем зазор, чтобы влезло */
        width: 100% !important;
        max-width: 100vw !important;
        margin: 30px 0 0 0 !important;
        padding: 0 10px !important; /* Даем небольшие отступы по бокам внутри */
        box-sizing: border-box !important;
    }

    .stat-item {
        flex: 1 !important; /* Каждый блок берет 1/3 ширины */
        text-align: center !important;
    }

    .stat-item b {
        font-size: 20px !important; /* Еще немного уменьшаем цифры */
    }

    .stat-item span {
        font-size: 9px !important; /* Уменьшаем текст под цифрами */
        display: block;
        white-space: normal; /* Разрешаем тексту переноситься на новую строку, если он длинный */
    }

    .services-brief {
        padding: 50px 0px 100px 0;
    }

    .advantages {
        padding: 50px 0px 0px 0;
    }
    .main-footer {padding: 25px 0px 0px 0px;}
    .footer-bottom {padding-top: 10px !important;}
    .footer-grid {margin-bottom: 20px; gap: 5px;}
    

    /* ТУТ УСЛУГИ НАЧАЛО*/
    .why {margin-bottom: 0px !important;}
    .container .doverie {gap: 0px !important;}
    .container div div h3 {font-size: 22px; margin-bottom: 10px;}
    .container div div p {font-size: 14px;}
    .section-title {margin-bottom: 0px;}
    /* ТУТ УСЛУГИ КОНЕЦ*/


    /* ТУТ ОБО МНЕ НАЧАЛО*/
    .about-page {padding: 0px 0px;}
    .about-lead {
        font-size: 14px;
    }
    .values-section {
        padding: 0px 0px;
    }
    .timeline-section {padding: 30px 0px;}
    /* ТУТ ОБО МНЕ КОНЕЦ*/


    /* ТУТ УСЛУГИ НАЧАЛО*/
    .services-hero {padding: 20px 0;}
    .head-price {padding: 0px 0px;}
    .break-grid {gap: 20px;}
    .break-text h3 {font-size: 24px !important;}
    .faq-section {padding: 0px 0px;}
    .cta-section {padding: 30px 0px;}
    /* ТУТ УСЛУГИ КОНЕЦ*/


    /* ТУТ КОНТАКТЫ НАЧАЛО*/
    .contacts-premium {padding: 30px 0px;}
    .hero-subtitle {font-size: 14px;}
    .quote-block {padding-bottom: 0px;}
    .ticker-wrap {margin-bottom: 35px;}
    .contacts-visual-footer {padding-bottom: 10px;}
    /* ТУТ КОНТАКТЫ КОНЕЦ*/
}


