/* Локальные шрифты (файлы в /fonts). Пути относительно css/style.css */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-main: #f0f6fa;
  --bg-alt: #e8f2f8;
  --bg-dark: #1a2b3c;
  --bg-darker: #111e2b;

  --accent: #2e7bb5;
  --accent-light: #5ba3d4;
  --accent-teal: #2a9d8f;
  --accent-indigo: #3d5a80;

  --text-dark: #1a2b3c;
  --text-muted: #5a7a8a;
  --text-light: #8aaabb;

  --border: #c8dde8;
  --gold: #c4956a;

  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--bg-main);
  text-rendering: geometricPrecision;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: white;
}

.section--darker {
  background: var(--bg-darker);
  color: white;
  position: relative;
  overflow: hidden;
}

.narrow {
  width: min(720px, calc(100% - 32px));
}

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.label--teal {
  color: var(--accent-teal);
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  font-size: clamp(32px, 4vw, 52px);
}

.h2 em {
  font-style: italic;
  color: var(--accent-indigo);
}

.h2--light em,
.accent-light {
  color: var(--accent-light);
}

.h2--light {
  color: white;
}

.h3 {
  margin: 0 0 8px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
}

.h3--light {
  color: white;
}

.p {
  margin: 0;
  color: var(--text-muted);
}

.p + .p {
  margin-top: 14px;
}

.p--light {
  color: rgba(255, 255, 255, 0.7);
}

.p--strong {
  font-weight: 600;
  color: var(--text-dark);
}

.p.p--strong.honest-callout {
  margin-top: 18px;
  padding: 18px 20px;
  font-size: 17px;
  line-height: 1.7;
  border: 1px dashed rgba(46, 123, 181, 0.35);
  border-radius: 12px;
  background: rgba(46, 123, 181, 0.05);
}

.section-head {
  margin-bottom: 28px;
}

.section-head--dark .label {
  color: rgba(255, 255, 255, 0.55);
}

.section-head--dark .h2 em {
  color: var(--accent-light);
}

/* Hero */
.section--hero {
  padding: 64px 0 72px;
}

.hero {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(46, 123, 181, 0.1);
  border: 1px solid rgba(46, 123, 181, 0.25);
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
}

.pill-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero__title {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--accent-indigo);
}

.hero__subtitle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero__meta {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--text-dark);
}

.hero__meta span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 8px;
}

.hero__visual {
  display: none;
}

.hero-orb {
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(
    circle at 35% 35%,
    rgba(42, 157, 143, 0.18),
    rgba(61, 90, 128, 0.12) 55%,
    rgba(46, 123, 181, 0.08) 100%
  );
  border: 1px solid rgba(46, 123, 181, 0.28);
  box-shadow: 0 22px 70px rgba(26, 43, 60, 0.12);
}

.hero-orb::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.hero-orb__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.02);
}

.hero-decor {
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(42, 157, 143, 0.35), rgba(61, 90, 128, 0.2) 55%, rgba(46, 123, 181, 0.12) 100%);
  border: 1px solid rgba(46, 123, 181, 0.18);
  filter: blur(0px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--accent);
  color: white;
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(46, 123, 181, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--outline-on-dark {
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--outline-on-dark:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.btn--min {
  min-width: 220px;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Layout helpers */
.two-col {
  display: grid;
  gap: 20px;
}

.stack {
  display: grid;
  gap: 14px;
}

.grid-2x2 {
  display: grid;
  gap: 14px;
}

/* Cards / blocks */
.card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.02);
  border-left: 2px solid var(--accent);
  padding: 20px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card--recognition:hover {
  transform: translateX(4px);
}

.quote {
  position: relative;
  border-radius: 2px 40px 2px 40px;
  padding: 40px 32px;
  overflow: hidden;
}

.quote--dark {
  background: var(--bg-dark);
  color: white;
}

.quote__mark {
  position: absolute;
  inset: -30px auto auto -10px;
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.quote__text {
  margin: 0;
  position: relative;
  color: rgba(255, 255, 255, 0.86);
}

.quote__author {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  padding: 40px 28px 32px;
  transition: background-color 0.25s ease;
}

.step:hover {
  background: var(--bg-alt);
}

.step__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  color: rgba(46, 123, 181, 0.07);
  line-height: 1;
  pointer-events: none;
}

.result-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.result-card__bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent-teal);
  transition: height 0.25s ease;
}

.result-card:hover {
  border-color: rgba(42, 157, 143, 0.4);
}

