/* ПЕРЕМЕННЫЕ (Пудрово-розовый + Графитовый) */
:root {
    --bg-color: #FAF7F5;
    --text-main: #2D2D2D;
    --text-muted: #6B6B6B;
    --accent: #D4A5A5;
    --accent-dark: #B8898A;
    --border: #E8E2DE;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

/* СБРОС */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    font-size: 16px;
}
a { color: var(--accent-dark); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--text-main); }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
ul { list-style: none; }

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

/* ТИПОГРАФИКА */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.section { padding: 80px 0; }

/* ШАПКА */
.header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; color: var(--text-main); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text-main); font-size: 0.95rem; }
.phone { font-weight: 600; color: var(--text-main); }

/* ГЕРОЙ */
.hero { padding: 60px 0; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero__sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 20px; }
.hero__features { margin-bottom: 30px; }
.hero__features li { margin-bottom: 8px; padding-left: 24px; position: relative; }
.hero__features li::before {
    content: "•"; color: var(--accent); font-size: 1.5rem; position: absolute; left: 0; top: -4px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* КНОПКИ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--outline { border: 1px solid var(--accent); color: var(--accent-dark); }
.btn--outline:hover { background: var(--accent); color: #fff; }

/* УСЛУГИ */
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: 0.3s;
}
.service-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); transform: translateY(-2px); }
.service-card .price { font-size: 1.4rem; font-weight: 600; color: var(--accent-dark); margin-bottom: 12px; }
.services__note { text-align: center; margin-top: 30px; font-size: 0.9rem; color: var(--text-muted); }

/* ПОРТФОЛИО */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* О МАСТЕРЕ */
.about__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.about__text h2 { text-align: left; }

/* ОТЗЫВЫ */
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.review {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    font-style: italic;
}
.review cite { display: block; margin-top: 16px; font-style: normal; font-weight: 600; font-size: 0.9rem; }

/* FAQ */
.faq details {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin-top: 12px; color: var(--text-muted); }

/* КОНТАКТЫ */
.contacts { text-align: center; background: #fff; border-top: 1px solid var(--border); }
.contacts p { margin-bottom: 12px; font-size: 1.1rem; }

/* ФУТЕР */
.footer { background: var(--text-main); color: #fff; padding: 30px 0; font-size: 0.9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer a { color: var(--accent); }

/* АДАПТИВ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .header__inner { flex-direction: column; height: auto; padding: 15px 0; gap: 10px; }
    .nav { flex-wrap: wrap; justify-content: center; }
    .hero__inner, .about__inner, .reviews__grid { grid-template-columns: 1fr; }
    .hero__image { order: -1; }
    .section { padding: 50px 0; }
    .footer__inner { flex-direction: column; gap: 10px; text-align: center; }
}
/* ХЛЕБНЫЕ КРОШКИ */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs span { margin: 0 8px; }

/* СТРАНИЦА УСЛУГИ */
.service-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.service-hero .lead {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.price-block {
    margin-bottom: 30px;
}
.price-block .price {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-dark);
}
.price-block .price-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.features-list {
    max-width: 800px;
    margin: 0 auto;
}
.features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}
.section--alt {
    background: #fff;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 2rem;
}

/* ГАЛЕРЕЯ ДО/ПОСЛЕ */
.gallery--ba {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.gallery--ba img {
    aspect-ratio: 16/10;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* АДАПТИВ ДЛЯ СТРАНИЦ УСЛУГ */
@media (max-width: 768px) {
    .service-hero__inner { grid-template-columns: 1fr; }
    .service-hero__image { order: -1; }
    .gallery--ba { grid-template-columns: 1fr; }
    .price-block .price { font-size: 2rem; }
}
/* О МАСТЕРЕ (обновленная галерея) */
.about__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}
.about__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.about__img-main {
    grid-column: span 2;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.about__img-small {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1/1;
}
.about__text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}
.about__text p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Адаптив для блока о мастере */
@media (max-width: 768px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* Плавное появление изображений при загрузке */
img {
    background: linear-gradient(90deg, #f0ebe7 25%, #faf7f5 50%, #f0ebe7 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
img[src] {
    animation: none;
    background: none;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/* СТРАНИЦА ПОЛИТИКИ */
.policy {
    max-width: 800px;
}
.policy h1 {
    text-align: left;
    margin-bottom: 0.5rem;
}
.policy__date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}
.policy h2 {
    text-align: left;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}
.policy p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.policy ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}
.policy ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.policy a {
    color: var(--accent-dark);
    text-decoration: underline;
}
.policy a:hover {
    color: var(--text-main);
}
