/* =========================================================
   Ангел Тодоров - landing page
   ========================================================= */

:root {
  --accent: #c2603a;
  --accent-dark: #a94e2c;
  --accent-soft: #f6e6dc;
  --accent-light: #e39468;

  --bg: #f3eee7;
  --bg-alt: #ece6de;
  --card: #fbf8f4;
  --line: #e2dad0;

  --ink: #1f1c19;
  --ink-2: #3b3530;
  --muted: #6f665e;

  --dark: #181614;
  --dark-2: #22201d;
  --dark-green: #232a27;
  --on-dark: #f2ece4;
  --on-dark-muted: #bdb3a7;

  --serif: "Source Serif 4", "Georgia", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --script: "Marck Script", cursive;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -20px rgba(30, 20, 10, .35);
  --container: 1400px;
  --gutter: clamp(16px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "locl" 0; /* класически кирилски глифове, както в прототипа */
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 31px);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.h2-sm { font-size: clamp(24px, 2vw, 29px); }
.h2-lg { font-size: clamp(30px, 2.5vw, 36px); }

/* ---------- Buttons ---------- */
.ico { width: 16px; height: 16px; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -10px rgba(194, 96, 58, .8); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(0,0,0,.2); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-block { width: 100%; }

.play-dot {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: var(--dark);
}
.play-dot svg { width: 12px; height: 12px; margin-left: 2px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: 14px;
}
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .2s; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.header-bar {
  display: flex; align-items: center; gap: 56px;
  background: var(--bg);
  padding: 16px 40px 16px calc(max(0px, (100vw - var(--container)) / 2) + var(--gutter));
  border-bottom-right-radius: 16px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.4);
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand-mark { display: block; flex: none; width: auto; height: 44px; }
.brand-text { display: flex; flex-direction: column; justify-content: center; }
/* Златното „ANGEL TODOROV“ - по-дребно от AT, както в логото. */
.brand-name-img { display: block; width: auto; height: 15px; }
.brand-text .brand-tag { margin-top: 6px; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.brand-tag { white-space: nowrap; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.main-nav a { white-space: nowrap; position: relative; padding: 4px 0; color: var(--ink-2); transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); font-weight: 600; }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 22px; padding: 18px calc(max(0px, (100vw - var(--container)) / 2) + var(--gutter)) 0 0; }
.icon-btn { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; display: grid; }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }

/* Sticky state */
/* Бутонът в хедъра: скрит до първото скролиране (мястото му остава, за да не скача менюто). */
.header-cta { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.site-header.is-scrolled .header-cta { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .header-cta, .site-header.is-scrolled .header-cta { transition: none; transform: none; } }

.site-header.is-stuck {
  position: fixed;
  background: rgba(243, 238, 231, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px -14px rgba(0,0,0,.35);
  align-items: center;
  animation: slideDown .3s ease;
}
.site-header.is-stuck .header-bar { box-shadow: none; background: transparent; padding-top: 12px; padding-bottom: 12px; }
.site-header.is-stuck .header-actions { padding-top: 0; }
.site-header.is-stuck .icon-btn { color: var(--ink); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 55% 40%, rgba(90, 70, 50, .35), transparent 70%),
    radial-gradient(40% 60% at 92% 70%, rgba(60, 80, 55, .35), transparent 70%),
    linear-gradient(90deg, #211d19 0%, #15130f 45%, #1c1a16 75%, #2a2721 100%);
}
.hero-bg::after { /* soft vertical "window light" stripes like the blurred interior */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 40px, transparent 40px 140px);
  mask-image: linear-gradient(90deg, #000 0 35%, transparent 60%, #000 90%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  grid-template-rows: 1fr auto;
  column-gap: 24px;
  min-height: 590px;
  padding-top: 96px;
  padding-bottom: 30px;
}
.hero-copy { grid-column: 1; grid-row: 1; align-self: center; position: relative; z-index: 2; padding-bottom: 10px; max-width: 570px; }
.hero-copy .eyebrow { color: var(--accent-light); font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 22px;
  max-width: 440px;
}
.hero-lead { font-size: 15.5px; color: #e7dfd5; max-width: 490px; margin-bottom: 28px; }
.hero-ctas .btn { padding: 13px 22px; font-size: 14px; }
.hero-ctas .btn-ghost { padding: 9px 20px 9px 10px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-photo {
  position: absolute;
  top: 48px; bottom: 0;
  left: 35.5%;
  z-index: 1;
}
.hero-photo img {
  width: auto; height: 100%; max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0, #000 18%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 86%, transparent 100%), linear-gradient(0deg, transparent 0, #000 18%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.event-card {
  grid-column: 2; grid-row: 1 / span 2;
  align-self: start;
  position: relative; z-index: 3;
  background: #f1ece6;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px 22px 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  margin-top: -52px;
}
.event-kicker { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; margin-bottom: 14px; }
.event-date { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.event-cal { width: 34px; height: 34px; color: var(--accent); flex: none; }
.event-date strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.15; }
.event-date span { font-size: 15px; color: var(--ink-2); }
.event-topic-label { font-size: 15px; margin-bottom: 2px; }
.event-topic { font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }

.check-list { display: grid; gap: 10px; margin-bottom: 20px; font-size: 13px; letter-spacing: -.005em; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.signup-form { display: grid; gap: 12px; }
.signup-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #cfc6bb;
  border-radius: 7px;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.signup-form input::placeholder { color: #8a8178; }
.signup-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194, 96, 58, .18); }
.signup-form input.is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.signup-form .btn { margin-top: 8px; }
.form-note { text-align: center; font-size: 12px; color: var(--muted); }

.hero-stats {
  grid-column: 1; grid-row: 2;
  display: flex; gap: 36px; flex-wrap: wrap;
  position: relative; z-index: 2;
  padding-top: 18px;
}
.hero-stats li { display: flex; align-items: center; gap: 12px; }
.hero-stats svg { width: 34px; height: 34px; color: #e9e1d6; flex: none; }
.hero-stats strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; }
.hero-stats strong.stat-text { font-size: 15px; }
.hero-stats span { font-size: 12.5px; color: var(--on-dark-muted); }
.hero-stats li:last-child { text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* =========================================================
   LOGOS
   ========================================================= */
.logos { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.logos-row { display: flex; align-items: center; gap: 32px; min-height: 84px; }
.logos-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.logos-list { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logos-list img { height: 26px; width: auto; opacity: .9; transition: opacity .2s; }
.logos-list img:hover { opacity: 1; }
.logos-row .link-arrow { white-space: nowrap; }

/* =========================================================
   AUDIENCE + APPROACH
   ========================================================= */
.audience { padding: 22px 0 18px; }
.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1.35fr);
  gap: 36px;
  align-items: stretch;
}
.audience-copy { padding-top: 10px; }
.lead-sm { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; max-width: 460px; }
.aud-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aud-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 8px 24px -18px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.aud-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.aud-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 12px; }
.aud-icon svg { width: 20px; height: 20px; }
.aud-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
.tick-list { display: grid; gap: 7px; font-size: 12.5px; color: var(--ink-2); margin-bottom: 18px; flex: 1; }
.tick-list li { display: flex; gap: 8px; align-items: flex-start; }
.tick-list svg { width: 12px; height: 12px; color: var(--accent); flex: none; margin-top: 4px; }

.audience-photo { border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.audience-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.audience-photo:hover img { transform: scale(1.03); }

.approach { padding-top: 14px; }
.approach-body { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 12px 26px; margin-top: 18px; }
.steps { display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 16px; }
.step-icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.35);
}
.step-icon svg { width: 22px; height: 22px; }
.steps strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.steps div span { font-size: 12.5px; color: var(--ink-2); display: block; line-height: 1.4; }
.approach-body .step-wide { grid-column: 1 / -1; margin-top: 4px; }

.quote {
  border-left: 1px solid var(--line);
  padding: 4px 0 0 22px;
  align-self: start;
  position: relative;
}
.quote p { font-family: var(--script); font-size: 23px; line-height: 1.55; color: var(--ink); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 13.5px; color: var(--ink-2); }
.quote cite::before { content: ""; display: inline-block; width: 12px; height: 14px; border-left: 1px solid var(--accent); border-bottom: 1px solid var(--accent); margin-right: 10px; vertical-align: -2px; }

.approach-body .quote { grid-column: 2; grid-row: 1; }

/* =========================================================
   VIDEO REVIEWS
   ========================================================= */
.reviews {
  background:
    radial-gradient(60% 120% at 20% 50%, rgba(80, 60, 40, .25), transparent 70%),
    linear-gradient(180deg, #1d1b18, #171513);
  color: var(--on-dark);
  padding: 14px 0;
}
.reviews-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px; align-items: center; }
.reviews-copy .eyebrow { color: var(--accent-light); }
.reviews-copy .h2 { color: #fff; }
.reviews-copy p:not(.eyebrow) { color: #ddd4c9; font-size: 15px; margin-bottom: 26px; max-width: 520px; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card {
  text-align: left; color: inherit;
  background: #232120;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(227, 148, 104, .6); }
.review-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.review-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.review-card:hover .review-thumb img { transform: scale(1.05); }
.review-body { position: relative; display: block; padding: 12px 14px 14px; }
.review-quote { display: block; font-size: 13px; font-weight: 500; line-height: 1.4; margin-bottom: 10px; color: #fff; }
.review-meta { display: block; font-size: 11.5px; color: var(--on-dark-muted); padding-right: 30px; line-height: 1.4; }
.review-meta strong { display: block; color: #eee6dc; font-weight: 600; }
.review-play {
  position: absolute; right: 12px; bottom: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--accent-light);
  color: var(--accent-light);
  display: grid; place-items: center;
}
.review-play svg { width: 9px; height: 9px; margin-left: 1px; }

/* =========================================================
   ACADEMY
   ========================================================= */
.academy { padding: 22px 0 34px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head .h2 { margin-bottom: 6px; }
.section-head .link-arrow { margin-bottom: 44px; }
.section-sub { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.courses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.course {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 22px -18px rgba(0,0,0,.35);
  transition: transform .25s, box-shadow .25s;
}
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course img { width: 100%; aspect-ratio: 3.4 / 1; object-fit: cover; }
.course-body { padding: 14px 14px 12px; display: flex; flex-direction: column; flex: 1; }
.course h3 { font-size: 14px; font-weight: 700; line-height: 1.3; }
.course-count { font-size: 12.5px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.course-foot p { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.circle-arrow {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.circle-arrow svg { width: 13px; height: 13px; }
.course:hover .circle-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

/* =========================================================
   MENTORSHIP
   ========================================================= */
.mentor {
  display: grid;
  grid-template-columns: 21.5% 34% 1fr;
  background: var(--dark);
  color: var(--on-dark);
  min-height: 300px;
}
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.mentor-copy {
  padding: 26px 36px 30px 22px;
  background:
    radial-gradient(40% 90% at 88% 50%, rgba(140, 115, 90, .35), transparent 70%),
    linear-gradient(90deg, #1b1a17 0%, #282520 70%, #1d1b18 100%);
  display: flex; flex-direction: column; justify-content: center;
}
.mentor-copy .eyebrow { color: var(--accent-light); }
.mentor-copy .h2 { color: #fff; }
.mentor-copy p:not(.eyebrow) { font-size: 14.5px; color: #ddd4c9; margin-bottom: 24px; }
.mentor-copy .btn { align-self: flex-start; }
.mentor-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px 16px;
  align-content: center;
  padding: 30px 40px 30px 32px;
  background: linear-gradient(135deg, #1d201e, #161816);
}
.mentor-features li { display: flex; align-items: flex-start; gap: 10px; }
.mentor-features svg { width: 27px; height: 27px; color: var(--accent-light); flex: none; }
.mentor-features strong { display: block; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.mentor-features span { display: block; white-space: nowrap; font-size: 12px; line-height: 1.5; color: var(--on-dark-muted); }

/* =========================================================
   BALANCE + CTA
   ========================================================= */
.balance { display: grid; grid-template-columns: 37.5% 33% 1fr; min-height: 290px; }
.balance-copy {
  padding: 26px 36px 30px var(--gutter);
  background: linear-gradient(180deg, #f1ebe3, #ede5db);
  display: flex; flex-direction: column; justify-content: center;
}
.balance-copy .h2 { font-size: clamp(24px, 1.95vw, 28px); }
.balance-copy p:not(.eyebrow) { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.balance-copy .btn { align-self: flex-start; margin-top: 10px; }
.balance-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.balance-cta {
  background: var(--dark-green);
  color: #fff;
  padding: 26px var(--gutter) 26px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.balance-cta .eyebrow { color: var(--accent-light); font-size: 12px; }
.cta-title { font-family: var(--sans); font-size: 20px; font-weight: 500; line-height: 1.4; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup-form--inline input { background: #efe9e2; border-color: transparent; }
.signup-form--inline .form-note { color: #c3bbb0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg); padding: 26px 0 18px; }
.footer-top { display: flex; align-items: center; gap: 32px; padding-bottom: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; white-space: nowrap; gap: 12px 26px; font-size: 13.5px; font-weight: 500; margin-left: auto; }
.footer-nav a:hover { color: var(--accent); }
.socials { display: flex; gap: 22px; margin-left: auto; }
.socials a { color: var(--ink); transition: color .2s, transform .2s; }
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; display: block; }
.footer-motto { white-space: nowrap; font-family: var(--script); font-size: 22px; line-height: 1.3; color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .sep { margin: 0 12px; }

/* =========================================================
   MODAL + TOAST
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 8, 6, .75); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: min(820px, 100%);
  background: var(--dark-2); color: #fff;
  border-radius: var(--radius); padding: 18px 18px 22px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8);
  animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.modal-video { aspect-ratio: 16 / 9; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #3a332c, #141210); display: grid; place-items: center; margin-bottom: 14px; }
.play-dot--lg { width: 72px; height: 72px; background: var(--accent); color: #fff; }
.play-dot--lg svg { width: 28px; height: 28px; margin-left: 4px; }
.modal-title { font-weight: 600; }
.modal-note { font-size: 14px; color: var(--on-dark-muted); }
.modal-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform .35s ease, visibility 0s .35s;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .35s ease; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .main-nav { gap: 20px; }
  .header-bar { gap: 32px; }
  .logos-list img { height: 20px; }
  .logos-row { gap: 20px; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .audience-photo { grid-column: 2; grid-row: 1; }
  .approach { grid-column: 1 / -1; }
  .approach-body { grid-template-columns: 1.4fr 1fr; }
  .courses { grid-template-columns: repeat(3, 1fr); }
  .mentor { grid-template-columns: 28% 1fr; }
  .mentor-features { grid-column: 1 / -1; padding-left: var(--gutter); }
  .balance { grid-template-columns: 1fr 1fr; }
  .balance-cta { grid-column: 1 / -1; padding-left: var(--gutter); }
  .footer-top { flex-wrap: wrap; }
}

@media (max-width: 1080px) {
  /* mobile navigation */
  .site-header { background: var(--bg); align-items: center; box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); }
  .header-bar { box-shadow: none; background: transparent; }
  .header-actions { padding-top: 0; }
  .icon-btn { color: var(--ink); }
  .nav-toggle {
    display: grid; gap: 5px; width: 42px; height: 42px; place-content: center;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.4);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr minmax(0, 1fr); grid-template-rows: auto auto auto; padding-top: 120px; min-height: 0; row-gap: 32px; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-photo { position: relative; top: auto; left: auto; width: auto; grid-column: 1; grid-row: 2; margin: 0 0 -30px -20px; }
  .hero-photo img { width: 100%; height: auto; max-width: 100%; }
  .event-card { grid-column: 2; grid-row: 2; margin-top: 0; align-self: center; }
  .hero-stats { grid-column: 1 / -1; grid-row: 3; }

  .reviews { padding: 40px 0; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-actions .btn { display: none; }
  .header-bar { padding-right: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-photo { grid-column: 1; grid-row: 2; margin: -10px auto -20px; max-width: 380px; }
  .event-card { grid-column: 1; grid-row: 3; }
  .hero-stats { grid-row: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-ctas .btn { flex: 1 1 100%; white-space: normal; text-align: center; }

  .logos-row { flex-wrap: wrap; justify-content: center; padding-top: 18px; padding-bottom: 18px; }
  .logos-title { width: 100%; text-align: center; }
  .logos-list { flex-wrap: wrap; justify-content: center; gap: 18px 26px; }

  .audience { padding-top: 40px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-photo { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .aud-cards { grid-template-columns: 1fr; }
  .approach-body { grid-template-columns: 1fr; }
  .approach-body .quote { grid-column: 1; grid-row: auto; }

  .review-cards { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .link-arrow { margin-bottom: 0; }
  .courses { grid-template-columns: 1fr; }

  .mentor { grid-template-columns: 1fr; }
  .mentor-photo { aspect-ratio: 4 / 3; }
  .mentor-copy, .mentor-features { padding: 32px var(--gutter); }
  .mentor-features { grid-template-columns: 1fr 1fr; gap: 24px 16px; }

  .balance { grid-template-columns: 1fr; }
  .balance-copy, .balance-cta { padding: 36px var(--gutter); }
  .balance-photo { aspect-ratio: 16 / 9; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .footer-nav, .socials { margin-left: 0; }
  .footer-nav { gap: 12px 22px; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================
   ВЪТРЕШНИ СТРАНИЦИ И ОБЩИ КОМПОНЕНТИ
   ========================================================= */
button, input, textarea, select { font: inherit; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: inherit; }
.linklike:hover { color: var(--accent); }

/* ---------- Плътен хедър (всички страници без началната) ---------- */
.site-header--solid {
  position: sticky; top: 0;
  background: rgba(243, 238, 231, .97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  align-items: center;
}
.site-header--solid .header-bar { box-shadow: none; background: transparent; border-radius: 0; }
.site-header--solid .header-actions { padding-top: 0; }
.site-header--solid .icon-btn { color: var(--ink); }
.main-nav a.is-active { color: var(--ink); font-weight: 600; }
.main-nav a.is-active::after { transform: scaleX(1); }

/* ---------- Бутони: допълнения ---------- */
.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Форми ---------- */
.form-error {
  background: #fbe9e4; color: #8a2e14; border: 1px solid #efc2b3;
  border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin: 0 0 4px;
}
.balance-cta .form-error { background: rgba(255,255,255,.1); color: #ffd9c9; border-color: rgba(255,255,255,.2); }
.event-empty { font-size: 14px; color: var(--ink-2); margin: -6px 0 16px; }
.captcha-box { display: flex; flex-direction: column; align-items: flex-start; }
.captcha-err { color: #b3261e; font-size: 13px; margin: 4px 0 0; }

.form-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 12px 30px -22px rgba(0,0,0,.35);
}
.form-card h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); margin-bottom: 18px; font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid #cfc6bb; border-radius: 8px;
  background: #fff; font-size: 15px; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,96,58,.18); }
.field .is-invalid, .check-field .is-invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin: 4px 0 16px; }
.check-field input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check-field a { color: var(--accent); text-decoration: underline; }

/* ---------- Заглавна лента на вътрешна страница ---------- */
.page-hero {
  background:
    radial-gradient(50% 120% at 85% 20%, rgba(140,115,90,.30), transparent 70%),
    linear-gradient(90deg, #1b1a17, #262320);
  color: var(--on-dark);
  padding: 64px 0 56px;
}
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; color: #fff; margin-bottom: 14px; max-width: 900px; }
.page-hero p.lead { color: #ddd4c9; font-size: 17px; max-width: 720px; }
.page-hero .crumbs { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 18px; }
.page-hero .crumbs a:hover { color: #fff; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .h2 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-light); }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.container-mid { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Текст на статия и правни страници ---------- */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 21px; font-weight: 700; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.prose img { border-radius: 10px; height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose pre { background: var(--dark); color: #eee; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose strong { color: var(--ink); }

/* ---------- Адаптивно вградено видео ---------- */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@supports not (aspect-ratio: 16 / 9) {
  .video-embed { height: 0; padding-bottom: 56.25%; }
}

/* ---------- Статия ---------- */
.article-head { padding: 48px 0 28px; }
.article-head .eyebrow a:hover { text-decoration: underline; }
.article-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 50px); line-height: 1.12; margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; color: var(--muted); }
.post-meta .dot { opacity: .6; }
.post-meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }
.article-media { margin-bottom: 36px; }
.article-cover img { width: 100%; border-radius: var(--radius); height: auto; }
.article-body { padding-bottom: 12px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.post-tags span, .post-tags a { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--bg-alt); color: var(--ink-2); }
.draft-note { background: #fff4d6; border: 1px solid #f0d58a; border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-top: 24px; }

.cta-box {
  margin: 48px 0 8px;
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(194,96,58,.25), transparent 60%),
    var(--dark-green);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.cta-box h2, .cta-box h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; color: #fff; margin: 0 0 10px; }
.cta-box p { color: #ddd4c9; margin: 0 0 12px; font-size: 16.5px; }
.cta-box a:not(.btn) { color: var(--accent-light); text-decoration: underline; }
.cta-box .cta-actions { margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

.author-card { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 0; padding: 22px; background: var(--card); border-radius: var(--radius); }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.author-card .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.author-card .n { font-weight: 700; margin: 0 0 6px; }
.author-card p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 8px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; }
.post-nav a { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); max-width: 45%; }
.post-nav a:hover { color: var(--accent); }
.post-nav svg { width: 16px; height: 16px; flex: none; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--on-dark-muted); }
.back-link:hover { color: #fff; }
.back-link svg { width: 16px; height: 16px; }

/* ---------- Блог: списък ---------- */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.cat-filter a { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--card); color: var(--ink-2); border: 1px solid var(--line); }
.cat-filter a:hover { border-color: var(--ink); }
.cat-filter a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-filter .n { opacity: .6; font-weight: 500; margin-left: 4px; }
.blog-search { display: flex; gap: 8px; margin-bottom: 20px; max-width: 520px; }
.blog-search input { flex: 1; padding: 11px 16px; border: 1px solid #cfc6bb; border-radius: 999px; background: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 26px -22px rgba(0,0,0,.4); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--bg-alt); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb.is-generated { background: var(--thumb-grad); display: grid; place-items: center; color: rgba(255,255,255,.85); }
.post-thumb.is-generated svg { width: 44px; height: 44px; }
.post-thumb.is-video::after { content: ""; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(194,96,58,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='white'/%3E%3C/svg%3E") center/26px no-repeat; }
.post-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.post-card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.post-card .post-meta { margin-top: auto; font-size: 13px; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--ink-2); }
.empty-state h2, .empty-state h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 10px; color: var(--ink); }
.empty-state p { margin-bottom: 20px; }
.course-ph { display: block; aspect-ratio: 3.4 / 1; background: linear-gradient(135deg, #2b2825, #5a4a3c); }

/* ---------- Модален прозорец с истинско видео ---------- */
.modal-video iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }
.modal-video { overflow: hidden; }

/* ---------- Банер за бисквитки ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.45);
  padding: 18px 20px; display: none;
}
.cookie-banner.visible { display: block; animation: pop .25s ease; }
.cookie-banner-inner { display: flex; gap: 18px; align-items: center; }
.cookie-banner p { font-size: 13.5px; color: var(--ink-2); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex: none; }

/* ---------- Карти и решетки за вътрешните страници ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 26px -24px rgba(0,0,0,.4); }
.info-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.info-card p { font-size: 15px; color: var(--ink-2); }
.info-card .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.info-card .ic svg { width: 24px; height: 24px; }
.section-dark .info-card { background: rgba(255,255,255,.05); }
.section-dark .info-card h3 { color: #fff; }
.section-dark .info-card p { color: var(--on-dark-muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.split-img img { width: 100%; border-radius: var(--radius); height: auto; }
.stat-row { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0; }
.stat-row strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--accent); line-height: 1; }
.stat-row span { font-size: 13.5px; color: var(--muted); }
.faq details { background: var(--card); border-radius: 10px; padding: 16px 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }
.timeline { border-left: 2px solid var(--line); padding-left: 22px; }
.timeline li { position: relative; padding-bottom: 20px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline strong { display: block; }
.timeline span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Отзиви ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev-card { background: var(--card); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 10px 26px -24px rgba(0,0,0,.4); }
.rev-card blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink); }
.rev-who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.rev-who img, .rev-who .av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.rev-who .av { background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.rev-who strong { display: block; font-size: 14.5px; }
.rev-who span { font-size: 13px; color: var(--muted); }
.rev-video { position: relative; border-radius: 10px; overflow: hidden; cursor: pointer; border: 0; padding: 0; background: #000; display: block; width: 100%; }
.rev-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; }
.rev-video .review-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; background: var(--accent); border: 0; color: #fff; right: auto; bottom: auto; }
.rev-video .review-play svg { width: 22px; height: 22px; }

/* ---------- Благодаря / съобщения ---------- */
.notice-page { min-height: 60vh; display: grid; place-items: center; padding: 64px 0; }
.notice-card { max-width: 640px; text-align: center; background: var(--card); border-radius: var(--radius); padding: 40px 32px; box-shadow: var(--shadow); }
.notice-card .ok-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; }
.notice-card .ok-ic svg { width: 30px; height: 30px; }
.notice-card h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin-bottom: 12px; }
.notice-card p { color: var(--ink-2); margin-bottom: 14px; }
.notice-card .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

@media (max-width: 1080px) {
  .site-header--solid { position: sticky; }
  .post-grid, .rev-grid, .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .post-grid, .rev-grid, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: flex-end; }
  .page-hero { padding: 40px 0 36px; }
  .section { padding: 44px 0; }
  .cta-box { padding: 26px 22px; }
  .prose { font-size: 16.5px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: none; }
}
.form-consent { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: -6px; line-height: 1.45; }
.form-consent a { text-decoration: underline; }
.balance-cta .form-consent { color: #9d958a; }

/* Хедърът между 1080 и 1360px: иначе бутонът вдясно излиза от екрана. */
@media (max-width: 1360px) and (min-width: 1081px) {
  .main-nav { gap: 18px; font-size: 13.5px; }
  .header-bar { gap: 28px; padding-right: 28px; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { padding: 10px 16px; font-size: 13px; }
}
@media (max-width: 1200px) and (min-width: 1081px) {
  .brand-tag { display: none; }
}

/* =========================================================
   ПАРТНЬОРСКА ФУНИЯ
   ========================================================= */
.funnel { display: grid; gap: 8px; justify-items: center; }
.fn-arrow { color: var(--accent); font-size: 22px; line-height: 1; }
.fn-level { width: 100%; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 26px -24px rgba(0,0,0,.4); }
.fn-level::before { content: ""; display: block; height: 4px; background: var(--fn-accent); }
.fn-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 10px; }
.fn-num { width: 34px; height: 34px; border-radius: 50%; background: var(--fn-accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.fn-titles { flex: 1; }
.fn-titles h3 { font-size: 17px; font-weight: 700; }
.fn-titles p { font-size: 14px; color: var(--ink-2); }
.fn-band { font-size: 12.5px; font-weight: 700; color: var(--accent); white-space: nowrap; padding-top: 4px; }
.fn-mult { font-size: 12px; font-weight: 700; background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 999px; }
.fn-items { padding: 0 20px 14px; }
.fn-item { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px 18px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fn-name small { display: block; color: var(--muted); font-size: 12.5px; }
.fn-type { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 6px; }
.fn-rate { font-weight: 700; color: var(--accent); }
.fn-rate.is-none { color: var(--muted); font-weight: 500; }
.fn-rate s { color: var(--muted); font-weight: 400; }
.fn-term, .fn-price { color: var(--ink-2); font-size: 13px; }
.fn-locked { font-size: 12.5px; color: var(--muted); grid-column: 2 / -1; text-align: right; }
.fn-legend { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 760px) {
  .fn-item { grid-template-columns: 1fr auto; }
  .fn-term, .fn-price { grid-column: 1 / -1; }
  .fn-head { flex-wrap: wrap; }
}

/* ==========================================================================
   ПАРТНЬОРСКИ ПАНЕЛ (partnyor/)

   Ползва същите цветове и шрифтове като сайта, но е по-плътен: това е работен
   екран, не страница за убеждаване. Затова разстоянията са по-малки, а числата
   са на видно място.
   ========================================================================== */

.pn-body {background: var(--bg);}
/* ── Шапка ────────────────────────────────────────────────────────────
   Балансът стои в нея на всяка страница - това е числото, заради което
   партньорът отваря панела, и не бива да се търси. */
.pn-header {border-bottom: 1px solid var(--line);
  background: rgba(243,238,231,.96); backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 50;}
.pn-bar {display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: .9rem;}
.pn-brand {display: flex; align-items: center; gap: .6rem;}
.pn-brand img {height: 2.1rem; width: auto;}
.pn-brand span {font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding-left: .6rem;
  border-left: 1px solid var(--line);}
.pn-money {display: flex; gap: .6rem; flex-wrap: wrap;}
.pn-money-item {padding: .5rem .9rem; border-radius: 8px;
  border: 1px solid var(--line); background: var(--card);
  display: flex; flex-direction: column; gap: .1rem; min-width: 8.5rem;}
.pn-money-item .l {font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);}
.pn-money-item .v {font-family: var(--sans); font-weight: 800; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums;}
/* Дължимото свети - то е това, което се проверява. */
.pn-money-item.is-due {border-color: rgba(0,210,148,.35); background: rgba(0,187,127,.08);}
a.pn-money-item {text-decoration: none; color: inherit;}
a.pn-money-item:hover {border-color: rgba(0,210,148,.6);}
.pn-money-item.is-due .v {color: #2f7d57;}
.pn-nav {border-top: 1px solid var(--line);}
.pn-nav .container {display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none;}
.pn-nav .container::-webkit-scrollbar {display: none;}
.pn-nav a {padding: .7rem .9rem; font-size: .88rem; color: var(--ink-2);
  white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;}
.pn-nav a:hover {color: var(--ink);}
.pn-nav a.active {color: var(--ink); border-bottom-color: var(--accent);}
.pn-nav .pn-out {margin-left: auto; color: var(--muted);}
.pn-main {padding-block: 2rem 3rem;}
.pn-foot {padding-block: 1.5rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); text-align: center;}
.pn-foot a {color: var(--ink-2);}
.pn-foot a:hover {color: var(--ink);}
/* ── Типография ──────────────────────────────────────────────────────── */
.pn-h1 {font-family: var(--sans); font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em;}
.pn-h2 {margin-top: 2rem; font-family: var(--sans); font-size: 1.1rem; font-weight: 700; color: var(--ink);}
.pn-h3 {font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .9rem;}
.pn-lede {margin-top: .6rem; max-width: 46rem; font-size: .95rem; line-height: 1.65; color: var(--ink-2);}
.pn-note {margin-top: 1rem; font-size: .85rem; color: var(--ink-2); line-height: 1.6;}
.pn-note a, .pn-lede a {color: var(--accent); text-decoration: underline;}
.pn-hint {margin-top: .35rem; font-size: .78rem; color: var(--muted); line-height: 1.5;}
.pn-hint a {color: var(--accent);}
.pn-sub {display: block; font-size: .72rem; color: var(--muted);}
.pn-empty {font-size: .9rem; color: var(--ink-2); line-height: 1.6;}
.pn-empty a {color: var(--accent); text-decoration: underline;}
/* ── Карти и подредби ────────────────────────────────────────────────── */
.pn-card {margin-top: 1rem; padding: 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);}
.pn-center {text-align: center;}
.pn-narrow {max-width: 30rem; margin-inline: auto;}
.pn-narrow.is-wide {max-width: 44rem;}
.pn-two {display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start;}
@media (min-width: 760px) { .pn-two {grid-template-columns: 1fr 1fr; gap: 1.25rem;} }
.pn-grid {display: grid; gap: 0 1rem; grid-template-columns: 1fr;}
@media (min-width: 760px) { .pn-grid {grid-template-columns: 1fr 1fr;} }
.pn-big-ico {display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto .8rem; border-radius: 50%; background: rgba(194,96,58,.15); color: var(--accent);}
.pn-big-ico svg {width: 1.5rem; height: 1.5rem;}
/* ── Форми ───────────────────────────────────────────────────────────── */
.pn-f {margin-bottom: 1rem;}
.pn-f label {display: block; margin-bottom: .35rem; font-size: .82rem; font-weight: 600; color: var(--ink-2);}
.pn-f input, .pn-f textarea, .pn-filters input {width: 100%; padding: .7rem .85rem; font-size: .9rem; color: var(--ink);
  background: #fff; border: 1px solid #cfc6bb;
  border-radius: 8px;}
.pn-f input:focus, .pn-f textarea:focus {outline: 2px solid var(--accent); outline-offset: 1px;}
.pn-f textarea {resize: vertical; line-height: 1.6;}
.pn-err {margin: .5rem 0 1rem; padding: .7rem .9rem; border-radius: 8px;
  border: 1px solid rgba(255,35,87,.35); background: rgba(255,35,87,.08);
  font-size: .85rem; color: #b3261e;}
.pn-links {margin-top: 1rem; text-align: center; font-size: .85rem; color: var(--ink-2);}
.pn-links a {color: var(--accent);}
.pn-links a:hover {color: var(--ink);}
.pn-flash {margin-bottom: 1.25rem; padding: .8rem 1rem; border-radius: 8px; font-size: .88rem;
  border: 1px solid rgba(0,210,148,.3); background: rgba(0,187,127,.08); color: #1f6b46;}
.pn-flash-err {border-color: rgba(255,35,87,.35); background: rgba(255,35,87,.08); color: #b3261e;}
.pn-filters {display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem 1rem; margin-top: 1rem;}
.pn-filters label {display: flex; flex-direction: column; gap: .25rem; font-size: .78rem; color: var(--muted);}
.pn-filters input {width: auto; min-width: 9rem; padding: .5rem .7rem;}
/* Поле само за копиране: маркира се при клик, не се редактира. */
.pn-copy {width: 100%; padding: .65rem .8rem; font-size: .82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent-dark); background: rgba(194,96,58,.1);
  border: 1px solid rgba(194,96,58,.3); border-radius: 8px;
  cursor: pointer;}
.pn-label {display: block; margin-bottom: .35rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted);}
.pn-linkbox {display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem;}
.pn-linkbox > div {flex: 1 1 22rem; min-width: 0;}
/* ── Числа ───────────────────────────────────────────────────────────── */
.pn-stats {margin-top: 1.25rem; display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));}
.pn-stat {padding: 1rem .9rem; text-align: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card);}
.pn-stat .n {font-family: var(--sans); font-weight: 800; font-size: 1.5rem; color: var(--ink); font-variant-numeric: tabular-nums;}
.pn-stat .l {margin-top: .2rem; font-size: .75rem; color: var(--muted); line-height: 1.35;}
.pn-stat.is-money {border-color: rgba(0,210,148,.3); background: rgba(0,187,127,.07);}
.pn-stat.is-money .n {color: #2f7d57; font-size: 1.25rem;}
.pn-due {display: flex; align-items: center; gap: .9rem;
  border-color: rgba(0,210,148,.3); background: rgba(0,187,127,.07);
  font-size: .92rem; color: var(--ink); line-height: 1.6;}
.pn-due svg {flex-shrink: 0; width: 1.4rem; height: 1.4rem; color: #2f7d57;}
.pn-due strong {color: #2f7d57; font-size: 1.1rem;}
/* ── Стълбче по дни ──────────────────────────────────────────────────── */
.pn-bars {display: flex; align-items: flex-end; gap: .3rem; height: 8rem;}
.pn-bar {flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0;}
.pn-bar-fill {width: 100%; border-radius: 4px 4px 0 0;
  background-image: linear-gradient(180deg, var(--accent), var(--accent-dark));}
.pn-bar-d {margin-top: .3rem; font-size: .62rem; color: var(--muted); white-space: nowrap;}
/* ── Таблици ─────────────────────────────────────────────────────────── */
.pn-tbl-wrap {overflow-x: auto; -webkit-overflow-scrolling: touch;}
.pn-tbl {width: 100%; border-collapse: collapse; text-align: left; font-size: .86rem;}
.pn-tbl th {padding: .6rem .7rem; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line);
  white-space: nowrap;}
.pn-tbl td {padding: .7rem; color: var(--ink-2); border-bottom: 1px solid var(--line);}
.pn-tbl tr:last-child td {border-bottom: 0;}
.pn-tbl strong {color: var(--ink);}
.pn-th-sort {cursor: pointer; user-select: none;}
.pn-th-sort:hover, .pn-th-sort.is-on {color: var(--ink);}
.pn-kv {width: 100%; border-collapse: collapse; font-size: .86rem;}
.pn-kv th {padding: .5rem .7rem .5rem 0; text-align: left; font-weight: 600; color: var(--muted); white-space: nowrap;}
.pn-kv td {padding: .5rem 0; color: var(--ink-2);}
.pn-badge {display: inline-block; padding: .2rem .55rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; white-space: nowrap;
  border: 1px solid var(--line); color: var(--ink-2);}
.pn-badge.is-paid {border-color: rgba(0,210,148,.4); background: rgba(0,187,127,.12); color: #2f7d57;}
.pn-badge.is-pending {border-color: rgba(252,187,0,.35); background: rgba(252,187,0,.1); color: #8a6200;}
.pn-badge.is-rejected {border-color: rgba(255,35,87,.35); background: rgba(255,35,87,.08); color: #b3261e;}
/* ── Изплащания ──────────────────────────────────────────────────────── */
.pn-select {width: 100%; padding: .7rem .85rem; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #cfc6bb;
  border-radius: 8px;}
.pn-select option {color: #111;}
.pn-payreq-state p {margin-top: .6rem; font-size: .92rem; line-height: 1.6; color: var(--ink-2);}
.pn-payreq-state strong, .pn-empty strong {color: var(--ink);}
.pn-payreq-form {max-width: 28rem;}
.pn-held {margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line);}
.pn-held summary {cursor: pointer; font-size: .85rem; color: var(--accent);}
.pn-held .pn-kv {margin-top: .6rem;}
.pn-methods {display: grid; gap: 0 1rem; grid-template-columns: 1fr;}
@media (min-width: 760px) { .pn-methods {grid-template-columns: 1fr 1fr;} }
.pn-method.is-default {border-color: rgba(0,210,148,.3);}
.pn-method-head {display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; color: var(--ink);}
.pn-method .pn-kv td {word-break: break-word;}
.pn-method-actions {display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem;}
.pn-method-actions form {display: inline;}
.pn-danger {color: #b3261e; border-color: rgba(255,35,87,.35);}
.pn-method-form {max-width: 34rem;}
.pn-type-pick {display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; padding: 0; border: 0;}
.pn-type-pick .pn-label {width: 100%;}
.pn-type {display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .55rem .95rem; border-radius: 999px; font-size: .88rem; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--card);}
.pn-type input {accent-color: var(--accent);}
.pn-type.is-on {color: var(--ink); border-color: var(--accent); background: rgba(194,96,58,.15);}
.pn-check {display: flex; align-items: center; gap: .5rem; margin: .2rem 0 .4rem; font-size: .88rem; color: var(--ink-2); cursor: pointer;}
.pn-check input {width: 1.05rem; height: 1.05rem; accent-color: var(--accent);}
.pn-reason {margin-top: .3rem; color: #b3261e; white-space: normal;}
@media (max-width: 640px) {
.pn-tbl.is-cards thead {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);}
.pn-tbl.is-cards, .pn-tbl.is-cards tbody, .pn-tbl.is-cards tr, .pn-tbl.is-cards td {display: block;}
.pn-tbl.is-cards tr {display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line);}
.pn-tbl.is-cards tr:last-child {border-bottom: 0;}
.pn-tbl.is-cards td {padding: 0; border: 0; min-width: 0;}
.pn-tbl.is-cards td::before {content: attr(data-label); display: block; margin-bottom: .15rem;
    font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);}
}
/* ── Инструменти ─────────────────────────────────────────────────────── */
.pn-tools {margin-top: 1rem; display: grid; gap: 1rem; grid-template-columns: 1fr;}
@media (min-width: 760px) { .pn-tools {grid-template-columns: repeat(2, 1fr);} }
.pn-tool {padding: 1.2rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card);
  display: flex; flex-direction: column; gap: .6rem;}
.pn-tool h3 {font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink);}
.pn-tool p {font-size: .84rem; color: var(--ink-2); line-height: 1.6; flex-grow: 1;}
/* Обяснението над фунията при договорени множители - зелено, за да се връзва
   със значките в самата фуния. */
.pn-mult-note {margin-top: 1.25rem;
  border-color: rgba(0,210,148,.28);
  background: linear-gradient(180deg, rgba(0,187,127,.10), rgba(0,187,127,.03));}
.pn-mult-note p {font-size: .9rem; color: var(--ink-2); line-height: 1.65;}
.pn-mult-note strong {color: #2f7d57;}
/* Обяснението за чистите линкове - най-отгоре в „Инструменти". */
.pn-clean-intro {margin-bottom: 1.5rem;}
.pn-clean-intro h2 {font-family: var(--sans); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); margin-bottom: .6rem;}
.pn-clean-intro p {font-size: .88rem; color: var(--ink-2); line-height: 1.7; margin-bottom: .7rem;}
.pn-clean-intro code {font-size: .8rem; background: var(--line); padding: .1rem .35rem;
  border-radius: 4px; color: #2f7d57; word-break: break-all;}
.pn-clean-intro ul {display: grid; gap: .55rem; margin-top: .9rem;}
.pn-clean-intro li {font-size: .85rem; color: var(--ink-2); line-height: 1.6;
  padding-left: 1.1rem; position: relative;}
.pn-clean-intro li::before {content: '·'; position: absolute; left: .3rem; color: #2f7d57; font-weight: 800;}
.pn-clean-intro strong {color: var(--ink);}
/* Редовете в картичката на инструмента. */
.pn-tool-lbl {display: block; margin: .8rem 0 .25rem; font-size: .72rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: .05em;}
.pn-copy.is-clean {border-color: rgba(0,210,148,.3); color: #2f7d57;}
/* Компактният вариант в таблицата със статистиката. */
.pn-copy.is-mini {padding: .3rem .5rem; font-size: .76rem; min-width: 15rem;}
.pn-tbl .pn-num {text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap;}
.pn-tool-make {margin: 0;}
.pn-tool-preview {display: inline-block; margin-top: .85rem; font-size: .8rem;
  color: var(--ink-2); text-decoration: none; border-bottom: 1px dotted var(--muted);}
.pn-tool-preview:hover {color: var(--ink);}
/* Блокът за блога най-долу. */
.pn-blog-note p {font-size: .88rem; color: var(--ink-2); line-height: 1.7; margin-bottom: .7rem;}
.pn-blog-note strong {color: var(--ink);}
.pn-blog-links {display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 .8rem;}
.pn-blog-hint {font-size: .82rem !important; color: var(--muted) !important; margin-bottom: 0 !important;}
.pn-tips ul {display: grid; gap: .7rem;}
.pn-tips li {font-size: .88rem; color: var(--ink-2); line-height: 1.65; padding-left: 1.1rem; position: relative;}
.pn-tips li::before {content: '·'; position: absolute; left: .3rem; color: var(--accent); font-weight: 800;}
.pn-tips strong {color: var(--ink);}
.pn-tips a {color: var(--accent); text-decoration: underline;}
.pn-wait {margin-top: 1.2rem; text-align: left;}
.pn-wait h3 {font-family: var(--sans); font-size: .92rem; color: var(--ink); margin-bottom: .6rem;}
.pn-wait ul {display: grid; gap: .55rem;}
.pn-wait li {font-size: .86rem; color: var(--ink-2); line-height: 1.6; padding-left: 1.1rem; position: relative;}
.pn-wait li::before {content: '·'; position: absolute; left: .3rem; color: var(--accent); font-weight: 800;}
.pn-wait a {color: var(--accent);}
/* Фунията в панела: същият компонент, само по-малко въздух отгоре. */
.pn-funnel .funnel {margin-top: 1.5rem;}


.pn-main { max-width: var(--container); }
.pn-card .btn-outline { color: var(--ink); }


/* Партньорски панел: дребни корекции */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.check-row input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check-row a { color: var(--accent); text-decoration: underline; }
.pn-brand > span.brand { border: 0; padding: 0; text-transform: none; letter-spacing: 0; color: var(--ink); }
.pn-brand > span.brand .brand-name { font-size: 18px; }
.pn-bar { max-width: var(--container); }
.pn-brand span.brand span { border: 0; padding: 0; }
.pn-brand span.brand .brand-tag { font-size: 9.5px; color: var(--muted); }
.pn-brand span.brand .brand-name { text-transform: uppercase; letter-spacing: .02em; color: var(--ink); font-family: var(--serif); }

/* Телефон: дълги надписи да се пренасят, вместо да разпъват страницата */
@media (max-width: 760px) {
  .mentor-features strong, .mentor-features span { white-space: normal; }
  .mentor { grid-template-columns: minmax(0, 1fr); }
  .cta-box .btn, .notice-card .btn, .form-card .btn { white-space: normal; text-align: center; }
}

/* =========================================================
   Корекции (октомври): 4 аудитории, последни обучения в академията,
   „Повече от бизнес" без формата
   ========================================================= */
.aud-cards--4 .aud-card { padding: 18px 16px; }
.aud-cards--4 .aud-card h3 { margin-bottom: 4px; }
.aud-sub { font-size: 13px; color: var(--ink-2); line-height: 1.45; margin-bottom: 12px; }

.course--post .post-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #2b2825; }
.course--post .post-thumb img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .4s; }
.course--post:hover .post-thumb img { transform: scale(1.04); }
.course--post h3 { margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.balance { grid-template-columns: 45% 1fr; min-height: 340px; }
.balance-photo img { object-position: 50% 60%; }
@media (max-width: 1100px) { .balance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px)  { .balance { grid-template-columns: 1fr; } .balance-photo { aspect-ratio: 4 / 3; } }
.mentor-photo img { object-position: 50% 25%; }
.balance-photo { position: relative; min-height: 340px; overflow: hidden; }
.balance-photo img { position: absolute; inset: 0; height: 100%; object-position: 50% 62%; }
.balance > * { min-width: 0; }
@media (max-width: 760px) { .balance-photo { min-height: 0; } }

/* =========================================================
   Отзиви (otzivi.php) и извадките на началната страница
   ========================================================= */
.rv-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 26px; }
.rv-stats li { display: flex; flex-direction: column; }
.rv-stats strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; color: #fff; }
.rv-stats span { font-size: 13px; color: var(--on-dark-muted); }

.cat-filter button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--card); color: var(--ink-2); border: 1px solid var(--line); cursor: pointer; }
.cat-filter button:hover { border-color: var(--ink); }
.cat-filter button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-filter .n { margin-left: 6px; opacity: .6; font-weight: 500; }

.rv-wrap { max-width: 1080px; }
.rv-list { display: grid; gap: 18px; }
.rv { display: grid; grid-template-columns: 240px 1fr; gap: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px 32px; scroll-margin-top: 110px; }
.rv[hidden] { display: none; }
.rv-who { display: flex; flex-direction: column; gap: 12px; }
.rv-who > div strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.rv-who > div span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.rv-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: linear-gradient(135deg, #2b2825, #5a4a3c); color: #f1e6d8; font-family: var(--serif); font-size: 22px; letter-spacing: .02em; }
.rv-nps { font-size: 13px; color: var(--ink-2); }
.rv-nps b { color: var(--accent); font-size: 15px; }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-tags li { font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--bg-alt); border-radius: 999px; padding: 4px 10px; }
.rv-quote { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.32; color: var(--ink); margin-bottom: 16px; text-wrap: balance; }
.rv-quote--sm { font-size: clamp(19px, 1.7vw, 22px); }
.rv-text p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 10px; }
.rv-more { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.rv-more summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--accent); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.rv-more summary::-webkit-details-marker { display: none; }
.rv-more summary::after { content: "+"; font-size: 18px; line-height: 1; transition: transform .2s; }
.rv-more[open] summary::after { transform: rotate(45deg); }
.rv-more dl { margin-top: 16px; display: grid; gap: 4px; }
.rv-more dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 12px; }
.rv-more dd p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 4px 0 8px; }

.rv-recs { columns: 3 280px; column-gap: 18px; }
.rv-recs figure { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin: 0 0 18px; }
.rv-recs blockquote { font-size: 15px; line-height: 1.6; color: var(--ink); }
.rv-recs figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; }
.rv-recs figcaption a { color: var(--ink-2); }
.rv-recs figcaption a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .rv { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .rv-who { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .rv-who > div { flex: 1 1 160px; }
  .rv-nps, .rv-tags { flex-basis: 100%; }
  .rv-av { width: 52px; height: 52px; font-size: 18px; }
  .rv-stats strong { font-size: 28px; }
}

/* Извадките на началната страница - на мястото на видео ревютата */
.reviews:has(.snip-cards) { padding: 56px 0; }
.snip-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.snip-card { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 24px 22px 20px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.snip-card blockquote { font-family: var(--serif); font-size: 18.5px; line-height: 1.4; color: #fff; flex: 1; }
.snip-card figcaption { display: flex; align-items: center; gap: 12px; }
.snip-card figcaption img, .snip-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.snip-av { display: grid; place-items: center; background: rgba(227,148,104,.18); color: var(--accent-light); font-size: 13px; font-weight: 700; }
.snip-card strong { display: block; font-size: 14px; color: #fff; }
.snip-card small { display: block; font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.4; }
.snip-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-light); }
.snip-more .ico { width: 13px; height: 13px; }
.snip-more:hover { color: #fff; }
@media (max-width: 1080px) { .snip-cards { grid-template-columns: 1fr; } }

/* „На живо" в картата на уебинара */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0452b; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(224,69,43,.5); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(224,69,43,.5); } 70% { box-shadow: 0 0 0 8px rgba(224,69,43,0); } 100% { box-shadow: 0 0 0 0 rgba(224,69,43,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* =========================================================
   Търсене в хедъра - отваря се на място
   ========================================================= */
.hsearch { position: relative; display: flex; align-items: center; margin-left: -26px; }
.hsearch-btn { background: none; border: 0; padding: 8px; margin: -8px; border-radius: 50%; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; transition: color .2s, background .2s; }
.hsearch-btn svg { width: 19px; height: 19px; }
.hsearch-btn:hover, .hsearch.is-open .hsearch-btn { color: var(--accent); }
.hsearch-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hsearch-form {
  position: absolute; right: calc(100% + 6px); top: 50%; transform: translateY(-50%);
  width: 0; overflow: hidden; opacity: 0; visibility: hidden;
  transition: width .3s ease, opacity .2s ease, visibility 0s linear .3s;
}
.hsearch.is-open .hsearch-form { width: min(320px, 40vw); opacity: 1; visibility: visible; transition: width .3s ease, opacity .2s ease, visibility 0s; }
.hsearch-form input {
  width: 100%; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--ink);
  box-shadow: 0 6px 18px -12px rgba(0,0,0,.35);
}
.hsearch-form input:focus { outline: none; border-color: var(--accent); }
.hsearch-form input::-webkit-search-cancel-button { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hsearch-form, .hsearch.is-open .hsearch-form { transition: none; } }

@media (max-width: 1080px) {
  .header-bar { flex: 1; }
  .hsearch { position: static; margin-left: auto; margin-right: 6px; }
  .hsearch-btn { color: var(--ink); }
  .hsearch-form { right: 0; left: 0; top: 100%; transform: none; width: auto; padding: 12px var(--gutter) 16px; background: var(--bg); box-shadow: 0 20px 30px -20px rgba(0,0,0,.4); }
  .hsearch.is-open .hsearch-form { width: auto; }
}

/* Лентата с менюто е на цялата ширина (вместо „плаващо“ каре горе вляво):
   менюто се чете по-лесно и картата на уебинара стои спокойно под нея. */
@media (min-width: 1081px) {
  .site-header { background: rgba(243, 238, 231, .97); backdrop-filter: blur(8px); box-shadow: 0 6px 24px -14px rgba(0,0,0,.35); align-items: center; }
  .header-bar { flex: 1; box-shadow: none; background: transparent; border-radius: 0; }
  .header-actions { padding-top: 0; }
  .icon-btn { color: var(--ink); }
  .hsearch { margin-left: auto; }
  .brand { flex: none; }
  .brand-name { white-space: nowrap; }
  .event-card { margin-top: 0; }
}

/* =========================================================
   Лентата с логата на клиентите (render_client_logos)
   ========================================================= */
.logos-row { gap: 36px; }
.logos-title { line-height: 1.5; }
.clients {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.clients:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.clients-track { display: flex; width: max-content; animation: clients-scroll 55s linear infinite; }
.clients:hover .clients-track, .clients:focus-within .clients-track { animation-play-state: paused; }
.clients-list { display: flex; align-items: center; gap: 56px; padding: 18px 28px; }
.cl { position: relative; display: block; flex: none; }
.cl img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transition: opacity .3s ease; }
.cl-m { opacity: .82; }
.cl-c { opacity: 0; }
/* При посочване логото показва оригиналните си цветове. */
.clients-list li:hover .cl-m { opacity: 0; }
.clients-list li:hover .cl-c { opacity: 1; }
@keyframes clients-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .clients { -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; width: auto; }
  .clients-list { flex-wrap: wrap; justify-content: center; gap: 22px 40px; }
  .clients-list[aria-hidden] { display: none; }
}
@media (max-width: 760px) {
  .logos-row { flex-direction: column; gap: 4px; }
  .logos-title br { display: none; }
  .clients { width: 100%; }
  .clients-list { gap: 40px; padding: 10px 20px; }
  .cl { transform: scale(.8); }
  .clients-track { animation-duration: 45s; }
}
.rv-logo { display: block; height: 32px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
@media (max-width: 760px) { .rv-logo { flex-basis: 100%; height: 24px; } }

@media (max-width: 760px) { .brand-mark { height: 34px; } .brand-name-img { height: 13px; } .brand { gap: 10px; } }
/* Малко въздух между търсенето и бутона вдясно в хедъра. */
@media (min-width: 1081px) { .header-actions { gap: 18px; padding-left: 18px; } }
/* На тесен десктоп няма място за бутона - „Безплатни обучения“ така или иначе е в менюто. */
@media (max-width: 1220px) and (min-width: 1081px) { .header-cta { display: none; } }
