:root {
  --bg: #f7f7f2;
  --surface: #ffffff;
  --surface-strong: #eef6f4;
  --ink: #1d2426;
  --muted: #647073;
  --line: #dfe5e1;
  --teal: #4fa7a1;
  --coral: #ff8f78;
  --yellow: #f2bc57;
  --shadow: 0 18px 45px rgba(29, 36, 38, 0.09);
  --max-width: 1180px;
  --motion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfbf8 0%, var(--bg) 42%, #ffffff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--yellow));
  box-shadow: 0 0 18px rgba(79, 167, 161, 0.38);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

.cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(79, 167, 161, 0.18), rgba(255, 143, 120, 0.1) 36%, transparent 68%);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x, -400px) - 50%), calc(var(--cursor-y, -400px) - 50%), 0);
  transition: opacity 220ms ease;
  mix-blend-mode: multiply;
}

body.has-pointer .cursor-aura {
  opacity: 1;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

body.is-loaded .site-header {
  animation: headerDrop 620ms var(--motion-ease) both;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  min-height: 66px;
  padding: 12px 18px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 247, 242, 0.88);
  box-shadow: 0 10px 35px rgba(29, 36, 38, 0.08);
  backdrop-filter: blur(14px);
  border-radius: 0 0 8px 8px;
}

.logo,
.site-nav,
.hero-actions,
.hero-points,
.site-footer {
  display: flex;
  align-items: center;
}

.logo {
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(29, 36, 38, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.logo:hover .logo-mark {
  box-shadow: 0 16px 32px rgba(29, 36, 38, 0.18);
  transform: translateY(-1px);
}

.logo-text {
  color: var(--ink);
  font-size: 1.02rem;
  letter-spacing: 0;
}

.site-nav {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-cta {
  --magnet-x: 0px;
  --magnet-y: 0px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.header-cta:hover {
  color: #ffffff;
  background: var(--ink);
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 1px), 0);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(26px, 4vw, 56px);
  width: min(100% - 32px, var(--max-width));
  min-height: clamp(520px, 64vh, 680px);
  margin: 0 auto;
  padding: 30px 0 34px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 42px;
  left: -8vw;
  z-index: -1;
  width: min(720px, 88vw);
  height: 430px;
  background-image:
    linear-gradient(rgba(79, 167, 161, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 167, 161, 0.18) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 78%);
  opacity: 0.42;
  pointer-events: none;
  transform: perspective(900px) rotateX(64deg) rotateZ(-8deg);
  animation: gridDrift 18s linear infinite;
}

.hero-content {
  max-width: 620px;
  min-width: 0;
}

.hero-content > * {
  animation: fadeUp 780ms var(--motion-ease) both;
}

.hero-content > *:nth-child(1) {
  animation-delay: 90ms;
}

.hero-content > *:nth-child(2) {
  animation-delay: 170ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 250ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 330ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 410ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 2.55rem;
  line-height: 1.12;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.45rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 640px);
  gap: 10px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-actions .button {
  min-width: 0;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

.button {
  --magnet-x: 0px;
  --magnet-y: 0px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-ripple {
  position: absolute;
  left: var(--ripple-x);
  top: var(--ripple-y);
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 680ms ease-out forwards;
}

.button-secondary .button-ripple,
.header-cta .button-ripple {
  background: rgba(79, 167, 161, 0.22);
}

.button:hover {
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 2px), 0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.button-primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 16px 30px rgba(29, 36, 38, 0.16);
}

.button-primary:hover {
  box-shadow: 0 20px 38px rgba(29, 36, 38, 0.2);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 9px;
  align-items: stretch;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  animation: chipPulse 3.8s ease-in-out infinite;
  animation-delay: calc(var(--chip-index, 0) * 240ms);
}

.hero-visual {
  position: relative;
  margin: 0;
  min-width: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px 18px -18px;
  z-index: -1;
  background: rgba(79, 167, 161, 0.14);
  border-radius: 8px;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid rgba(223, 229, 225, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: imageLift 980ms var(--motion-ease) 260ms both;
  transform: translateZ(28px);
}

.tilt-surface {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 260ms var(--motion-ease), box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.motion-panel {
  position: absolute;
  z-index: 2;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.25)),
    linear-gradient(90deg, rgba(79, 167, 161, 0.2), rgba(255, 143, 120, 0.16));
  box-shadow: 0 16px 34px rgba(29, 36, 38, 0.1);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.motion-panel::before,
.motion-panel::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(29, 36, 38, 0.14);
}

.motion-panel::before {
  top: 18px;
}

.motion-panel::after {
  top: 34px;
  right: 36px;
  background: rgba(79, 167, 161, 0.36);
}

.motion-panel-one {
  top: -18px;
  left: 12%;
  width: 118px;
  height: 76px;
  animation: panelFloatOne 6.5s ease-in-out infinite;
}

.motion-panel-two {
  right: 4%;
  bottom: 12%;
  width: 96px;
  height: 96px;
  animation: panelFloatTwo 7.2s ease-in-out infinite;
}

.motion-panel-three {
  left: 4%;
  bottom: -14px;
  width: 148px;
  height: 58px;
  animation: panelFloatThree 5.8s ease-in-out infinite;
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 44px 0;
}

.section[id] {
  scroll-margin-top: 96px;
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
  padding-top: 18px;
  padding-bottom: 42px;
}

.trust-copy,
.trust-list {
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(223, 229, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
  backdrop-filter: blur(12px);
}

.trust-copy h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 2rem;
}

.trust-copy p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px 12px 38px;
  color: var(--ink);
  background: rgba(238, 246, 244, 0.72);
  border: 1px solid rgba(79, 167, 161, 0.16);
  border-radius: 8px;
  font-weight: 900;
}

.trust-list span::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(79, 167, 161, 0.12);
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 18px;
}

.impact-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 225, 0.86);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(29, 36, 38, 0.06);
  backdrop-filter: blur(12px);
}

