/* Капачки за бъдеще — shared styles */
/* Шрифтът Inter се зарежда чрез <link rel="preconnect"> + <link rel="stylesheet"> в <head> на всяка страница за оптимална производителност. */

:root {
  /* Palette: light blue + light pink + light green */
  --brand: #4FC3F7;              /* light blue */
  --brand-dark: #0288D1;         /* darker blue for hover/accents */
  --brand-soft: #E1F5FE;         /* very light blue tint */
  --pink: #F48FB1;               /* light pink */
  --pink-dark: #EC407A;
  --pink-soft: #FCE4EC;
  --success: #81C784;            /* light green */
  --success-dark: #43A047;
  --success-soft: #E8F5E9;
  --bg: #F7FBFE;                 /* very soft blue-tinted white */
  --surface: #ffffff;
  --surface-2: #F1F8FB;          /* soft blue-green tint for bg-soft sections */
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #DDEBF3;
  --shadow-soft: 0 10px 30px -12px rgba(79, 195, 247, 0.20);
  --shadow-glow: 0 20px 60px -20px rgba(79, 195, 247, 0.45);
}

html.dark {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-2: #172033;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --brand-soft: rgba(79, 195, 247, 0.15);
  --pink-soft: rgba(244, 143, 177, 0.15);
  --success-soft: rgba(129, 199, 132, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(1000px 700px at -10% -10%, rgba(79,195,247,.22), transparent 60%),
    radial-gradient(900px 700px at 110% 0%, rgba(244,143,177,.22), transparent 60%),
    radial-gradient(1100px 800px at 50% 110%, rgba(129,199,132,.22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-weight: 500;
}
html.dark body {
  background:
    radial-gradient(1000px 700px at -10% -10%, rgba(79,195,247,.12), transparent 60%),
    radial-gradient(900px 700px at 110% 0%, rgba(244,143,177,.10), transparent 60%),
    radial-gradient(1100px 800px at 50% 110%, rgba(129,199,132,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
p { font-weight: 500; }
b, strong { font-weight: 800; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Inter', system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.gradient-brand { background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); }
.text-gradient {
  background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-soft); color: var(--brand);
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .9rem;
}
.muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; transition: all .25s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--surface-2); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: all .3s ease; padding: .85rem 0;
}
.nav.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
html.dark .nav.scrolled { background: rgba(15,23,42,.85); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .65rem; }
.logo-img { width: 82px; height: 74px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(233, 30, 99, .22)); transition: transform .3s ease; }
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.06); }

/* Heart decorative marks */
.heart-mark { display: inline-block; vertical-align: middle; line-height: 0; }
.heart-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.heart-mark.sm { width: 28px; height: 26px; }
.heart-mark.md { width: 56px; height: 52px; }
.heart-mark.lg { width: 96px; height: 88px; }
.heart-mark.xl { width: 170px; height: 156px; }
.heart-mark.float { animation: heart-float 4s ease-in-out infinite; }
@keyframes heart-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.section-head .heart-mark { margin-bottom: .85rem; filter: drop-shadow(0 6px 14px rgba(233, 30, 99, .22)); }
.heart-watermark { position: absolute; opacity: .08; pointer-events: none; z-index: 0; }
html.dark .heart-watermark { opacity: .12; }
.eyebrow-heart { display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow-heart img { width: 22px; height: 20px; object-fit: contain; }
.logo-text { line-height: 1.1; }
.logo-text b { font-size: 1.05rem; }
.logo-text span { display: block; font-size: .8rem; color: var(--brand); font-weight: 600; }
.nav-links { display: none; gap: .15rem; align-items: center; }
.nav-links a { padding: .55rem .85rem; border-radius: 999px; font-size: .88rem; font-weight: 500; transition: background .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface-2); }
.nav-links a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: var(--surface-2); }
.nav-cta { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}
.mobile-menu { display: none; background: var(--bg); border-top: 1px solid var(--border); padding: .8rem 0; }
.mobile-menu.open { display: block; }
.mobile-menu .container { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a { padding: .8rem 1rem; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--surface-2); color: var(--brand); }
@media (min-width: 900px) { .mobile-menu, .mobile-btn { display: none !important; } }

/* SECTIONS */
section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: 2rem; font-weight: 700; }
@media (min-width: 768px) { .section-head h2 { font-size: 3rem; } }
.section-head p { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; }
.bg-soft { background: var(--surface-2); }

