/* ==========================================================================
   Глобална конференция за лидерство — christianleader.bg
   Дизайн по образец на globalleadership.org (цветове, типография, ритъм)
   ========================================================================== */

:root {
  /* Палитра (GLN) */
  --bg: #f8f7f1;
  --bg-2: #f1f0e9;
  --bg-3: #e8e4e0;
  --ink: #272523;
  --ink-2: #3d3935;
  --muted: #98938e;
  --line: #d9d5cf;
  --accent: #009cde;
  --accent-dark: #007db3;
  --navy: #2b3575;
  --teal: #185f6b;
  --green: #6ccdb3;
  --orange: #f36c39;
  --white: #ffffff;

  /* Типография */
  --serif: "Source Serif 4", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Оформление */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --pill: 100vw;
  --ease: cubic-bezier(.165, .84, .44, 1);

}

/* --------------------------------------------------------------------------
   Reset / база
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1.125rem; margin: 0 0 .5em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }
.section--dark h1 em, .section--dark h2 em, .hero h1 em { color: var(--green); }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow strong { color: var(--ink); font-weight: 700; }
.section--dark .eyebrow strong, .hero .eyebrow strong { color: var(--white); }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; color: var(--ink-2); }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Бутони (GLN: pill, uppercase, стрелка)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .9em 1.9em;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .875rem;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .15); text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .06); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: var(--white); color: var(--ink); box-shadow: none; }
.btn--lg { font-size: .95rem; padding: 1.05em 2.2em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Хедър / навигация
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 241, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(39, 37, 35, .06); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand img { height: 46px; width: auto; }
.brand:hover { text-decoration: none; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a {
  font-weight: 600; font-size: .9rem; color: var(--ink-2); letter-spacing: .01em;
  padding: .35rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--ink); border-bottom-color: var(--accent); text-decoration: none; }
.nav .btn { padding: .75em 1.5em; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 1rem; }
  .site-header.nav-open .nav { display: flex; }
  .site-header.nav-open .icon-menu { display: none; }
  .site-header.nav-open .icon-close { display: block; }
}

/* --------------------------------------------------------------------------
   ХИРО секция — снимка + градиент (GLN стил)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(88vh, 860px);
  color: var(--white);
  background: #12181d;
  isolation: isolate;
  overflow: hidden;
}
/* Снимката е <img> в .hero__bg (index.html); тук е само позиционирането и градиентът */
.hero__bg { position: absolute; inset: 0; z-index: -1; background: #12181d; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 29, .25) 0%, rgba(18, 24, 29, .5) 45%, rgba(18, 24, 29, .92) 100%);
}
.hero .container { padding-top: 7rem; padding-bottom: 3rem; }
.hero__content { max-width: 860px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 620px; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--green); }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero__meta > div { display: flex; align-items: flex-start; gap: .75rem; }
.hero__meta svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: .1rem; }
.hero__meta strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.hero__meta span { display: block; font-size: .875rem; color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   Секции
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead, .section--dark p { color: rgba(255, 255, 255, .82); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2 { color: var(--white); }
.section--teal .lead { color: rgba(255, 255, 255, .85); }
.section--teal .eyebrow { color: var(--green); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: .4em; }
.section-head .lead { margin: 0; }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* За събитието */
.about { align-items: start; gap: clamp(2rem, 6vw, 5rem); }
.about__text p { font-size: 1.0625rem; color: var(--ink-2); }
.about__text p:last-child { margin-bottom: 0; }
.pullquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3;
  color: var(--teal); border-left: 4px solid var(--accent); padding-left: 1.5rem; margin: 0;
}
.about__aside { display: grid; gap: 1.25rem; }
.about__figure { border-radius: 4px; overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.about__figure img { width: 100%; height: 100%; object-fit: cover; }

/* Какво получавате */
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  padding: 2rem 1.75rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(39, 37, 35, .08); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 156, 222, .1); color: var(--accent-dark); margin-bottom: 1.25rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--sans); font-weight: 700; font-size: 1.125rem; margin-bottom: .5em; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Програма */
.days { gap: clamp(1.25rem, 3vw, 2.5rem); }
.day { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.day__head { background: var(--ink); color: var(--white); padding: 1.5rem 1.75rem; }
.day__head .eyebrow { color: var(--green); margin-bottom: .35rem; }
.day__head h3 { margin: 0; color: var(--white); }
.day__list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 1rem;
  padding: 1.15rem 1.75rem; border-top: 1px solid var(--line); align-items: start;
}
.day__list li:first-child { border-top: 0; }
.session-no { font-family: var(--serif); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; padding-top: .2rem; }
.session-no b { display: block; font-size: 1.5rem; line-height: 1; font-weight: 600; color: var(--ink); }
.session strong { display: block; font-size: 1rem; }
.session span { display: block; color: var(--ink-2); font-size: .95rem; margin-top: .15rem; }
.session + .session { margin-top: .85rem; padding-top: .85rem; border-top: 1px dashed var(--line); }

