/* =====================================================================
   Moof Active — moofclinic.com/moof-active
   Misma línea que la web: azul #03689D, azul claro #73B0ED, amarillo
   #FDC23C, Lato, títulos con trazo a mano, botones píldora, degradados
   blanco→azul. Puntos de corte de Elementor: tableta ≤1024, móvil ≤767.
   ===================================================================== */
.ma {
  --ma-azul: #03689D;
  --ma-azul-2: #05689D;
  --ma-azul-osc: #024e77;
  --ma-cielo: #73B0ED;
  --ma-amarillo: #FDC23C;
  --ma-tinta: #333333;
  --ma-texto: #4a5866;
  --ma-suave: #F3F8FC;
  --ma-linea: #E2EDF6;
  --ma-r: 20px;
  --ma-sombra: 0 18px 48px rgba(3, 104, 157, .10);
  --ma-ease: cubic-bezier(.2, .7, .2, 1);
  font-family: "Lato", sans-serif;
  color: var(--ma-texto);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}
.ma *, .ma *::before, .ma *::after { box-sizing: border-box; }
.ma img { max-width: 100%; height: auto; display: block; }
.ma :where(h1, h2, h3) { font-family: "Lato", sans-serif; margin: 0; }
.ma :where(p) { margin: 0; }  /* sin subir especificidad: los márgenes de cada bloque mandan */
.ma-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.ma-wrap--estrecho { max-width: 860px; }
.ma-ico { flex: none; }
.ma-sec { padding: 120px 0; position: relative; scroll-margin-top: 90px; }
.ma-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.ma-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ma-cielo); }
.ma-kicker::before, .ma-kicker::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.ma-kicker--claro { color: var(--ma-amarillo); }
.ma-lead { text-wrap: balance; margin: 30px auto 0; max-width: 640px; font-size: 17px; line-height: 1.7; color: var(--ma-texto); }
.ma-lead strong { color: var(--ma-azul); }

/* El tema Hello pinta los botones de rosa (#c36) al pasar o enfocar: aquí no. */
.ma button { text-transform: none; }
.ma button:hover, .ma button:focus { background-color: transparent; color: inherit; text-decoration: none; }
.ma .ma-filtros button:hover, .ma .ma-filtros button:focus, .ma .ma-dias-tabs button:hover, .ma .ma-dias-tabs button:focus { background: #fff; color: var(--ma-azul); }
.ma .ma-filtros button.is-on, .ma .ma-dias-tabs button.is-on { background: var(--ma-azul); color: #fff; }
.ma .ma-seg button:hover, .ma .ma-seg button:focus { background: transparent; color: var(--ma-azul); }
.ma .ma-seg button.is-on { color: #fff; }
.ma .ma-clase:hover, .ma .ma-clase:focus { background: #fff; color: inherit; }
.ma button:focus-visible { outline: 2px solid var(--ma-cielo); outline-offset: 2px; }
.ma-modal button:hover, .ma-modal button:focus { background: var(--ma-suave); color: var(--ma-azul); }

/* ---------- Colores por sección ---------- */
.ma-sec-studio { --sec: var(--ma-cielo); --sec-txt: #2f7fc9; }
.ma-sec-performance { --sec: var(--ma-azul); --sec-txt: var(--ma-azul); }
.ma-sec-maternal { --sec: var(--ma-amarillo); --sec-txt: #b9840b; }
.ma-sec-mixto { --sec: linear-gradient(90deg, var(--ma-cielo), var(--ma-azul)); --sec-txt: var(--ma-azul); }
.ma-sec-total { --sec: linear-gradient(90deg, var(--ma-cielo), var(--ma-azul), var(--ma-amarillo)); --sec-txt: var(--ma-azul); }

/* ---------- Títulos con trazo a mano (como los de la web) ---------- */
.ma-titulo { font-size: 40px; font-weight: 600; line-height: 1.2; color: var(--ma-tinta); letter-spacing: -.01em; }
.ma-titulo--blanco { color: #fff; }
.ma-hl { position: relative; display: inline-block; color: var(--ma-azul); white-space: nowrap; z-index: 0; }
.ma-titulo--blanco .ma-hl { color: var(--ma-cielo); }
.ma-hl svg { position: absolute; left: 50%; top: 50%; width: calc(100% + 22px); height: calc(100% + 22px); transform: translate(-50%, -50%); overflow: visible; pointer-events: none; z-index: -1; }
.ma-hl svg path { fill: none; stroke: var(--ma-cielo); stroke-width: 4px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 0; }
.ma-hl--ovalo { margin-left: .32em; margin-right: .12em; }
.ma-hl--ovalo svg { width: calc(100% + 34px); height: calc(100% + 24px); }
.ma-titulo--blanco .ma-hl svg path { stroke: #fff; }
.ma-js .ma-hl svg path { stroke-dashoffset: 1600; transition: stroke-dashoffset 1.6s var(--ma-ease) .25s; }
.ma-js .is-in .ma-hl svg path, .ma-js .ma-hl.is-in svg path { stroke-dashoffset: 0; }

/* ---------- Botones (píldora azul, como «PIDE TU CITA ONLINE») ---------- */
.ma-btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--ma-azul); color: #fff !important; text-decoration: none !important;
  font: 700 12px/1.2 "Lato", sans-serif; letter-spacing: .03em; padding: 13px 24px; border-radius: 20px;
  border: 2px solid var(--ma-azul); transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease), background .25s, color .25s;
  cursor: pointer; white-space: nowrap;
}
.ma-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 104, 157, .28); background: var(--ma-azul-osc); border-color: var(--ma-azul-osc); }
.ma-btn--claro { background: #fff; color: var(--ma-azul) !important; border-color: #fff; }
.ma-btn--claro:hover { background: #fff; color: var(--ma-azul-osc) !important; border-color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.ma-btn--linea { background: transparent; color: var(--ma-azul) !important; }
.ma-btn--linea:hover { background: var(--ma-azul); color: #fff !important; }
.ma-btn--transp { background: transparent; border-color: rgba(255, 255, 255, .6); }
.ma-btn--transp:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.ma-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ma-azul) !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.ma-link .ma-ico { transition: transform .25s var(--ma-ease); }
.ma-link:hover .ma-ico { transform: translateX(4px); }
.ma-link--blanco { color: #fff !important; margin-top: 22px; }

.ma-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--sec-txt, var(--ma-azul)); background: color-mix(in srgb, var(--ma-cielo) 16%, #fff); padding: 6px 12px; border-radius: 99px; }
.ma-tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ma-tags li { font-size: 13px; font-weight: 600; color: var(--ma-azul); background: var(--ma-suave); border: 1px solid var(--ma-linea); padding: 4px 11px; border-radius: 99px; }
.ma-tags--claro li { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; }
.ma-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: ma-latido 1.6s infinite; flex: none; }
.ma-nota { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; font-size: 14px; color: var(--ma-texto); text-align: center; }
.ma-nota .ma-ico { color: var(--ma-azul); }

/* ---------- Cabecera ---------- */
.ma-hero { position: relative; color: var(--ma-tinta); isolation: isolate; }
.ma-hero__bg { position: absolute; inset: 0 0 auto 0; height: 100%; background-size: cover; background-position: center 35%; z-index: -2; transform: scale(1.04); animation: ma-zoom 24s ease-in-out infinite alternate; }
.ma-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 34%, rgba(255, 255, 255, .5) 56%, rgba(3, 104, 157, .55) 80%, var(--ma-azul) 100%); }
.ma-hero__inner { padding-top: 190px; padding-bottom: 110px; }
.ma-hero__logo { width: 150px; margin-bottom: 34px; }
.ma-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ma-azul); }
.ma-hero__eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: var(--ma-cielo); }
.ma-hero__title { font-size: 52px; line-height: 1.14; font-weight: 600; color: var(--ma-azul); letter-spacing: -.015em; }
.ma-hero__title .ma-l { display: block; white-space: nowrap; }
.ma-hero__title .ma-l--lugar { color: var(--ma-tinta); font-size: .62em; font-weight: 600; letter-spacing: 0; margin-top: 16px; }
.ma-hero__title .ma-hl { color: var(--ma-azul-osc); white-space: nowrap; }
.ma-hero__title .ma-hl svg { height: calc(100% + 10px); }
.ma-hero__sub { margin-top: 30px; font-size: 19px; line-height: 1.6; color: #1f3d55; font-weight: 400; max-width: 560px; }
.ma-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 42px; }

/* Banda azul: cifras en tarjetas de cristal + electro fino por debajo */
.ma-hero__band { position: relative; background: var(--ma-azul); color: #fff; padding: 34px 0 92px; overflow: hidden; }
.ma-stats { position: relative; z-index: 1; list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ma-stat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: baseline;
  padding: 24px 22px 22px; border-radius: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .45s var(--ma-ease), background .45s, border-color .45s; overflow: hidden; }
.ma-stat::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 2px; background: var(--ma-amarillo); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ma-ease); }
.ma-stat:hover { transform: translateY(-6px); background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); border-color: rgba(255, 255, 255, .35); }
.ma-stat:hover::after { transform: scaleX(1); }
.ma-stat__ico { grid-row: 1 / 3; align-self: start; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: var(--ma-amarillo); }
.ma-stat strong { font-size: 42px; line-height: 1; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ma-stat__que { grid-column: 2; font-size: 15px; font-weight: 700; color: #fff; margin-top: 6px; }
.ma-stat__det { grid-column: 1 / 3; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .75); }
.ma-stat strong { grid-column: 2; }
.ma-pulse { position: absolute; left: 0; bottom: 10px; width: 100%; height: 60px; pointer-events: none; }
.ma-pulse path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ma-pulse__base { stroke: rgba(255, 255, 255, .14); }
.ma-pulse__luz { stroke: rgba(255, 255, 255, .85); stroke-dasharray: 140 2400; animation: ma-ecg 6s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); }

