/* ============================================================
   ALINA MIHAIL — cursuri, contact, pagini legale
   Se leagă DUPĂ core.css, motion.css, components.css, home.css.
   Nu redefinește nimic din ele: doar layouturile proprii
   acestor pagini.
   ============================================================ */

/* ---------- 1. HERO DE CURS ----------
   Ea stă în dreapta și arată spre stânga, exact peste lista cu
   ce se învață. Poziția nu e decorativă: degetul e săgeata. */
.chero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(1.6rem, 5vh, 3.6rem));
  padding-bottom: clamp(2.6rem, 7vh, 5.5rem);
  background:
    radial-gradient(60vw 52vh at 78% 22%, rgba(232, 213, 168, .5), transparent 70%),
    radial-gradient(46vw 40vh at 2% 88%, rgba(201, 169, 97, .15), transparent 70%),
    var(--ivory);
}
.chero__fan {
  position: absolute;
  left: -7vw;
  bottom: -5vh;
  width: min(40vw, 420px);
  opacity: .14;
  transform: rotate(-8deg);
  pointer-events: none;
}
.chero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}
.chero__h { margin-block: 1rem .2rem; }
.chero__h-line {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.5rem, 7.4vw, 7rem);
  line-height: .98;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.chero__h-line:nth-child(2) { margin-left: clamp(.3rem, 2.6vw, 2.2rem); color: var(--gold-deep); }
.chero__script {
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  color: var(--ink);
  margin-block: -.1rem 1.1rem;
}
.chero__ticks { margin-top: 1.6rem; max-width: 44ch; }
.chero__cta { margin-top: 1.8rem; }
.chero__fig {
  position: relative;
  margin: 0;
  justify-self: center;
  isolation: isolate;
}
.chero__fig::before {
  content: "";
  position: absolute;
  inset: 4% -8% 2% -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 46%, rgba(232, 213, 168, .66), rgba(247, 243, 234, 0) 68%);
  pointer-events: none;
}
.chero__fig img {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 74svh;
  object-fit: contain;
  object-position: bottom;
}

/* ---------- 2. CE ÎNVEȚI ---------- */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, 1.8vw, 1.6rem);
}
.learn__i { width: 26px; height: 26px; color: var(--gold-deep); }
.dark .learn__i { color: var(--gold); }
.learn .ticks { margin-top: .2rem; }

/* ---------- 3. CUI I SE ADRESEAZĂ ---------- */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.4rem, 3.4vw, 3rem);
}

/* ---------- 4. CE PRIMEȘTI ---------- */
.give__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
}
.give__fig {
  position: relative;
  margin: 0;
  justify-self: center;
  isolation: isolate;
}
.give__fig::before {
  content: "";
  position: absolute;
  inset: 6% -8% 0 -8%;
  background: radial-gradient(circle at 50% 46%, rgba(201, 169, 97, .24), rgba(11, 11, 12, 0) 66%);
  pointer-events: none;
}
.give__fig img {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 64svh;
  object-fit: contain;
  object-position: bottom;
}
.give__ticks { margin-top: 1.6rem; max-width: 52ch; }

/* Umbra la sol — gradient, nu `filter: drop-shadow()`. */
.chero__fig::after,
.give__fig::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: 58%;
  height: 7%;
  translate: -50% 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(11, 11, 12, .22), rgba(11, 11, 12, 0) 70%);
  pointer-events: none;
}
.give__fig::after { background: radial-gradient(ellipse, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%); }

/* ---------- 5. ACREDITARE ---------- */
.acred {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: start;
  padding: clamp(1.4rem, 3.2vw, 2.8rem);
  background: var(--ivory);
  border: 1px solid var(--gold-line);
}
.acred__seal { width: clamp(42px, 5.5vw, 68px); height: auto; color: var(--gold-deep); flex: none; }
.acred__p { color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.75; max-width: 70ch; }
.acred__p + .acred__p { margin-top: .9rem; }
.acred__names { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.acred__name {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.acred__name svg { width: 14px; height: 14px; flex: none; color: var(--gold-deep); }

/* ---------- 6. PREȚ LA CERERE ---------- */
.ask {
  display: grid;
  grid-template-columns: 1.15fr auto;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.4rem, 3.2vw, 2.6rem);
  background: var(--ivory-2);
  border-left: 2px solid var(--gold);
}
.ask__t {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}
.ask__d { margin-top: .7rem; font-size: var(--t-sm); color: var(--muted); line-height: 1.7; max-width: 56ch; }
.ask__btns { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- 7. HERO DE PAGINĂ (contact) ---------- */
.phero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 4.5rem));
  padding-bottom: clamp(2.4rem, 6vh, 4.5rem);
  background:
    radial-gradient(56vw 48vh at 82% 18%, rgba(232, 213, 168, .46), transparent 70%),
    var(--ivory);
}
.phero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
}
.phero__h { margin-block: 1rem .9rem; max-width: 14ch; }
.phero__fig { position: relative; margin: 0; justify-self: center; isolation: isolate; }
.phero__fig::before {
  content: "";
  position: absolute;
  inset: 8% -10% 4% -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%, rgba(232, 213, 168, .6), rgba(247, 243, 234, 0) 68%);
  pointer-events: none;
}
.phero__fig img {
  position: relative;
  width: 100%;
  max-width: 330px;
  max-height: 56svh;
  object-fit: contain;
  object-position: bottom;
}
.phero__fig::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: 56%;
  height: 7%;
  translate: -50% 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(11, 11, 12, .2), rgba(11, 11, 12, 0) 70%);
  pointer-events: none;
}

