/* ==========================================================================
   Йогатека — споделени стилове
   Естетика по мотиви на mooji.org: мека зеленина (sage), топъл теракота,
   геометричен sans за заглавия, много въздух, органични форми, спокойствие.
   ========================================================================== */

:root {
  --bg:        #f5f1e8;   /* топъл кремав фон */
  --bg-soft:   #e7ece4;   /* мек шалфеен панел */
  --surface:   #fffdf7;   /* карти / повърхности */
  --ink:       #2e2a24;   /* основен текст */
  --ink-soft:  #6a6157;   /* вторичен текст */
  --line:      #e2dccd;   /* деликатни разделители */

  --sage:      #a7b9ab;   /* шалфеено зелено — акцентен фон */
  --sage-soft: #d7e0d6;   /* светъл шалфей */
  --sage-deep: #47564a;   /* дълбок шалфей — футър/тъмни петна */

  --terra:     #c67d54;   /* теракота/шафран — топъл акцент */
  --terra-d:   #a75f38;
  --gold:      #c9a227;

  --maxw: 720px;
  --maxw-wide: 1120px;
  --radius: 20px;
  --shadow: 0 18px 50px -20px rgba(60, 74, 60, 0.28);
  --shadow-soft: 0 10px 30px -18px rgba(60, 74, 60, 0.35);

  --display: "Montserrat", "Futura", "Century Gothic", sans-serif;
  --serif:   "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Заглавията в геометричен sans (Futura-усещане) */
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .005em;
}
h1 { font-size: 2.6rem; margin: 0 0 .4em; font-weight: 400; }
h2 { font-size: 1.75rem; margin: 2.4em 0 .7em; }
h3 { font-size: 1.2rem; margin: 1.8em 0 .4em; }

p { margin: 0 0 1.3em; }

a { color: var(--terra-d); text-decoration: none; transition: color .15s; }
a:hover { color: var(--terra); text-decoration: none; }

strong { font-weight: 600; }
img { max-width: 100%; }

/* малки „етикети" в геометричен главен sans */
.eyebrow, .kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--terra-d);
}

/* ---------- Контейнер ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--maxw-wide); }

/* ---------- Хедър / навигация ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 220, 205, 0.7);
}
.nav {
  max-width: var(--maxw-wide); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 24px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--display); font-weight: 500; font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .om { color: var(--terra); font-size: 1.55rem; line-height: 1; }
.nav-links { display: flex; gap: 2px; margin-left: auto; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--display);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-soft); font-size: .74rem; font-weight: 500;
  padding: 9px 14px; border-radius: 999px;
  text-decoration: none; transition: all .18s;
}
.nav-links a:hover { background: var(--sage-soft); color: var(--sage-deep); }
.nav-links a.active { color: var(--terra-d); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); margin-left: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 0 116px;
  background:
    radial-gradient(90% 120% at 50% -20%, #eef3ea 0%, transparent 60%),
    linear-gradient(180deg, var(--sage-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}
/* голям деликатен ॐ водна марка */
.hero::before {
  content: "ॐ";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -46%);
  font-size: 30rem; line-height: 1;
  color: var(--sage);
  opacity: .12; z-index: 0; pointer-events: none;
}
/* мека органична вълна към следващата секция */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.4);
}
.hero .container { position: relative; z-index: 1; max-width: var(--maxw-wide); }
.hero .om-big { font-size: 2.8rem; color: var(--terra); display: block; margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 300; letter-spacing: .01em;
  max-width: none; white-space: nowrap; margin: 0 auto .4em;
}
.hero .lead {
  font-family: var(--serif); font-style: italic;
  font-size: 1.32rem; color: var(--ink-soft);
  max-width: 44ch; margin: 0 auto;
}

