/* =========================================================
   SMX MasterClass — Hybrid Dark + Editorial
   ========================================================= */

:root {
  /* Dark / premium */
  --charcoal:      #14110F;
  --charcoal-2:    #1C1917;
  --charcoal-3:    #221E1A;
  --offwhite:      #F5F1E9;
  --offwhite-soft: #C9C2B6;

  /* Light / editorial */
  --cream:         #F8F4EC;
  --cream-2:       #F1EBDF;
  --paper:         #FCFAF5;
  --ink:           #1A1714;
  --ink-soft:      #5C534A;
  --ink-faint:     #8A8077;

  /* Accents */
  --champagne:     #C9A96B;  /* accent on dark */
  --champagne-dim: #A88B52;
  --bronze:        #8C6D34;  /* accent on light (AA) */

  /* Lines */
  --line-dark:     rgba(245, 241, 233, 0.12);
  --line-light:    rgba(26, 23, 20, 0.12);
  --line-faint:    rgba(26, 23, 20, 0.07);

  /* System */
  --container:     1180px;
  --radius:        2px;
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection { background: var(--champagne); color: var(--charcoal); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

/* =========================================================
   Typography primitives
   ========================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.7;
}
.eyebrow-dark { color: var(--champagne); }

.section-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 18ch;
}
.section-title-dark { color: var(--offwhite); max-width: 20ch; }

.section-lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
}
.section-lead-dark { color: var(--offwhite-soft); }
.section-lead-center { margin-inline: auto; }

/* =========================================================
   Section frames
   ========================================================= */
.section { padding-block: clamp(72px, 11vw, 140px); }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--charcoal); color: var(--offwhite); }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head-center .eyebrow::before { display: none; }
.section-head-center .section-title { max-width: 24ch; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 17px 34px; font-size: 15px; }

.btn-solid {
  background: var(--champagne);
  color: var(--charcoal);
  border-color: var(--champagne);
}
.btn-solid:hover { background: #D8BC85; border-color: #D8BC85; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--offwhite);
  border-color: var(--line-dark);
}
.btn-ghost:hover { border-color: var(--champagne); color: var(--champagne); }

/* On light sections a ghost button needs darker borders */
.section-light .btn-ghost,
.section-cream .btn-ghost { color: var(--ink); border-color: var(--line-light); }
.section-light .btn-ghost:hover,
.section-cream .btn-ghost:hover { border-color: var(--bronze); color: var(--bronze); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(20, 17, 15, 0);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(20, 17, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--offwhite);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wordmark-smx { color: var(--offwhite); letter-spacing: 0.08em; }
.wordmark-logo {
  height: 46px;
  width: auto;
  display: block;
  /* the PNG has large transparent padding around the mark */
  margin: 0 -8px 0 -6px;
}
.wordmark-sep { color: var(--champagne); font-weight: 400; }
.wordmark-mc  { color: var(--champagne); font-weight: 500; font-family: var(--font-head); font-style: italic; }

.nav {
  display: flex;
  gap: 38px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--offwhite-soft);
  letter-spacing: 0.01em;
  transition: color .25s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--offwhite); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--champagne);
  transition: width .3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-cta { padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--offwhite);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(20px, 5vw, 56px) 28px;
  background: rgba(20, 17, 15, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a {
  color: var(--offwhite-soft);
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav a:last-child { border: none; margin-top: 14px; }
.mobile-nav .btn { color: var(--charcoal); }

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--offwhite);
  padding-block: clamp(96px, 15vh, 168px) clamp(72px, 12vw, 132px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(201,169,107,0.16) 0%, rgba(201,169,107,0.04) 38%, transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--offwhite);
  max-width: 16ch;
}
.hero-sub {
  margin-top: 30px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--offwhite-soft);
  max-width: 52ch;
  font-weight: 300;
}
.hero-actions { margin-top: 40px; }
.hero-note {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  text-transform: none;
}

/* Hero editorial card grid */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-card {
  background: var(--charcoal-2);
  padding: 28px 24px 30px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  transition: background .4s var(--ease);
}
.hero-card:hover { background: var(--charcoal-3); }
.hero-card-index {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--champagne);
  letter-spacing: 0.1em;
  margin-bottom: auto;
}
.hero-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--offwhite);
  margin-top: 22px;
}
.hero-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--offwhite-soft);
  margin-top: 8px;
  font-weight: 300;
}