/* Говорители */
.speakers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
@media (max-width: 1100px) { .speakers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .speakers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .9rem; } }
.speaker { min-width: 0; }
.speaker__btn { display: block; width: 100%; text-align: left; }
.speaker__photo {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #000;
}
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.speaker__btn:hover .speaker__photo img { transform: scale(1.05); }
.speaker__photo::after {
  content: "+"; position: absolute; right: .6rem; bottom: .6rem;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; font-weight: 600;
  transition: transform .2s var(--ease);
}
.speaker__btn:hover .speaker__photo::after { transform: scale(1.1); }
.speaker__name { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; margin: .9rem 0 .25rem; color: var(--ink); }
.speaker__role { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.speaker__details { display: none; }

/* Диалог с био */
.speaker-dialog {
  width: min(100% - 2rem, 900px); max-height: min(90vh, 900px);
  padding: 0; border: 0; border-radius: 10px; background: var(--white); color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.speaker-dialog::backdrop { background: rgba(18, 24, 29, .7); backdrop-filter: blur(4px); }
/* Снимката е портрет 3:4 (300×400) – кутията е със същата пропорция, за да не се реже лицето.
   На десктоп стои горе в тъмната колона; на телефон е с contain и таван по височина. */
.speaker-dialog__inner { display: grid; grid-template-columns: 300px 1fr; align-items: start; background: linear-gradient(90deg, #12181d 0, #12181d 300px, var(--white) 300px); }
.speaker-dialog__media { background: #12181d; }
.speaker-dialog__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.speaker-dialog__body { padding: 2.25rem 2.25rem 2rem; overflow: auto; max-height: min(90vh, 900px); }
.speaker-dialog__body h3 { margin-bottom: .2em; }
.speaker-dialog__body .role { color: var(--muted); font-size: .9rem; margin-bottom: 1.25rem; }
.speaker-dialog__body p { font-size: .95rem; color: var(--ink-2); }
.speaker-dialog__body .session-title {
  display: block; margin: 1.5rem 0 .5rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark);
}
.speaker-dialog__close {
  position: absolute; top: .75rem; right: .75rem; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--ink); display: grid; place-items: center; z-index: 2;
}
.speaker-dialog__close:hover { background: var(--ink); color: var(--white); }
.speaker-dialog__close svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .speaker-dialog__inner { grid-template-columns: 1fr; background: var(--white); }
  .speaker-dialog__media { display: flex; justify-content: center; }
  .speaker-dialog__media img { width: auto; max-width: 100%; height: auto; max-height: 58vh; object-fit: contain; object-position: center; }
  .speaker-dialog__body { padding: 1.5rem; max-height: none; }
  .speaker-dialog { max-height: 92vh; overflow: auto; }
}

/* Такса / регистрация */
.pricing { gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 2.25rem 2rem; display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.price-card--featured { border-color: var(--accent); box-shadow: 0 20px 50px rgba(0, 156, 222, .12); }
.price-card__badge {
  position: absolute; top: -.8rem; left: 2rem; background: var(--accent); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--pill);
}
.price-card h3 { margin: 0; }
.price { font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1; color: var(--ink); }
.price small { font-family: var(--sans); font-size: .95rem; color: var(--muted); margin-left: .35rem; }
.price-card ul { display: grid; gap: .5rem; margin: .5rem 0 1rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.price-card li svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: .2rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

.bank {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.75rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; margin-top: 2rem;
}
.bank h4 { margin-bottom: .5rem; }
.bank p { margin: 0 0 .35rem; font-size: .95rem; color: var(--ink-2); }
.bank .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; letter-spacing: .02em; }
@media (max-width: 720px) { .bank { grid-template-columns: 1fr; } }

/* Защо ГКЛ — статистика + отзиви */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 3rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { border-top: 2px solid rgba(255, 255, 255, .18); padding-top: 1.25rem; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--green); }
.stat span { display: block; margin: .6rem 0 .35rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .6); }
.stat p { margin: 0; font-size: .95rem; }
.stats-note { margin-top: 2rem; font-size: .8rem; color: rgba(255, 255, 255, .55); }

.quotes { gap: clamp(1.25rem, 3vw, 2.5rem); }
.quote {
  background: var(--white); border-radius: 10px; padding: 2.25rem 2rem;
  border: 1px solid var(--line); position: relative;
}
.quote::before {
  content: "\201C"; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--accent);
  position: absolute; top: .75rem; left: 1.5rem; opacity: .35;
}
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; margin: 1.5rem 0 1.25rem; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }

/* Финален CTA */
.cta { text-align: center; }
.cta h2 { margin-bottom: .35em; }
.cta .lead { margin-bottom: 2rem; }
.cta .btn-row { justify-content: center; }

/* Футър */
.site-footer { background: #1b1a18; color: rgba(255, 255, 255, .75); padding: 3.5rem 0 2rem; font-size: .9rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0; max-width: 34ch; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { display: inline-flex; align-items: center; gap: .6rem; }
.footer-list svg { width: 18px; height: 18px; color: var(--green); }
.social { display: flex; gap: .75rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: background .2s;
}
.social a:hover { background: var(--accent); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom img { height: 28px; width: auto; opacity: .8; }

/* Малки помощни */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .nav-toggle, .hero__meta, .btn, .site-footer .social { display: none !important; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero h1, .hero .lead { color: #000; }
}