/* ---------- Cinta de disciplinas ---------- */
.ma-marquee { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--ma-linea); padding: 26px 0; }
.ma-marquee::before, .ma-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ma-marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.ma-marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.ma-marquee__track { display: flex; gap: 14px; width: max-content; animation: ma-cinta 55s linear infinite; will-change: transform; }
.ma-marquee:hover .ma-marquee__track { animation-play-state: paused; }
.ma-marquee__item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 12px; border-radius: 99px; background: var(--ma-suave); border: 1px solid var(--ma-linea);
  font-size: 16px; font-weight: 700; color: var(--ma-azul); white-space: nowrap; transition: background .3s, border-color .3s, transform .3s; }
.ma-marquee__item .ma-ico { color: var(--sec-txt); width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(3, 104, 157, .08); }
.ma-marquee__item:hover { background: #fff; border-color: var(--ma-cielo); transform: translateY(-2px); }

/* ---------- Secciones ---------- */
.ma-secciones { background:
  radial-gradient(60% 50% at 100% 0%, rgba(115, 176, 237, .10), transparent 70%),
  radial-gradient(50% 40% at 0% 100%, rgba(253, 194, 60, .08), transparent 70%), #fff; }
.ma-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ma-card { position: relative; background: #fff; border-radius: var(--ma-r); overflow: hidden; box-shadow: var(--ma-sombra); border: 1px solid var(--ma-linea);
  transition: transform .5s var(--ma-ease), box-shadow .5s var(--ma-ease); transform-style: preserve-3d; display: flex; flex-direction: column; }
.ma-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--sec); z-index: 2; }
.ma-card:hover { box-shadow: 0 28px 60px rgba(3, 104, 157, .18); }
.ma-card__img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.ma-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3, 104, 157, .35)); }
.ma-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ma-ease); }
.ma-card:hover .ma-card__img img { transform: scale(1.07); }
.ma-card__body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.ma-card h3 { margin-top: 12px; font-size: 24px; font-weight: 600; color: var(--ma-tinta); }
.ma-card p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.ma-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.ma-card__foot strong { color: var(--ma-azul); font-size: 18px; }