/* Course detail hero (single-column) */
.course-back {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--offwhite-soft);
  margin-bottom: 40px;
  transition: color .25s var(--ease);
}
.course-back:hover { color: var(--champagne); }
.course-hero-copy { position: relative; z-index: 1; max-width: 60ch; }
.course-hero-copy .hero-title { max-width: 20ch; }

/* =========================================================
   2. What is — prose + benefit cards
   ========================================================= */
.prose-grid { margin-bottom: clamp(48px, 7vw, 80px); }
.prose {
  max-width: 60ch;
  margin-left: auto;
}
.prose p {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 22px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}
.benefit-card {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line-faint);
}
.benefit-card:last-child { border-right: none; }
.benefit-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}
.benefit-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* =========================================================
   3. Audience
   ========================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.audience-list {
  list-style: none;
  padding-top: 8px;
}
.audience-list li {
  position: relative;
  padding: 24px 0 24px 38px;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--ink);
}
.audience-list li:first-child { border-top: 1px solid var(--line-light); }
.audience-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 32px;
  width: 18px; height: 1px;
  background: var(--bronze);
}

/* =========================================================
   4. Programs
   ========================================================= */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  min-height: 380px;
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.program-card:hover {
  border-color: var(--champagne-dim);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -28px rgba(26, 23, 20, 0.35);
}
/* "Наскоро" teaser card */
.program-card-soon {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
}
.program-card-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--champagne-dim);
}
.soon-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}
.soon-sub {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 26ch;
}

/* Teaser card во темната mentors секција */
.mentor-card-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: transparent;
  padding: 32px 24px;
  min-height: 100%;
}
.mentor-card-soon:hover { transform: none; border-color: var(--champagne-dim); }
.soon-label-dark { color: var(--champagne); }
.soon-sub-dark { color: var(--offwhite-soft); font-weight: 300; }

.program-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.program-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 16px;
}
.program-outcome {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.program-bottom { margin-top: 30px; }
.program-mentor {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 0;
  border-top: 1px solid var(--line-faint);
  margin-bottom: 16px;
}
.program-mentor-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.program-mentor-cred { font-size: 13px; color: var(--ink-faint); }

.program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.program-format {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.program-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--bronze);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.program-link .link-arrow { transition: transform .3s var(--ease); }
.program-link:hover { color: var(--ink); }
.program-link:hover .link-arrow { transform: translateX(4px); }
.program-link-dark { color: var(--champagne); }
.program-link-dark:hover { color: var(--offwhite); }

/* Stretched link — целата картичка е кликабилна преку „Види програма" */
.program-card .program-link::after,
.mentor-card .program-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* =========================================================
   5. Why
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-card {
  background: var(--cream);
  padding: clamp(34px, 4vw, 52px);
  transition: background .4s var(--ease);
}
.why-card:hover { background: var(--paper); }
.why-index {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 30px;
  color: var(--champagne-dim);
  display: block;
  margin-bottom: 22px;
}
.why-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink);
  margin-bottom: 14px;
}
.why-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 42ch;
}

/* =========================================================
   6. Format
   ========================================================= */
.format-list {
  list-style: none;
  border-top: 1px solid var(--line-light);
}
.format-list li {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line-light);
  transition: padding-left .35s var(--ease);
}
.format-list li:hover { padding-left: 12px; }
.format-num {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--champagne-dim);
  min-width: 36px;
}
.format-text {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.format-note {
  margin-top: 36px;
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: clamp(20px, 4vw, 84px);
}
.format-note strong { color: var(--bronze); font-weight: 600; }

/* =========================================================
   7. Mentors (dark)
   ========================================================= */
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.mentor-card {
  position: relative;
  background: var(--charcoal-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.mentor-card:hover { border-color: var(--champagne-dim); transform: translateY(-4px); }
.mentor-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 38%, rgba(201,169,107,0.10), transparent 60%),
    var(--charcoal-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.mentor-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 1;
  filter: sepia(0.12) saturate(0.92) contrast(0.96) brightness(0.95);
}
/* SMX logo as placeholder inside an empty mentor card */
.mentor-photo img.photo-logo {
  position: static;
  width: 110px;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.45;
}
.mentor-photo span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: rgba(201,169,107,0.45);
}
.mentor-body { padding: 24px 22px 26px; }
.mentor-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 19px;
  color: var(--offwhite);
  margin-bottom: 6px;
}
.mentor-area {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}
.mentor-cred {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--offwhite-soft);
  margin-bottom: 18px;
  font-weight: 300;
}

