/* =====================================================================
   Generador de Voz — estilos
   ===================================================================== */
:root {
  --b-50: #EFF6FF; --b-100: #DBEAFE; --b-200: #BFDBFE; --b-300: #93C5FD;
  --b-400: #60A5FA; --b-500: #3B82F6; --b-600: #2563EB; --b-700: #1D4ED8; --b-800: #1E40AF;
  --grad: linear-gradient(100deg, #0284C7 0%, #2563EB 50%, #4F46E5 100%);
  --ink: #0B1530; --ink-2: #334155; --muted: #64748B; --line: #E3EAF6; --line-2: #CFDBEE;
  --bg: #F8FAFF; --bg-2: #EEF4FF; --card: #FFFFFF;
  --dark: #0A1433; --dark-2: #12204A;
  --radius: 18px; --radius-sm: 12px; --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 14px 34px -14px rgba(37, 99, 235, .25), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 40px 80px -30px rgba(37, 99, 235, .40), 0 10px 24px -10px rgba(15, 23, 42, .12);
  --font-head: "Outfit", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Noto Sans JP", "Noto Sans KR", "Noto Sans SC", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--b-600); text-decoration: none; }
img, svg { display: block; }
button { font: inherit; cursor: pointer; }
kbd { font-family: inherit; font-size: .75em; padding: .1em .45em; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: #fff; }

.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: inline-block; vertical-align: -0.15em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.nowrap { white-space: nowrap; }
.center { text-align: center; margin-top: 40px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
:focus-visible { outline: 3px solid var(--b-300); outline-offset: 2px; border-radius: 8px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  padding: .8em 1.4em; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; text-decoration: none; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { box-shadow: 0 12px 26px -6px rgba(37, 99, 235, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { color: var(--ink); background: rgba(255,255,255,.7); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--b-300); color: var(--b-700); }
.btn--light { color: var(--b-700); background: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.25); }
.btn--sm { font-size: .92rem; padding: .6em 1.15em; }
.btn--lg { font-size: 1.06rem; padding: .95em 1.7em; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .75; pointer-events: none; }

/* ---------- barra de anuncio ---------- */
.announce {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 16px; font-size: .88rem; color: var(--ink-2);
  background: linear-gradient(90deg, #E0EBFF, #EEF4FF, #E0EBFF); border-bottom: 1px solid var(--b-100);
}
.announce__pill { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--b-700); background: #fff; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--b-200); }
.announce a { font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(203, 216, 238, .6); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 6px 14px -4px rgba(37, 99, 235, .5); }
.brand__mark .i { width: 22px; height: 22px; stroke-width: 2.4; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }
.brand__name span { color: var(--b-600); }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .96rem; padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--b-700); background: var(--b-50); }
.nav__cta-mobile { display: none !important; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .i { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(56, 189, 248, .22), transparent 70%),
    radial-gradient(500px 380px at 5% 90%, rgba(30, 64, 175, .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  opacity: .9;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero__grid > *, .controls > *, .stats__grid > *, .cards > *, .steps > *, .voice-grid > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--b-700); background: var(--b-50); border: 1px solid var(--b-200); padding: 5px 13px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow--dark { color: var(--b-300); background: rgba(59, 130, 246, .12); border-color: rgba(59, 130, 246, .3); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 1.16rem; color: var(--muted); max-width: 33em; margin-bottom: 30px; }
.hero__lead strong { color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .i { color: #fff; background: var(--b-500); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }

/* ---------- conversor ---------- */
.converter-wrap { position: relative; }
.converter { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; z-index: 1; scroll-margin-top: 96px; }
.converter__bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(#FDFEFF, #F5F9FF); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #CFDBEE; }
.dots i:first-child { background: #93C5FD; }
.converter__url { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.converter__url .i { color: var(--b-500); width: 13px; height: 13px; }
.converter__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.textarea-wrap { border: 1.5px solid var(--line-2); border-radius: var(--radius); background: #FDFEFF; transition: border-color .2s, box-shadow .2s; }
.textarea-wrap:focus-within { border-color: var(--b-400); box-shadow: 0 0 0 4px rgba(59, 130, 246, .12); }
.textarea-wrap textarea { display: block; width: 100%; min-height: 150px; resize: vertical; border: 0; outline: 0; background: transparent; padding: 16px 18px 8px; font: inherit; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.textarea-wrap textarea::placeholder { color: #94A3B8; }
.textarea-tools { display: flex; align-items: center; gap: 4px; padding: 6px 10px 10px; }
.tool-btn { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 500; color: var(--muted); background: transparent; border: 0; padding: 6px 10px; border-radius: 8px; }
.tool-btn:hover { background: var(--b-50); color: var(--b-700); }
.counter { margin-left: auto; font-size: .84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.is-warn { color: var(--b-700); font-weight: 600; }

.samples { display: flex; flex-wrap: wrap; gap: 8px; }
.sample { font-size: .82rem; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: border-color .2s, color .2s; }
.sample:hover { border-color: var(--b-300); color: var(--b-700); }

.controls { display: grid; grid-template-columns: 1.15fr 1.15fr .7fr; gap: 10px; }
.field label { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink-2); margin: 0 0 6px 2px; text-transform: uppercase; letter-spacing: .04em; }
.field label .i { color: var(--b-500); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 34px 11px 13px; cursor: pointer; text-overflow: ellipsis; transition: border-color .2s, box-shadow .2s; }
.select select:hover { border-color: var(--b-300); }
.select select:focus { outline: 0; border-color: var(--b-400); box-shadow: 0 0 0 4px rgba(59, 130, 246, .12); }
.select select:disabled { color: var(--muted); background: var(--bg-2); cursor: wait; }

.gender-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { font-size: .84rem; font-weight: 500; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 5px 13px; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--b-300); }
.chip.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.voice-count { margin-left: auto; font-size: .82rem; color: var(--muted); }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.kbd-hint { margin: -6px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

#btn-convert .spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.alert { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #1E40AF; background: #EEF4FF; border: 1px solid #BFDBFE; padding: 11px 14px; border-radius: var(--radius-sm); }
.alert .i { margin-top: 3px; }

.result { border: 1.5px solid var(--b-200); background: linear-gradient(180deg, var(--b-50), #fff); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 14px; animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.99); } to { opacity: 1; transform: none; } }
.result__head { display: flex; align-items: center; gap: 12px; }
.result__icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #16A34A; }
.result__icon .i { stroke-width: 3; }
.result__title { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.result__meta { margin: 0; font-size: .85rem; color: var(--muted); }
.result audio { width: 100%; height: 44px; }
.result__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result__actions .btn { flex: 1; }

.float-chip { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); }
.float-chip--bars { top: -22px; right: -18px; display: flex; align-items: center; gap: 4px; padding: 14px 16px; height: 54px; }
.float-chip--bars i { width: 6px; border-radius: 3px; background: var(--grad); animation: eq 1.1s ease-in-out infinite; }
.float-chip--bars i:nth-child(1) { height: 10px; animation-delay: -.2s; }
.float-chip--bars i:nth-child(2) { height: 22px; animation-delay: -.5s; }
.float-chip--bars i:nth-child(3) { height: 16px; animation-delay: -.8s; }
.float-chip--bars i:nth-child(4) { height: 24px; animation-delay: -.1s; }
.float-chip--bars i:nth-child(5) { height: 12px; animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.float-chip--mp3 { bottom: -26px; left: -26px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; }
.float-chip--mp3 strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; line-height: 1.2; }
.float-chip--mp3 small { color: var(--muted); font-size: .8rem; }
.float-chip__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); }

/* ---------- cifras ---------- */
.stats { padding: 8px 0 24px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .i { width: 26px; height: 26px; color: var(--b-500); margin-bottom: 8px; }
.stat strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- secciones ---------- */
.section { padding: 96px 0; scroll-margin-top: 72px; }
.section--tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: radial-gradient(800px 400px at 90% 0%, rgba(59,130,246,.22), transparent 60%), var(--dark); color: #C7D4EA; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p:last-child { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section--dark .section__head p:last-child { color: #A3B3CC; }

/* pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--b-100); }
.step__icon, .card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 20px -8px rgba(37, 99, 235, .55); margin-bottom: 18px; }
.step__icon .i, .card__icon .i { width: 24px; height: 24px; }
.step p, .card p { font-size: .96rem; color: var(--muted); margin: 0; }

/* voces */
.voice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.voice-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; min-height: 82px; }
.voice-card:hover { border-color: var(--b-200); transform: translateY(-2px); box-shadow: var(--shadow); }
.voice-card.is-playing { border-color: var(--b-400); box-shadow: 0 0 0 4px rgba(59, 130, 246, .12); }
.voice-card__avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; }
.voice-card__avatar--F { background: linear-gradient(135deg, #38BDF8, #2563EB); }
.voice-card__avatar--M { background: linear-gradient(135deg, #3B82F6, #1E3A8A); }
.voice-card__avatar--N { background: linear-gradient(135deg, #93C5FD, #1E40AF); }
.voice-card__info { flex: 1; min-width: 0; }
.voice-card__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: 0; font-size: 1.02rem; }
.voice-card__meta { margin: 0; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-card__play { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 6px 14px -5px rgba(37, 99, 235, .6); transition: transform .15s; }
.voice-card__play:hover { transform: scale(1.07); }
.voice-card__play .i { width: 16px; height: 16px; }
.voice-card__play .spinner { width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.voice-card--skeleton span { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--bg-2), var(--line), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.voice-card--skeleton span:first-child { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.voice-card--skeleton span:last-child { flex: 1; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* tarjetas */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--b-200); }
.card--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); box-shadow: none; }
.card--dark:hover { background: rgba(255,255,255,.07); border-color: rgba(59,130,246,.4); box-shadow: none; }
.card--dark p { color: #A3B3CC; }
.card--dark .card__icon { background: rgba(59,130,246,.14); color: var(--b-400); box-shadow: none; border: 1px solid rgba(59,130,246,.3); }

/* idiomas */
.lang-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto; }
.lang-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 9px 18px; border-radius: 999px; transition: all .2s; }
.lang-pill:hover { color: var(--b-700); border-color: var(--b-300); background: var(--b-50); transform: translateY(-2px); }
.lang-pill--more { color: #fff; background: var(--ink); border-color: var(--ink); }
.lang-pill--more:hover { color: #fff; background: var(--b-600); border-color: var(--b-600); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq__item[open] { border-color: var(--b-200); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.08rem; }
.faq__item summary .i { width: 22px; height: 22px; color: var(--b-600); transition: transform .25s; flex-shrink: 0; }
.faq__item[open] summary .i { transform: rotate(180deg); }
.faq__a { padding: 0 24px 20px; }
.faq__a p { margin: 0; color: var(--muted); }

/* CTA */
.cta { padding: 0 0 96px; background: var(--bg); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px 56px; border-radius: var(--radius-lg); background: var(--grad); color: #E0EBFF; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 90% 0%, rgba(255,255,255,.25), transparent 70%); pointer-events: none; }
.cta h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { margin: 0; font-size: 1.08rem; }
/* Contenedor del CTA con ancho de container */
.cta .container { max-width: calc(var(--container) - 48px); }

/* footer */
.site-footer { background: var(--dark); color: #A3B3CC; padding: 72px 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer__brand p { margin-top: 16px; max-width: 34em; }
.site-footer__title { font-family: var(--font-head); color: #fff; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: #A3B3CC; }
.site-footer a:hover { color: var(--b-400); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 24px; font-size: .86rem; }

/* páginas legales */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: .92rem; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound strong { display: block; font-family: var(--font-head); font-size: 6rem; line-height: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__ctas, .trust { justify-content: center; }
  .converter-wrap { max-width: 680px; margin: 0 auto; width: 100%; }
  .steps, .cards--4, .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line-2); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav__cta-mobile { display: inline-flex !important; margin-top: 10px; color: #fff !important; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .announce { font-size: .8rem; gap: 6px; }
  .announce > span:not(.announce__pill) { display: none; }
  h1 { font-size: 2.3rem; }
  .hero { padding: 36px 0 64px; }
  .converter__body { padding: 14px; }
  .controls { grid-template-columns: 1fr 1fr; }
  .field--lang, .field--voice { grid-column: 1 / -1; }
  .float-chip--bars { display: none; }
  .float-chip--mp3 { left: 50%; transform: translateX(-50%); bottom: -30px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .steps, .cards--4, .voice-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 36px; }
  .cta__inner { padding: 36px 24px; text-align: center; justify-content: center; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__ctas .btn { width: 100%; }
  .voice-count { width: 100%; margin-left: 0; }
}


/* =====================================================================
   Generador de Voz.net — base
   ===================================================================== */
body { background: var(--bg); }
h1, h2, h3 { letter-spacing: -.03em; }
:lang(ja) h1, :lang(ko) h1, :lang(zh-Hans) h1, :lang(hi) h1,
:lang(ja) h2, :lang(ko) h2, :lang(zh-Hans) h2, :lang(hi) h2 { letter-spacing: 0; line-height: 1.3; }
:lang(ja) body, :lang(zh-Hans) body, :lang(ko) body { line-break: strict; word-break: normal; }
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p { word-break: keep-all; }
.btn { border-radius: 12px; }

/* Barra superior */
.announce { background: linear-gradient(90deg, #E0EBFF, #EEF4FF, #DBEAFE); border-bottom: 1px solid var(--b-100); }
.announce__pill { color: #fff; background: var(--grad); border: 0; }
.announce__pill .i { fill: currentColor; stroke: none; }

/* Cabecera */
.site-header { background: rgba(255,255,255,.85); }
.brand__mark { border-radius: 12px; background: var(--grad); }
.brand__mark .i { width: 24px; height: 24px; }
.brand__name span { color: var(--b-600); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav a:hover { background: var(--b-50); color: var(--b-700); }

/* Selector de idioma */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink-2); padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .2s; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--b-300); color: var(--b-700); }
.lang-switch summary .i { color: var(--b-600); }
.lang-switch__chev { width: 14px !important; height: 14px !important; transition: transform .2s; }
.lang-switch[open] .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 8px; width: 290px; max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang-switch__menu a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-size: .92rem; font-weight: 500; }
.lang-switch__menu a small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.lang-switch__menu a:hover { background: var(--b-50); color: var(--b-700); }
.lang-switch__menu a[aria-current] { background: var(--b-600); color: #fff; }
.lang-switch__menu a[aria-current] small { color: #DBEAFE; }

/* Hero claro con manchas difuminadas */
.hero { padding: 64px 0 40px; }
.hero__bg { background: none; mask-image: none; -webkit-mask-image: none; overflow: hidden; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, var(--line-2) 1px, transparent 1.2px) 0 0 / 22px 22px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; right: -80px; top: -120px; background: #93C5FD; }
.blob--2 { width: 420px; height: 420px; left: -140px; top: 200px; background: #BFDBFE; }
.hero__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.eyebrow { color: var(--b-700); background: #fff; border-color: var(--b-200); box-shadow: var(--shadow-sm); }
.trust li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px 6px 8px; font-size: .9rem; box-shadow: var(--shadow-sm); }
.trust .i { background: var(--grad); }

/* Conversor */
.converter { border: 1px solid var(--line-2); border-radius: 26px; box-shadow: var(--shadow-lg); }
.converter__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #FFFFFF, #F5F9FF); }
.converter__title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; }
.converter__logo { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.converter__logo .i { width: 20px; height: 20px; }
.converter__wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.converter__wave i { width: 4px; border-radius: 2px; background: var(--grad); animation: eq 1.2s ease-in-out infinite; }
.converter__wave i:nth-child(1), .converter__wave i:nth-child(7) { height: 8px; animation-delay: -.3s; }
.converter__wave i:nth-child(2), .converter__wave i:nth-child(6) { height: 15px; animation-delay: -.6s; }
.converter__wave i:nth-child(3), .converter__wave i:nth-child(5) { height: 20px; animation-delay: -.9s; }
.converter__wave i:nth-child(4) { height: 12px; animation-delay: -.15s; }
.samples { align-items: center; }
.samples__label { font-size: .8rem; font-weight: 700; color: var(--muted); }
.sample { border-radius: 10px; background: var(--b-50); border-color: var(--b-100); }
.controls { grid-template-columns: 1fr 1fr; }
.field--lang { grid-column: 1 / -1; }
.field label { text-transform: none; letter-spacing: 0; font-size: .86rem; }
.chip { border-radius: 10px; }
.chip.is-active { background: var(--b-600); border-color: var(--b-600); }
.result { border-color: var(--b-200); background: linear-gradient(180deg, var(--b-50), #fff); }

/* Cifras */
.stats { margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 8px; }
.stat { padding: 18px 12px; text-align: center; background: none; border: 0; box-shadow: none; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat dd { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* Pasos */
.steps { gap: 18px; }
.step { text-align: left; border-radius: 20px; padding: 26px 22px; }
.step__icon { position: relative; border-radius: 16px; }
.step__icon b { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; color: var(--b-700); background: #fff; border: 2px solid var(--b-200); font-family: var(--font-head); }
.step__num { display: none; }

/* Tarjetas de características */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { border-radius: 20px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.12), transparent 70%); }
.card__icon { border-radius: 14px; }

/* Usos (sección oscura) */
.section--dark { background: radial-gradient(800px 420px at 90% 0%, rgba(59,130,246,.35), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(56,189,248,.25), transparent 60%), var(--dark); color: #C7D4EA; }
.eyebrow--dark { color: #BFDBFE; background: rgba(59,130,246,.14); border-color: rgba(147,197,253,.3); box-shadow: none; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use { display: flex; gap: 16px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .2s, border-color .2s; }
.use:hover { background: rgba(255,255,255,.07); border-color: rgba(147,197,253,.35); }
.use h3 { color: #fff; margin-bottom: 6px; }
.use p { margin: 0; font-size: .95rem; color: #A3B3CC; }
.use__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.use__icon .i { width: 22px; height: 22px; }

/* Guía */
.guide { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.guide__body { font-size: 1.04rem; }
.guide__body h3 { font-size: 1.3rem; margin-top: 1.6em; }
.guide__body p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6'/%3E%3C/svg%3E"); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.guide__aside { position: sticky; top: 100px; }
.guide__card { position: relative; overflow: hidden; background: var(--grad); color: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg); }
.guide__logo { position: absolute; right: -24px; bottom: -24px; opacity: .15; }
.guide__logo .i { width: 180px; height: 180px; }
.guide__card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 16px; }
.guide__card ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.guide__card li { display: flex; gap: 10px; }
.guide__card li .i { margin-top: 4px; color: #BFDBFE; stroke-width: 2.6; }
.guide__card .btn { position: relative; }

/* Idiomas del sitio */
.site-langs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.site-lang { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: all .2s; box-shadow: var(--shadow-sm); }
.site-lang:hover { border-color: var(--b-300); transform: translateY(-2px); box-shadow: var(--shadow); }
.site-lang.is-current { border-color: var(--b-500); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.site-lang__code { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--b-700); background: var(--b-50); }
.site-lang.is-current .site-lang__code { color: #fff; background: var(--grad); }
.site-lang__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.site-lang__text strong { font-weight: 700; font-size: .96rem; }
.site-lang__text small { color: var(--muted); font-size: .82rem; }
.site-lang > .i { color: var(--b-500); }

/* FAQ */
.faq__item { border-radius: 16px; }
.faq__item summary { padding: 18px 22px; }
.faq__toggle { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; background: var(--b-50); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--b-600); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--b-600); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: #fff; }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

/* CTA */
.cta__inner { justify-content: flex-start; gap: 28px; }
.cta__inner > div { flex: 1; min-width: 260px; }
.cta__logo { width: 72px; height: 72px; flex-shrink: 0; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.cta__logo .i { width: 42px; height: 42px; color: #fff; }
.cta .btn--light { color: var(--b-700); }

/* Pie */
.site-footer { background: #060C1F; }
.site-footer__langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; }
.site-footer__langs span { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }
.site-footer__langs a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__heart { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__heart .i { color: var(--b-400); }

/* Aviso de idioma */
.lang-suggest { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; background: var(--dark); color: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .92rem; animation: pop .35s ease; }
.lang-suggest a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.lang-suggest > .i { color: var(--b-300); }
.lang-suggest__close { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }

/* Responsive */
@media (max-width: 1080px) {
  .hero__copy { text-align: left; }
  .hero__ctas, .trust { justify-content: flex-start; }
  .hero__lead { margin-left: 0; }
  .cards--3, .uses { grid-template-columns: repeat(2, 1fr); }
  .site-langs { grid-template-columns: repeat(3, 1fr); }
  .guide { grid-template-columns: 1fr; }
  .guide__aside { position: static; }
}
@media (max-width: 900px) {
  .site-header__cta { display: none; }
  .site-header__actions .lang-switch { display: block; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 24px; }
  .hero h1 { font-size: 2.2rem; }
  .controls { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards--3, .uses { grid-template-columns: 1fr; }
  .site-langs { grid-template-columns: 1fr 1fr; }
  .site-lang { padding: 12px; gap: 10px; }
  .site-lang > .i { display: none; }
  .lang-switch__current { display: none; }
  .cta__inner { text-align: left; justify-content: flex-start; }
  .converter__wave { display: none; }
  .lang-suggest { right: 16px; }
}
.stat { border-radius: 0; }
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .converter-wrap { max-width: 680px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .textarea-tools .tool-btn span { display: inline; }
  .counter { font-size: .78rem; }
  .trust { gap: 8px; }
}

/* =====================================================================
   Generador de Voz.net — diseño rojo
   ===================================================================== */
:root { --radius: 16px; --radius-lg: 22px; }
h1, h2, h3 { letter-spacing: -.02em; }
h1 { font-weight: 900; }
.btn { border-radius: 12px; }
.anchor { display: block; position: relative; top: -90px; visibility: hidden; }
.center { text-align: center; margin-top: 28px; }

/* Barra superior y cabecera */
.announce { background: var(--dark); color: #DCE6F5; border: 0; }
.announce a { color: #93C5FD; }
.announce__pill { background: var(--grad); color: #fff; border: 0; }
.site-header { background: rgba(255,255,255,.92); }
.brand__mark { border-radius: 12px; background: var(--grad); }
.brand__name { font-weight: 900; letter-spacing: -.03em; font-size: 1.22rem; }
.brand__name span { color: var(--b-600); -webkit-text-fill-color: var(--b-600); background: none; }
.nav a[aria-current="page"] { color: var(--b-700); background: var(--b-50); }

/* Hero oscuro */
.hero { background: var(--dark); color: #D3DEF0; padding: 64px 0 80px; }
.hero__bg { background:
    radial-gradient(640px 420px at 90% 10%, rgba(59,130,246,.45), transparent 70%),
    radial-gradient(520px 380px at 0% 100%, rgba(56,189,248,.25), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 26px);
  mask-image: none; -webkit-mask-image: none; opacity: 1; }
.hero__bg::before, .blob { display: none; }
.hero__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hero .grad { background: linear-gradient(100deg, #93C5FD, #38BDF8 45%, #60A5FA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: #BFDBFE; background: rgba(59,130,246,.16); border-color: rgba(147,197,253,.35); box-shadow: none; }
.hero__lead { color: #C7D4EA; }
.hero__lead strong { color: #fff; }
.hero__points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 10px; color: #E6EEFA; }
.hero__points .i { width: 20px; height: 20px; padding: 3px; border-radius: 6px; color: #fff; background: var(--grad); stroke-width: 3; flex-shrink: 0; }
.btn--outline-light { color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn--outline-light:hover { border-color: #93C5FD; background: rgba(59,130,246,.16); color: #fff; }
.hero--sub { padding: 48px 0 64px; }
.hero--sub h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero .tags { margin-bottom: 22px; }
.hero .tag--lg { background: rgba(255,255,255,.08); color: #E4EDFB; border-color: rgba(255,255,255,.16); }
.hero .converter .btn--ghost { color: var(--ink); background: #fff; border-color: var(--line-2); }

/* Conversor */
.converter { border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.04); }
.converter__head { background: linear-gradient(180deg, #fff, #F5F9FF); }
.converter-solo { max-width: 760px; margin: 0 auto; }
.converter-solo .converter { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.controls { grid-template-columns: 1fr 1fr; }
.field--lang { grid-column: 1 / -1; }
.field label { text-transform: none; letter-spacing: 0; font-size: .86rem; }
.chip.is-active { background: var(--b-600); border-color: var(--b-600); }
.samples { align-items: center; }
.samples__label { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* Franja de cifras */
.strip { background: var(--grad); color: #fff; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding-top: 22px; padding-bottom: 22px; }
.strip__grid div { display: flex; flex-direction: column; }
.strip__grid div + div { border-left: 1px solid rgba(255,255,255,.25); }
.strip strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.strip span { font-size: .92rem; color: #E0EBFF; }

/* Migas de pan y cabecera de página */
.crumbs { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .88rem; }
.crumbs ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--b-700); }
.crumbs [aria-current] { color: var(--muted); }
.page-hero { background: var(--dark); color: #D3DEF0; padding: 52px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 360px at 92% 0%, rgba(59,130,246,.45), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); max-width: 900px; }
.page-hero .grad { background: linear-gradient(100deg, #93C5FD, #38BDF8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .eyebrow { color: #BFDBFE; background: rgba(59,130,246,.16); border-color: rgba(147,197,253,.35); box-shadow: none; }
.page-hero__lead { max-width: 760px; font-size: 1.1rem; color: #C7D4EA; margin: 0; }
.section--first { padding-top: 48px; }

/* Tarjetas de categoría */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--b-200); }
.cat-card h3 { margin: 6px 0 0; font-size: 1.35rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: .96rem; flex: 1; }
.cat-card__icon, .link-card__icon, .guide-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); flex-shrink: 0; }
.cat-card__icon .i, .guide-card__icon .i { width: 22px; height: 22px; }
.cat-card__more, .guide-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--b-700); font-size: .94rem; }

/* Rejillas de enlaces */
.list-title { margin: 28px 0 14px; font-size: 1.2rem; }
.list-title a { color: var(--ink); }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.link-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; transition: border-color .2s, transform .2s; }
.link-card:hover { border-color: var(--b-300); transform: translateY(-2px); }
.link-card__icon { width: 36px; height: 36px; border-radius: 10px; }
.link-card__icon .i { width: 18px; height: 18px; }
.link-card small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card h2 { font-size: 1.2rem; margin: 4px 0 0; }
.guide-card p { margin: 0; color: var(--muted); font-size: .94rem; flex: 1; }
.pill-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill-cloud--left { justify-content: flex-start; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500; font-size: .94rem; transition: all .2s; }
.pill:hover { color: var(--b-700); border-color: var(--b-300); background: var(--b-50); }
.pill--more { background: var(--b-600); border-color: var(--b-600); color: #fff; }
.pill--more:hover { background: var(--b-700); color: #fff; }
.pill--sm { padding: 6px 12px; font-size: .86rem; }

/* Tarjetas de voz */
.voice-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.voice-card__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.voice-card__name a { color: var(--ink); }
.voice-card__name a:hover { color: var(--b-700); }
.tag { display: inline-block; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--b-50); color: var(--b-700); border: 1px solid var(--b-100); }
.tag--hd { background: #0B1530; color: #fff; border-color: #0B1530; }
.tag--lg { font-size: .82rem; text-transform: none; letter-spacing: 0; padding: 5px 11px; border-radius: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.voice-card--hero { max-width: 460px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); box-shadow: none; }
.voice-card--hero .voice-card__name { color: #fff; }
.voice-card--hero .voice-card__meta { color: #C7D4EA; white-space: normal; }
.voice-card--hero .voice-card__play { width: 52px; height: 52px; }
.voice-wrap[hidden], [data-group][hidden] { display: none !important; }

/* Perfil de voz */
.profile { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.profile .eyebrow { margin-bottom: 8px; }
.profile h1 { margin: 0; }
.profile__avatar { width: 76px; height: 76px; border-radius: 22px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }

/* Directorio */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.toolbar__note { margin: 0; color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs a { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.tabs a[aria-current] { background: var(--b-600); border-color: var(--b-600); color: #fff; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; min-width: min(360px, 100%); }
.search:focus-within { border-color: var(--b-400); box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.search .i { color: var(--muted); }
.search input { border: 0; outline: 0; padding: 11px 0; font: inherit; width: 100%; background: transparent; color: var(--ink); }
.dir-group { margin-bottom: 40px; }
.dir-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--line); padding-bottom: 8px; margin-bottom: 16px; }
.dir-group__head h2 { font-size: 1.4rem; margin: 0; }
.dir-group__head small { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: 6px; }
.dir-group__head a { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 4px; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
.lang-dir { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.lang-card { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lang-card[hidden] { display: none; }
.lang-card h2 { font-size: 1.2rem; margin: 0 0 2px; }
.lang-card h2 a { color: var(--ink); }
.lang-card h2 a:hover { color: var(--b-700); }
.lang-card__count { margin: 0 0 10px; color: var(--muted); font-size: .88rem; }
.lang-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lang-card li a { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--b-50); color: var(--b-800); font-size: .84rem; font-weight: 500; }
.lang-card li a:hover { background: var(--b-100); }

/* Bloques de contenido */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.prose { font-size: 1.04rem; }
.prose h3 { margin-top: 1.6em; font-size: 1.3rem; }
.prose p { color: var(--ink-2); }
.prose-wrap { max-width: 860px; }
.numbered { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.numbered li::marker { color: var(--b-600); font-weight: 800; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.tip-box, .specs { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.tip-box__title, .specs__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.1rem; margin-bottom: 14px; }
.tip-box__title .i { color: var(--b-600); }
.specs { border-top: 4px solid var(--b-600); }
.specs dl { margin: 0; display: flex; flex-direction: column; }
.specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: .95rem; }
.specs dl div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card__icon { border-radius: 12px; }

/* FAQ */
.faq__toggle { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--b-50); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--b-600); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--b-600); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: #fff; }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

/* CTA y pie */
.cta__inner { background: var(--grad); border-radius: 22px; }
.cta__logo { border-radius: 16px; }
.cta .btn--light { color: var(--b-700); }
.site-footer { background: #060C1F; }
.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.site-footer__bottom a { color: #C7D4EA; }
.notfound__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { text-align: left; }
  .hero__ctas { justify-content: flex-start; }
  .hero__lead { margin-left: 0; }
  .converter-wrap { max-width: 680px; width: 100%; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .tip-box, .specs { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 56px; }
  .hero h1 { font-size: 2.1rem; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .strip__grid div:nth-child(3) { border-left: 0; }
  .cat-grid, .guide-grid, .cards--3 { grid-template-columns: 1fr; }
  .controls { grid-template-columns: 1fr; }
  .profile__avatar { width: 58px; height: 58px; font-size: 1.5rem; border-radius: 16px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .converter__wave { display: none; }
  .brand__name { font-size: 1.05rem; }
}
.btn { max-width: 100%; }
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } }

/* =====================================================================
   v2 · Generador de Voz — diseño claro en azul degradado
   ===================================================================== */
:root {
  --bg: #F7FAFF; --bg-2: #EEF4FF; --line: #E3EAF6; --line-2: #D3DEF0;
  --ink: #0B1530; --ink-2: #33415C; --muted: #64748B;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 12px 30px -12px rgba(37, 99, 235, .22), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 34px 70px -24px rgba(37, 99, 235, .35), 0 8px 20px -8px rgba(15, 23, 42, .10);
  --header-h: 72px;
}
body { background: var(--bg); }
a { color: var(--b-600); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn--primary { color: #fff; background: var(--grad); box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .6), inset 0 1px 0 rgba(255,255,255,.25); border: 0; }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 28px -8px rgba(37, 99, 235, .7); }
.btn--ghost { color: var(--ink); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--b-300); color: var(--b-700); }
.btn--light { color: var(--b-700); background: #fff; }

/* Barra de anuncio */
.announce { background: linear-gradient(90deg, #EEF4FF, #E6F6FF); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.announce__pill { background: #fff; color: var(--b-600); border: 1px solid var(--b-200); }
.announce a { color: var(--b-600); font-weight: 600; }

/* ---------- Cabecera y menú ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -6px rgba(37, 99, 235, .55); }
.brand__mark .i { width: 23px; height: 23px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.brand__name span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand--light .brand__name { color: #fff; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav__scroll { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 11px; color: var(--ink-2); font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { background: var(--b-50); color: var(--b-700); }
.nav__link[aria-current] { color: var(--b-700); background: var(--b-50); }
.nav__icon { display: none; }
.nav__chev { width: 15px !important; height: 15px !important; opacity: .6; transition: transform .2s; }
.nav__sub { display: none; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 250px; padding: 10px; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
.nav__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.nav__menu--wide { width: min(760px, 92vw); }
.nav__menu--wide ul { grid-template-columns: repeat(3, 1fr); }
.nav__item:last-child .nav__menu--wide { left: auto; right: -40px; transform: translate(0, 6px); }
.nav__item:last-child:hover .nav__menu--wide, .nav__item:last-child:focus-within .nav__menu--wide { transform: none; }
.nav__menu li a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: .93rem; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__menu li a:hover { background: var(--b-50); color: var(--b-700); }
.nav__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 10px; border-radius: 12px; background: var(--b-50); color: var(--b-700); font-weight: 600; font-size: .92rem; text-decoration: none; }
.nav__all:hover { background: var(--b-100); }
.nav__foot { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__cta { white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; place-items: center; padding: 0; }
.nav-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle__bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle__bars i:nth-child(1) { top: 0; } .nav-toggle__bars i:nth-child(2) { top: 6px; } .nav-toggle__bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; }
  .site-header__actions { margin-left: auto; }
  .site-header__cta { padding: .62em 1em; }
  .nav { position: fixed; top: var(--nav-top, 0px); right: 0; bottom: 0; width: min(420px, 100%); margin: 0; z-index: 70; flex-direction: column; align-items: stretch; background: #fff; box-shadow: -20px 0 60px -20px rgba(15, 23, 42, .35); transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__scroll { flex: 1; flex-direction: column; align-items: stretch; gap: 4px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 16px; }
  .nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-radius: 16px; }
  .nav__item.is-open { background: var(--b-50); }
  .nav__link { font-size: 1.08rem; padding: 12px; gap: 12px; }
  .nav__link:hover, .nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { background: transparent; }
  .nav__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--b-50); color: var(--b-600); }
  .nav__item.is-open .nav__icon { background: var(--grad); color: #fff; }
  .nav__chev { display: none; }
  .nav__sub { display: grid; place-items: center; width: 44px; height: 44px; margin-right: 6px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); }
  .nav__sub .i { transition: transform .25s; }
  .nav__item.is-open .nav__sub .i { transform: rotate(180deg); color: var(--b-600); }
  .nav__menu, .nav__item:hover > .nav__menu, .nav__item:focus-within > .nav__menu, .nav__item:last-child .nav__menu--wide { position: static; grid-column: 1 / -1; display: none; width: auto; min-width: 0; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; padding: 0 10px 12px; }
  .nav__item.is-open > .nav__menu { display: block; }
  .nav__menu ul, .nav__menu--wide ul { grid-template-columns: 1fr 1fr; gap: 2px 6px; }
  .nav__menu li a { white-space: normal; font-size: .95rem; padding: 9px 10px; background: #fff; border: 1px solid var(--line); }
  .nav__all { background: #fff; border: 1px solid var(--b-200); }
  .nav__foot { display: block; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; text-align: center; }
  .nav__foot .btn--primary, .nav__foot .btn--primary:hover { color: #fff; }
  .nav__foot p { margin: 8px 0 0; font-size: .85rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
  .nav-backdrop { display: block; position: fixed; inset: var(--nav-top, 0px) 0 0 0; z-index: 65; background: rgba(11, 21, 48, .45); backdrop-filter: blur(2px); }
  .site-header { z-index: 80; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { position: relative; z-index: 90; }
}
@media (max-width: 560px) {
  .site-header__cta span { display: none; }
  .site-header__cta { width: 44px; height: 44px; padding: 0; border-radius: 12px; }
  .brand__name { font-size: 1.12rem; }
  .brand__mark { width: 36px; height: 36px; }
  .nav { width: 100%; }
}

/* ---------- Hero claro con cuadrícula ---------- */
.hero, .hero--sub { position: relative; padding: 64px 0 88px; overflow: hidden; background: transparent; color: var(--ink-2); isolation: isolate; }
.hero--sub { padding: 40px 0 64px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; opacity: 1;
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(59, 130, 246, .20), transparent 70%),
    radial-gradient(520px 380px at 4% 92%, rgba(14, 165, 233, .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.hero__bg::before, .hero__bg::after { display: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero h1, .hero--sub h1 { color: var(--ink); margin-bottom: 20px; }
.hero .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .eyebrow { color: var(--b-700); background: #fff; border: 1px solid var(--b-200); box-shadow: var(--shadow-sm); }
.hero .tag--lg { background: #fff; color: var(--ink-2); border-color: var(--line-2); }
.hero--home h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
.hero__lead { color: var(--ink-2); font-size: 1.14rem; max-width: 34em; }
.hero__lead strong { color: var(--ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--b-200); color: var(--b-700); font-weight: 600; font-size: .86rem; box-shadow: var(--shadow-sm); }
.eyebrow .i { color: var(--b-500); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .96rem; color: var(--ink-2); font-weight: 600; }
.hero__checks li { display: inline-flex; align-items: center; gap: 7px; }
.hero__checks .i { color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 3; }
.hero__points { color: var(--ink-2); }
.hero__points .i { color: #fff; background: var(--b-600); }
.tags .tag--lg { background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }

/* ---------- Conversor en ventana ---------- */
.converter-wrap { position: relative; }
.converter { background: #fff; border: 1px solid var(--line-2); border-radius: 24px; box-shadow: var(--shadow-lg); scroll-margin-top: 96px; }
.converter__head { background: linear-gradient(#FDFEFF, #F3F7FF); border-bottom: 1px solid var(--line); color: var(--ink); }
.converter__logo { background: var(--grad); color: #fff; }
.converter__wave i { background: var(--grad); }
.converter-wrap--window { padding-top: 0; }
.converter-wrap--window .converter { border-top-left-radius: 0; border-top-right-radius: 0; border-top: 0; }
.converter-wrap--window .converter__head { display: none; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: linear-gradient(#FDFEFF, #F2F6FF); border: 1px solid var(--line-2); border-bottom: 1px solid var(--line); border-radius: 24px 24px 0 0; position: relative; z-index: 1; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D6E2F5; }
.window-bar i:first-child { background: #93C5FD; }
.window-bar span { margin-left: 8px; flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-bar span .i { width: 13px; height: 13px; color: var(--b-500); }
.float-badge { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); }
.float-badge--wave { top: -22px; right: -18px; display: flex; align-items: center; gap: 4px; padding: 14px 16px; height: 54px; }
.float-badge--wave i { width: 6px; border-radius: 3px; background: var(--grad); animation: eqv 1.1s ease-in-out infinite; }
.float-badge--wave i:nth-child(1) { height: 10px; animation-delay: -.2s; } .float-badge--wave i:nth-child(2) { height: 22px; animation-delay: -.5s; }
.float-badge--wave i:nth-child(3) { height: 16px; animation-delay: -.8s; } .float-badge--wave i:nth-child(4) { height: 24px; animation-delay: -.1s; }
.float-badge--wave i:nth-child(5) { height: 12px; animation-delay: -.6s; }
@keyframes eqv { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.float-badge--mp3 { bottom: -26px; left: -26px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; }
.float-badge--mp3 strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; line-height: 1.2; }
.float-badge--mp3 small { color: var(--muted); font-size: .8rem; }
.float-badge__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sample { background: var(--b-50); border-color: var(--b-100); color: var(--ink-2); }
.sample:hover { border-color: var(--b-300); color: var(--b-700); }

/* ---------- Cifras ---------- */
.strip { display: none; }
.stats { display: block; padding: 0 0 24px; margin: -40px 0 0; position: relative; z-index: 2; background: none; border: 0; border-radius: 0; box-shadow: none; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.stat .i { width: 26px; height: 26px; color: var(--b-500); margin-bottom: 8px; }
.stat strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.03em; }
.stat span { font-size: .92rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section--tint { background: linear-gradient(#F1F6FF, #F7FAFF); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head .eyebrow { margin-bottom: 14px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step__num { position: absolute; top: 18px; right: 20px; display: block; width: auto; height: auto; background: none; box-shadow: none; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--b-100); }
.step__icon { position: static; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 20px -8px rgba(37, 99, 235, .55); margin: 0 0 18px; }
.step__icon .i { width: 24px; height: 24px; }
.step__icon b { display: none; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.card__icon, .guide-card__icon, .cat-card__icon, .link-card__icon { background: var(--grad); color: #fff; }

/* Categorías con lista */
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); color: var(--ink-2); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.cat-card:hover, .cat-card--list:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--b-200); }
.cat-card--list { display: flex; flex-direction: column; padding: 26px; }
.cat-card__top { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-bottom: 10px; }
.cat-card__top h3 { margin: 0; font-size: 1.3rem; }
.cat-card--list > p { color: var(--muted); font-size: .96rem; }
.cat-card--list ul { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 4px; }
.cat-card--list li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.cat-card--list li a .i { color: var(--b-500); }
.cat-card--list li a:hover { background: var(--b-50); color: var(--b-700); }
.cat-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--b-600); font-weight: 600; text-decoration: none; }
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 500; font-size: .95rem; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .15s, color .15s, transform .15s; }
.chip-links a .i { color: var(--b-500); }
.chip-links a:hover { border-color: var(--b-300); color: var(--b-700); transform: translateY(-1px); }
.list-title { font-family: var(--font-head); color: var(--ink); }
.list-title--lg { font-size: 1.5rem; margin: 34px 0 16px; }
.list-title--lg:first-child { margin-top: 0; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.guide-card:hover { border-color: var(--b-200); box-shadow: var(--shadow); }
.guide-card h3 { font-size: 1.12rem; }
.pill { background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); }
.pill:hover { border-color: var(--b-300); color: var(--b-700); }
.pill--more { background: var(--b-600); border-color: var(--b-600); color: #fff; }

/* Cabecera de páginas interiores y migas */
.crumbs { background: transparent; border-bottom: 0; }
.page-hero { position: relative; background: radial-gradient(600px 300px at 85% 0%, rgba(59, 130, 246, .16), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); }
.page-hero__lead { color: var(--ink-2); }

/* Banda CTA */
.cta-band { padding: 0 0 80px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 48px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band__inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 40px 40px; pointer-events: none; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); font-size: 1.08rem; }
.cta-band .btn { position: relative; z-index: 1; }

/* Pie */
.site-footer { background: #0A1433; color: #A9B6D3; }
.site-footer__grid { grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.site-footer__title { color: #fff; }
.site-footer a { color: #A9B6D3; }
.site-footer a:hover { color: #fff; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.site-footer__badges span { padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(147, 197, 253, .3); color: #BFDBFE; font-size: .82rem; font-weight: 600; }

/* Responsive */
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { text-align: center; }
  .hero__copy .eyebrow { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__checks, .tags { justify-content: center; }
  .stats { margin-top: 0; }
  .stats__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero, .hero--sub { padding: 32px 0 56px; }
  .hero__ctas .btn { width: 100%; }
  .float-badge { display: none; }
  .window-bar { border-radius: 20px 20px 0 0; }
  .stats__grid { gap: 10px; }
  .stat { padding: 16px 8px; }
  .stat strong { font-size: 1.6rem; }
  .steps { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { padding: 32px 24px; text-align: center; justify-content: center; }
  .cta-band .btn { width: 100%; }
  .chip-links a { font-size: .9rem; padding: 8px 13px; }
}

/* Restos del hero oscuro anterior → versión clara */
.page-hero::before { background: radial-gradient(560px 360px at 92% 0%, rgba(59, 130, 246, .14), transparent 70%); }
.page-hero .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .eyebrow { color: var(--b-700); background: #fff; border: 1px solid var(--b-200); box-shadow: var(--shadow-sm); }
.voice-card--hero { background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.voice-card--hero .voice-card__name { color: var(--ink); }
.voice-card--hero .voice-card__meta { color: var(--muted); }
.profile__avatar { box-shadow: 0 14px 30px -12px rgba(37, 99, 235, .55); }