/* ---------- Horario ---------- */
.ma-horario { background: linear-gradient(180deg, var(--ma-suave), #fff 60%); }
.ma-filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.ma-filtros button, .ma-dias-tabs button {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ma-linea); background: #fff; color: var(--ma-azul);
  font: 700 13px/1 "Lato", sans-serif; padding: 11px 18px; border-radius: 99px; cursor: pointer; transition: all .25s var(--ma-ease);
}
.ma-filtros button i { width: 10px; height: 10px; border-radius: 50%; background: var(--sec); }
.ma-filtros button:hover { border-color: var(--ma-cielo); transform: translateY(-1px); }
.ma-filtros button.is-on { background: var(--ma-azul); color: #fff; border-color: var(--ma-azul); box-shadow: 0 10px 24px rgba(3, 104, 157, .25); }
.ma-filtros button.is-on i { box-shadow: 0 0 0 2px #fff; }
.ma-live { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -18px auto 24px; font-size: 14px; font-weight: 700; color: var(--ma-azul); }
.ma-dias-tabs { display: none; }
.ma-semana { display: grid; grid-template-columns: repeat(var(--dias, 5), minmax(0, 1fr)); gap: 14px; align-items: start; }
.ma-dia { background: #fff; border: 1px solid var(--ma-linea); border-radius: 18px; padding: 16px 12px 12px; box-shadow: 0 8px 26px rgba(3, 104, 157, .06); transition: border-color .3s, box-shadow .3s; }
.ma-dia.is-hoy { border-color: var(--ma-cielo); box-shadow: 0 14px 36px rgba(3, 104, 157, .16); }
.ma-dia__t { font-size: 16px; font-weight: 700; color: var(--ma-tinta); padding: 0 4px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ma-dia__t small { font-size: 12px; font-weight: 600; color: #8aa0b3; }
.ma-dia.is-hoy .ma-dia__t::after { content: "Hoy"; order: -1; font-size: 11px; font-weight: 700; color: #fff; background: var(--ma-azul); padding: 3px 8px; border-radius: 99px; margin-right: auto; margin-left: 8px; }
.ma-dia.is-hoy .ma-dia__t { flex-wrap: wrap; }
.ma-dia__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ma-clase {
  width: 100%; text-align: left; border: 0; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; white-space: normal;
  background: var(--ma-suave); border-radius: 12px; padding: 10px 10px 10px 12px; position: relative; overflow: hidden; font-family: "Lato", sans-serif;
  transition: transform .25s var(--ma-ease), box-shadow .25s var(--ma-ease), background .25s;
}
.ma-clase::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sec); }
.ma-clase:hover, .ma-clase:focus-visible { background: #fff; transform: translateX(3px); box-shadow: 0 10px 22px rgba(3, 104, 157, .14); outline: none; }
.ma-clase__h { grid-row: span 2; font-size: 14px; font-weight: 700; color: var(--ma-tinta); display: flex; flex-direction: column; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ma-clase__h small { font-size: 11px; font-weight: 600; color: #8aa0b3; }
.ma-clase__n { font-size: 14px; font-weight: 700; color: var(--sec-txt); line-height: 1.2; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.ma-clase__n em { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: #fff; background: var(--ma-azul); padding: 2px 6px; border-radius: 99px; }
.ma-clase__p { font-size: 12px; color: #7a8c9c; }
.ma-clase.is-ahora { background: #fff; box-shadow: 0 0 0 2px var(--ma-cielo), 0 10px 24px rgba(3, 104, 157, .2); }
.ma-clase.is-ahora::after { content: ""; position: absolute; right: 10px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; animation: ma-latido 1.6s infinite; }
.ma-clase.is-off { display: none; }
.ma-dia.is-vacio { opacity: .5; }

/* ---------- Tarifas ---------- */
.ma-tarifas { background: #fff; }
.ma-toggles { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ma-seg { position: relative; display: inline-flex; background: var(--ma-suave); border: 1px solid var(--ma-linea); border-radius: 99px; padding: 4px; }
.ma-seg button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--ma-azul); font: 700 13px/1 "Lato", sans-serif; padding: 11px 18px; border-radius: 99px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.ma-seg button b { font-weight: 700; color: #1aa260; margin-left: 4px; }
.ma-seg button.is-on { color: #fff; }
.ma-seg button.is-on b { color: var(--ma-amarillo); }
.ma-seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 99px; background: var(--ma-azul); box-shadow: 0 8px 20px rgba(3, 104, 157, .3); transition: transform .45s var(--ma-ease), width .45s var(--ma-ease); }
.ma-seg.is-oculto { visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .3s; }
.ma-filtros--tarifas { margin-bottom: 34px; }
.ma-precios { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.ma-precio { position: relative; background: #fff; border: 1px solid var(--ma-linea); border-radius: var(--ma-r); padding: 28px 24px 24px; display: flex; flex-direction: column;
  transition: transform .4s var(--ma-ease), box-shadow .4s var(--ma-ease), border-color .4s; overflow: hidden; }
.ma-precio::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--ma-cielo), var(--ma-azul)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ma-ease); }
.ma-precio:hover { transform: translateY(-6px); box-shadow: var(--ma-sombra); border-color: transparent; }
.ma-precio:hover::before { transform: scaleX(1); }
.ma-precio[hidden] { display: none; }
.ma-precio.is-entra { animation: ma-entra .55s var(--ma-ease) both; }
.ma-precio h3 { font-size: 20px; font-weight: 600; color: var(--ma-tinta); }
.ma-precio__cr { margin-top: 6px; font-size: 14px; color: var(--ma-texto); }
.ma-precio__cr strong { color: var(--ma-azul); }
.ma-precio__dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.ma-precio__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ma-cielo); opacity: .9; }
.ma-precio__num { margin-top: 20px; font-size: 54px; line-height: 1; font-weight: 700; color: var(--ma-azul); letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 4px; }
.ma-precio__num { flex-wrap: wrap; row-gap: 2px; }
.ma-precio__num small { font-size: 18px; font-weight: 700; color: var(--ma-azul); letter-spacing: 0; white-space: nowrap; }
.ma-precio__num small span { font-weight: 600; color: #8aa0b3; font-size: 15px; }
.ma-precio__sub { margin-top: 8px; font-size: 14px; font-weight: 600; color: #1aa260; }
.ma-precio__txt { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ma-texto); flex: 1; }
.ma-precio .ma-btn { margin-top: 22px; }

/* ---------- Equipo ---------- */
.ma-equipo { background: linear-gradient(180deg, #fff, var(--ma-suave)); }
.ma-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ma-coach { position: relative; border-radius: var(--ma-r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ma-azul); box-shadow: var(--ma-sombra); outline: none; }
.ma-coach__foto, .ma-coach__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ma-coach__foto img { transition: transform 1s var(--ma-ease); }
.ma-coach::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3, 104, 157, .55) 62%, rgba(2, 78, 119, .96)); transition: opacity .4s; }
.ma-coach__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; color: #fff; z-index: 1; }
.ma-coach h3 { font-size: 21px; font-weight: 700; color: #fff; }
.ma-coach__esp { font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 2px; }
.ma-coach__mas { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ma-ease), opacity .4s; font-size: 14px; line-height: 1.5; }
.ma-coach__mas p { margin-top: 10px; }
.ma-coach:hover .ma-coach__mas, .ma-coach:focus .ma-coach__mas { max-height: 260px; opacity: 1; }
.ma-coach:hover img, .ma-coach:focus img { transform: scale(1.06); }

/* ---------- App ---------- */
.ma-app { color: #fff; overflow: hidden;
  background: radial-gradient(60% 70% at 85% 30%, rgba(115, 176, 237, .45), transparent 60%),
              radial-gradient(40% 50% at 10% 90%, rgba(253, 194, 60, .16), transparent 70%),
              linear-gradient(160deg, var(--ma-azul-2) 0%, var(--ma-azul) 45%, var(--ma-azul-osc) 100%); }
.ma-app__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.ma-app .ma-titulo { text-align: left; }
.ma-app .ma-lead { color: rgba(255, 255, 255, .88); max-width: 520px; margin-left: 0; }
.ma-pasos { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: paso; }
.ma-pasos li { display: flex; gap: 16px; align-items: center; font-size: 15px; color: rgba(255, 255, 255, .86); counter-increment: paso; }
.ma-pasos li > span { position: relative; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); flex: none; }
.ma-pasos li > span::after { content: counter(paso); position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--ma-amarillo); color: var(--ma-azul-osc); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ma-pasos strong { display: block; color: #fff; font-size: 17px; }
.ma-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 50px; }
.ma-badge { position: relative; display: inline-block; transition: transform .25s var(--ma-ease); }
.ma-badge img { height: 48px; width: auto; }
.ma-badge:hover { transform: translateY(-3px); }
.ma-badge.is-pronto img { filter: grayscale(.2); opacity: .55; }
.ma-badge.is-pronto em { position: absolute; top: -24px; right: 0; font-style: normal; font-size: 11px; font-weight: 700; background: var(--ma-amarillo); color: var(--ma-azul-osc); padding: 3px 9px; border-radius: 99px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.ma-app__movil { position: relative; display: flex; justify-content: center; }
.ma-phone { position: relative; width: 290px; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 11px; background: #0b1622;
  box-shadow: 0 50px 90px rgba(0, 20, 40, .45), inset 0 0 0 2px rgba(255, 255, 255, .12); animation: ma-flota 7s ease-in-out infinite; }
.ma-phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0b1622; z-index: 2; }
.ma-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #0b1622; }
.ma-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ma-ease), transform 1.2s var(--ma-ease); }
.ma-phone__screen img.is-on { opacity: 1; transform: none; }
.ma-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ma-azul); font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 20, 40, .3); white-space: nowrap; }
.ma-float .ma-ico { color: #1aa260; }
.ma-float--1 { top: 18%; left: -2%; animation: ma-flota 6s ease-in-out infinite .6s; }
.ma-float--2 { bottom: 16%; right: -4%; animation: ma-flota 6.5s ease-in-out infinite 1.2s; }

/* ---------- Preguntas ---------- */
.ma-faq { background: #fff; }
.ma-acordeon { display: grid; gap: 12px; }
.ma-acordeon details { border: 1px solid var(--ma-linea); border-radius: 16px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.ma-acordeon details[open] { border-color: var(--ma-cielo); box-shadow: 0 14px 34px rgba(3, 104, 157, .10); }
.ma-acordeon summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; color: var(--ma-tinta); }
.ma-acordeon summary::-webkit-details-marker { display: none; }
.ma-acordeon summary .ma-ico { color: var(--ma-azul); transition: transform .35s var(--ma-ease); }
.ma-acordeon details[open] summary .ma-ico { transform: rotate(180deg); }
.ma-acordeon p { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; }

/* ---------- Cierre ---------- */
.ma-cierre { padding-top: 20px; }
.ma-cierre__card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 28px; padding: 64px 30px;
  background: radial-gradient(60% 80% at 50% 0%, rgba(115, 176, 237, .55), transparent 70%), linear-gradient(160deg, var(--ma-azul-2), var(--ma-azul-osc)); box-shadow: 0 30px 70px rgba(3, 104, 157, .3); }
.ma-cierre__card > p { text-wrap: balance; margin: 26px auto 0; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.ma-cierre__card .ma-hero__ctas { justify-content: center; margin-top: 36px; }
.ma-cierre__dir { font-size: 14px !important; margin-top: 26px !important; color: rgba(255, 255, 255, .75) !important; }

/* ---------- Ficha de clase ---------- */
.ma-modal { border: 0; border-radius: 24px; padding: 34px 30px 28px; width: min(520px, calc(100% - 32px)); box-shadow: 0 40px 90px rgba(0, 20, 40, .35); color: var(--ma-texto); font-family: "Lato", sans-serif; }
.ma-modal::backdrop { background: rgba(2, 40, 64, .45); backdrop-filter: blur(6px); }
.ma-modal[open] { animation: ma-modal .45s var(--ma-ease); }
.ma-modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ma-suave); color: var(--ma-azul); cursor: pointer; display: grid; place-items: center; }
.ma-modal h3 { margin-top: 12px; font-size: 28px; font-weight: 600; color: var(--ma-tinta); }
.ma-modal__meta { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ma-modal__meta li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ma-tinta); background: var(--ma-suave); border-radius: 12px; padding: 10px 12px; }
.ma-modal__meta .ma-ico { color: var(--ma-azul); }
.ma-modal p { font-size: 15px; line-height: 1.6; margin-top: 8px; }
.ma-modal__obj strong, .ma-modal__niv strong { color: var(--ma-azul); }
.ma-modal .ma-btn { margin-top: 22px; width: 100%; }

/* ---------- Entrada al hacer scroll ---------- */
.ma-js .ma-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ma-ease), transform .9s var(--ma-ease); transition-delay: var(--d, 0s); }
.ma-js .ma-rv.is-in { opacity: 1; transform: none; }

@keyframes ma-latido { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .55); } 70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
@keyframes ma-ecg { from { stroke-dashoffset: 2540; } to { stroke-dashoffset: 0; } }
@keyframes ma-zoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }
@keyframes ma-cinta { to { transform: translateX(-50%); } }
@keyframes ma-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ma-entra { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ma-modal { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Tableta (≤1024, como Elementor) ---------- */
@media (max-width: 1024px) {
  .ma-sec { padding: 96px 0; }
  .ma-head { margin-bottom: 50px; }
  .ma-hero__inner { padding-top: 170px; padding-bottom: 90px; }
  .ma-hero__title { font-size: 44px; }
  .ma-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ma-cards { grid-template-columns: 1fr 1fr; }
  .ma-semana { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ma-team { grid-template-columns: repeat(3, 1fr); }
  .ma-app__grid { grid-template-columns: 1fr; gap: 50px; }
  .ma-app .ma-titulo, .ma-app__txt { text-align: center; }
  .ma-app .ma-lead { margin-left: auto; margin-right: auto; }
  .ma-pasos { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
  .ma-badges { justify-content: center; }
}

/* ---------- Móvil (≤767, como Elementor) ---------- */
@media (max-width: 767px) {
  .ma-sec { padding: 76px 0; }
  .ma-head { margin-bottom: 40px; }
  .ma-kicker { font-size: 11px; margin-bottom: 14px; }
  .ma-lead { margin-top: 22px; }
  .ma-titulo { font-size: 30px; }
  .ma-hl--ovalo svg { width: calc(100% + 22px); height: calc(100% + 12px); }
  .ma-hl svg path { stroke-width: 3px; }
  .ma-lead { font-size: 16px; }
  .ma-hero__inner { padding-top: 150px; padding-bottom: 70px; }
  .ma-hero__logo { width: 120px; margin-bottom: 26px; }
  .ma-hero__eyebrow { font-size: 11px; letter-spacing: .1em; margin-bottom: 18px; }
  .ma-hero__title { font-size: 32px; line-height: 1.2; }
  .ma-hero__title .ma-l, .ma-hero__title .ma-hl { white-space: normal; }
  .ma-hero__title .ma-l--lugar { font-size: .64em; margin-top: 12px; }
  .ma-hero__sub { font-size: 16.5px; margin-top: 24px; }
  .ma-hero__ctas { margin-top: 32px; gap: 12px; }
  .ma-hero__ctas .ma-btn { flex: 1 1 100%; }
  .ma-hero__band { padding-bottom: 78px; }
  .ma-stats { gap: 12px; }
  .ma-stat { padding: 18px 16px 16px; column-gap: 10px; border-radius: 18px; }
  .ma-stat__ico { width: 36px; height: 36px; border-radius: 12px; }
  .ma-stat__ico svg { width: 18px; height: 18px; }
  .ma-stat strong { font-size: 32px; }
  .ma-stat__que { font-size: 13.5px; }
  .ma-stat__det { font-size: 12px; margin-top: 12px; padding-top: 12px; }
  .ma-marquee { padding: 20px 0; }
  .ma-marquee::before, .ma-marquee::after { width: 50px; }
  .ma-marquee__item { font-size: 14.5px; padding: 8px 16px 8px 10px; }
  .ma-marquee__item .ma-ico { width: 28px; height: 28px; }
  .ma-cards { grid-template-columns: 1fr; }
  .ma-filtros { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 4px 4px 10px; margin-left: -20px; margin-right: -20px; padding-left: 20px; scrollbar-width: none; }
  .ma-filtros::-webkit-scrollbar { display: none; }
  .ma-filtros button { flex: none; }
  .ma-dias-tabs { display: grid; grid-template-columns: repeat(var(--dias, 5), 1fr); gap: 6px; margin-bottom: 14px; }
  .ma-dias-tabs button { justify-content: center; padding: 11px 0; }
  .ma-dias-tabs button.is-on { background: var(--ma-azul); color: #fff; border-color: var(--ma-azul); }
  .ma-dias-tabs button.is-hoy:not(.is-on) { border-color: var(--ma-cielo); }
  .ma-js .ma-semana { display: block; }
  .ma-js .ma-dia { display: none; }
  .ma-js .ma-dia.is-activo { display: block; animation: ma-entra .45s var(--ma-ease); }
  .ma-semana { grid-template-columns: 1fr; }
  .ma-clase { padding: 13px 12px 13px 14px; }
  .ma-clase__h { font-size: 15px; }
  .ma-clase__n { font-size: 15px; }
  .ma-toggles { flex-direction: column; align-items: center; }
  .ma-seg button { padding: 11px 13px; font-size: 12.5px; }
  .ma-seg--periodo button { padding: 10px 8px; font-size: 11.5px; }
  .ma-seg--periodo button b { display: block; margin: 3px 0 0; font-size: 10.5px; }
  .ma-seg--periodo { border-radius: 18px; }
  .ma-seg--periodo .ma-seg__pill { border-radius: 14px; }
  .ma-precios { grid-template-columns: 1fr; }
  .ma-precio__num { font-size: 46px; }
  .ma-team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ma-coach h3 { font-size: 17px; }
  .ma-coach__info { padding: 14px; }
  .ma-phone { width: 240px; }
  .ma-float { font-size: 12px; }
  .ma-float--1 { left: 0; }
  .ma-float--2 { right: 0; }
  .ma-acordeon summary { font-size: 16px; padding: 18px; }
  .ma-modal { padding: 28px 20px 22px; }
  .ma-modal__meta { grid-template-columns: 1fr; }
  .ma-cierre__card { padding: 50px 22px; border-radius: 22px; }
  .ma-cierre__card .ma-btn { flex: 1 1 100%; }
}


/* ---------- Extras: entrada del título, luz, progreso, manifiesto, fondo tarifas ---------- */
.ma-hero__luz { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--lx, 30%) var(--ly, 40%), rgba(115, 176, 237, .22), transparent 60%); }
.ma-hero:hover .ma-hero__luz { opacity: 1; }
.ma-hero__bg { will-change: transform; }
.ma-l { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ma-l:has(.ma-hl) { overflow: visible; }
.ma-js .ma-l__in { display: inline-block; animation: ma-sube 1.1s var(--ma-ease) both; }
.ma-js .ma-l:nth-child(2) .ma-l__in { animation-delay: .12s; }
.ma-js .ma-l:nth-child(3) .ma-l__in { animation-delay: .24s; }
.ma-js .ma-hero__title .ma-hl svg path { transition-delay: .9s; }
@keyframes ma-sube { from { opacity: 0; transform: translateY(70%) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.ma-progreso { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 10001; pointer-events: none; }
.ma-progreso i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--ma-cielo), var(--ma-azul) 60%, var(--ma-amarillo)); }

.ma-manifiesto { position: relative; padding: 130px 0 120px; text-align: center; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 50%, rgba(115, 176, 237, .10), transparent 70%), #fff; }
.ma-manifiesto__txt { margin-top: 8px !important; font-size: 50px; line-height: 1.22; font-weight: 600; letter-spacing: -.02em; color: var(--ma-tinta); }
.ma-w { display: inline-block; opacity: .14; transform: translateY(.12em); transition: opacity .5s var(--ma-ease), transform .5s var(--ma-ease), color .5s; }
.ma-w.is-on { opacity: 1; transform: none; }
.ma-w--hl.is-on { color: var(--ma-azul); }
.ma-manifiesto__claves { list-style: none; margin: 54px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.ma-manifiesto__claves li { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--ma-linea);
  font-size: 14px; font-weight: 700; color: var(--ma-azul); box-shadow: 0 8px 24px rgba(3, 104, 157, .07); }
.ma-manifiesto__claves .ma-ico { color: var(--ma-cielo); }

.ma-tarifas { overflow: hidden; isolation: isolate; }
.ma-tarifas__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ma-tarifas__fondo div { position: absolute; inset: -18% -4%; background-size: cover; background-position: center; filter: blur(14px) saturate(1.1); opacity: .26; will-change: transform; }
.ma-tarifas__fondo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .55) 22%, rgba(243, 248, 252, .35) 55%, rgba(255, 255, 255, .7) 82%, #fff 100%); }
.ma-tarifas .ma-precio { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ma-tarifas .ma-seg, .ma-tarifas .ma-filtros button:not(.is-on) { background: rgba(255, 255, 255, .8); }
.ma-precio::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(115, 176, 237, .18), transparent 65%); }
.ma-precio:hover::after { opacity: 1; }

@media (max-width: 1024px) { .ma-manifiesto__txt { font-size: 40px; } .ma-manifiesto { padding: 100px 0 96px; } }
@media (max-width: 767px) {
  .ma-manifiesto { padding: 80px 0 76px; }
  .ma-manifiesto__txt { font-size: 29px; line-height: 1.25; }
  .ma-manifiesto__claves { margin-top: 36px; }
  .ma-manifiesto__claves li { font-size: 13px; padding: 9px 14px; }
}


/* ---------- Cabecera con el móvil de la app ---------- */
.ma-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; padding-top: 150px; padding-bottom: 84px; }
.ma-hero__eyebrow { flex-wrap: wrap; row-gap: 4px; }
.ma-hero__eyebrow span { white-space: nowrap; }
.ma-hero__movil { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.ma-js .ma-hero__movil { animation: ma-movil-entra 1.1s var(--ma-ease) .1s both; }
.ma-hero__tilt { position: relative; transform: perspective(1100px) rotateY(-12deg) rotateX(4deg); transition: transform .6s var(--ma-ease); transform-style: preserve-3d; }
.ma-hero__tilt::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -34px; height: 26px; border-radius: 50%; background: rgba(3, 50, 80, .35); filter: blur(14px); z-index: -1; animation: ma-sombra 7s ease-in-out infinite; }
.ma-hero__movil .ma-phone { width: 250px; }
.ma-hero__movil .ma-float { font-size: 12.5px; }
.ma-hero__movil .ma-float--1 { top: 16%; left: -28%; }
.ma-hero__movil .ma-float--2 { bottom: 22%; right: -26%; }
.ma-hero__movil .ma-float--2 .ma-ico { color: var(--ma-amarillo); }
.ma-js .ma-hero__movil .ma-float { opacity: 0; animation: ma-pop .7s var(--ma-ease) both, ma-flota 6s ease-in-out infinite; }
.ma-js .ma-hero__movil .ma-float--1 { animation-delay: 1.4s, 2.1s; }
.ma-js .ma-hero__movil .ma-float--2 { animation-delay: 1.7s, 2.4s; }
.ma-badges--hero { margin-top: 6px; justify-content: center; gap: 12px; }
.ma-badges--hero .ma-badge img { height: 44px; }
.ma-badges--hero .ma-badge.is-pronto img { opacity: .8; }
.ma-js .ma-badges--hero { animation: ma-entra .8s var(--ma-ease) 1.2s both; }
/* Sin opacidad 0 ni desenfoque: la pantalla del móvil es lo primero grande que se pinta (LCP). */
@keyframes ma-movil-entra { from { transform: translateY(70px) rotate(6deg) scale(.92); } to { transform: none; } }
@keyframes ma-pop { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ma-sombra { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.85); opacity: .6; } }

