/* =========================================================
   Твой Spa Con Amore — стили
   Палитра: крем, бежевый, шалфей, золото
   ========================================================= */

:root {
  --cream: #F8F4EC;
  --cream-2: #F2EBDF;
  --beige: #E7DCCB;
  --beige-dark: #CDBDA4;
  --sage: #9DAE95;
  --sage-dark: #6F8268;
  --sage-light: #DDE4D6;
  --gold: #B8955A;
  --gold-dark: #9A7A44;
  --gold-light: #E3D1AE;
  --text: #3D3A33;
  --text-soft: #6E685D;
  --white: #FFFDF9;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -25px rgba(80, 64, 40, .35);
  --shadow-soft: 0 10px 30px -18px rgba(80, 64, 40, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 500; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Общие элементы ---------- */
.section { padding: 88px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section__title {
  font-size: clamp(32px, 7vw, 52px);
  color: var(--text);
  margin-bottom: 20px;
}
.section__subtitle { color: var(--text-soft); max-width: 560px; }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head .section__subtitle { margin: 0 auto; }
.section__head .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead { font-size: 17px; color: var(--text-soft); }
.about__more { margin-top: 16px; font-size: 15px; color: var(--text-soft); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 34px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, #C9A86E 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 12px 30px -12px rgba(154, 122, 68, .7);
}
.btn--gold:hover { box-shadow: 0 18px 40px -14px rgba(154, 122, 68, .85); }

.btn--ghost-light {
  border-color: rgba(255, 253, 249, .6);
  color: var(--white);
  backdrop-filter: blur(6px);
  background: rgba(255, 253, 249, .08);
}
.btn--ghost-light:hover { background: rgba(255, 253, 249, .2); }

.btn--ghost {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: transparent;
}
.btn--ghost:hover { background: var(--gold); color: var(--white); }

.btn--small { min-height: 42px; padding: 10px 22px; font-size: 12px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(248, 244, 236, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(184, 149, 90, .2);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; flex-direction: column; line-height: 1; color: var(--white); transition: color .5s var(--ease); }
.logo__small {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-light);
  transition: color .5s var(--ease);
}
.logo__main { font-family: var(--font-serif); font-size: 24px; font-weight: 500; letter-spacing: .02em; }
.header.is-scrolled .logo,
.header.menu-open .logo { color: var(--text); }
.header.is-scrolled .logo__small,
.header.menu-open .logo__small { color: var(--gold); }

/* Мобильное меню */
.nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.nav a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--text);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.nav .btn { margin-top: 12px; opacity: 0; transition: opacity .5s var(--ease) .35s; }
.header.menu-open .nav { opacity: 1; visibility: visible; }
.header.menu-open .nav a { opacity: 1; transform: none; }
.header.menu-open .nav a:nth-child(2) { transition-delay: .05s; }
.header.menu-open .nav a:nth-child(3) { transition-delay: .1s; }
.header.menu-open .nav a:nth-child(4) { transition-delay: .15s; }
.header.menu-open .nav a:nth-child(5) { transition-delay: .2s; }

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--white);
  transition: transform .45s var(--ease), background-color .45s, top .45s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.header.is-scrolled .burger span,
.header.menu-open .burger span { background: var(--text); }
.header.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.header.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

body.no-scroll { overflow: hidden; }

/* ---------- 1. Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #5d5648;
}
.hero__bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(40, 34, 24, .6) 0%, rgba(40, 34, 24, .45) 45%, rgba(40, 34, 24, .7) 100%);
}
.hero__content {
  position: relative;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  text-align: center;
}
.hero__eyebrow { color: var(--gold-light); justify-content: center; }
.hero__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.hero__title {
  font-size: clamp(52px, 15vw, 120px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.01em;
  margin-bottom: 26px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .2);
}
.hero__title-small {
  display: block;
  font-style: italic;
  font-size: .42em;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.hero__slogan {
  max-width: 520px;
  margin: 0 auto 40px;
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 253, 249, .92);
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  max-width: 320px;
  margin: 0 auto;
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 253, 249, .6);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-light);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 2. О нас ---------- */
.about__grid { display: grid; gap: 56px; }
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  background: var(--beige);
}
.about__badge {
  position: absolute;
  right: -6px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-soft);
  outline: 1px solid rgba(255, 253, 249, .5);
  outline-offset: -8px;
}
.about__badge-num { font-family: var(--font-serif); font-style: italic; font-size: 22px; line-height: 1.1; }
.about__badge-text { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

.features { display: grid; gap: 28px; margin-top: 40px; }
.feature { display: flex; gap: 20px; align-items: flex-start; }
.feature__icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.feature:hover .feature__icon { background: var(--sage); color: var(--white); }
.feature__icon svg { width: 28px; height: 28px; }
.feature__title { font-size: 24px; margin-bottom: 4px; }
.feature__text { color: var(--text-soft); font-size: 15px; }

/* ---------- 3. Услуги ---------- */
.services { background: var(--cream-2); }
.cards { display: grid; gap: 24px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { overflow: hidden; aspect-ratio: 16 / 10; background: var(--beige); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 28px; }
.card__title { font-size: 28px; margin-bottom: 10px; }
.card__text { color: var(--text-soft); font-size: 15px; margin-bottom: 22px; flex: 1; }
.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--beige);
  margin-bottom: 18px;
}
.card__time { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sage-dark); }
.card__time svg { width: 18px; height: 18px; }
.card__price { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--gold-dark); }
.card__link {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 6px 0;
  border-bottom: 1px solid var(--gold-light);
  transition: border-color .3s, gap .3s;
}
.card__link span { display: inline-block; transition: transform .4s var(--ease); }
.card__link:hover { border-color: var(--gold); }
.card__link:hover span { transform: translateX(5px); }

