:root {
  --bg: #ffffff;
  --bg-soft: #faf6fb;
  --bg-lavender: #eadbef;
  --bg-mist: #fcfbfd;
  --ink: #222222;
  --ink-strong: #111111;
  --muted: #5c5c5c;
  --line: rgba(34, 34, 34, 0.1);
  --accent: #b4436c;
  --accent-soft: #eadbef;
  --accent-dark: #722946;
  --card: #ffffff;
  --warn: #722946;
  --anna-widget-primary: #b4436c;
  --anna-widget-primary-dark: #722946;
  --anna-widget-accent: #eadbef;
  --anna-widget-bg: #ffffff;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-brand: Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-quote: Georgia, "Times New Roman", serif;
  --radius: 10px;
  --radius-lg: 30px;
  --header-h: 80px;
  --max: 1200px;
  --ease: 0.22s ease;
  --shadow-soft: 0 8px 24px rgba(114, 41, 70, 0.06);
  --shadow-card: 0 10px 28px rgba(114, 41, 70, 0.08);
  --accent-text: #802d4b;
  --brand: #6a2841;
  --menu-ink: #555555;
  --dropdown-bg: #ffffff;
  --dropdown-ink: #555555;
  /* Section washes bloom from/to white so abutments never hard-cut */
  --wash-lav-white: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6eef8 10%,
    #eadbef 24%,
    #eadbef 68%,
    #f3eaf6 86%,
    #faf6fb 100%
  );
  --wash-white-lav: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6eef8 35%,
    #eadbef 78%,
    #eadbef 100%
  );
  --wash-soft: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf6fb 18%,
    #f3ebf6 48%,
    #faf6fb 100%
  );
  --wash-quote: linear-gradient(180deg, #faf6fb 0%, #eadbef 45%, #faf6fb 100%);
  /* Etalon: lavender lives in the sticky header; hero itself is white */
  --wash-hero: #ffffff;
  --divider-fade: linear-gradient(90deg, rgba(180, 67, 108, 0), #b4436c 50%, rgba(180, 67, 108, 0));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* clip keeps sticky header working; hidden would break position:sticky */
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  transition: color var(--ease);
}

a:hover {
  color: var(--accent-dark);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Test banner —— */
.banner-test {
  background: linear-gradient(180deg, #1a1216 0%, #2a1c24 72%, #4a3a52 100%);
  color: #f7f4ef;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.4rem 1rem 0.55rem;
}

.banner-test strong {
  color: #f0c4d4;
}

.banner-test a {
  color: #f0c4d4;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #eadbef;
  border-bottom: none;
  box-shadow: none;
  transition: transform 0.24s ease, background 0.3s ease;
  will-change: transform;
}

/* Soft seam into white hero — matches Tilda lavender→white fade under menu */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, #eadbef 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

.site-header.header-hidden {
  transform: translateY(calc(-100% - 2px));
}

.site-header.is-scrolled {
  border-bottom: none;
  box-shadow: none;
  background: rgba(234, 219, 239, 0.96);
  backdrop-filter: blur(8px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: 16px;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.brand:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 16px;
  flex: 1;
  justify-content: center;
}

.nav > a,
.nav-item > .nav-link {
  color: var(--menu-ink);
  text-decoration: none;
  padding: 0;
  margin: 0 0.85rem;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  transition: color 0.3s ease, opacity 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

.nav > a:hover,
.nav-item > .nav-link:hover,
.nav-item.is-open > .nav-link {
  color: var(--accent);
  background: transparent;
  opacity: 0.85;
}

.nav-item {
  position: relative;
}

/* Dropdown affordance: chevron next to «Услуги» / «О работе со мной»
   content-box: global *::after { box-sizing:border-box } was collapsing the glyph */
.nav-item > .nav-link::after {
  content: "";
  display: inline-block;
  box-sizing: content-box;
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.35rem;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
  opacity: 0.95;
  transition: transform 0.2s ease;
}

.nav-item.is-open > .nav-link::after {
  transform: translateY(0.1rem) rotate(225deg);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 1rem 0;
  background: var(--dropdown-bg);
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(34, 34, 34, 0.1);
  z-index: 60;
}

/* Upward caret under parent item */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--dropdown-bg);
  filter: none;
}

.nav-item.is-open > .nav-dropdown,
.nav-item:hover > .nav-dropdown {
  display: block;
}

/* After a dropdown link click, keep menu closed until the pointer leaves the item */
.nav-item.dropdown-suppress-hover > .nav-dropdown,
.nav-item.dropdown-suppress-hover:hover > .nav-dropdown,
.nav-item.dropdown-suppress-hover.is-open > .nav-dropdown {
  display: none !important;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.35rem;
  color: var(--dropdown-ink);
  text-decoration: none;
  border-radius: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 400;
  text-align: left;
  transition: color 0.3s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: transparent;
  color: var(--accent);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--ease), transform var(--ease);
  flex-shrink: 0;
  padding: 0;
}

.btn-icon:hover {
  background: transparent;
  color: var(--accent-dark);
  transform: none;
  opacity: 0.85;
}

.btn-icon svg {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
}

.header-cta {
  white-space: nowrap;
  box-shadow: none !important;
  font-size: 14px;
  line-height: 1.4;
  padding: 10.2px 30px;
  border-radius: 10px;
}

.header-cta:hover {
  box-shadow: none !important;
  transform: none;
}

.mobile-nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.2rem;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover {
  border-color: transparent;
  color: inherit;
}

.mobile-nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #b4436c;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.mobile-nav-toggle span:nth-child(1) { top: 0.2rem; }
.mobile-nav-toggle span:nth-child(2),
.mobile-nav-toggle span:nth-child(3) { top: 0.95rem; }
.mobile-nav-toggle span:nth-child(4) { top: 1.7rem; }

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1),
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(4) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 3rem;
  background: #ffffff;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 50px;
  line-height: 70px;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 464px;
  color: #333333;
}

.hero-headline .accent,
.hero-headline em,
em.accent,
.accent {
  color: #802d4b;
  font-style: normal;
}

.hero-headline-strong {
  font-weight: 700;
}

.hero-name {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  color: #555555;
  opacity: 0.8;
  line-height: 1.4;
}

.hero-role {
  margin: 0 0 1.75rem;
  font-size: 22px;
  font-weight: 400;
  color: #555555;
  opacity: 0.8;
  line-height: 1.4;
}

.hero-descr {
  margin: 0 0 1.75rem;
  font-size: 22px;
  font-weight: 300;
  color: #555555;
  opacity: 1;
  line-height: 1.4;
}

.hero-descr-muted {
  color: #5c5c5c;
}

.hero-descr-em {
  color: var(--accent-text);
  font-weight: 400;
}

.hero-with-photo .hero-name + .hero-role {
  margin-top: 0;
}

.hero-brand {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-brand + .hero-role {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 400;
}

.hero-with-photo h1.hero-headline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 50px;
  line-height: 70px;
  max-width: 464px;
  margin: 0;
  color: #333333;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  max-width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-photo {
  width: 100%;
  min-height: 420px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4.5rem;
  box-shadow: 0 20px 50px rgba(114, 41, 70, 0.14);
  display: block;
}