.impact-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 92px;
  height: 92px;
  background:
    conic-gradient(from 140deg, var(--teal), var(--coral), var(--yellow), var(--teal));
  border-radius: 50%;
  opacity: 0.16;
  animation: statDial 8s linear infinite;
}

.impact-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  margin-bottom: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 225, 0.9);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.impact-card strong {
  display: block;
  max-width: none;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.16;
}

.impact-card p {
  max-width: none;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.impact-card-worry {
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 126, 107, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(255, 126, 107, 0.24), rgba(255, 246, 242, 0.94) 58%, rgba(255, 255, 255, 0.86));
  border-color: rgba(255, 126, 107, 0.5);
}

.impact-card-answer {
  background:
    radial-gradient(circle at 92% 10%, rgba(244, 190, 89, 0.34), transparent 36%),
    linear-gradient(135deg, rgba(244, 190, 89, 0.23), rgba(255, 250, 235, 0.94) 58%, rgba(255, 255, 255, 0.86));
  border-color: rgba(244, 190, 89, 0.5);
}

.impact-card-result {
  background:
    radial-gradient(circle at 92% 10%, rgba(79, 167, 161, 0.32), transparent 36%),
    linear-gradient(135deg, rgba(79, 167, 161, 0.22), rgba(239, 251, 248, 0.94) 58%, rgba(255, 255, 255, 0.86));
  border-color: rgba(79, 167, 161, 0.5);
}

.problem-section {
  padding-top: 38px;
  padding-bottom: 44px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.problem-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 229, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
  backdrop-filter: blur(12px);
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -48px auto;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(79, 167, 161, 0.22), transparent 68%);
  pointer-events: none;
}

.problem-card > * {
  position: relative;
  z-index: 1;
}

.problem-card span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 900;
}

.problem-card h3 {
  max-width: 260px;
}

.problem-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.problem-card strong {
  color: var(--ink);
}

.problem-card-accent {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.problem-card-accent span {
  color: var(--yellow);
}

.problem-card-accent p {
  color: rgba(255, 255, 255, 0.74);
}

.problem-card-accent strong {
  color: #ffffff;
}

.student-section {
  padding-top: 30px;
  padding-bottom: 46px;
}

.student-intro {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 244, 0.78)),
    radial-gradient(circle at 82% 20%, rgba(255, 143, 120, 0.14), transparent 34%);
  border: 1px solid rgba(223, 229, 225, 0.94);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
}

