/* ============================================================
   ALINA MIHAIL — componente
   Listă de prețuri, carduri, întrebări, galerie, formular,
   bara de cookie-uri.
   ============================================================ */

/* ---------- LISTĂ DE PREȚURI ----------
   Tipografiată, nu o poză: se poate citi la orice mărime, se poate
   copia, se indexează în Google și se schimbă un preț în trei secunde. */
.price-group { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.price-group__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-bottom: 1.4rem;
}
.price-group__t {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  /* Fără `nowrap`: un titlu lung ca „Extensii de gene Russian Volume"
     împingea linia aurie în afara ecranului pe telefon. */
}
@media (min-width: 760px) { .price-group__t { white-space: nowrap; } }
.dark .price-group__t { color: var(--gold); }
.price-group__head .rule { flex: 1; }

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.price-row:last-child { border-bottom: 0; }
.price-row__n {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  font-weight: 500;
  letter-spacing: .02em;
}
.price-row__d {
  grid-column: 1;
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.55;
  max-width: 54ch;
}
.price-row__p {
  grid-row: 1;
  grid-column: 2;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.price-row__p small {
  font-family: var(--sans);
  font-size: .56em;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--muted);
  margin-left: .35em;
}
.price-note {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--ivory-2);
  border-left: 2px solid var(--gold);
  font-size: var(--t-sm);
  color: var(--ink-soft);
}
.dark .price-note { background: rgba(247, 243, 234, .06); color: rgba(247, 243, 234, .8); }

/* ---------- CARD SERVICIU / CURS ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .7s var(--ease), border-color .5s var(--ease), box-shadow .7s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-line);
  box-shadow: 0 34px 60px -44px rgba(11, 11, 12, .4);
}
.dark .card { background: rgba(247, 243, 234, .04); border-color: rgba(247, 243, 234, .14); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; gap: .7rem; flex: 1; padding: clamp(1.3rem, 2.4vw, 2rem); }
.card__k {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.dark .card__k { color: var(--gold); }
.card__t {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.12;
}
.card__d { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }
.card__f {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-soft);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__f b { font-family: var(--display); font-size: 1.55em; font-weight: 500; color: var(--fg); letter-spacing: 0; }

/* ---------- LISTĂ CU BIFE ---------- */
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .62rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-sm);
  line-height: 1.6;
}
.ticks li:last-child { border-bottom: 0; }
.ticks svg { width: 15px; height: 15px; flex: none; margin-top: .42em; color: var(--gold-deep); }
.dark .ticks svg { color: var(--gold); }