.hero.hero-with-photo {
  padding: 0 0 90px;
  min-height: auto;
  align-items: stretch;
  background: #ffffff;
}

.hero-with-photo .hero-grid {
  min-height: calc(90vh - var(--header-h));
  align-items: center;
  gap: 2.75rem;
  padding: 1.5rem 0 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
}

.hero-with-photo .hero-photo {
  width: 100%;
  height: 100%;
  min-height: min(70vh, 640px);
  max-height: 760px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 14%;
  border-radius: 100px;
  box-shadow: none;
  animation: none;
}

.hero-visual {
  min-height: min(70vh, 640px);
  border-radius: 0;
  overflow: visible;
  align-self: center;
}

.hero-with-photo .cta-row .btn {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14.6px clamp(1.25rem, 5vw, 4.375rem);
  border-radius: 10px;
  box-shadow: none;
  text-align: center;
  justify-content: center;
  max-width: 100%;
  width: auto;
  box-sizing: border-box;
  white-space: normal;
}

.hero-with-photo .cta-row .btn:hover {
  transform: none;
}

.hero-quote {
  margin: 2rem 0 0;
  padding: 1.15rem 1.2rem;
  max-width: 38ch;
  background: var(--bg-lavender);
  border-radius: 14px;
  border: none;
}

.hero-quote p {
  font-family: var(--font-quote);
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.hero-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-body);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* —— Buttons —— */
.btn,
a.btn,
button.btn,
.btn-primary,
.btn-ghost,
.btn-sm,
.btn-cookie,
.header-cta,
.nav-mobile-cta,
.form .btn,
.cta-row .btn,
.price-card .btn,
.about-card .btn,
.thank-card-wide .btn,
.cta-invite-inner .btn,
.quote-band-cta .btn {
  text-align: center;
  border-radius: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
  text-align: center;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(180, 67, 108, 0.35);
  color: var(--accent);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(180, 67, 108, 0.05);
  color: var(--accent-dark);
}

/* —— Sections —— */
.section {
  padding: 105px 0;
  position: relative;
}

.section-white {
  background: #fff;
}

.section-soft {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf6fb 18%,
    #faf6fb 100%
  );
}

.section-lavender {
  /* Soft mist band — ends on mist so no white hairline before next block */
  background: linear-gradient(180deg, #ffffff 0%, #faf6fb 28%, #faf6fb 100%);
}

.section-wash-up {
  background: linear-gradient(180deg, #faf6fb 0%, #ffffff 100%);
}

.section-lavender,
.section-soft {
  padding-top: 105px;
  padding-bottom: 105px;
}

/* Soft alternating for inner pages that don't set band classes */
main > .section:nth-of-type(even):not(.section-white):not(.section-soft):not(.section-lavender):not(.section-wash-up) {
  background: var(--wash-soft);
}

.section-divider {
  height: 1px;
  width: min(720px, 70%);
  margin: 0 auto;
  background: var(--divider-fade);
  opacity: 0.45;
  border: 0;
}

.section h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 50px;
  margin: 0 0 40px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #333;
  text-align: center;
}

.section-lead {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 1.85rem;
  text-align: center;
}

.section-lead-note {
  font-size: 16px;
  max-width: 560px;
  margin-top: -0.5rem;
  margin-bottom: 90px;
  color: #5c5c5c;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

.section-more {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-2 > *,
.grid-3 > *,
.format-grid > *,
.icon-cards > *,
.price-row > *,
.reviews > *,
.change-cards > *,
.about-projects > * {
  min-width: 0;
}

.tile {
  background: #fff;
  border: 1px solid rgba(180, 67, 108, 0.1);
  border-radius: 14px;
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  background: #fff;
}

.tile h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--accent-text);
  font-weight: 500;
}

.tile p {
  margin: 0;
  color: #555;
  font-size: 0.98rem;
}

/* Niche pages: request tiles read as Tilda typographic rows */
#requests .grid-3 {
  display: grid;
  gap: 2.1rem 3rem;
  max-width: 980px;
  margin: 2rem auto 0;
  grid-template-columns: 1fr;
}

#requests .grid-3 .tile {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.2fr;
  gap: 1.25rem 2.5rem;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.35rem 0;
  border-radius: 0;
}

#requests .grid-3 .tile:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

#requests .grid-3 .tile h3 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--accent);
}

#requests .grid-3 .tile p {
  margin: 0;
  color: #555;
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.45;
}

@media (max-width: 700px) {
  #requests .grid-3 .tile {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    text-align: center;
  }

  #requests .grid-3 .tile p {
    text-align: center;
  }
}

/* —— Request typographic rows (Tilda t176) —— */
#requests.section h2 {
  margin-bottom: 100px;
}

.request-rows {
  display: grid;
  gap: 72px 0;
  max-width: 980px;
  margin: 0 auto;
}

.request-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3.5rem;
  align-items: center;
}

.request-row h3 {
  margin: 0;
  text-align: right;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  color: #b4436c;
  opacity: 1;
}

.request-row p {
  margin: 0;
  color: #555555;
  font-size: 24px;
  line-height: 1.45;
  text-align: left;
}

@media (max-width: 700px) {
  .request-rows {
    gap: 48px 0;
  }

  .request-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    text-align: center;
  }

  .request-row h3,
  .request-row p {
    text-align: center;
  }
}

/* legacy request cards kept for niche pages */
.request-grid {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(2, 1fr);
}

.request-grid-4 {
  max-width: 920px;
  margin-inline: auto;
}

.request-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(234, 219, 239, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.request-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(180, 67, 108, 0.18);
}

.request-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.request-icon img,
.request-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.request-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--accent-text);
}

.request-item p {
  margin: 0;
  color: #333;
  font-size: 0.98rem;
}

/* —— Change photo cards —— */
/* Etalon change-cards block sits on plain white */
.section:has(.change-cards),
#results.section-white {
  background: #ffffff;
}

.change-cards {
  display: grid;
  row-gap: 1.75rem;
  column-gap: 1.75rem;
  gap: 1.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.change-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background-color: #f7f2f8;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: none;
  border: none;
  position: relative;
  isolation: isolate;
}

.change-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(252, 251, 253, 0.9),
    rgba(252, 251, 253, 0.9)
  );
  z-index: 0;
}

.change-card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin-top: 0;
  padding: 1.5rem 1.25rem 1.35rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.change-card h3 {
  margin: 0;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  color: #802d4b;
  padding-top: 0;
}

.change-card h3 span,
.change-card p span {
  background-color: rgba(252, 251, 253, 0.9);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.change-card p {
  margin: auto 0 0;
  color: #333;
  font-size: 24px;
  line-height: 1.35;
  padding-bottom: 0.5rem;
}

.change-cards {
  row-gap: 20px;
  column-gap: 20px;
  gap: 20px;
}

/* —— Icon cards (results) —— */
.icon-cards {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.icon-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 219, 239, 0.7);
  transition: transform var(--ease), box-shadow var(--ease);
}

.icon-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.icon-blob {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: linear-gradient(145deg, #f3e4ef 0%, #eadbef 55%, #e2d0ea 100%);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.icon-blob svg {
  width: 1.4rem;
  height: 1.4rem;
}

.icon-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink-strong);
}

