/*
Theme Name: Viternal
Theme URI: http://localhost/
Author: Codex
Description: Local Viternal landing page theme.
Version: 1.1.0
Text Domain: viternal
*/

:root {
  --paper: #f9f5f0;
  --paper-2: #f6f1e8;
  --sand: #f1e0c4;
  --clay: #a67b5b;
  --wine: #9f2c25;
  --ink: #271610;
  --graphite: #2e2a27;
  --olive: #6e7561;
  --olive-dark: #4f5748;
  --teal: #183f3d;
  --blue: #d7dfe2;
  --gold: #c59a5b;
  --serif: Georgia, "Times New Roman", serif;
  --line: rgba(39, 22, 16, .12);
  --line-strong: rgba(39, 22, 16, .22);
  --soft-shadow: 0 18px 48px rgba(39, 22, 16, .10);
  --deep-shadow: 0 26px 60px rgba(39, 22, 16, .18);
  --container: 1180px;
  --radius: 20px;
  --section-y: 42px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
svg { max-width: 100%; }

.site-shell {
  width: 100%;
  margin: 0 auto;
  padding-top: 66px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 4%, rgba(166, 123, 91, .22), transparent 24%),
    radial-gradient(circle at 16% 10%, rgba(215, 223, 226, .68), transparent 20%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 42%, #efe4d2 100%);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 120;
  background: rgba(249, 245, 240, .78);
  border-bottom: 1px solid rgba(255,255,255,.72);
  backdrop-filter: blur(18px);
}

.section,
#top {
  scroll-margin-top: 74px;
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.brand {
  font-size: 32px;
  line-height: 1;
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 44px);
  color: rgba(39,22,16,.78);
  font-size: 14px;
}
.menu a { transition: color .2s ease; }
.menu a:hover { color: var(--wine); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions .btn-primary {
  min-width: 132px;
  min-height: 43px;
  padding: 0 24px;
  font-size: 14px;
}

.legal-cookie-nav {
  justify-content: center;
}

.legal-home-button {
  min-width: min(420px, 100%);
  min-height: 58px;
  padding: 0 42px;
  font-size: 18px;
}

.link-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  font-size: 13px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(39,22,16,.14);
}
.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}
.btn:disabled:hover,
.btn[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}
.btn-primary {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--teal), var(--olive));
}
.btn-secondary {
  color: var(--ink);
  background: rgba(255,255,255,.45);
  border-color: var(--line);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: var(--ink);
}
.mobile-toggle span,
.mobile-toggle span:before,
.mobile-toggle span:after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}
.mobile-toggle span:before { transform: translateY(-6px); }
.mobile-toggle span:after { transform: translateY(4px); }
.mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(166,123,91,.22), transparent 22%),
    radial-gradient(circle at 94% 14%, rgba(215,223,226,.62), transparent 28%),
    linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 25%, #f7efe1 43%, #e7ded0 70%, #c9c7bb 100%);
}
.hero:after {
  display: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  height: 80vh;
  min-height: 610px;
  padding-top: clamp(42px, 6vh, 78px);
  display: block;
}
.hero-grid:before {
  position: absolute;
  z-index: -2;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(circle at 72% 30%, rgba(166,123,91,.22), transparent 24%),
    radial-gradient(circle at 94% 18%, rgba(215,223,226,.62), transparent 28%),
    linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 25%, #f7efe1 43%, #e7ded0 70%, #c9c7bb 100%);
  content: "";
}
.hero-copy,
.hero-visual,
.split-grid > *,
.sergey-grid > *,
.contact-grid > * {
  min-width: 0;
}
.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: clamp(24px, 4vh, 44px);
  width: min(58%, 660px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--wine);
  border: 1px solid rgba(159,44,37,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.36);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}

h1 {
  max-width: 650px;
  font-size: clamp(48px, 6.3vw, 92px);
  line-height: .92;
}

h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
}

h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(39,22,16,.76);
  font-size: 18px;
}
.hero-services {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(39,22,16,.76);
  font-size: 18px;
}
.hero-services p {
  margin: 0 0 6px;
}
.hero-services ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}
.hero-services li {
  padding-left: 2px;
}
.hero-final {
  max-width: 620px;
  margin: auto 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
}
.hero-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(39,22,16,.62);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.hero-visual {
  position: absolute;
  top: 60px;
  right: calc((100vw - 100%) / -2 - 20%);
  z-index: 1;
  width: min(86vw, 1500px);
  height: calc(80vh + 120px);
  min-height: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}
.hero-visual:before {
  display: none;
}
.figure {
  position: absolute;
  z-index: 1;
  inset: 0;
}
.hero-figure-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 28px 34px rgba(39,22,16,.12));
}
.map-label {
  position: absolute;
  z-index: 2;
  padding: 6px 10px;
  color: rgba(39,22,16,.78);
  border: 1px solid rgba(166,123,91,.28);
  border-radius: 999px;
  background: rgba(251,247,239,.52);
  font-size: 13px;
  font-weight: 550;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(39,22,16,.08);
  backdrop-filter: blur(8px);
}
.label-body { left: 30%; top: 45%; }
.label-mind { left: 31%; top: 14%; }
.label-habits { left: 58%; top: 38%; }
.label-meditation { left: 36%; bottom: 29%; }
.label-mental { left: 27%; top: 27%; }
.label-meaning { left: 62%; bottom: 30%; }
.label-awareness { left: 48%; top: 22%; }