/* ---------- Fondo del manifiesto ---------- */
.ma-manifiesto { isolation: isolate; background: #fff; }
.ma-manifiesto__fondo div { opacity: .22; }
.ma-manifiesto__fondo::after { background: radial-gradient(60% 70% at 50% 50%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .25) 60%, rgba(255, 255, 255, .7) 85%, #fff 100%); }

/* ---------- Preguntas: difuminados corporativos ---------- */
.ma-faq { background:
  radial-gradient(40% 50% at 0% 20%, rgba(115, 176, 237, .16), transparent 70%),
  radial-gradient(35% 45% at 100% 85%, rgba(253, 194, 60, .12), transparent 70%), var(--ma-suave); }

/* ---------- Botón flotante al minirreto ---------- */
.ma-reto-cta { position: fixed; right: 24px; bottom: 92px; z-index: 10000;   /* encima de la barra fija del pie (Elementor, z 9999, 75px) */ display: flex; align-items: center; gap: 4px;
  transform: translateY(140%) scale(.9); opacity: 0; pointer-events: none; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .4s; }
.ma-reto-cta.is-on { transform: none; opacity: 1; pointer-events: auto; }
.ma .ma-reto-cta__btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px; text-decoration: none;
  background: var(--ma-azul); color: #fff; font: 700 13px/1.15 "Lato", sans-serif; box-shadow: 0 14px 34px rgba(3, 104, 157, .4); transition: transform .3s var(--ma-ease), box-shadow .3s; }
.ma .ma-reto-cta__btn:hover, .ma .ma-reto-cta__btn:focus { color: #fff; background: var(--ma-azul-osc); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(3, 104, 157, .5); }
.ma-reto-cta__btn small { display: block; font-size: 11px; font-weight: 600; color: var(--ma-amarillo); letter-spacing: .02em; }
.ma-reto-cta__ico { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ma-amarillo); color: var(--ma-azul-osc); }
.ma-reto-cta__ico svg { animation: ma-late .9s ease-in-out infinite; }
.ma-reto-cta__ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ma-amarillo); animation: ma-onda 1.8s ease-out infinite; }
.ma-reto-cta.is-on .ma-reto-cta__btn { animation: ma-saludo 7s ease-in-out 2s infinite; }
.ma .ma-reto-cta__x { width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ma-azul); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); align-self: flex-start; }
.ma .ma-reto-cta__x:hover, .ma .ma-reto-cta__x:focus { background: var(--ma-suave); color: var(--ma-azul); }
@keyframes ma-onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes ma-saludo { 0%, 86%, 100% { transform: none; } 89% { transform: rotate(-4deg) translateY(-3px); } 92% { transform: rotate(4deg) translateY(-3px); } 95% { transform: rotate(-2deg); } }
@media (max-width: 767px) {
  .ma-reto-cta { right: 12px; bottom: 84px; }
  .ma .ma-reto-cta__btn { padding: 6px 14px 6px 6px; font-size: 12px; }
  .ma-reto-cta__ico { width: 34px; height: 34px; }
}

