/* KUNDALINI SERPENT · Landing «Formación México» · versión 2 (base: Formaciones v2)
   Se carga después de hero-banner.css. Solo añade lo nuevo de esta página. */

/* Variables propias (en la v2 no existen) */
:root { --oro-glow: rgba(231, 178, 76, .35); }

/* ---------- Datos pendientes: se ven marcados para no publicarlos por error ---------- */
.tbd { background: rgba(233, 184, 86, .22); outline: 1px dashed var(--oro); outline-offset: 2px; border-radius: 4px; padding: 0 .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Hero: fichas de fecha, lugar y duración ---------- */
.mx-chips { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; opacity: 0; animation: v3-fade 1100ms var(--ease-out) forwards; animation-delay: 1000ms; }
.mx-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 15px; color: var(--crema);
  background: var(--glass-bg); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.mx-chips svg { width: 17px; height: 17px; fill: none; stroke: var(--oro); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero--page .hero__btns { margin-top: 28px; }

/* ---------- Fechas, lugar e inversión ---------- */
.mx-datos .sec-head { text-align: center; }
.mx-datos .h2 { font-size: clamp(40px, 5.2vw, 76px); }
.mx-datos__lead { margin: 22px auto 0; }
.mx-datos__grid { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mx-dato { border-radius: var(--radius-l); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; color: var(--crema); transition: border-color 400ms var(--ease-out); }
.mx-dato__k { font-family: var(--f-mono); font-size: var(--label-size); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--oro); }
.mx-dato__v { font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }
.mx-dato__d { font-size: 15px; line-height: 1.5; color: var(--crema-70); }
.mx-dato--precio { border-color: rgba(233, 184, 86, .55); }
.mx-datos__cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (hover: hover) and (pointer: fine) { .mx-dato:hover { border-color: rgba(233, 184, 86, .6); } }
@media (max-width: 1000px) { .mx-datos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mx-datos__grid { grid-template-columns: 1fr; } .mx-datos__cta .btn { width: 100%; justify-content: center; } }

/* ---------- FAQ ---------- */
.mx-faq .acc__btn { color: var(--tinta); }
.mx-faq h3 { font: inherit; margin: 0; }
@media (max-width: 900px) { .mx-faq .faq__grid { grid-template-columns: 1fr; } .acc__panel { padding-right: 0; } }

/* ---------- Formulario ---------- */
.mx-form__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.mx-form .h2 { margin-top: 18px; font-size: clamp(44px, 5.6vw, 86px); }
.mx-form .lead { margin-top: 24px; }
.mx-form__pts { margin-top: 28px; display: grid; gap: 12px; }
.mx-form__pts li { display: flex; gap: 12px; align-items: center; color: var(--crema); font-size: 16px; }
.mx-form__pts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oro); flex-shrink: 0; box-shadow: 0 0 10px var(--oro-glow); }
.mx-form__wa { margin-top: 36px; display: grid; gap: 12px; justify-items: start; }
.mx-wa-btn svg { color: var(--oro); }
@media (hover: hover) and (pointer: fine) { .mx-wa-btn:hover svg { color: currentColor; } }
@media (max-width: 560px) { .mx-wa-btn { width: 100%; justify-content: center; } }