.student-intro::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 28px;
  width: 92px;
  height: 92px;
  background:
    linear-gradient(90deg, var(--teal) 0 33%, var(--coral) 33% 66%, var(--yellow) 66% 100%);
  border-radius: 8px;
  opacity: 0.12;
  transform: rotate(8deg);
}

.student-intro > * {
  position: relative;
  z-index: 1;
}

.student-intro h2 {
  max-width: 760px;
}

.student-intro p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
}

.student-intro .button {
  justify-self: end;
  max-width: 290px;
  text-align: center;
}

.student-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 18px;
}

.student-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 13px;
  min-height: 260px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 229, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.student-card::before {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(79, 167, 161, 0.22), transparent 68%);
  pointer-events: none;
}

.student-card > * {
  position: relative;
  z-index: 1;
}

.student-card:hover {
  border-color: rgba(79, 167, 161, 0.5);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-5px);
}

.student-card span,
.bonus-card span {
  width: max-content;
  padding: 6px 10px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bonus-card span {
  color: #a94a37;
  background: rgba(255, 143, 120, 0.13);
  border-color: rgba(255, 143, 120, 0.28);
}

.student-card p,
.bonus-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.student-card ul,
.bonus-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-card li,
.bonus-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 800;
}

.student-card li::before,
.bonus-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 167, 161, 0.1);
}

.bonus-card li::before {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 143, 120, 0.13);
}

.student-card-accent {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.student-card-accent span {
  color: var(--yellow);
  background: rgba(242, 188, 87, 0.14);
  border-color: rgba(242, 188, 87, 0.24);
}

.student-card-accent h3 {
  color: #ffffff;
  font-size: 1.36rem;
  line-height: 1.18;
}

.student-card-accent p {
  color: rgba(255, 255, 255, 0.74);
}

.student-guarantee {
  font-size: 1.05rem;
  font-weight: 800;
}

.route-section {
  padding-top: 10px;
  padding-bottom: 34px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 13px;
  min-height: 250px;
  padding: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(79, 167, 161, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 248, 0.78));
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(29, 36, 38, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: auto -52px -60px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 143, 120, 0.18), transparent 68%);
  pointer-events: none;
}

.route-card:hover {
  border-color: rgba(79, 167, 161, 0.38);
  box-shadow: 0 26px 54px rgba(29, 36, 38, 0.1);
  transform: translateY(-2px);
}

.route-card > * {
  position: relative;
  z-index: 1;
}

.route-card span,
.page-badge {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card h3 {
  max-width: 560px;
  font-size: 1.6rem;
  line-height: 1.15;
}

.route-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
}

.route-card strong {
  align-self: end;
  color: var(--ink);
}

.route-card-business {
  background:
    radial-gradient(circle at 88% 12%, rgba(79, 167, 161, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 244, 0.8));
}

.route-card-students {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 143, 120, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 242, 0.78));
}

.pricing {
  padding-top: 8px;
  padding-bottom: 28px;
}

.pricing-deadline,
.discount-deadline {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  margin-top: 4px;
  padding: 8px 10px;
  color: var(--ink);
  background: rgba(242, 188, 87, 0.16);
  border: 1px solid rgba(242, 188, 87, 0.35);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: auto;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 248, 0.72));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: auto -32px -46px auto;
  width: 150px;
  height: 150px;
  background:
    radial-gradient(circle, rgba(79, 167, 161, 0.24), transparent 68%);
  pointer-events: none;
}

.price-card > * {
  position: relative;
  z-index: 1;
}

.price-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.price-card h3 {
  font-size: 1.12rem;
}

.price-card-featured {
  border-color: rgba(79, 167, 161, 0.45);
  box-shadow: 0 24px 56px rgba(29, 36, 38, 0.12);
}

.price-card-featured::before {
  background:
    radial-gradient(circle, rgba(79, 167, 161, 0.28), transparent 68%),
    radial-gradient(circle at 25% 28%, rgba(255, 143, 120, 0.14), transparent 52%);
}

.price-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.popular-badge {
  width: max-content;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(242, 188, 87, 0.22);
  border: 1px solid rgba(242, 188, 87, 0.38);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.price-anchor {
  margin-bottom: 0;
  padding: 12px 13px;
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.72);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}

.price-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
  align-items: start;
  padding: 13px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 229, 225, 0.94);
  border-radius: 8px;
}

