:root {
    --bg: #f6ede1;
    --bg-deep: #f0dfcb;
    --card: #fbf6ef;
    --ink: #1e1a16;
    --muted: #6e6257;
    --accent: #8d6b4c;
    --accent-ink: #fbf6ef;
    --line: rgba(30, 26, 22, .14);
    --radius: 22px;
    --shadow: 0 18px 50px -24px rgba(60, 40, 20, .35);
    --serif: "Cormorant Garamond", "Times New Roman", serif;
    --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; }
h1, .slide-title { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.eyebrow {
    font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 1rem;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 34em; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .8em 1.6em; border-radius: 999px;
    font: 600 .92rem/1 var(--sans); letter-spacing: .04em; text-decoration: none;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246, 237, 225, .88);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 48px; }
.brand-text { width: 150px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.header-cta { min-height: 42px; padding: .7em 1.3em; }
.header-cta-short { display: none; }

/* ---------- slider ---------- */
.hero { background: var(--bg-deep); }
.slider { position: relative; overflow: hidden; }
.slide { min-height: clamp(460px, 72vh, 680px); display: flex; align-items: center; background-size: cover; background-position: center; }
.slide.is-active { animation: slide-in .7s ease both; }
.slide--1 { background-image: radial-gradient(circle at 78% 40%, #fbf3e8 0, transparent 55%), linear-gradient(120deg, #f0dfcb, #e8d2b8); }
.slide--2 { background-image: radial-gradient(circle at 75% 50%, #f7e9da 0, transparent 55%), linear-gradient(120deg, #e9d3bc, #dcc0a2); }
.slide--3 { background-image: radial-gradient(circle at 80% 45%, #fdf7ef 0, transparent 55%), linear-gradient(120deg, #f3e6d6, #e6cfb5); }
.slide-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding-block: 64px 88px; }
.slide-text h1, .slide-text .slide-title { margin-bottom: .3em; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.slide-art { width: min(100%, 380px); justify-self: center; opacity: .9; }
@keyframes slide-in { from { opacity: 0; } to { opacity: 1; } }

.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(251, 246, 239, .7); color: var(--ink);
    font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .2s;
}
.slider-arrow:hover { background: var(--card); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; gap: 10px; }
.slider-dots button {
    width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px;
    background: rgba(30, 26, 22, .22); cursor: pointer; transition: background-color .3s;
}
.slider-dots button[aria-selected="true"] { background: var(--ink); }

/* ---------- offer ---------- */
.offer-card {
    display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden;
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.offer-media {
    position: relative; display: grid; place-items: center; padding: 48px;
    background: radial-gradient(circle at 50% 45%, #fdf8f1 0, var(--bg-deep) 70%);
}
.offer-media img { width: min(100%, 300px); }
.offer-badge {
    position: absolute; top: 24px; left: 24px;
    display: grid; place-items: center; width: 108px; height: 108px; border-radius: 50%;
    background: var(--ink); color: var(--accent-ink); text-align: center;
    font: 500 1.05rem/1.15 var(--serif); font-style: italic; transform: rotate(-8deg);
}
.offer-body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.offer-text { color: var(--muted); }
.offer-text ul { padding-left: 1.2em; margin: 0 0 1em; }
.offer-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 1.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.offer-price { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.price { font: 600 2.4rem/1 var(--serif); }
.price-old { color: var(--muted); font-size: 1.1rem; }

/* ---------- contacts ---------- */
.contacts { background: var(--bg-deep); }
.section-head { margin-bottom: 40px; }
.contacts-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: stretch; }
.contacts-list { margin: 0; display: grid; gap: 22px; align-content: start; }
.contacts-list dt { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.contacts-list dd { margin: 0; font-size: 1.05rem; }
.contacts-list dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-placeholder {
    height: 100%; min-height: 380px; display: grid; place-items: center; align-content: center; gap: 18px;
    text-decoration: none; color: var(--muted); font-weight: 500;
    background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(141, 107, 76, .06) 22px 23px), var(--card);
}
.map-placeholder img { width: 120px; opacity: .55; }
.map-placeholder:hover span { color: var(--ink); }

/* ---------- prices (home) ---------- */
.prices-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.prices .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.prices .lead { margin-bottom: 1.6rem; }
.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-row a {
    display: flex; align-items: baseline; gap: 14px; padding: 20px 4px;
    border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s, padding .2s;
}
.price-row a:hover { background: var(--card); padding-inline: 16px; }
.price-row-name { font: 500 1.45rem/1.2 var(--serif); }
.price-row-dots { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(30, 26, 22, .35); transform: translateY(-4px); }
.price-row-time { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.price-row-price { font-weight: 600; white-space: nowrap; min-width: 5.5em; text-align: right; }

/* ---------- services page ---------- */
.page-hero { background: var(--bg-deep); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.page-hero .lead { margin-bottom: 0; }
.services { padding-top: clamp(40px, 5vw, 64px); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.services-grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.service-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.service-card summary { list-style: none; cursor: pointer; display: block; }
.service-card summary::-webkit-details-marker { display: none; }
.service-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.service-card summary:hover .service-img { transform: scale(1.03); }
.service-head { position: relative; display: grid; gap: 10px; padding: 24px 28px 26px; background: var(--card); }
.service-title { font: 500 1.75rem/1.15 var(--serif); padding-right: 44px; }
.service-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.service-price { font: 600 1.5rem/1 var(--serif); }
.service-duration { color: var(--muted); font-size: .9rem; }
.service-duration::before { content: "◷ "; }
.service-toggle {
    position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s, background-color .2s;
}
.service-toggle::before { content: "+"; font-size: 22px; line-height: 1; }
.service-card summary:hover .service-toggle { background: var(--bg-deep); }
.service-card details[open] .service-toggle { transform: rotate(45deg); }
.service-body { padding: 0 28px 30px; border-top: 1px solid var(--line); color: var(--muted); animation: slide-in .4s ease both; }
.service-body h3 { font-size: 1.3rem; color: var(--ink); margin: 1.4em 0 .4em; }
.service-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.service-body p { margin-bottom: .8em; }
.service-intro { color: var(--ink); font-style: italic; font-family: var(--serif); font-size: 1.2rem; margin-top: 1.2em; }
.service-body .btn { margin-top: 1rem; }
.services-note { margin: 40px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.back-link { margin-bottom: 24px; }
.back-link a { text-decoration: none; color: var(--muted); }
.back-link a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d9cbbb; padding-top: 64px; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 220px; filter: invert(1) sepia(.2); opacity: .92; margin-bottom: 14px; }
.site-footer h3 { font-size: 1.35rem; color: #fbf6ef; margin-bottom: .7em; }
.site-footer p { margin: 0 0 .5em; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #9d8f80; }
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    :root { --header-h: 108px; }
    .header-inner { flex-wrap: wrap; gap: 0 16px; }
    .nav {
        order: 3; width: 100%; gap: 22px; overflow-x: auto; white-space: nowrap;
        padding: 0 0 12px; scrollbar-width: none;
    }
    .nav::-webkit-scrollbar { display: none; }
    .header-inner { min-height: 0; padding-top: 10px; }
    .brand, .header-cta { margin-block: 6px 10px; }
    .prices-inner { grid-template-columns: 1fr; gap: 28px; }
    .prices .section-head { position: static; }
    .slide-inner { grid-template-columns: 1fr; text-align: left; padding-block: 48px 80px; }
    .slide-art { position: absolute; right: -40px; bottom: 30px; width: 220px; opacity: .18; pointer-events: none; }
    .slide-text { position: relative; z-index: 1; }
    .offer-card, .contacts-grid { grid-template-columns: 1fr; }
    .offer-media { padding: 40px 24px; }
    .offer-media img { width: 180px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .brand-mark { width: 38px; }
    .brand-text { width: 118px; }
    .header-cta-full { display: none; }
    .header-cta-short { display: inline; }
    .nav { gap: 16px; }
    .nav a { font-size: .82rem; }
    .slider-arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .price-row a { flex-wrap: wrap; gap: 4px 12px; }
    .price-row-name { width: 100%; }
    .price-row-dots { display: none; }
    .price-row-price { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide.is-active { animation: none; }
    .btn { transition: none; }
}
