/* --- Цветовая палитра и шрифты --- */
:root {
    --navy-blue: #0D1B2A;
    --old-gold: #C4A265;
    --charcoal-grey: #415A77;
    --off-white: #F5F5F5;

    --font-primary: 'Lato', sans-serif;
    --font-headings: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;

    --transition-speed: 0.5s;
}

/* --- Базовые стили --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--off-white);
    color: var(--charcoal-grey);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- Стили секций --- */
.content-section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--navy-blue);
    color: var(--off-white);
}

.dark-bg h2, .dark-bg h3 {
    color: var(--off-white);
}

.dark-bg p {
    color: #b0c4de; /* Light Steel Blue */
}

.light-bg {
    background-color: var(--off-white);
}

h2 {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

/* --- Блок 1: Главный экран --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--off-white);
    /* ОПИСАНИЕ ФОНА:
    Сюда нужно вставить ваше фоновое изображение или видео.
    Рекомендую темное, качественное фото/видео интерьера, текстуры камня и т.д.
    */
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.7)), url('path/to/your/hero-background.jpg') no-repeat center center/cover;
}

.hero-content .logo {
    color: var(--old-gold);
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-family: var(--font-headings);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

/* --- Кнопки --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--old-gold);
    color: var(--navy-blue);
    border: 2px solid var(--old-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--old-gold);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* --- Гриды и общие компоненты --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-2.reverse {
    grid-template-columns: 1fr 1fr;
}
.grid-2.reverse .text-content {
    order: 2;
}
.grid-2.reverse .image-content {
    order: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Блок 3: Услуги --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.service-card {
    text-align: center;
}

.service-icon {
    font-size: 2.5rem; /* Замените на ваши SVG иконки */
    color: var(--old-gold);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* --- Блок 5: Процесс --- */
.timeline {
    position: relative;
    margin-top: 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--charcoal-grey);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 50px;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 700;
    color: var(--old-gold);
    background: var(--navy-blue);
    padding-right: 20px;
}

.timeline-content h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* --- Блок 8: FAQ --- */
.faq-container {
    max-width: 700px;
    margin: 4rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #ccc;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--old-gold);
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding: 0 0 20px;
}

/* --- Блок 9: Отзывы --- */
.testimonial {
    margin: 2rem 0;
}
.testimonial-text {
    font-family: var(--font-headings);
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.testimonial-author {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--old-gold);
}

/* --- Блок 10: CTA --- */
.cta-section {
    padding: 100px 0;
    background: var(--navy-blue); /* Можно другой цвет, например, чуть светлее */
    color: var(--off-white);
}

.cta-section p {
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    color: #b0c4de;
}

/* --- Анимации --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-speed) ease-out, transform var(--transition-speed) ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2.2rem;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 60px 0;
    }

    .grid-2, .grid-2.reverse {
        grid-template-columns: 1fr;
    }
    .grid-2.reverse .text-content, .grid-2.reverse .image-content {
        order: 0; /* Сброс порядка для мобильных */
    }
    .image-content {
        margin-top: 30px;
    }

    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-number {
        left: -10px;
    }
}