/* yogasana.ro — foaia de stil comună
   Fond alb cald, benzi piersică, accent șofran; Gotu la titluri, Mukta la text.
   Regulă: nu se culege „ā” în Gotu (macronul se desprinde la corp mare). */

:root {
  --bg:      #FAF9F7;   /* alb cald */
  --band:    #F2E9E3;   /* piersică deschisă — benzile */
  --ink:     #344033;   /* verde-cenușiu închis */
  --ink-2:   #55605A;
  --muted:   #69727D;
  --saffron: #D45700;   /* accentul */
  --saffron-2:#B54A00;  /* accent la hover */
  --peach:   #FFDFCD;   /* text și butoane pe fond închis */
  --line:    #E3D8CF;
  --disp: "Gotu", "Brygada 1918", Georgia, serif;
  --sans: "Mukta", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --narrow: 720px;
  --pad: clamp(20px, 5vw, 64px);
  --sec: clamp(64px, 10vh, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(17px, 1rem + .2vw, 19px); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--disp); font-weight: 400; margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
strong { font-weight: 600; }
[lang="sa-Latn"] { font-style: italic; }
h1 [lang="sa-Latn"], h2 [lang="sa-Latn"], h3 [lang="sa-Latn"], .t [lang="sa-Latn"] { font-family: var(--sans); font-weight: 400; }  /* Gotu has no ā/ī/ū: the macron renders detached, so IAST inside display type is set in Mukta */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.center { text-align: center; }
.kicker { font-family: var(--disp); color: var(--saffron); font-size: 1.1rem; margin-bottom: 14px; }
.label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--saffron); }
.note { color: var(--muted); font-size: .92em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 20; }
.skip:focus { left: 12px; }

