/* Quantum Heal Hub - "Circle of Healing".
   Obiectul-identitate: atomul din logo (3 orbite albastre, electroni, nucleu mov / cyan / roz) + afisul lor "Step into the Circle of Healing" (Mind, Body, Emotions, Energy).
   Hero: portretul lui Yioula = nucleul; orbitele se deseneaza si electronii pornesc. Semnatura: roata cu cele 4 puncte. Moment: cerc (retreatul de la Lefkara).
   Paleta din logo: indigo noapte (afisele), lila pal, mov Q, albastru orbite, cyan M. Piazzolla (serif cu italic, are greaca) + Geologica. */
:root {
  --c-fond: #f5f1f7;
  --c-fond-2: #ebe4f0;
  --c-text: #1c1836;
  --c-text-2: #686179;
  --c-accent: #1c1836;
  --c-accent-text: #fff;
  --c-mov: #8e4f9f;
  --c-albastru: #2b63b8;
  --c-cyan: #4fc3dc;
  --c-roz: #c4508a;
  --c-noapte: #17142e;
  --c-pret: #8e4f9f;
  --c-stele: #8e4f9f;
  --c-linie: rgba(28, 24, 54, .1);
  --f-titlu: "Piazzolla", Georgia, serif;
  --f-text: "Geologica", system-ui, sans-serif;
  --raza: 24px;
  --raza-mare: 34px;
  --raza-btn: 999px;
  --lat: 1220px;
  --bara-h: 72px;
  --sectiune: clamp(50px, 6.5vw, 88px);
  --banda-card: clamp(220px, 62vw, 330px);
  --banda-gap: 14px;
  --c-cortina: var(--c-noapte);
}
body { background: var(--c-fond); font-size: 1rem; line-height: 1.62; font-weight: 400; }
h1, h2, h3 { font-family: var(--f-titlu); font-weight: 400; letter-spacing: -.025em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h1 em, h2 em { font-style: italic; color: var(--c-mov); }
.eticheta { font-family: var(--f-text); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--c-mov); }
.btn { min-height: 48px; font-weight: 500; }