/* ---------- STATISTICI ---------- */
.stat { display: flex; flex-direction: column; gap: .35rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.stat__n {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.02em;
}
.stat__n sup { font-size: .4em; vertical-align: super; color: var(--gold-deep); }
.dark .stat__n sup { color: var(--gold); }
.stat__k {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 22ch;
}

/* ---------- CITAT ---------- */
.quote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.26;
}
.quote__by {
  margin-top: 1.4rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.dark .quote__by { color: var(--gold); }

/* ---------- ÎNTREBĂRI ---------- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.1rem, 2.2vw, 1.7rem) 0;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.24;
}
.faq__sign { position: relative; width: 14px; height: 14px; flex: none; color: var(--gold-deep); }
.dark .faq__sign { color: var(--gold); }
.faq__sign::before, .faq__sign::after {
  content: ""; position: absolute; background: currentColor;
  transition: transform .5s var(--ease), opacity .4s;
}
.faq__sign::before { left: 0; top: 50%; width: 100%; height: 1px; translate: 0 -50%; }
.faq__sign::after { top: 0; left: 50%; height: 100%; width: 1px; translate: -50% 0; }
.faq__item.is-open .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: clamp(1.1rem, 2.2vw, 1.7rem); max-width: 68ch; color: var(--muted); font-size: var(--t-sm); }

/* ---------- GALERIE ---------- */
.gal { columns: 3; column-gap: clamp(.6rem, 1.4vw, 1.2rem); }
.gal figure { break-inside: avoid; margin: 0 0 clamp(.6rem, 1.4vw, 1.2rem); cursor: zoom-in; overflow: hidden; }
.gal img { width: 100%; transition: transform 1s var(--ease), filter .6s var(--ease); }
.gal figure:hover img { transform: scale(1.04); filter: brightness(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(11, 11, 12, .92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.is-on { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox__x {
  position: absolute;
  top: clamp(.8rem, 3vw, 2rem);
  right: clamp(.8rem, 3vw, 2rem);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--ivory);
  border: 1px solid rgba(247, 243, 234, .3);
  border-radius: 50%;
}
.lightbox__x svg { width: 18px; height: 18px; }

/* ---------- FORMULAR ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.inp {
  width: 100%;
  padding: .9em 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  font: inherit;
  font-size: var(--t-base);
  color: inherit;
  outline: none;
  transition: border-color .4s;
}
.inp::placeholder { color: var(--muted); opacity: .7; }
.inp:focus { border-color: var(--gold); }
.inp.is-bad { border-color: #B4453C; }
textarea.inp { resize: vertical; min-height: 6rem; }
select.inp { cursor: pointer; }
.field__err { font-size: var(--t-xs); color: #B4453C; }
.check { display: flex; align-items: flex-start; gap: .7rem; font-size: var(--t-sm); color: var(--muted); }
.check input { margin-top: .32em; width: 17px; height: 17px; accent-color: var(--gold-deep); flex: none; }
.form-ok {
  margin-top: 1.6rem;
  padding: 1.3rem 1.5rem;
  background: var(--ivory-2);
  border-left: 2px solid var(--gold);
}
.dark .form-ok { background: rgba(247, 243, 234, .07); }
.form-ok__t { font-family: var(--display); font-size: var(--t-lg); font-weight: 500; }
.form-ok__p { margin-top: .5rem; font-size: var(--t-sm); color: var(--ink-soft); }
.form-ok a { border-bottom: 1px solid var(--gold-line); }

/* ---------- BARA DE COOKIE-URI ---------- */
.cookie {
  position: fixed;
  left: clamp(.7rem, 2vw, 1.6rem);
  right: clamp(.7rem, 2vw, 1.6rem);
  bottom: clamp(.7rem, 2vw, 1.6rem);
  z-index: 500;
  max-width: 560px;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid rgba(247, 243, 234, .16);
  box-shadow: 0 30px 70px -40px rgba(11, 11, 12, .8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
  padding-bottom: calc(clamp(1.2rem, 2.4vw, 1.7rem) + env(safe-area-inset-bottom, 0px));
}
.cookie.is-on { opacity: 1; visibility: visible; transform: none; }
.cookie__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; }
.cookie__head svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.cookie__t { font-family: var(--display); font-size: var(--t-lg); font-weight: 500; }
.cookie__p { font-size: var(--t-sm); color: rgba(247, 243, 234, .74); line-height: 1.6; }
.cookie__p a { border-bottom: 1px solid var(--gold-line); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.cookie__btns .btn { flex: 1 1 auto; }
.cookie__more {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .6em 0;
}
.cookie__opts { margin-top: .9rem; display: flex; flex-direction: column; gap: .7rem; }
.cookie__opt {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--t-sm);
  color: rgba(247, 243, 234, .8);
}
.cookie__opt input { margin-top: .3em; width: 17px; height: 17px; accent-color: var(--gold); flex: none; }
.cookie__opt b { display: block; color: var(--ivory); font-weight: 600; }
.cookie__opt span { font-size: var(--t-xs); color: rgba(247, 243, 234, .58); }

/* ---------- PAGINI LEGALE ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vh, 5rem)); }
.legal h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 500;
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: .9rem;
}
.legal h3 {
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 500;
  margin-top: 1.8rem;
  margin-bottom: .5rem;
}
.legal p, .legal li { color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.75; }
.legal p + p { margin-top: .9rem; }
.legal ul { margin: .7rem 0 0; }
.legal li { position: relative; padding-left: 1.3rem; padding-block: .3rem; }
.legal li::before {
  content: "";
  position: absolute;
  left: 0; top: .95em;
  width: 6px; height: 1px;
  background: var(--gold);
}
.legal table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: var(--t-sm); }
.legal th, .legal td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.legal th { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.legal__updated {
  margin-top: 1rem;
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .gal { columns: 2; }
}
@media (max-width: 560px) {
  .gal { columns: 1; }
  .price-row { grid-template-columns: 1fr; }
  .price-row__p { grid-row: auto; grid-column: 1; margin-top: .3rem; }
  .cookie { max-width: none; }
  .cookie__btns .btn { flex: 1 1 100%; }
}