/* HERO */
.hero { position: relative; overflow: hidden; padding-top: 7rem; padding-bottom: 4rem; }
.hero-blob {
  position: absolute; width: 380px; height: 380px; border-radius: 999px; filter: blur(80px); z-index: -1;
}
.hero-blob.b1 { background: rgba(79, 195, 247, .35); top: -100px; left: -80px; }
.hero-blob.b2 { background: rgba(244, 143, 177, .35); top: 200px; right: -100px; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; padding: 3rem 0; } }
.hero h1 { font-size: 2.5rem; font-weight: 700; }
@media (min-width: 768px) { .hero h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.6rem; } }
.hero p.lead { margin: 1.5rem 0; color: var(--text-muted); font-size: 1.05rem; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; max-width: 400px; margin-top: 2.5rem; }
.hero-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: .9rem; text-align: center; }
.hero-stat b { display: block; font-size: 1.5rem; color: var(--brand); font-weight: 800; }
.hero-stat span { font-size: .75rem; color: var(--text-muted); }
.hero-image-wrap { position: relative; }
.hero-image {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow-glow); border: 1px solid var(--border);
}
@media (min-width: 768px) { .hero-image { aspect-ratio: 5/6; } }
.floating {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  padding: 1rem; border-radius: 20px; box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: .75rem;
  animation: float 4s ease-in-out infinite;
}
.floating.f1 { bottom: -20px; left: -20px; }
.floating.f2 { top: -18px; right: 10px; animation-duration: 5s; animation-delay: -1s; }
@media (max-width: 767px) { .floating { display: none; } }
.floating .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.floating small { font-size: .7rem; color: var(--text-muted); display: block; }
.floating b { font-size: .85rem; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* CARDS */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 1.75rem;
  box-shadow: var(--shadow-soft); transition: all .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.25rem;
  display: grid; place-items: center; color: #fff;
  background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success));
  transition: transform .3s ease;
}
.card:hover .card-icon { transform: scale(1.1); }
.card-icon.success { background: var(--success-soft); color: var(--success); }
.card-icon.soft { background: var(--brand-soft); color: var(--brand); }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--text-muted); }

/* STATS */
.stat-num { font-size: 3rem; font-weight: 800; }

/* STEP number badge */
.step-num { font-family: 'Inter', system-ui, sans-serif; font-size: 2.2rem; font-weight: 800; opacity: .18; color: var(--brand); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* GALLERY */
.gallery { display: grid; gap: .85rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; grid-auto-rows: 220px; } }
.gallery .item { overflow: hidden; border-radius: 24px; box-shadow: var(--shadow-soft); position: relative; cursor: zoom-in; background: var(--surface-2); border: 0; padding: 0; }
.gallery .item img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s ease; }
.gallery .item:hover img { transform: scale(1.08); }
.gallery .item::after {
  content: "⤢"; position: absolute; top: .75rem; right: .75rem;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff;
  display: grid; place-items: center; font-size: 1rem;
  opacity: 0; transition: opacity .25s;
}
.gallery .item:hover::after { opacity: 1; }
.gallery .wide { grid-column: span 2; }
.gallery .big { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10, 15, 30, .92);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 2rem; backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 18px; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.28); transform: scale(1.08); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-caption { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: .95rem; opacity: .8; text-align: center; padding: 0 4rem; }

/* MAP */
.map-wrap { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .map-wrap { grid-template-columns: 1.4fr 1fr; } }
.map-canvas {
  position: relative; aspect-ratio: 4/3; width: 100%;
  border-radius: 20px; background: linear-gradient(135deg, var(--brand-soft), var(--success-soft));
}
.map-pin {
  position: absolute; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px; border: 2px solid #fff;
  background: var(--success); color: #fff; cursor: pointer;
  transition: transform .3s ease;
}
.map-pin:hover { transform: translate(-50%, -50%) scale(1.15); }
.map-pin.active { background: var(--brand); transform: translate(-50%, -50%) scale(1.15); }
.map-pin.active::before {
  content: ''; position: absolute; inset: -8px; border-radius: 999px;
  background: rgba(30,136,229,.35); animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite;
}
.map-pin .label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 6px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700;
  color: var(--text); white-space: nowrap;
}
html.dark .map-pin .label { background: rgba(15,23,42,.9); color: var(--text); }
@keyframes ping { 75%,100% { transform: scale(1.8); opacity: 0; } }
.point-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.point-list button {
  padding: .4rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 500;
  background: var(--surface-2); transition: all .2s ease;
}
.point-list button.active { background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); color: #fff; }