.hero-journey {
  position: relative;
  z-index: auto;
  margin-top: auto;
  padding: 42px 0 48px;
  text-align: center;
  --journey-corner-x: min(42vw, 520px);
  --journey-corner-y: 170px;
}
.hero-journey:before {
  position: absolute;
  z-index: 3;
  inset: 0 calc(50% - 50vw);
  background: #fbf7ef;
  border-top-right-radius: var(--journey-corner-x) var(--journey-corner-y);
  border-bottom-left-radius: var(--journey-corner-x) var(--journey-corner-y);
  content: "";
}
.hero-journey h2,
.hero-journey-grid {
  position: relative;
  z-index: 4;
}
.hero-journey h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 3.6vw, 50px);
}
.hero-journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  max-width: 1160px;
  margin: 0 auto;
}
.hero-journey article {
  display: flex;
  flex-direction: column;
  flex: 0 1 clamp(190px, 18vw, 220px);
  overflow: hidden;
  min-height: 0;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.10);
  border-radius: 24px;
  background: rgba(255,255,255,.44);
  box-shadow: 0 18px 38px rgba(39,22,16,.12);
}
.specialist-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}
.hero-journey h3 {
  color: var(--ink);
  font-size: clamp(20px, 1.45vw, 24px);
  line-height: 1.05;
}
.hero-journey p {
  max-width: none;
  margin: 6px 0 0;
  color: rgba(39,22,16,.68);
  font-size: 14px;
  line-height: 1.25;
}
.specialist-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  transition: transform .25s ease, filter .25s ease;
}
.specialist-photo:hover img,
.specialist-photo:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04);
}
.specialist-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 16px 18px;
  text-align: left;
}
.specialist-info p:last-of-type {
  margin-bottom: 18px;
}
.specialist-more {
  min-height: 38px;
  margin-top: auto;
  padding: 0 16px;
  align-self: flex-end;
  color: #fffaf4;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--olive));
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  transition: transform .18s ease, box-shadow .18s ease;
}
.specialist-more:hover,
.specialist-more:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(39,22,16,.14);
}
.specialist-spectrum {
  position: relative;
  z-index: 4;
  max-width: 1160px;
  margin: 28px auto 0;
  padding: 24px 58px 0;
  color: rgba(39,22,16,.76);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 650;
  text-align: center;
}
.specialist-spectrum-top {
  margin: 0 auto 24px;
  padding: 0 58px 24px;
}
.specialist-spectrum:before {
  position: absolute;
  top: 9px;
  left: 0;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(166,123,91,.26), rgba(48,83,76,.78));
  content: "";
}
.specialist-spectrum-top:before {
  top: auto;
  bottom: 9px;
}
.specialist-spectrum:after {
  position: absolute;
  top: 1px;
  right: 0;
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(48,83,76,.78);
  border-right: 2px solid rgba(48,83,76,.78);
  content: "";
  transform: rotate(45deg);
}
.specialist-spectrum-top:after {
  top: auto;
  bottom: 1px;
}
.specialist-spectrum-notes {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 9px;
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(39,22,16,.76);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}
.specialist-spectrum-notes p {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
.specialist-spectrum-notes strong {
  color: var(--ink);
  font-weight: 800;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.specialist-modal {
  width: min(940px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 28px;
  background: #fbf7ef;
  box-shadow: 0 32px 90px rgba(39,22,16,.28);
}
.specialist-modal[open] {
  display: flex;
}
.specialist-modal.is-viewing-diploma {
  width: 100vw;
  height: 100vh;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.specialist-modal.is-viewing-diploma > :not(.diploma-viewer) {
  visibility: hidden;
  pointer-events: none;
}
.specialist-modal::backdrop {
  background: rgba(39,22,16,.34);
  backdrop-filter: blur(5px);
}
.specialist-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.specialist-modal-card > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}
.specialist-modal-text {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  padding: clamp(28px, 4vw, 48px);
}
.specialist-modal-text h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
}
.specialist-modal-text h3 {
  margin: 20px 0 8px;
  font-size: 22px;
}
.specialist-modal-text p,
.specialist-modal-text li {
  color: rgba(39,22,16,.72);
  font-size: 16px;
  line-height: 1.5;
}
.specialist-modal-text p + p {
  margin-top: 12px;
}
.specialist-modal-text ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.diploma-gallery {
  flex: 0 0 auto;
  margin: 0;
  padding: 18px clamp(20px, 3vw, 34px) 20px;
  border-top: 1px solid rgba(39,22,16,.12);
  background: rgba(255,250,244,.7);
}
.diploma-gallery h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.diploma-gallery-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-color: rgba(48,83,76,.55) rgba(39,22,16,.08);
}
.diploma-gallery-grid button,
.diploma-file-link {
  flex: 0 0 clamp(128px, 15vw, 190px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.48);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(39,22,16,.08);
}
.diploma-file-link {
  min-height: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}
.diploma-gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease, filter .2s ease;
}
.diploma-gallery-grid button:hover img,
.diploma-gallery-grid button:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04);
}
.diploma-viewer {
  --diploma-viewer-padding: clamp(12px, 3vw, 42px);
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
  padding: var(--diploma-viewer-padding);
  background: rgba(39,22,16,.58);
  cursor: zoom-out;
}
.diploma-viewer[hidden] {
  display: none;
}
.diploma-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1180px, calc(100vw - var(--diploma-viewer-padding) - var(--diploma-viewer-padding)));
  max-height: calc(100vh - var(--diploma-viewer-padding) - var(--diploma-viewer-padding));
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
  cursor: default;
}
.specialist-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 999px;
  background: rgba(251,247,239,.86);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(39,22,16,.12);
}
.specialist-modal-close:hover,
.specialist-modal-close:focus-visible {
  background: #fffaf4;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section-heading {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}
.section-heading h2 { margin-top: 14px; }
.section-heading p {
  margin: 18px auto 0;
  color: rgba(39,22,16,.68);
  font-size: 17px;
}

.requests {
  overflow: hidden;
  padding-top: 42px;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 72% 24%, rgba(166,123,91,.22), transparent 22%),
    radial-gradient(circle at 94% 14%, rgba(215,223,226,.62), transparent 28%),
    linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 25%, #f7efe1 43%, #e7ded0 70%, #c9c7bb 100%);
}
.requests-heading {
  max-width: 980px;
  margin: 0 auto clamp(18px, 2.4vw, 32px);
  text-align: center;
}
.requests-heading h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.06;
}
.requests-heading h2 strong {
  font-weight: 800;
}
.requests-heading p {
  max-width: 900px;
  margin: 14px auto 0;
  color: rgba(39,22,16,.68);
  font-size: clamp(17px, 1.25vw, 18px);
  line-height: 1.55;
}
.wellbeing-system {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(340px, 500px) minmax(220px, 1fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
}
.wellbeing-orbit {
  position: relative;
  min-height: clamp(590px, 54vw, 720px);
  max-width: 1180px;
  margin: clamp(-30px, -2vw, -12px) auto 0;
}
.wellbeing-side {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}
.wellbeing-side.left .wellbeing-card:first-child,
.wellbeing-side.right .wellbeing-card:last-child {
  transform: translateY(-24px);
}
.wellbeing-side.left .wellbeing-card:last-child,
.wellbeing-side.right .wellbeing-card:first-child {
  transform: translateY(24px);
}
.wellbeing-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(39,22,16,.10);
  border-radius: 24px;
  background: rgba(255,249,239,.66);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}