.price-main span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.price-main strong {
  font-size: 1.55rem;
}

.price-main small {
  align-self: center;
  justify-self: start;
  padding: 6px 9px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.price-card-featured .price-main {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.price-card-featured .price-main span {
  color: rgba(255, 255, 255, 0.72);
}

.price-card-featured .price-main strong {
  color: #ffffff;
}

.price-card-featured .price-main small {
  color: var(--ink);
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.app-price-list {
  display: grid;
  gap: 10px;
}

.service-details {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-details li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.service-details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 167, 161, 0.1);
}

.price-card strong {
  align-self: end;
  font-size: 2.05rem;
  line-height: 1;
}

.price-tag {
  width: max-content;
  padding: 6px 10px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-note {
  margin-bottom: -4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.price-options {
  display: grid;
  gap: 10px;
}

.price-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: end;
  padding: 13px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 225, 0.9);
  border-radius: 8px;
}

.price-option span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.price-option strong {
  font-size: 1.35rem;
}

.price-option del {
  color: rgba(100, 112, 115, 0.72);
  font-weight: 900;
}

.included-note,
.agreement-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.bonus-list {
  display: grid;
  gap: 8px;
}

.bonus-list span {
  position: relative;
  display: block;
  padding: 10px 12px 10px 34px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

.bonus-list span::before {
  content: "0 ₽";
  position: absolute;
  left: 10px;
  top: 50%;
  color: var(--coral);
  font-size: 0.72rem;
  transform: translateY(-50%);
}

.audience-section {
  padding-top: 16px;
  padding-bottom: 34px;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.audience-list p {
  position: relative;
  min-height: 96px;
  margin: 0;
  padding: 18px 18px 18px 42px;
  color: var(--muted);
  line-height: 1.5;
  background:
    radial-gradient(circle at 92% 8%, rgba(79, 167, 161, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 248, 0.78));
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(29, 36, 38, 0.05);
}

.audience-list p::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(79, 167, 161, 0.1);
}

.audience-list strong {
  color: var(--ink);
}

.bonus-section {
  padding-top: 18px;
  padding-bottom: 42px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.bonus-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-column: span 2;
  align-content: start;
  gap: 15px;
  min-height: 230px;
  padding: 26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 143, 120, 0.18), transparent 34%),
    radial-gradient(circle at 12% 90%, rgba(242, 188, 87, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 247, 0.98), rgba(255, 243, 239, 0.86));
  border: 1px solid rgba(255, 143, 120, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(255, 143, 120, 0.08);
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -48px auto;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 143, 120, 0.18), transparent 68%);
  pointer-events: none;
}

.bonus-card > * {
  position: relative;
  z-index: 1;
}

.bonus-card-main {
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 143, 120, 0.22), transparent 34%),
    radial-gradient(circle at 12% 90%, rgba(242, 188, 87, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 247, 0.98), rgba(255, 241, 236, 0.84));
  border-color: rgba(255, 143, 120, 0.36);
  box-shadow: 0 18px 42px rgba(255, 143, 120, 0.1);
}

.bonus-card-main span {
  color: #a94a37;
  background: rgba(255, 143, 120, 0.13);
  border-color: rgba(255, 143, 120, 0.28);
}

.bonus-card-main h3,
.bonus-card-main li {
  color: var(--ink);
}

.bonus-card-main li::before {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 143, 120, 0.13);
}

.bonus-card-highlight {
  grid-column: span 3;
  min-height: 235px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(79, 167, 161, 0.34), transparent 34%),
    radial-gradient(circle at 12% 96%, rgba(255, 143, 120, 0.16), transparent 34%),
    linear-gradient(135deg, #1d2426, #263335);
  border-color: rgba(29, 36, 38, 0.94);
  box-shadow: 0 24px 54px rgba(29, 36, 38, 0.18);
}

.bonus-card-highlight::before {
  background: radial-gradient(circle, rgba(79, 167, 161, 0.24), transparent 68%);
}

.bonus-card-highlight h3 {
  color: #ffffff;
  font-size: 1.24rem;
}

.bonus-card-highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.bonus-card-highlight span {
  color: var(--yellow);
  background: rgba(242, 188, 87, 0.13);
  border-color: rgba(242, 188, 87, 0.28);
}