/* ---------- Кнопка «Ещё» и полный прайс ---------- */
.more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; text-align: center; }
.more__btn { min-width: 240px; }
.more__chev { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.more__btn[aria-expanded="true"] .more__chev { transform: rotate(180deg); }
.more__hint { font-size: 14px; color: var(--text-soft); }

.pricelist {
  margin-top: 36px;
  padding: 28px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  animation: fadeUp .7s var(--ease) both;
}
.pricelist[hidden] { display: none; }
.pricelist__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.pricelist__title { font-size: 30px; }
.pricelist__search {
  position: relative;
  display: block;
}
.pricelist__search svg {
  position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--gold); pointer-events: none;
}
.pricelist__search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px 10px 44px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: 100px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s;
}
.pricelist__search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184, 149, 90, .15); }

/* Разделы — горизонтальная лента, на телефоне листается пальцем */
.pricelist__tabs {
  display: flex;
  gap: 8px;
  margin: 0 -18px 8px;
  padding: 4px 18px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.pricelist__tabs::-webkit-scrollbar { display: none; }
.ptab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--beige);
  border-radius: 100px;
  background: var(--cream);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
  -webkit-tap-highlight-color: transparent;
}
.ptab:hover { border-color: var(--gold-light); }
.ptab small { font-size: 12px; color: var(--text-soft); }
.ptab[aria-selected="true"] { background: var(--sage); border-color: var(--sage); color: var(--white); }
.ptab[aria-selected="true"] small { color: rgba(255, 253, 249, .8); }

.pricelist__group { margin-top: 18px; }
.pricelist__group-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--sage-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-light);
}
.pricelist__empty { padding: 28px 0; text-align: center; color: var(--text-soft); }

.pitem { border-bottom: 1px solid var(--cream-2); }
.pitem__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pitem__name { flex: 1; font-size: 15px; font-weight: 500; line-height: 1.45; }
.pitem__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.pitem__price { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; text-align: right; }
.pitem__now { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--gold-dark); white-space: nowrap; line-height: 1.2; }
.pitem__old { font-size: 13px; color: var(--text-soft); text-decoration: line-through; white-space: nowrap; }
.pitem__sale {
  margin-top: 2px; padding: 1px 7px; border-radius: 6px;
  background: var(--gold); color: var(--white); font-size: 11px; font-weight: 600;
}
.pitem__chev { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; color: var(--gold); transition: transform .4s var(--ease); }
.pitem.is-open .pitem__chev { transform: rotate(180deg); }
.pitem__body { display: none; padding: 0 0 20px; }
.pitem.is-open .pitem__body { display: block; animation: fadeUp .45s var(--ease) both; }
.pitem__desc { font-size: 14px; line-height: 1.7; color: var(--text-soft); white-space: normal; }
.pitem__desc b { color: var(--text); font-weight: 600; }
.pitem__book { margin-top: 16px; min-height: 46px; padding: 10px 26px; font-size: 13px; }

/* ---------- 4. Сертификаты ---------- */
.gift__box {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 15% 20%, rgba(227, 209, 174, .55), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(157, 174, 149, .35), transparent 45%),
    var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.gift__box::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-light);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.gift__ornament { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--gold); }
.gift__box .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.gift__text { max-width: 540px; margin: 0 auto 32px; color: var(--text-soft); }

/* ---------- 5. Отзывы ---------- */
.reviews { background: var(--sage-light); }
.template-note {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px dashed var(--gold);
  background: rgba(255, 253, 249, .7);
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 500;
}
.reviews__grid { display: grid; gap: 22px; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 34px 28px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.review::before {
  content: '“';
  position: absolute;
  top: -6px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 110px;
  line-height: 1;
  color: var(--gold-light);
}
.review__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--cream-2);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.review__stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.review__text {
  flex: 1; /* растягивает текст, чтобы имя всегда было внизу карточки */
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}
.review__author { display: flex; align-items: center; gap: 14px; }
.review__author strong { display: block; font-weight: 600; }
.review__author small { color: var(--text-soft); font-size: 13px; }
.review__avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 22px;
}