/* ---------- Minirreto ---------- */
.ma-juego { position: relative; isolation: isolate; overflow: hidden; background: #F3F8FC; padding: 150px 0 190px; }
.ma-juego__video { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.ma-juego__video video { width: 100%; height: 100%; object-fit: cover; filter: blur(1.5px) saturate(1.15); }
.ma-juego::before { content: ""; position: absolute; inset: 0; z-index: -1;
  /* blanco arriba → transparente en el centro (se ve el vídeo tras el juego) → blanco abajo; une con Preguntas y con el cierre */
  background:
    linear-gradient(180deg, #F3F8FC 0%, rgba(243, 248, 252, .93) 22%, rgba(243, 248, 252, .7) 33%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .6) 70%, rgba(255, 255, 255, .9) 84%, #fff 100%),
    radial-gradient(55% 45% at 50% 55%, rgba(3, 104, 157, .45), transparent 80%); }
.ma-juego::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(3, 104, 157, .14) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); }

.ma-juego__caja { --calor: 0; max-width: 900px; margin: 0 auto; border-radius: 28px; padding: 18px; position: relative;
  background: linear-gradient(140deg, rgba(3, 104, 157, .55), color-mix(in srgb, rgba(3, 104, 157, .45) calc(100% - var(--calor) * 55%), rgba(232, 69, 60, .6)));
  border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(115, 176, 237, .1), 0 0 80px rgba(115, 176, 237, calc(.15 + var(--calor) * .25)); transition: background .6s, box-shadow .6s; }
.ma-juego__hud { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px 14px; color: #fff; }
.ma-juego__ppm { display: inline-flex; align-items: baseline; gap: 8px; }
.ma-juego__ppm strong { font-size: 40px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 2.2ch; }
.ma-juego__ppm small { font-size: 14px; font-weight: 700; opacity: .75; }
.ma-juego__corazon { align-self: center; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .15); color: var(--ma-amarillo); animation: ma-late .857s ease-in-out infinite; }
@keyframes ma-late { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.08); } }
.ma-juego__racha { font-weight: 700; font-size: 15px; color: var(--ma-amarillo); letter-spacing: .02em; }
.ma-juego__racha.is-pop { animation: ma-pop .4s var(--ma-ease); }
.ma-juego__tiempo { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.ma-juego__tiempo strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.ma-juego__barra { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .18); margin: 0 10px 14px; overflow: hidden; }
.ma-juego__barra i { display: block; height: 100%; background: var(--ma-amarillo); transform-origin: left; }
.ma-juego__zona { position: relative; height: 380px; border-radius: 20px; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  background: radial-gradient(80% 90% at 50% 50%, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); cursor: crosshair; }
.ma-juego__ecg { position: absolute; left: 0; top: 50%; width: 100%; height: 120px; transform: translateY(-50%); pointer-events: none; }
.ma-juego__ecg path { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 260 1400; animation: ma-ecg 3s linear infinite; }
.ma-juego.is-jugando .ma-juego__ecg path, .is-jugando .ma-juego__ecg path { animation-duration: 1.2s; }
.ma-juego__pantalla { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
  color: #fff; background: rgba(2, 52, 80, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.ma-juego__pantalla.is-on { opacity: 1; visibility: visible; }
.ma-juego__pantalla .ma-btn { margin-top: 10px; }
.ma-juego__t { font-size: 26px; font-weight: 700; }
.ma-juego__s { font-size: 16px; color: rgba(255, 255, 255, .85); max-width: 460px; }
.ma-juego__res { font-size: 22px; font-weight: 700; color: var(--ma-amarillo); }
.ma-juego__res strong { font-size: 76px; line-height: 1; letter-spacing: -.03em; }
.ma-juego__record { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ma-amarillo); }
.ma-juego .ma-btn:not(.ma-btn--claro) { background: var(--ma-amarillo); color: var(--ma-azul-osc); border-color: var(--ma-amarillo); }
.ma-juego .ma-btn:not(.ma-btn--claro):hover { background: #ffd35f; color: var(--ma-azul-osc); }
.ma-juego__acciones { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ma .ma-juego__punto { position: absolute; z-index: 2; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--c);
  box-shadow: 0 0 22px color-mix(in srgb, var(--c) 70%, transparent), 0 8px 20px rgba(0, 0, 0, .25);
  animation: ma-punto-entra .25s var(--ma-ease) both, ma-punto-late .7s ease-in-out infinite .25s; }
.ma .ma-juego__punto::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85);
  -webkit-mask: conic-gradient(#000 var(--a, 360deg), transparent 0); mask: conic-gradient(#000 var(--a, 360deg), transparent 0); animation: ma-vida var(--vida, 1500ms) linear both; }
.ma .ma-juego__punto::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: rgba(3, 104, 157, .55); }
.ma .ma-juego__punto:hover, .ma .ma-juego__punto:focus { background: var(--c); }
.ma .ma-juego__punto.is-tocado { animation: ma-punto-pop .38s var(--ma-ease) both; pointer-events: none; }
.ma .ma-juego__punto.is-fuera { animation: ma-punto-fuera .3s ease both; pointer-events: none; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@keyframes ma-vida { from { --a: 360deg; } to { --a: 0deg; } }
@keyframes ma-punto-entra { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes ma-punto-late { 50% { transform: scale(1.08); } }
@keyframes ma-punto-pop { 0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { transform: scale(1.8); opacity: 0; box-shadow: 0 0 0 24px rgba(255, 255, 255, 0); } }
@keyframes ma-punto-fuera { to { transform: scale(0); opacity: 0; } }
.ma-juego__mas { position: absolute; z-index: 4; transform: translate(-50%, -50%); pointer-events: none; font-weight: 700; font-size: 20px; color: var(--ma-amarillo);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3); animation: ma-mas .8s var(--ma-ease) both; }
@keyframes ma-mas { from { opacity: 1; transform: translate(-50%, -50%); } to { opacity: 0; transform: translate(-50%, -160%) scale(1.2); } }

@media (max-width: 1024px) {
  .ma-hero__inner { grid-template-columns: 1fr; gap: 64px; padding-top: 160px; padding-bottom: 80px; }
  .ma-hero__movil .ma-float--1 { left: -34%; }
  .ma-hero__movil .ma-float--2 { right: -34%; }
}
@media (max-width: 767px) {
  .ma-hero__inner { gap: 56px; padding-top: 140px; padding-bottom: 64px; }
  .ma-hero__movil .ma-phone { width: 230px; }
  .ma-hero__tilt { transform: none; }
  .ma-hero__movil .ma-float--1 { left: -22%; }
  .ma-hero__movil .ma-float--2 { right: -22%; }
  .ma-badges--hero .ma-badge img { height: 40px; }
  .ma-juego { padding: 90px 0 130px; }
  .ma-juego__caja { padding: 12px; border-radius: 22px; }
  .ma-juego__zona { height: 360px; }
  .ma-juego__ppm strong { font-size: 32px; }
  .ma-juego__corazon { width: 36px; height: 36px; }
  .ma-juego__t { font-size: 21px; }
  .ma-juego__res strong { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .ma *, .ma *::before, .ma *::after { animation: none !important; transition: none !important; }
  .ma-js .ma-rv { opacity: 1; transform: none; }
  .ma-w { opacity: 1; transform: none; }
  .ma-progreso { display: none; }
  .ma-js .ma-hl svg path { stroke-dashoffset: 0; }
}

/* =====================================================================
   Móvil — ajuste fino (va al final para mandar sobre lo anterior)
   ===================================================================== */
@media (max-width: 767px) {
  /* Cabecera: botones a medias y el móvil asomando ya en la primera pantalla */
  .ma-hero__inner { padding-top: 124px; padding-bottom: 56px; gap: 34px; }
  .ma-hero__eyebrow { font-size: 10.5px; letter-spacing: .09em; margin-bottom: 14px; gap: 8px; }
  /* el tamaño sigue al ancho para que «entrenamiento funcional» quepa siempre en una línea con su subrayado */
  .ma-hero__title { font-size: min(31px, 7.6vw); line-height: 1.18; }
  .ma-hero__title .ma-hl { white-space: nowrap; }
  .ma-hero__title .ma-l--lugar { margin-top: 10px; font-size: .66em; }
  .ma-hero__eyebrow .ma-eyebrow__marca, .ma-hero__eyebrow .ma-eyebrow__marca + i { display: none; }
  /* botón del reto: más compacto */
  .ma .ma-reto-cta__btn small { display: none; }
  .ma .ma-reto-cta__btn { padding: 5px 14px 5px 5px; }
  .ma-reto-cta__ico { width: 32px; height: 32px; }
  .ma .ma-reto-cta__x { width: 22px; height: 22px; }
  .ma-hero__sub { font-size: 15.5px; line-height: 1.55; margin-top: 18px; }
  .ma-hero__ctas { margin-top: 24px; gap: 10px; flex-wrap: nowrap; }
  .ma-hero__ctas .ma-btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 13px 8px; font-size: 11.5px; gap: 7px; }
  .ma-hero__movil { gap: 26px; }
  .ma-hero__movil .ma-phone { width: 180px; border-radius: 32px; padding: 7px; box-shadow: 0 30px 60px rgba(0, 20, 40, .4), inset 0 0 0 2px rgba(255, 255, 255, .12); }
  .ma-hero__movil .ma-phone::before { top: 13px; width: 58px; height: 16px; }
  .ma-hero__movil .ma-phone__screen { border-radius: 26px; }
  .ma-hero__movil .ma-float { font-size: 10.5px; padding: 7px 10px; border-radius: 11px; gap: 5px; }
  .ma-hero__movil .ma-float .ma-ico { width: 13px; height: 13px; }
  .ma-hero__movil .ma-float--1 { top: 14%; left: -46%; }
  .ma-hero__movil .ma-float--2 { bottom: 24%; right: -46%; }
  .ma-hero__tilt::after { bottom: -24px; }
  .ma-badges--hero { gap: 10px; }
  .ma-badges--hero .ma-badge img { height: 36px; }
  .ma-badges--hero .ma-badge.is-pronto em { font-size: 10px; padding: 2px 7px; top: -18px; }
}

/* Móvil: el iPhone va entre el título y el texto (orden visual; el HTML no cambia) */
@media (max-width: 767px) {
  .ma-hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ma-hero__txt { display: contents; }
  .ma-hero__eyebrow { order: 1; }
  .ma-hero__title { order: 2; }
  .ma-hero__movil { order: 3; margin: 34px 0 6px; }
  .ma-hero__sub { order: 4; margin-top: 30px; }
  .ma-hero__ctas { order: 5; }
}

/* Móvil: arriba centrado y más blanco abajo para leer bien el texto sobre la foto */
@media (max-width: 767px) {
  .ma-hero__eyebrow { align-self: center; justify-content: center; text-align: center; }
  .ma-hero__title { text-align: center; }
  .ma-hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .88) 30%, rgba(255, 255, 255, .72) 48%,
    rgba(255, 255, 255, .92) 64%, rgba(255, 255, 255, .96) 80%, rgba(255, 255, 255, .96) 95%, rgba(3, 104, 157, .6) 99%, var(--ma-azul) 100%); }
}