.template-section {
  padding-top: 28px;
  padding-bottom: 42px;
}

.template-panel {
  --template-zoom: 1;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 244, 0.74));
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(29, 36, 38, 0.08);
  backdrop-filter: blur(12px);
}

.template-browser {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.template-sidebar {
  display: grid;
  gap: 12px;
}

.template-cards {
  display: grid;
  gap: 10px;
}

.template-group {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
}

.template-group-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 42px 12px 14px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  list-style: none;
  transition: background 160ms ease, color 160ms ease;
}

.template-group-title::-webkit-details-marker {
  display: none;
}

.template-group-title::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-62%) rotate(45deg);
  transition: transform 160ms ease;
}

.template-group[open] .template-group-title::after {
  transform: translateY(-36%) rotate(225deg);
}

.template-group-title span {
  min-width: 0;
}

.template-group-title small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.template-group[open] .template-group-title,
.template-group-title:hover {
  background: rgba(238, 246, 244, 0.74);
  color: var(--teal);
}

.template-group-list {
  display: grid;
  gap: 7px;
  padding: 0 10px 10px;
}

.template-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 54px;
  padding: 9px 11px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.template-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--coral));
  opacity: 0;
}

.template-card span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.template-card strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.template-card:hover,
.template-card.is-active {
  background: #ffffff;
  border-color: rgba(79, 167, 161, 0.42);
  box-shadow: 0 12px 24px rgba(29, 36, 38, 0.07);
  transform: translateY(-1px);
}

.template-card.is-active::before {
  opacity: 1;
}

.template-stage {
  min-width: 0;
}

.template-preview {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(29, 36, 38, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(29, 36, 38, 0.08);
}

.template-preview-head {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #ffffff;
  background: var(--ink);
}

.template-preview-head span {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.template-preview figcaption {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.template-page-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 229, 225, 0.9);
}

.template-page-switcher[hidden] {
  display: none;
}

.template-page-switcher button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(238, 246, 244, 0.76);
  border: 1px solid rgba(79, 167, 161, 0.16);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.template-page-switcher button:hover,
.template-page-switcher button.is-active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.template-close,
.template-reset,
.template-zoom-button {
  min-height: 38px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.template-close {
  padding: 0 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.template-zoom-controls {
  display: grid;
  grid-template-columns: 38px minmax(120px, 1fr) 38px 70px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  background: #f7f7f2;
  border-bottom: 1px solid rgba(223, 229, 225, 0.95);
}

.template-zoom-range {
  width: 100%;
  accent-color: var(--teal);
}

.template-zoom-range::-webkit-slider-runnable-track {
  height: 8px;
  background: rgba(79, 167, 161, 0.16);
  border-radius: 999px;
}

.template-zoom-range::-webkit-slider-thumb {
  margin-top: -5px;
}

.template-preview-frame {
  position: relative;
  max-height: min(72vh, 620px);
  overflow: auto;
  padding: 18px;
  background:
    linear-gradient(45deg, rgba(223, 229, 225, 0.45) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(223, 229, 225, 0.45) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(223, 229, 225, 0.45) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(223, 229, 225, 0.45) 75%);
  background-color: #eef2f1;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.template-preview-frame::before {
  content: "";
  position: sticky;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: none;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(29, 36, 38, 0.88);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(29, 36, 38, 0.16);
}

.template-preview.is-loading .template-preview-frame::before {
  content: "Загружаем шаблон...";
  display: block;
}

.template-preview-frame img {
  width: calc(100% * var(--template-zoom));
  max-width: none;
  height: auto;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 14px 26px rgba(29, 36, 38, 0.16);
  transform-origin: left top;
  transition: opacity 180ms ease;
}

.template-preview.is-loading .template-preview-frame img {
  opacity: 0.28;
}

.showcase {
  padding-top: 44px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(29, 36, 38, 0.08);
}

.showcase-card-large {
  grid-row: span 2;
  min-height: 540px;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.025);
  transition: transform 900ms var(--motion-ease), filter 900ms var(--motion-ease);
}

.showcase-card:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.075);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(29, 36, 38, 0.82) 100%);
  pointer-events: none;
}

.showcase-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: #ffffff;
}

