/* СТОПА — mineral clinic aesthetic */
:root {
  --bg: #e6e9e3;
  --bg-soft: #f3f4f0;
  --ink: #101c18;
  --ink-soft: #3a4a44;
  --line: rgba(16, 28, 24, 0.12);
  --accent: #2f6b5c;
  --accent-deep: #1d4a3f;
  --mist: #c9d6cf;
  --gold: #a8926a;
  --white: #fafaf7;
  --danger: #8b3a3a;
  --radius: 2px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --shadow-soft: 0 24px 60px rgba(16, 28, 24, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(47, 107, 92, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(168, 146, 106, 0.1), transparent 50%),
    var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(230, 233, 227, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand__tag {
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--ink);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.nav__toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 560;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(16, 28, 24, 0.28);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(250, 250, 247, 0.35);
  color: var(--white);
}

.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(250, 250, 247, 0.08);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #101c18;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 28, 24, 0.34) 0%, rgba(16, 28, 24, 0.48) 46%, rgba(16, 28, 24, 0.9) 100%),
    linear-gradient(90deg, rgba(16, 28, 24, 0.42) 0%, rgba(16, 28, 24, 0.2) 72%, rgba(16, 28, 24, 0.28) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto 4.5rem;
  display: grid;
  gap: 1.15rem;
  max-width: 860px;
  animation: rise 0.9s var(--ease) both;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.78);
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 700;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  max-width: 16ch;
}

.hero__lead {
  margin: 0;
  max-width: 42ch;
  color: rgba(250, 250, 247, 0.84);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__spots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero__spot {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(16, 28, 24, 0.48);
  border: 1px solid rgba(250, 250, 247, 0.18);
  color: inherit;
}

.hero__spot span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.68);
}

.hero__spot strong {
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.hero__spot small {
  color: rgba(250, 250, 247, 0.78);
  font-size: 0.86rem;
}

.hero__spot-time {
  color: var(--white);
  margin-top: 0.15rem;
}

.hero__spot:hover {
  background: rgba(16, 28, 24, 0.66);
}

.hero__hours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.85rem;
  margin: 0;
  font-size: 0.95rem;
  color: rgba(250, 250, 247, 0.82);
}

.hero__hours strong {
  color: var(--white);
}

.hero__hours span {
  white-space: nowrap;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(250, 250, 247, 0.72);
}

.hero__meta strong {
  color: var(--white);
  font-weight: 600;
}

.hero__rail {
  position: absolute;
  right: 1.5rem;
  bottom: 18%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(250, 250, 247, 0.45);
  z-index: 1;
}

/* SECTIONS */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.page-hero {
  padding: clamp(6.5rem, 12vw, 8.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(61, 107, 88, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.page-hero__inner {
  max-width: 640px;
  display: grid;
  gap: 0.85rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.section__aside {
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.section__aside a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.section__head {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 640px;
}

.section__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section--ink .section__eyebrow {
  color: var(--mist);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.section__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--ink .section__lead {
  color: rgba(250, 250, 247, 0.72);
}

/* ABOUT */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.about__media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  box-shadow: var(--shadow-soft);
}

.about__media picture,
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about__media picture {
  display: block;
}

.about__media picture img {
  position: absolute;
}

.about__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(250, 250, 247, 0.92);
  color: var(--ink);
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  max-width: 220px;
  backdrop-filter: blur(8px);
}

.about__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.about__copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
}

.about__copy p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.about__points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.about__points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.about__points span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* SERVICES */
.services {
  display: grid;
  gap: 1rem;
}

.service {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem;
  background: rgba(250, 250, 247, 0.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.service:hover {
  border-color: rgba(47, 107, 92, 0.35);
  background: var(--white);
  transform: translateY(-2px);
}

.service__img {
  width: 180px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
}

.service__img picture,
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero__media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service__body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
}

.service__body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service__price {
  font-family: var(--font-display);
  font-size: 1rem;
  white-space: nowrap;
  color: var(--accent-deep);
}

/* PRICE */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 560;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table td:last-child {
  font-family: var(--font-display);
  font-size: 0.95rem;
  white-space: nowrap;
  color: var(--accent-deep);
}

.price-table .muted {
  display: block;
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-top: 0.2rem;
  font-family: var(--font-body);
}

/* MASSAGE */
.massage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.massage {
  padding: 1.4rem;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(47, 107, 92, 0.08), transparent 55%),
    var(--bg-soft);
  border: 1px solid var(--line);
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  transition: transform 0.25s var(--ease);
}

.massage:hover {
  transform: translateY(-3px);
}

.massage h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.massage p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.massage__num {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 820px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.2rem 1rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* VACANCIES — reference layout */
.vacancies {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(5.5rem, 12vw, 8.5rem);
  color: var(--white);
  overflow: hidden;
}

.vacancies__bg {
  position: absolute;
  inset: 0;
}

.vacancies__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.vacancies__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 14, 0.72), rgba(10, 16, 14, 0.88)),
    radial-gradient(700px 400px at 20% 10%, rgba(47, 107, 92, 0.22), transparent 60%);
}

.vacancies__inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  text-align: center;
}

