/* IA Para Todos - estilos (sin dependencias, sin compilación) */
:root {
  --ink: #111827; --ink-2: #4b5563; --ink-3: #6b7280;
  --line: #e5e7eb; --soft: #f9fafb; --white: #fff;
  --indigo: #4f46e5; --purple: #7c3aed; --pink: #db2777; --green: #059669; --orange: #ea580c; --blue: #2563eb; --red: #dc2626; --yellow: #eab308;
  --radius: 16px;
  --shadow: 0 10px 25px -10px rgba(17, 24, 39, .18);
  --head: 'Space Grotesk', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow-2 { max-width: 760px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid.narrow { max-width: 900px; margin: 0 auto; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-lg { padding: 15px 30px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(90deg, #facc15, #f97316); color: #111827; box-shadow: 0 10px 20px -8px rgba(249, 115, 22, .5); }
.btn-glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-wa { background: linear-gradient(90deg, #4ade80, #10b981); color: #fff; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(17, 24, 39, .85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font: 700 1.25rem var(--head); color: #fff; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; padding: 6px 10px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 70px; color: #fff; text-align: center;
  background: linear-gradient(135deg, #312e81, #581c87 50%, #9d174d); }
.hero::before { content: ''; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 40px 40px; }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .22; animation: pulse 4s ease-in-out infinite; }
.blob-1 { width: 320px; height: 320px; background: #a855f7; top: -120px; right: -120px; }
.blob-2 { width: 400px; height: 400px; background: #ec4899; bottom: -150px; left: -150px; animation-delay: 1s; }
.blob-3 { width: 560px; height: 560px; background: #6366f1; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .12; animation-delay: 2s; }
@keyframes pulse { 50% { opacity: .08; } }
.hero-inner { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 8px 16px; font-size: .88rem; font-weight: 500; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; flex: none; }
.hero h1 { font: 900 clamp(2.4rem, 7vw, 4.6rem) var(--head); margin-bottom: 24px; line-height: 1.1; }
.grad-gold, .grad-green { background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.grad-gold { background-image: linear-gradient(90deg, #fde047, #fb923c); }
.grad-green { background-image: linear-gradient(90deg, #86efac, #34d399); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: rgba(255, 255, 255, .82); max-width: 780px; margin: 0 auto 36px; }
.lead strong { color: #fff; } .lead .gold { color: #fde047; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.stat { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 16px 8px; backdrop-filter: blur(6px); }
.stat-ico { font-size: 1.5rem; } .stat-num { font-size: 1.8rem; font-weight: 900; } .stat-lbl { color: rgba(255, 255, 255, .62); font-size: .88rem; }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; }
.bg-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.c-purple-t { color: var(--purple); } .c-green-t { color: var(--green); } .c-indigo-t { color: var(--indigo); } .c-orange-t { color: var(--orange); } .c-teal-t { color: #0d9488; }
.section-head h2 { font: 900 clamp(1.8rem, 4vw, 3rem) var(--head); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin-top: 14px; }

.card { background: #fff; border: 1px solid #f3f4f6; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.card:hover { transform: translateY(-3px); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); }
.icon-box { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 22px; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .25); }
.g-purple { background: linear-gradient(135deg, #a855f7, #6366f1); }
.g-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.g-green { background: linear-gradient(135deg, #22c55e, #10b981); }

/* Herramientas */
.toolcat { border: 1px solid; border-radius: 20px; padding: 28px; }
.toolcat h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 20px; }
.toolcat .big { font-size: 1.9rem; }
.cat-blue { background: #eff6ff; border-color: #bfdbfe; } .cat-blue h3 { color: #1d4ed8; }
.cat-pink { background: #fdf2f8; border-color: #fbcfe8; } .cat-pink h3 { color: #be185d; }
.cat-green { background: #ecfdf5; border-color: #a7f3d0; } .cat-green h3 { color: #047857; }
.cat-purple { background: #f5f3ff; border-color: #ddd6fe; } .cat-purple h3 { color: #6d28d9; }
.tool { display: flex; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .8); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.tool:last-child { margin-bottom: 0; }
.tool h4 { font-size: 1rem; } .tool p { font-size: .88rem; color: var(--ink-2); margin-top: 4px; }
.tool a { color: var(--blue); font-size: .8rem; font-weight: 600; white-space: nowrap; text-decoration: none; margin-top: 3px; }
.tool a:hover { text-decoration: underline; }

/* Programa */
.tabs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.tab { padding: 12px 22px; border-radius: 12px; font: 700 1rem Inter, sans-serif; background: #fff; color: var(--ink-2); border: 1px solid var(--line); cursor: pointer; }
.tab.is-active { background: var(--indigo); color: #fff; border-color: var(--indigo); box-shadow: 0 10px 18px -8px rgba(79, 70, 229, .6); }
.week { display: grid; gap: 20px; margin-bottom: 20px; }
.js .week { display: none; margin-bottom: 0; }
.js .week.is-active { display: grid; }
.session { display: flex; gap: 18px; background: #fff; border-radius: 18px; padding: 26px; border-left: 5px solid var(--c, #888); box-shadow: var(--shadow); }
.c-purple { --c: #a855f7; } .c-pink { --c: #ec4899; } .c-blue { --c: #3b82f6; } .c-green { --c: #22c55e; } .c-yellow { --c: #eab308; } .c-orange { --c: #f97316; } .c-red { --c: #ef4444; }
.session-num { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #f3f4f6; display: grid; place-items: center; font-weight: 900; font-size: 1.15rem; color: #374151; }
.session-body { flex: 1; min-width: 0; }
.session-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.session-head h3 { font-size: 1.15rem; }
.chip { background: #f3f4f6; color: var(--ink-3); font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.checks { display: grid; gap: 8px; margin-bottom: 16px; }
.checks li { position: relative; padding-left: 26px; color: var(--ink-2); }
.checks li::before { content: '✓'; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.deliverable { background: linear-gradient(90deg, #f0fdf4, #ecfdf5); border: 1px solid #bbf7d0; color: #166534; border-radius: 12px; padding: 12px 16px; }

/* Servicios */
.service-ico { font-size: 2.3rem; margin-bottom: 12px; }
.service p { font-size: .92rem; margin-bottom: 16px; }
.service dl { margin: 0; display: grid; gap: 8px; }
.service dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .88rem; }
.service dt { color: var(--ink-3); } .service dd { margin: 0; font-weight: 500; text-align: right; }
.service dd.small { font-size: .78rem; }
.price { background: #ecfdf5; color: #047857; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.banner { margin-top: 44px; background: linear-gradient(90deg, #4f46e5, #7c3aed); color: #fff; border-radius: 20px; padding: 32px; text-align: center; }
.banner h3 { font-size: 1.5rem; margin-bottom: 10px; }
.banner p { color: rgba(255, 255, 255, .85); max-width: 680px; margin: 0 auto; }

/* Requisitos */
.req h3 { font-size: 1.25rem; margin-bottom: 22px; }
.req-yes { border-color: #bbf7d0; } .req-yes h3 { color: #166534; }
.req-no { border-color: #fecaca; } .req-no h3 { color: #991b1b; }
.req li { position: relative; padding-left: 28px; margin-bottom: 14px; color: #374151; }
.req li::before { position: absolute; left: 0; font-weight: 800; }
.req li.yes::before { content: '✓'; color: #22c55e; } .req li.no::before { content: '✗'; color: #ef4444; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 52px 16px 22px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { background: var(--soft); }
.faq p { padding: 16px 22px 20px; border-top: 1px solid #f3f4f6; color: var(--ink-2); }

/* Inscripción */
.cta { position: relative; color: #fff; background: linear-gradient(135deg, #312e81, #581c87 50%, #9d174d); }
.cta::before { content: ''; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 30px 30px; }
.cta .container { position: relative; }
.section-head.light h2 { color: #fff; } .section-head.light p { color: rgba(255, 255, 255, .8); }
.cta-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: start; max-width: 1000px; margin: 0 auto; }
.glass-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 28px; backdrop-filter: blur(6px); }
.glass-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.glass-card p { color: rgba(255, 255, 255, .82); margin-bottom: 10px; }
.glass-card strong { color: #fff; } .green { color: #4ade80; font-weight: 800; }
.cta-links { display: grid; gap: 12px; margin-top: 22px; }

.form-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: 0 25px 50px -20px rgba(0, 0, 0, .5); }
.form-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row:has(.field-sm) { grid-template-columns: 1fr 110px; }
.field { display: block; font-size: .88rem; font-weight: 600; color: #374151; margin-bottom: 14px; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #d1d5db; border-radius: 10px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.is-invalid { border-color: var(--red) !important; }
.field-error { display: block; color: var(--red); font-size: .8rem; font-weight: 500; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: #374151; margin: 4px 0 6px; }
.check input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.check a { color: var(--indigo); }
.form-card > .field-error { margin-bottom: 12px; }
.minor { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 14px 14px 2px; margin-bottom: 14px; }
.note { font-size: .85rem; color: #92400e; margin-bottom: 12px; }
.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: #111827; color: #fff; padding: 56px 0 28px; }
.footer h3 { font: 700 1.25rem var(--head); margin-bottom: 14px; }
.footer h4 { margin-bottom: 14px; }
.footer p, .footer li { color: #9ca3af; font-size: .9rem; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; } .footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1f2937; margin-top: 36px; padding-top: 26px; text-align: center; }
.footer-bottom p { color: #6b7280; font-size: .85rem; margin-bottom: 6px; }

/* Página de texto (privacidad) */
.doc { max-width: 760px; margin: 0 auto; padding: 110px 20px 70px; }
.doc h1 { font: 900 2rem var(--head); margin-bottom: 20px; }
.doc h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--indigo); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .row, .row:has(.field-sm) { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px; background: rgba(17, 24, 39, .97); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; }
  .nav-links .btn { text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .session { padding: 18px; gap: 12px; }
  .card { padding: 24px; }
  .form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .dot { animation: none; }
  .btn, .card { transition: none; }
}