.wellbeing-card h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2vw, 32px);
}
.wellbeing-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.wellbeing-card li {
  color: rgba(39,22,16,.68);
  font-size: 15px;
  line-height: 1.35;
}
.wellbeing-center {
  position: absolute;
  left: 50%;
  top: 41%;
  z-index: 1;
  width: min(55vw, 600px);
  margin: 0;
  text-align: center;
  transform: translate(-50%, -48%);
}
.wellbeing-center img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 44px rgba(39,22,16,.12));
}
.wellbeing-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,250,244,.84), rgba(255,250,244,.16) 39%, transparent 64%),
    radial-gradient(circle at 50% 52%, rgba(197,154,91,.28), transparent 36%);
}
.wellbeing-visual:before,
.wellbeing-visual:after {
  position: absolute;
  inset: 13%;
  border: 2px solid rgba(197,154,91,.34);
  border-radius: 50%;
  content: "";
}
.wellbeing-visual:after {
  inset: 19%;
  border-color: rgba(48,83,76,.34);
  transform: rotate(38deg);
}
.wellbeing-body {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 28%;
  height: 54%;
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,245,205,.98) 0 11%, transparent 12%),
    linear-gradient(90deg, transparent 0 43%, rgba(255,210,108,.96) 44% 56%, transparent 57% 100%),
    radial-gradient(ellipse at 50% 50%, rgba(255,202,78,.68), rgba(197,154,91,.26) 54%, transparent 70%);
  filter: drop-shadow(0 0 24px rgba(197,154,91,.44));
  transform: translateX(-50%);
}
.wellbeing-body:before,
.wellbeing-body:after {
  position: absolute;
  top: 56%;
  width: 105%;
  height: 34%;
  border-bottom: 18px solid rgba(197,154,91,.5);
  border-radius: 50%;
  content: "";
}
.wellbeing-body:before {
  right: 48%;
  transform: rotate(-18deg);
}
.wellbeing-body:after {
  left: 48%;
  transform: rotate(18deg);
}
.cycle-arrow {
  position: absolute;
  width: 29%;
  height: 29%;
  border-style: solid;
  border-width: 13px 13px 0 0;
  border-color: rgba(197,154,91,.78);
  border-radius: 0 999px 0 0;
}
.cycle-arrow:after {
  position: absolute;
  right: -19px;
  top: -23px;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 28px solid currentColor;
  color: inherit;
  content: "";
  transform: rotate(44deg);
}
.arrow-one { left: 20%; top: 5%; color: var(--gold); transform: rotate(-35deg); }
.arrow-two { right: 8%; top: 22%; color: var(--teal); transform: rotate(55deg); }
.arrow-three { right: 19%; bottom: 5%; color: var(--gold); transform: rotate(145deg); }
.arrow-four { left: 8%; bottom: 21%; color: var(--teal); transform: rotate(235deg); }
.wellbeing-caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: min(100%, 620px);
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 1.75vw, 26px);
  line-height: 1.16;
  text-align: center;
  transform: translateX(-50%);
}
.wellbeing-caption span {
  white-space: nowrap;
}
.orbit-group {
  position: absolute;
  z-index: 2;
  width: clamp(220px, 22vw, 290px);
  color: var(--ink);
}
.orbit-group h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.05;
}
.orbit-group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.orbit-group li {
  position: relative;
  color: rgba(39,22,16,.70);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.25;
  transition: transform .2s ease;
}
.orbit-group li:before {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
  vertical-align: middle;
}
.orbit-body {
  left: 0;
  top: 13%;
  text-align: right;
}
.orbit-body li:before,
.orbit-psy li:before {
  margin-right: 0;
  margin-left: 8px;
}
.orbit-body li:before,
.orbit-psy li:before {
  float: right;
  margin-top: .42em;
}
.orbit-psy {
  left: 0;
  bottom: 30%;
  text-align: right;
}
.orbit-social {
  right: 0;
  top: 13%;
}
.orbit-spirit {
  right: 0;
  bottom: 30%;
}

.orbit-body li:nth-child(1),
.orbit-psy li:nth-child(5) { transform: translateX(30px); }
.orbit-body li:nth-child(2),
.orbit-psy li:nth-child(4) { transform: translateX(22px); }
.orbit-body li:nth-child(3),
.orbit-psy li:nth-child(3) { transform: translateX(12px); }
.orbit-body li:nth-child(4),
.orbit-psy li:nth-child(2) { transform: translateX(4px); }
.orbit-body li:nth-child(5),
.orbit-psy li:nth-child(1) { transform: translateX(0); }

.orbit-social li:nth-child(1),
.orbit-spirit li:nth-child(5) { transform: translateX(-30px); }
.orbit-social li:nth-child(2),
.orbit-spirit li:nth-child(4) { transform: translateX(-22px); }
.orbit-social li:nth-child(3),
.orbit-spirit li:nth-child(3) { transform: translateX(-12px); }
.orbit-social li:nth-child(4),
.orbit-spirit li:nth-child(2) { transform: translateX(-4px); }
.orbit-social li:nth-child(5),
.orbit-spirit li:nth-child(1) { transform: translateX(0); }

.request-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.request-card,
.diagnostic-grid article,
.expert,
.routes-grid article,
.price-card,
.responsibility-panel,
.about-panel {
  border: 1px solid rgba(39,22,16,.10);
  border-radius: var(--radius);
  background: rgba(255,249,239,.72);
  box-shadow: var(--soft-shadow);
}
.request-card {
  min-height: 230px;
  padding: 24px;
}
.request-card span,
.routes-grid span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(166,123,91,.14);
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
}
.request-card h3 { margin-top: 26px; }
.request-card p,
.diagnostic-grid p,
.expert p,
.routes-grid p,
.price-card p,
.responsibility-panel p,
.about-panel p,
.sergey-grid p,
.contact-grid p {
  color: rgba(39,22,16,.66);
}
.request-card.accent {
  color: #fffaf4;
  background: linear-gradient(145deg, var(--clay), #7d5138);
}
.request-card.dark {
  color: #fffaf4;
  background: linear-gradient(145deg, var(--graphite), var(--ink));
}
.request-card.accent p,
.request-card.dark p { color: rgba(255,250,244,.74); }
.request-card.accent span,
.request-card.dark span {
  color: #fffaf4;
  background: rgba(255,255,255,.15);
}

.split-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent),
    var(--sand);
}
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.statement {
  display: block;
  margin-top: 26px;
  padding: 20px 22px;
  color: #fffaf4;
  border-radius: 18px;
  background: var(--teal);
  font-weight: 650;
}
.symptom-map {
  display: grid;
  gap: 14px;
}
.map-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 20px;
  background: rgba(255,249,239,.48);
}
.map-row b {
  min-width: 170px;
  color: var(--ink);
}
.map-row span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(39,22,16,.08);
  color: rgba(39,22,16,.68);
  font-size: 13px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: end;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 92% 24%, rgba(24,63,61,.15), transparent 28%),
    rgba(255,249,239,.7);
}
.about-panel h2 { margin-top: 14px; }