/* ---------- 6. Контакты ---------- */
.contacts__grid { display: grid; gap: 44px; }
.contact-list { display: grid; gap: 22px; margin: 10px 0 34px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.contact-list a { font-size: 18px; border-bottom: 1px solid var(--gold-light); }
.contact-list__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  color: var(--gold);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.placeholder-hint { font-size: 13px; color: var(--text-soft); }

.messengers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn--messenger { padding: 14px 18px; color: var(--white); text-transform: none; letter-spacing: .02em; font-size: 15px; }
.btn--messenger svg { width: 20px; height: 20px; }
.btn--wa { background: #4E9A6B; }
.btn--wa:hover { background: #43875D; }
.btn--wa.is-disabled {
  background: var(--beige);
  color: var(--text-soft);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn--wa.is-disabled svg { opacity: .55; }
.btn__label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn__label small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: .85; }
.btn--tg { background: #4A8DBE; }
.btn--tg:hover { background: #3E7BA8; }

.map {
  position: relative;
  height: 440px;
  max-height: 70vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-soft);
  outline: 1px solid var(--gold-light);
  outline-offset: 6px;
  margin: 6px;
  /* Скругление углов для iframe в Safari */
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- 7. Форма записи ---------- */
.booking {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--beige) 100%);
}
.booking__box {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.booking__head { text-align: center; margin-bottom: 34px; }
.booking__head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.booking__head .section__subtitle { margin: 0 auto; }

.form { position: relative; display: grid; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.form input,
.form select {
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 16px; /* 16px — чтобы iOS не зумил поле */
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.form input::placeholder { color: #A9A192; }
.form input:focus,
.form select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(184, 149, 90, .15);
}
.form input[type="date"] { display: block; }
.select { position: relative; }
.select::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}
.form select { padding-right: 48px; cursor: pointer; }
.form select:invalid { color: #A9A192; }
.form select option { color: var(--text); }

.form__error { display: none; font-size: 13px; color: #B5523F; }
.form__field.has-error input,
.form__field.has-error select { border-color: #D08A7B; background: #FCF4F1; }
.form__field.has-error .form__error { display: block; }

.form__submit { width: 100%; margin-top: 8px; }
.form__submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__send-error {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #FCF4F1;
  color: #B5523F;
  font-size: 14px;
  text-align: center;
}
.form__send-error[hidden] { display: none; }
.form__send-error a { font-weight: 600; border-bottom: 1px solid currentColor; }
.form__note { text-align: center; font-size: 12px; color: var(--text-soft); }

.success { text-align: center; padding: 20px 0; animation: fadeUp .8s var(--ease) both; }
.success[hidden] { display: none; }
.success__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
}
.success__icon svg { width: 48px; height: 48px; }
.success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s var(--ease) .3s forwards; }
.success__title { font-size: clamp(28px, 6vw, 38px); margin-bottom: 12px; }
.success__text { color: var(--text-soft); margin-bottom: 28px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Подвал ---------- */
.footer { padding: 52px 0 110px; background: #3A3830; color: rgba(255, 253, 249, .7); text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo--footer { color: var(--white); align-items: center; }
.footer__text { font-size: 14px; }
.footer__copy { font-size: 12px; color: rgba(255, 253, 249, .45); }

/* ---------- Плавающая кнопка (мобильные) ---------- */
.fab {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 100px;
  background: linear-gradient(135deg, #C9A86E 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(80, 60, 30, .55);
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.fab.is-visible { transform: none; }

/* ---------- Анимации появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal.is-visible:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Планшет
   ========================================================= */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .hero__actions { flex-direction: row; max-width: none; justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .booking__box { padding: 56px 48px; }
  .pricelist { padding: 40px 40px; }
  .pricelist__head { flex-direction: row; align-items: center; justify-content: space-between; }
  .pricelist__search { width: 300px; }
  .pricelist__tabs { margin: 0 -40px 8px; padding: 4px 40px 14px; flex-wrap: wrap; overflow: visible; }
  .pitem__name { font-size: 16px; }
  .form { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .form__submit, .form__note { grid-column: 1 / -1; }
  .gift__box { padding: 72px 56px; }
}

/* =========================================================
   Десктоп
   ========================================================= */
@media (min-width: 960px) {
  :root { --header-h: 88px; }
  .section { padding: 130px 0; }

  .burger { display: none; }
  .nav {
    position: static;
    z-index: auto;
    flex-direction: row;
    gap: 34px;
    background: none;
    opacity: 1;
    visibility: visible;
  }
  .nav a:not(.btn) {
    position: relative;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    color: rgba(255, 253, 249, .88);
    opacity: 1;
    transform: none;
  }
  .nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
  }
  .nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  .nav .btn { margin: 0 0 0 8px; opacity: 1; }
  .header.is-scrolled .nav a:not(.btn) { color: var(--text); }

  .about__grid { grid-template-columns: 5fr 6fr; gap: 90px; align-items: center; }
  .about__badge { right: -36px; width: 150px; height: 150px; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .contacts__grid { grid-template-columns: 5fr 6fr; gap: 70px; align-items: stretch; }
  .map { height: auto; min-height: 480px; }
  .messengers { max-width: 420px; }

  .fab { display: none; }
  .footer { padding-bottom: 52px; }
}