.showcase-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-card h3 {
  max-width: 420px;
  margin-bottom: 0;
  color: #ffffff;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.services {
  padding-top: 38px;
}

.service-grid,
.package-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.package-card {
  min-height: 100%;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card > *,
.package-card > * {
  position: relative;
  z-index: 1;
}

.service-card::before,
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    transparent 0%,
    rgba(255, 255, 255, 0.62) 44%,
    transparent 58%
  );
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background:
    linear-gradient(90deg, var(--teal) 0 33%, var(--coral) 33% 66%, var(--yellow) 66% 100%);
  border-radius: 8px;
  opacity: 0.12;
}

.service-card:hover {
  border-color: rgba(79, 167, 161, 0.5);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
}

.service-card:hover::before,
.package-card:hover::before {
  opacity: 1;
  animation: cardShine 900ms ease;
}

.card-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 900;
}

.service-card p,
.package-card p,
.contact-copy p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.cases {
  padding-top: 38px;
  padding-bottom: 38px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.case-card {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 220px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(223, 229, 225, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
  backdrop-filter: blur(12px);
}

.case-card:nth-child(4) {
  grid-column: 3 / span 4;
}

.case-card:nth-child(5) {
  grid-column: 7 / span 4;
}

.case-card::before {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -56px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(79, 167, 161, 0.22), transparent 68%);
  pointer-events: none;
}

.case-card > * {
  position: relative;
  z-index: 1;
}

.case-card-accent {
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 92%, rgba(79, 167, 161, 0.2), transparent 38%),
    radial-gradient(circle at 20% 12%, rgba(242, 188, 87, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(29, 36, 38, 0.98), rgba(31, 55, 55, 0.96));
  border-color: rgba(29, 36, 38, 0.94);
}

.case-card-accent::before {
  display: none;
}

.case-card-urgent {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 246, 0.94));
  border-color: rgba(255, 143, 120, 0.38);
  box-shadow: 0 18px 40px rgba(255, 143, 120, 0.09);
}

.case-card-urgent::before {
  display: none;
}

.case-label {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.1);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.case-card-accent .case-label {
  color: var(--yellow);
  background: rgba(242, 188, 87, 0.14);
  border-color: rgba(242, 188, 87, 0.24);
}

.case-card h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.case-card dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.case-card dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 7px;
  padding-top: 5px;
  border-top: 1px solid rgba(223, 229, 225, 0.86);
}

.case-card dt {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.case-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.38;
}

.case-card-accent dt {
  color: #ffffff;
}

.case-card-accent dd {
  color: rgba(255, 255, 255, 0.72);
}

.case-card-accent dl div {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.packages {
  padding-bottom: 60px;
}

.package-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  align-content: start;
}

.package-card:hover {
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-5px);
}

.package-card-accent {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.package-card-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.package-card strong {
  color: var(--coral);
}

.contact {
  padding-top: 38px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
  padding: 34px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 8px;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 38%, transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.035) 38px 39px);
  transform: translateX(-100%);
  animation: contactSweep 8s ease-in-out infinite;
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-copy {
  position: static;
}

.contact-copy .eyebrow,
.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy h2 {
  color: #ffffff;
}

.contact-offer {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-offer span {
  width: max-content;
  padding: 5px 9px;
  color: var(--teal);
  background: rgba(79, 167, 161, 0.14);
  border: 1px solid rgba(79, 167, 161, 0.24);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-offer h3 {
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.2;
}

.contact-offer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-direct > span {
  width: max-content;
  padding: 5px 9px;
  color: var(--yellow);
  background: rgba(242, 188, 87, 0.12);
  border: 1px solid rgba(242, 188, 87, 0.24);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-direct p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-direct-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-direct-actions a:first-child {
  color: var(--ink);
  background: #ffffff;
}

.contact-direct-actions a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.field-title {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: space-between;
}

.field-title small {
  max-width: 280px;
  color: var(--teal);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 800;
}

.contact-form label:nth-child(4),
.contact-form .form-consent,
.contact-form .button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form span {
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.form-consent {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
  margin-top: -2px;
  color: var(--muted) !important;
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 700 !important;
}

.form-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--teal);
}

.form-consent span {
  font-size: inherit;
}

.form-consent a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(79, 167, 161, 0.14);
}

.form-status {
  min-height: 24px;
  margin: -2px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.is-success {
  color: #287c65;
}

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

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-contacts a {
  padding: 9px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 36, 38, 0.04);
}

.footer-contacts span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(238, 246, 244, 0.78);
  border: 1px solid rgba(79, 167, 161, 0.16);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-contacts .footer-contact-hint {
  flex-basis: 100%;
  justify-content: center;
  padding: 0 4px 2px;
  color: var(--teal);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.84rem;
  box-shadow: none;
}

.footer-contacts a:hover {
  color: var(--teal);
  border-color: rgba(79, 167, 161, 0.35);
}

.footer-contacts .footer-telegram {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ink), #2f7774);
  border-color: rgba(79, 167, 161, 0.42);
}