/* Móvil: bloque «Todo, desde la app» — iPhone + tiendas entre el título y el texto */
@media (max-width: 767px) {
  .ma-app__grid { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
  .ma-app__txt { display: contents; }
  .ma-app .ma-kicker { order: 1; }
  .ma-app .ma-titulo { order: 2; }
  .ma-app__movil { order: 3; margin: 38px 0 0; }
  .ma-app .ma-badges { order: 4; margin-top: 34px; justify-content: center; gap: 10px; }
  .ma-app .ma-badges .ma-badge img { height: 38px; }
  .ma-app .ma-badges .ma-badge.is-pronto em { font-size: 10px; padding: 2px 7px; top: -18px; }
  .ma-app .ma-lead { order: 5; margin: 34px auto 0; }
  .ma-app .ma-pasos { order: 6; width: 100%; margin-top: 30px; }
  .ma-app .ma-link { order: 7; margin-top: 26px; }
  .ma-app__movil .ma-phone { width: 196px; border-radius: 34px; padding: 8px; }
  .ma-app__movil .ma-phone::before { top: 14px; width: 62px; height: 17px; }
  .ma-app__movil .ma-phone__screen { border-radius: 27px; }
  .ma-app__movil .ma-float { font-size: 10.5px; padding: 7px 10px; border-radius: 11px; gap: 5px; }
  .ma-app__movil .ma-float .ma-ico { width: 13px; height: 13px; }
  .ma-app__movil .ma-float--1 { top: 14%; left: -40%; }
  .ma-app__movil .ma-float--2 { bottom: 18%; right: -40%; }
}

/* Móvil: filtros en carrusel — más compactos, el último asoma y el borde derecho se difumina para invitar a deslizar */
@media (max-width: 767px) {
  .ma-filtros { gap: 8px; padding-right: 40px; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
  .ma-filtros.is-final { -webkit-mask-image: none; mask-image: none; }
  .ma-filtros button { padding: 9px 13px; font-size: 12.5px; gap: 6px; scroll-snap-align: start; }
  .ma-filtros button i { width: 8px; height: 8px; }
}
@media (max-width: 767px) { .ma-solo-ancho { display: none; } .ma-filtros { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), rgba(0, 0, 0, .35)); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), rgba(0, 0, 0, .35)); } }
/* Móvil: los filtros con aire a ambos lados; si caben, centrados (margin auto); si no, empiezan con margen y se deslizan */
@media (max-width: 767px) {
  .ma-filtros { scroll-snap-type: none; padding-left: 20px; padding-right: 20px; scroll-padding-inline: 20px; }
  .ma-filtros button { scroll-snap-align: none; }
  .ma-filtros button:first-child { margin-left: auto; }
  .ma-filtros button:last-child { margin-right: auto; }
}

/* ---------- Enlace a la guía de la app (tarjeta) ---------- */
.ma .ma-guia { position: relative; display: flex; align-items: center; gap: 16px; max-width: 460px; margin-top: 34px; padding: 16px 18px 16px 16px; border-radius: 20px; overflow: hidden;
  text-decoration: none; color: #fff; text-align: left; background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .4s var(--ma-ease), background .4s, border-color .4s, box-shadow .4s; }
.ma .ma-guia::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); animation: ma-brillo 5s ease-in-out 1.5s infinite; pointer-events: none; }
.ma .ma-guia:hover, .ma .ma-guia:focus-visible { color: #fff; transform: translateY(-3px); background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)); border-color: rgba(255, 255, 255, .4); box-shadow: 0 18px 40px rgba(0, 20, 40, .3); }
.ma-guia__ico { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--ma-amarillo); color: var(--ma-azul-osc); box-shadow: 0 8px 20px rgba(253, 194, 60, .35); }
.ma-guia__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ma-guia__txt small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ma-amarillo); }
.ma-guia__txt strong { font-size: 17px; font-weight: 700; line-height: 1.25; }
.ma-guia__txt em { font-style: normal; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, .75); }
.ma-guia__flecha { flex: none; margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ma-azul); transition: transform .4s var(--ma-ease); }
.ma .ma-guia:hover .ma-guia__flecha { transform: translateX(4px) rotate(-45deg); }
@keyframes ma-brillo { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
@media (max-width: 1024px) { .ma .ma-guia { margin-left: auto; margin-right: auto; } }
@media (max-width: 767px) {
  .ma-app .ma-guia { order: 7; width: 100%; margin-top: 30px; padding: 14px 14px 14px 12px; gap: 12px; }
  .ma-guia__ico { width: 44px; height: 44px; border-radius: 13px; }
  .ma-guia__txt strong { font-size: 15.5px; }
  .ma-guia__txt em { font-size: 12px; }
  .ma-guia__flecha { width: 34px; height: 34px; }
}

/* «en Sant Boi de Llobregat»: mismo tamaño que el título, en Lato fina (300) y tinta oscura → una sola frase, elegante */
.ma .ma-hero__title .ma-l--lugar { font-size: 1em; font-weight: 300; color: #22313d; letter-spacing: -.01em; margin-top: .08em; }
.ma .ma-hero__title .ma-l--lugar b { font-weight: 300; color: var(--ma-azul); }
@media (max-width: 767px) { .ma .ma-hero__title .ma-l--lugar { font-size: 1em; margin-top: .06em; } }

/* ---------- Acceso anticipado (bloque de la app, fondo azul) ---------- */
.ma-acceso { position: relative; max-width: 460px; margin-top: 30px; padding: 22px 22px 20px; border-radius: 22px; color: #fff; text-align: left;
  background: linear-gradient(150deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 50px rgba(0, 20, 40, .25); scroll-margin-top: 120px; }
.ma-acceso__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ma-amarillo); }
.ma-acceso__t { margin-top: 8px !important; font-size: 21px; font-weight: 700; line-height: 1.2; }
.ma-acceso__s { margin-top: 6px !important; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.ma-acceso__plat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ma-acceso__plat label { cursor: pointer; }
.ma-acceso__plat input { position: absolute; opacity: 0; pointer-events: none; }
.ma-acceso__plat span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 10px; border-radius: 14px; font-weight: 700; font-size: 14px;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .25); transition: background .25s, border-color .25s, color .25s, transform .25s; }
.ma-acceso__plat label:hover span { border-color: rgba(255, 255, 255, .5); }
.ma .ma-acceso__plat input:checked + span { background: #fff; color: var(--ma-azul-osc); border-color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 20, 40, .2); }
.ma-acceso__plat input:focus-visible + span { outline: 2px solid var(--ma-amarillo); outline-offset: 2px; }
.ma-acceso__campos { display: grid; gap: 8px; margin-top: 10px; }
.ma .ma-acceso__campos input { width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .95);
  color: var(--ma-tinta); font: 400 15px "Lato", sans-serif; outline: none; transition: border-color .25s, box-shadow .25s; }