.bulgaria-map-wrap { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .bulgaria-map-wrap { grid-template-columns: 1.45fr .85fr; } }
.bulgaria-map-card,
.bulgaria-map-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.bulgaria-map-card { min-height: 380px; }
.bulgaria-map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.bulgaria-map-panel { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.bulgaria-map-panel h3 { font-size: 2rem; }
.bulgaria-map-panel p { color: var(--text-muted); }
.bulgaria-city-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.bulgaria-city-list button {
  padding: .5rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border); transition: all .2s ease;
}
.bulgaria-city-list button:hover { color: var(--brand-dark); transform: translateY(-1px); }
.bulgaria-city-list button.active { background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); color: #fff; border-color: transparent; }
@media (max-width: 640px) {
  .bulgaria-map-card,
  .bulgaria-map-card iframe { min-height: 320px; }
  .bulgaria-map-panel h3 { font-size: 1.6rem; }
}

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow-soft); overflow: hidden;
  margin-bottom: .8rem;
}
.faq summary {
  padding: 1.1rem 1.35rem; cursor: pointer; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.6rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .body { padding: 0 1.35rem 1.25rem; font-size: .93rem; color: var(--text-muted); }

/* FORM */
.form-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-soft); }
label { font-size: .85rem; font-weight: 500; display: block; margin-bottom: .35rem; }
input, textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30,136,229,.15); }
.row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; }
textarea { resize: vertical; min-height: 120px; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer h4 { font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; color: var(--text-muted); }
.footer ul a:hover { color: var(--brand); }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.copy { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .78rem; color: var(--text-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* Toast */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: #0f172a; color: #fff; padding: .85rem 1.5rem; border-radius: 999px;
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-glow); z-index: 100;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.toast.show { opacity: 1; }

/* Page header (non-home pages) — matches home hero spacing */
.page-hero {
  position: relative; padding: 7rem 0 3rem; text-align: center; overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 999px; filter: blur(90px); z-index: 0;
}
.page-hero::before { background: rgba(79, 195, 247, .30); top: -80px; left: -60px; }
.page-hero::after  { background: rgba(129, 199, 132, .30);  bottom: -80px; right: -60px; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero > .heart-watermark { position: absolute; }
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.6rem; } }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 1.08rem; }

/* ═════ Per-page hero variants ═════ */

/* Инициатива — центриран, с гигантско "01" отзад */
.page-inicziativa .page-hero { text-align: center; padding-bottom: 3.5rem; }
.page-inicziativa .page-hero::before { background: rgba(79, 195, 247, .35); width: 420px; height: 420px; top: -140px; left: -120px; }
.page-inicziativa .page-hero::after  { background: rgba(244, 143, 177, .28); width: 360px; height: 360px; bottom: -120px; right: -80px; }
.page-inicziativa .page-hero .container { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.page-inicziativa .page-hero .eyebrow { margin-bottom: 0; }
.page-inicziativa .page-hero p { margin: 0 auto; max-width: 680px; text-align: center; }
.page-inicziativa .page-hero::before,
.page-inicziativa .page-hero::after { z-index: 0; }
.page-inicziativa .page-hero .container::before {
  content: '01'; position: absolute; right: -10px; top: -40px; z-index: -1;
  font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  font-size: clamp(9rem, 22vw, 20rem); line-height: .8;
  background: linear-gradient(135deg, rgba(79,195,247,.18), rgba(129,199,132,.06));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; letter-spacing: -.05em;
}

/* Инициатива — quick facts под hero */
.init-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; max-width: 820px; margin: 2rem auto 0; }
.init-fact { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1rem 1.1rem; text-align: center; box-shadow: var(--shadow-soft); }
.init-fact b { display:block; font-size: 1.6rem; font-weight: 800; background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.init-fact span { font-size: .82rem; color: var(--text-muted); }

/* Slider (steps carousel) */
.slider { position: relative; max-width: 900px; margin: 0 auto; }
.slider-viewport { overflow: hidden; border-radius: 28px; }
.slider-track { display: flex; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.slider-slide { min-width: 100%; padding: 2.5rem 2rem; background: var(--surface); border: 1px solid var(--border); text-align: center; display: grid; gap: .75rem; justify-items: center; }
.slider-slide .big-num { font-size: 4rem; font-weight: 800; line-height: 1; background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slider-slide h3 { font-size: 1.5rem; }
.slider-slide p { color: var(--text-muted); max-width: 520px; }
.slider-slide .emoji { font-size: 2.4rem; }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.slider-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 1.2rem; display: grid; place-items: center; cursor: pointer; transition: all .2s; box-shadow: var(--shadow-soft); }
.slider-btn:hover { background: var(--brand-soft); color: var(--brand-dark); transform: scale(1.08); }
.slider-dots { display: flex; gap: .45rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--border); border: none; cursor: pointer; padding: 0; transition: all .25s; }
.slider-dot.active { width: 28px; background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success)); }

