/* Країна Літер — shared design system */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap");

:root {
  --ink: #142824;
  --ink-soft: #3d5650;
  --muted: #5f7a72;
  --paper: #ffffff;
  --bg: #eef7f3;
  --bg-2: #e2f0ea;
  --teal: #0f8f82;
  --teal-deep: #0a6b62;
  --teal-soft: #d5efe9;
  --coral: #e4573d;
  --coral-deep: #c9442c;
  --gold: #d4a017;
  --forest: #1f4d44;
  --line: rgba(20, 40, 36, 0.1);
  --shadow: 0 18px 50px rgba(15, 60, 52, 0.12);
  --shadow-sm: 0 8px 24px rgba(15, 60, 52, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #c8ebe2 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe4d6 0%, transparent 45%),
    linear-gradient(180deg, #f4fbf8 0%, var(--bg) 40%, #eaf5f0 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--tight {
  padding: 3.5rem 0;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  max-width: 18ch;
}

.section__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 46ch;
}

.section__head {
  margin-bottom: 2.5rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 60, 52, 0.06);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(15, 60, 52, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--teal-deep);
}

.nav__cta {
  display: inline-flex;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  place-items: center;
  padding: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--coral);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(228, 87, 61, 0.28);
}

.btn--primary:hover {
  background: var(--coral-deep);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn--teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 143, 130, 0.28);
}

.btn--teal:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(20, 40, 36, 0.18);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.55);
}

.btn--light {
  background: #fff;
  color: var(--forest) !important;
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  transform: translateY(-2px);
  color: var(--forest) !important;
}

.btn--solid-light {
  background: #fff;
  color: var(--forest) !important;
  border-color: rgba(20, 40, 36, 0.12);
  box-shadow: var(--shadow-sm);
}

.btn--solid-light:hover {
  background: #f3faf7;
  color: var(--forest) !important;
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* ——— Hero ——— */
.hero {
  padding: 2.5rem 0 4rem;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
}

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

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--teal);
}

.hero__brand span {
  display: block;
  color: var(--teal);
}

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

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  max-width: 28ch;
  color: var(--ink);
}

