/*
 * ============================================================
 * vg-driveschool.com — Главна стилова таблица
 * Автор: Тони Ангелчовски — https://sait48.bg
 * ============================================================
 * Структура:
 *   1.  CSS Променливи
 *   2.  Reset и база
 *   3.  Типография
 *   4.  Утилити
 *   5.  Бутони
 *   6.  Хедър
 *   7.  Хамбургер
 *   8.  Drawer меню
 *   9.  Hero секция
 *   10. Статистики
 *   11. За инструктора (bg-2 #1a1a1a)
 *   12. Цени (bg-accent #ff6b35)
 *   13. Видео (bg-1 #111)
 *   14. Блог (bg-2 #1a1a1a)
 *   15. Контакти (bg-1 #111)
 *   16. Футър
 *   17. Sticky Bottom CTA
 *   18. Cookie Banner
 *   19. Reveal анимации
 *   20. Media queries
 * ============================================================
 */

/* ============================================================
   1. CSS ПРОМЕНЛИВИ
   ============================================================ */
:root {
  --bg-1:         #090c10;
  --bg-2:         #10151c;
  --bg-3:         #151b24;
  --card:         rgba(255, 255, 255, 0.045);
  --bg-accent:    #ff6b35;
  --accent:       #ff6b35;
  --accent-dark:  #e85b28;
  --accent-soft:  rgba(255, 107, 53, 0.14);
  --text:         #f8fafc;
  --text-muted:   #9aa4b2;
  --text-soft:    #cbd5e1;
  --text-dark:    #111111;
  --border:       rgba(255, 255, 255, 0.10);
  --header-bg:    rgba(9, 12, 16, 0.97);
  --header-h:     64px;
  --bottom-cta-h: 60px;
  --font:         'Nunito', sans-serif;
  --section-py:   80px;
  --container:    1100px;
  --radius:       12px;
  --radius-sm:    8px;
  --tr:           0.3s ease;
}

/* ============================================================
   2. RESET И БАЗА
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--tr);
}

a:hover { color: var(--accent-dark); }

ul { list-style: none; }

/* ============================================================
   3. ТИПОГРАФИЯ
   ============================================================ */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  font-style: italic;
}

.accent { color: var(--accent); }

.hero-title .accent {
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.4);
}

/* ============================================================
   4. УТИЛИТИ
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: var(--section-py) 0; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-tag-dark { color: var(--text-dark); }
.dark-text        { color: var(--text-dark); }

.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 1.75rem;
}

.empty-msg {
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.95rem;
}

/* ============================================================
   5. БУТОНИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--tr);
  text-align: center;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #111;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(240, 240, 240, 0.5);
}

.btn-outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg-1);
}

.btn-dark {
  background: var(--text-dark);
  color: var(--text);
  border-color: var(--text-dark);
}

.btn-dark:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: var(--text);
}

.btn-full { width: 100%; }
.btn-sm   { padding: 0.4rem 1rem; font-size: 0.875rem; min-height: 36px; }

/* ============================================================
   6. ХЕДЪР
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--tr);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.2;
  color: var(--text);
}

.logo:hover { color: var(--text); }
.logo:hover .logo-name { color: var(--accent); }

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #111;
  font-size: 1.05rem;
  font-weight: 900;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background var(--tr);
}

.logo:hover .logo-badge { background: var(--accent-dark); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  transition: color var(--tr);
}

/* ============================================================
   6b. DESKTOP НАВИГАЦИЯ И PHONE
   ============================================================ */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--tr);
  white-space: nowrap;
}

.desktop-nav a:hover { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  transition: color var(--tr);
}

.header-phone:hover { color: var(--accent-dark); }

/* ============================================================
   7. ХАМБУРГЕР
   ============================================================ */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--tr);
}

.hamburger:hover { background: rgba(255, 255, 255, 0.06); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--tr);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   8. DRAWER МЕНЮ
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100vw);
  background: var(--bg-3);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 80px 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  border-left: 1px solid var(--border);
}

.drawer.open { transform: translateX(0); }

.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr);
}

