html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/montserrat-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-700.ttf') format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/montserrat-800.ttf') format('truetype');
}

/* =========== ПАЛИТРА =========== */
:root {
  --cream: #FBF5EA;
  --cream-card: #FFFDF8;
  --beige: #EFE3CC;
  --beige-line: #EDE3D2;
  --ink: #1E1A17;
  --ink-soft: #2A241F;
  --text: #3A322C;
  --muted: #4A413A;
  --muted-2: #6B5F54;
  --burgundy: #7B2D26;
  --burgundy-dark: #5C1F1A;
  --burgundy-hover: #8E3830;
  --gold: #C08A2E;
  --gold-light: #EFC46A;
  --gold-soft: #E3C88B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-wrap: pretty;
}

/* =========== АКЦЕНТ 555 =========== */
.a555 { color: var(--burgundy); }
.on-dark .a555,
.pc-card--featured .a555 { color: var(--gold-light); }

/* =========== КНОПКИ =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  background: var(--burgundy);
  color: var(--cream);
  font-size: 23px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--burgundy-dark);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--burgundy-dark);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--burgundy-dark);
}
.btn-large {
  font-size: 24px;
  padding: 20px 48px;
  min-height: 76px;
}
.btn-gold {
  background: var(--gold-light);
  color: var(--ink);
  box-shadow: 0 6px 0 #B08A34;
}
.btn-gold:hover { background: #F5D287; box-shadow: 0 8px 0 #B08A34; }
.btn-gold:active { box-shadow: 0 2px 0 #B08A34; }

@keyframes btn-attention {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.btn-hero { animation: btn-attention 2.4s ease-in-out infinite; }
.btn-hero:hover { animation: none; }

/* =========== СЕКЦИИ =========== */
.section { padding: 76px 20px; }
.section-beige { background: var(--cream); }
.section-white { background: var(--cream-card); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-yellow { background: var(--beige); }

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-dark .section-label { color: var(--gold-soft); }

.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title span { color: var(--burgundy); }
.section-dark .section-title span { color: var(--gold-light); }

.divider {
  width: 72px;
  height: 5px;
  background: var(--gold);
  border-radius: 3px;
  margin: 20px 0;
}

/* якоря не прячутся под фиксированной шапкой */
#hero, #program, #pricing { scroll-margin-top: 60px; }

/* =========== ПЕРВЫЙ ЭКРАН =========== */
.hero {
  background: var(--ink);
  color: var(--cream);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30,26,23,0.94) 0%,
    rgba(30,26,23,0.90) 26%,
    rgba(30,26,23,0.66) 42%,
    rgba(30,26,23,0.22) 56%,
    rgba(30,26,23,0) 68%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 5vh, 56px) 20px clamp(24px, 5vh, 56px) 72px;
}
.hero-copy { max-width: 560px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(239,227,204,0.14);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { margin: 0 0 18px; }
.hero-h1-big {
  display: block;
  font-size: clamp(52px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -2px;
  color: var(--cream);
}
.hero-h1-small {
  display: block;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--gold-light);
  margin-top: 12px;
}
.hero-subtitle {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  color: #EFE3CC;
  margin: 0 0 28px;
}
.hero-note {
  font-size: 18px;
  color: rgba(251,245,234,0.72);
  margin: 16px 0 0;
  max-width: 460px;
}

.hero-meta-band {
  background: var(--ink-soft);
  border-top: 1px solid rgba(239,196,106,0.2);
  padding: 22px 20px;
}
.hero-meta {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 20px 44px;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
}
.hero-meta-item .icon {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* невысокие экраны и ноутбуки 13" — поджимаем hero, чтобы полоска фактов влезла */
@media (min-width: 701px) and (max-height: 800px) {
  .hero-tag { font-size: 16px; padding: 7px 16px; margin-bottom: 14px; }
  .hero-h1-big { font-size: clamp(44px, 7vh, 72px); }
  .hero-h1-small { font-size: clamp(20px, 3vh, 26px); margin-top: 8px; }
  .hero h1 { margin: 0 0 12px; }
  .hero-subtitle { font-size: clamp(18px, 2.6vh, 22px); margin-bottom: 18px; }
  .hero-note { font-size: 16px; margin-top: 12px; }
  .hero .btn-large { padding: 16px 32px; font-size: 20px; }
  .hero-meta-band { padding: 14px 20px; }
  .hero-meta-item { font-size: 17px; }
  .hero-meta-item .icon { width: 34px; height: 34px; font-size: 18px; }
}

@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .hero-stage {
    display: block;
    min-height: 0;
  }
  .hero-media {
    position: static;
    inset: auto;
  }
  .hero-media img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 28%;
  }
  .hero-scrim { display: none; }
  .hero-inner { padding: 22px 22px 30px; }
  .hero-copy { max-width: none; }
  .hero-tag { font-size: 14px; padding: 6px 14px; margin-bottom: 14px; }
  .hero h1 { margin: 0 0 16px; }
  .hero-h1-big { font-size: clamp(46px, 14vw, 58px); }
  .hero-h1-small { font-size: 21px; margin-top: 8px; }
  .hero-subtitle { font-size: 19px; margin-bottom: 18px; }
  .hero .btn { width: 100%; }
  .hero-note { font-size: 17px; }
}