.key-route {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 54px) 0 clamp(38px, 4.4vw, 60px);
  color: #fffaf4;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,250,244,.10), transparent 24%),
    linear-gradient(135deg, #173d3b 0%, #5f6c55 100%);
  box-shadow:
    inset 0 28px 42px rgba(39,22,16,.26),
    inset 0 -28px 42px rgba(39,22,16,.26),
    0 -18px 36px rgba(39,22,16,.16),
    0 18px 36px rgba(39,22,16,.16);
}
.key-route h2 {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  color: #fffaf4;
  font-size: clamp(32px, 3.2vw, 48px);
  text-align: center;
}
.key-route-arrow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  padding-top: 42px;
}
.key-route-arrow:before {
  position: absolute;
  left: 36px;
  right: 26px;
  top: 17px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,250,244,.72);
  content: "";
}
.key-route-arrow:after {
  position: absolute;
  right: 20px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid rgba(255,250,244,.72);
  content: "";
}
.key-route-arrow article {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
  overflow: visible;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255,250,244,.22), rgba(255,250,244,.07));
  box-shadow:
    0 18px 42px rgba(39,22,16,.16),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(1.08);
}
.key-route-arrow article:before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.34), transparent 28%),
    radial-gradient(circle at 90% 100%, rgba(197,154,91,.16), transparent 34%);
  content: "";
}
.key-route-arrow article > * {
  position: relative;
  z-index: 1;
}
.key-route-arrow article > span {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: -42px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  border-radius: 999px;
  background: #fffaf4;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(39,22,16,.18);
}
.key-route-arrow h3 {
  color: #fffaf4;
  font-size: clamp(21px, 1.7vw, 28px);
  line-height: 1.05;
}
.key-route-arrow p {
  margin: 0;
  color: rgba(255,250,244,.74);
  font-size: 15px;
  line-height: 1.42;
}

.mental-value {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.mental-value .section-heading {
  max-width: 1180px;
  margin-bottom: clamp(26px, 3.2vw, 42px);
}
.mental-value .section-heading h2 {
  margin-top: 0;
  white-space: nowrap;
}
.mental-value-subtitle {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 500;
}
.mental-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}
.mental-price-card {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.25vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(39,22,16,.10);
  border-radius: 28px;
  background: rgba(255,250,244,.72);
  box-shadow: var(--soft-shadow);
}
.mental-price-card:before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}
.mental-price-card.accent {
  background:
    radial-gradient(circle at 100% 8%, rgba(255,250,244,.24), transparent 24%),
    linear-gradient(145deg, rgba(255,250,244,.72), rgba(197,154,91,.48));
}
.mental-price-card span {
  margin-bottom: 18px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mental-price-card h3 {
  margin-bottom: 16px;
  font-size: clamp(24px, 1.62vw, 29px);
  line-height: 1.08;
}
.mental-price-card strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(29px, 2.25vw, 38px);
  font-weight: 500;
  line-height: 1.05;
}
.mental-price-card p {
  margin: 0 0 18px;
  color: rgba(39,22,16,.68);
  font-size: 16px;
  line-height: 1.48;
}
.mental-price-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding-left: 20px;
  color: rgba(39,22,16,.66);
}
.mental-price-card li {
  font-size: 15px;
  line-height: 1.42;
}
.inline-feedback-form {
  display: grid;
  gap: clamp(20px, 2.6vw, 30px);
  margin-top: clamp(34px, 4.5vw, 58px);
  padding: clamp(26px, 3.5vw, 44px);
  border: 1px solid rgba(39,22,16,.10);
  border-radius: 28px;
  background: rgba(255,250,244,.68);
  box-shadow: var(--soft-shadow);
}
.inline-feedback-form h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 2.25vw, 34px);
  line-height: 1.05;
  white-space: nowrap;
}
.inline-feedback-form h3 strong {
  font-weight: 800;
}
.inline-feedback-grid {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(320px, 1.18fr);
  gap: clamp(16px, 2.2vw, 28px);
  align-items: stretch;
}
.inline-feedback-personal,
.inline-feedback-request,
.inline-feedback-form label:not(.legal-consent) {
  display: grid;
  gap: 8px;
}
.inline-feedback-personal {
  align-content: start;
  gap: 14px;
}
.inline-feedback-request {
  align-self: stretch;
  grid-template-rows: auto minmax(0, 1fr);
}
.inline-feedback-form label span {
  color: rgba(39,22,16,.76);
  font-size: 14px;
  font-weight: 650;
}
.inline-feedback-form label em {
  color: var(--copper);
  font-style: normal;
}
.inline-feedback-request textarea {
  height: auto;
  min-height: 0;
  align-self: stretch;
}
.inline-feedback-footer {
  display: grid;
  gap: 13px;
}
.inline-feedback-footer .btn {
  justify-self: center;
  min-width: 220px;
  min-height: 54px;
  font-size: 16px;
}

.requests-catalog {
  position: relative;
  overflow: hidden;
  padding-top: var(--section-y);
  padding-bottom: calc(var(--section-y) + 44px);
  background:
    radial-gradient(circle at 14% 18%, rgba(215,223,226,.56), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #f3e7d5 100%);
}
.requests-catalog:before {
  position: absolute;
  left: 0;
  top: 56%;
  z-index: 0;
  width: 100vw;
  aspect-ratio: 2172 / 724;
  background: url("assets/images/requests-flow-bg.png") center / contain no-repeat;
  content: "";
  opacity: .78;
  pointer-events: none;
  transform: translateY(-50%);
}
.requests-catalog .container {
  position: relative;
  z-index: 1;
}
.requests-catalog .section-heading {
  max-width: 860px;
  margin-bottom: clamp(26px, 3.2vw, 42px);
}
.requests-catalog .section-heading h2 {
  margin-top: 0;
}
.requests-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
  margin-bottom: 0;
}
.request-topic-card {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: 106px 24px 26px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,250,244,.60), rgba(255,250,244,.28));
  box-shadow: 0 22px 54px rgba(39,22,16,.13), inset 0 1px 0 rgba(255,255,255,.62);
  backdrop-filter: blur(18px) saturate(1.08);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.request-topic-card:before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  content: "";
}
.request-topic-card:hover,
.request-topic-card:focus-visible {
  border-color: rgba(255,255,255,.78);
  box-shadow: var(--deep-shadow);
  transform: translateY(-2px);
}
.request-topic-icon {
  position: absolute;
  left: 24px;
  top: 28px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--teal);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 14px;
  background: rgba(241,224,196,.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}