.icon-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* —— Quote bands —— */
.quote-band {
  padding: 75px 0 60px;
  background: linear-gradient(
    180deg,
    #faf6fb 0%,
    #f3ebf6 42%,
    #faf6fb 100%
  );
  text-align: center;
  position: relative;
}

.quote-band-cta {
  background: linear-gradient(
    180deg,
    #faf6fb 0%,
    #f3ebf6 42%,
    #faf6fb 100%
  );
  padding-top: 75px;
  padding-bottom: 60px;
}

.quote-band::before,
.quote-band::after {
  display: none;
}

.quote-rule {
  width: min(100%, calc(var(--max) * 8 / 12));
  max-width: 100%;
  margin: 0 auto 1.75rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.quote-band .quote-rule:last-of-type {
  margin: 1.75rem auto 0;
}

.quote-rule-line {
  height: 1px;
  width: 100%;
  background: #b4436c;
  opacity: 0.5;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.quote-band-cta .quote-decor {
  margin-bottom: 1.35rem;
}

.quote-band-cta .quote-rule:last-of-type {
  display: none;
}

.quote-decor {
  margin: 0 auto;
  width: min(100%, calc(var(--max) * 8 / 12));
  max-width: 100%;
  padding: 0 1.25rem;
  position: relative;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.quote-mark {
  display: block;
  position: absolute;
  left: max(-0.35em, -2.5rem);
  top: -0.35em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 12vw, 9.5rem);
  line-height: 1;
  color: #802d4b;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 800px) {
  .quote-mark {
    left: 0;
    top: -0.55em;
    font-size: 4.5rem;
  }

  .quote-decor {
    padding-top: 1.5rem;
  }

  .quote-decor p {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }
}

.quote-decor p {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 46px;
  line-height: 1.35;
  margin: 0;
  color: #555555;
  padding-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.quote-decor p .quote-em-strong,
.quote-decor .quote-em-strong {
  font-style: italic;
  font-weight: 500;
  color: #555555;
}

.quote-decor cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 20px;
  color: #802d4b;
  text-align: right;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.quote-band-cta .quote-decor p {
  padding-bottom: 80px;
}

/* Invite / doubts CTA (not a quote band) */
.cta-invite {
  padding: 75px 0 60px;
  background: linear-gradient(
    180deg,
    #faf6fb 0%,
    #f3ebf6 45%,
    #faf6fb 100%
  );
  text-align: center;
}

.cta-invite-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  max-width: 920px;
}

.cta-invite-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.35;
  color: #555555;
  text-align: center;
}

.cta-invite-inner .btn {
  flex: 0 0 auto;
  font-size: 1.05rem;
}

.cta-doubts {
  padding-top: 60px;
  padding-bottom: 50px;
  background: linear-gradient(
    180deg,
    #faf6fb 0%,
    #f3ebf6 45%,
    #faf6fb 100%
  );
}

/* —— Review carousel —— */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s ease;
  will-change: transform;
  touch-action: pan-y;
  align-items: stretch;
}

.carousel-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
}

.review-card {
  background: #fcfbfd;
  border: none;
  border-radius: 30px;
  padding: 2rem 1.6rem 1.5rem;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 22rem;
}

.review-card-expandable {
  min-height: 24rem;
}

.review-card-expandable p {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0 0 0.85rem;
  color: #555555;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
}

.review-card-expandable.is-open p {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.review-expand {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
  margin-top: auto;
}

.review-expand:hover {
  color: var(--accent-dark);
}

.review-card-circle {
  /* legacy override — no longer used as full circle */
  border-radius: 30px;
  aspect-ratio: auto;
  max-width: none;
  min-height: 22rem;
  padding: 2rem 1.6rem 1.5rem;
  overflow: visible;
}

.review-card-circle p {
  -webkit-line-clamp: 8;
  font-size: 0.98rem;
}

.review-source {
  font-weight: 300;
  font-size: 0.9em;
}

.review-source a {
  font-weight: 300;
  color: inherit;
}

.review-card-avatar {
  min-height: 18rem;
}

.review-head {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-head strong {
  display: block;
  font-size: 1rem;
  color: var(--ink-strong);
}

.review-head span {
  display: block;
  font-size: 0.85rem;
  color: #5c5c5c;
  font-weight: 400;
}

.review-card .stars {
  color: #d4a017;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.review-card p {
  margin: 0 0 0.85rem;
  color: #333;
  font-size: 0.98rem;
  line-height: 1.55;
}

.review-card footer {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: auto;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  border: none;
  background: rgba(250, 246, 251, 1);
  color: #b4436c;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  padding: 0;
  box-shadow: none;
}

.carousel-btn:hover {
  background: rgba(114, 41, 70, 1);
  color: #fff;
  transform: none;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.carousel-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

.about-carousel .carousel-btn {
  background: rgba(240, 232, 243, 1);
}

.about-carousel .carousel-btn:hover {
  background: rgba(114, 41, 70, 1);
  color: #fff;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(180, 67, 108, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

/* —— Leave review checklist —— */
#leave-review.section-soft {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf6fb 18%,
    #faf6fb 100%
  );
  padding-bottom: 120px;
}

#blog.section-soft {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf6fb 16%,
    #faf6fb 100%
  );
}

#contact.section-soft {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf6fb 20%,
    #faf6fb 100%
  );
}

.leave-review .checklist {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.35rem 2.5rem;
  max-width: 52rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checklist li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.2rem 0;
  font-size: 1.05rem;
  color: #333;
}

.checklist li::before {
  display: none;
}

.checklist li img {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.checklist-copy strong {
  font-weight: 500;
  color: #333;
  font-size: 1.05rem;
}

.checklist a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
  border-bottom: none;
  transition: color var(--ease);
}

.checklist a:hover {
  color: var(--accent-dark);
  border-bottom-color: transparent;
}

@media (max-width: 700px) {
  .leave-review .checklist {
    grid-template-columns: 1fr;
  }
}

/* —— Pricing as elegant rows (etalon t681: title | ✓ descr | price) —— */
.price-note {
  font-style: italic;
}

.price-note strong {
  font-weight: 700;
  font-style: italic;
}

.price-list {
  display: grid;
  gap: 0;
}

.price-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) 160px;
  align-items: center;
  gap: 1rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(180, 67, 108, 0.12);
  border-radius: 0;
  padding: 1.45rem 0.25rem;
  box-shadow: none;
  transition: none;
}

.price-line:hover {
  border-color: rgba(180, 67, 108, 0.28);
  box-shadow: none;
}

.price-line-package {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  background: linear-gradient(90deg, rgba(234, 219, 239, 0.55), rgba(250, 246, 251, 0.35));
  border: none;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  margin-top: 0.75rem;
}

.price-line-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #6a2841;
  line-height: 1.35;
}

.price-line-title a {
  color: inherit;
  text-decoration: none;
}

.price-line-title a:hover {
  color: var(--accent);
}

.price-line-mid p,
.price-line-copy p {
  margin: 0;
  color: #333333;
  font-size: 1rem;
  line-height: 1.45;
}

