/* ===== Inicio de la academia (fx-h) ===== */
.fx-home2 { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #0f172a; background: #fff; }
.fx-home2 .fx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.fx-h-hero { position: relative; overflow: hidden; color: #e2e8f0; padding: 72px 0 64px; background: radial-gradient(900px 500px at 85% 20%, rgba(251, 191, 36, .18), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(37, 99, 235, .25), transparent 60%), #07101f; }
.fx-h-hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.fx-h-pill { display: inline-block; font-size: 13px; font-weight: 700; color: #fbbf24; border: 1px solid rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.fx-h-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.05; font-weight: 900; letter-spacing: -.02em; margin: 0 0 20px; }
.fx-h-hero h1 em { font-style: normal; background: linear-gradient(90deg, #fde68a, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-h-hero .lead { font-size: 1.15rem; line-height: 1.7; color: #cbd5e1; margin: 0 0 28px; max-width: 640px; }
.fx-h-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-h-ctas .fx-btn-line { margin-left: 0; }
.fx-h-trust { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 36px 0 0; }
.fx-h-trust li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; }
.fx-h-trust b { display: block; color: #fff; font-size: 1.25rem; font-weight: 900; }
.fx-h-trust span { font-size: .85rem; color: #94a3b8; }
.fx-h-hero-foto { position: relative; }
.fx-h-yurian { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .12); display: block; }
.fx-h-badge { position: absolute; left: -18px; bottom: 28px; background: #fff; color: #0f172a; border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.fx-h-badge b { display: block; font-weight: 900; }
.fx-h-badge span { font-size: .85rem; color: #475569; }
.fx-h-tabs { background: #0b1220; border-top: 1px solid rgba(255, 255, 255, .06); position: sticky; top: 0; z-index: 40; }
.fx-h-tabs .fx-wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.fx-h-tabs .fx-wrap::-webkit-scrollbar { display: none; }
.fx-h-tabs a { white-space: nowrap; color: #e2e8f0 !important; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); }
.fx-h-tabs a:hover { background: #fbbf24; color: #0b1220 !important; border-color: #fbbf24; }
.fx-h-sec { padding: 88px 0; }
.fx-h-sec.alt { background: #f8fafc; }
.fx-h-sec.dark { background: #0b1220; color: #cbd5e1; }
.fx-h-sec.dark h2, .fx-h-sec.dark h3 { color: #fff; }
.fx-h-k { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #b45309; margin-bottom: 10px; }
.fx-h-sec.dark .fx-h-k { color: #fbbf24; }
.fx-h-sec h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; font-weight: 900; letter-spacing: -.01em; margin: 0 0 14px; color: #0f172a; }
.fx-h-lead { color: #475569; font-size: 1.1rem; line-height: 1.7; max-width: 760px; margin: 0 0 36px; }
.fx-h-cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.fx-h-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; overflow: hidden; text-decoration: none; color: #0f172a !important; box-shadow: 0 10px 30px rgba(15, 23, 42, .07); transition: transform .25s, box-shadow .25s; }
.fx-h-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(15, 23, 42, .14); }
.fx-h-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.fx-h-card .b { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fx-h-tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: #92400e; background: #fef3c7; padding: 4px 10px; border-radius: 999px; }
.fx-h-card h3 { margin: 0; font-size: 1.3rem; font-weight: 900; }
.fx-h-card ul { margin: 0; padding-left: 18px; color: #475569; line-height: 1.7; flex: 1; list-style: disc; }
.fx-h-card .more { color: #1d4ed8; font-weight: 800; }
.fx-h-metodo { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.fx-h-metodo > div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 24px; }
.fx-h-metodo .n { color: #fbbf24; font-weight: 900; font-size: 1.4rem; }
.fx-h-metodo h3 { margin: 8px 0 6px; font-size: 1.15rem; font-weight: 800; }
.fx-h-metodo p { margin: 0; line-height: 1.6; color: #94a3b8; }
.fx-h-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.fx-h-fila.inv .fx-h-fila-img { order: 2; }
.fx-h-fila-img img { width: 100%; height: 360px; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 45px rgba(15, 23, 42, .15); display: block; }
.fx-h-fila h3 { font-size: 1.7rem; font-weight: 900; margin: 0 0 14px; }
.fx-h-fila ol { padding-left: 20px; margin: 0 0 22px; color: #334155; line-height: 1.7; list-style: decimal; }
.fx-h-fila li { margin-bottom: 6px; }
.fx-h-btn { display: inline-block; background: #0b1220; color: #fff !important; text-decoration: none; font-weight: 800; padding: 12px 20px; border-radius: 12px; }
.fx-h-btn:hover { background: #1e293b; }
.fx-h-bio { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.fx-h-bio img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 18px 45px rgba(15, 23, 42, .18); display: block; }
.fx-h-bio p { color: #334155; font-size: 1.08rem; line-height: 1.75; margin: 0 0 14px; }
.fx-h-casos { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.fx-h-caso { margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); display: flex; flex-direction: column; }
.fx-h-caso img { width: 100%; height: 200px; object-fit: cover; display: block; }
.fx-h-caso blockquote { margin: 0; padding: 20px 22px 8px; font-size: 1.02rem; line-height: 1.6; color: #1e293b; flex: 1; }
.fx-h-caso figcaption { padding: 0 22px 20px; }
.fx-h-caso figcaption b { display: block; }
.fx-h-caso figcaption span { font-size: .88rem; color: #64748b; }
.fx-h-reviews, .fx-h-pod { margin-top: 26px; color: #475569; }
.fx-h-sec.dark .fx-h-pod { color: #94a3b8; }
.fx-h-reviews a, .fx-h-pod a { color: #1d4ed8 !important; font-weight: 700; }
.fx-h-sec.dark .fx-h-pod a { color: #fbbf24 !important; }
.fx-h-videos { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
.fx-h-videos a { display: block; background: #111c33; border-radius: 16px; overflow: hidden; text-decoration: none; color: #e2e8f0 !important; border: 1px solid rgba(255, 255, 255, .08); }
.fx-h-videos img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.fx-h-videos span { display: block; padding: 14px 16px; font-weight: 700; line-height: 1.4; }
.fx-h-ciudades { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.fx-h-ciudades h3 { font-size: 1.1rem; font-weight: 900; margin: 0 0 10px; }
.fx-h-ciudades ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fx-h-ciudades a { display: inline-block; padding: 7px 12px; border: 1px solid #e2e8f0; border-radius: 999px; color: #0f172a !important; text-decoration: none; font-size: .92rem; font-weight: 600; background: #fff; }
.fx-h-ciudades a:hover { border-color: #f59e0b; background: #fffbeb; }
.fx-h-faq details { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.fx-h-faq summary { font-weight: 800; cursor: pointer; }
.fx-h-faq p { margin: 10px 0 0; color: #475569; line-height: 1.7; }
.fx-h-final { background: linear-gradient(135deg, #0b1220, #1e3a8a); color: #e2e8f0; text-align: center; padding: 88px 0; }
.fx-h-final h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; margin: 0 0 12px; }
.fx-h-final p { color: #cbd5e1; font-size: 1.1rem; margin: 0 0 24px; }
.fx-h-final .dir { margin-top: 26px; font-size: .95rem; color: #94a3b8; }
.fx-h-final .dir a { color: #fbbf24 !important; }
@media (max-width: 980px) {
	.fx-h-hero-in, .fx-h-fila, .fx-h-bio { grid-template-columns: 1fr; gap: 32px; }
	.fx-h-fila.inv .fx-h-fila-img { order: 0; }
	.fx-h-cards, .fx-h-casos, .fx-h-videos, .fx-h-metodo, .fx-h-ciudades { grid-template-columns: 1fr 1fr; }
	.fx-h-trust { grid-template-columns: 1fr 1fr; }
	.fx-h-badge { left: 12px; }
}
@media (max-width: 640px) {
	.fx-h-cards, .fx-h-casos, .fx-h-videos, .fx-h-metodo, .fx-h-ciudades { grid-template-columns: 1fr; }
	.fx-h-sec { padding: 64px 0; }
	.fx-h-fila-img img { height: 240px; }
}

/* Cursos por especialidad y ciudad */
.fx-esp .fx-h-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.fx-esp .fx-h-hero .lead { max-width: 820px; }
.fx-esp-migas { font-size: .85rem; color: #94a3b8; margin-bottom: 18px; }
.fx-esp-migas a { color: #cbd5e1 !important; text-decoration: none; }
.fx-esp-migas a:hover { text-decoration: underline; }
.fx-esp-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fx-esp-links a { display: inline-block; padding: 9px 14px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #0f172a !important; text-decoration: none; font-weight: 600; font-size: .92rem; }
.fx-esp-links a:hover { background: #fbbf24; border-color: #fbbf24; }

/* Portada: puerta de entrada a las academias */
.fx-h-hero-puerta { padding: 80px 0 72px; text-align: center; }
.fx-h-hero-puerta .lead { margin-left: auto; margin-right: auto; max-width: 760px; }
.fx-h-hero-puerta .fx-h-ctas { justify-content: center; }
.fx-acs { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 32px; }
.fx-ac { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e8f0; border-top: 6px solid var(--c); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.fx-ac:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(15, 23, 42, .12); }
.fx-ac-main { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; flex: 1; color: #0f172a !important; text-decoration: none; }
.fx-ac-tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 5px 10px; border-radius: 999px; }
.fx-ac h3 { margin: 0; font-size: 1.35rem; font-weight: 900; line-height: 1.2; }
.fx-ac p { margin: 0; color: #475569; line-height: 1.65; flex: 1; }
.fx-ac-go { color: var(--c); font-weight: 800; margin-top: 6px; }
.fx-ac-extra { display: block; padding: 12px 24px; border-top: 1px solid #e2e8f0; color: var(--c) !important; font-weight: 700; text-decoration: none; font-size: .95rem; }
.fx-ac-extra:hover { background: #f8fafc; }
.fx-h-metodo { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fx-ciudad.oscuro { background: #07070c; color: #cbd5e1; border-top: 1px solid rgba(255, 255, 255, .08); }
.fx-ciudad.oscuro h2 { color: #fff; }
.fx-ciudad.oscuro .fx-g-k { background: rgba(124, 58, 237, .2); color: #c4b5fd; }
.fx-ciudad.oscuro details { background: #111827; border-color: #1f2937; color: #e5e7eb; }
.fx-g-card-link { display: block; text-decoration: none; color: inherit !important; transition: transform .2s, box-shadow .2s; }
.fx-g-card-link:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, .12); }
.fx-g-mas { display: inline-block; margin-top: 8px; font-weight: 800; color: #b45309; }
.fx-dir-pais a { color: inherit !important; text-decoration: none; }
.fx-dir-pais a:hover { text-decoration: underline; }
.fx-temario { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fx-temario li { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 16px 14px 44px; position: relative; font-weight: 600; color: #0f172a; line-height: 1.5; }
.fx-temario li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: #16a34a; font-weight: 900; }
.fx-metodo { background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 14px 18px; color: #78350f; }
.fx-directorio .fx-dir-pais { color: #0f172a !important; font-size: 1.35rem; font-weight: 900; margin: 36px 0 4px; }
.fx-directorio .fx-dir-pais span { color: #64748b !important; font-size: .9rem; font-weight: 600; margin-left: 8px; }
.fx-directorio .fx-dir-pais a { color: #0f172a !important; }