/* butoane-pastilă */
.btn {
  display: inline-block; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 13px 26px 12px; border-radius: 999px; text-decoration: none;
  background: var(--saffron); color: #fff; border: 1.5px solid var(--saffron);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--saffron-2); border-color: var(--saffron-2); }
.btn.alt { background: var(--peach); color: var(--saffron); border-color: var(--peach); }
.btn.alt:hover { background: #F7CDB4; border-color: #F7CDB4; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.btns.center { justify-content: center; }
a:focus-visible { outline: 2px solid var(--saffron); outline-offset: 4px; }

/* pictograme (telefon, plic, WhatsApp) — sprite în /assets/icons.svg, culoarea textului */
.ic { width: 1em; height: 1em; vertical-align: -.16em; margin-right: .45em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.wa { fill: currentColor; stroke: none; }
.btn .ic { width: 1.1em; height: 1.1em; vertical-align: -.2em; margin-right: .5em; }

/* bandă de anunț deasupra antetului (nu e lipicioasă) */
.bar { display: block; background: var(--saffron); color: #fff; text-align: center; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .01em; padding: 10px var(--pad); transition: background .2s; }
.bar span { text-decoration: underline; text-underline-offset: 3px; }
.bar:hover { background: var(--saffron-2); }

/* antet */
.top { background: var(--bg); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line);
  /* Safari pe iOS nu pictează uneori antetul lipicios până la prima derulare; stratul propriu îl obligă */
  transform: translateZ(0); -webkit-backface-visibility: hidden; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--disp); font-size: 1.45rem; text-decoration: none; color: var(--ink); }
.brand span { color: var(--saffron); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--saffron); }
/* meniul pe telefon: o casetă de bifat ascunsă și eticheta ei „hamburger” — fără JavaScript */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mtog, .burger, .call { display: none; }
@media (max-width: 720px) {
  .top .wrap { justify-content: center; padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
  .burger, .call { display: flex; position: absolute; top: 50%; transform: translateY(-50%); align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; }
  .burger { left: calc(var(--pad) - 10px); color: var(--ink); cursor: pointer; }
  /* caseta stă exact sub buton, vizibilă (opacitate 0), ca focalizarea ei să nu deruleze pagina */
  .mtog { display: block; position: absolute; left: calc(var(--pad) - 10px); top: 50%; transform: translateY(-50%); width: 44px; height: 44px; margin: 0; opacity: 0; pointer-events: none; }
  .call { right: calc(var(--pad) - 10px); color: var(--saffron); }
  .call .ic { width: 22px; height: 22px; margin: 0; vertical-align: 0; }
  .burger .ln { position: relative; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: background .15s; }
  .burger .ln::before, .burger .ln::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
  .burger .ln::before { top: -7px; }
  .burger .ln::after { top: 7px; }
  .mtog:checked ~ .burger .ln { background: transparent; }
  .mtog:checked ~ .burger .ln::before { transform: translateY(7px) rotate(45deg); }
  .mtog:checked ~ .burger .ln::after { transform: translateY(-7px) rotate(-45deg); }
  .mtog:focus-visible ~ .burger { outline: 2px solid var(--saffron); outline-offset: 2px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 4px var(--pad) 10px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(52, 64, 51, .3); font-size: 1.05rem; }
  .nav a { display: block; padding: 13px 0; border-top: 1px solid var(--line); }
  .nav a:first-child { border-top: 0; }
  .mtog:checked ~ .nav { display: flex; }
}
/* ancorele (#repere, #prima-venire, #date, #profesor) se opresc sub antetul lipicios */
main [id] { scroll-margin-top: 96px; }
@media (max-width: 720px) { main [id] { scroll-margin-top: 84px; } }

/* deschiderea paginilor */
.hero { padding: clamp(64px, 12vh, 140px) 0 var(--sec); text-align: center; }
.hero h1 { color: var(--saffron); font-size: clamp(2.1rem, 5.2vw, 3.7rem); max-width: 22ch; margin: 0 auto; }
.hero .lead { font-family: var(--disp); font-size: clamp(1.35rem, 2.7vw, 2rem); line-height: 1.3; max-width: 30ch; margin: 26px auto 0; }
.hero p.txt { max-width: 56ch; margin: 24px auto 0; color: var(--ink-2); }
.hero .btns { margin-top: 34px; }
.hero .note { margin-top: 26px; }

.pagehead { padding: clamp(56px, 9vh, 104px) 0 var(--sec); text-align: center; }
.pagehead h1 { color: var(--saffron); font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 22ch; margin: 0 auto; }
.pagehead .lead { font-family: var(--disp); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35; max-width: 36ch; margin: 22px auto 0; }
.pagehead p.txt { max-width: 56ch; margin: 20px auto 0; color: var(--ink-2); }
.pagehead .btns { margin-top: 30px; }

/* benzi și secțiuni */
.band { background: var(--band); }
.sec { padding: var(--sec) 0; }
.sec h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.dark { background: var(--ink); color: var(--peach); }
.dark .label { color: var(--peach); opacity: .85; }
.dark h2 { color: #fff; }

.sechead { text-align: center; margin-bottom: clamp(32px, 5vh, 48px); }
.sechead h2 { margin-top: 10px; }
.sechead p { max-width: 52ch; margin: 16px auto 0; color: var(--ink-2); }

/* două coloane: titlu / text */
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.two .lead { font-family: var(--disp); font-size: 1.3rem; line-height: 1.35; margin-top: 18px; color: var(--ink-2); }
.two .side p { margin-top: 18px; color: var(--ink-2); }
.two .side .label { margin: 0 0 10px; color: var(--saffron); }
.two .txt .say { font-family: var(--disp); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.4; color: var(--ink); }
.two .txt p + p { margin-top: 1em; }
.two .btns { margin-top: 28px; }
.two .txt .btns:first-child { margin-top: 0; }
@media (max-width: 800px) { .two { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* citat (sūtra) */
.quote { text-align: center; }
.quote .q { font-family: var(--disp); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; max-width: 24ch; margin: 0 auto; }
.quote .tr { font-style: italic; color: var(--ink-2); margin-top: 18px; font-size: 1.05em; }
.quote .src { margin-top: 10px; }

/* program */
.sched { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sched li { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.sched .d { font-weight: 600; }
.sched .c { color: var(--ink-2); font-size: .95em; grid-column: 1; }
.sched .t { font-family: var(--disp); color: var(--saffron); font-size: 1.5rem; grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sched .c i { font-style: italic; color: var(--muted); }

/* repere (numerotate roman) și pași (numerotați arab) */
.rep, .steps { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.steps { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.rep li, .steps li { counter-increment: r; border-top: 2px solid var(--saffron); padding-top: 18px; }
.rep li::before, .steps li::before { content: counter(r, upper-roman); display: block; font-family: var(--disp); color: var(--saffron); font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.steps li::before { content: counter(r); }
.rep .nm, .steps .nm { font-family: var(--disp); font-size: 1.25rem; display: block; }
.rep .sa { font-style: italic; color: var(--muted); display: block; margin: 2px 0 8px; }
.rep p, .steps p { color: var(--ink-2); font-size: .95em; }
.steps .nm { margin-bottom: 8px; }

/* liste cu linii (recuzita) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows .nm { font-family: var(--disp); font-size: 1.2rem; display: block; margin-bottom: 4px; }
.rows p { color: var(--ink-2); font-size: .95em; }

/* listă simplă cu liniuță șofran (ce se schimbă cu practica) */
.dash { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 32px; }
.dash li { position: relative; padding-left: 28px; }
.dash li::before { content: ""; position: absolute; left: 4px; top: calc(.825em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); }

/* cuvântul mare */
.big { text-align: center; }
.big .word { font-family: var(--disp); color: var(--saffron); font-size: clamp(3.4rem, 13vw, 10.5rem); line-height: 1; letter-spacing: -.01em; }
.big .expl { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-top: 18px; }
.big .expl span { font-style: italic; }
.big p.txt { max-width: 56ch; margin: 18px auto 0; color: var(--ink-2); }
.big .btns { margin-top: 30px; }

/* carduri (ghiduri, tarife, contact) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cards a { display: block; background: var(--band); border-radius: 18px; padding: 22px 24px 24px; text-decoration: none; height: 100%; transition: transform .2s; }
.cards a:hover { transform: translateY(-2px); }
.cards .k { display: block; margin-bottom: 8px; }
.cards .t { font-family: var(--disp); font-size: 1.25rem; line-height: 1.25; display: block; color: var(--saffron); }
.cards .d { display: block; margin-top: 8px; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.cards .m { display: block; margin-top: 10px; color: var(--muted); font-size: .9em; }

/* lista de ghiduri, în pagina Ghiduri */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 150px 1fr; gap: 4px 32px; padding: 26px 0; text-decoration: none; color: var(--ink); }
.posts .m { grid-column: 1; color: var(--muted); font-size: .9rem; padding-top: 6px; }
.posts .t { grid-column: 2; font-family: var(--disp); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; color: var(--saffron); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(212, 87, 0, .35); }
.posts .d { grid-column: 2; color: var(--ink-2); max-width: 60ch; margin-top: 8px; }
.posts a:hover .t { color: var(--saffron-2); text-decoration-color: currentColor; }
@media (max-width: 720px) {
  .posts a { grid-template-columns: 1fr; gap: 0; padding: 22px 0; }
  .posts .m, .posts .t, .posts .d { grid-column: 1; }
  .posts .m { order: 2; margin-top: 10px; padding-top: 0; }
  .posts .d { order: 1; font-size: .97rem; }
}
.band .cards a { background: var(--bg); }
.cards + .btns { margin-top: 32px; }

.prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.prices li { background: var(--band); border-radius: 18px; padding: 24px 24px 26px; display: flex; flex-direction: column; }
.prices .what { font-family: var(--disp); font-size: 1.2rem; line-height: 1.25; }
.prices .amt { font-family: var(--disp); color: var(--saffron); font-size: 2.6rem; line-height: 1; margin-top: 14px; }
.prices .amt small { font-family: var(--sans); font-size: 1rem; color: var(--ink-2); margin-left: 4px; }
.prices .per { margin-top: 10px; color: var(--muted); font-size: .92em; }
.prices + p { max-width: 62ch; margin-top: 28px; color: var(--ink-2); }

.contact { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact div { background: var(--band); border-radius: 18px; padding: 22px 24px 24px; }
.band .contact div, .band .prices li, .band .postnav a { background: var(--bg); }
.contact dt { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--saffron); margin-bottom: 8px; }
.contact dd { margin: 0; font-family: var(--disp); font-size: 1.2rem; line-height: 1.4; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--saffron); }
.contact dd .note { display: block; font-family: var(--sans); font-size: .92rem; margin-top: 6px; }
.contact dd a.note { color: var(--saffron); text-decoration: underline; text-underline-offset: 3px; }
.contact + .btns { margin-top: 32px; }

/* ghid (articol) */
.article { padding: clamp(56px, 9vh, 104px) 0 var(--sec); }
.article .wrap { max-width: var(--narrow); }
.article .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-bottom: 22px; }
.article .meta .rt { color: var(--muted); font-size: .92em; }
.article .meta .all { color: var(--saffron); font-size: .92em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(212, 87, 0, .35); }
.article h1 { color: var(--saffron); font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 30px; }
.prose p { margin-bottom: 1.25em; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin: 1.8em 0 .6em; }
.prose h2 .num { color: var(--saffron); margin-right: .45em; }
.prose ul { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--saffron); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose .ref { font-size: .72em; vertical-align: super; line-height: 0; text-decoration: none; font-weight: 600; margin-left: 2px; }
.prose em { font-style: italic; }
.more { margin-top: clamp(48px, 7vh, 72px); }
.more ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.more li { border-bottom: 1px solid var(--line); }
.more a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 24px; padding: 15px 0; text-decoration: none; color: var(--ink); }
.more .t { font-family: var(--disp); font-size: 1.15rem; line-height: 1.3; color: var(--saffron); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(212, 87, 0, .35); }
.more .m { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.more a:hover .t { color: var(--saffron-2); text-decoration-color: currentColor; }
.more .all { display: inline-block; margin-top: 22px; color: var(--saffron); font-size: .95rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(212, 87, 0, .35); }
@media (max-width: 480px) { .more a { flex-direction: column; gap: 4px; padding: 14px 0; } }

/* încheiere */
.close { text-align: center; }
.close h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 10px; }
.close p { max-width: 44ch; margin: 18px auto 0; }
.close .btns { margin-top: 32px; }
.close .btn { background: var(--peach); color: var(--ink); border-color: var(--peach); }
.close .btn:hover { background: #fff; border-color: #fff; }
.close .btn.line { background: transparent; color: var(--peach); border-color: rgba(255,223,205,.6); }
.close .btn.line:hover { background: rgba(255,223,205,.12); }

/* subsol */
.foot { padding: var(--sec) 0 48px; text-align: center; }
.foot .brand { font-size: 1.8rem; }
.foot .tag { font-family: var(--disp); font-size: 1.35rem; margin: 14px 0 6px; }
.foot .addr { color: var(--muted); }
.foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.foot .links a { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.foot .links a:hover { color: var(--saffron); text-decoration-color: currentColor; }
.foot .copy { margin-top: 22px; font-size: .85rem; color: var(--muted); }

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