.price-line-mid-wide {
  grid-column: 2 / -1;
}

.price-check {
  color: var(--accent);
  font-weight: 700;
}

.price-line-side {
  text-align: right;
  flex-shrink: 0;
}

.price-line .amount {
  font-weight: 700;
  font-size: 1.55rem;
  margin: 0;
  color: #6a2841;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: right;
  justify-self: end;
}

.price-line-package s {
  opacity: 0.55;
}

.price-line-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #6a2841;
}

.price-line-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.price-line-copy h3 a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .price-line {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .price-line .amount {
    justify-self: start;
    text-align: left;
  }

  .price-line-package {
    grid-template-columns: 1fr;
  }

  .price-line-mid-wide {
    grid-column: auto;
  }
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.package-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  background: var(--bg-lavender);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}

.package-banner p {
  margin: 0.35rem 0 0;
}

.package-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  height: 2.2rem;
  padding: 0 0.65rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.package-note {
  opacity: 0.85;
  font-size: 0.9rem;
}

/* —— About principles —— */
.about-bio {
  max-width: 62ch;
}

.principles-label {
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.principles-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.principle-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 219, 239, 0.8);
  transition: transform var(--ease), box-shadow var(--ease);
}

.principle-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.principle-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--accent-dark);
}

.principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— How steps horizontal —— */
.steps-row {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.step-card {
  background: transparent;
  border-radius: 0;
  padding: 0.35rem 0.5rem 0.5rem;
  box-shadow: none;
  border: none;
  text-align: center;
  transition: none;
  position: relative;
}

.step-card:hover {
  transform: none;
  box-shadow: none;
}

.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: calc(50% + 1.35rem);
  width: calc(100% - 1.1rem);
  height: 1px;
  background: #b4436c;
  pointer-events: none;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #802d4b;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.step-card strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #333333;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.step-card p {
  margin: 0;
  color: #555555;
  font-size: 18px;
  line-height: 1.45;
}

#how .section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

#how .section-more {
  text-align: center;
  margin-top: 2.5rem;
}

#how .section-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: #b4436c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

#how .section-more a:hover {
  background: #722946;
  color: #fff;
}

/* —— Format comparison —— */
.format-heading {
  text-align: center;
  margin-bottom: 105px;
}

.format-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: center;
}

.format-list h2 {
  text-align: left;
  margin-bottom: 1.75rem;
}

.format-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.format-row h3 {
  margin: 0 0 0.35rem;
  font-size: 38px;
  font-weight: 400;
  color: #333333;
  line-height: 1.3;
}

.format-row p {
  margin: 0;
  color: #555555;
  font-size: 18px;
  line-height: 1.45;
}

.format-visual {
  overflow: hidden;
  border-radius: 30px;
  align-self: stretch;
  min-height: 0;
}

.format-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
  display: block;
  box-shadow: none;
}

.format-icon {
  margin-bottom: 0;
  width: 2.75rem;
  display: grid;
  place-items: start;
}

.format-icon img {
  width: 2.5rem;
  height: 2.5rem;
}

@media (max-width: 900px) {
  .format-heading {
    margin-bottom: 45px;
  }
  .format-split {
    grid-template-columns: 1fr;
  }
  .format-list h2 {
    text-align: center;
  }
  .format-visual {
    order: -1;
  }
  .request-row h3 {
    font-size: 36px;
  }
  .request-row p {
    font-size: 20px;
  }
  #requests.section h2 {
    margin-bottom: 60px;
  }
}

.format-grid {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease);
}

.format-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.format-card h3 {
  margin: 0 0 0.5rem;
  color: var(--accent-dark);
  font-size: 1.05rem;
}

.format-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Social round icons —— */
.contact-phone {
  margin: 1.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 600;
}

.contact-phone a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-phone a:hover {
  color: var(--accent);
}

.contact-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-block .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-block .contact-phone {
  font-size: 32px;
  font-weight: 500;
  color: #555555;
  margin-top: 1.5rem;
}

.contact-block .contact-phone a {
  color: #555555;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-block .social-round {
  justify-content: center;
  margin-top: 0.35rem;
}

.social-round {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  overflow: hidden;
}

.social-btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(180, 67, 108, 0.28);
}

.social-btn-b17 {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.social-btn-b17:hover {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.social-btn-b17 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: none !important;
  display: block;
}

.social-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  color: #fff;
}

.social-btn svg path {
  fill: currentColor;
}

.form-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.blog-teaser {
  text-align: center;
}

.blog-teaser .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* —— Pricing —— */
.price-row {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.price-card:hover {
  border-color: rgba(180, 67, 108, 0.3);
  box-shadow: 0 12px 32px rgba(114, 41, 70, 0.08);
}

.price-card .amount {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.85rem;
  margin: 0.4rem 0 0.6rem;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}

.price-card .note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.package {
  margin-top: 1.15rem;
  padding: 1.05rem 1.2rem;
  border-radius: 12px;
  background: var(--bg-lavender);
  color: var(--accent-dark);
  font-size: 0.95rem;
}

#booking {
  scroll-margin-top: 5.5rem;
}

#booking h2,
.booking-heading {
  text-align: center;
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  font-weight: 500;
  color: #333333;
}

#booking h2 em.accent,
.booking-heading em.accent {
  color: #b4436c;
  font-style: normal;
  font-weight: 500;
}

.booking-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.calendar-note {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  margin: 0.9rem 0 0;
}

/* —— Contact / forms —— */
.contact-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr 1fr;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form input,
.form textarea,
.form select {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(180, 67, 108, 0.45);
  box-shadow: 0 0 0 3px rgba(180, 67, 108, 0.12);
}

.form fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin: 0;
}

