/* ============================================================
   Centro Flor de Lis — Área NEUROFEEDBACK (NeurOptimal®)
   Hoja de área: hereda /styles.css y el design system del landing.
   Retheme AZUL aplicado vía inline <style> (4 tokens --accent*).
   Solo se definen aquí los componentes propios de esta página.
   ============================================================ */

/* ---------- Nav: enlace activo (current area) ---------- */
.nav__link--current { color: var(--accent); }
.nav__link--current::after { transform: scaleX(1); }

/* ============================================================
   AREA HERO — variante del .hero del landing
   Más compacto (no es portada): no necesita 96vh.
   ============================================================ */
.areahero {
  min-height: clamp(560px, 82vh, 860px);
  align-items: center;
}
.areahero .hero__inner { padding-top: clamp(2rem, 5vh, 4rem); }

/* botón de retorno: flecha a la izquierda del texto */
.areahero__back { color: var(--tinta-2); }
.areahero__back:hover { color: var(--accent); }
.textlink__arrow--back { transition: transform .45s var(--ease); }
.areahero__back:hover .textlink__arrow--back { transform: translateX(-3px); }

/* destaca gratuita */
.areahero__flag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  padding: .6rem 1.1rem;
  border-radius: 100px;
  background: var(--white);
  box-shadow: var(--sh-sm), inset 0 0 0 1px color-mix(in srgb, var(--accent) 16%, transparent);
  font-size: .96rem;
  color: var(--tinta-2);
}
.areahero__flag strong { color: var(--accent-deep); font-weight: 600; }
.areahero__flag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
  flex: none;
}

/* ============================================================
   QUÉ ES — reutiliza .sobre; añade nota "33 minutos"
   ============================================================ */
.sobre__note {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.8rem;
  padding: .85rem 1.3rem;
  border-radius: 16px;
  background: var(--crema-calida);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 1.02rem;
  color: var(--tinta-2);
}
.sobre__note strong { color: var(--accent-deep); font-weight: 600; }
.sobre__note-k {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 30%, transparent 32%),
    conic-gradient(from -90deg, var(--accent-soft) 0 25%, transparent 0);
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 62%);
          mask: radial-gradient(circle, #000 60%, transparent 62%);
  box-shadow: inset 0 0 0 2px var(--accent-soft);
  position: relative;
}

/* ============================================================
   ¿EN QUÉ PUEDE AYUDAR? — grid sobrio de tarjetas
   ============================================================ */
.ayuda__intro {
  margin-top: 1.4rem;
  color: var(--tinta-2);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 60ch;
}
.ayuda__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.ayuda__item {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--sh-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.ayuda__item:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.ayuda__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  margin-bottom: 1.2rem;
  color: var(--accent-deep);
  background: linear-gradient(160deg, var(--accent-tint), color-mix(in srgb, var(--accent) 22%, var(--crema-calida)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent);
}
.ayuda__title {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}
.ayuda__copy {
  color: var(--tinta-2);
  font-size: .97rem;
  line-height: 1.58;
}
.ayuda__foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 64ch;
  color: var(--tinta-2);
  font-size: 1.02rem;
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.5;
}

/* ============================================================
   MODALIDADES + PRECIOS — tarjetas agrupadas y limpias
   ============================================================ */
.planes { background: linear-gradient(180deg, var(--crema) 0%, var(--crema-calida) 100%); }
.planes__intro {
  margin-top: 1.4rem;
  color: var(--tinta-2);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  max-width: 58ch;
}
.planes__intro strong { color: var(--accent-deep); font-weight: 600; }

.planes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.1rem, 2vw, 1.6rem);
  align-items: start;
}
/* feature + wide cards span both columns where useful */
.plan--feature { grid-row: span 2; }
.plan--wide { grid-column: 1 / -1; }
/* Formación y Compra de equipo: misma altura aunque una lleve foto */
.plan--stretch { align-self: stretch; }

.plan__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
}
.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.plan__free {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-deep);
  padding: .4em .8em;
  border-radius: 100px;
  background: var(--accent-tint);
}
.plan__free--soft {
  color: var(--tinta-mute);
  background: var(--crema-calida);
  box-shadow: inset 0 0 0 1px rgba(30,21,48,.06);
}
.plan__lead {
  color: var(--tinta-2);
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
}

.plan__rows {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.plan__rows--tight .plan__row { padding: .5rem 0; }
.plan__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .62rem 0;
  border-bottom: 1px solid rgba(30,21,48,.07);
}
.plan__row:last-child { border-bottom: none; }
.plan__rk {
  font-size: .96rem;
  color: var(--tinta-2);
}
.plan__rv {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--tinta);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* highlighted / free rows */
.plan__row--hi .plan__rv,
.plan__row--free .plan__rv { color: var(--accent-deep); }
.plan__row--free {
  margin: -.2rem 0 .2rem;
  padding: .7rem .9rem;
  border-bottom: none;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 9%, var(--crema-calida));
}
.plan__row--free .plan__rk { color: var(--accent-deep); font-weight: 500; }
.plan__row--free .plan__rv {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.plan__fine {
  margin-top: auto;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--tinta-mute);
}

/* alquiler — 4 sub-columns of price lists */
.plan__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-bottom: 1.4rem;
}
.plan__colhead {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  padding-bottom: .6rem;
  margin-bottom: .3rem;
  border-bottom: 1.5px solid var(--accent-tint);
}
.plan__coltag {
  color: var(--tinta-mute);
  font-weight: 500;
  letter-spacing: .08em;
}

.planes__disclaimer {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 70ch;
  font-size: .86rem;
  color: var(--tinta-mute);
  line-height: 1.55;
}