.hero__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero__offer {
  margin: 1rem 0 0;
  max-width: 48ch;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--coral, #e07a5f);
  background: linear-gradient(90deg, rgba(224, 122, 95, 0.1), transparent 85%);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero__offer strong {
  color: var(--forest, #163f39);
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 6% -4% 6%;
  background:
    radial-gradient(circle at 30% 30%, rgba(15, 143, 130, 0.25), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(228, 87, 61, 0.18), transparent 50%);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  z-index: -1;
  animation: blob 12s ease-in-out infinite;
}

.hero__visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: floaty 6.5s ease-in-out infinite;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(160deg, #e8f5f0 0%, #fff 55%, #fceee8 100%);
}

.hero__badge {
  position: absolute;
  left: -0.5rem;
  bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-sm);
  max-width: 210px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: rise-in 0.9s var(--ease) both;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes blob {
  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 55% 45% 40% 60% / 55% 50% 50% 45%;
    transform: rotate(4deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Situation / audience strips ——— */
.pill-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list--compact {
  max-width: 64ch;
  margin-inline: auto;
}

.pill-list strong {
  color: var(--ink);
  font-weight: 800;
}

.pill-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.pill-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.pill-list .dot {
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(228, 87, 61, 0.15);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.split--visual {
  align-items: center;
}

.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

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

.check-list li {
  position: relative;
  display: block;
  padding-left: 2rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.check-list strong {
  color: var(--ink);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6b62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ——— Feature mosaic ——— */
.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.mosaic--duo {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.mosaic--duo .mosaic__side {
  display: block;
  min-height: 260px;
}

.mosaic--duo .mosaic__side > * {
  min-height: 100%;
  height: 100%;
}

.mosaic--duo.mosaic--lifestyle {
  grid-template-columns: 1fr 1fr;
  aspect-ratio: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  gap: 1rem;
}

.mosaic--duo.mosaic--lifestyle .mosaic__main,
.mosaic--duo.mosaic--lifestyle .mosaic__shot {
  aspect-ratio: 1;
  min-height: 0;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}

.mosaic--duo.mosaic--lifestyle .mosaic__side {
  display: block;
  grid-template-rows: none;
  gap: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.mosaic--duo.mosaic--lifestyle .mosaic__main img,
.mosaic--duo.mosaic--lifestyle .mosaic__shot img {
  object-fit: cover;
  object-position: center;
}

.mosaic__main,
.mosaic__side {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 260px;
  box-shadow: var(--shadow-sm);
}

.mosaic__main,
.mosaic__side > * {
  background: var(--bg-2);
}

.mosaic__main img,
.mosaic__side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mosaic__side {
  display: grid;
  gap: 1rem;
}

.mosaic__side > * {
  min-height: 125px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Lifestyle mosaic: один квадрат — зліва 9:16, справа відео + фото */
.mosaic--lifestyle {
  grid-template-columns: 9fr 11fr;
  gap: 0.55rem;
  aspect-ratio: 1;
  align-items: stretch;
  padding: 0.55rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 0;
}

.mosaic--lifestyle .mosaic__main,
.mosaic--lifestyle .mosaic__side,
.mosaic--lifestyle .mosaic__shot {
  min-height: 0;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  box-shadow: none;
  background: #eef3f0;
}

.mosaic--lifestyle .mosaic__main--portrait {
  position: relative;
  height: 100%;
  aspect-ratio: auto;
}

.mosaic--lifestyle .mosaic__main--portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.mosaic--lifestyle .mosaic__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.55rem;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

.mosaic--lifestyle .mosaic__shot {
  position: relative;
  min-height: 0;
}

.mosaic--lifestyle .mosaic__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mosaic--lifestyle .mosaic__shot--video {
  position: relative;
}

.video-frame--mosaic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  border-radius: inherit;
  overflow: hidden;
  background: #e8efec;
}

.mosaic__main--video {
  position: relative;
}

.video-frame--mosaic .video-play,
.video-frame--mosaic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.reason {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff 0%, #f3faf7 100%);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease);
}

.reason:hover {
  transform: translateY(-4px);
}

.reason__n {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--coral);
  margin-bottom: 0.55rem;
}

.reason h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

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

/* ——— Packages ——— */
.packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.55rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.package:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.package--featured {
  background: linear-gradient(165deg, #0f6b62 0%, #149687 55%, #1aa895 100%);
  color: #fff;
  border: none;
}

.package--featured .package__meta,
.package--featured .package__list,
.package--featured p {
  color: rgba(255, 255, 255, 0.88);
}

.package__tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.package--featured .package__tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.package h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.25;
}

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

.package__visuals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin: 0.15rem 0 0.2rem;
}

.package__visuals img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: linear-gradient(160deg, #eef7f3 0%, #fff 55%, #fceee8 100%);
  border: 1px solid var(--line);
}

.package--featured .package__visuals img {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
}

.package__visuals--stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.35rem 0.15rem 0.15rem;
}

.package__visuals--stack img {
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
}

.package__visuals--stack img:nth-child(2) {
  transform: rotate(1.5deg) translateY(-4px);
}

.package__visuals--stack img:nth-child(3) {
  transform: rotate(-1deg);
}

.package__visual-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.package__actions {
  margin-top: auto;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.package__actions .btn {
  flex: 1 1 auto;
}

.package__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.package__list li {
  padding-left: 1rem;
  position: relative;
}

.package__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--coral);
}

.package--featured .package__list li::before {
  color: #ffd29b;
}

.package__price {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.package__price strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.package__price s {
  color: var(--muted);
  font-size: 0.95rem;
}

.package--featured .package__price s {
  color: rgba(255, 255, 255, 0.65);
}

.package .btn {
  width: 100%;
}

/* ——— Table / chooser ——— */
.chooser {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.chooser table {
  width: 100%;
  border-collapse: collapse;
}

.chooser th,
.chooser td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.chooser th {
  background: var(--bg-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-deep);
}

.chooser tr:last-child td {
  border-bottom: none;
}

.chooser td:last-child {
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 5.5rem;
}

.chooser th:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Prices: body font (₴/грн); nowrap only on the amount, not installment line */
.package__price,
.product__price,
.mini-card .product__price {
  white-space: nowrap;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}

.course__prices {
  display: grid;
  gap: 0.25rem;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.package__price strong,
.course__prices > span:first-child {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ——— Quiz ——— */
.quiz {
  background: linear-gradient(145deg, #163f39 0%, #1f5a51 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.quiz h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.quiz p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.82);
}

.quiz__step {
  display: none;
}

.quiz__step.is-active {
  display: block;
  animation: rise-in 0.45s var(--ease);
}

.quiz__q {
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.quiz__options {
  display: grid;
  gap: 0.6rem;
}

.quiz__options button {
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.quiz__options button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateX(4px);
}

.quiz__result {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.quiz__result.is-visible {
  display: block;
  animation: rise-in 0.45s var(--ease);
}

.quiz__includes-label {
  margin: 0.85rem 0 0.4rem !important;
  font-weight: 700;
  color: #fff !important;
  font-size: 0.95rem;
}

.quiz__includes {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.quiz__includes li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.35;
}

.quiz__includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--coral, #e07a5f);
}

.quiz__restart {
  display: block;
  margin-top: 0.9rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.quiz__restart:hover {
  color: #fff;
}

.package.is-spotlight {
  outline: 3px solid var(--coral, #e07a5f);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(224, 122, 95, 0.18), var(--shadow);
  animation: pkg-pulse 1.2s ease-in-out 2;
}

@keyframes pkg-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ——— Courses ——— */
.courses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.course {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.45rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.course__meta {
  margin: -0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.course h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.course ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  flex: 1;
}

.course__prices {
  font-weight: 700;
}

.course__prices > span:first-child {
  font-size: 1.35rem;
}

.course__prices .course__installment,
.course__prices [data-installment] {
  font-weight: 600;
  white-space: normal;
}

.course__installment,
.package__installment {
  display: block;
  margin: 0.15rem 0 0;
  max-width: 100%;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--teal-deep);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.package--featured .package__installment {
  color: rgba(255, 255, 255, 0.92);
}

.order-installment {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.pricing-off .course__prices,
.pricing-off .course__installment,
.pricing-off .product__price,
.pricing-off [data-price-block] {
  display: none !important;
}

/* ——— FAQ ——— */
.faq {
  display: grid;
  gap: 0.7rem;
}

.faq details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1rem;
  transition: box-shadow 0.25s;
}

.faq details[open] {
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 700;
  position: relative;
  padding-right: 2rem;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* ——— Author / about ——— */
.author {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

.author__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  max-width: 420px;
}

.author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--teal-deep);
}

.stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ——— Catalog grid ——— */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product__media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, #e7f3ee 0%, #fff 60%);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1rem;
  min-height: 280px;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

.product:hover .product__media img {
  transform: scale(1.03);
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
}

.product__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.product__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.product__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* ——— Gateway ——— */
.gateway {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.gateway__inner {
  width: min(100% - 2rem, 980px);
  text-align: center;
}

.gateway__logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: floaty 5.5s ease-in-out infinite;
}

.gateway h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
}

.gateway__lead {
  color: var(--ink-soft);
  margin: 0 auto 2.2rem;
  max-width: 42ch;
  font-size: 1.1rem;
}

.gateway__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.gateway-card {
  display: block;
  text-align: left;
  padding: 1.7rem;
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

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

.gateway-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.gateway-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.gateway-card span {
  font-weight: 800;
  color: var(--coral);
}

/* ——— Video ——— */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.proof-shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Стрічка скрінів у спільній рамці — свій формат розміру */
.proof-rail {
  position: relative;
  margin-top: 0.5rem;
}

.proof-rail__frame {
  border: 1px solid rgba(15, 60, 52, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0 0.85rem;
  overflow: hidden;
}

.proof-rail__hint {
  display: block;
  text-align: center;
  margin: 0 0 0.85rem;
  padding-inline: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.proof-shots--msgs {
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0.35rem 1rem 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 143, 130, 0.35) transparent;
}

.proof-shots--msgs::-webkit-scrollbar {
  height: 6px;
}

.proof-shots--msgs::-webkit-scrollbar-thumb {
  background: rgba(15, 143, 130, 0.35);
  border-radius: 99px;
}

.proof-shots--msgs .proof-shot {
  flex: 0 0 auto;
  margin: 0;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  scroll-snap-align: start;
  padding: 0.4rem;
  border: 1px solid rgba(15, 60, 52, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 60, 52, 0.06);
  overflow: hidden;
  transform: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.proof-shots--msgs .proof-shot img {
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  border-radius: 8px;
  vertical-align: top;
}

/* Високі скріни — свій формат, без кропу */
.proof-shots--msgs .proof-shot--phone img {
  height: clamp(280px, 62vw, 360px);
  width: auto;
  max-width: none;
}

/* Квадратні / середні */
.proof-shots--msgs .proof-shot--feed img {
  height: clamp(240px, 56vw, 320px);
  width: auto;
  max-width: none;
}

/* Короткі повідомлення — ширина природна */
.proof-shots--msgs .proof-shot--chip img {
  width: clamp(220px, 72vw, 300px);
  height: auto;
  max-height: 200px;
}

.proof-shots--msgs .proof-shot:hover,
.proof-shots--msgs .proof-shot:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 60, 52, 0.12);
  z-index: 2;
}

.proof-shot {
  margin: 0;
  width: min(100%, 200px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.proof-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: top center;
  vertical-align: top;
}

.proof-shot figcaption {
  padding: 0.45rem 0.65rem 0.55rem;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted);
}

@media (max-width: 900px) {
  .proof-rail {
    margin-top: 0.25rem;
  }

  .proof-rail__frame {
    border-radius: 18px;
    padding: 0.85rem 0 0.7rem;
  }

  .proof-rail__hint {
    margin-bottom: 0.65rem;
    font-size: 0.74rem;
  }

  .proof-shots {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.65rem;
    margin-top: 0.85rem;
    margin-inline: calc(50% - 50vw);
    padding-inline: max(0.75rem, calc(50vw - 50%));
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .proof-shots::-webkit-scrollbar {
    display: none;
  }

  .proof-shots--msgs {
    gap: 0.7rem;
    padding: 0.2rem 0.85rem 0.65rem;
    scroll-padding-inline: 0.85rem;
    scrollbar-width: none;
  }

  .proof-shots--msgs::-webkit-scrollbar {
    display: none;
  }

  .proof-shots--msgs .proof-shot {
    padding: 0.35rem;
    border-radius: 12px;
  }

  .proof-shot {
    flex: 0 0 auto;
    width: min(58vw, 190px);
    scroll-snap-align: start;
  }

  .proof-shots--msgs .proof-shot--phone img {
    height: min(64vw, 320px);
    width: auto;
  }

  .proof-shots--msgs .proof-shot--feed img {
    height: min(58vw, 280px);
    width: auto;
  }

  .proof-shots--msgs .proof-shot--chip img {
    width: min(78vw, 290px);
    height: auto;
    max-height: 180px;
  }

  .proof-shot figcaption {
    padding: 0.35rem 0.55rem 0.45rem;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .video-frame--portrait {
    max-height: 340px;
    width: min(100%, 220px);
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video-card__body {
  padding: 1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.video-card__tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral);
}

.video-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.video-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a2e2a;
}

.video-frame--portrait {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  margin-inline: auto;
  width: min(100%, 280px);
}

.video-frame iframe,
.video-frame .video-play,
.video-frame .video-play img,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-play {
  padding: 0;
  margin: 0;
  border: 0;
  cursor: pointer;
  background: #1a2e2a;
}

.video-play img {
  object-fit: cover;
  transition: transform 0.5s var(--ease), filter 0.3s;
}

.video-play:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}

.video-play__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 10px 28px rgba(228, 87, 61, 0.4);
  transition: transform 0.25s var(--ease);
}

.video-play__btn::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #fff;
}

.video-play:hover .video-play__btn {
  transform: scale(1.06);
}

/* ——— Key highlights ——— */
.key-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.key-strip__item {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  text-align: center;
}

.key-strip__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

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

.callout {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7f4 0%, #eefaf6 100%);
  border: 1px solid rgba(228, 87, 61, 0.22);
  border-left: 4px solid var(--coral);
  font-weight: 700;
  color: var(--forest);
  font-size: 1.02rem;
  line-height: 1.4;
}

.help-strip {
  margin-top: 1.5rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.help-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.help-strip span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mark {
  color: var(--coral);
  font-weight: 800;
}

.price-accent {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(228, 87, 61, 0.1);
  color: var(--coral-deep);
}

.package--featured .price-accent {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(244, 251, 248, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(15, 60, 52, 0.1);
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.mobile-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-cta .btn {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.mobile-cta__row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.45rem;
}

.mobile-cta__row .btn {
  padding-inline: 0.45rem;
  font-size: 0.88rem;
}

/* ——— Footer ——— */
.site-footer {
  padding: 3.25rem 0 2.25rem;
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(26, 168, 149, 0.22), transparent 55%),
    radial-gradient(500px 240px at 95% 100%, rgba(228, 87, 61, 0.14), transparent 50%),
    #163a34;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2.5rem;
}

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

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand-row img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
}

.footer__tagline {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.75rem;
}

.footer__muted {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.5;
}

.footer__links {
  display: grid;
  gap: 0.55rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__title {
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__contact-item {
  display: grid;
  gap: 0.15rem;
}

.footer__contact-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

.footer__legal a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

/* ——— Legal / MPS docs ——— */
.legal {
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(26, 168, 149, 0.14), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(228, 87, 61, 0.08), transparent 50%),
    linear-gradient(180deg, #f7faf8 0%, #eef5f2 100%);
  min-height: 70vh;
}

.legal__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.legal__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1aa895;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.55rem;
  color: #14352f;
}

.legal__meta {
  color: #4a635e;
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
}

.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(20, 53, 47, 0.12);
}

.legal__nav a {
  font-size: 0.88rem;
  color: #1aa895;
  font-weight: 600;
  text-decoration: none;
}

.legal__nav a:hover {
  text-decoration: underline;
}

.legal__box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 53, 47, 0.1);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #2a423d;
}

.legal__box p {
  margin: 0 0 0.55rem;
}

.legal__box p:last-child {
  margin-bottom: 0;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
  color: #14352f;
}

.legal p,
.legal li {
  color: #2f4742;
  line-height: 1.65;
  font-size: 0.98rem;
}

.legal p {
  margin: 0 0 0.85rem;
}

.legal ul,
.legal ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.legal a {
  color: #0f7d6e;
}

body.legal-page .site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 53, 47, 0.08);
}

@media (max-width: 640px) {
  .footer__legal {
    width: 100%;
  }

  .legal {
    padding-top: 1.75rem;
  }
}

/* Mobile nav overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(12, 32, 28, 0.45);
  backdrop-filter: blur(2px);
}

.nav-backdrop.is-open {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

/* ——— Order modal ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 30, 28, 0.55);
  backdrop-filter: blur(6px);
}

.modal.is-open {
  display: grid;
  animation: rise-in 0.3s var(--ease);
}

.modal__box {
  width: min(100%, 440px);
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.modal__box h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.modal__box p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.modal__actions {
  display: grid;
  gap: 0.6rem;
}

.modal__close {
  margin-top: 0.8rem;
  width: 100%;
}

/* ——— Lead form (teachers courses) ——— */
.lead-form {
  display: grid;
  gap: 0.75rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.lead-form input,
.lead-form select {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.55rem 0.85rem;
  background: #fff;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(15, 143, 130, 0.35);
  border-color: var(--teal);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease),
    filter 0.75s var(--ease);
  filter: blur(2px);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal-left.is-in {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal-right.is-in {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal-scale.is-in {
  opacity: 1;
  transform: none;
}

.hero-anim > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.8s var(--ease) forwards;
}

.hero-anim > *:nth-child(1) { animation-delay: 0.05s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.15s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.28s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.4s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.52s; }
.hero-anim > *:nth-child(6) { animation-delay: 0.64s; }

.band {
  background: linear-gradient(90deg, rgba(15, 143, 130, 0.08), rgba(228, 87, 61, 0.08));
  border-block: 1px solid var(--line);
}

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

/* ——— Mobile (primary) ——— */
@media (max-width: 900px) {
  :root {
    --header-h: 58px;
    --radius: 16px;
  }

  body.has-mobile-cta {
    padding-bottom: 5.2rem;
  }

  .container {
    width: min(100% - 1.2rem, var(--max));
  }

  .section {
    padding: 2.1rem 0;
  }

  .section--tight {
    padding: 1.5rem 0;
  }

  .section__title {
    max-width: none;
    font-size: clamp(1.28rem, 5.6vw, 1.65rem);
    margin-bottom: 0.55rem;
  }

  .section__lead {
    font-size: 0.92rem;
  }

  .section__head {
    margin-bottom: 1rem;
  }

  .section__eyebrow {
    margin-bottom: 0.45rem;
    font-size: 0.74rem;
  }

  .hero__grid,
  .split,
  .split--visual,
  .author,
  .gateway__cards,
  .footer__grid,
  .video-grid,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic {
    gap: 0.75rem;
  }

  /* Lifestyle mosaic: той самий квадрат, без дірок */
  .mosaic--lifestyle {
    grid-template-columns: 9fr 11fr;
    grid-template-rows: 1fr;
    aspect-ratio: 1;
    gap: 0.4rem;
    padding: 0.4rem;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    align-items: stretch;
  }

  .mosaic--lifestyle .mosaic__main--portrait {
    position: relative;
    align-self: stretch;
    height: auto;
    min-height: 0;
    max-height: none !important;
    aspect-ratio: auto;
  }

  .mosaic--lifestyle .mosaic__main--portrait picture,
  .mosaic--lifestyle .mosaic__main--portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
    object-position: center 18%;
    display: block;
  }

  .mosaic--lifestyle .mosaic__side {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.4rem;
    align-self: stretch;
    height: auto;
    min-height: 0;
  }

  .mosaic--lifestyle .mosaic__shot {
    position: relative;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .mosaic--lifestyle .mosaic__shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
  }

  .mosaic--duo.mosaic--lifestyle {
    grid-template-columns: 1fr 1fr;
    aspect-ratio: auto;
    max-width: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .mosaic--duo.mosaic--lifestyle .mosaic__side {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .mosaic:not(.mosaic--lifestyle) .mosaic__side {
    display: none !important;
  }

  .mosaic:not(.mosaic--lifestyle) .mosaic__main {
    min-height: 0;
    max-height: 200px;
  }

  .mosaic:not(.mosaic--lifestyle) .mosaic__main img {
    max-height: 200px;
    object-fit: contain;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 1rem;
  }

  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer__top {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .site-footer {
    padding: 2.25rem 0 calc(1.5rem + 4.5rem);
  }

  .nav {
    z-index: 55;
    animation: rise-in 0.28s var(--ease);
  }

  .burger.is-open span {
    background: transparent;
  }

  .burger.is-open span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .burger.is-open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .mobile-cta .btn--primary {
    color: #fff !important;
    background: var(--coral);
  }

  .mobile-cta .btn--solid-light {
    color: var(--forest) !important;
    background: #fff;
  }

  /* Horizontal sliders */
  .h-scroll,
  .packages,
  .courses,
  .reasons,
  .quotes,
  .mini-catalog,
  .catalog-grid {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -0.6rem;
    padding-inline: 0.6rem;
    padding-bottom: 0.35rem;
  }

  .h-scroll::-webkit-scrollbar,
  .packages::-webkit-scrollbar,
  .courses::-webkit-scrollbar,
  .reasons::-webkit-scrollbar,
  .quotes::-webkit-scrollbar,
  .mini-catalog::-webkit-scrollbar,
  .catalog-grid::-webkit-scrollbar {
    display: none;
  }

  .packages > *,
  .courses > *,
  .reasons > *,
  .quotes > *,
  .mini-catalog > *,
  .catalog-grid > * {
    flex: 0 0 min(78vw, 290px);
    scroll-snap-align: start;
    width: min(78vw, 290px);
  }

  /* Peek of the next card on the right (reviews + courses) */
  .quotes,
  .courses {
    padding-inline: 0.6rem 1.25rem;
    scroll-padding-inline: 0.6rem;
  }

  .quotes > * {
    flex: 0 0 min(74vw, 270px);
    width: min(74vw, 270px);
  }

  .courses > .course {
    flex: 0 0 70vw;
    width: 70vw;
    max-width: 260px;
  }

  .slider-hint {
    display: block;
    margin: 0.35rem 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.02em;
  }

  .brand {
    font-size: 0.85rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1rem 0.9rem;
    background: rgba(244, 251, 248, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    max-height: calc(100svh - var(--header-h));
    overflow: auto;
  }

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

  .nav a {
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav__cta {
    margin-top: 0.6rem;
    width: 100%;
    justify-content: center;
  }

  .burger {
    display: grid;
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 0.45rem 0 0.75rem;
  }

  .hero__grid {
    gap: 0.55rem;
  }

  .hero + .section {
    padding-top: 1.5rem;
  }

  .hero__brand {
    font-size: clamp(1.55rem, 7.5vw, 2rem);
    margin-bottom: 0.55rem;
  }

  .hero__title {
    font-size: 1.02rem;
    max-width: none;
    margin-bottom: 0.55rem;
  }

  .hero__text {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero__visual {
    order: -1;
  }

  .hero__visual::before {
    display: none;
  }

  .hero__visual {
    margin-inline: -0.15rem;
  }

  .hero__visual img {
    border-radius: 18px;
    max-height: none;
    min-height: 0;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    animation: none;
    background: transparent;
    padding: 0;
  }

  .btn {
    min-height: 48px;
    padding: 0.7rem 1.05rem;
    font-size: 0.94rem;
  }

  .btn--sm {
    min-height: 42px;
  }

  .btn-row {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .btn-row .btn {
    width: 100%;
  }

  .pill-list {
    gap: 0.55rem;
  }

  .pill-list li,
  .panel,
  .package,
  .course,
  .reason,
  .faq details,
  .quote,
  .mini-card {
    border-radius: 14px;
  }

  .pill-list li {
    padding: 0.8rem 0.85rem;
    font-size: 0.9rem;
  }

  .panel {
    padding: 1.05rem;
  }

  .panel h3 {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
  }

  .check-list {
    gap: 0.5rem;
  }

  .check-list li {
    font-size: 0.9rem;
  }

  .package,
  .course,
  .reason,
  .quote {
    padding: 1.05rem 1rem;
  }

  .package h3,
  .course h3,
  .reason h3 {
    font-size: 1.05rem;
  }

  .package__list,
  .course ul {
    font-size: 0.88rem;
    gap: 0.3rem;
  }

  .package__price strong {
    font-size: 1.4rem;
  }

  .package--featured {
    order: 0;
  }

  .callout {
    font-size: 0.9rem;
    padding: 0.85rem 0.95rem;
    margin-top: 1rem;
  }

  /* Compact key facts in one row */
  .key-strip {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.9rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .key-strip::-webkit-scrollbar {
    display: none;
  }

  .key-strip__item {
    flex: 1 1 0;
    min-width: 0;
    display: block;
    text-align: center;
    padding: 0.55rem 0.35rem;
  }

  .key-strip__item strong {
    margin: 0 0 0.15rem;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .key-strip__item span {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .quiz {
    padding: 1.05rem 0.95rem;
    border-radius: 16px;
  }

  .quiz h3 {
    font-size: 1.1rem;
  }

  .quiz__options button {
    min-height: 46px;
    font-size: 0.9rem;
    padding: 0.7rem 0.85rem;
  }

  .chooser {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .chooser table {
    min-width: 440px;
  }

  .chooser th,
  .chooser td {
    padding: 0.7rem 0.75rem;
    font-size: 0.85rem;
  }

  .chooser td:last-child,
  .chooser th:last-child {
    padding-left: 0.5rem;
    min-width: 4.75rem;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem !important;
  }

  .stat {
    padding: 0.65rem 0.4rem;
    text-align: center;
  }

  .stat strong {
    font-size: 0.95rem;
  }

  .stat span {
    font-size: 0.68rem;
  }

  .author {
    gap: 1rem;
  }

  .author__photo {
    display: block;
    max-width: 280px;
    margin-inline: auto;
    aspect-ratio: 4 / 5;
  }

  .timeline li {
    padding: 0.85rem 0.9rem;
    grid-template-columns: 36px 1fr;
    gap: 0.65rem;
  }

  .timeline li::before {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }

  .timeline span {
    font-size: 0.86rem;
  }

  .video-grid {
    gap: 0.75rem;
  }

  .video-card__body {
    padding: 0.8rem 0.9rem 0.95rem;
  }

  .video-card__title {
    font-size: 0.92rem;
  }

  .video-card__desc {
    font-size: 0.82rem;
  }

  .video-play__btn {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }

  .video-play__btn::before {
    left: 21px;
    top: 16px;
    border-width: 10px 0 10px 15px;
  }

  .mini-card__media,
  .product__media {
    aspect-ratio: 3 / 4;
    max-height: none;
    min-height: 220px;
    padding: 0.75rem;
  }

  .mini-card__media img,
  .product__media img {
    object-fit: contain;
    object-position: center;
  }

  .mini-card__body,
  .product__body {
    padding: 0.85rem 0.9rem 1rem;
  }

  .mini-card__body h3,
  .product__body h3 {
    font-size: 0.95rem;
  }

  .mini-card__body p,
  .product__body p {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mobile-cta {
    display: block;
  }

  .mobile-cta:not(.is-visible) {
    visibility: hidden;
  }

  .mobile-cta.is-visible {
    visibility: visible;
  }

  .site-footer {
    padding: 1.75rem 0 1.2rem;
  }

  .footer__grid {
    gap: 1.1rem;
  }

  .modal__box {
    width: min(100%, 100%);
    padding: 1.1rem;
    border-radius: 16px;
  }

  .split {
    gap: 0.75rem;
  }

  .split[style*="margin-top"],
  .reveal[style*="margin-top"],
  .mosaic[style*="margin-top"],
  .video-grid[style*="margin-top"] {
    margin-top: 1.15rem !important;
  }
}

@media (max-width: 560px) {
  .hero__visual img {
    max-height: none;
    width: 100%;
  }

  .mosaic:not(.mosaic--lifestyle) .mosaic__main,
  .mosaic:not(.mosaic--lifestyle) .mosaic__main img {
    max-height: 170px;
  }

  .mosaic--lifestyle .mosaic__main,
  .mosaic--lifestyle .mosaic__main img,
  .mosaic--lifestyle .mosaic__shot img {
    max-height: none !important;
  }

  .mini-card__media,
  .product__media {
    min-height: 240px;
  }

  .packages > *,
  .reasons > *,
  .mini-catalog > *,
  .catalog-grid > * {
    flex-basis: 82vw;
    width: 82vw;
  }

  .quotes > * {
    flex-basis: 78vw;
    width: 78vw;
  }

  .courses > .course {
    flex: 0 0 72vw;
    width: 72vw;
    max-width: none;
  }
}

/* Desktop: hide mobile-only slider hint (крім стрічки відгуків) */
@media (min-width: 901px) {
  .slider-hint {
    display: none;
  }

  .proof-rail__hint {
    display: block;
  }

  /* Keep course cards evenly inside container (no right overflow) */
  .courses {
    margin-inline: 0;
    padding-inline: 0;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .courses {
    gap: 0.75rem;
  }

  .course {
    padding: 1.15rem;
  }

  .course__installment {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .hero-anim > * {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ——— Lesson timeline ——— */
.timeline {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.timeline strong {
  display: block;
  margin-bottom: 0.2rem;
}
.timeline span {
  color: var(--muted);
  font-size: 0.95rem;
}
.timeline__time {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ——— Quotes / proof ——— */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quote {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.quote p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.quote footer {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--forest);
}

/* ——— Mini catalog ——— */
.mini-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mini-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.shop-overview {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.shop-overview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: linear-gradient(160deg, #eef7f3 0%, #fff 55%, #fceee8 100%);
  border: 1px solid var(--line);
}

@media (max-width: 700px) {
  .shop-overview {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mini-card__media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, #e7f3ee 0%, #fff 60%);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0.85rem;
  min-height: 260px;
}
.mini-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.mini-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}
.mini-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.mini-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0;
}
.chip {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
}
.product__badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ——— Order modal form ——— */
.order-items {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-2);
  border-radius: 12px;
  font-size: 0.92rem;
}
.order-items ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.order-items p {
  margin: 0;
  color: var(--ink-soft);
}
.order-meta {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--coral-deep);
}
.order-meta s {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: 0.35rem;
}
.order-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.modal__box {
  width: min(100%, 520px);
  max-height: min(92svh, 900px);
  overflow: auto;
}
.lead-form textarea {
  min-height: 72px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.55rem 0.85rem;
  background: #fff;
  resize: vertical;
}

/* ——— Thanks ——— */
.thanks {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 3rem 0;
}
.thanks__card {
  width: min(100% - 2rem, 560px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.thanks__card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
}
.thanks-box {
  text-align: left;
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  background: var(--bg-2);
  border-radius: 14px;
}
.thanks-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--coral-deep);
}