.form legend {
  padding: 0 0.35rem;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.consent {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Override .form label { display:grid } so consent stays on one row (checkbox | text) */
.form label.consent {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.55rem;
  grid-template-columns: unset;
}

.form label.consent span {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.form label.consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  accent-color: var(--accent);
  cursor: pointer;
}

.is-error {
  outline: 2px solid #b42318;
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form .checks.stack {
  flex-direction: column;
  align-items: flex-start;
}

/* —— Reviews / quotes —— */
.reviews {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review {
  background: #fff;
  border: 1px solid rgba(180, 67, 108, 0.12);
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.review p {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.review footer {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.pull-quote {
  font-family: var(--font-quote);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  text-align: center;
  width: min(100%, calc(var(--max) * 8 / 12));
  max-width: none;
  margin: 0 auto;
  color: var(--ink);
  background: transparent;
  padding: 0 1.25rem;
  border-radius: 0;
  box-sizing: content-box;
}

.pull-quote cite {
  display: block;
  margin-top: 0.85rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-quote {
  padding: 2.75rem 0 3rem;
  text-align: center;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(250, 246, 251, 0.95) 18%,
      rgba(234, 219, 239, 0.42) 50%,
      rgba(250, 246, 251, 0.95) 82%,
      rgba(255, 255, 255, 1) 100%) !important;
}

/* —— FAQ —— */
.faq {
  max-width: 740px;
  margin: 0 auto;
}

.faq details {
  background: transparent;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(34, 34, 34, 0.12);
  padding: 1.15rem 0.15rem;
  margin-bottom: 0;
  transition: background var(--ease);
}

.faq details:first-child {
  border-top: 1px solid rgba(34, 34, 34, 0.12);
}

.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #333333;
  font-size: 1.05rem;
  transition: color var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #b4436c;
  border-bottom: 2px solid #b4436c;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  margin-top: -0.2rem;
}

.faq details[open] summary {
  color: #333333;
}

.faq details[open] summary::after {
  content: "";
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.faq details p {
  color: #333333;
  margin: 0.85rem 0 0.35rem;
  max-width: 70ch;
  font-size: 0.98rem;
  line-height: 1.6;
}

#faq .section-more {
  text-align: center;
  margin-top: 2rem;
  color: #333;
}

/* —— Steps —— */
.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.05rem 1.05rem 1.05rem 3.1rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 1.05rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--bg-lavender);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Page / article helpers —— */
.page-hero {
  padding: 3rem 0 1.5rem;
  background: var(--wash-hero);
}

.page-hero h1 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.prose {
  max-width: 68ch;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose.article h2,
.prose.legal h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--ink-strong);
}

.prose.article p,
.prose.article li,
.prose.legal p,
.prose.legal li {
  color: var(--muted);
}

.prose.legal ol {
  padding-left: 1.2rem;
}

.prose.article {
  max-width: 68ch;
}

.prose.article .lead {
  font-size: 1.08rem;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.prose.article h3 {
  font-size: 1.08rem;
  margin: 1.35rem 0 0.45rem;
  color: var(--ink-strong);
}

.prose.article img,
.prose.article .article-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 36rem);
  margin: 0.35rem auto 0.75rem;
  border-radius: 12px;
  object-fit: contain;
}

.prose.article .article-figure {
  margin: 1.35rem 0 1.6rem;
}

.prose.article .article-figure figcaption {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-list {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, 1fr);
}

.article-list a {
  display: grid;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: transform var(--ease);
}

.article-list a:hover {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.article-list a img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.article-list strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-strong);
  line-height: 1.35;
}

.article-list .meta {
  color: var(--muted);
  font-size: 0.85rem;
}

/* —— Blog index (Tilda-like) —— */
.blog-index {
  padding-top: 3.5rem;
}

.blog-index-title {
  text-align: center;
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 2.25rem;
}

.blog-filter {
  appearance: none;
  border: 1px solid rgba(34, 34, 34, 0.55);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.blog-filter:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.blog-filter.is-active {
  background: #222;
  border-color: #222;
  color: #fff;
}

.blog-cards {
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.blog-card {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ease);
}

.blog-card[hidden],
.blog-card.is-filtered-out {
  display: none !important;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-card-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
}

.blog-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-card-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(80, 80, 80, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
}

.blog-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #6a2841;
  line-height: 1.35;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.blog-contact {
  text-align: center;
}

.social-round-center {
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.contact-phone-center {
  text-align: center;
  margin: 0;
}

.cta-band {
  background: #faf6fb;
  padding: 2.5rem 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cta-band-inner p {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 500;
  color: var(--ink-strong);
}

/* —— About page —— */
.about-page-hero .hero-photo {
  object-position: 50% 12%;
  border-radius: 72px;
}

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem 4rem;
  align-items: center;
}

.about-split-copy h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.about-split .about-intro-lead {
  margin: 0 0 1.5rem;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 500;
  color: #555;
}

.about-split-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 72px;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.about-intro {
  max-width: 820px;
}

.about-intro h2 {
  text-align: center;
}

.about-intro-lead {
  margin: -1rem 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #555;
  text-align: center;
}

#principles .principles-rows {
  margin-top: 2.5rem;
}

#principles.section h2 {
  margin-bottom: 2.5rem;
}

.therapy-timeline {
  list-style: none;
  margin: 2.5rem auto 0;
  padding: 0;
  max-width: 720px;
  position: relative;
}

.therapy-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  background: #b4436c;
  border-radius: 2px;
}

.therapy-timeline-item {
  position: relative;
  padding: 0 0 2.25rem 3rem;
}

.therapy-timeline-item:last-child {
  padding-bottom: 0;
}

.therapy-timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #b4436c;
  box-sizing: border-box;
  z-index: 1;
}

.therapy-timeline-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #b4436c;
  line-height: 1.3;
}

.therapy-timeline-item p {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.55;
}

.about-first-meeting,
.about-notsuitable,
.about-cancel,
.about-edu {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.about-block-lead {
  margin: -0.35rem auto 1.75rem;
  max-width: 36rem;
  color: #333333;
  font-size: 1.1rem;
  line-height: 1.55;
  text-align: center;
}

.about-block-lead-left {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
}

.about-icon-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.about-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.15rem;
  color: #333333;
  font-size: 1.15rem;
  line-height: 1.45;
}

.about-icon-list li:last-child {
  margin-bottom: 0;
}

.about-icon-list img {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-top: 0.1rem;
}

.about-icon-list-stack li {
  align-items: center;
  margin-bottom: 1.75rem;
}

.about-icon-list-stack span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-icon-list-stack strong {
  font-weight: 600;
  color: #333333;
  font-size: 1.15rem;
}

.about-icon-list-stack small {
  font-size: 0.98rem;
  color: #333333;
  font-weight: 400;
}

.about-cancel-body {
  max-width: 40rem;
  margin: 0 auto;
  text-align: left;
}

.about-cancel-body p {
  margin: 0 0 1.1rem;
  color: #333333;
  font-size: 1.08rem;
  line-height: 1.6;
}

.about-check-inline {
  color: #b4436c;
  font-weight: 600;
}

.about-cancel-note {
  margin-top: 1.5rem !important;
  color: #555555 !important;
  font-size: 1rem !important;
}

.about-contact-info .social-round {
  margin-top: 0.5rem;
}

.about-contact-info .contact-phone {
  margin-top: 1.25rem;
}

.about-contact-info .contact-phone a {
  color: #333333;
}

.principle-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 0 0.85rem;
}

.principle-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--accent-dark);
}

#principles .section-cta {
  text-align: center;
  margin-top: 2rem;
}

#principles .section-more {
  margin-bottom: 1rem;
}

.first-meeting-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.first-meeting-card {
  text-align: center;
}

.first-meeting-card h3 {
  color: var(--accent-dark);
}


@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-split-copy h2,
  .about-split .about-intro-lead {
    text-align: center;
  }

  .about-page-hero .hero-photo,
  .about-split-visual img {
    border-radius: 36px;
  }

  .therapy-timeline::before {
    left: 8px;
  }

  .therapy-timeline-item {
    padding-left: 2.5rem;
  }

  .therapy-timeline-item::before {
    left: 2px;
    width: 14px;
    height: 14px;
  }

  .first-meeting-grid {
    grid-template-columns: 1fr;
  }
}

.about-intro-copy {
  max-width: none;
}

.about-intro-copy.prose p,
.about-intro-copy.prose li {
  color: #333333;
}

.about-intro-copy a {
  color: #722946;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-intro-copy a:hover {
  color: #5a1f37;
}

.about-intro-copy ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.2rem;
}