/* ============================================================
   FAQ — acordeón nativo <details>, sobrio
   ============================================================ */
.faq__list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.faq__item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow .5s var(--ease);
}
.faq__item[open] { box-shadow: var(--sh-md); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.3rem, 2.4vw, 1.9rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 460;
  letter-spacing: -0.01em;
  color: var(--tinta);
  transition: color .35s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__item[open] .faq__q,
.faq__q:hover { color: var(--accent-deep); }

/* plus / minus icon */
.faq__icon {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-tint);
  transition: background .4s var(--ease), transform .5s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: var(--accent-deep);
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { opacity: 0; }

.faq__a {
  padding: 0 clamp(1.3rem, 2.4vw, 1.9rem) clamp(1.2rem, 2.2vw, 1.7rem);
}
.faq__a p {
  color: var(--tinta-2);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 64ch;
}
/* subtle open animation when motion allowed */
.js .faq__item[open] .faq__a { animation: faqIn .5s var(--ease) both; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   EQUIPO — única ficha centrada
   ============================================================ */
.equipo__grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}

/* ============================================================
   ASPECTOS LEGALES strip
   ============================================================ */
.legalstrip {
  background: var(--crema-calida);
  padding-block: clamp(2.2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(30,21,48,.07);
}
.legalstrip__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  flex-wrap: wrap;
}
.legalstrip__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--accent-deep);
  background: var(--white);
  box-shadow: var(--sh-sm), inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent);
}
.legalstrip__text {
  flex: 1 1 360px;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--tinta-2);
  max-width: 80ch;
}
.legalstrip__links {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--tinta-mute);
}
.legalstrip__links a {
  color: var(--accent);
  font-weight: 500;
  position: relative;
}
.legalstrip__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.legalstrip__links a:hover::after { transform: scaleX(1); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .ayuda__grid { grid-template-columns: repeat(2, 1fr); }
  .planes__grid { grid-template-columns: 1fr; }
  .plan--feature { grid-row: auto; }
  .plan__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .areahero { min-height: 78vh; }
  .ayuda__grid { grid-template-columns: 1fr; max-width: 440px; }
  .plan__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .legalstrip__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Reduced motion — desactiva la animación propia del FAQ
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .js .faq__item[open] .faq__a { animation: none; }
  .faq__icon, .faq__icon::before, .faq__icon::after { transition: none; }
}

/* ============================================================
   Orbes del hero en azul — styles.css los trae morado/beis/azul
   (colores de las 3 áreas del landing). Aquí solo azul.
   ============================================================ */
.hero__orb--1 { background: radial-gradient(circle at 35% 35%, rgba(91,143,176,.50), rgba(217,230,240,0) 70%); }
.hero__orb--2 { background: radial-gradient(circle at 50% 50%, rgba(147,181,204,.34), rgba(244,238,226,0) 70%); }
.hero__orb--3 { background: radial-gradient(circle at 50% 50%, rgba(91,143,176,.20), rgba(217,230,240,0) 72%); }


/* ============================================================
   Fotos oficiales (Instituto Zengar) + sellos de acreditación
   Añadido oct 2026
   ============================================================ */

/* marco común de foto: misma "bandeja" que las tarjetas */
.media-frame {
  padding: 10px;
  border-radius: var(--radius-tray);
  background: var(--crema-calida);
  box-shadow: var(--sh-sm);
}
.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-inner);
  background: #ececee;
}

/* portada: texto + foto del equipo */
.areahero .hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.areahero__media { margin: 0; }
.areahero__frame { box-shadow: var(--sh-lg); }
.areahero__frame img { aspect-ratio: 5 / 4; object-position: 50% 74%; }
.areahero__media figcaption {
  margin-top: .9rem;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--tinta-mute);
  text-align: center;
}

/* «qué es»: foto en la columna izquierda */
.sobre__media { margin: 2.2rem 0 0; max-width: 380px; }
.sobre__media img { aspect-ratio: 1 / 1; object-position: 50% 52%; }

/* tarjeta de compra: foto arriba */
.plan__media { margin: 0 0 1.3rem; }
.plan__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 50% 56%;
  border-radius: 16px;
  background: #ececee;
}

/* franja de sellos oficiales (fondo claro: los sellos están pensados para blanco) */
.sellos {
  background: var(--white);
  padding-block: clamp(3rem, 6vw, 4.8rem);
  border-top: 1px solid rgba(30,21,48,.07);
  text-align: center;
}
.sellos__inner { display: flex; flex-direction: column; align-items: center; }
.sellos__title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 440;
  margin: 1rem 0 .7rem;
}
.sellos__text {
  max-width: 52ch;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--tinta-2);
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}
.sellos__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.4rem);
}
.sellos__row li { flex: none; }
.sellos__row img {
  display: block;
  width: clamp(88px, 11vw, 124px);
  height: auto;
  transition: transform .5s var(--ease);
}
.sellos__row img:hover { transform: translateY(-3px) scale(1.04); }

@media (max-width: 980px) {
  .areahero .hero__inner { grid-template-columns: 1fr; }
  .areahero__media { max-width: 560px; }
  .sobre__media { max-width: 320px; margin-top: 1.4rem; }
}
@media (max-width: 560px) {
  .sellos__row { gap: 1rem; }
  .sellos__row img { width: 92px; }
}

/* enlaces dentro de las notas de las tarjetas de precios */
.plan__fine a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.plan__fine a:hover { color: var(--accent); }
.plan__fine strong { color: var(--tinta-2); font-weight: 600; }
.plan__fine + .plan__fine { margin-top: .7rem; }