.ma .ma-acceso__campos input:focus { border-color: var(--ma-amarillo); box-shadow: 0 0 0 3px rgba(253, 194, 60, .35); }
.ma-acceso__trampa { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.ma-acceso__aviso { display: flex; gap: 6px; align-items: flex-start; margin-top: 10px !important; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.ma-acceso__aviso[hidden] { display: none; }
.ma-acceso__aviso .ma-ico { color: var(--ma-amarillo); margin-top: 2px; }
.ma-acceso__aviso strong { color: #fff; }
.ma-acceso__ok { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .75); cursor: pointer; }
.ma-acceso__ok input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--ma-amarillo); }
.ma-acceso__ok a { color: #fff; text-decoration: underline; }
.ma .ma-acceso__btn { width: 100%; justify-content: center; margin-top: 14px; padding: 14px 18px; background: var(--ma-amarillo); color: var(--ma-azul-osc); border-color: var(--ma-amarillo); }
.ma .ma-acceso__btn:hover, .ma .ma-acceso__btn:focus { background: #ffd35f; color: var(--ma-azul-osc); }
.ma .ma-acceso__btn:disabled { opacity: .7; cursor: wait; }
.ma-acceso__msg { min-height: 0; margin-top: 8px !important; font-size: 13px; font-weight: 700; color: #ffd9d4; }
.ma-acceso__msg:empty { display: none; }
.ma-acceso.is-hecho > :not(.ma-acceso__hecho) { visibility: hidden; }
.ma-acceso__hecho { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; animation: ma-entra .6s var(--ma-ease) both; }
.ma-acceso__hecho[hidden] { display: none; }
.ma-acceso__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ma-amarillo); color: var(--ma-azul-osc); box-shadow: 0 0 0 10px rgba(253, 194, 60, .2); animation: ma-pop .6s var(--ma-ease) .1s both; }
.ma-acceso__hecho .ma-acceso__t { margin-top: 18px !important; }
@media (max-width: 1024px) { .ma-acceso { margin-left: auto; margin-right: auto; } }
@media (max-width: 767px) {
  .ma-app .ma-acceso { order: 4; width: 100%; margin-top: 26px; padding: 20px 16px 18px; }
  .ma-acceso__t { font-size: 19px; }
}

/* ---------- Popup de acceso anticipado ---------- */
.ma-modal--acceso { width: min(470px, calc(100% - 28px)); padding: 0; overflow: hidden; color: #fff;
  background: radial-gradient(120% 70% at 100% 0%, rgba(115, 176, 237, .45), transparent 60%), linear-gradient(160deg, var(--ma-azul), var(--ma-azul-osc)); }
.ma-modal--acceso .ma-acceso { max-width: none; margin: 0; padding: 34px 28px 26px; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ma-modal--acceso .ma-acceso__t { font-size: 24px; }
.ma .ma-modal--acceso .ma-modal__x, .ma-modal--acceso .ma-modal__x { z-index: 2; background: rgba(255, 255, 255, .14); color: #fff; }
.ma .ma-modal--acceso .ma-modal__x:hover, .ma .ma-modal--acceso .ma-modal__x:focus { background: rgba(255, 255, 255, .26); color: #fff; }
.ma-acceso__ventajas { list-style: none; margin: 14px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ma-acceso__ventajas li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.ma-acceso__ventajas .ma-ico { color: var(--ma-amarillo); }
.ma-modal--acceso .ma-modal__x { top: 14px; right: 14px; }
.ma .ma-badges__nota { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; }
.ma .ma-badges__nota u { text-decoration-color: var(--ma-amarillo); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ma .ma-badges__nota .ma-ico { color: var(--ma-amarillo); }
.ma .ma-badges__nota:hover, .ma .ma-badges__nota:focus { color: var(--ma-amarillo); }
@media (max-width: 767px) {
  .ma-modal--acceso { width: calc(100% - 20px); max-height: calc(100dvh - 20px); overflow-y: auto; }
  .ma-modal--acceso .ma-acceso { padding: 30px 18px 20px; }
  .ma-modal--acceso .ma-acceso__t { font-size: 21px; padding-right: 36px; }
  .ma-app .ma-badges__nota { order: 4; margin-top: 18px; font-size: 13px; text-align: center; justify-content: center; }
}
.ma-modal__x:focus:not(:focus-visible) { outline: none; box-shadow: none; }
@media (max-width: 767px) { .ma .ma-badges__nota { display: inline-flex; align-items: flex-start; max-width: 300px; margin-left: auto; margin-right: auto; line-height: 1.45; } .ma .ma-badges__nota .ma-ico { margin-top: 2px; } }
/* X del popup centrada (Hello mete padding y line-height a los botones) */
.ma .ma-modal__x { padding: 0; line-height: 0; display: grid; place-items: center; min-width: 0; min-height: 0; }
.ma .ma-modal__x .ma-ico { display: block; margin: 0; }
/* Ventajas como texto con check, no como botones (no confundir con iPhone / Android) */
.ma-acceso__ventajas { flex-direction: column; gap: 6px; margin: 12px 0 4px; }
.ma-acceso__ventajas li { padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.ma-modal--acceso:focus { outline: none; }

/* ---------- Cabecera con la foto de la zona Performance (18-10) ---------- */
.ma-hero__bg { background-image: var(--hero); background-position: center center; }
/* Escritorio/tableta: blanco a la izquierda (texto) que se abre a la derecha para que se vea la sala */
.ma-hero::before { background:
  linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .93) 34%, rgba(255, 255, 255, .55) 56%, rgba(255, 255, 255, .12) 78%, rgba(255, 255, 255, 0) 100%),
  linear-gradient(180deg, rgba(255, 255, 255, .25) 0%, transparent 18%, transparent 72%, rgba(3, 104, 157, .65) 92%, var(--ma-azul) 100%); }
@media (max-width: 1024px) { .ma-hero__bg { background-image: var(--hero-m); background-position: center center; } }

/* ---------- Botones de la cabecera: más grandes y con más presencia ---------- */
.ma .ma-hero__ctas .ma-btn { font-size: 14px; letter-spacing: .04em; padding: 16px 30px; gap: 10px; border-radius: 99px; }
.ma .ma-hero__ctas .ma-btn .ma-ico { width: 18px; height: 18px; }
.ma .ma-hero__ctas .ma-btn:not(.ma-btn--claro) { position: relative; overflow: hidden; box-shadow: 0 14px 30px rgba(3, 104, 157, .38); }
.ma .ma-hero__ctas .ma-btn:not(.ma-btn--claro)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); animation: ma-brillo 4.5s ease-in-out 2s infinite; pointer-events: none; }
.ma .ma-hero__ctas .ma-btn--claro { box-shadow: 0 12px 28px rgba(0, 30, 50, .16); border: 1.5px solid rgba(3, 104, 157, .25); }
.ma .ma-hero__ctas .ma-btn:hover { transform: translateY(-2px); }
@media (max-width: 767px) { .ma .ma-hero__ctas .ma-btn { font-size: 12.5px; padding: 15px 8px; letter-spacing: .02em; gap: 7px; } .ma .ma-hero__ctas .ma-btn .ma-ico { width: 16px; height: 16px; } }
@media (max-width: 767px) {
  .ma-hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 28%, rgba(255, 255, 255, .45) 46%,
    rgba(255, 255, 255, .55) 58%, rgba(255, 255, 255, .94) 72%, rgba(255, 255, 255, .96) 95%, rgba(3, 104, 157, .6) 99%, var(--ma-azul) 100%); }
}

/* =====================================================================
   Instalaciones: vídeo de la inauguración + galería con visor (28-10-2026)
   ===================================================================== */
.ma-insta { background: linear-gradient(180deg, #fff 0%, var(--ma-suave) 100%); }
.ma-insta__bento { display: grid; grid-template-columns: 1.12fr 1fr 1fr 1fr; grid-template-rows: 290px 290px; gap: 16px;
  grid-template-areas: "v a a b" "v c d d"; }
.ma-insta__video { grid-area: v; position: relative; margin: 0; min-width: 0; min-height: 0; border-radius: 26px; overflow: hidden; background: #0b1620; box-shadow: 0 30px 70px rgba(3, 104, 157, .22); isolation: isolate; }
.ma-insta__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.ma-insta__video::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; transition: opacity .4s;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, transparent 22%, transparent 62%, rgba(0, 0, 0, .55) 100%); }
.ma-insta__video.is-sonido::after { opacity: 0; }
.ma-insta__video figcaption { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .4s; }
.ma-insta__video.is-sonido figcaption { opacity: 0; }
.ma-insta__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--ma-amarillo); box-shadow: 0 0 0 0 rgba(253, 194, 60, .7); animation: ma-insta-latido 1.8s ease-out infinite; }
@keyframes ma-insta-latido { 70% { box-shadow: 0 0 0 9px rgba(253, 194, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(253, 194, 60, 0); } }
.ma .ma-insta__sonido { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 0; border-radius: 99px;
  background: rgba(255, 255, 255, .94); color: var(--ma-azul); font: 700 15px/1.2 "Lato", sans-serif; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .3s var(--ma-ease), opacity .3s; }
.ma .ma-insta__sonido:hover, .ma .ma-insta__sonido:focus { background: #fff; color: var(--ma-azul); }
.ma .ma-insta__sonido:hover { transform: translateY(-2px); }
.ma .ma-insta__sonido:focus-visible { outline: 3px solid var(--ma-amarillo); outline-offset: 3px; }
.ma-insta__play { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ma-azul); color: #fff; flex: none; }
.ma-insta__play .ma-ico { margin-left: 3px; }
.ma-insta__video.is-sonido .ma-insta__sonido { left: auto; right: 14px; bottom: 14px; padding: 6px; background: rgba(255, 255, 255, .85); }
.ma-insta__video.is-sonido [data-insta-txt] { display: none; }
.ma-insta__video.is-sonido .ma-insta__play { width: 36px; height: 36px; }
.ma-insta__video.is-sonido .ma-insta__play .ma-ico { margin-left: 0; }

.ma .ma-insta__foto { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; margin: 0; border-radius: 22px; overflow: hidden; background: var(--ma-linea); cursor: zoom-in; min-height: 0; }
.ma .ma-insta__foto:hover, .ma .ma-insta__foto:focus { background: var(--ma-linea); }
.ma .ma-insta__foto:focus-visible { outline: 3px solid var(--ma-amarillo); outline-offset: 3px; }
.ma-insta__foto--a { grid-area: a; } .ma-insta__foto--b { grid-area: b; } .ma-insta__foto--c { grid-area: c; } .ma-insta__foto--d { grid-area: d; }
.ma-insta__etq { position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .02em;
  background: rgba(10, 22, 34, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .4s var(--ma-ease); }
.ma .ma-insta__foto:hover .ma-insta__etq { background: rgba(3, 104, 157, .8); transform: translateY(-2px); }
.ma .ma-insta__foto::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .28)); }
.ma .ma-insta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ma-ease); }
.ma .ma-insta__foto:hover img { transform: scale(1.05); }
.ma-insta__mas { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(4, 20, 34, .05), rgba(4, 20, 34, .45)); transition: background .3s; }
.ma-insta__mas strong { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 99px; background: #fff; color: var(--ma-azul); font-size: 15px; font-weight: 700; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); transition: transform .35s var(--ma-ease), background .3s, color .3s; }
.ma .ma-insta__foto:hover .ma-insta__mas { background: linear-gradient(180deg, rgba(4, 20, 34, .1), rgba(4, 20, 34, .55)); }
.ma .ma-insta__foto:hover .ma-insta__mas strong { transform: translateY(-3px) scale(1.03); background: var(--ma-amarillo); color: var(--ma-azul-osc); }

/* Visor a pantalla completa */
.ma-visor { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(4, 18, 30, .97); color: #fff; overflow: hidden; }
.ma-visor[open] { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; animation: ma-visor .35s var(--ma-ease); }
.ma-visor::backdrop { background: transparent; }
@keyframes ma-visor { from { opacity: 0; } to { opacity: 1; } }
.ma-visor__fig { grid-column: 2; grid-row: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; touch-action: pan-y; }
.ma-visor__fig img { max-width: 100%; max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); transition: opacity .25s; }
.ma-visor__fig img.is-cargando { opacity: .25; }
.ma-visor__fig figcaption { display: flex; gap: 14px; align-items: baseline; justify-content: center; max-width: 760px; padding: 0 12px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .82); text-align: center; }
.ma-visor__n { flex: none; font-weight: 700; color: var(--ma-amarillo); font-variant-numeric: tabular-nums; }
.ma .ma-visor__nav, .ma .ma-visor__x { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .25s, transform .25s; justify-self: center; }
.ma .ma-visor__nav:hover, .ma .ma-visor__nav:focus, .ma .ma-visor__x:hover, .ma .ma-visor__x:focus { background: rgba(255, 255, 255, .24); color: #fff; }
.ma .ma-visor__nav:focus-visible, .ma .ma-visor__x:focus-visible { outline: 3px solid var(--ma-amarillo); outline-offset: 2px; }
.ma .ma-visor__x { position: absolute; top: 18px; right: 18px; z-index: 2; }
.ma-visor__nav--ant { grid-column: 1; grid-row: 1; }
.ma-visor__nav--sig { grid-column: 3; grid-row: 1; }

@media (max-width: 1024px) {
  .ma-insta__bento { grid-template-rows: 220px 220px; gap: 12px; }
}
@media (max-width: 767px) {
  .ma-insta__bento { grid-template-columns: 1fr 1fr; grid-template-rows: 165px 165px 150px; gap: 10px; grid-template-areas: "v a" "v b" "c d"; }
  .ma-insta__video { border-radius: 20px; }
  .ma .ma-insta__foto { border-radius: 18px; }
  .ma-insta__etq { left: 10px; bottom: 10px; padding: 5px 10px; font-size: 12px; }
  .ma-insta__mas strong { padding: 10px 14px; font-size: 13px; gap: 7px; }
  .ma-insta__video figcaption { top: 10px; left: 10px; padding: 6px 10px; font-size: 11px; }
  .ma .ma-insta__sonido { left: 10px; right: 10px; bottom: 10px; gap: 8px; padding: 6px 12px 6px 6px; font-size: 13px; }
  .ma-insta__play { width: 34px; height: 34px; }
  .ma-insta__video.is-sonido .ma-insta__sonido { right: 10px; bottom: 10px; }
  .ma-visor[open] { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .ma .ma-visor__nav { position: absolute; grid-column: 1 / -1; grid-row: 1; align-self: end; bottom: max(18px, env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .ma-visor__nav--ant { left: calc(50% - 64px); }
  .ma-visor__nav--sig { right: calc(50% - 64px); }
  .ma-visor__fig { padding: 0 10px 70px; }
  .ma-visor__fig img { max-height: calc(100dvh - 190px); border-radius: 10px; }
  .ma .ma-visor__x { top: max(14px, env(safe-area-inset-top)); right: 14px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ma-insta__punto { animation: none; }
  .ma .ma-insta__foto img, .ma-visor[open] { transition: none; animation: none; }
}

/* Cinta de fotos en movimiento (28-10-2026) */
.ma-cinta { padding: 10px 0 30px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ma-cinta__pista { display: flex; gap: 16px; width: max-content; animation: ma-cinta 70s linear infinite; }
.ma-cinta:hover .ma-cinta__pista, .ma-cinta:focus-within .ma-cinta__pista { animation-play-state: paused; }
@keyframes ma-cinta { to { transform: translateX(calc(-50% - 8px)); } }
.ma .ma-cinta__foto { flex: none; height: 300px; padding: 0; border: 0; margin: 0; border-radius: 22px; overflow: hidden; background: var(--ma-linea); cursor: zoom-in; position: relative;
  box-shadow: 0 16px 36px rgba(3, 104, 157, .14); transition: transform .5s var(--ma-ease), box-shadow .5s; }
.ma .ma-cinta__foto:hover, .ma .ma-cinta__foto:focus { background: var(--ma-linea); transform: translateY(-6px); box-shadow: 0 24px 46px rgba(3, 104, 157, .22); }
.ma .ma-cinta__foto:focus-visible { outline: 3px solid var(--ma-amarillo); outline-offset: 3px; }
.ma .ma-cinta__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .ma .ma-cinta__foto { height: 210px; border-radius: 16px; }
  .ma-cinta__pista { gap: 10px; animation-duration: 55s; }
  @keyframes ma-cinta { to { transform: translateX(calc(-50% - 5px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .ma-cinta { overflow-x: auto; }
  .ma-cinta__pista { animation: none; padding: 0 20px; }
}

/* Cierre con gente entrenando de fondo */
.ma-cierre__card { isolation: isolate; }
.ma-cierre__foto { position: absolute; inset: 0; z-index: -1; }
.ma-cierre__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .32; mix-blend-mode: luminosity; filter: contrast(1.05); }
.ma-cierre__foto::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 40%, rgba(3, 104, 157, .25), rgba(2, 78, 119, .75) 100%); }
/* Etiquetas de disciplina enlazadas a su página */
.ma .ma-tags li a { color: inherit; text-decoration: none; }
.ma .ma-tags li:has(a) { transition: background .25s, border-color .25s, transform .25s; }
.ma .ma-tags li:has(a):hover { background: #fff; border-color: var(--ma-cielo); transform: translateY(-1px); }
.ma .ma-tags li:has(a) a::after { content: " →"; opacity: .55; }