/* =========================================================
   8. Value
   ========================================================= */
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.value-copy { position: sticky; top: 110px; }
.value-list {
  list-style: none;
  border-top: 1px solid var(--line-light);
}
.value-list li {
  position: relative;
  padding: 22px 0 22px 40px;
  border-bottom: 1px solid var(--line-light);
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink);
}
.value-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 28px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}

/* =========================================================
   9. FAQ
   ========================================================= */
.faq-container { max-width: 880px; }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--ink);
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bronze); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--bronze);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after  { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-answer {
  padding: 0 4px 30px;
  max-width: 64ch;
}
.faq-answer p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.faq-item[open] summary { color: var(--bronze); }

/* =========================================================
   10. Final CTA
   ========================================================= */
.final-cta {
  position: relative;
  background: var(--charcoal);
  color: var(--offwhite);
  padding-block: clamp(88px, 13vw, 156px);
  overflow: hidden;
  text-align: center;
}
.final-glow {
  top: auto; bottom: -30%; right: 50%;
  transform: translateX(50%);
  width: 90vw; max-width: 900px;
}
.final-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-inner .eyebrow::before { display: none; }
.final-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--offwhite);
  max-width: 22ch;
}
.final-sub {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  color: var(--offwhite-soft);
  max-width: 56ch;
  font-weight: 300;
}
.final-actions {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--charcoal-2);
  color: var(--offwhite-soft);
  padding-block: clamp(56px, 8vw, 84px) 32px;
  border-top: 1px solid var(--line-dark);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { max-width: 360px; }
.footer-tag {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--offwhite-soft);
  font-weight: 300;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-size: 14.5px;
  color: var(--offwhite-soft);
  transition: color .25s var(--ease);
}
.footer-nav a:hover { color: var(--champagne); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-head {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 2px;
}
.footer-contact > a {
  font-size: 14.5px;
  color: var(--offwhite-soft);
  transition: color .25s var(--ease);
}
.footer-contact > a:hover { color: var(--champagne); }
.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}
.footer-social a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--offwhite-soft);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a:hover { color: var(--champagne); border-color: var(--champagne-dim); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* =========================================================
   Course detail page (/new-managers и идни програми)
   ========================================================= */
.course-hero { padding-top: clamp(110px, 14vh, 150px); }
.course-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.course-title { font-size: clamp(30px, 4.2vw, 52px); max-width: 22ch; }

.mentor-line {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--offwhite-soft);
}
.mentor-line strong { color: var(--offwhite); font-weight: 500; }

.premium-statement {
  margin-top: 18px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  color: var(--champagne);
  max-width: 40ch;
}

.course-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Mentor photo — editorial frame */
.mentor-visual { display: flex; flex-direction: column; gap: 18px; }
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 30%, rgba(201,169,107,0.12), transparent 62%),
    var(--charcoal-3);
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 169, 107, 0.30);
  pointer-events: none;
  z-index: 2;
}
.photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.92) contrast(0.96) brightness(0.95);
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(20, 17, 15, 0) 55%, rgba(20, 17, 15, 0.28) 100%);
  pointer-events: none;
}
.photo-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 76px);
  color: rgba(201, 169, 107, 0.35);
  z-index: 0;
}
.photo-card {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  background: rgba(20, 17, 15, 0.92);
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  padding: 14px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.photo-card-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--offwhite);
}
.photo-card-role {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat-card {
  background: var(--charcoal-2);
  padding: 16px 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--offwhite-soft);
  font-weight: 300;
}
.stat-card span {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--champagne);
  margin-bottom: 3px;
}