.footer-contacts .footer-telegram:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.footer-top {
  color: var(--muted);
}

.mobile-contact-float {
  position: fixed;
  left: auto;
  right: 14px;
  bottom: 12px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 28px);
  min-height: 46px;
  padding: 11px 16px;
  color: #ffffff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(29, 36, 38, 0.24);
  font-weight: 900;
}

.landing-page .hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  min-height: auto;
  padding-top: 34px;
  padding-bottom: 28px;
}

.page-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(79, 167, 161, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 244, 0.74));
  border: 1px solid rgba(223, 229, 225, 0.95);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(29, 36, 38, 0.07);
}

.page-panel h2,
.page-card h3 {
  font-size: 1.28rem;
}

.page-panel p,
.page-card p,
.privacy-content p,
.privacy-content li {
  color: var(--muted);
}

.page-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 167, 161, 0.1);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.page-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.06);
}

.page-price {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: rgba(238, 246, 244, 0.7);
  border: 1px solid rgba(79, 167, 161, 0.18);
  border-radius: 8px;
}

.page-price span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.page-price strong {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}

.privacy-page {
  background: #fbfbf8;
}

.privacy-content {
  display: grid;
  gap: 22px;
  max-width: 900px;
  padding-bottom: 60px;
}

.privacy-content section {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(29, 36, 38, 0.05);
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 720ms var(--motion-ease),
    filter 720ms var(--motion-ease),
    transform 720ms var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 46px 46px, 46px 46px;
  }
}

@keyframes imageLift {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985) translateZ(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(28px);
  }
}

@keyframes chipPulse {
  0%,
  100% {
    border-color: var(--line);
    transform: translateY(0);
  }

  50% {
    border-color: rgba(79, 167, 161, 0.36);
    transform: translateY(-2px);
  }
}

@keyframes panelFloatOne {
  0%,
  100% {
    transform: translate3d(0, 0, 46px) rotate(-2deg);
  }

  50% {
    transform: translate3d(14px, 12px, 46px) rotate(3deg);
  }
}

@keyframes panelFloatTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 52px) rotate(3deg);
  }

  50% {
    transform: translate3d(-12px, -16px, 52px) rotate(-2deg);
  }
}

@keyframes panelFloatThree {
  0%,
  100% {
    transform: translate3d(0, 0, 42px);
  }

  50% {
    transform: translate3d(18px, -10px, 42px);
  }
}

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

  to {
    transform: translateX(120%);
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(28);
  }
}

