/* ==========================================================================
   BRADAO BARBERING SCHOOL — academy landing styles.
   Loaded after site.css: reuses .section/.section__inner/.section__title/.btn
   base rules, overrides header/hero/contacts/footer (new markup), and adds
   all the new section-specific styles below.
   ========================================================================== */

@font-face { font-family: 'BlackOpsOne'; src: url('/fonts/BlackOpsOne-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DangerNeueFree'; src: url('/fonts/DangerNeueFree-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }

:root {
  --font-display: 'DangerNeueFree', 'BlackOpsOne', 'DaysOne', Arial, sans-serif;
  --font-h2: 'Russo One', Arial, sans-serif;
  --bg: #030303;
  --bg-card: #121214;
  --text: #f6f6f6;
  --muted: #b9b3b3;
  --red: #d90000;
  --red-dark: #7a0000;
  --red-glow: rgba(217, 0, 0, .35);
  --border: rgba(255, 255, 255, .1);
  --border-red: rgba(217, 0, 0, .45);
  --content-width: 1240px;
  --radius: 6px;
}

html, body { background: var(--bg); scroll-behavior: smooth; }

/* ---- page-wide grain + red glow background (procedural, no bitmap) ---- */
body {
  position: relative;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 12% 8%, var(--red-glow), transparent 60%),
    radial-gradient(ellipse 700px 500px at 88% 28%, rgba(217,0,0,.22), transparent 60%),
    radial-gradient(ellipse 800px 600px at 15% 62%, rgba(217,0,0,.20), transparent 60%),
    radial-gradient(ellipse 900px 600px at 85% 85%, rgba(217,0,0,.24), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body::before {
  /* subtle procedural grain via SVG feTurbulence, tiled */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
#app, .site-header { position: relative; z-index: 1; }

.section__title { font-family: var(--font-display); font-size: clamp(28px, 5vw, 64px); }

.section__title,
.hero__title-main,
.hero__title-sub,
.hero__title,
.educator__eyebrow,
.educator__name,
.audience-card__title,
.audience-card__num,
.timeline-item__title,
.timeline-item__marker,
.lead-form__title,
.course-pill__title,
.program-item__num,
.stencil-outline {
  font-weight: 400;
  font-synthesis: none;
}

.section__title,
.hero__title-main,
.educator__eyebrow {
  color: var(--text);
}

/* H2: black fill, white outline. Own font role -- independent from H3
   (buttons/nav/card labels) even though they may default to the same
   font family. */
.stencil-outline {
  font-family: var(--font-h2);
  color: #030303;
  -webkit-text-stroke: 1.5px var(--text);
  paint-order: stroke fill;
  text-transform: uppercase;
}

/* ---- shared reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; background-color: transparent; border-bottom: 1px solid transparent; }
.site-header__inner { max-width: var(--content-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; flex-wrap: wrap; }
.site-header__contact { display: flex; flex-direction: column; line-height: 1.3; }
.site-header__phone { font-family: var(--font-russo); font-size: 19px; }
.site-header__phone-caption { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.site-header__brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.site-header__nav { display: flex; align-items: center; gap: 22px; }
.site-header__nav a { font-family: var(--font-russo); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.site-header__nav a:hover { color: var(--red); }
.site-header__address { font-size: 13px; color: var(--muted); }
.site-header__burger { display: none; width: 38px; height: 38px; border-radius: 50%; background: var(--red); border: none; color: #fff; font-size: 17px; cursor: pointer; flex-shrink: 0; }
@media (max-width: 1100px) {
  .site-header__address { display: none; }
}
@media (max-width: 900px) {
  .site-header__inner { padding: 12px 18px; }
  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
  }
  .site-header__nav a { padding: 8px 0; width: 100%; }
  .site-header.nav-open .site-header__nav { display: flex; }
  .site-header__burger { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 600px) {
  .site-header__contact { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; padding: 0 24px 90px; overflow: visible; }
.hero__inner { max-width: var(--content-width); margin: 0 auto; width: 100%; text-align: left; padding-top: 60px; }
.hero__title { margin: 0 0 34px; }
.hero__title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(84px, 16vw, 260px);
  line-height: .92;
  letter-spacing: .01em;
}
.hero__title-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-h2);
  font-size: clamp(42px, 7.5vw, 84px);
  line-height: 1.05;
  color: #030303;
  -webkit-text-stroke: 1.5px var(--text);
  paint-order: stroke fill;
}
.hero__meta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.hero__start { font-family: var(--font-russo); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.hero__ticker {
  position: absolute;
  top: auto;
  background: #f6f6f6;
  color: #030303;
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
  z-index: 2;
  box-shadow: 0 0 40px rgba(0,0,0,.4);
}
.hero__ticker-track { display: inline-flex; gap: 40px; animation: ticker-scroll 30s linear infinite; }
.hero__ticker-track span { font-family: var(--font-russo); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; padding-right: 40px; border-right: 2px solid #0a0a0a; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero__ticker-track { animation: none; } }

.hero__deco { position: absolute; width: 105px; height: 105px; color: rgba(255,255,255,.12); z-index: 0; animation: float-slow 7s ease-in-out infinite; }
.hero__deco img { width: 100%; height: 100%; object-fit: contain; opacity: .5; }
.hero__deco--1 { top: 14%; right: 8%; transform: rotate(18deg); }
.hero__deco--2 { bottom: 10%; right: 18%; width: 135px; height: 135px; animation-delay: -2s; }
.hero__deco--3 { top: 38%; right: 30%; width: 75px; height: 75px; animation-delay: -4s; }
@keyframes float-slow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .hero__deco { animation: none; } }
@media (max-width: 900px) { .hero__deco { display: none; } }

/* ==========================================================================
   AUDIENCE — "КУРСЪТ Е ЗА ТЕБ"
   ========================================================================== */
.audience { padding-top: 130px; }
.audience .section__title { position: relative; z-index: 3; }
.audience__subtitle { text-align: center; font-family: var(--font-h2); font-size: clamp(20px, 3vw, 32px); text-transform: uppercase; letter-spacing: .06em; margin: -12px 0 44px; color: #030303; -webkit-text-stroke: 1.5px var(--text); paint-order: stroke fill; }
.audience__layout { display: grid; grid-template-columns: 1fr 320px 1fr; gap: 24px; align-items: center; }
.audience__cards { display: flex; flex-direction: column; gap: 24px; }
.audience-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 0 30px rgba(217,0,0,.08);
}
.audience-card__num { display: block; font-family: var(--font-russo); font-size: 40px; color: var(--text); line-height: 1; margin-bottom: 10px; }
.audience-card__title { font-family: var(--font-russo); font-size: 14px; text-transform: uppercase; color: var(--text); margin: 0 0 8px; letter-spacing: .01em; }
.audience-card__text { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.audience__center { position: relative; text-align: center; }
.audience__center-glow { position: absolute; inset: -20%; background: radial-gradient(circle, var(--red-glow), transparent 65%); z-index: 0; }
.audience__center img { position: relative; z-index: 1; max-width: 100%; }
.audience__cta { text-align: center; margin-top: 48px; }
@media (max-width: 1024px) {
  .audience__layout { grid-template-columns: 1fr; }
  .audience__cards { flex-direction: row; flex-wrap: wrap; }
  .audience-card { flex: 1 1 260px; padding: 16px 16px 14px; }
  .audience-card__num { font-size: 28px; margin-bottom: 6px; }
  .audience-card__title { font-size: 12px; margin: 0 0 6px; }
  .audience-card__text { font-size: 12px; line-height: 1.45; }
  .audience__center { order: -1; margin-bottom: 12px; }
}
@media (max-width: 560px) {
  .audience__cards { flex-direction: column; gap: 16px; }
  .audience-card { flex: 0 1 auto; }
}

/* ==========================================================================
   EDUCATOR
   ========================================================================== */
.educator__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.educator__photo img { width: 100%; border-radius: var(--radius); filter: grayscale(.3) contrast(1.05); }
.educator__eyebrow { display: block; font-family: var(--font-display); font-size: clamp(32px, 5vw, 64px); text-transform: uppercase; }
.educator__subtitle { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; margin: 6px 0 14px; }
.educator__name { font-family: var(--font-h2); font-size: clamp(24px,3vw,32px); text-transform: uppercase; margin: 0 0 20px; color: #030303; -webkit-text-stroke: 1.5px var(--text); paint-order: stroke fill; }
.educator__quote {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px var(--red-glow);
}
.educator__desc { color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.educator__fact { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; }
.educator__fact strong { color: var(--text); }
@media (max-width: 860px) { .educator__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   COURSES
   ========================================================================== */
.courses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, rgba(217,0,0,.12), var(--bg-card));
  border: 1px solid var(--red);
  border-radius: 100px;
  padding: 20px 30px;
  min-height: 78px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.course-pill:hover { border-color: var(--red); box-shadow: 0 0 24px var(--red-glow); transform: translateY(-2px); }
.course-pill__title { font-family: var(--font-russo); font-size: 14px; text-transform: uppercase; color: var(--text); }
.course-pill__subtitle { font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .courses__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   RESULTS
   ========================================================================== */
.results .section__title { line-height: 1.2; }
.results__grid { display: grid; grid-template-columns: repeat(3, minmax(120px, 200px)); justify-content: center; gap: 44px 32px; margin-top: 40px; max-width: 760px; margin-left: auto; margin-right: auto; }
.result-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: auto; gap: 14px; }
.result-item__icon { width: 56px; height: 56px; color: var(--text); display: flex; }
.result-item__icon svg, .result-item__icon.result-item__icon { width: 56px; height: 56px; }
.result-item__title { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; }
.result-item__connector { display: none; }
@media (max-width: 900px) {
  .results__grid { gap: 24px; }
  .result-item__connector { display: none; }
}

/* ==========================================================================
   PROGRAM ("БРЪСНАР ОТ 0") — accordion
   ========================================================================== */
.program__subtitle { text-align: center; color: var(--muted); max-width: 640px; margin: -24px auto 8px; font-size: 14px; line-height: 1.6; }
.program__start { text-align: center; font-family: var(--font-russo); color: var(--red); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 36px; }
.program__accordion { max-width: 820px; margin: 0 auto; }
.program-item { border-bottom: 1px solid var(--border); }
.program-item__head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 20px 4px;
  cursor: pointer;
  font-family: inherit;
}
.program-item__num { font-family: var(--font-russo); color: var(--red); font-size: 18px; width: 26px; flex-shrink: 0; }
.program-item__title { flex: 1; font-family: var(--font-russo); font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.program-item__toggle { font-size: 22px; color: var(--red); transition: transform .25s ease; flex-shrink: 0; }
.program-item.is-open .program-item__toggle { transform: rotate(45deg); }
.program-item__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.program-item__body p { margin: 0 0 20px 46px; color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 640px; }
.program__cta { text-align: center; margin-top: 40px; }

/* ==========================================================================
   ADVANTAGES ("ЗАЩО ТОЧНО ТОЗИ КУРС?") — vertical timeline
   ========================================================================== */
.timeline { position: relative; max-width: 900px; margin: 40px auto 0; padding-left: 40px; }
.timeline__line { position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--red), rgba(217,0,0,.15)); }
.timeline-item { position: relative; margin-bottom: 36px; padding-left: 30px; }
.timeline-item__marker {
  position: absolute; left: -40px; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-russo); font-size: 14px; color: #fff;
  box-shadow: 0 0 20px var(--red-glow);
}
.timeline-item__card { background: var(--bg-card); border: 1px solid var(--border-red); border-radius: var(--radius); padding: 20px 24px; }
.timeline-item__title { font-family: var(--font-russo); font-size: 14px; text-transform: uppercase; margin: 0 0 8px; color: var(--text); }
.timeline-item__text { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.timeline-item--right .timeline-item__card { margin-left: 60px; }
@media (max-width: 700px) {
  .timeline-item--right .timeline-item__card { margin-left: 0; }
}

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio .section__title { line-height: 1.2; }
.portfolio__slider-wrap { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.portfolio__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 16px; flex: 1; }
.portfolio__track::-webkit-scrollbar { height: 6px; }
.portfolio__track::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 100px; }
.portfolio-slide {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 220px;
  scroll-snap-align: start;
  background: #fff;
  padding: 10px 10px 30px;
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
  transform: rotate(-1.5deg);
}
.portfolio-slide:nth-child(even) { transform: rotate(1.5deg); }
.portfolio-slide img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portfolio__arrow { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-red); background: transparent; color: var(--red); font-size: 22px; cursor: pointer; }
.portfolio__arrow:hover { background: var(--red); color: #fff; }
.portfolio__arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
@media (max-width: 900px) { .portfolio-slide { flex-basis: calc((100% - 20px) / 2); min-width: 150px; } }

/* ==========================================================================
   SPONSORS
   ========================================================================== */
.sponsors__grid { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.sponsor-logo img { max-height: 60px; max-width: 160px; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .85; transition: filter .2s ease, opacity .2s ease; }
.sponsor-logo:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   LEAD FORM
   ========================================================================== */
.lead-form__card {
  background: #fff;
  color: #0a0a0a;
  border-radius: var(--radius);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.lead-form__title { font-family: var(--font-russo); font-size: clamp(18px,2.4vw,24px); text-transform: uppercase; margin: 0 0 6px; color: #0a0a0a; }
.lead-form__subtitle { font-size: 13.5px; color: #4a4a4a; margin: 0; }
.lead-form__form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; position: relative; }
.lead-form__field { flex: 1 1 160px; }
.lead-form__field input { width: 100%; padding: 15px 16px; border: 1px solid #ddd; border-radius: var(--radius); font-family: var(--font-body); font-size: 14px; background: #f7f7f7; color: #0a0a0a; }
.lead-form__field--phone { display: flex; align-items: center; border: 1px solid #ddd; border-radius: var(--radius); background: #f7f7f7; padding-left: 12px; }
.lead-form__field--phone input { border: none; background: transparent; padding-left: 6px; }
.lead-form__field--select select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: #f7f7f7;
  color: #0a0a0a;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23333'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.lead-form__field--select select:invalid { color: #6a6a6a; }
.lead-form__code { font-size: 14px; color: #4a4a4a; }
.lead-form__submit { background: #0a0a0a; border-color: #0a0a0a; }
.lead-form__submit:hover { background: var(--red); border-color: var(--red); }
.bcms-form__success { color: #1a7d3c; font-size: 14px; margin: 0; }
@media (max-width: 860px) {
  .lead-form__card { grid-template-columns: 1fr; padding: 32px 24px; }
  .lead-form__form { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   CONTACTS + FOOTER
   ========================================================================== */
.contacts-footer-wrap { position: relative; }

.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts__map { min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); }
.contacts__row { margin-bottom: 12px; font-size: 14.5px; color: var(--muted); }
.contacts__row a:hover { color: var(--red); }
.contacts__social { display: flex; gap: 10px; margin-top: 20px; }
.social-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-red); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; overflow: hidden; color: var(--text); }
.social-icon img { width: 100%; height: 100%; object-fit: cover; }
.social-icon:hover { background: var(--red); }
@media (max-width: 800px) { .contacts__inner { grid-template-columns: 1fr; } }

.site-footer { background: transparent; padding: 24px; border-top: none; position: relative; z-index: 1; }
.site-footer__inner { max-width: var(--content-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand img { width: 34px; height: 34px; border-radius: 50%; }
.site-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer__legal a:hover { color: var(--red); }

/* ==========================================================================
   MOBILE-WIDE TWEAKS
   ========================================================================== */
@media (max-width: 480px) {
  .results__grid { grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 32px 16px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 18px; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; align-items: flex-start; padding: 90px 20px 60px; }
  .hero__inner { padding-top: 0; }
  .hero__title { margin: 0 0 20px; }
  .hero__title-main { font-size: 96px; }
  .hero__title-sub { font-size: 52px; }
}