/* Wide editorial titles */
.section-title-wide { max-width: 30ch; }

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.problem-card {
  background: var(--paper);
  padding: 28px 22px 30px;
  transition: background .4s var(--ease);
}
.problem-card:hover { background: var(--cream); }
.problem-num {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 17px;
  color: var(--champagne-dim);
  margin-bottom: 16px;
}
.problem-card p {
  font-family: var(--font-head);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

/* Premium note */
.note-premium {
  margin-top: 30px;
  padding: 20px 24px;
  border-left: 2px solid var(--bronze);
  background: var(--paper);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Outcome cards */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}
.outcome-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line-light);
  padding: 24px 24px 26px;
  transition: border-color .4s var(--ease);
}
.outcome-card:hover { border-color: var(--champagne-dim); }
.outcome-num {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 17px;
  color: var(--champagne-dim);
  flex-shrink: 0;
  padding-top: 2px;
}
.outcome-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* Framework */
.fw-path {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: wrap;
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--offwhite);
  margin-bottom: 28px;
}
.fw-arrow { color: var(--champagne); font-size: 0.7em; }
.fw-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  color: var(--offwhite-soft);
  max-width: 58ch;
  margin-bottom: clamp(40px, 5vw, 64px);
  font-weight: 300;
}
.fw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.fw-block {
  background: var(--charcoal-2);
  padding: clamp(26px, 3vw, 38px) clamp(22px, 2.4vw, 30px);
  transition: background .4s var(--ease);
}
.fw-block:hover { background: var(--charcoal-3); }
.fw-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--champagne);
  border: 1px solid rgba(201, 169, 107, 0.35);
  padding: 5px 12px;
  margin-bottom: 20px;
}
.fw-block h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--offwhite);
  margin-bottom: 12px;
}
.fw-block p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--offwhite-soft);
  font-weight: 300;
}

/* Sessions accordion */
.session-list { border-top: 1px solid var(--line-light); }
.session-item { border-bottom: 1px solid var(--line-light); }
.session-item summary {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
}
.session-item summary::-webkit-details-marker { display: none; }
.session-num {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-width: 76px;
  flex-shrink: 0;
}
.session-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.session-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze);
}
.session-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(19px, 2.4vw, 26px);
  color: var(--ink);
  transition: color .25s var(--ease);
}
.session-item summary:hover .session-title { color: var(--bronze); }
.session-item[open] .session-title { color: var(--bronze); }
.session-body { padding: 0 4px 32px calc(76px + clamp(18px, 3vw, 40px)); }
.session-question {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 17.5px;
  color: var(--ink);
  margin-bottom: 18px;
}
.session-topics {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  max-width: 760px;
}
.session-topics li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.session-topics li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 1px;
  background: var(--bronze);
}

/* Interview model */
.interview-inner { max-width: 820px; }
.interview-text {
  margin-top: 28px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8;
  color: var(--ink-soft);
}
.interview-quote {
  margin-top: 34px;
  padding-left: 26px;
  border-left: 2px solid var(--bronze);
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
  color: var(--ink);
}

/* Mentor split (dark) */
.mentor-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.mentor-split-visual { position: sticky; top: 110px; }
.mentor-split-copy .section-lead + .section-lead { margin-top: 16px; }
.cred-list {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
}
.cred-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14.5px;
  color: var(--offwhite-soft);
  font-weight: 300;
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 14px; height: 1px;
  background: var(--champagne);
}
.mentor-cta { margin-top: 36px; }

/* Format info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.info-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-card-wide { grid-column: span 2; }
/* Dark highlight card — for the key pricing info */
.info-card-highlight {
  background: var(--charcoal-2);
  border-color: var(--champagne-dim);
}
.info-card-highlight .info-label { color: var(--champagne); }
.info-card-highlight .info-value { color: var(--offwhite); }
/* Struck-through regular price (next to the highlighted intro price) */
.info-value.info-value-strike {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--bronze);
  color: var(--ink-faint);
}
.info-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.info-value {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
}
.info-sub {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  margin-top: -2px;
}
.info-card-highlight .info-sub { color: var(--offwhite-soft); }
.format-cta {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.format-note-flat { margin-top: 0; padding-left: 0; max-width: 52ch; }

/* Apply form */
.apply-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.apply-copy { position: sticky; top: 110px; }
.apply-form { display: flex; flex-direction: column; gap: 26px; }
.apply-form[hidden] { display: none; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-row-half > div { display: flex; flex-direction: column; gap: 8px; }
.apply-form label,
.form-fieldset legend {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-light);
  padding: 10px 2px 12px;
  border-radius: 0;
  transition: border-color .3s var(--ease);
}
.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-bottom-color: var(--bronze);
}
.apply-form textarea { resize: vertical; min-height: 96px; }
.form-fieldset { border: none; padding: 0; }
.form-fieldset legend { margin-bottom: 14px; }
.radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-faint);
  cursor: pointer;
  font-size: 15px;
  color: var(--ink-soft);
}
.radio-row input {
  accent-color: var(--bronze);
  width: 16px; height: 16px;
  cursor: pointer;
}
.radio-row span { line-height: 1.4; }
.form-submit { margin-top: 8px; align-self: flex-start; }
.form-submit:disabled { opacity: 0.55; cursor: default; }