/* ---------- Бутони (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-weight: 600; font-size: .78rem;
  background: var(--terra); color: #fff;
  padding: 15px 30px; border-radius: 999px;
  text-decoration: none; box-shadow: var(--shadow-soft);
  transition: transform .18s, background .18s, box-shadow .18s;
}
.btn::after { content: "→"; font-size: 1.05em; transition: transform .18s; }
.btn:hover { background: var(--terra-d); color: #fff; transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--terra-d); box-shadow: none; border: 1.5px solid var(--terra); }
.btn--ghost::after { content: none; }
.btn--ghost:hover { background: var(--terra); color: #fff; }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-title h2 { margin-top: 0; font-size: 2rem; font-weight: 400; }
.section-title p { color: var(--ink-soft); max-width: 50ch; margin: 0 auto 2.4em; font-style: italic; }

/* ---------- Карти (мрежа от теми) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  display: block; background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; text-decoration: none;
  color: var(--ink);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: transparent; color: var(--ink); text-decoration: none;
}
.card h3 {
  margin: 0 0 .5em; font-size: 1.22rem; font-weight: 500;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }
.card .tag {
  display: inline-block; margin-top: 18px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; color: var(--terra-d); font-weight: 600;
}
.card.soon { opacity: .7; }
.card.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card.soon .tag { color: var(--ink-soft); }

/* ---------- Статия ---------- */
.article { padding: 72px 0 80px; }
.article-header { text-align: center; margin-bottom: 52px; }
.article-header h1 { margin: .1em 0 .35em; font-size: 2.9rem; font-weight: 300; }
.article-header .sub {
  font-family: var(--serif); font-style: italic;
  font-size: 1.28rem; color: var(--ink-soft); max-width: 46ch; margin: 0 auto;
}
.article-body { font-size: 1.1rem; }
.article-body h2 {
  padding-bottom: .3em; position: relative; font-weight: 500;
}
.article-body h2::after {
  content: ""; display: block; width: 52px; height: 3px; margin-top: .5em;
  background: var(--terra); border-radius: 2px;
}
.article-body blockquote {
  margin: 2em 0; padding: 26px 32px;
  background: var(--sage-soft); border-radius: var(--radius);
  border-left: 4px solid var(--terra);
  font-family: var(--serif); font-style: italic; font-size: 1.24rem; color: var(--sage-deep);
}
.article-body blockquote cite {
  display: block; font-family: var(--display); font-size: .8rem; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: .8em; font-weight: 500;
}
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.article-body li { margin-bottom: .55em; }
.article-body li::marker { color: var(--terra); }
.sanskrit { font-style: italic; color: var(--sage-deep); }

/* информационна кутия */
.callout {
  background: var(--sage-soft);
  border: 1px solid rgba(71, 86, 74, 0.12);
  border-radius: var(--radius);
  padding: 26px 30px; margin: 2em 0;
}
.callout h4 {
  margin: 0 0 .5em; font-family: var(--display);
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra-d); font-weight: 600;
}
.callout p:last-child { margin-bottom: 0; }

/* степени / номерирани списъци */
.steps { list-style: none; padding: 0; margin: 2em 0; counter-reset: step; }
.steps li {
  position: relative; padding: 20px 22px 20px 74px; margin-bottom: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .18s, box-shadow .18s;
}
.steps li:hover { border-color: transparent; box-shadow: var(--shadow-soft); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 22px;
  width: 40px; height: 40px;
  background: var(--sage-soft); color: var(--sage-deep);
  border: 1.5px solid var(--sage);
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-family: var(--display); font-size: 1.05rem;
}
.steps li strong { color: var(--ink); }
.steps .term { font-style: italic; color: var(--sage-deep); }

/* навигация между статии */
.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.article-nav a {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em;
  font-size: .8rem; font-weight: 600;
}

/* ---------- Футър ---------- */
.site-footer {
  background: var(--sage-deep); color: #d8ded6; margin-top: 0;
  padding: 72px 0 36px; font-size: .95rem;
}
.site-footer a { color: #ecc9a8; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
  max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px;
}
.footer-grid h4 {
  color: #fff; font-family: var(--display); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.1em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .6em; }
.footer-brand p { color: #b8c2b8; font-family: var(--serif); }
.footer-brand .om { color: var(--terra); font-size: 1.5rem; }
.footer-brand h4 {
  font-family: var(--display); text-transform: none; letter-spacing: .01em;
  font-size: 1.15rem; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.footer-bottom {
  text-align: center; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #9aa79b; font-size: .82rem;
  font-family: var(--display); letter-spacing: .04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  h1 { font-size: 2rem; }
  .hero { padding: 72px 20px 88px; }
  .hero h1 { font-size: 2rem; white-space: normal; }
  .hero::before { font-size: 18rem; }
  .article-header h1 { font-size: 2.1rem; }
  .section { padding: 60px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px; border-radius: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .article-nav { flex-direction: column; }
}