.about-intro-copy li {
  margin-bottom: 0.35rem;
}

.about-edu-status {
  text-align: center;
  max-width: 42rem;
  margin: -0.25rem auto 0.65rem;
  color: #333333;
  font-size: 1.05rem;
}

.about-edu-qual {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2rem;
  color: #333333;
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-edu-qual a {
  color: #333333;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-edu-qual a:hover {
  color: #b4436c;
}

.about-diplomas {
  margin: 1.5rem 0 1.25rem;
}

.about-diplomas .carousel-track {
  align-items: center;
}

.diploma-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.diploma-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 10px;
}

.about-hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.about-hero-photo img {
  width: 100%;
  border-radius: 100px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  box-shadow: none;
}


.about-projects {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.about-project {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.about-project img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-project h3 {
  margin: 0.9rem 1.1rem 0.35rem;
  font-size: 1.1rem;
  color: var(--accent-text);
}

.about-project p {
  margin: 0 1.1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .blog-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .about-hero-grid,
  .about-projects {
    grid-template-columns: 1fr;
  }

  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .article-list {
    grid-template-columns: 1fr;
  }

  .blog-cards {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

.notice {
  background: var(--bg-lavender);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  color: var(--accent-dark);
  margin: 1rem 0 1.5rem;
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.list-check li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.thank-card {
  max-width: 520px;
  margin: 4rem auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.thank-card-wide {
  max-width: 640px;
  text-align: left;
}

.thank-card h1 {
  font-family: var(--font-body);
  margin: 0 0 0.75rem;
  color: var(--ink-strong);
}

.thank-card-wide h1 {
  text-align: center;
}

.thank-lead {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.55;
}

.thank-note {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.thank-details {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.15rem;
  background: var(--bg-mist);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.thank-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
}

.thank-row span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.thank-row strong {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  text-align: left;
}

.thank-row.is-highlight strong {
  color: var(--accent-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.thank-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.thank-footer .thank-note {
  margin: 0;
}

.thank-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.thank-messengers a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.thank-messengers a:hover {
  text-decoration: underline;
}

.thank-cta {
  margin-top: 0.35rem !important;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.thank-card-wide .btn {
  margin-top: 0;
}

@media (max-width: 480px) {
  .thank-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.redirect-card {
  background: rgba(255, 255, 255, 0.78);
  border: none;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  max-width: 52ch;
  box-shadow: var(--shadow-soft);
}

.redirect-card .target {
  font-weight: 700;
  word-break: break-word;
}

.group-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 1rem 0 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.group-facts span {
  background: var(--bg-lavender);
  color: var(--accent-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.niche-hero .hero-brand {
  font-size: 1.15rem;
}

.fade-in {
  animation: rise 0.8s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Footer —— */
.site-footer {
  border-top: none;
  padding: 2.75rem 0 2.5rem;
  margin-top: 0;
  color: #555;
  font-size: 0.9rem;
  background: #eadbef;
}

.site-footer-lavender {
  background: linear-gradient(180deg, #faf6fb 0%, #f3eaf6 32%, #eadbef 62%, #eadbef 100%);
  color: #555;
  margin-top: 0;
  padding-top: 2.75rem;
}

.site-footer-lavender a {
  color: #555555;
}

.site-footer-lavender a:hover {
  color: var(--accent);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer .footer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  justify-self: start;
}

.footer-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-bar .footer-nav {
  justify-content: center;
  justify-self: center;
}

.footer-up {
  justify-self: end;
  text-decoration: none;
  font-weight: 500;
  color: #555555;
}

.site-footer a {
  color: #555555;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .site-footer .footer-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-copy,
  .footer-bar .footer-nav,
  .footer-up {
    justify-self: center;
  }
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .nav {
    justify-content: flex-start;
  }

  .header-cta .btn-label-short {
    display: inline;
  }

  .header-cta .btn-label-full {
    display: none;
  }
}

@media (min-width: 981px) {
  .header-cta .btn-label-short {
    display: none;
  }
}

@media (max-width: 900px) {
  .price-row {
    grid-template-columns: 1fr;
  }

  .icon-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .step-card strong {
    font-size: 22px;
  }

  .step-card p {
    font-size: 16px;
  }

  .format-row h3 {
    font-size: 30px;
  }

  .format-row p {
    font-size: 16px;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .carousel-card {
    flex: 0 0 100%;
  }

  .about-carousel .carousel-card.about-card {
    flex: 0 0 min(280px, 100%);
    min-height: calc(280px / (16 / 9));
  }

  .about-carousel .carousel-track {
    gap: 10px;
  }

  .about-card h3 {
    font-size: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .about-card p,
  .about-card .about-principles {
    font-size: 14px;
    padding-bottom: 36px;
  }

  .diploma-card {
    flex: 0 0 100%;
  }

  .quote-decor p {
    font-size: 36px;
  }

  .quote-decor cite {
    font-size: 16px;
  }

  .cta-invite-inner p {
    font-size: 36px;
  }

  .quote-band-cta .quote-decor p {
    padding-bottom: 48px;
  }

  .change-card h3 {
    font-size: 36px;
  }

  .change-card p {
    font-size: 20px;
  }

  .price-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-line-side {
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .price-line .amount {
    margin-bottom: 0;
  }
}

@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .site-header .wrap {
    flex-wrap: wrap;
    padding: 0.7rem 0;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.35rem 0 0.85rem;
    order: 10;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .nav-item > .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0.75rem;
  }

  .nav-item > .nav-link::after {
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.75rem;
    border-right-width: 2.5px;
    border-bottom-width: 2.5px;
  }

  .nav-item:hover > .nav-dropdown {
    display: none;
  }

  .nav-item.is-open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    left: auto;
    box-shadow: none;
    border: none;
    background: #fff;
    margin: 0 0 0.35rem;
    min-width: 0;
    max-width: none;
    border-radius: 10px;
    padding: 0.55rem 0;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a {
    padding: 0.65rem 0.85rem;
  }

  .nav > a.nav-mobile-cta {
    display: flex !important;
    width: auto;
    box-sizing: border-box;
    margin: 0.65rem 0.75rem 0.15rem;
    padding: 0.85rem 1rem;
    justify-content: center;
    background: var(--accent);
    color: #fff;
  }

  .nav > a.nav-mobile-cta:hover {
    background: var(--accent-dark);
    color: #fff;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero.hero-with-photo {
    min-height: auto;
  }

  .hero-with-photo .hero-grid {
    min-height: auto;
    padding: 1rem 0 1.75rem;
    gap: 1.25rem;
  }

  /* Mobile: portrait first (etalon), then copy — photo ≤ half viewport */
  .hero-with-photo .hero-visual {
    order: -1;
  }

  .hero-headline,
  .hero-with-photo h1.hero-headline {
    max-width: none;
    font-size: 42px;
    line-height: 1.35;
  }

  .hero-name,
  .hero-role,
  .hero-descr {
    font-size: 22px;
  }

  .hero-with-photo .hero-visual,
  .hero-with-photo .hero-photo {
    min-height: 0;
    max-height: 45vh;
    height: auto;
  }

  .hero-with-photo .hero-photo,
  .hero-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: 30px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .request-grid {
    grid-template-columns: 1fr;
  }

  .icon-cards {
    grid-template-columns: 1fr;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-left: 0.25rem;
  }

  .step-card {
    display: grid;
    grid-template-columns: 2.1rem 1fr;
    column-gap: 1rem;
    row-gap: 0.35rem;
    text-align: left;
    align-items: start;
    padding: 0;
  }

  .step-num {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .step-card:not(:last-child)::after {
    display: block;
    top: 2.1rem;
    left: 1.05rem;
    width: 1px;
    height: calc(100% + 1.75rem - 2.1rem);
    transform: translateX(-50%);
    bottom: auto;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  /* All carousels: arrows below track so they never cover text */
  .carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "viewport viewport"
      "prev next";
    gap: 0.85rem 1rem;
    align-items: center;
  }

  .carousel-viewport {
    grid-area: viewport;
    padding: 0;
  }

  .carousel-btn {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
    width: 36px;
    height: 36px;
    box-shadow: none;
  }

  .carousel-prev {
    grid-area: prev;
    justify-self: start;
  }

  .carousel-next {
    grid-area: next;
    justify-self: end;
  }

  .carousel-btn svg {
    width: 24px;
    height: 24px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 1.35rem));
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 40px;
  }

  .section-lavender,
  .section-soft {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-lead-note {
    margin-bottom: 60px;
  }

  .quote-band,
  .quote-band-cta,
  .cta-invite {
    padding: 45px 0;
  }

  .quote-decor {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .quote-decor p,
  .cta-invite-inner p {
    font-size: 40px;
  }

  .quote-decor cite {
    font-size: 16px;
    padding-right: 0;
  }

  .hero.hero-with-photo {
    padding-bottom: 45px;
  }

  .hero-with-photo .hero-grid {
    min-height: auto;
    padding-top: 0.75rem;
    grid-template-columns: 1fr;
  }

  .hero-with-photo h1.hero-headline,
  .hero-headline {
    font-size: 42px;
  }

  .hero-with-photo .hero-photo {
    border-radius: 30px;
    min-height: 0;
    max-height: 45vh;
  }

  .btn {
    width: auto;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 10px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .cta-row .btn,
  .quote-band-cta .btn,
  .cta-invite-inner .btn,
  .form .btn,
  .price-card .btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .hero-with-photo .cta-row .btn {
    padding: 14px 1.25rem;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }

  .hero {
    padding: 2.25rem 0 1.75rem;
  }
}

@media (max-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.88rem;
    max-width: 11.5rem;
    white-space: normal;
    line-height: 1.25;
  }

  .hero-with-photo .hero-visual,
  .hero-with-photo .hero-photo {
    min-height: 0;
    max-height: 42vh;
  }

  .price-card .amount {
    font-size: 1.65rem;
  }
}

/*
  Desktop: hide mobile-only nav CTA.
  Must beat `.nav > a { display: inline-flex }` (0,1,1) — a lone
  `.nav-mobile-cta { display: none }` loses and the link shows as
  plain ink-colored nav text under the menu row.
*/
.nav > a.nav-mobile-cta {
  display: none;
}

@media (min-width: 861px) {
  .nav-item:focus-within > .nav-dropdown {
    display: block;
  }
}

/* —— About cards (Tilda parity) —— */
.about-carousel .carousel-track {
  gap: 40px;
}

.about-carousel .carousel-card.about-card {
  flex: 0 0 360px;
}

.about-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  min-height: calc(360px / (16 / 9));
}

.about-card-media {
  display: none;
}

.about-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: inherit;
  padding: 10px 0;
}

.about-card .btn {
  margin-top: 1rem;
  align-self: flex-start;
  margin-left: 14px;
  margin-right: 14px;
  margin-bottom: 0;
}

.about-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.6;
  font-weight: 400;
  color: #555555;
  padding: 10px 14px 20px;
}

.about-card h3 span {
  font-weight: 500;
}

.about-card p {
  margin: auto 0 0;
  color: #333;
  font-size: 16px;
  padding: 0 14px 10px;
  line-height: 1.5;
}

.about-principles {
  margin: 0;
  padding: 0 14px 50px 1.85rem;
  color: #333;
  font-size: 16px;
}

.about-principles li {
  margin-bottom: 0.35rem;
}

.about-card-link {
  margin-top: auto;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}

.about-card-link:hover {
  color: var(--accent-dark);
}

.about-card-project .about-card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.35rem;
}

.about-cards {
  display: grid;
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.format-icon {
  margin-bottom: 0;
}

.format-icon img {
  width: 2.5rem;
  height: 2.5rem;
}

/* —— Articles grid —— */
.articles-grid {
  display: grid;
  gap: 1.5rem 1.25rem;
  grid-template-columns: repeat(4, 1fr);
}

.article-card {
  display: block;
  text-decoration: none;
  color: #6a2841;
  transition: opacity var(--ease);
}

.article-card:hover {
  transform: none;
  color: #802d4b;
  opacity: 0.88;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 30px;
  margin-bottom: 0.85rem;
}

.article-card strong {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: #6a2841;
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 600px;
  padding: 1rem 1.15rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.45;
}

.btn-cookie {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  color: #555;
  border: 1px solid #999;
  border-radius: 10px;
  padding: 0.45rem 1rem;
  font-weight: 500;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-cookie:hover {
  background: #e8e8e8;
  color: #111;
  border-color: #111;
  transform: none;
  box-shadow: none;
}

.social-btn:not(.social-btn-b17) img {
  width: 1.35rem;
  height: 1.35rem;
  filter: brightness(0) invert(1);
}

.social-btn[aria-label="MAX"] img {
  width: 1.25rem;
  height: 1.25rem;
}

.social-btn[aria-label="Позвонить"] img {
  width: 1.2rem;
  height: 1.2rem;
}

@media (max-width: 1100px) {
  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .change-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .change-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-line .amount {
    font-size: 1.55rem;
  }
}

@media (max-width: 700px) {
  .about-cards,
  .articles-grid,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .hero-with-photo .hero-photo {
    border-radius: 30px;
    max-height: 45vh;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.85rem + env(safe-area-inset-bottom));
    max-width: none;
    flex-direction: column;
    align-items: stretch;
  }

  .section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .article-card img {
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .hero-with-photo .hero-photo,
  .hero-photo {
    border-radius: 30px;
  }

  .quote-decor p,
  .cta-invite-inner p {
    font-size: 28px;
    line-height: 1.35;
  }

  .quote-decor cite {
    font-size: 15px;
    line-height: 1.35;
  }

  .quote-mark {
    font-size: 3.5rem;
  }

  .request-row h3 {
    font-size: 36px;
  }

  .request-row p {
    font-size: 20px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 1rem);
  }
}

/* —— Group 2026 page (scoped) —— */
.group-page .group-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}

.group-page .group-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  z-index: -2;
}

.group-page .group-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(34, 18, 28, 0.35) 0%,
    rgba(34, 18, 28, 0.55) 42%,
    rgba(34, 18, 28, 0.82) 100%
  );
}

.group-page .group-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.group-page .group-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  font-weight: 600;
}

.group-page .group-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.group-page .group-title-accent {
  color: #f0c4d4;
  font-weight: 500;
}

.group-page .group-lead {
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 42ch;
}

.group-page .group-pain {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.group-page .group-pain li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.group-page .group-pain li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #f0c4d4;
}

.group-page .group-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 0 0 1.5rem;
}

.group-page .group-facts span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
}

.group-page .group-hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.group-page .group-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.group-page .group-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.group-page .group-quote {
  margin: 0 auto;
  max-width: 52ch;
  text-align: center;
}

.group-page .group-quote p {
  font-family: var(--font-quote);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1rem;
}

.group-page .group-quote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

.group-page .grid-3,
.group-page .grid-2,
.group-page .price-row,
.group-page .format-grid {
  row-gap: 1.35rem;
  column-gap: 1.35rem;
  gap: 1.35rem;
}

.group-page .section-white {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #faf6fb 18%,
    #f7f2f8 52%,
    #faf6fb 100%
  );
}

.group-page .tile {
  background: #fff;
  border: 1px solid rgba(180, 67, 108, 0.1);
}

.group-page .price-card-featured {
  border-color: rgba(180, 67, 108, 0.35);
  box-shadow: var(--shadow-card);
}

.group-page .price-badge {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-lavender);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.group-page .price-card .btn {
  margin-top: 1rem;
}

.group-page .group-contact {
  text-align: center;
}

.group-page .cta-row-center {
  justify-content: center;
}

.group-page .group-max-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.group-page .group-max-btn img {
  width: 1.05rem;
  height: 1.05rem;
  /* Max mark reads as dark glyph on ghost button */
  filter: none;
}

.group-page .group-contact-hint {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .group-page .group-hero {
    min-height: auto;
    padding: 3.5rem 0 2.5rem;
    align-items: flex-end;
  }
}

/* —— Floating scroll to top —— */
.scroll-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.35rem;
  z-index: 45;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(114, 41, 70, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(114, 41, 70, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(34, 34, 34, 0.06);
}

.scroll-top.is-visible {
  opacity: 0.55;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  opacity: 0.92;
  color: #722946;
  border-color: rgba(114, 41, 70, 0.35);
  background: rgba(255, 255, 255, 0.92);
}

.scroll-top svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

@media (max-width: 700px) {
  .scroll-top {
    right: 0.85rem;
    bottom: 1rem;
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* —— Page section dots (etalon t607 parity, custom) —— */
.page-dots {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin: 0;
  padding: 0;
}

.page-dots a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12.5px 0;
  text-decoration: none;
}

.page-dots-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(180, 67, 108, 0.28);
  background: transparent;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-dots a.is-active .page-dots-dot,
.page-dots a:hover .page-dots-dot {
  background: rgba(180, 67, 108, 0.45);
  border-color: rgba(180, 67, 108, 0.58);
  transform: scale(1.04);
}

.page-dots-tip {
  position: absolute;
  right: 33px;
  white-space: nowrap;
  background: #6a2841;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.5;
  padding: 0 0.75rem;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-dots-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  margin-top: -6px;
  border: 6px solid transparent;
  border-left-color: #6a2841;
}

.page-dots a:hover .page-dots-tip,
.page-dots a:focus-visible .page-dots-tip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1100px) {
  .page-dots {
    display: none;
  }
}

/* Legal docs + blog: discourage copying */
html.no-copy,
html.no-copy body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

html.no-copy input,
html.no-copy textarea,
html.no-copy [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

/* —— Vopros-psikhologu landing —— */
.vopros-page .vopros-hero .hero-headline {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
}

.vopros-for-whom-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vopros-tile {
  min-height: 100%;
}

.vopros-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.vopros-benefits li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text);
  font-size: 1.05rem;
}

.vopros-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--accent);
  font-weight: 700;
}

.vopros-restrictions {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
}

.vopros-restrictions li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}

.vopros-restrictions li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #9a4a5a;
  font-weight: 600;
}

.vopros-restrictions-note {
  color: var(--muted);
  max-width: 42rem;
  margin: 0;
}

.vopros-host {
  color: var(--muted);
  margin: -0.35rem 0 1.5rem;
  font-size: 0.95rem;
}

.vopros-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quiz-form {
  max-width: 920px;
  margin: 0 auto;
}

.quiz-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(106, 40, 65, 0.08);
}

.quiz-side {
  background: linear-gradient(165deg, rgba(180, 67, 108, 0.12) 0%, rgba(244, 236, 246, 0.95) 100%);
  padding: 2rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
}

.quiz-side-num {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.quiz-side-label {
  margin: 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.quiz-side-note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.quiz-main {
  padding: 1.75rem 1.75rem 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.quiz-question {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.quiz-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.quiz-question .req,
.quiz-fieldset legend .req {
  color: var(--accent);
}

.quiz-options {
  display: grid;
  gap: 0.55rem;
}

.quiz-options.stack {
  gap: 0.5rem;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}

.quiz-option:hover {
  border-color: rgba(180, 67, 108, 0.35);
}

.quiz-option input {
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.quiz-option:has(input:checked) {
  border-color: rgba(180, 67, 108, 0.55);
  background: rgba(180, 67, 108, 0.06);
  box-shadow: 0 0 0 1px rgba(180, 67, 108, 0.08);
}

.quiz-field-full {
  display: grid;
  gap: 0.35rem;
}

.quiz-field-full textarea,
.quiz-field-full input {
  width: 100%;
}

.quiz-custom-field {
  margin-top: 0.65rem;
}

.quiz-fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.quiz-fieldset legend {
  font-weight: 600;
  margin-bottom: 0.55rem;
  padding: 0;
}

.quiz-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quiz-chip {
  cursor: pointer;
}

.quiz-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color var(--ease), background var(--ease);
}

.quiz-chip input:checked + span {
  border-color: rgba(180, 67, 108, 0.55);
  background: rgba(180, 67, 108, 0.1);
  color: var(--accent-dark);
}

.quiz-scale {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.quiz-scale input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
}

.quiz-scale-value {
  min-width: 2rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.quiz-consent {
  margin-top: 1rem;
}

.quiz-contacts-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

.quiz-contacts-grid > label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.quiz-contacts-grid > label input {
  font-weight: 400;
  width: 100%;
}

.quiz-contacts-grid .req {
  color: var(--accent);
}

.quiz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  margin-top: 0.35rem;
}

/* .btn { display:inline-flex } would otherwise override the hidden attribute */
.quiz-nav [hidden] {
  display: none !important;
}

.quiz-back {
  margin-right: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .vopros-for-whom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vopros-steps {
    grid-template-columns: 1fr;
  }

  .quiz-shell {
    grid-template-columns: 1fr;
  }

  .quiz-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.25rem 1.35rem;
  }

  .quiz-side-num {
    font-size: 2.5rem;
    margin-right: 0.75rem;
  }

  .quiz-side-note {
    flex: 1 1 100%;
  }

  .quiz-contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .vopros-for-whom-grid {
    grid-template-columns: 1fr;
  }

  .quiz-main {
    padding: 1.25rem 1rem 1rem;
  }
}

