/* ---------- БАЗА ---------- */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #faf7f5;
    --bg-alt: #f2ebe6;
    --text: #2e2622;
    --text-soft: #6b5e57;
    --accent: #c98b7a;
    --accent-dark: #b0735f;
    --white: #ffffff;
    --radius: 16px;
    --container: 1100px;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 64px 0; }

.section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin: 0 0 32px;
}

.section__title--left { text-align: left; }

/* ---------- КНОПКИ ---------- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, color .2s ease;
    text-align: center;
}

.btn:active { transform: scale(.97); }

.btn--primary {
    background: var(--accent);
    color: var(--white);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--text);
}
.btn--ghost:hover { background: var(--text); color: var(--bg); }

.btn--full { width: 100%; }

/* ---------- ХЕДЕР ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 247, 245, .85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(46, 38, 34, .08);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
}
.logo span { color: var(--accent); }
.header__phone { font-weight: 500; font-size: .95rem; }
.header__phone:hover { color: var(--accent); }

/* ---------- HERO ---------- */
.hero { padding: 48px 0 64px; }
.hero__inner {
    display: grid;
    gap: 32px;
    align-items: center;
}
.hero__subtitle {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    color: var(--accent-dark);
    margin: 0 0 16px;
}
.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.15;
    margin: 0 0 20px;
}
.hero__desc {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin: 0 0 28px;
    max-width: 44ch;
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* ---------- УСЛУГИ ---------- */
.services { background: var(--bg-alt); }
.services__list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 640px;
    margin-inline: auto;
}
.service {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(46, 38, 34, .2);
}
.service__name { font-weight: 500; }
.service__price {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    white-space: nowrap;
}
.services__note {
    max-width: 640px;
    margin: 24px auto 0;
    text-align: center;
    color: var(--text-soft);
    font-size: .95rem;
}

/* ---------- ГАЛЕРЕЯ ---------- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.gallery__grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .3s ease;
}
.gallery__grid img:hover { transform: scale(1.03); }

/* ---------- ОТЗЫВЫ ---------- */
.reviews { background: var(--bg-alt); }
.reviews__grid {
    display: grid;
    gap: 20px;
}
.review {
    margin: 0;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(46, 38, 34, .05);
}
.review p {
    margin: 0 0 12px;
    font-size: 1rem;
}
.review cite {
    font-style: normal;
    font-weight: 600;
    color: var(--accent-dark);
    font-size: .9rem;
}

/* ---------- О МАСТЕРЕ ---------- */
.about__inner {
    display: grid;
    gap: 32px;
    align-items: center;
}
.about__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
}
.about__text p {
    color: var(--text-soft);
    margin: 0 0 14px;
}

/* ---------- ЗАПИСЬ ---------- */
.booking { background: var(--bg-alt); }
.booking__inner { max-width: 520px; margin: 0 auto; }
.booking__desc {
    text-align: center;
    color: var(--text-soft);
    margin: 0 0 28px;
}
.form__row { margin-bottom: 18px; }
.form__label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 6px;
}
.form__input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(46, 38, 34, .15);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--text);
    transition: border-color .2s ease;
}
.form__input:focus {
    outline: none;
    border-color: var(--accent);
}
.form__input--textarea { resize: vertical; }
.booking__alt {
    text-align: center;
    margin: 20px 0 0;
    color: var(--text-soft);
    font-size: .95rem;
}
.booking__alt a { color: var(--accent-dark); font-weight: 600; }

/* ---------- ФУТЕР ---------- */
.footer {
    padding: 28px 0;
    background: var(--text);
    color: var(--bg);
    font-size: .9rem;
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.footer a:hover { color: var(--accent); }

/* ---------- АНИМАЦИЯ ПОЯВЛЕНИЯ ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- ДЕСКТОП ---------- */
@media (min-width: 768px) {
    .section { padding: 88px 0; }
    .hero { padding: 72px 0 88px; }
    .hero__inner { grid-template-columns: 1fr 1fr; gap: 48px; }
    .hero__image img { height: 520px; }
    .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .gallery__grid img { height: 260px; }
    .reviews__grid { grid-template-columns: repeat(3, 1fr); }
    .about__inner { grid-template-columns: 1fr 1fr; gap: 48px; }
    .about__image img { height: 520px; }
}