/* ============================================================
   ALINA MIHAIL — pagina principală
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(1rem, 4vh, 3rem));
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  background:
    radial-gradient(64vw 54vh at 74% 24%, rgba(232, 213, 168, .5), transparent 70%),
    radial-gradient(48vw 40vh at 6% 84%, rgba(201, 169, 97, .16), transparent 70%),
    var(--ivory);
}
/* Halou cald în spatele siluetei, ca decupajul să nu pară lipit pe pagină. */
.hero__glow {
  position: absolute;
  right: 4%;
  top: 8%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 213, 168, .62), rgba(247, 243, 234, 0) 68%);
  pointer-events: none;
}
.hero__fan {
  position: absolute;
  left: -6vw;
  bottom: -4vh;
  width: min(42vw, 460px);
  opacity: .16;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero__h { margin-block: 1.1rem .2rem; }
.hero__h-line {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.9rem, 8.4vw, 8rem);
  line-height: .96;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero__h-line:nth-child(2) { margin-left: clamp(.4rem, 3vw, 2.6rem); color: var(--gold-deep); }
.hero__script {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  color: var(--ink);
  margin-block: -.2rem 1.2rem;
}
.hero__cta { margin-top: 1.9rem; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.8rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__facts svg { width: 17px; height: 17px; flex: none; color: var(--gold-deep); }

.hero__fig { position: relative; margin: 0; justify-self: center; }
.hero__fig img {
  width: 100%;
  max-width: 520px;
  max-height: 80svh;
  object-fit: contain;
  object-position: bottom;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vh, 2rem);
  translate: -50% 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll-line { display: block; width: 1px; height: 50px; background: var(--line); overflow: hidden; }
.hero__scroll-line i {
  display: block; width: 100%; height: 40%;
  background: var(--gold-deep);
  animation: scrollCue 2.4s var(--ease-soft) infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); }
  55%  { transform: translateY(150%); }
  100% { transform: translateY(150%); }
}

/* ---------- BANDĂ ---------- */
.band { padding-block: clamp(1.3rem, 3vw, 2.4rem); }
.band .marquee__word {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ivory);
}
.band .dia { width: .52em; height: .52em; }

/* ---------- ANTET DE SECȚIUNE ---------- */
.shead {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}
.shead--center { grid-template-columns: 1fr; justify-items: center; }
.shead__h { margin-top: 1rem; max-width: 15ch; }
.shead--center .shead__h { max-width: 20ch; }
.shead__note { padding-bottom: .3rem; }
.shead__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: clamp(1.8rem, 3.5vw, 3rem);
}

/* ---------- SERVICII ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 1.8vw, 1.6rem);
}

/* ---------- POVESTEA ---------- */
.story__in {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story__fig { position: relative; margin: 0; display: grid; place-items: end center; }
.story__disc {
  position: absolute;
  inset: auto 0 6% 0;
  width: min(92%, 460px);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ivory) 52%, rgba(247, 243, 234, 0) 72%);
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 0 60px rgba(201, 169, 97, .16);
}
.story__fig img {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.story__p { margin-top: 1.3rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- DE CE EU ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}
html.motion .why { opacity: 0; transform: translateY(20px); }
.why {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  transition: opacity .75s var(--ease-out) var(--d, 0ms), transform .75s var(--ease-out) var(--d, 0ms);
}
.why.is-in { opacity: 1; transform: none; }
.why__i { width: 26px; height: 26px; color: var(--gold-deep); }
.why__t { font-family: var(--display); font-size: var(--t-lg); font-weight: 500; }
.why__d { font-size: var(--t-sm); color: var(--muted); line-height: 1.62; }

/* ---------- FÂȘIE GALERIE ---------- */
.gal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.6rem, 1.4vw, 1.2rem);
  align-items: end;
}
html.motion .gal-strip figure { opacity: 0; transform: translateY(22px); }
.gal-strip figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: end center;
  background:
    radial-gradient(circle at 50% 72%, var(--ivory) 40%, rgba(247, 243, 234, 0) 72%),
    linear-gradient(180deg, transparent 40%, rgba(201, 169, 97, .1));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: opacity .75s var(--ease-out) var(--d, 0ms), transform .75s var(--ease-out) var(--d, 0ms),
              border-color .5s var(--ease);
}
.gal-strip figure.is-in { opacity: 1; transform: none; }
.gal-strip figure:hover { border-color: var(--gold-line); }
.gal-strip img {
  width: auto;
  max-width: 92%;
  max-height: 94%;
  object-fit: contain;
  object-position: bottom;
  transition: transform 1s var(--ease);
}
.gal-strip figure:hover img { transform: translateY(-6px) scale(1.02); }

/* ---------- ÎNTREBĂRI ---------- */
.faq__wrap {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: clamp(5rem, 12vw, 11rem); overflow: hidden; text-align: center; }
.cta__glow {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  width: min(80vw, 900px);
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse, rgba(201, 169, 97, .2), rgba(11, 11, 12, 0) 70%);
  pointer-events: none;
}
.cta__in { position: relative; z-index: 1; }
.cta__fan { width: clamp(52px, 7vw, 84px); margin: 0 auto 1.4rem; opacity: .9; }
.cta__h { margin-block: 1.3rem 1.6rem; }
.cta__btns { justify-content: center; margin-top: 2.2rem; }