.mx-card { border-radius: var(--radius-xl); padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; color: var(--crema); }
.mx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mx-f { display: grid; gap: 8px; min-width: 0; }
.mx-lbl { font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--crema-70); }
.mx-lbl small { font-weight: 400; opacity: .8; }
.mx-card input[type="text"], .mx-card input[type="email"], .mx-card input[type="tel"], .mx-card select, .mx-card textarea {
  width: 100%; min-width: 0; height: 52px; padding: 0 16px; border-radius: var(--radius-s);
  border: 1px solid var(--crema-16); background: rgba(6, 13, 9, .35); color: var(--crema);
  font: inherit; font-size: 16px; transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.mx-card textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.mx-card select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9B856' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.mx-card select option { color: var(--tinta); }
.mx-card ::placeholder { color: rgba(243, 238, 227, .42); }
.mx-card input:focus-visible, .mx-card select:focus-visible, .mx-card textarea:focus-visible { outline: none; border-color: var(--oro); background-color: rgba(6, 13, 9, .5); }
.mx-card [aria-invalid="true"] { border-color: #F2B8A8 !important; }
.mx-tel { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }

.mx-intent { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mx-intent legend { grid-column: 1 / -1; margin-bottom: 8px; padding: 0; }
.mx-intent label { position: relative; cursor: pointer; }
.mx-intent input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mx-intent span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--crema-40); font-size: 15px; font-weight: 500; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.mx-intent input:checked + span { background: var(--oro); border-color: var(--oro); color: var(--tinta); }
.mx-intent input:focus-visible + span { outline: 2px solid var(--oro); outline-offset: 3px; }

.mx-check { margin-top: 2px; }
.mx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mx-submit { width: 100%; justify-content: center; }
.mx-submit[disabled] { opacity: .6; pointer-events: none; }
.mx-msg { margin-top: 0; }
.mx-msg a { color: var(--oro); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) { .mx-form__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mx-row, .mx-intent { grid-template-columns: 1fr; } .mx-tel { grid-template-columns: 116px 1fr; } .mx-tel select { padding-left: 12px; padding-right: 30px; background-position: right 10px center; } }

/* ---------- CTA final ---------- */
.mx-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Barra fija en móvil ---------- */
.mx-sticky { display: none; }
@media (max-width: 760px) {
  .mx-sticky { display: flex; gap: 10px; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 999px; background: rgba(11, 26, 20, .82); border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    transform: translateY(140%); transition: transform 400ms var(--ease-out); }
  .mx-sticky .btn--gold { flex: 1; justify-content: center; }
  .mx-sticky.is-on { transform: none; }
  .footer { padding-bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { .mx-chips { animation: none; opacity: 1; } .mx-sticky { transition: none; } }

/* ---------- Beneficios: el icono brilla y gira despacio al pasar el ratón (igual que en la Home) ---------- */
.benef svg { transition: filter 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .benef:hover svg { filter: drop-shadow(0 0 10px rgba(231, 178, 76, .35)); animation: ks-benef-spin 14s linear infinite; }
}
@keyframes ks-benef-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .benef:hover svg { animation: none; } }

/* ---------- Vídeo: mismo espacio arriba y abajo (va justo después del formulario) ---------- */
#video-formacion { padding-top: var(--section-y); }

/* ---------- Testimonios (igual que en la Home): bordes difuminados al entrar y salir las tarjetas ---------- */
#testimonios .track {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
@media (max-width: 700px) {
  #testimonios .track { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); }
}

/* 29-10 · Quién te acompaña: equipo principal (con foto) y facilitadores que nos acompañan (iniciales hasta tener foto) */
.mx-team { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--crema-16); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.mx-team__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mx-member { color: var(--crema); }
.mx-team__foto { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-l); background: var(--bosque); }
.mx-team__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 900ms var(--ease-out); }
.mx-member__n { margin-top: 16px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.mx-member__r { margin-top: 4px; font-family: var(--f-mono); font-size: var(--label-size); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--oro); }
.mx-facs { margin-top: 24px; display: grid; gap: 12px; }
.mx-fac { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 999px; color: var(--crema);
  background: var(--glass-bg); border: 1px solid var(--glass-border); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: border-color 400ms var(--ease-out); }
.mx-fac__ini { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(233, 184, 86, .55); color: var(--oro); font-family: var(--f-display); font-size: 21px; letter-spacing: .02em; }
.mx-fac__n { font-size: 18px; font-weight: 500; line-height: 1.2; }
.mx-fac__r { font-size: 14px; color: var(--crema-70); }
@media (hover: hover) and (pointer: fine) { .mx-member:hover .mx-team__foto img { transform: scale(1.04); } .mx-fac:hover { border-color: rgba(233, 184, 86, .6); } }
@media (max-width: 900px) { .mx-team { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mx-team__grid { gap: 12px; } .mx-member__n { font-size: 22px; } }
/* 29-10 · Foto de cada facilitador dentro del círculo (provisionales) */
.mx-fac__ini { overflow: hidden; padding: 2px; }
.mx-fac__ini picture, .mx-fac__ini img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* 29-10 · Equipo principal: foto con biografía al lado; facilitadores en una fila debajo */
.mx-team { grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); }
.mx-team__grid { gap: clamp(20px, 3vw, 40px); }
.mx-member { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(18px, 2.4vw, 32px); align-items: center; }
.mx-member__n { margin-top: 0; }
.mx-member__bio { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--crema-70); }
.mx-facs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .mx-team__grid { grid-template-columns: 1fr; } .mx-member { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
@media (max-width: 900px) { .mx-facs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mx-member { grid-template-columns: 1fr; } .mx-team__foto { max-width: 320px; } .mx-facs { grid-template-columns: 1fr; } }
