/* style.css */
:root {
    --bg: #fdfaf6;             /* светлый фон страницы */
    --block-bg: #f5efe6;       /* светло-коричневый (бежевый) для карточек */
    --block-hover: #ede3d3;
    --gold: #b49450;           /* золотой акцент */
    --gold-dark: #9a7a3a;
    --text: #2c2c2c;
    --text-light: #5c5c5c;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(0,0,0,0.05);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 250, 246, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(180, 148, 80, 0.2);
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav a:hover {
    color: var(--gold-dark);
}
.nav a:hover::after {
    width: 100%;
}

/* ---------- Hero ---------- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(253, 250, 246, 0.7), rgba(253, 250, 246, 0.9)),
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    margin-top: -60px;
    padding-top: 60px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.hero-title .gold {
    color: var(--gold-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
    padding: 14px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn-primary:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(180, 148, 80, 0.3);
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--text);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* ---------- Services ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--block-bg);
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.4s ease, background 0.3s;
}

.service-card:hover {
    background: var(--block-hover);
    transform: translateY(-8px);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--gold-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Achievements ---------- */
.achievements-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.achievement-item {
    text-align: center;
}

.achievement-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1.2;
}

.achievement-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificates {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    background: var(--block-bg);
    padding: 20px;
    border-radius: var(--radius);
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- Reviews ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--block-bg);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: scale(1.02);
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text);
}

.review-author {
    font-weight: 600;
    color: var(--gold-dark);
    text-align: right;
}

/* ---------- FAQ Accordion ---------- */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(180,148,80,0.2);
    margin-bottom: 5px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px 10px;
    background: transparent;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    color: var(--text);
    transition: color 0.3s;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding-bottom: 15px;
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--block-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(180,148,80,0.1);
}

.submit-btn {
    width: 100%;
    border-radius: 4px;
}

.form-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-result.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.form-result.error {
    display: block;
    background: #ffebee;
    color: #c62828;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--block-bg);
    padding: 30px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 50px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .nav {
        display: none; /* можно добавить бургер-меню при желании */
    }
    .section {
        padding: 70px 0;
    }
}