/* ---------- bara ---------- */
.bara { background: rgba(245, 241, 247, .97); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bara.derulat { border-bottom-color: var(--c-linie); }
.bara__logo .logo-q, .bara__logo .logo-q img { display: block; width: auto; height: 54px; }
.bara__nav { gap: 2px; }
.bara__nav a { font-size: .93rem; color: var(--c-text-2); padding: 10px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.bara__nav a:hover, .bara__nav a[aria-current="page"] { background: var(--c-fond-2); color: var(--c-text); text-decoration: none; }
.bara .bara__cta { min-height: 44px; padding: 0 1.2em; }
.meniu a { font-family: var(--f-titlu); font-weight: 400; }

/* ---------- hero: atomul ---------- */
.hero { padding: 6px 12px 0; }
.hero__panou {
  position: relative; overflow: hidden; border-radius: var(--raza-mare); color: #fff;
  background: radial-gradient(120% 90% at 78% 40%, #2c2558 0%, var(--c-noapte) 62%);
  display: grid; align-items: center; gap: 8px; padding: clamp(30px, 6vw, 72px) clamp(22px, 5vw, 72px) clamp(34px, 5vw, 64px);
  min-height: min(calc(var(--vh) * 86 - var(--bara-h)), 860px);
}
.hero__panou::before { /* praf de stele, discret, ca pe afisele lor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 32% 78%, #cfe9ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 58% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 84%, #e6d4ff 50%, transparent 51%), radial-gradient(1px 1px at 92% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 62%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 46% 52%, #bfe8f3 50%, transparent 51%);
}
.hero__txt { position: relative; z-index: 2; max-width: 600px; }
.hero__txt .eticheta { color: var(--c-cyan); }
.hero h1 { margin: .25em 0 .3em; color: #fff; }
.hero h1 span { display: block; }
.hero h1 em { color: #d9b8ee; }
.hero__sub { color: rgba(255, 255, 255, .72); max-width: 44ch; margin: 0 0 26px; }
.hero .btn--plin, .hero .btn:not(.btn--contur) { background: #fff; color: var(--c-text); border-color: #fff; }
.hero .link-sageata { color: #fff; }
.hero__atom { position: relative; width: min(100%, 560px); aspect-ratio: 1; justify-self: center; z-index: 1; }
.hero__nucleu { position: absolute; inset: 24%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 0 80px 10px rgba(79, 195, 220, .28), 0 0 160px 40px rgba(142, 79, 159, .3); }
.hero__nucleu picture, .hero__nucleu img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.orbite { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbita { fill: none; stroke: rgba(170, 205, 255, .55); stroke-width: 1.6; stroke-dasharray: 1; }
.electron { filter: drop-shadow(0 0 6px currentColor); }
@media (min-width: 900px) {
  .hero__panou { grid-template-columns: 1.05fr 1fr; padding-right: clamp(30px, 4vw, 60px); }
}
@media (max-width: 899px) {
  .hero__atom { width: min(86%, 420px); order: -1; margin: -6px auto 4px; }
  .hero__panou { min-height: 0; }
}
/* deschiderea: orbitele se deseneaza, nucleul se aprinde, electronii apar */
.js .orbita { stroke-dashoffset: 1; }
.js .electron { opacity: 0; }
.js .hero__nucleu { transform: scale(.55); opacity: 0; filter: blur(10px); }
.js .hero__txt > * { opacity: 0; transform: translateY(16px); }
.intro .orbita { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.55, .1, .25, 1); }
.intro .orbite g:nth-child(2) .orbita { transition-delay: .18s; }
.intro .orbite g:nth-child(3) .orbita { transition-delay: .36s; }
.intro .electron { opacity: 1; transition: opacity .6s ease 1.3s; }
.intro .hero__nucleu { transform: none; opacity: 1; filter: none; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1) .25s, opacity .9s ease .25s, filter 1.2s ease .25s; }
.intro .hero__txt > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.intro .hero__txt > :nth-child(1) { transition-delay: .5s; }
.intro .hero__txt > :nth-child(2) { transition-delay: .65s; }
.intro .hero__txt > :nth-child(3) { transition-delay: .9s; }
.intro .hero__txt > :nth-child(4) { transition-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__nucleu { transform: none; filter: none; }
  .js .hero__txt > * { transform: none; }
}

/* ---------- roata: Circle of Healing ---------- */
.roata__grila { display: grid; gap: clamp(30px, 5vw, 70px); align-items: center; }
.roata__intro h2 { margin: .3em 0 .4em; max-width: 14ch; }
.roata__intro > p:last-child { color: var(--c-text-2); max-width: 42ch; }
@media (min-width: 900px) { .roata__grila { grid-template-columns: .9fr 1.1fr; } }
.roata { --unghi: 0deg; --c: var(--c-mov); }
.roata__cerc { container-type: inline-size; position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.roata__inel { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.roata__inel circle { fill: none; stroke: var(--c-linie); stroke-width: 1.4; }
.roata__inel .roata__arc { stroke: var(--c); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .25 .75; stroke-dashoffset: calc(var(--rot, 0) * -1); transition: stroke-dashoffset .8s cubic-bezier(.6, .05, .2, 1), stroke .5s; }
.roata__nod {
  --a: calc(var(--i) * 90deg + 45deg);
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  transform: rotate(var(--a)) translateY(-42.5cqw) rotate(calc(var(--a) * -1));
  display: grid; place-content: center; justify-items: center; gap: 2px; cursor: pointer;
  background: #fff; color: var(--c-text); border: 1px solid var(--c-linie); font: 500 .8rem/1.1 var(--f-text);
  box-shadow: 0 10px 30px -14px rgba(28, 24, 54, .35); transition: background-color .35s, color .35s, box-shadow .35s;
}
.roata__nod .ico { width: 26px; height: 26px; color: var(--c); transition: color .35s; }
.roata__nod[aria-pressed="true"] { background: var(--c); color: #fff; box-shadow: 0 14px 40px -12px var(--c); }
.roata__nod[aria-pressed="true"] .ico { color: #fff; }
.roata__nod:focus-visible { outline: 2px solid var(--c-text); outline-offset: 3px; }
.roata__miez { position: absolute; inset: 21%; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; padding: 8%; box-shadow: inset 0 0 0 1px var(--c-linie), 0 30px 60px -40px rgba(28, 24, 54, .45); }
.roata__panou[hidden] { display: none; }
.roata__panou { animation: roata-in .55s var(--ease) both; }
.roata__panou .eticheta { color: var(--c); margin: 0 0 6px; }
.roata__panou ul { list-style: none; margin: 0 0 10px; padding: 0; font-family: var(--f-titlu); font-size: clamp(.98rem, 2.2vw, 1.22rem); line-height: 1.22; }
.roata__panou li + li { margin-top: .42em; }
.roata__link { font-size: .84rem; font-weight: 500; color: var(--c-text); display: inline-flex; align-items: center; gap: 6px; }
.roata__link .ico { width: 16px; height: 16px; }
@keyframes roata-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 520px) {
  .roata__nod { width: 74px; height: 74px; margin: -37px 0 0 -37px; font-size: .7rem; }
  .roata__nod .ico { width: 22px; height: 22px; }
  .roata__miez { inset: 19%; padding: 6%; }
  .roata__panou ul { font-size: .9rem; }
  .roata__panou ul li:nth-child(3) { display: none; }
}

/* ---------- Yioula ---------- */
.yioula { display: grid; gap: clamp(26px, 5vw, 70px); align-items: center; }
.yioula__poza { border-radius: 999px 999px var(--raza) var(--raza); overflow: hidden; max-width: 440px; }
.yioula__poza img { display: block; width: 100%; height: auto; }
.yioula__txt h2 { margin: .3em 0 .45em; }
.yioula__txt > p:not(.eticheta) { color: var(--c-text-2); max-width: 46ch; }
@media (min-width: 900px) { .yioula { grid-template-columns: 420px 1fr; } }
.cifre { margin-top: 28px; }

/* ---------- momentul cerc: Lefkara ---------- */
.sectiune--cerc { position: relative; padding-block: 0; }
.sectiune--cerc .moment__media { position: relative; height: min(calc(var(--vh) * 88), 820px); overflow: hidden; }
.sectiune--cerc .moment__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(23, 20, 46, .78) 100%); pointer-events: none; }
.sectiune--cerc .moment__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cerc__txt { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vw, 70px); color: #fff; text-align: center; pointer-events: none; }
.cerc__txt > * { pointer-events: auto; }
.cerc__txt .eticheta { color: #fff; opacity: .85; }
.cerc__txt h2 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); margin: .2em 0 .4em; }
.cerc__txt h2 em { color: #fff; }
.cerc__txt .acciones { justify-content: center; }
.cerc__txt .link-sageata { color: #fff; background: rgba(23, 20, 46, .55); padding: 10px 18px; border-radius: 999px; }

/* ---------- academia ---------- */
.diplome { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.diplome figure { margin: 0; border-radius: var(--raza); overflow: hidden; }
.diplome img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.diplome figure:nth-child(2) { transform: translateY(28px); }
@media (max-width: 699px) {
  .diplome { grid-template-columns: 1fr 1fr; gap: 10px; }
  .diplome figure:nth-child(2) { transform: translateY(22px); }
  .diplome figure:nth-child(3) { display: none; }
}
.nivele { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .nivele { grid-template-columns: 1fr 1fr; } }
.nivel h2 { margin: .25em 0 .5em; }
.cursuri { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: c; }
.cursuri li { counter-increment: c; display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--c-linie); font-family: var(--f-titlu); font-size: 1.15rem; }
.cursuri li::before { content: counter(c, decimal-leading-zero); font: 500 .74rem var(--f-text); color: var(--c-mov); letter-spacing: .1em; }
.nivel__poza { border-radius: var(--raza); overflow: hidden; min-height: 300px; }
.nivel__poza picture, .nivel__poza img { display: block; width: 100%; height: 100%; object-fit: cover; }
.echipa { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.echipa li { background: #fff; border-radius: var(--raza); padding: 20px 22px; display: grid; gap: 4px; }
.echipa strong { font-family: var(--f-titlu); font-weight: 500; font-size: 1.2rem; }
.echipa span { color: var(--c-text-2); font-size: .92rem; }

/* ---------- recenzii + poze ---------- */
.sectiune--rec { padding-bottom: 0; }
.sectiune--rec .banda { --banda-card: clamp(280px, 84vw, 460px); --banda-gap: 0px; }
.sectiune--rec .recenzie { background: none; border-radius: 0; border-left: 1px solid var(--c-linie); padding: 6px 28px; gap: 12px; }
.sectiune--rec .recenzie blockquote { font-family: var(--f-titlu); font-size: 1.14rem; line-height: 1.42; }
.sectiune--rec .recenzie footer { margin-top: 0; color: var(--c-mov); font-weight: 500; }
.sectiune--foto { padding-top: clamp(30px, 4vw, 50px); }

/* ---------- final ---------- */
.final { position: relative; overflow: hidden; background: radial-gradient(110% 120% at 50% 0%, #2c2558 0%, var(--c-noapte) 70%); text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.final__txt { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); color: #fff; }
.final h2 em { color: #d9b8ee; }
.final p { margin-inline: auto; color: rgba(255, 255, 255, .72); }
.final .acciones { justify-content: center; }
.final .btn:not(.btn--contur) { background: #fff; color: var(--c-text); border-color: #fff; }
.final .btn--contur { color: #fff; border-color: rgba(255, 255, 255, .4); }
.orbite--final { left: 50%; top: 50%; width: min(130%, 900px); height: auto; aspect-ratio: 1; transform: translate(-50%, -50%); inset: auto; opacity: .55; }
.orbite--final .orbita { stroke: rgba(170, 205, 255, .3); }

/* ---------- pagini interioare ---------- */
.pagina-cap { padding-bottom: clamp(20px, 3vw, 36px); }
.pagina-cap h1 { margin: .2em 0 .25em; }
.pagina-cap__sub { color: var(--c-text-2); max-width: 54ch; font-size: 1.06rem; }
.salt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.salt a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; color: var(--c-text); font-size: .92rem; text-decoration: none; border: 1px solid var(--c-linie); }
.salt a .ico { width: 22px; height: 22px; color: var(--c); }
.grup { padding-block: clamp(18px, 3vw, 34px); scroll-margin-top: calc(var(--bara-h) + 12px); }
.grup__grila { display: grid; gap: 16px; }
@media (min-width: 900px) { .grup__grila { grid-template-columns: 300px 1fr; align-items: start; } }
.grup__cap { display: flex; align-items: center; gap: 16px; }
.grup__cap h2 { margin: 0; }
.grup__ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; }
.grup__ico .ico { width: 30px; height: 30px; }
.nota-mica { font-size: .86rem; color: var(--c-text-2); max-width: 70ch; }
.retreat { display: grid; gap: 18px; }
@media (min-width: 900px) { .retreat { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.retreat__poza { border-radius: var(--raza); overflow: hidden; min-height: 320px; }
.retreat__poza picture, .retreat__poza img { display: block; width: 100%; height: 100%; object-fit: cover; }
.retreat h2, .contact h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .6em; }
.contact { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }

/* ---------- subsol ---------- */
.subsol { background: var(--c-noapte); color: rgba(255, 255, 255, .68); }
.subsol a { color: #fff; }
.subsol h4 { color: var(--c-cyan); font-family: var(--f-text); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; }
.subsol__logo, .subsol__logo img { display: block; width: 170px; height: auto; margin-bottom: 12px; }
.subsol__logo img { filter: brightness(0) invert(1); opacity: .92; }
.subsol__nota { font-size: .82rem; opacity: .75; max-width: 40ch; }
.subsol__datos { background: var(--c-fond-2); }
.cookies { background: var(--c-noapte); }
