:root {
    --bg: #1a1a1a;
    --bg-secondary: #242424;
    --bg-card: #2d2d2d;
    --text: #f5f5f5;
    --text-muted: #b0b0b0;
    --accent: #d4af37;
    --accent-dark: #b8962e;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Кнопки и общие элементы */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    font-weight: 600;
}
.btn--primary {
    background-color: var(--accent);
    color: #1a1a1a;
}
.btn--primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}
/* Шапка */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #333;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.logo {
    color: var(--accent);
    font-size: 28px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
}
.logo__icon {
    margin-right: 4px;
}
.nav {
    display: flex;
    gap: 24px;
}
.nav__link {
    color: var(--text);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}
.nav__link:hover {
    color: var(--accent);
    opacity: 1;
}
.header__cta {
    padding: 10px 20px;
    font-size: 14px;
}
.burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}
.burger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}
/* Hero */
.hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
}
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.2), transparent 50%), radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1), transparent 40%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    max-width: 800px;
}
.hero__title {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--accent);
    line-height: 1.2;
}
.hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.hero__features {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.hero__features li {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}
.hero__btn {
    font-size: 18px;
}
/* О нас */
.about {
    padding: 80px 20px;
}
.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--accent);
    margin-bottom: 48px;
    position: relative;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
}
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.about__card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.about__number {
    font-size: 48px;
    color: var(--accent);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}
.about__card p {
    color: var(--text-muted);
}
/* Услуги */
.services {
    padding: 80px 20px;
    background: var(--bg-secondary);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.service-card h3 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 20px;
}
.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.service-card__price {
    font-size: 28px;
    color: var(--accent);
    font-weight: 700;
}
/* Галерея */
.works {
    padding: 80px 20px;
}
.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.works__grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.works__grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
/* Отзывы */
.reviews {
    padding: 80px 20px;
    background: var(--bg-secondary);
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.review {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}
.review p {
    font-style: italic;
    margin-bottom: 16px;
}
.review cite {
    color: var(--accent);
    font-weight: 600;
}
/* Контакты */
.contacts {
    padding: 80px 20px;
}
.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contacts__info p {
    margin-bottom: 16px;
    color: var(--text-muted);
}
.contacts__info a {
    color: var(--accent);
    text-decoration: none;
}
.contact-form {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
}
.contact-form h3 {
    margin-bottom: 20px;
    color: var(--accent);
}
.contact-form input {
    width: 100%;
    padding: 12px;
    background: var(--bg);
    border: 1px solid #333;
    color: var(--text);
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 16px;
}
.contact-form input:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form .btn {
    width: 100%;
}
.form-message {
    margin-top: 10px;
    color: var(--accent);
    font-weight: 600;
}
/* Подвал */
.footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #333;
    color: var(--text-muted);
}
/* Лайтбокс */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}
.lightbox.open {
    display: flex;
}
.lightbox__img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
    color: var(--text);
    font-size: 18px;
    margin-top: 20px;
    text-align: center;
}
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--accent);
    font-size: 40px;
    cursor: pointer;
}
/* Анимации появления */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Адаптив */
@media (max-width: 768px) {
    .header__inner {
        flex-wrap: wrap;
    }
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }
    .nav.open {
        display: flex;
    }
    .burger {
        display: flex;
    }
    .header__cta {
        margin-left: auto;
    }
    .hero__title {
        font-size: 32px;
    }
    .hero__subtitle {
        font-size: 16px;
    }
    .contacts__inner {
        grid-template-columns: 1fr;
    }
    .works__grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .lightbox__img {
        max-width: 90%;
    }
}