.request-topic-icon svg {
  width: 33px;
  height: 33px;
  display: block;
  overflow: visible;
}
.request-topic-icon-arrow svg {
  width: 36px;
  height: 36px;
}
.request-topic-icon-arrow .arrow-main {
  fill: var(--teal);
}
.request-topic-icon-arrow .arrow-shadow {
  display: none;
}
.request-topic-icon-body svg {
  width: 34px;
  height: 34px;
}
.request-topic-icon-body .body-ring,
.request-topic-icon-body .body-figure {
  fill: none;
  stroke: var(--teal);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.request-topic-icon-body .body-ring {
  stroke-width: 5;
}
.request-topic-icon-body .body-head {
  fill: var(--teal);
}
.request-topic-card small {
  display: block;
  margin-bottom: 14px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.request-topic-card h3 {
  position: absolute;
  top: 34px;
  right: 24px;
  max-width: calc(100% - 96px);
  margin: 0;
  text-align: right;
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.05;
}
.request-topic-card p {
  margin: 0;
  color: rgba(39,22,16,.68);
  font-size: 16px;
  line-height: 1.48;
}
.request-detail-modal {
  width: min(720px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 28px;
  background: #fbf7ef;
  box-shadow: 0 32px 90px rgba(39,22,16,.32);
}
.request-detail-modal[open] {
  display: block;
}
.request-detail-modal::backdrop {
  background: rgba(39,22,16,.46);
  backdrop-filter: blur(5px);
}
.request-detail-card {
  position: relative;
  padding: clamp(30px, 4vw, 48px);
}
.request-detail-card h2 {
  max-width: calc(100% - 54px);
  margin-bottom: 22px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
}
.request-detail-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 22px;
}
.request-detail-card li {
  color: rgba(39,22,16,.72);
  font-size: 16px;
  line-height: 1.48;
}
.request-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 999px;
  background: rgba(251,247,239,.9);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(39,22,16,.12);
}
.request-modal-close:hover,
.request-modal-close:focus-visible {
  background: #fffaf4;
}

.work {
  background: var(--paper);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  position: relative;
}
.timeline:before {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 42px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}
.timeline article {
  position: relative;
  min-height: 220px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(39,22,16,.09);
}
.timeline h3 {
  margin-top: 32px;
  font-size: 24px;
}
.timeline p {
  color: rgba(39,22,16,.63);
  font-size: 14px;
}

.diagnostics {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 14% 82%, rgba(215,223,226,.56), transparent 24%),
    linear-gradient(180deg, #f3e7d5 0%, #fbf7ef 100%);
}
.diagnostics:after {
  position: absolute;
  right: -8vw;
  bottom: 0;
  z-index: 0;
  width: min(74vw, 1120px);
  aspect-ratio: 2172 / 724;
  background: url("assets/images/testimonial-corner-ribbon.png") center / contain no-repeat;
  content: "";
  opacity: .72;
  pointer-events: none;
}
.diagnostics .container {
  position: relative;
  z-index: 1;
}
.diagnostics .section-heading h2 {
  margin-top: 0;
}
.testimonial-stack {
  position: relative;
  width: min(100%, 820px);
  height: clamp(620px, 68vw, 776px);
  margin: 0 auto;
  overflow: hidden;
  perspective: 1200px;
}
.testimonial-stack-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(88%, 700px);
  height: clamp(260px, 33vw, 430px);
  display: none;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  margin: 0;
  padding: clamp(10px, 1.3vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 26px;
  background: rgba(255,250,244,.78);
  box-shadow: 0 26px 64px rgba(39,22,16,.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform .46s ease, opacity .46s ease, filter .46s ease;
}
.testimonial-stack-item.is-active,
.testimonial-stack-item.is-prev,
.testimonial-stack-item.is-next {
  display: grid;
}
.testimonial-stack-item.is-active {
  z-index: 3;
}
.testimonial-stack-item.is-prev {
  z-index: 2;
  opacity: .42;
  filter: saturate(.86);
  transform: translate(-50%, calc(-50% - 210px)) scale(.78) rotateX(-10deg);
}
.testimonial-stack-item.is-next {
  z-index: 2;
  opacity: .42;
  filter: saturate(.86);
  transform: translate(-50%, calc(-50% + 210px)) scale(.78) rotateX(10deg);
}
.testimonial-stack-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(39,22,16,.10);
}
.testimonial-viewer {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(39,22,16,.62);
  backdrop-filter: blur(5px);
  cursor: zoom-out;
}
.testimonial-viewer[hidden] {
  display: none;
}
.testimonial-viewer img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: min(100%, 86vh);
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0,0,0,.36);
  cursor: default;
}
.testimonial-viewer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 999px;
  background: rgba(251,247,239,.92);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(39,22,16,.18);
}
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.diagnostic-grid article {
  min-height: 210px;
  padding: 24px;
}
.diagnostic-grid h3 { margin-bottom: 14px; }