.drawer-close:hover { background: rgba(255, 255, 255, 0.1); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.drawer-nav a {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
  transition: all var(--tr);
}

.drawer-nav a:hover {
  color: var(--accent);
  background: rgba(255, 107, 53, 0.06);
  padding-left: 1.5rem;
}

.drawer-social {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.drawer-social a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.drawer-social a:hover { color: var(--accent); }

.drawer-cta .btn { width: 100%; }

/* ============================================================
   9. HERO СЕКЦИЯ
   ============================================================ */
.section-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg-1);
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(9, 12, 16, 0.96) 0%,
    rgba(9, 12, 16, 0.76) 45%,
    rgba(9, 12, 16, 0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title { margin-bottom: 1.25rem; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240, 240, 240, 0.82);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

/* ============================================================
   10. СТАТИСТИКИ
   ============================================================ */
.stats-bar {
  position: relative;
  z-index: 1;
  background: rgba(9, 12, 16, 0.92);
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.3rem;
}

.stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ============================================================
   11. ЗА ИНСТРУКТОРА — bg-2 #1a1a1a
   ============================================================ */
.section-about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img-wrap { max-width: 340px; margin: 0 auto; }

.about-img {
  width: 100%;
  border-radius: var(--radius);
  border: 3px solid var(--accent);
}

.about-text h2 { margin-bottom: 0.25rem; }

.about-since {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   12. ЦЕНИ — тъмна секция с orange акценти
   ============================================================ */
.section-pricing { background: var(--bg-1); }

.pricing-inner {
  text-align: center;
}

.pricing-inner h2 { margin-bottom: 2.5rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0 auto 1.75rem;
  text-align: left;
}

.pricing-card {
  background: var(--bg-3);
  border: 1px solid rgba(255, 107, 53, 0.22);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: 0 0 50px rgba(255, 107, 53, 0.07), 0 4px 32px rgba(0, 0, 0, 0.5);
  transition: border-color var(--tr), box-shadow var(--tr);
}

.pricing-card:hover {
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 0 70px rgba(255, 107, 53, 0.14), 0 4px 32px rgba(0, 0, 0, 0.5);
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #111;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.pricing-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.pricing-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing-list {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.pricing-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
}

.pricing-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pricing-small-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.pricing-small-card:hover {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: 0 0 24px rgba(255, 107, 53, 0.08);
}

.pricing-small-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.pricing-small-amount {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.pricing-small-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pricing-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

/* ============================================================
   13. ВИДЕО — bg-1 #111
   ============================================================ */
.section-video {
  background-color: var(--bg-1);
  background-image:
    radial-gradient(circle at 80% 0%, rgba(255, 107, 53, 0.12), transparent 36%),
    radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 30px 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* YouTube facade: thumbnail с play бутон, iframe при клик */
.yt-facade {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16 / 9;
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity var(--tr);
}

.yt-facade:hover img {
  transform: scale(1.04);
  opacity: 0.75;
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--tr), background var(--tr);
  pointer-events: none;
}

.yt-play::after {
  content: '';
  border-style: solid;
  border-width: 9px 0 9px 18px;
  border-color: transparent transparent transparent #111;
  margin-left: 4px;
}

.yt-facade:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--accent-dark);
}

.yt-title {
  padding: 0.6rem 0.25rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.yt-iframe-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}

.yt-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.section-yt-link { text-align: center; margin-top: 2rem; }

/* Carousel wrapper */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr), border-color var(--tr), color var(--tr);
}

.carousel-btn:hover {
  background: rgba(255,107,53,0.14);
  border-color: var(--accent);
  color: var(--accent);
}

/* Horizontal scroll carousel */
.video-carousel {
  flex: 1;
  display: flex;
  overflow-x: auto;
  gap: 1.25rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255,255,255,0.06);
  margin-bottom: 0;
}

.video-carousel::-webkit-scrollbar { height: 4px; }
.video-carousel::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
.video-carousel::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

.video-carousel .video-item {
  flex: 0 0 min(80vw, 300px);
  scroll-snap-align: start;
}

/* ============================================================
   14. БЛОГ — bg-2 #1a1a1a
   ============================================================ */
.section-blog { background: var(--bg-2); }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
  transition: border-color var(--tr), background var(--tr);
}

.blog-card:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.04);
}

.blog-thumb {
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.blog-category {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
}

.blog-read-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--tr);
}
.blog-read-more:hover { color: var(--accent-dark); }

/* ============================================================
   ARTICLE PAGE — articles/*.html
   ============================================================ */
.article-page-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.article-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color var(--tr); }
.article-breadcrumb a:hover { color: var(--accent); }
.article-breadcrumb .sep { opacity: 0.35; }

.article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.article-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.article-content {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--text-soft);
}
.article-content p { margin-bottom: 1.3rem; }
.article-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}
.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.5rem;
}
.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}
.article-content li { margin-bottom: 0.45rem; }
.article-content strong { color: var(--text); font-weight: 700; }
.article-content em { color: var(--text-soft); font-style: italic; }
.article-content a { color: var(--accent); }
.article-content a:hover { text-decoration: underline; }

