/* ==========================================================================
   НАЧАЛО БЛОКА CSS (СКОПИРУЙТЕ ЭТОТ КОД В ВАШ ФАЙЛ STYLE.CSS)
   ========================================================================== */

/* Сброс стилей */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Переменные в стиле Burberry (Beige, Trench, Black, White) */
:root {
    --bg-color: #F3F0E9;         /* Благородный бежевый (как плащ Burberry) */
    --surface-color: #ffffff;    /* Чисто белый для карточек */
    --accent-dark: #1A1A1A;      /* Глубокий черный для текста и кнопок */
    --accent-beige: #E6DED1;     /* Темно-бежевый для границ */
    --accent-gold: #B8935D;      /* Приглушенное дорогое золото */
    --text-main: #1A1A1A;        /* Основной текст */
    --text-muted: #6B6B6B;       /* Серый текст */
    --border-light: #DED6C9;
    
    /* Цвета мессенджеров */
    --color-tg: #2AABEE;
    --color-max: #8C52FF;
    --color-phone: #1A1A1A;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Защита от случайного вылета контента */
}

/* Больше воздуха в секциях */
section {
    padding: 100px 20px;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-dark);
}

/* Кнопки в стиле люкс (строгие формы) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-dark);
    color: #fff;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-dark);
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    gap: 12px;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--accent-dark);
    border: 1px solid var(--accent-dark);
}

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

/* Хиро-блок */
.hero {
    padding: 140px 20px 100px;
    text-align: center;
    background-color: var(--bg-color);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: -1px;
    color: var(--accent-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Секция услуг */
.services-section {
    background-color: var(--bg-color);
    padding: 60px 10px;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Карточка услуги */
.service-card {
    background: var(--surface-color);
    padding: 30px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-dark);
    font-weight: 600;
}

/* --- ИСПРАВЛЕНИЯ ДЛЯ ТАБЛИЦ И АККОРДЕОНОВ --- */

/* 1. Таблицы больше не будут распирать экран */
.accordion-content table {
    width: 100%;
    table-layout: fixed; /* Жестко вписываем таблицу в ширину */
    word-wrap: break-word;
    border-collapse: collapse;
}

/* 2. Разрешаем перенос текста в колонке с ценой на мобилках */
.accordion-content td:last-child {
    white-space: normal !important; 
    text-align: right;
    min-width: 90px; /* Увеличил чуть-чуть для красоты */
    color: var(--accent-gold);
    font-weight: 600;
}

.accordion-content th, 
.accordion-content td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

/* 3. Ограничиваем обертку контента */
.accordion-content {
    overflow-x: hidden; 
    background: #fff;
}

/* Галерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

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

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--accent-dark);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
}


/* Специальный блок метро/локации */
.location-focus {
    background: #f8f5f0; /* Светло-бежевый в стиле Burberry */
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    border-left: 6px solid var(--accent-gold);
}

@media (min-width: 768px) {
    .location-focus { grid-template-columns: 1.5fr 1fr; }
}

.metro-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.metro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
}

.metro-list { list-style: none; padding: 0; margin: 20px 0; }
.metro-item { display: flex; align-items: center; margin-bottom: 10px; font-size: 0.95rem; }

/* Дополнительные правки для SEO-текста */
.info-block ul { margin-left: 20px; margin-bottom: 20px; }
.info-block li { margin-bottom: 10px; color: #444; }