/* =========== ПЛАШКА СРОЧНОСТИ =========== */
@keyframes urgency-pulse {
  0%, 100% { background: var(--burgundy); }
  50% { background: var(--burgundy-hover); }
}
.urgency-banner {
  background: var(--burgundy);
  color: var(--cream);
  text-align: center;
  padding: 18px 20px;
  font-size: 20px;
  font-weight: 700;
  animation: urgency-pulse 2s ease-in-out infinite;
}

/* =========== БЛОК ПРИЗЫВА =========== */
.cta-box {
  background: var(--burgundy);
  color: var(--cream);
  border: 3px solid var(--gold);
  border-radius: 22px;
  padding: 52px 40px;
  text-align: center;
}
.cta-box h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 20px; color: var(--cream); }
.cta-box p { font-size: 22px; color: #F6E9D3; margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-date {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.cta-date-item {
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 22px;
  font-weight: 700;
}
.cta-date-item span { display: block; font-size: 15px; font-weight: 600; color: var(--gold-soft); margin-bottom: 4px; }
.price-note {
  font-size: 18px;
  color: #EFD9B4;
  margin-top: 18px;
}

/* =========== ПОДВАЛ =========== */
footer {
  background: var(--ink);
  border-top: 3px solid var(--gold);
  color: rgba(251,245,234,0.72);
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
}
.footer-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.6;
}
.footer-logo span { color: var(--gold-light); }
.footer-logo a {
  color: rgba(251,245,234,0.5) !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  margin-top: 4px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(239,196,106,0.14);
  color: var(--gold-light) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--gold); color: var(--ink) !important; }
.footer-divider {
  height: 1px;
  background: rgba(239,196,106,0.18);
}
.footer-links {
  display: flex; gap: 6px 20px; flex-wrap: wrap;
  margin-bottom: 0;
  justify-content: center;
}
.footer-links a {
  font-size: 15px;
  color: rgba(251,245,234,0.6) !important;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-light) !important; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-legal {
  font-size: 14px;
  color: rgba(251,245,234,0.42);
  line-height: 1.8;
}
.footer-disclaimer {
  font-size: 13px;
  color: rgba(251,245,234,0.35);
  max-width: 100%;
  line-height: 1.6;
  text-align: center;
}

/* =========== АДАПТИВ =========== */
@media (max-width: 600px) {
  .section { padding: 56px 18px; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .footer-disclaimer { text-align: left; max-width: 100%; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .cta-box { padding: 36px 20px; }
  .btn { font-size: 20px; padding: 16px 24px; }
  .btn-large { font-size: 21px; padding: 18px 24px; min-height: 70px; }
  .urgency-banner { font-size: 17px; padding: 14px 16px; line-height: 1.4; }
}