@keyframes contactSweep {
  0%,
  42% {
    transform: translateX(-100%);
  }

  62%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes statDial {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: var(--surface-strong);
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 30px;
    overflow: hidden;
  }

  .hero::before {
    left: 0;
    width: 100%;
    height: 300px;
    opacity: 0.26;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-actions {
    width: min(100%, 560px);
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 390px);
  }

  .hero-visual {
    max-width: 760px;
    width: 100%;
  }

  .landing-page .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .hero-visual img {
    max-height: 420px;
    object-fit: cover;
    object-position: center;
  }

  .motion-panel {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .service-grid,
  .case-grid,
  .trust-strip,
  .impact-strip,
  .problem-grid,
  .student-grid,
  .audience-list,
  .route-grid,
  .page-grid,
  .price-grid,
  .bonus-grid,
  .package-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .bonus-card,
  .bonus-card-highlight {
    grid-column: auto;
  }

  .case-card,
  .case-card:nth-child(4),
  .case-card:nth-child(5) {
    grid-column: auto;
  }

  .student-intro {
    grid-template-columns: 1fr;
  }

  .student-intro .button,
  .discount-deadline {
    justify-self: start;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .showcase-card,
  .showcase-card-large {
    grid-row: auto;
    min-height: 360px;
  }

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 70px;
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 24px, var(--max-width));
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero {
    gap: 24px;
    padding: 24px 0 34px;
  }

  .hero::before {
    display: none;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 440px);
    margin-bottom: 18px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 44px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 0.86rem;
    white-space: normal;
  }

  .button {
    min-height: 46px;
    padding: 12px 10px;
    font-size: 0.92rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: min(100%, 430px);
  }

  .hero-points span {
    padding: 6px 8px;
    font-size: 0.82rem;
  }

  .hero-visual img {
    max-height: 190px;
    object-fit: cover;
    object-position: center;
  }

  .motion-panel {
    display: none;
  }

  .service-grid,
  .case-grid,
  .trust-strip,
  .impact-strip,
  .problem-grid,
  .student-grid,
  .audience-list,
  .route-grid,
  .page-grid,
  .page-grid-two,
  .price-grid,
  .bonus-grid,
  .package-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: auto;
    padding: 22px;
  }

  .case-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .student-section {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .student-intro {
    padding: 22px;
  }

  .student-intro .button {
    width: 100%;
    max-width: none;
  }

  .student-card,
  .bonus-card {
    min-height: auto;
    padding: 22px;
  }

  .pricing {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .price-card {
    padding: 22px;
  }

  .route-card,
  .page-card,
  .page-panel,
  .privacy-content section {
    padding: 20px;
  }

  .route-card {
    min-height: auto;
  }

  .route-card h3 {
    font-size: 1.32rem;
  }

  .audience-section {
    padding-top: 12px;
    padding-bottom: 36px;
  }

  .audience-list p {
    min-height: auto;
    padding: 16px 16px 16px 40px;
  }

  .price-card strong {
    font-size: 1.85rem;
  }

  .price-option strong {
    font-size: 1.25rem;
  }

  .template-section {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .template-panel {
    padding: 18px;
  }

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

  .template-preview {
    padding: 0;
  }

  .template-preview-head {
    display: grid;
    gap: 10px;
    align-items: start;
  }

  .template-close {
    width: 100%;
  }

  .template-zoom-controls {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .template-reset {
    grid-column: 1 / -1;
  }

  .template-preview-frame {
    max-height: 64vh;
    padding: 10px;
  }

  .showcase {
    padding-top: 44px;
  }

  .showcase-card,
  .showcase-card-large {
    min-height: 280px;
  }

  .impact-strip {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .trust-strip {
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .trust-copy,
  .trust-list {
    padding: 22px;
  }

  .trust-copy h2 {
    font-size: 1.55rem;
  }

  .impact-card {
    min-height: auto;
    padding: 22px;
  }

  .impact-card strong {
    font-size: 1.35rem;
  }

  .impact-card p {
    max-width: none;
  }

  .impact-card span {
    margin-bottom: 16px;
  }

  .problem-section {
    padding-top: 26px;
    padding-bottom: 42px;
  }

  .problem-card {
    min-height: auto;
    padding: 22px;
  }

  .problem-card span {
    margin-bottom: 18px;
  }

  .section {
    padding: 36px 0;
  }

  .services {
    padding-top: 28px;
  }

  .service-card,
  .package-card {
    padding: 22px;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-form {
    padding: 14px;
  }

  .contact-form .button {
    width: 100%;
  }

  .contact-direct-actions a {
    width: 100%;
  }

  .site-footer {
    display: grid;
    gap: 12px;
  }

  .footer-contacts {
    justify-content: start;
  }

  .footer-contacts a,
  .footer-contacts span,
  .footer-top {
    width: 100%;
  }

  .mobile-contact-float {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    grid-template-columns: 1fr;
    width: min(100%, 280px);
  }

  .hero-actions .button {
    font-size: 0.92rem;
  }

  .hero-points {
    width: min(100%, 280px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .tilt-surface,
  .cursor-aura,
  .ambient-canvas,
  .service-card:hover,
  .package-card:hover {
    transform: none !important;
  }

  .ambient-canvas,
  .cursor-aura {
    display: none !important;
  }
}
