:root {
  --cream: #f4ece0;
  --ivory: #fbf7f0;
  --sand: #eadfcd;
  --gold: #a8844d;
  --gold-2: #c6a46c;
  --gold-3: #e3cfa6;
  --brown: #45372a;
  --muted: #86765f;
  --navy: #20376b;
  --line: rgba(168, 132, 77, .28);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Marck Script', 'Cormorant Garamond', cursive;
  --r: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--brown);
  font: 300 17px/1.7 'Jost', system-ui, sans-serif;
  background-color: var(--cream);
  /* бумажная фактура, как на её карточках */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

/* ---------- декор с её карточек ---------- */
main > section, .footer { position: relative; overflow: hidden; isolation: isolate; }
.deco { position: absolute; z-index: -1; pointer-events: none; user-select: none; height: auto; max-width: none; }
.deco--hero-l { left: -30px; bottom: -40px; width: 230px; opacity: .55; }
.deco--care-r { right: -20px; top: 30px; width: 220px; opacity: .45; }
.deco--prices-woman { left: 2%; top: 140px; width: 300px; opacity: .18; }
.deco--stones { right: -30px; bottom: -40px; width: 300px; opacity: .95; z-index: 0; }
.cert .lead { max-width: 440px; }
.cert__in { position: relative; overflow: hidden; }
.cert__in > :not(.deco) { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- type ---------- */
.caps { margin: 0 0 6px; font: 500 14px/1.4 var(--serif); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.script { margin: 0 0 18px; font: 400 44px/1.1 var(--script); color: var(--gold); }
.script--big { font-size: 64px; margin-bottom: 10px; }
/* заглавная А: в Great Vibes она выглядит как строчная, берем курсив Cormorant */
.h2 { margin: 0 0 16px; font: 400 clamp(34px, 4.6vw, 54px)/1.08 var(--serif); color: var(--brown); }
.h2 em { font-style: italic; color: var(--gold); }
.lead { margin: 0; max-width: 580px; color: var(--muted); font-size: 18px; }
.head { margin-bottom: 40px; text-align: center; }
.head .lead { margin-inline: auto; }
.head__lotus { display: block; width: 56px; height: 32px; margin: 0 auto 10px; color: var(--gold); }
.head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; text-align: left; }
.head--row .head__lotus { margin-left: 0; }
.head--row .h2 { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font: 400 15px/1 'Jost', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: .25s;
}
.btn--gold { background: linear-gradient(135deg, #b8955c, #9a7741); color: #fff; box-shadow: 0 10px 26px rgba(154, 119, 65, .3); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(154, 119, 65, .38); }
.btn--line { border-color: var(--gold); color: var(--gold); }
.btn--line:hover { background: var(--gold); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.top.is-solid { background: rgba(244, 236, 224, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.top__in { display: flex; align-items: center; gap: 26px; width: min(1240px, 100% - 32px); margin-inline: auto; height: 80px; }
.mono { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mono__ab {
  font: 500 34px/1 var(--serif); letter-spacing: .02em;
  background: linear-gradient(180deg, #d8bb83 0%, #a8844d 55%, #7f6033 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mono__txt { padding-left: 12px; border-left: 1px solid var(--line); font: 500 11px/1.35 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--brown); }
.nav a:hover { color: var(--gold); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(700px 500px at 90% 90%, rgba(214, 191, 152, .35), transparent 60%),
    var(--cream);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__lead { margin: 6px 0 28px; max-width: 540px; font: 400 25px/1.45 var(--serif); color: var(--brown); }
.gift { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 30px; padding: 12px 20px 12px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); }
.gift svg { width: 40px; height: 24px; color: var(--gold); flex: none; }
.gift b { font: 600 20px/1 var(--serif); color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.msg { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.msg a { color: var(--gold); text-decoration-color: var(--gold-3); text-underline-offset: 3px; }

.hero__pic { position: relative; justify-self: center; width: min(460px, 100%); }
.arch {
  position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 26px 26px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(69, 55, 42, .22);
}
.arch::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px 999px 18px 18px; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* открытка с часами работы, в стиле подарочного сертификата */
.hours {
  position: absolute; left: -48px; bottom: 46px; width: 168px; padding: 20px 14px 18px; text-align: center;
  background: var(--ivory); border-radius: 6px; box-shadow: 0 18px 40px rgba(69, 55, 42, .2);
}
.hours::after { content: ''; position: absolute; inset: 7px; border: 1px solid var(--gold-2); border-radius: 3px; pointer-events: none; }
.hours svg { display: block; width: 36px; height: 21px; margin: 0 auto; color: var(--gold); }
.hours span { display: block; }
.hours__date { margin-top: 5px; font: 500 11px/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.hours__label { margin: 10px 0 3px; font: italic 400 19px/1.15 var(--serif); color: var(--brown); }
.hours__time { font: 500 32px/1 var(--serif); color: var(--gold); }
.hours.is-closed .hours__time { font-size: 22px; line-height: 1.15; color: var(--muted); }

/* ---------- facts ---------- */
.facts { background: var(--ivory); border-block: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts p { margin: 0; padding: 26px 18px; text-align: center; font-size: 14px; color: var(--muted); border-left: 1px solid var(--line); }
.facts p:first-child { border-left: 0; }
.facts b { display: block; font: 500 36px/1.1 var(--serif); color: var(--gold); }

/* ---------- care picker ---------- */
.care { padding: 110px 0 100px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--ivory); color: var(--brown); font-size: 15px; transition: .2s; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--brown); border-color: var(--brown); color: var(--ivory); }
.pick { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; overflow: hidden; border-radius: var(--r); background: var(--ivory); box-shadow: 0 20px 50px rgba(69, 55, 42, .1); }
.pick.is-anim .pick__img img, .pick.is-anim .pick__body { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pick__img { margin: 0; min-height: 380px; }
.pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.pick__text { margin: 0 0 22px; font: italic 400 22px/1.4 var(--serif); color: var(--brown); }
.pick__list { list-style: none; margin: 0 0 28px; padding: 0; }
.pick__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pick__list small { display: block; font-size: 13px; color: var(--muted); }
.pick__list b { font: 500 22px/1 var(--serif); color: var(--gold); white-space: nowrap; }
.pick .btn { align-self: flex-start; }

/* ---------- prices ---------- */
.prices { padding: 100px 0; background: var(--ivory); }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }
.tab { padding: 10px 22px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font: 500 21px/1.2 var(--serif); transition: .2s; }
.tab:hover { color: var(--brown); }
.tab.is-active { color: var(--gold); border-color: var(--gold); }
.price-list { max-width: 860px; margin: 0 auto; }
.plist { list-style: none; margin: 0; padding: 0; }
.plist li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.plist__row { display: flex; align-items: baseline; gap: 12px; }
.plist__row span { font: 500 22px/1.3 var(--serif); color: var(--brown); }
.plist__row i { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--gold-2); transform: translateY(-5px); }
.plist__row b { font: 500 24px/1 var(--serif); color: var(--gold); white-space: nowrap; }
.plist small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.passes { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.passes__head, .passes__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; padding: 14px 22px; align-items: center; }
.passes__head { background: var(--sand); font: 500 13px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.passes__row + .passes__row { border-top: 1px solid var(--line); }
.passes__name { font: 500 19px/1.25 var(--serif); }
.passes__name small { display: block; font: 300 13px/1.3 'Jost', sans-serif; color: var(--muted); }
.passes__row b { display: block; font: 500 21px/1.1 var(--serif); color: var(--brown); }
.passes__row i { font-style: normal; font-size: 12.5px; color: #6f8a4e; }
.prices__note { margin: 26px 0 0; text-align: center; font: italic 400 19px/1.4 var(--serif); color: var(--gold); }

/* ---------- devices ---------- */
.devices { padding: 110px 0; }
.dev { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dev__item { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; padding: 18px; background: var(--ivory); border-radius: var(--r); border: 1px solid var(--line); }
.dev__item img { width: 180px; height: 200px; object-fit: cover; border-radius: 999px 999px 16px 16px; }
.dev__item h3 { margin: 0 0 6px; font: 500 28px/1.1 var(--serif); color: var(--brown); }
.dev__item p { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.dev__item span { font: italic 500 18px/1 var(--serif); color: var(--gold); }

/* ---------- about ---------- */
.about { padding: 110px 0; background: linear-gradient(180deg, var(--sand), var(--cream)); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__pics { position: relative; padding-bottom: 60px; }
.about__main { width: 86%; aspect-ratio: 640 / 520; object-fit: cover; border-radius: var(--r); box-shadow: 0 24px 60px rgba(69, 55, 42, .18); }
.about__side { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 8px solid var(--cream); box-shadow: 0 18px 40px rgba(69, 55, 42, .2); }
.about__creds { margin: 0 0 22px; padding: 12px 0; border-block: 1px solid var(--line); font: 500 13px/1.6 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.about__p { margin: 0 0 20px; font: italic 400 25px/1.4 var(--serif); color: var(--brown); }
.about__ask { margin: 0 0 18px; font: italic 400 22px/1.35 var(--serif); color: var(--brown); }
.about__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.about__btns .btn { min-height: 48px; padding: 0 24px; font-size: 13px; }
.about__list { list-style: none; margin: 0 0 30px; padding: 0; }
.about__list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.about__list li::before { content: ''; position: absolute; left: 0; top: 19px; width: 18px; height: 10px; background: currentColor; color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 36'%3E%3Cpath d='M32 33C26 26 26 13 32 3c6 10 6 23 0 30zM32 33c-4-8-12-14-21-14 1 9 10 14 21 14zM32 33c4-8 12-14 21-14-1 9-10 14-21 14z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 36'%3E%3Cpath d='M32 33C26 26 26 13 32 3c6 10 6 23 0 30zM32 33c-4-8-12-14-21-14 1 9 10 14 21 14zM32 33c4-8 12-14 21-14-1 9-10 14-21 14z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }

/* дипломы и сертификаты */
.docs { margin-top: 100px; }
.docs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.doc button { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 12px 12px 18px; text-align: left; color: inherit; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); transition: transform .3s, box-shadow .3s; }
.doc button:hover, .doc button:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(69, 55, 42, .14); }
.doc__pic { position: relative; display: block; aspect-ratio: 1.42; overflow: hidden; border-radius: 14px; background: var(--sand); }
.doc__pic::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px; pointer-events: none; }
.doc__pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) sepia(.12); transition: filter .4s, transform .6s; }
.doc button:hover .doc__pic img { filter: none; transform: scale(1.03); }
.doc__t { display: block; margin: 14px 4px 4px; font: 500 19px/1.25 var(--serif); color: var(--brown); }
.doc__m { display: block; margin: auto 4px 0; padding-top: 4px; font-size: 13px; color: var(--muted); }
.lightbox { width: min(1100px, 100% - 24px); max-height: calc(100% - 24px); padding: 14px; border: 0; border-radius: var(--r); background: var(--ivory); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.lightbox::backdrop { background: rgba(45, 35, 26, .72); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 12px; }
.lightbox p { margin: 10px 4px 0; font: 500 19px/1.3 var(--serif); color: var(--brown); text-align: center; }
.lightbox__x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251, 247, 240, .92); color: var(--brown); font-size: 26px; line-height: 1; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }

/* выбор способа записи */
.book { width: min(420px, 100% - 32px); padding: 30px 24px 24px; border: 0; border-radius: var(--r); background: var(--ivory); color: var(--brown); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.book::backdrop { background: rgba(45, 35, 26, .6); backdrop-filter: blur(4px); }
.book__title { margin: 0 0 18px; font: 400 30px/1.15 var(--serif); }
.book__list { display: grid; gap: 10px; }
.book__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: .2s; }
.book__list a:first-child { background: linear-gradient(135deg, #b8955c, #9a7741); border-color: transparent; color: #fff; }
.book__list a:first-child small { color: rgba(255, 255, 255, .85); }
.book__list a:hover { border-color: var(--gold); transform: translateY(-1px); }
.book__list b { font: 400 14px/1 'Jost', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.book__list small { font-size: 13px; color: var(--muted); }
.book__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 26px; line-height: 1; }

/* ---------- reviews ---------- */
.reviews { padding: 110px 0 100px; }
.score { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.score b { font: 500 64px/1 var(--serif); color: var(--gold); }
.score span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.slider::-webkit-scrollbar { display: none; }
.q { scroll-snap-align: start; margin: 0; padding: 34px 30px 28px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.q blockquote { margin: 0; font: italic 400 20px/1.45 var(--serif); color: var(--brown); }
.q blockquote::before { content: '“'; display: block; height: 30px; font: 400 64px/.9 var(--serif); color: var(--gold-2); }
.q figcaption { font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--gold); background: none; color: var(--gold); font-size: 20px; transition: .2s; }
.arrow:hover { background: var(--gold); color: #fff; }
.slider__count { font: 500 18px/1 var(--serif); color: var(--muted); min-width: 50px; text-align: center; }

/* ---------- certificate ---------- */
.cert { padding: 0 0 110px; }
.cert__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding: 50px; border-radius: 30px; background: var(--ivory); border: 1px solid var(--line); }
.cert__card {
  position: relative; display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 1.6; border-radius: 18px; padding: 20px;
  background: linear-gradient(135deg, #efe2c9, #d9c19a 55%, #c6a46c); color: #fff;
  box-shadow: 0 24px 50px rgba(154, 119, 65, .3); transform: rotate(-4deg);
}
.cert__card::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; }
.cert__card svg { width: 54px; height: 30px; color: #fff; }
.cert__ab { font: 500 54px/1 var(--serif); }
.cert__t { font: 500 13px/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; }
.cert .lead { margin-bottom: 26px; }

/* ---------- contacts ---------- */
.contacts { padding: 100px 0; background: var(--ivory); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contacts .head__lotus { margin-left: 0; }
.info { margin: 24px 0; }
.info div { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info dt { font: 500 13px/1.9 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.info dd { margin: 0; font-weight: 400; }
.info .sub { display: block; font-size: 14px; font-weight: 300; color: var(--muted); }
.info a { color: var(--gold); }
.week { list-style: none; margin: 0 0 26px; padding: 0; }
.week li { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; color: var(--muted); }
.week li.is-today { color: var(--brown); font-weight: 500; }
.week li.is-today span:first-child::after { content: ' · сегодня'; color: var(--gold); font-weight: 400; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.map { height: 100%; min-height: 520px; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); border: 1px solid var(--line); background: var(--sand); }
.map { position: relative; }
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }
.map__off { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 40px 30px; text-align: center; background: var(--sand); }
.map__off[hidden] { display: none; }
.map__off p { margin: 0; max-width: 300px; font: italic 400 20px/1.4 var(--serif); color: var(--brown); }
.map__off a { font-size: 14px; color: var(--gold); }
.footer__legal a { color: inherit; }
.footer__legal span:last-child { text-align: right; }

/* cookie */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: min(440px, 100% - 32px); padding: 18px 20px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 50px rgba(69, 55, 42, .22); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.cookie a { color: var(--gold); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btns .btn { flex: 1 1 auto; padding: 0 16px; font-size: 12px; }

/* страница политики */
.legal { padding: 130px 0 90px; }
.legal__in { max-width: 820px; }
.legal__date { margin: 0 0 34px; color: var(--muted); font-size: 14px; }
.legal h2 { margin: 36px 0 10px; font: 500 26px/1.2 var(--serif); color: var(--brown); }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold); }
.legal .btn { color: #fff; }
.legal__back { margin-left: auto; }
.legal__back-row { margin-top: 40px; }

/* ---------- footer ---------- */
.footer { padding: 54px 0 28px; background: var(--brown); color: var(--sand); }
.footer__in { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.footer__logo { width: 110px; height: 110px; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { text-decoration: none; font-size: 15px; }
.footer__nav a:hover { color: var(--gold-3); }
.footer__meta { margin-left: auto; display: flex; flex-direction: column; gap: 4px; text-align: right; font-size: 14px; }
.footer__meta a { font: 500 24px/1.2 var(--serif); color: var(--gold-3); text-decoration: none; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(234, 223, 205, .18); font-size: 12px; color: rgba(234, 223, 205, .6); }

.dock { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .dev { grid-template-columns: 1fr; }
  .slider { grid-auto-columns: calc((100% - 20px) / 2); }
  .docs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .deco--hero-l { width: 150px; left: -40px; bottom: auto; top: 46%; }
  .deco--care-r { width: 130px; }
  .deco--prices-woman { width: 200px; left: auto; right: -40px; top: 60px; }
  .deco--stones { width: 230px; right: -40px; bottom: -40px; opacity: .6; }
  .top__in { height: 66px; }
  .top__cta { display: none; }
  .mono__ab { font-size: 28px; }
  .mono__txt { font-size: 9.5px; }
  .burger { display: grid; place-content: center; gap: 7px; margin-left: auto; width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: 50%; }
  .burger span { width: 20px; height: 1.5px; background: var(--brown); transition: .25s; }
  .nav-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 66px 0 auto; z-index: -1; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 6px 16px 22px; background: var(--cream); box-shadow: 0 16px 30px rgba(69, 55, 42, .12);
    transform: translateY(-120%); transition: transform .3s;
  }
  .nav-open .nav { transform: none; }
  .nav-open .top { background: var(--cream); }
  .nav a { width: 100%; padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line); }

  .hero { padding: 96px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .script { font-size: 36px; margin-bottom: 12px; }
  .hero__lead { font-size: 21px; }
  .gift { font-size: 14.5px; }
  .hero__actions .btn { flex: 1 1 220px; }
  .hero__pic { width: min(330px, 82%); }
  .hours { left: -36px; bottom: auto; top: 30%; width: 136px; padding: 16px 10px 14px; }
  .hours__date { font-size: 10px; letter-spacing: .2em; }
  .hours__label { font-size: 16px; margin-top: 8px; }
  .hours__time { font-size: 27px; }
  .hours.is-closed .hours__time { font-size: 18px; }

  .facts__in { grid-template-columns: 1fr 1fr; }
  .facts p { padding: 18px 10px; }
  .facts p:nth-child(3) { border-left: 0; }
  .facts p:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts b { font-size: 30px; }

  .care, .prices, .devices, .about, .reviews, .contacts { padding: 70px 0; }
  .cert { padding-bottom: 70px; }
  .head { margin-bottom: 28px; }
  .lead { font-size: 16px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .pick { grid-template-columns: 1fr; }
  .pick__img { min-height: 0; height: 230px; }
  .pick__body { padding: 24px 20px; }
  .pick__text { font-size: 19px; }
  .pick .btn { align-self: stretch; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; font-size: 19px; padding: 8px 12px; }
  .plist__row span { font-size: 19px; }
  .plist__row b { font-size: 21px; }
  .passes__head, .passes__row { grid-template-columns: 1.2fr 1fr 1fr; padding: 12px 12px; gap: 8px; }
  .passes__head { font-size: 10px; letter-spacing: .1em; }
  .passes__name { font-size: 16px; }
  .passes__row b { font-size: 17px; }
  .passes__row i { font-size: 11px; }
  .dev__item { grid-template-columns: 110px 1fr; gap: 14px; padding: 12px; }
  .dev__item img { width: 110px; height: 140px; }
  .dev__item h3 { font-size: 22px; }
  .dev__item p { font-size: 14px; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__p { font-size: 21px; }
  .script--big { font-size: 52px; }
  .docs { margin-top: 70px; }
  .docs__grid { gap: 12px; }
  .doc button { padding: 8px 8px 14px; }
  .doc__t { font-size: 16px; margin: 10px 2px 4px; }
  .doc__m { font-size: 12px; margin-inline: 2px; }
  .about__creds { font-size: 12px; letter-spacing: .1em; }
  .slider { grid-auto-columns: 88%; gap: 12px; }
  .q blockquote { font-size: 18px; }
  .score b { font-size: 50px; }
  .cert__in { grid-template-columns: 1fr; padding: 28px 20px; gap: 34px; }
  .cert__card { width: 86%; margin: 0 auto; }
  .contacts__grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 380px; }
  .footer__meta { margin-left: 0; text-align: left; }
  .footer__legal { flex-direction: column; }
  .footer__legal span:last-child { text-align: left; }
  .cookie { bottom: 74px; left: 12px; width: calc(100% - 24px); }
  .doc-page { padding-bottom: 0; }
  .legal { padding: 100px 0 60px; }
  .legal h2 { font-size: 22px; }

  .dock {
    position: fixed; inset: auto 0 0; z-index: 60;
    display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ivory); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(69, 55, 42, .08);
  }
  .dock a { display: grid; place-items: center; height: 58px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--brown); }
  .dock a + a { border-left: 1px solid var(--line); }
  .dock a:first-child { background: linear-gradient(135deg, #b8955c, #9a7741); color: #fff; }
}

@media (max-width: 400px) {
  .info div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