.vacancies__intro {
  max-width: 720px;
  display: grid;
  gap: 0.85rem;
}

.vacancies__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.vacancies__lead {
  margin: 0 auto;
  max-width: 40ch;
  color: rgba(250, 250, 247, 0.78);
  font-size: 1.05rem;
}

.vacancies__points {
  list-style: none;
  margin: 0.35rem auto 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 520px;
  text-align: left;
}

.vacancies__points li {
  color: rgba(250, 250, 247, 0.82);
  font-size: 0.95rem;
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}

.vacancies__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
}

.vacancies__points strong {
  color: var(--white);
  font-weight: 600;
}

.vacancies__card {
  width: min(460px, 100%);
  text-align: left;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.vacancies__card h2,
.vacancies__card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.vacancies__card-lead {
  margin: 0 0 1.15rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.vacancy-form {
  display: grid;
  gap: 0.7rem;
}

.vacancy-form .field input {
  border: 0;
  background: #eceff1;
  color: var(--ink);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  outline: none;
  width: 100%;
  font-size: 1rem;
}

.vacancy-form .field input:focus {
  box-shadow: inset 0 0 0 1.5px rgba(16, 28, 24, 0.28);
}

.phone-field {
  position: relative;
}

.phone-field__prefix {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--ink);
  pointer-events: none;
  white-space: nowrap;
}

.phone-field input {
  padding-left: 4.6rem !important;
}

.vacancy-roles {
  margin: 0.2rem 0 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.55rem;
}

.vacancy-roles legend {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.role-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #d7dce0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.role-option:has(input:checked) {
  border-color: var(--ink);
  background: #f4f6f7;
}

.role-option input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ink);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
  width: 100%;
  margin-top: 0.25rem;
}

.btn--ink:hover {
  background: #1a2a24;
}

.vacancy-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
  position: relative;
  z-index: 2;
}

.vacancy-actions .btn--ghost {
  width: 100%;
  background: #f3f5f6;
  border-color: #d7dce0;
}

.form-note--dark {
  margin: 0.15rem 0 0;
  color: #5a6a64;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.4;
}

.form-note--dark a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* CONTACTS */
.contacts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-card,
.book-card {
  background: rgba(250, 250, 247, 0.08);
  border: 1px solid rgba(250, 250, 247, 0.12);
  border-radius: 18px;
  padding: 1.4rem;
}

.contact-card h3,
.book-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.55);
}

.contact-list a,
.contact-list strong {
  font-size: 1.05rem;
}

.branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.branch {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(250, 250, 247, 0.05);
  border: 1px solid rgba(250, 250, 247, 0.1);
}

.branch strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.branch p {
  margin: 0;
  color: rgba(250, 250, 247, 0.72);
  font-size: 0.94rem;
}

.branch p + p {
  margin-top: 0.35rem;
}

.branch a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.socials a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 250, 247, 0.18);
  font-size: 0.86rem;
  transition: background 0.25s var(--ease);
}

.socials a:hover {
  background: rgba(250, 250, 247, 0.1);
}

.book-card form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  align-items: start;
}

.book-card .field:has(textarea),
.book-card .form-note,
.book-card .form-actions {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.65);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(250, 250, 247, 0.16);
  background: rgba(16, 28, 24, 0.35);
  color: var(--white);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--mist);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.55);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
  position: relative;
  z-index: 2;
}

.maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
}

.map-caption {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.55);
}

.map-wrap {
  margin-top: 0.45rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(250, 250, 247, 0.12);
  min-height: 280px;
  background: #1a2823;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  filter: grayscale(0.25) contrast(1.05);
}

/* FOOTER */
.footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.footer h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer p,
.footer a {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

/* FLOATING CTA */
.float-cta {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: rgba(16, 28, 24, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(16, 28, 24, 0.28);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.float-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.float-cta__call {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid rgba(250, 250, 247, 0.2);
  transition: background 0.25s var(--ease);
}

.float-cta__call:hover {
  background: rgba(250, 250, 247, 0.1);
}

.float-cta__book {
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease);
}

.float-cta__book:hover {
  background: #3a7f6e;
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* LEGAL PAGES */
.legal {
  padding: 3rem 0 5rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1.5rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  max-width: 75ch;
}

.legal a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
  padding: 0.75rem 0.75rem 0.75rem 1.1rem;
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.legal__url {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legal__share .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.legal__share .btn.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* MOBILE */
@media (max-width: 960px) {
  .about,
  .contacts,
  .footer__grid,
  .massage-grid {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 120px 1fr;
  }

  .service__price {
    grid-column: 2;
  }

  .service__img {
    width: 120px;
    height: 100px;
  }

  .hero__rail {
    display: none;
  }

  .contact-list,
  .book-card form {
    grid-template-columns: 1fr 1fr;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .price-table td {
    padding: 0.2rem 0;
    border: 0;
    white-space: normal;
  }

  .price-table td:last-child {
    margin-top: 0.35rem;
    font-weight: 600;
  }
}

@media (max-width: 1100px) {
  .nav__links,
  .nav__cta:not(.nav__cta--always) {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(243, 244, 240, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    z-index: 40;
  }

  .nav.is-open .nav__links a {
    padding: 0.95rem 1.25rem;
  }

  .nav.is-open .nav__cta {
    display: inline-flex;
    margin: 0.5rem 1.25rem 1rem;
  }
}

@media (max-width: 780px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    min-height: calc(100svh - var(--nav-h));
    align-items: end;
  }

  .hero__content {
    width: min(1180px, calc(100% - 1.5rem));
    margin-bottom: 5.5rem;
    gap: 1rem;
  }

  .hero__brand {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero__veil {
    background: linear-gradient(180deg, rgba(16, 28, 24, 0.5) 0%, rgba(16, 28, 24, 0.58) 38%, rgba(16, 28, 24, 0.92) 100%);
  }

  .hero__spots {
    grid-template-columns: 1fr;
  }

  .hero__content {
    margin-bottom: 6.5rem;
  }

  .hero__hours {
    max-width: 13.5rem;
  }

  .hero__meta {
    display: grid;
    gap: 0.55rem;
  }

  .service {
    grid-template-columns: 1fr;
  }

  .service__img {
    width: 100%;
    height: 180px;
  }

  .service__price {
    grid-column: 1;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .field input,
  .field select,
  .field textarea,
  .phone-field input {
    font-size: 16px;
  }

  .socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .contact-list,
  .branches,
  .maps,
  .book-card form {
    grid-template-columns: 1fr;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 220px;
    height: 220px;
  }

  .vacancies__inner {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .vacancies__card {
    padding: 1.15rem;
  }

  .vacancy-actions .btn {
    min-height: 48px;
  }

  .float-cta {
    left: max(0.75rem, env(safe-area-inset-left));
    right: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: max-content;
    max-width: calc(100% - 6.5rem);
  }

  .float-cta__book {
    flex: 1;
    text-align: center;
    min-height: 44px;
  }

  .footer {
    padding-bottom: 6.5rem;
  }

  .legal__share {
    border-radius: 18px;
  }

  .legal__share .btn {
    width: 100%;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .price-table td {
    padding: 0.2rem 0;
    border: 0;
  }

  .price-table td:last-child {
    margin-top: 0.35rem;
    font-weight: 600;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 520px) {
  .float-cta__book {
    display: none;
  }

  .float-cta {
    width: auto;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