/* ---------- 8. CARDURI DE CONTACT ---------- */
.ctc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(.8rem, 1.8vw, 1.4rem);
}
.ctc {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.2rem, 2.4vw, 1.9rem);
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  transition: transform .6s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
}
a.ctc:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line);
  box-shadow: 0 30px 54px -44px rgba(11, 11, 12, .45);
}
.ctc__i { width: 24px; height: 24px; color: var(--gold-deep); }
.ctc__k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.ctc__v {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.ctc__d { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }

/* ---------- 9. FORMULAR ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.4vw, 1.8rem);
}
.field--full { grid-column: 1 / -1; }
.form-foot { margin-top: 1.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-note {
  margin-top: 1.4rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--gold-line);
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
}
.form-note a { border-bottom: 1px solid var(--gold-line); }

/* ---------- 10. CARD DE HARTĂ (fără iframe) ---------- */
.mapcard {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(247, 243, 234, .16);
}
.mapcard__net {
  position: absolute;
  inset: 0;
  opacity: .55;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(201, 169, 97, .16) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(201, 169, 97, .16) 0 1px, transparent 1px 54px);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 74%);
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 74%);
}
.mapcard__in { position: relative; z-index: 1; }
.mapcard__pin {
  width: 30px; height: 30px;
  color: var(--gold);
  margin-bottom: .9rem;
}
.mapcard__t { font-family: var(--display); font-size: var(--t-xl); font-weight: 500; line-height: 1.12; }
.mapcard__d { margin-top: .7rem; font-size: var(--t-sm); color: rgba(247, 243, 234, .72); line-height: 1.7; }
.mapcard .btn { margin-top: 1.3rem; }
.aside-stack { display: flex; flex-direction: column; gap: clamp(1rem, 2.4vw, 1.6rem); }

/* ---------- 11. PAGINI LEGALE ---------- */
.legal { padding-bottom: var(--sect); }
.legal__head { margin-bottom: clamp(1.2rem, 3vw, 2rem); }
.legal__h { margin-top: 1rem; }
.legal p.legal__intro {
  margin-top: 1.2rem;
  font-size: var(--t-lg);
  line-height: 1.6;
  color: var(--ink-soft);
}
.legal__toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.legal__toc a {
  padding: .5rem .95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.legal__toc a:hover { border-color: var(--gold-line); color: var(--fg); }
.legal__box {
  margin-top: 1.3rem;
  padding: 1.1rem 1.3rem;
  background: var(--ivory-2);
  border-left: 2px solid var(--gold);
}
.legal__box b {
  display: block;
  margin-bottom: .35rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.legal code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .88em;
  padding: .12em .42em;
  background: var(--ivory-2);
  border: 1px solid var(--line-soft);
  overflow-wrap: anywhere;
}
.legal__scroll { overflow-x: auto; margin-top: 1rem; }
.legal__scroll table { min-width: 460px; margin-top: 0; }
.legal p a, .legal li a, .legal td a { border-bottom: 1px solid var(--gold-line); }
.legal__foot {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .learn-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .chero__in { grid-template-columns: 1fr; gap: 1.2rem; }
  .chero__fig { order: -1; }
  .chero__fig img { max-height: 40svh; max-width: 320px; }
  .phero__in { grid-template-columns: 1fr; gap: 1.4rem; }
  .phero__fig { order: -1; }
  .phero__fig img { max-height: 32svh; max-width: 230px; }
  .phero__h { max-width: none; }
  .give__in { grid-template-columns: 1fr; gap: 2rem; }
  .give__fig { order: 2; }
  .give__fig img { max-width: 300px; max-height: 44svh; }
  .acred { grid-template-columns: 1fr; }
  .ask { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .aud-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .learn-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .ask__btns .btn, .form-foot .btn { flex: 1 1 100%; }
  .legal__scroll table { min-width: 380px; }
}
