/* Formación · radiofonista UAS. El motivo es una radio de banda aérea: dial, lecturas de instrumento
   y fichas como las de una torre de control. Primero para móvil. */
.fx { padding-top: calc(var(--header-h) + 8px); padding-bottom: 8px; }
.fx .crumb { margin-bottom: 14px; }
.fx h2 { font-size: clamp(1.95rem, 4.4vw, 3.2rem); letter-spacing: -.03em; line-height: 1.04; }
.fx h3 { font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.15; }
.compra-error { margin: 0 0 14px; padding: 14px 18px; border-radius: 16px; background: rgba(239, 68, 68, .09); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .28); font-size: 15px; }

/* ---------- escenario ---------- */
.fx-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; color: #F2F5FA; scroll-margin-top: calc(var(--header-h) + 10px);
  background: radial-gradient(90% 70% at 92% 0%, rgba(45, 212, 222, .24) 0%, rgba(45, 212, 222, 0) 62%), radial-gradient(70% 60% at 0% 100%, rgba(10, 118, 130, .3) 0%, rgba(10, 118, 130, 0) 70%), var(--ink); }
.fx-stage__in { display: grid; gap: 26px; padding: 26px 20px 24px; }
.fx-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.fx-led { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px 2px rgba(45, 212, 222, .7); }
.fx-stage h1 { margin-top: 14px; font-size: clamp(2.5rem, 6.4vw, 4.7rem); line-height: .98; letter-spacing: -.04em; color: #fff; max-width: 13ch; }
.fx-lead { margin-top: 16px; color: #B7C1D2; font-size: 1.06rem; line-height: 1.5; max-width: 50ch; }
.fx-compra { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; margin-top: 24px; }
.fx-precio { display: grid; gap: 2px; }
.fx-precio b { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 4rem); font-weight: 700; line-height: .95; letter-spacing: -.04em; color: #fff; }
.fx-precio span { font-size: 13.5px; color: #B7C1D2; }
.fx-chip { padding: 8px 14px; border-radius: 999px; background: var(--cyan); color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.fx-cta { display: grid; gap: 10px; margin-top: 22px; }
.fx-cta .btn { width: 100%; }
.fx-enlace { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fx-micro { margin-top: 12px; font-size: 13px; line-height: 1.45; color: #93A0B5; }

.fx-panel { padding: 16px 18px 6px; border-radius: 20px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .11); }
.fx-panel__top { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #93A0B5; }
.fx-onda { flex: 1; min-width: 0; height: 34px; overflow: hidden; }
.fx-onda path { fill: none; stroke: var(--cyan); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.fx-lecturas { margin: 8px 0 0; }
.fx-lecturas div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .11); }
.fx-lecturas dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; color: #93A0B5; }
.fx-lecturas dd { margin: 0; font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; color: #fff; text-align: right; }

/* dial de la banda aérea */
.fx-dial { position: relative; height: 62px; border-top: 1px solid rgba(255, 255, 255, .11); overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 60px) 0 0 / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .15) 0 1px, transparent 1px 12px) 0 0 / 100% 9px no-repeat; }
.fx-dial__aguja { position: absolute; top: 0; bottom: 0; left: 36%; width: 2px; background: var(--cyan); box-shadow: 0 0 16px 3px rgba(45, 212, 222, .65); }
.fx-dial__marcas { position: absolute; left: 20px; right: 20px; bottom: 11px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: #93A0B5; }
@media (prefers-reduced-motion: no-preference) {
  .fx-led { animation: fx-led 2.4s ease-in-out infinite; }
  .fx-onda path { animation: fx-onda 3.4s linear infinite; }
  .fx-dial__aguja { animation: fx-aguja 16s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
}
@keyframes fx-led { 50% { opacity: .35; box-shadow: 0 0 4px 0 rgba(45, 212, 222, .3); } }
@keyframes fx-onda { to { transform: translateX(-40px); } }
@keyframes fx-aguja { from { left: 14%; } to { left: 82%; } }

/* ---------- secciones ---------- */
.fx-sec { padding-block: clamp(52px, 8vw, 104px) 0; }
.fx-sub { margin-top: 14px; max-width: 62ch; color: var(--text-2); }

.fx-casos { display: grid; gap: 12px; margin-top: 26px; }
.fx-casos article { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.fx-casos p { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.fx-icono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--cyan-soft); color: var(--teal); }
.fx-icono svg { width: 24px; height: 24px; }
.fx-nota { margin-top: 12px; padding: 16px 20px; border-radius: 18px; background: var(--panel-2); font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.fx-nota b { color: var(--ink); font-weight: 600; }

.fx-fichas { display: grid; gap: 14px; margin-top: 28px; }
.fx-ficha { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; border-radius: 22px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.fx-ficha header { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); font-family: var(--f-mono); font-size: 12px; color: var(--text-2); }
.fx-ficha h3 { font-size: 1.5rem; }
.fx-ficha dl { margin: 0; flex: 1; }
.fx-ficha dl div { display: grid; grid-template-columns: 7.4em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.fx-ficha dl div:first-child { border-top: 0; padding-top: 0; }
.fx-ficha dt { font-family: var(--f-mono); font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.fx-ficha dd { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.fx-externo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--teal); }
.fx-ficha--tuya { background: var(--ink); color: #F2F5FA; box-shadow: var(--shadow-lg); }
.fx-ficha--tuya header { color: #93A0B5; border-bottom-color: rgba(255, 255, 255, .22); }
.fx-ficha--tuya header span:last-child { color: var(--cyan); }
.fx-ficha--tuya h3 { color: #fff; }
.fx-ficha--tuya dl div { border-top-color: rgba(255, 255, 255, .11); }
.fx-ficha--tuya dt { color: #93A0B5; }
.fx-ficha--tuya .btn { width: 100%; }

.fx-listas { display: grid; gap: 12px; margin-top: 26px; }
.fx-lista { padding: 22px; border-radius: 22px; background: var(--panel-2); }
.fx-lista--si { background: var(--panel); box-shadow: inset 0 0 0 2px var(--cyan); }
.fx-lista ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.fx-lista li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.fx-lista li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 12px; height: 2px; background: var(--slate); }
.fx-lista--si li::before { left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F1A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- regalo ---------- */
.fx-regalo { position: relative; overflow: hidden; display: grid; gap: 8px; margin-top: clamp(52px, 8vw, 104px); padding: 26px 22px 28px; border-radius: 28px; background: var(--cyan); color: var(--ink); }
.fx-regalo__num { font-family: var(--f-display); font-size: clamp(7.5rem, 30vw, 17rem); font-weight: 700; line-height: .82; letter-spacing: -.06em; }
.fx-regalo h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
.fx-regalo__txt p { margin-top: 12px; font-size: 16.5px; line-height: 1.5; max-width: 46ch; }
.fx-tiques { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; }
.fx-tiques li { display: grid; gap: 1px; padding: 11px 12px; border-radius: 14px; background: var(--ink); color: #B7C1D2; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.3; }
.fx-tiques b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--cyan); }
.fx-regalo__txt .fx-regalo__nota { font-size: 14.5px; }
.fx-regalo a { font-weight: 600; text-underline-offset: 3px; }

/* ---------- pasos ---------- */
.fx-pasos { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.fx-pasos li { display: grid; align-content: start; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.fx-pasos span { font-family: var(--f-mono); font-size: 13px; color: var(--teal); }
.fx-pasos h3 { font-size: 1.45rem; }
.fx-pasos p { color: var(--text-2); font-size: 16px; line-height: 1.5; max-width: 40ch; }

.fx-dudas { padding-block: clamp(52px, 8vw, 104px) 0; }
.fx-dudas .faq__aside p { color: var(--text-2); }
.fx-dudas .faq__aside a, .fx-fuentes a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 860px) { .fx-dudas .faq { grid-template-columns: minmax(0, 1fr); gap: 22px; } .fx-dudas .faq__aside { position: static; gap: 8px; } }

/* ---------- final ---------- */
.fx-fin { display: grid; gap: 20px; margin-top: clamp(52px, 8vw, 104px); padding: 28px 22px; border-radius: 28px; color: #F2F5FA;
  background: radial-gradient(70% 120% at 100% 100%, rgba(45, 212, 222, .22) 0%, rgba(45, 212, 222, 0) 70%), var(--ink); }
.fx-fin h2 { color: #fff; }
.fx-fin p { margin-top: 10px; color: #B7C1D2; font-size: 15.5px; line-height: 1.5; max-width: 54ch; }
.fx-fin .btn { width: 100%; }
.fx-fuentes { margin: 18px 0 clamp(48px, 7vw, 88px); font-size: 13.5px; line-height: 1.6; color: var(--text-2); }

/* barra de compra fija en el móvil */
.fx-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgba(10, 15, 26, .3); }
.fx-barra[hidden] { display: none; }
.fx-barra div { display: grid; }
.fx-barra b { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.1; letter-spacing: -.02em; }
.fx-barra span { font-size: 12.5px; color: var(--text-2); }
.fx-barra .btn { --h: 46px; flex: none; }

@media (min-width: 720px) {
  .fx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
  .fx-cta .btn { width: auto; }
  .fx-casos, .fx-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-pasos { gap: 26px; }
  .fx-listas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-regalo { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 72px); padding: clamp(32px, 5vw, 60px); }
  .fx-fin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: clamp(32px, 5vw, 56px); }
  .fx-fin .btn { width: auto; }
  .fx-barra { display: none !important; }
}
@media (min-width: 960px) {
  .fx-stage { border-radius: var(--radius-lg); }
  .fx-stage__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: clamp(32px, 5vw, 72px); padding: clamp(44px, 5vw, 68px) clamp(36px, 5vw, 68px) 40px; }
  .fx-panel { padding: 20px 24px 8px; }
  .fx-dial { height: 74px; }
  .fx-dial__marcas { left: clamp(36px, 5vw, 68px); right: clamp(36px, 5vw, 68px); font-size: 12px; }
  .fx-fichas { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; }
  .fx-ficha--tuya { padding: 26px 26px 28px; }
}