.team {
  background: var(--paper);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 16px);
}
.expert {
  padding: 18px;
}
.expert.featured {
  border-color: rgba(24,63,61,.34);
  box-shadow: var(--deep-shadow);
}
.portrait {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 32%, #ecd3c4 0 12%, transparent 13%),
    linear-gradient(135deg, #6e7561 0 48%, #a67b5b 49% 100%);
}
.portrait.sergey { background: radial-gradient(circle at 50% 32%, #ecd3c4 0 12%, transparent 13%), linear-gradient(135deg, #183f3d 0 52%, #d7dfe2 53%); }
.portrait.marina { background: radial-gradient(circle at 50% 32%, #ecd3c4 0 12%, transparent 13%), linear-gradient(135deg, #9f2c25 0 46%, #f1e0c4 47%); }
.portrait.yury { background: radial-gradient(circle at 50% 32%, #ecd3c4 0 12%, transparent 13%), linear-gradient(135deg, #2e2a27 0 50%, #a67b5b 51%); }
.portrait.liza { background: radial-gradient(circle at 50% 32%, #ecd3c4 0 12%, transparent 13%), linear-gradient(135deg, #a67b5b 0 44%, #fff9ef 45%); }
.portrait.yana { background: radial-gradient(circle at 50% 32%, #ecd3c4 0 12%, transparent 13%), linear-gradient(135deg, #6e8791 0 48%, #6e7561 49%); }
.expert h3 { margin-bottom: 4px; }
.role {
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
}

.sergey-block {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fffaf4;
  background:
    radial-gradient(circle at 78% 18%, rgba(197,154,91,.34), transparent 28%),
    linear-gradient(135deg, var(--teal), #244d45 48%, var(--olive-dark));
  box-shadow:
    inset 0 28px 42px rgba(39,22,16,.26),
    inset 0 -28px 42px rgba(39,22,16,.26),
    0 -18px 36px rgba(39,22,16,.16),
    0 18px 36px rgba(39,22,16,.16);
}
.sergey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.sergey-grid .section-label {
  color: #fffaf4;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
}
.sergey-grid h2 { margin-top: 14px; }
.sergey-grid p { color: rgba(255,250,244,.76); }
.sergey-contact-form {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255,250,244,.18), transparent 32%),
    rgba(255,255,255,.10);
  box-shadow:
    0 22px 54px rgba(39,22,16,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}
.sergey-contact-form label:not(.legal-consent) {
  display: grid;
  gap: 7px;
}
.sergey-contact-form label:not(.legal-consent) span {
  color: rgba(255,250,244,.78);
  font-size: 14px;
  font-weight: 650;
}
.sergey-contact-form label:not(.legal-consent) em {
  color: var(--sand);
  font-style: normal;
}
.sergey-contact-form .field {
  border-color: rgba(255,255,255,.26);
  background: rgba(255,250,244,.94);
}
.sergey-contact-form textarea.field {
  min-height: 136px;
}
.sergey-contact-form .legal-consent,
.sergey-contact-form .form-note,
.sergey-contact-form .feedback-form-status {
  color: rgba(255,250,244,.72);
}
.sergey-contact-form .legal-consent a,
.sergey-contact-form .form-note a {
  color: #fffaf4;
}
.sergey-contact-form .btn {
  justify-self: start;
  min-width: 180px;
  color: var(--ink);
  background: linear-gradient(135deg, #fff9ef, var(--sand));
  box-shadow: 0 16px 34px rgba(39,22,16,.18);
}
.sergey-contact-form .btn:hover,
.sergey-contact-form .btn:focus-visible {
  background: linear-gradient(135deg, #fffaf4, #ead1a9);
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}
.chip-list span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: 13px;
}
.sergey-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 22px;
  background: rgba(255,255,255,.10);
}
.sergey-card strong {
  display: block;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 500;
}

.routes {
  background: var(--paper-2);
}
.routes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.routes-grid article {
  min-height: 260px;
  padding: 22px;
}
.routes-grid h3 {
  margin-top: 24px;
  font-size: 25px;
}

.prices {
  color: #fffaf4;
  background:
    radial-gradient(circle at 22% 26%, rgba(197,154,91,.38), transparent 24%),
    linear-gradient(135deg, var(--graphite), var(--ink));
}
.prices .section-heading p { color: rgba(255,250,244,.7); }
.prices .section-label {
  color: #fffaf4;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.09);
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  min-height: 300px;
  padding: 24px;
  color: #fffaf4;
  background: linear-gradient(145deg, rgba(197,154,91,.86), rgba(116,77,49,.8));
  border-color: rgba(255,255,255,.16);
}
.price-card.light {
  color: var(--ink);
  background: var(--paper);
}
.price-card.wide {
  grid-column: 1 / -1;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, .6fr) auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, var(--clay), var(--gold));
}
.price-card strong {
  display: block;
  margin: 18px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1;
}
.price-card p { color: rgba(255,250,244,.72); }
.price-card.light p { color: rgba(39,22,16,.66); }
.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(39,22,16,.86);
  color: #fffaf4;
  font-size: 13px;
  font-weight: 700;
}

.results {
  background: var(--paper);
}
.results-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.result-list span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.52);
  color: rgba(39,22,16,.74);
}

.responsibility {
  background: var(--paper-2);
}
.responsibility-panel {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255,249,239,.76);
}
.responsibility-panel h2 { margin-top: 14px; }

.contact {
  background:
    radial-gradient(circle at 78% 46%, rgba(166,123,91,.36), transparent 28%),
    var(--sand);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.contact-grid h2 { margin-top: 14px; }
.form {
  display: grid;
  gap: 12px;
}
.field {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.13);
  border-radius: 16px;
  background: rgba(255,253,248,.94);
}
textarea.field {
  min-height: 124px;
  resize: vertical;
}
.legal-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(39,22,16,.68);
  font-size: 13px;
  line-height: 1.35;
}
.legal-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}
.legal-consent a,
.form-note a,
.cookie-banner a,
.legal-document a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-note {
  margin: 0;
  color: rgba(39,22,16,.60);
  font-size: 13px;
  line-height: 1.4;
}

.feedback-modal {
  width: min(560px, calc(100vw - 32px));
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 28px;
  background: #fbf7ef;
  box-shadow: 0 32px 90px rgba(39,22,16,.32);
}
.feedback-modal[open] {
  display: block;
}
.feedback-modal::backdrop {
  background: rgba(39,22,16,.46);
  backdrop-filter: blur(5px);
}
.feedback-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
}
.feedback-form h2 {
  max-width: calc(100% - 52px);
  margin-bottom: 4px;
  font-size: clamp(32px, 4vw, 46px);
}
.feedback-form label {
  display: grid;
  gap: 7px;
}
.feedback-form label span {
  color: rgba(39,22,16,.76);
  font-size: 14px;
  font-weight: 650;
}
.feedback-form label em {
  color: var(--copper);
  font-style: normal;
}
.feedback-form textarea.field {
  min-height: 136px;
}
.feedback-form .btn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  font-size: 16px;
}
.feedback-form-status {
  margin: 0;
  color: rgba(39,22,16,.66);
  font-size: 14px;
  text-align: center;
}
.feedback-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 999px;
  background: rgba(251,247,239,.9);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(39,22,16,.12);
}
.feedback-modal-close:hover,
.feedback-modal-close:focus-visible {
  background: #fffaf4;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(560px, calc(100vw - 36px));
  padding: 20px;
  color: var(--ink);
  border: 1px solid rgba(39,22,16,.12);
  border-radius: 22px;
  background: rgba(251,247,239,.96);
  box-shadow: 0 28px 70px rgba(39,22,16,.24);
  backdrop-filter: blur(12px);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner p {
  margin: 0;
  color: rgba(39,22,16,.72);
  font-size: 14px;
  line-height: 1.45;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.cookie-actions .btn {
  min-height: 42px;
}

.legal-shell {
  min-height: 100vh;
}
.legal-main {
  padding: clamp(54px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(166,123,91,.18), transparent 24%),
    linear-gradient(180deg, #fbf7ef 0%, #f7efe1 58%, #efe4d2 100%);
}
.legal-document {
  max-width: 980px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(39,22,16,.10);
  border-radius: 28px;
  background: rgba(255,250,244,.70);
  box-shadow: var(--soft-shadow);
}
.legal-document h1 {
  margin-bottom: 28px;
  font-size: clamp(36px, 4.8vw, 58px);
}
.legal-document h2 {
  margin: 34px 0 12px;
  font-size: clamp(25px, 2.4vw, 34px);
}
.legal-document h3 {
  margin: 24px 0 10px;
  font-size: 20px;
}
.legal-document p {
  margin: 12px 0 0;
  color: rgba(39,22,16,.72);
  font-size: 16px;
  line-height: 1.62;
}
.legal-document table {
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}
.legal-document td {
  padding: 12px 14px;
  border: 1px solid rgba(39,22,16,.12);
  color: rgba(39,22,16,.72);
  font-size: 15px;
  vertical-align: top;
}

.footer {
  padding: 42px 0;
  background: var(--ink);
  color: rgba(255,250,244,.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
}
.footer strong {
  display: block;
  margin-bottom: 10px;
  color: #fffaf4;
}
.footer a {
  display: block;
  margin-top: 7px;
}
.footer-link-button {
  display: block;
  margin: 7px 0 0;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-link-button:hover,
.footer-link-button:focus-visible {
  color: #fffaf4;
}
.back-to-top {
  position: fixed;
  right: clamp(18px, 2.6vw, 34px);
  bottom: clamp(18px, 2.6vw, 34px);
  z-index: 80;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  color: #fffaf4;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--olive));
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 18px 38px rgba(39,22,16,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(39,22,16,.28);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .menu { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    inset: 66px 16px auto 16px;
    z-index: 90;
    display: none;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 18px;
    background: rgba(249,245,240,.97);
    box-shadow: var(--deep-shadow);
  }
  body.nav-open .mobile-menu { display: grid; gap: 12px; }
  .mobile-menu .btn-primary {
    width: 100%;
    min-height: 42px;
    margin-top: 2px;
  }
  .hero-grid,
  .split-grid,
  .about-panel,
  .sergey-grid,
  .results-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    height: auto;
    min-height: 0;
    padding-top: clamp(42px, 7vw, 64px);
  }
  .hero-copy {
    width: min(100%, 680px);
    height: auto;
    padding-bottom: 0;
  }
  .hero-final {
    margin-top: clamp(22px, 4vw, 34px);
  }
  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100vw - 40px);
    height: clamp(300px, 44vw, 430px);
    margin: clamp(22px, 4vw, 36px) calc(50% - 50vw) 0 auto;
    overflow: hidden;
  }
  .figure {
    inset: -4% -4% 0 18%;
    transform: translateX(34px);
  }
  .hero-figure-img {
    object-position: right bottom;
  }
  .label-body { left: 36%; top: 47%; }
  .label-mind { left: 37%; top: 13%; }
  .label-habits { left: 65%; top: 42%; }
  .label-meditation { left: 42%; bottom: 25%; }
  .label-mental { left: 32%; top: 27%; }
  .label-meaning { left: 68%; bottom: 28%; }
  .label-awareness { left: 51%; top: 20%; }
  .hero-journey:before {
    border-top-right-radius: 0;
  }
  .wellbeing-orbit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    min-height: 0;
    max-width: 760px;
  }
  .wellbeing-center {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: min(100%, 560px);
    margin: 0 auto;
    transform: none;
  }
  .orbit-group {
    position: static;
    width: auto;
  }
  .orbit-psy,
  .orbit-spirit {
    text-align: right;
    justify-self: end;
  }
  .orbit-body li:before,
  .orbit-psy li:before {
    float: none;
    margin: 0 8px 0 0;
  }
  .orbit-psy li:before,
  .orbit-spirit li:before {
    float: right;
    margin: .42em 0 0 8px;
  }
  .orbit-group li {
    transform: none !important;
  }
  .wellbeing-caption {
    position: static;
    grid-column: 1 / -1;
    width: min(100%, 680px);
    margin: 4px auto 0;
    transform: none;
  }
  .wellbeing-system {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
  .wellbeing-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wellbeing-side.left .wellbeing-card:first-child,
  .wellbeing-side.right .wellbeing-card:last-child,
  .wellbeing-side.left .wellbeing-card:last-child,
  .wellbeing-side.right .wellbeing-card:first-child {
    transform: none;
  }
  .request-grid,
  .requests-catalog-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline,
  .diagnostic-grid,
  .routes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .timeline:before { display: none; }
  .price-card.wide {
    grid-column: auto;
    display: block;
    min-height: 300px;
  }
  .mental-value-grid {
    grid-template-columns: 1fr;
  }
  .mental-value-price {
    width: min(100%, 420px);
    min-height: 0;
    aspect-ratio: auto;
    justify-self: end;
  }
  .key-route-arrow {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 0;
  }
  .key-route-arrow:before,
  .key-route-arrow:after {
    display: none;
  }
  .key-route-arrow article {
    min-height: 120px;
    padding-left: 76px;
  }
  .key-route-arrow article > span {
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
  }
  .mental-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mental-price-card {
    min-height: 470px;
  }
  .inline-feedback-grid {
    grid-template-columns: 1fr;
  }
  .inline-feedback-request textarea {
    height: auto;
    min-height: 180px;
  }
}

@media (max-width: 899px) {
  .hero-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
  .testimonial-stack {
    height: clamp(560px, 84vw, 650px);
  }
  .testimonial-stack-item {
    width: min(92%, 640px);
    height: clamp(250px, 44vw, 360px);
  }
  .testimonial-stack-item.is-prev {
    transform: translate(-50%, calc(-50% - 170px)) scale(.76) rotateX(-8deg);
  }
  .testimonial-stack-item.is-next {
    transform: translate(-50%, calc(-50% + 170px)) scale(.76) rotateX(8deg);
  }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .nav-actions { display: none; }
  .brand { font-size: 28px; }
  .hero {
    min-height: auto;
    padding-top: 0;
    background:
      radial-gradient(circle at 82% 26%, rgba(166,123,91,.18), transparent 24%),
      linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 34%, #f7efe1 58%, #d8d4c9 100%);
  }
  .hero-grid {
    min-height: auto;
    padding-top: 42px;
  }
  .hero-grid:before {
    inset: 0 calc(50% - 50vw);
    background:
      radial-gradient(circle at 82% 26%, rgba(166,123,91,.18), transparent 24%),
      linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 34%, #f7efe1 58%, #d8d4c9 100%);
  }
  .hero-copy {
    display: block;
    height: auto;
    padding-bottom: 0;
    width: 100%;
  }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: clamp(34px, 10.5vw, 46px); }
  .hero-text { font-size: 16px; }
  .hero-services ul {
    gap: 8px;
  }
  .hero-final { margin: 26px 0 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100vw - 13px);
    height: 360px;
    min-height: 360px;
    margin: 26px -13px 0 0;
    border-radius: 0;
  }
  .figure {
    inset: 4px -106px -42px -50px;
    transform: translate(42px, 18px);
  }
  .map-label {
    padding: 5px 8px;
    font-size: 12px;
  }
  .label-body { left: 28%; top: 47%; }
  .label-mind { left: 36%; top: 13%; }
  .label-habits { left: 67%; top: 43%; }
  .label-meditation { left: 31%; bottom: 24%; }
  .label-mental { left: 24%; top: 28%; }
  .label-meaning { left: 62%; bottom: 28%; }
  .label-awareness { left: 55%; top: 19%; }
  .hero-journey {
    padding-top: 34px;
  }
  .hero-journey:before {
    background:
      radial-gradient(circle at 82% 26%, rgba(166,123,91,.18), transparent 24%),
      linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 34%, #f7efe1 58%, #d8d4c9 100%);
    border-top-right-radius: 0;
    border-bottom-left-radius: 48vw 80px;
  }
  .requests {
    padding-top: var(--section-y);
    background:
      radial-gradient(circle at 82% 26%, rgba(166,123,91,.18), transparent 24%),
      linear-gradient(90deg, #fbf7ef 0%, #fbf7ef 34%, #f7efe1 58%, #d8d4c9 100%);
  }
  .key-route {
    padding: 34px 0 38px;
  }
  .key-route h2 {
    margin-bottom: 18px;
  }
  .key-route-arrow article {
    min-height: 0;
    padding: 18px 18px 18px 64px;
    border-radius: 18px;
  }
  .key-route-arrow article > span {
    left: 18px;
    width: 34px;
    height: 34px;
  }
  .key-route-arrow h3 {
    font-size: 22px;
  }
  .mental-price-grid {
    grid-template-columns: 1fr;
  }
  .mental-value .section-heading h2 {
    white-space: normal;
  }
  .mental-value-subtitle {
    font-size: 21px;
  }
  .mental-price-card {
    min-height: 0;
    padding: 24px;
    border-radius: 22px;
  }
  .inline-feedback-form {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .inline-feedback-form h3 {
    font-size: 32px;
    white-space: normal;
  }
  .inline-feedback-footer .btn {
    width: 100%;
  }
  .mental-value-panel {
    padding: 24px;
  }
  .mental-value-grid {
    gap: 24px;
  }
  .mental-value-steps article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }
  .mental-value-steps article > span {
    width: 36px;
    height: 36px;
  }
  .mental-value-price {
    justify-self: stretch;
    width: 100%;
  }
  .mental-value-action .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .mental-value-action {
    position: static;
    margin-top: 24px;
  }
  .requests-catalog-grid {
    grid-template-columns: 1fr;
  }
  .requests-catalog:before {
    top: 57%;
    left: 50%;
    width: 210vw;
    opacity: .42;
    transform: translate(-50%, -50%);
  }
  .diagnostics:after {
    right: -72vw;
    width: 190vw;
    opacity: .34;
  }
  .request-topic-card {
    min-height: 0;
  }
  .request-detail-card {
    padding: 28px 22px;
  }
  .hero-journey-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero-journey article { flex-basis: min(100%, 320px); }
  .hero-journey article { min-height: 0; }
  .hero-journey p { margin-top: 6px; }
  .wellbeing-orbit {
    grid-template-columns: 1fr;
    min-height: 0;
    display: grid;
    justify-items: center;
    text-align: center;
  }
  .wellbeing-center {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 390px);
    transform: none;
  }
  .wellbeing-caption {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, calc(100vw - 26px));
    margin-top: 0;
    font-size: clamp(21px, 6.4vw, 27px);
    transform: none;
  }
  .wellbeing-caption span {
    white-space: normal;
  }
  .wellbeing-side {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
    justify-items: center;
    text-align: center;
  }
  .wellbeing-visual {
    width: min(100%, 360px);
  }
  .wellbeing-card {
    width: 100%;
    padding: 20px;
    text-align: center;
  }
  .wellbeing-card ul {
    padding-left: 0;
    list-style-position: inside;
    justify-items: center;
  }
  .orbit-group {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 360px);
    text-align: center;
    transform: none;
  }
  .orbit-group li,
  .orbit-body li:nth-child(n),
  .orbit-psy li:nth-child(n),
  .orbit-social li:nth-child(n),
  .orbit-spirit li:nth-child(n) {
    transform: none;
  }
  .orbit-group li:before,
  .orbit-body li:before,
  .orbit-psy li:before {
    float: none;
    margin: 0 8px 0 0;
  }
  .specialist-info { padding: 16px 15px 18px; }
  .specialist-spectrum {
    margin-top: 24px;
    padding: 22px 34px 0;
    font-size: 18px;
  }
  .specialist-spectrum-top {
    margin: 0 auto 20px;
    padding: 0 34px 22px;
  }
  .specialist-spectrum-notes {
    font-size: 16px;
  }
  .testimonial-stack {
    width: 100%;
    height: 500px;
  }
  .testimonial-stack-item {
    width: 94%;
    height: 250px;
    padding: 10px;
    border-radius: 20px;
  }
  .testimonial-stack-item.is-prev {
    transform: translate(-50%, calc(-50% - 145px)) scale(.72) rotateX(-7deg);
  }
  .testimonial-stack-item.is-next {
    transform: translate(-50%, calc(-50% + 145px)) scale(.72) rotateX(7deg);
  }
  .testimonial-stack-item img {
    border-radius: 10px;
  }
  .sergey-contact-form {
    padding: 22px 16px;
  }
  .back-to-top {
    display: none;
  }
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
  }
  .cookie-actions {
    display: grid;
  }
  .legal-document {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .specialist-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }
  .specialist-modal-card {
    display: block;
  }
  .specialist-modal-card > img {
    height: 310px;
    min-height: 310px;
  }
  .specialist-modal-text {
    max-height: calc(100vh - 334px);
    padding: 24px 20px 28px;
  }
  .diploma-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .request-grid,
  .team-grid,
  .price-grid,
  .timeline,
  .diagnostic-grid,
  .routes-grid,
  .result-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .request-card,
  .diagnostic-grid article,
  .routes-grid article,
  .price-card {
    min-height: auto;
  }
  .section { padding: var(--section-y) 0; }
}
