:root {
  --bg: #f5f3fb;
  --paper: #ffffff;
  --text: #11131a;
  --muted: #4d5564;
  --blue: #1948ff;
  --blue-soft: #dce7ff;
  --yellow: #ffe85c;
  --lilac: #dcc8ff;
  --mint: #dbf4b1;
  --line: rgba(20, 25, 40, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 16px 44px rgba(30, 40, 90, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Onest", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 4% 10%, #f9d5ff 0, transparent 34%),
    radial-gradient(circle at 98% 5%, #fff0a6 0, transparent 26%),
    radial-gradient(circle at 85% 95%, #dff0ff 0, transparent 36%),
    linear-gradient(180deg, #faf8ff 0%, #f4f5fe 100%);
}

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

.section { padding: 76px 0; }

h1, h2, h3 {
  line-height: 1.04;
  margin: 0 0 14px;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.1rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2.3vw, 1.55rem); }
p { color: var(--muted); margin: 0 0 12px; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(20, 25, 50, 0.08);
  backdrop-filter: blur(12px);
  background: rgba(245, 243, 251, 0.84);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand small {
  font-family: "Unbounded", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
}

.brand-madam,
.brand-guzel {
  color: var(--blue);
}

.brand.plain { display: block; }

.nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
}

.nav a, .footer a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Onest", system-ui, sans-serif;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--yellow); }
.btn-soft { background: #edf2ff; border-color: rgba(20, 25, 40, 0.12); }
.btn-outline { border-color: rgba(20, 25, 40, 0.26); background: var(--paper); }
.btn-dark { background: #131824; color: #fff; }
.btn-telegram { background: #229ed9; color: #fff; border-color: #229ed9; }
.btn-rutube {
  color: #fff;
  border-color: rgba(12, 5, 74, 0.7);
  background:
    radial-gradient(120% 160% at 92% -24%, #f50f4b 0 42%, transparent 44%),
    linear-gradient(135deg, #16035a 0%, #0d0444 100%);
  box-shadow: 0 10px 22px rgba(13, 4, 68, 0.28);
}

.btn-rutube:hover {
  box-shadow: 0 12px 26px rgba(13, 4, 68, 0.34);
}
.btn-max {
  color: #fff;
  border-color: rgba(20, 25, 40, 0.05);
  background:
    radial-gradient(140% 140% at 0% 100%, #55d3ff 0%, rgba(85, 211, 255, 0) 52%),
    radial-gradient(120% 120% at 18% 8%, #2847ff 0%, rgba(40, 71, 255, 0) 56%),
    linear-gradient(135deg, #2f9dff 0%, #2e59ff 46%, #9a49ff 100%);
}

.btn-brand {
  font-family: "Unbounded", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.pill {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(20, 25, 40, 0.22);
  background: #fff;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-pill span {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #edf4ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.hero-text { font-size: 1.1rem; max-width: 58ch; }

.hero-promises {
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promise-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 10px 24px rgba(30, 40, 90, 0.08);
}

.promise-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promise-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #ebf3ff;
  color: #2450d8;
}

.promise-icon svg {
  width: 20px;
  height: 20px;
}

.promise-card p {
  margin: 7px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-blob {
  position: absolute;
  inset: 40px 20px 0;
  border-radius: 47% 53% 46% 54% / 58% 42% 58% 42%;
  background: linear-gradient(145deg, #dce6ff, #ffe57d);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  width: min(430px, 86%);
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
  animation: floatIn 0.9s ease both;
}

.floating-note {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 700;
  left: 2%;
  bottom: 16%;
}

.floating-note-right {
  left: auto;
  right: 0;
  bottom: 6%;
  background: var(--yellow);
}

.cards-4 {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.result-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid rgba(20, 25, 40, 0.09);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.result-card:hover { transform: translateY(-4px); }
.result-card .icon {
  margin-bottom: 8px;
  color: #1f3bb4;
}

.icon-svg {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef3ff;
}

.icon-svg svg {
  width: 24px;
  height: 24px;
}

.note {
  margin-top: 16px;
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 14px;
  background: #ebf1ff;
  color: var(--text);
  font-weight: 600;
}

.stories-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
}

.stories-sidebar {
  display: grid;
  gap: 12px;
  align-content: start;
}

.story-thumb {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  border: 2px solid rgba(20, 25, 40, 0.12);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.story-thumb:hover {
  transform: translateY(-2px);
}

.story-thumb:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(25, 72, 255, 0.2);
}

.story-thumb.is-active {
  border-color: #55c8f2;
  box-shadow: 0 0 0 6px rgba(85, 200, 242, 0.18);
}

.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.story-thumb-offset-down {
  object-position: 50% 30%;
}

.story-main {
  position: relative;
  display: grid;
  grid-template-columns: 0.68fr 1fr 1fr;
  grid-template-areas:
    "photo intro coach"
    "photo point-a point-b"
    "photo video video";
  gap: 14px;
}

.story-main[hidden] {
  display: none;
}

.story-photo {
  grid-area: photo;
  border-radius: 28px;
  overflow: hidden;
  background: #dbe7ff;
  min-height: 520px;
}

.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card {
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid rgba(20, 25, 40, 0.1);
  padding: 20px;
  box-shadow: var(--shadow);
}

.story-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.1rem, 2vw, 1.85rem);
}

.story-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.story-card li {
  line-height: 1.45;
}

.story-card-intro { grid-area: intro; }
.story-card-coach { grid-area: coach; }
.story-card-point-a { grid-area: point-a; }
.story-card-video { grid-area: video; }

.story-card-point-b {
  grid-area: point-b;
  background: #d9f3ff;
  border-color: #8bdaf8;
}

.story-card-video {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.story-card-video h3 {
  width: 100%;
  margin-bottom: 2px;
}

.story-card-video p {
  margin: 0;
  flex: 1 1 280px;
}

.story-point {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #bee9fa;
  color: #0d4763;
  padding: 6px 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.coach-mini {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #f3ecff;
  border-radius: 16px;
  padding: 8px 10px;
}

.coach-mini img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
}

.coach-mini strong {
  display: block;
  line-height: 1.2;
}

.coach-mini span {
  font-size: 0.92rem;
  color: #4f5e74;
}

.story-name {
  position: absolute;
  left: -72px;
  bottom: -16px;
  max-width: 320px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid #72cceb;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  transform: rotate(-2deg);
}

.story-name h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.story-name p {
  margin: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(20, 25, 40, 0.08);
  border-radius: 32px;
  padding: 0;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.about-grid::before {
  content: "";
  position: absolute;
  inset: 0 51% 0 0;
  background: linear-gradient(160deg, #214fcf 0%, #3070e3 58%, #3a87ef 100%);
  pointer-events: none;
}

.about-grid::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -44px;
  bottom: -72px;
  border-radius: 36px;
  transform: rotate(28deg);
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.about-copy {
  order: 2;
  position: relative;
  z-index: 3;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.about-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  letter-spacing: -0.02em;
  color: #16284f;
  position: relative;
}

.about-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f67d8, #ff6f61);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
}

.about-lead {
  font-size: 1.08rem;
  color: #20365f;
  font-weight: 600;
}

.about-copy p {
  margin-bottom: 13px;
  max-width: 58ch;
  color: #384866;
}

.about-highlights {
  margin: 18px 0 16px;
  display: grid;
  gap: 11px;
}

.about-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px 14px 13px;
  border-radius: 18px;
  border: 1px solid rgba(20, 25, 40, 0.1);
  border-left: 5px solid #4e86f1;
  background: #f9fbff;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}

.about-card:hover::after {
  animation: aboutShine 0.9s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(30, 40, 90, 0.14);
}

.about-card:nth-child(2) {
  border-left-color: #2f67d8;
}

.about-card:nth-child(3) {
  border-left-color: #ff5b54;
}

.about-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2f67d8, #4d86ef);
  box-shadow: 0 8px 16px rgba(47, 103, 216, 0.3);
  transition: transform 0.25s ease;
}

.about-icon svg {
  width: 21px;
  height: 21px;
}

.about-card h3 {
  margin: 2px 0 5px;
  font-size: 1.08rem;
}

.about-card p {
  margin: 0;
  color: #3c4962;
  font-size: 0.98rem;
}

.about-card:hover .about-icon {
  transform: scale(1.08) rotate(-6deg);
}

.about-media {
  order: 1;
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px 20px 24px;
  z-index: 2;
}

.about-shape {
  position: absolute;
  border-radius: 22px;
}

.about-shape-red {
  width: min(210px, 46%);
  height: min(260px, 52%);
  right: 26px;
  top: 40px;
  transform: rotate(14deg);
  background: linear-gradient(170deg, rgba(255, 122, 90, 0.95), rgba(255, 91, 84, 0.65));
}

.about-shape-blue {
  width: min(250px, 54%);
  height: min(300px, 58%);
  left: 22px;
  bottom: 52px;
  transform: rotate(-16deg);
  background: linear-gradient(170deg, rgba(196, 224, 255, 0.95), rgba(142, 190, 246, 0.68));
}

.about-main-photo {
  position: relative;
  z-index: 3;
  width: min(410px, 82%);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  border: 6px solid #fff;
  object-fit: cover;
  transform: rotate(-6deg);
  box-shadow: 0 16px 36px rgba(20, 25, 40, 0.24);
}

.about-side-photo {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 38px;
  width: min(175px, 34%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 5px solid #fff;
  transform: rotate(7deg);
  box-shadow: 0 12px 24px rgba(20, 25, 40, 0.24);
}

#about .about-copy h2,
#about .about-lead,
#about .about-highlights .about-card,
#about .about-note,
#about .about-video,
#about .about-reviews {
  opacity: 0;
  transform: translateY(18px);
}

#about.visible .about-copy h2 {
  animation: aboutFadeUp 0.55s ease forwards;
}

#about.visible .about-copy h2::after {
  animation: aboutLineIn 0.5s ease forwards 0.2s;
}

#about.visible .about-lead {
  animation: aboutFadeUp 0.55s ease forwards 0.12s;
}

#about.visible .about-highlights .about-card:nth-child(1) {
  animation: aboutFadeUp 0.5s ease forwards 0.2s;
}

#about.visible .about-highlights .about-card:nth-child(2) {
  animation: aboutFadeUp 0.5s ease forwards 0.32s;
}

#about.visible .about-highlights .about-card:nth-child(3) {
  animation: aboutFadeUp 0.5s ease forwards 0.44s;
}

#about.visible .about-note {
  animation: aboutFadeUp 0.55s ease forwards 0.56s;
}

#about.visible .about-video {
  animation: aboutFadeUp 0.55s ease forwards 0.68s;
}

.about-video {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.about-video p {
  margin: 0;
  font-weight: 700;
  color: #1f2f4f;
}

#about.visible .about-reviews {
  animation: aboutFadeUp 0.55s ease forwards 0.8s;
}

.about-reviews {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.about-reviews p {
  margin: 0;
  font-weight: 700;
  color: #1f2f4f;
}

.price-intro {
  margin: 8px 0 0;
  max-width: 72ch;
  font-size: 1.02rem;
}

.pricing-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: grid;
  align-content: start;
  border-radius: 24px;
  border: 1.5px solid rgba(20, 25, 40, 0.16);
  padding: 24px;
  box-shadow: var(--shadow);
}

.price-card.blue { background: var(--blue-soft); }
.price-card.lilac { background: var(--lilac); }

.price-features {
  margin: 6px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
  color: #2f3951;
  font-weight: 600;
}

.price-line {
  margin: 14px 0 6px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.price-line strong {
  font-size: 2rem;
  line-height: 1;
}

.price-line span {
  font-size: 1rem;
  color: #27304a;
  font-weight: 600;
}

.price-meta {
  margin-bottom: 16px;
  color: rgba(49, 56, 79, 0.72);
  font-weight: 500;
}

.trial-hero {
  margin-top: 18px;
  border-radius: 26px;
  border: 2px solid #74caea;
  background: linear-gradient(135deg, #e9f8ff, #ffffff 58%, #f7f1ff);
  padding: 24px;
  box-shadow: var(--shadow);
}

.trial-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 14px;
  background: #229ed9;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.trial-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

body.modal-open {
  overflow: hidden;
}

.call-modal[hidden] {
  display: none;
}

.call-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
}

.call-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 35, 0.52);
}

.call-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 24px;
  border: 1.5px solid rgba(20, 25, 40, 0.12);
  background: #fff;
  box-shadow: 0 20px 52px rgba(12, 20, 40, 0.3);
  padding: 24px;
}

.call-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #edf2ff;
  color: #27304a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.call-modal__badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  background: #e5f3ff;
  color: #0f5171;
  font-weight: 700;
  margin-bottom: 10px;
}

.call-modal__phone {
  display: inline-block;
  margin: 6px 0 8px;
  color: #11131a;
  text-decoration: none;
  font-size: clamp(1.5rem, 4.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.call-modal__hint {
  margin: 0 0 14px;
}

.call-modal-form {
  display: grid;
  gap: 10px;
}

.call-modal-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.call-modal-form input[type="text"],
.call-modal-form input[type="tel"] {
  width: 100%;
  border: 1px solid rgba(20, 25, 40, 0.2);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

.call-modal-form .form-status {
  margin-top: 2px;
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 16px;
}

.payment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 35, 0.55);
}

.payment-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  border-radius: 24px;
  border: 1.5px solid rgba(20, 25, 40, 0.12);
  background: linear-gradient(160deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 20px 52px rgba(12, 20, 40, 0.32);
  padding: 24px;
}

.payment-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #edf2ff;
  color: #27304a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.payment-modal__badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff3ca;
  color: #7f5a00;
  font-weight: 700;
  margin-bottom: 10px;
}

.payment-modal__dialog h3 {
  margin-bottom: 10px;
}

.payment-modal__dialog p {
  margin-bottom: 14px;
}

.payment-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.step {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yellow);
  font-weight: 800;
  flex-shrink: 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.phone-big {
  margin: 16px 0 12px;
}

.phone-big a {
  text-decoration: none;
  color: var(--text);
  font-size: clamp(1.4rem, 4.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-form {
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid rgba(20, 25, 40, 0.1);
  box-shadow: var(--shadow);
  padding: 22px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  margin-bottom: 11px;
  font-weight: 600;
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  border: 1px solid rgba(20, 25, 40, 0.2);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
}

.lead-form .consent {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.lead-form .consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid #9db3ff;
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
  margin-top: 0;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 4px rgba(19, 24, 36, 0.08);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease;
}

.lead-form .consent input[type="checkbox"]::before {
  content: "";
  width: 6px;
  height: 11px;
  border-right: 2.4px solid #fff;
  border-bottom: 2.4px solid #fff;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.14s ease;
  margin-top: -2px;
}

.lead-form .consent input[type="checkbox"]:hover {
  border-color: #6f8cff;
  box-shadow: 0 0 0 3px rgba(25, 72, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lead-form .consent input[type="checkbox"]:active {
  transform: scale(0.97);
}

.lead-form .consent input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(25, 72, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lead-form .consent input[type="checkbox"]:checked {
  border-color: #1948ff;
  background: #1948ff;
  box-shadow: 0 0 0 3px rgba(25, 72, 255, 0.16), 0 4px 10px rgba(25, 72, 255, 0.26);
}

.lead-form .consent input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1);
}

.lead-form .consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  min-height: 1.2em;
}

.form-status.is-error {
  color: #b0223b;
}

.form-status.is-success {
  color: #1f7a40;
}

.hp-field-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hp-field {
  opacity: 0;
  pointer-events: none;
}

.footer {
  margin-top: 46px;
  border-top: 1px solid rgba(20, 25, 40, 0.12);
  background: #eef1ff;
}

.footer-grid {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 18px;
}

.footer-links, .legal-links {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid rgba(20, 25, 40, 0.14);
  padding: 14px 8px;
  text-align: center;
  color: var(--muted);
}

.burger {
  display: none;
  border: 0;
  background: transparent;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatIn {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes blobMorph {
  from { border-radius: 47% 53% 46% 54% / 58% 42% 58% 42%; }
  to { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; }
}

@keyframes pulseTag {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

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

@keyframes aboutLineIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes aboutShine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #about .about-copy h2,
  #about .about-lead,
  #about .about-highlights .about-card,
  #about .about-note,
  #about .about-video,
  #about .about-reviews {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  #about .about-copy h2::after {
    opacity: 1;
    transform: scaleX(1);
    animation: none !important;
  }

  .about-card,
  .about-icon,
  .about-card::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1024px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-layout {
    grid-template-columns: 1fr;
  }

  .stories-sidebar {
    display: flex;
    gap: 10px;
  }

  .story-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo photo"
      "intro coach"
      "point-a point-b"
      "video video";
  }

  .story-photo {
    min-height: 420px;
  }

  .story-name {
    position: static;
    transform: none;
    max-width: none;
    margin-top: 4px;
  }

  .hero-grid,
  .about-grid,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media { min-height: 420px; }

  .about-grid {
    gap: 24px;
  }

  .about-grid::before {
    inset: 46% 0 0 0;
  }

  .about-grid::after {
    left: auto;
    right: -80px;
    bottom: -90px;
  }

  .about-copy { order: 1; }

  .about-media {
    order: 2;
    min-height: 470px;
  }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 78px;
    left: 10px;
    right: 10px;
    display: none;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid rgba(20, 25, 40, 0.12);
    border-radius: 16px;
    padding: 14px;
  }

  .nav.open { display: flex; }
  .burger { display: inline-block; margin-left: auto; }
  .desktop-cta { display: none; }

  .cards-4,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .story-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "intro"
      "coach"
      "point-a"
      "point-b"
      "video";
  }

  .floating-note,
  .floating-note-right {
    position: static;
    margin-top: 8px;
    display: inline-flex;
  }

  .about-media {
    min-height: auto;
    padding-bottom: 12px;
  }

  .about-copy {
    padding: 22px 20px;
  }

  .about-grid::before {
    inset: 50% 0 0 0;
  }

  .about-shape-red {
    top: 14px;
    right: 8px;
  }

  .about-shape-blue {
    left: -8px;
    bottom: 30px;
  }

  .about-main-photo {
    width: min(420px, 90%);
    transform: none;
  }

  .about-side-photo {
    display: none;
  }
}