.result-card:hover .result-card__bar {
  height: 100%;
}

/* About */
.about {
  display: grid;
  gap: 26px;
  align-items: start;
}

.photo-frame {
  position: relative;
  max-width: 360px;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 16px auto auto 16px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(46, 123, 181, 0.25);
  border-radius: 2px 40px 2px 40px;
  pointer-events: none;
}

.photo-frame img {
  position: relative;
  border-radius: 2px 40px 2px 40px;
  object-fit: cover;
  background: white;
}

.photo-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 12px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.about__subtitle {
  margin-top: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--text-muted);
}

.facts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 12px;
  background: rgba(46, 123, 181, 0.08);
  border: 1px solid rgba(46, 123, 181, 0.2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dark);
}

/* Story */
.story {
  display: grid;
  gap: 24px;
}

.story-quote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
  color: white;
}

.story-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-indigo);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.story-meta__name {
  font-weight: 700;
  color: white;
}

.story-meta__role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.story-desc {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.video-wrap {
  margin-top: 14px;
  width: 100%;
  max-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 9 / 12
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom 15%;
}

.stats {
  display: grid;
  gap: 14px;
}

.stat-card {
  background: white;
  color: var(--text-dark);
  border-bottom: 2px solid var(--accent);
  padding: 20px 18px;
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  line-height: 1.1;
}

.stat-card__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Format */
.format-card {
  border: 1px solid var(--border);
  padding: 28px;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  background: transparent;
}

.format-card:hover {
  border-color: var(--accent);
  background: var(--bg-alt);
  transform: translateY(-2px);
}

.format-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(46, 123, 181, 0.08);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 18px;
}

/* Price */
.price-card {
  max-width: 560px;
  margin-inline: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px 40px 2px 40px;
  padding: 28px 22px;
  overflow: hidden;
  position: relative;
}

.price-card__topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-teal));
}

.price-card__price {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
}

.price-card__sub {
  margin-top: 10px;
  color: var(--text-muted);
}

.checklist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 26px;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-teal);
  font-weight: 800;
}

.bonus {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 16px;
  background: rgba(46, 123, 181, 0.06);
  border: 1px dashed rgba(46, 123, 181, 0.2);
}

.price-actions {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.price-actions__or {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* CTA */
.cta {
  position: relative;
  padding-top: 18px;
  padding-bottom: 18px;
}

.cta__bg {
  position: absolute;
  inset: -140px -120px auto -120px;
  height: 420px;
  background: radial-gradient(circle at 50% 55%, rgba(46, 123, 181, 0.15), rgba(46, 123, 181, 0) 60%);
  pointer-events: none;
}

.cta__text {
  margin: 14px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.cta__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta__note {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.55);
  padding: 28px 0;
}

.footer__inner {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer__line {
  line-height: 1.55;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* Legal pages */
.legal-header {
  background: var(--bg-darker);
  padding: 16px 0;
}

.legal-header__inner {
  display: flex;
  align-items: center;
}

.legal-header__back {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.legal-header__back:hover {
  color: rgba(255, 255, 255, 0.95);
}

.legal {
  padding-bottom: 24px;
}

.legal__title {
  margin: 0 0 40px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--text-dark);
}

.legal__section + .legal__section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.legal__heading {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.25;
  color: var(--text-dark);
}

.legal__list {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal__list li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--accent-indigo);
}

.legal__table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.legal__table th,
.legal__table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal__table th {
  background: rgba(46, 123, 181, 0.08);
  font-weight: 600;
}

.legal__date {
  margin: 24px 0 0;
  font-size: 15px;
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 1000;
  padding: 20px 0;
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -8px 32px rgba(17, 30, 43, 0.25);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.cookie-banner__text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__link {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__link:hover {
  color: white;
}

.cookie-banner__btn {
  flex-shrink: 0;
  min-width: 120px;
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* Scroll animations baseline */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-down {
  animation: fadeDown 0.6s ease both;
}

.fade-in,
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Breakpoints */
@media (min-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .hero__visual {
    display: grid;
    justify-items: end;
  }

  .two-col {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    background: white;
  }

  .step {
    border: none;
    border-right: 1px solid var(--border);
  }

  .step:last-child {
    border-right: none;
  }

  .grid-2x2 {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .about {
    grid-template-columns: 360px 1fr;
    gap: 44px;
    align-items: center;
  }

  .story {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .section--hero {
    padding-top: 84px;
  }
}