/* Как да помогна — топъл градиент */
.page-pomogni .page-hero {
  background: linear-gradient(160deg, #fff5f7 0%, #ffffff 45%, #eefaf0 100%);
}
html.dark .page-pomogni .page-hero { background: linear-gradient(160deg, #2a1520 0%, #0f172a 45%, #0f2416 100%); }
.page-pomogni .page-hero::before { background: rgba(233, 30, 99, .25); }
.page-pomogni .page-hero::after  { background: rgba(244, 143, 177, .35); }
.page-pomogni .page-hero .eyebrow { background: rgba(233, 30, 99, .12); color: #e91e63; }
.page-pomogni .page-hero h1 .text-gradient {
  background-image: linear-gradient(135deg, #e91e63, var(--success));
}

/* Галерия — светъл hero, на принципа на останалите страници */
.page-galeriya .page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 60%, #f0fdf4 100%);
}
html.dark .page-galeriya .page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #f1f5f9; }
html.dark .page-galeriya .page-hero p { color: rgba(241,245,249,.75); }
html.dark .page-galeriya .page-hero .eyebrow { background: rgba(255,255,255,.1); color: #7dd3fc; }
.page-galeriya .page-hero::before { background: rgba(79, 195, 247, .30); }
.page-galeriya .page-hero::after  { background: rgba(129, 199, 132, .30); }
.page-galeriya .page-hero .eyebrow { background: var(--success-soft); color: var(--success); }
.page-galeriya .page-hero .thumb-strip {
  display: flex; gap: .6rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap;
}
.page-galeriya .page-hero .thumb-strip span {
  width: 72px; height: 72px; border-radius: 14px; background-size: cover; background-position: center;
  border: 2px solid var(--border); box-shadow: var(--shadow-soft);
  transition: transform .3s;
}
.page-galeriya .page-hero .thumb-strip span:hover { transform: translateY(-4px) scale(1.05); }

/* Новини — magazine, курсивен eyebrow, разделителна линия */
.page-novini .page-hero { text-align: center; padding-bottom: 2.5rem; }
.page-novini .page-hero::before { background: rgba(255, 152, 0, .22); }
.page-novini .page-hero::after  { background: rgba(79, 195, 247, .25); }
.page-novini .page-hero .eyebrow {
  background: transparent; padding: 0; color: #f57c00; font-style: italic;
  text-transform: none; letter-spacing: .02em; font-size: .95rem; font-weight: 600;
}
.page-novini .page-hero .eyebrow::before { content: '— '; }
.page-novini .page-hero h1 { font-style: italic; }
.page-novini .page-hero p { margin: 1rem 0 0; max-width: 640px; border-top: 2px solid var(--border); padding-top: 1.25rem; }

/* Въпроси — игрив, пастелен с плаващи въпросителни */
.page-vaprosi .page-hero {
  background: radial-gradient(ellipse at top, rgba(30,136,229,.08) 0%, transparent 70%);
}
.page-vaprosi .page-hero::before { background: rgba(156, 39, 176, .2); }
.page-vaprosi .page-hero::after  { background: rgba(79, 195, 247, .30); }
.page-vaprosi .page-hero .container::before,
.page-vaprosi .page-hero .container::after {
  content: '?'; position: absolute; font-family: 'Inter', system-ui, sans-serif; font-weight: 800;
  color: transparent; -webkit-text-stroke: 2px rgba(30,136,229,.25); pointer-events: none;
}
.page-vaprosi .page-hero .container::before { font-size: 9rem; top: -20px; left: 4%; transform: rotate(-12deg); }
.page-vaprosi .page-hero .container::after  { font-size: 7rem; bottom: -30px; right: 6%; transform: rotate(15deg); -webkit-text-stroke-color: rgba(233,30,99,.25); }

/* Контакти — центриран hero със зелен акцент */
.page-kontakti .page-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 60%, #f0fdf4 100%);
}
html.dark .page-kontakti .page-hero { background: linear-gradient(135deg, #0c1e2e 0%, #0f172a 60%, #0d1f18 100%); }
.page-kontakti .page-hero::before { background: rgba(244, 143, 177, .35); }
.page-kontakti .page-hero::after  { background: rgba(79, 195, 247, .30); }
.page-kontakti .page-hero .eyebrow { background: var(--success-soft); color: var(--success); }
.page-kontakti .page-hero h1 .text-gradient {
  background-image: linear-gradient(135deg, #81C784, #A5D6A7);
}


/* News */
.news-card { padding: 0; overflow: hidden; }
.news-card .img { aspect-ratio: 16/10; overflow: hidden; }
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.news-card:hover .img img { transform: scale(1.1); }
.news-card .body { padding: 1.5rem; }
.news-card .date { font-size: .75rem; color: var(--text-muted); }
.news-card h3 { font-size: 1.1rem; margin: .75rem 0 .5rem; }
.badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--success); color: #fff;
  padding: 3px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brand); margin-top: .8rem; transition: gap .2s; }
.arrow:hover { gap: .8rem; }

/* CTA */
.cta {
  border-radius: 32px; padding: 3rem 2rem; text-align: center;
  background-image: linear-gradient(135deg, var(--brand), var(--pink), var(--success));
  color: #fff; box-shadow: var(--shadow-glow); position: relative; overflow: hidden;
}
.cta h2 { font-size: 2rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta { padding: 4rem 3rem; } .cta h2 { font-size: 2.6rem; } }
.cta p { max-width: 520px; margin: 0 auto 1.5rem; opacity: .95; }
.cta .btn-outline { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.cta .btn-outline:hover { background: rgba(255,255,255,.25); }
.cta .btn-white { background: #fff; color: var(--brand); }

/* ═════ Мобилни корекции — предотвратяване на overflow ═════ */
@media (max-width: 767px) {
  section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }

  /* Hero + декоративни елементи не бива да излизат извън екрана */
  .hero { padding-top: 6rem; padding-bottom: 2rem; overflow: hidden; }
  .hero-blob { width: 220px; height: 220px; filter: blur(60px); }
  .hero-blob.b1 { top: -60px; left: -60px; }
  .hero-blob.b2 { top: 120px; right: -60px; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: .98rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; max-width: 100%; }
  .hero-stat { padding: .65rem .3rem; }
  .hero-stat b { font-size: 1.15rem; }
  .hero-stat span { font-size: .68rem; }

  /* Page hero */
  .page-hero { padding: 6rem 0 2rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: .98rem; }
  .page-hero::before, .page-hero::after { width: 180px; height: 180px; filter: blur(70px); }

  /* Сърцата watermark — намаляват и се държат вътре в контейнера */
  .heart-watermark { max-width: 180px !important; height: auto !important; }

  /* Логото не бива да е огромно на мобилен */
  .logo-img { width: 58px; height: 52px; }
  .logo-text b { font-size: .95rem; }
  .logo-text span { font-size: .72rem; }
  .nav { padding: .55rem 0; }

  /* Форма и карти */
  .form-card { padding: 1.25rem; border-radius: 20px; }
  .card { padding: 1.25rem; border-radius: 20px; }
  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: 1.6rem; }

  /* CTA */
  .cta { padding: 2rem 1.25rem; border-radius: 24px; }
  .cta h2 { font-size: 1.5rem; }

  /* Лайтбокс бутони по-малки */
  .lightbox { padding: 1rem; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-close { top: .75rem; right: .75rem; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }

  /* Големите декоративни цифри/въпросителни на hero */
  .page-inicziativa .page-hero .container::before { font-size: 7rem; right: -20px; top: -20px; }
  .page-vaprosi .page-hero .container::before { font-size: 5rem; }
  .page-vaprosi .page-hero .container::after { font-size: 4rem; }
}

/* Всички изображения — никога да не преливат хоризонтално */
img { max-width: 100%; height: auto; }
