:root {
  --bg: #220006;
  --red: #7a0612;
  --red2: #b20d20;
  --red3: #e01b33;
  --dark: #100005;
  --text: #fff7ee;
  --muted: rgba(255,247,238,.72);
  --gold: #f7d4aa;
  --gold2: #ffe8c9;
  --line: rgba(255,255,255,.15);
  --radius: 30px;
  --shadow: 0 30px 80px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(224,27,51,.48), transparent 25%),
    radial-gradient(circle at 82% 12%, rgba(247,212,170,.18), transparent 24%),
    linear-gradient(145deg, #160004 0%, #4a030b 42%, #180003 100%);
}

a { color: inherit; }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 48px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 4px;
}

.brand span {
  font-family: Georgia, serif;
  font-size: 30px;
  letter-spacing: .2px;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: rgba(255,255,255,.84);
  font-size: 15px;
}

.nav-links a,
.date-pill {
  text-decoration: none;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  padding: 13px 18px;
  border-radius: 14px;
  color: var(--gold2);
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 26px;
  align-items: stretch;
  min-height: 720px;
}

.hero-copy {
  padding: 44px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  width: fit-content;
  border: 1px solid rgba(247,212,170,.35);
  background: rgba(255,255,255,.05);
  color: var(--gold2);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 24px;
}

h1 {
  font-family: Georgia, serif;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: .96;
  letter-spacing: -2.2px;
  font-weight: 500;
}

h1 span {
  color: var(--gold);
  text-shadow: 0 0 32px rgba(247,212,170,.18);
}

.under-title {
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.16;
  max-width: 720px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.48;
  max-width: 620px;
  margin: 0 0 22px;
}

.limit-box {
  display: grid;
  gap: 4px;
  width: fit-content;
  padding: 15px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(247,212,170,.24);
  margin-bottom: 26px;
}

.limit-box b {
  color: var(--gold2);
  font-size: 18px;
}

.limit-box span {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 56px;
  border-radius: 16px;
  padding: 0 28px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.btn-light {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #2a0508;
  box-shadow: 0 16px 34px rgba(247,212,170,.18);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.23);
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.btn-red {
  background: linear-gradient(135deg, var(--red2), var(--red3));
  color: #fff;
  box-shadow: 0 16px 34px rgba(224,27,51,.24);
}

.full { width: 100%; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 740px;
}

.benefits div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.86);
}

.benefits span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(247,212,170,.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.hero-photo {
  position: relative;
  min-height: 680px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #2b0006;
  border: 1px solid rgba(255,255,255,.12);
}

.hero-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(74,3,11,.88) 0%, rgba(74,3,11,.34) 34%, rgba(74,3,11,0) 62%),
    linear-gradient(0deg, rgba(28,0,5,.7) 0%, rgba(28,0,5,0) 42%);
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}

.section {
  margin-top: 34px;
  padding: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(20,0,5,.58);
  box-shadow: var(--shadow);
}

.section-head {
  margin-bottom: 26px;
}

.section-head.center {
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .9px;
  font-weight: 900;
  font-size: 13px;
}

h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1;
  font-weight: 500;
}

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

.program-grid article,
.tariff-card,
.register-panel {
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: 24px;
  padding: 24px;
}

.program-grid small {
  color: var(--gold);
  font-weight: 900;
}

.program-grid h3 {
  font-size: 24px;
  margin: 10px 0 10px;
}

.program-grid p,
.tariff-card li,
.register-panel p,
.form-note {
  color: var(--muted);
  line-height: 1.46;
}

.tariff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.tariff-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.tariff-card.paid {
  border-color: rgba(247,212,170,.38);
  box-shadow: 0 0 0 1px rgba(247,212,170,.14), 0 28px 70px rgba(0,0,0,.32);
}

.tariff-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.tariff-top h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.tariff-top b {
  color: var(--gold2);
  font-size: 22px;
}

.tariff-card ul {
  margin: 0 0 24px;
  padding-left: 22px;
  display: grid;
  gap: 11px;
}

.tariff-card .btn {
  margin-top: auto;
}

.price-badge {
  position: absolute;
  top: -18px;
  right: 24px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #360007;
  font-weight: 900;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
}

.bottom-cta {
  margin-top: 34px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
}

.secondary-photo {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: #000;
}

.secondary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  display: block;
}

.register-panel {
  padding: 34px;
}

.register-date {
  font-size: 18px;
}

.register-limit {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(247,212,170,.28);
  background: rgba(247,212,170,.09);
  border-radius: 18px;
  padding: 16px 18px;
  margin: 18px 0 4px;
}

.register-limit b {
  color: var(--gold2);
  font-size: 18px;
}

.register-limit span {
  color: var(--muted);
}

form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

label {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  display: grid;
  gap: 8px;
}

input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: 15px;
  min-height: 54px;
  padding: 0 15px;
  font-size: 16px;
  outline: none;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(247,212,170,.12);
}

input::placeholder {
  color: rgba(255,255,255,.45);
}

.selected-tariff {
  border: 1px solid rgba(247,212,170,.24);
  background: rgba(247,212,170,.08);
  border-radius: 15px;
  padding: 14px 15px;
  color: var(--muted);
}

.selected-tariff b {
  color: var(--gold2);
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.status {
  min-height: 20px;
  margin: 0;
  color: var(--gold2);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero,
  .tariff-grid,
  .bottom-cta,
  .program-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-copy {
    padding-top: 20px;
  }
  .hero-photo {
    min-height: 680px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page { width: min(100% - 22px, 1180px); }
  .nav { align-items: flex-start; }
  .date-pill { display: none; }
  .section, .register-panel { padding: 24px; }
  .hero-photo { min-height: 540px; }
  .secondary-photo { min-height: 460px; }
  h1 { letter-spacing: -1.1px; }
}


.register-limit em {
  display: inline-block;
  margin-top: 8px;
  color: rgba(255,247,238,.78);
  font-style: normal;
}

.register-limit strong {
  color: var(--gold2);
}

.bonus-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 32px));
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(247,212,170,.32);
  background:
    radial-gradient(circle at 20% 0%, rgba(247,212,170,.18), transparent 34%),
    linear-gradient(180deg, rgba(76,3,13,.98), rgba(25,0,5,.98));
  box-shadow: 0 26px 70px rgba(0,0,0,.45);
  z-index: 20;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
}

.bonus-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.bonus-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.bonus-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 12px;
  font-weight: 900;
}

.bonus-popup h3 {
  margin: 0 34px 8px 0;
  font-size: 24px;
  line-height: 1.12;
}

.bonus-popup h3 span {
  color: var(--gold2);
}

.bonus-popup p {
  color: var(--muted);
  line-height: 1.42;
}

.social-toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: min(340px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(18,0,5,.92);
  box-shadow: 0 22px 60px rgba(0,0,0,.38);
  z-index: 19;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .26s ease, opacity .26s ease;
}

.social-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.social-toast b {
  display: block;
  color: var(--gold2);
  margin-bottom: 4px;
}

.social-toast span {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 560px) {
  .bonus-popup,
  .social-toast {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .social-toast {
    bottom: 16px;
  }

  .bonus-popup {
    bottom: 96px;
  }
}