.article-cta {
  margin-top: 4rem;
  padding: 2rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.article-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* "В тази статия" — TOC блок */
.article-toc {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.article-toc-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.article-toc li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.article-toc li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.6;
  font-size: 0.75rem;
  line-height: 1.6;
}

/* page-intro — споделен клас за videos.html и blog.html */
.page-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   15. КОНТАКТИ — bg-1 #111
   ============================================================ */
.section-contact { background: var(--bg-1); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h2 { margin-bottom: 0.75rem; }

.contact-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ci-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 700;
}

.ci-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.ci-value:hover { color: var(--accent); }

.contact-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--tr);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Форма */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--tr), background var(--tr);
  min-height: 48px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.04);
}

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-check label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-msg {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-msg.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-msg.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ============================================================
   16. ФУТЪР
   ============================================================ */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.footer-logo:hover { color: var(--text); }
.footer-logo:hover .footer-logo-name { color: var(--accent); }

.footer-logo-main {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  transition: color var(--tr);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-info-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-info-list a,
.footer-info-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--tr);
}

.footer-info-list a:hover { color: var(--accent); }

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--tr);
}

.footer-nav-list a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--tr);
}

.footer-social-link:hover { color: var(--accent); }
.footer-social-link svg   { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--accent); }

.footer-credit {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-credit a { font-weight: 700; }

/* ============================================================
   17. STICKY BOTTOM CTA — само на мобилен
   ============================================================ */
.bottom-cta { display: none; }

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  height: 100%;
  transition: all var(--tr);
}

.btn-call {
  background: var(--bg-1);
  color: var(--text);
  border-right: 1px solid var(--border);
}

.btn-call:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }

.btn-enroll {
  background: var(--accent);
  color: #111;
}

.btn-enroll:hover { background: var(--accent-dark); color: #111; }

/* ============================================================
   18. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-muted);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  /* На мобилен — над bottom CTA */
  bottom: var(--bottom-cta-h);
}

.cookie-banner.visible { transform: translateY(0); }

/* ============================================================
   11b. ЗАЩО СЕКЦИЯ — между hero и about
   ============================================================ */
.section-why {
  background-color: var(--bg-1);
  background-image:
    radial-gradient(circle at 80% 0%, rgba(255, 107, 53, 0.12), transparent 36%),
    radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 30px 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.why-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}

.why-card:hover {
  border-color: rgba(255, 107, 53, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.why-icon {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 100px;
}

.why-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   16b. FOOTER ЦИТАТ
   ============================================================ */
.footer-quote {
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-quote p {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  margin: 0;
  text-align: center;
}

.footer-quote em {
  color: var(--accent);
  font-style: normal;
  text-shadow: 0 0 28px rgba(255, 107, 53, 0.35);
}

/* ============================================================
   19a. ФИНАЛЕН CTA
   ============================================================ */
.final-cta {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 107, 53, 0.18), transparent 38%),
    linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border-top: 1px solid rgba(255, 107, 53, 0.18);
  border-bottom: 1px solid rgba(255, 107, 53, 0.18);
  padding: 5rem 0;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  max-width: 680px;
}

.final-cta p {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ============================================================
   19. REVEAL АНИМАЦИИ
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   20. MEDIA QUERIES
   ============================================================ */

/* Мобилен — bottom CTA и допълнително padding */
@media (max-width: 768px) {
  .bottom-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--bottom-cta-h);
    background: var(--bg-3);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
  }

  body { padding-bottom: var(--bottom-cta-h); }
}

/* Carousel бутони — по-малки на малки екрани */
@media (max-width: 640px) {
  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }
}

/* Tablet */
@media (min-width: 640px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 780px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Desktop */
@media (min-width: 900px) {
  .desktop-nav  { display: flex; }
  .header-phone { display: block; }
  .hamburger    { display: none; }

  .pricing-grid {
    grid-template-columns: 3fr 2fr;
    align-items: start;
  }

  .pricing-side { grid-template-columns: 1fr; }

  .final-cta-inner { grid-template-columns: 1fr auto; }

  .about-grid {
    grid-template-columns: 360px 1fr;
  }

  .about-img-wrap {
    max-width: 100%;
    margin: 0;
  }

  .contact-grid { grid-template-columns: 1fr 1fr; }
  .video-grid   { grid-template-columns: repeat(3, 1fr); }
  .blog-grid    { grid-template-columns: repeat(3, 1fr); }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-links { justify-content: flex-start; }

  /* На desktop cookie banner е в дъното без bottom CTA отстояние */
  .cookie-banner { bottom: 0; }
}

/* ============================================================
   21. SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent-dark);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: #111;
  flex-shrink: 0;
}