/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .svc-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-strip { grid-template-columns: repeat(2, 1fr); }
  .shead { grid-template-columns: 1fr; align-items: start; }
  .shead__h { max-width: none; }
  .faq__wrap { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2.5rem; }
  .hero__in { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero__fig { order: -1; }
  .hero__fig img { max-height: 38svh; }
  .hero__glow { right: -10%; top: 2%; width: 82vw; }
  .hero__scroll { display: none; }
  .hero__cta { margin-top: 1.5rem; }
  .hero__facts { margin-top: 1.5rem; padding-top: 1.1rem; gap: .6rem 1.2rem; }

  .story__in { grid-template-columns: 1fr; }
  .story__fig { order: -1; }
  .story__fig img { max-width: 320px; }

  /* Pe telefon, cursul se citește întâi; ea rămâne dedesubt, la fel de
     prezentă, dar fără să împingă conținutul sub linia de pliere. */
  .courses__in { grid-template-columns: 1fr; gap: 2rem; }
  .courses__fig img { max-width: 340px; max-height: 44svh; }
}
@media (max-width: 560px) {
  .svc-grid, .why-grid { grid-template-columns: 1fr; }
  .hero__h-line { letter-spacing: .04em; }
}

/* ---------- UMBRA LA SOL ----------
   `filter: drop-shadow()` pe un decupaj de 880x1708 cu alpha cere o masca
   blurata recalculata la fiecare compunere si blocheaza firul principal.
   O elipsa in gradient, asezata sub silueta, da acelasi efect de asezare
   la o fractiune din cost. */
.hero__fig, .courses__fig, .story__fig { isolation: isolate; }
.hero__fig::after,
.courses__fig::after,
.story__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;
}
.courses__fig::after { background: radial-gradient(ellipse, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%); }

/* Fara motion (mod static sau reduced-motion) banda nu are de ce sa ruleze. */
html:not(.motion) .marquee__track { animation: none; }


/* ============================================================
   FOTOGRAFII ORIGINALE, FĂRĂ MARGINE VIZIBILĂ
   ============================================================
   Fotografiile de studio au fundal alb pur. `multiply` înmulțește
   fiecare pixel cu fundalul paginii: albul (255) dă exact ivoriul
   paginii și dispare, iar restul imaginii rămâne. Nicio decupare,
   niciun contur tăiat, zero halou — și fotografia rămâne întreagă,
   exact cum a fost făcută.
   Funcționează doar pe fundal deschis; pe cerneală ar albi imaginea. */
.blend, .pointer__img {
  mix-blend-mode: multiply;
}
/* Grupul de amestec trebuie să aibă el însuși fundalul paginii,
   altfel `multiply` se aplică peste transparent și nu face nimic. */
.hero__fig, .story__fig, .pointer {
  isolation: isolate;
  background: var(--ivory);
}
.story__fig { background: var(--ivory-2); }

@media (prefers-reduced-transparency: reduce) {
  .blend, .pointer__img { mix-blend-mode: normal; }
}

/* ---------- CURSURI: butonul în vârful degetului ---------- */
.courses { background: var(--ivory); }
.pointer { position: relative; }
.pointer__img { display: block; width: 100%; height: auto; }

/* Ancorat la 45,5% × 23,5% din lățimea/înălțimea fotografiei — exact
   vârful degetului ei arătător. Marginea din dreapta a butonului cade
   lângă deget, deci arată spre ceva, nu în gol. */
.pointer__btn {
  position: absolute;
  left: 43.5%;
  top: 22.5%;
  translate: -100% -50%;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 18px 40px -20px rgba(11, 11, 12, .45);
}
/* Un halou discret, ca butonul să nu pară lipit peste fotografie. */
.pointer__btn::after {
  content: "";
  position: absolute;
  inset: -36% -18%;
  z-index: -2;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(201, 169, 97, .26), rgba(247, 243, 234, 0) 70%);
  pointer-events: none;
}

.pointer__copy {
  position: absolute;
  left: 1%;
  top: 40%;
  width: 42%;
  z-index: 2;
}
.pointer__h { margin-top: .9rem; }
.pointer__copy .lede { margin-top: 1rem; }
.pointer__ticks { margin-top: 1.4rem; max-width: 42ch; }

@media (max-width: 1000px) {
  /* Sub această lățime, textul nu mai încape în spațiul alb din
     fotografie, deci totul revine în flux normal. */
  .pointer { display: flex; flex-direction: column; }
  .pointer__img { order: -1; max-width: 560px; margin-inline: auto; }
  .pointer__copy { position: static; width: auto; margin-top: 1.6rem; }
  .pointer__btn {
    position: static;
    translate: none;
    align-self: flex-start;
    margin-top: 1.6rem;
    box-shadow: none;
  }
  .pointer__btn::after { display: none; }
}