/* Honeypot — невидливо поле против ботови */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.form-error {
  font-size: 14px;
  line-height: 1.6;
  color: #A8442F;
  border-left: 2px solid #A8442F;
  padding-left: 14px;
}

.apply-thanks {
  border: 1px solid var(--line-light);
  border-left: 2px solid var(--bronze);
  background: var(--paper);
  padding: 40px 38px;
}
.apply-thanks h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
}
.apply-thanks p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 28px);
  align-items: stretch;
}
.compare-col {
  background: var(--paper);
  border: 1px solid var(--line-light);
  padding: clamp(28px, 3.4vw, 44px);
}
.compare-col-accent { border-color: var(--champagne-dim); border-top: 2px solid var(--bronze); }
.compare-head {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--ink);
  margin-bottom: 22px;
}
.compare-list { list-style: none; }
.compare-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line-faint);
  font-size: 15px;
  line-height: 1.6;
}
.compare-list li:last-child { border-bottom: none; }
.compare-list-plain li { color: var(--ink-faint); }
.compare-list-plain li::before {
  content: "";
  position: absolute;
  left: 4px; top: 22px;
  width: 12px; height: 1px;
  background: var(--ink-faint);
}
.compare-list-accent li { color: var(--ink); }
.compare-list-accent li::before {
  content: "";
  position: absolute;
  left: 2px; top: 18px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--bronze);
  border-bottom: 1.5px solid var(--bronze);
  transform: rotate(-45deg);
}

.final-note { margin-top: 28px; }

/* Course page small extensions */
.fw-grid-5 { grid-template-columns: repeat(5, 1fr); }
.session-subhead {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 24px 0 12px;
}
.why-card-wide { grid-column: 1 / -1; }

/* Course page responsive */
@media (max-width: 1024px) {
  .fw-grid-5 { grid-template-columns: 1fr 1fr; }
  .fw-grid-5 .fw-block:last-child { grid-column: 1 / -1; }
  .course-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .mentor-visual { max-width: 460px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card:last-child { grid-column: span 2; }
  .fw-grid { grid-template-columns: 1fr 1fr; }
  .mentor-split { grid-template-columns: 1fr; }
  .mentor-split-visual { position: static; max-width: 420px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-card-wide { grid-column: span 2; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .apply-copy { position: static; }
}

@media (max-width: 720px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card:last-child { grid-column: auto; }
  .fw-grid,
  .fw-grid-5 { grid-template-columns: 1fr; }
  .session-body { padding-left: 4px; }
  .session-topics { grid-template-columns: 1fr; }
  .session-item summary { flex-wrap: wrap; gap: 10px 18px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card-wide { grid-column: auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .form-row-half { grid-template-columns: 1fr; }
  .format-cta { flex-direction: column; align-items: flex-start; }
  .format-cta .btn,
  .course-actions .btn,
  .mentor-cta,
  .form-submit { width: 100%; }
}

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-cards { max-width: 520px; }

  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-card { padding: 32px 24px; border-bottom: 1px solid var(--line-faint); }
  .benefit-card:nth-child(2) { border-right: none; }

  .program-grid { grid-template-columns: 1fr 1fr; }
  .mentor-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .audience-grid,
  .value-grid { grid-template-columns: 1fr; gap: 36px; }
  .value-copy { position: static; }

  .prose { margin-left: 0; }

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

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

  /* Long Macedonian CTAs must wrap, not overflow the viewport */
  .btn-lg { white-space: normal; text-align: center; line-height: 1.4; }
  .hero-actions .btn,
  .final-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .hero-cards { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: none; }
  .mentor-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
