/* ==========================================================================
   premium.css — capa "premium" de LEGAMITY (se carga DESPUÉS de styles.css)
   Usa los tokens de styles.css (--primary-violet, --accent-crimson, --radius-*, …).
   Para un cliente: redefinir los tokens en :root y mantener estructura/estados.
   ========================================================================== */

:root {
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --glass: rgba(14, 17, 26, 0.62);
  --glass-border: rgba(255, 255, 255, 0.09);
}
html.is-scrolled { --header-h: 66px; }

/* ---------- 0. Base y accesibilidad ---------- */
::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 300;
  background: #fff; color: #050608; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; }
main { position: relative; }

/* Luces ambientales (las páginas usan .ambient-glow-1/2) */
.ambient-glow-1, .ambient-glow-2 { position: absolute; border-radius: 50%; will-change: transform; }
.ambient-glow-1 {
  top: -18vh; left: 50%; margin-left: -36vw; width: 72vw; height: 62vh;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.26), rgba(109, 40, 217, 0.08) 55%, transparent 75%);
  filter: blur(40px);
}
.ambient-glow-2 {
  top: 26vh; right: -14vw; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(closest-side, rgba(255, 0, 85, 0.16), transparent 72%);
  filter: blur(50px);
}

/* ---------- 1. Cabecera y progreso de lectura ---------- */
.site-header { transition: background .35s, box-shadow .35s, border-color .35s; }
.nav-wrapper { height: var(--header-h); transition: height .3s var(--ease-out); }
.mobile-nav-drawer { top: var(--header-h); height: calc(100dvh - var(--header-h)); }
html.is-scrolled .site-header {
  background: rgba(5, 6, 8, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150;
  background: var(--gradient-main); transform: scaleX(0); transform-origin: left center; pointer-events: none;
}

/* ---------- 2. Botones ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(120%); }
.btn-block, .hero-cta .btn { white-space: normal; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--text-main); border-color: var(--glass-border); }
.btn-ghost:hover { border-color: rgba(167, 139, 250, 0.6); background: rgba(139, 92, 246, 0.1); }

/* ---------- 3. Estados de animación (contrato con premium.js) ---------- */
.js [data-anim] { opacity: 0; }
.no-motion [data-anim], .anim-fallback [data-anim] { opacity: 1 !important; transform: none !important; }
.fill-word { display: inline; }
.no-motion .fill-word, .anim-fallback .fill-word { opacity: 1 !important; }
.js [data-parallax-img] { opacity: 0; transform: scale(0.7); }
.no-motion [data-parallax-img], .anim-fallback [data-parallax-img] { opacity: 1 !important; transform: none !important; }
[data-spotlight] { position: relative; }
[data-spotlight]::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, 0.17), transparent 55%);
  border-radius: inherit;
}
[data-spotlight]:hover::after { opacity: 1; }

/* ---------- 4. Hero ---------- */
.hero-premium { position: relative; padding: clamp(2.75rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: clip; }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); } }
.hero-copy { text-align: left; position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.05rem; border-radius: 999px;
  background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.32); color: #d8b4fe;
  font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-red); box-shadow: 0 0 10px var(--accent-red); }
.hero-h1 { font-size: clamp(2.2rem, 4.1vw, 3.6rem); line-height: 1.05; letter-spacing: -.038em; margin-bottom: 1.4rem; }
.hero-h1 .hl { background: linear-gradient(120deg, #fff 0%, #c4b5fd 38%, #f43f5e 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--text-muted); max-width: 34rem; margin-bottom: 2rem; line-height: 1.65; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-cta .btn { flex: 1 1 14rem; }
@media (min-width: 640px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-assure { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 1.6rem; color: var(--text-dim); font-size: .9rem; list-style: none; }
.hero-assure li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-assure svg { width: 16px; height: 16px; color: #a78bfa; flex: none; }

/* entrada del hero: solo CSS (sin depender de JS, no retrasa el LCP más de lo debido) */
.rise { animation: rise .95s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.no-motion .rise { animation: none; }

/* escenario del hero: panel de flujo con capas */
.hero-stage { position: relative; padding: 1.25rem 0 0; }
.stage-glow {
  position: absolute; inset: 8% 6%; z-index: 0; border-radius: 50%;
  background: conic-gradient(from 210deg, rgba(139, 92, 246, .38), rgba(244, 63, 94, .26), rgba(109, 40, 217, .3), rgba(139, 92, 246, .38));
  filter: blur(70px); opacity: .55; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.flow-panel {
  position: relative; z-index: 1; margin: 0; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 36, .94), rgba(9, 11, 18, .96));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(139, 92, 246, .08), 0 0 60px -10px rgba(139, 92, 246, .35);
}
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1.15rem; background: rgba(5, 6, 8, .6); border-bottom: 1px solid var(--glass-border); }
.flow-dots { display: inline-flex; gap: .4rem; }
.flow-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3f3f46; }
.flow-dots i:nth-child(1) { background: var(--accent-red); box-shadow: 0 0 8px rgba(255, 0, 85, .6); }
.flow-dots i:nth-child(2) { background: var(--primary-violet); box-shadow: 0 0 8px rgba(139, 92, 246, .6); }
.flow-title { font: 700 .74rem/1 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); text-align: center; }
.flow-tag { display: inline-flex; align-items: center; gap: .45rem; font: 700 .72rem/1 var(--font-heading); color: #c4b5fd; letter-spacing: .06em; text-transform: uppercase; }
.flow-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: #c4b5fd; box-shadow: 0 0 10px #c4b5fd; animation: pulse-dot 2s ease-in-out infinite; }
.flow-steps { list-style: none; position: relative; padding: 1.15rem 1.15rem 1.35rem; display: grid; gap: .65rem; }
.flow-steps::before { content: ''; position: absolute; left: calc(1.15rem + 21px); top: 2.2rem; bottom: 2.4rem; width: 2px; background: linear-gradient(180deg, rgba(139, 92, 246, .5), rgba(244, 63, 94, .45)); opacity: .55; }
.flow-pulse { position: absolute; left: calc(1.15rem + 17px); top: 1.6rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px rgba(167, 139, 250, .9); animation: travel 4.8s var(--ease-out) infinite; z-index: 2; }
@keyframes travel { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(15.4rem); opacity: 0; } }
.flow-step { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: .95rem; align-items: center; padding: .8rem .9rem; border-radius: 16px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .3s, background .3s, transform .3s var(--ease-out); }
.flow-step:hover { border-color: rgba(139, 92, 246, .45); background: rgba(139, 92, 246, .07); transform: translateX(4px); }
.flow-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(139, 92, 246, .28), rgba(244, 63, 94, .16)); border: 1px solid rgba(167, 139, 250, .35); color: #ddd6fe; }
.flow-ic svg { width: 22px; height: 22px; }
.flow-step strong { display: block; font: 700 1rem/1.2 var(--font-heading); color: #fff; }
.flow-step small { display: block; margin-top: .2rem; color: var(--text-muted); font-size: .84rem; line-height: 1.4; }

.float-cards { position: relative; z-index: 3; display: grid; gap: .8rem; margin: 1rem 0 0; }
@media (min-width: 560px) { .float-cards { grid-template-columns: repeat(3, 1fr); align-items: start; margin: -1.5rem .9rem 0; } .float-card:nth-child(2) { margin-top: -.9rem; } }
.float-card { padding: .95rem 1.05rem; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 22px 50px -26px rgba(0, 0, 0, .9); }
.float-card .k { display: block; font: 700 .68rem/1 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: #fda4af; margin-bottom: .45rem; }
.float-card .k.v { color: #c4b5fd; }
.float-card .m { display: block; font: 800 1.4rem/1.1 var(--font-heading); color: #fff; margin-bottom: .3rem; }
.float-card p { font-size: .8rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- 5. Marquesina ---------- */
.marquee { border-block: 1px solid var(--border-subtle); background: rgba(255, 255, 255, .015); overflow: hidden; padding: 1.05rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 2.6rem; padding-right: 2.6rem; list-style: none; }
.marquee-group li { display: inline-flex; align-items: center; gap: 2.6rem; font: 700 .95rem/1 var(--font-heading); letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.marquee-group li::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-crimson); box-shadow: 0 0 10px rgba(244, 63, 94, .8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 6. Secciones y cabeceras ---------- */
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1rem; }
.sec-sub { color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; }

/* Presentación + imagen parallax */
.intro-split { display: grid; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .intro-split { grid-template-columns: 1.05fr .95fr; } }
.tick-list { list-style: none; display: grid; gap: .8rem; margin: 1.6rem 0 2rem; }
.tick-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--text-main); line-height: 1.5; }
.tick-list svg { width: 20px; height: 20px; color: #a78bfa; flex: none; margin-top: .15rem; }
.parallax-stage { position: relative; display: grid; place-items: center; padding: clamp(1.5rem, 5vw, 3rem) 0; overflow: clip; min-height: 28rem; }
.parallax-stage::before { content: ''; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 246, .32), transparent 70%); filter: blur(20px); }
.parallax-img { position: relative; width: min(74vw, 300px); will-change: transform; }
.parallax-img .phone-frame { width: 100%; }

/* ---------- 7. Bento de servicios ---------- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .w4 { grid-column: span 4; } .bento .w2 { grid-column: span 2; } }
.b-card { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.1rem); border-radius: 26px; background: linear-gradient(180deg, rgba(18, 21, 33, .8), rgba(10, 12, 20, .8)); border: 1px solid var(--glass-border); overflow: hidden; transition: border-color .35s, transform .45s var(--ease-out), box-shadow .35s; }
.b-card:hover { border-color: rgba(139, 92, 246, .5); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 40px -12px rgba(139, 92, 246, .4); }
.b-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #ede9fe; background: linear-gradient(135deg, rgba(139, 92, 246, .32), rgba(244, 63, 94, .18)); border: 1px solid rgba(167, 139, 250, .38); }
.b-ic svg { width: 26px; height: 26px; }
.b-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.b-card p { color: var(--text-muted); line-height: 1.65; }
.b-benefit { font: 700 .86rem/1.3 var(--font-heading); color: #ddd6fe; display: inline-flex; gap: .5rem; align-items: center; }
.b-benefit::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-crimson); box-shadow: 0 0 10px rgba(244, 63, 94, .8); flex: none; }
.b-link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font: 700 .95rem/1 var(--font-heading); color: #fff; text-decoration: none; padding: .4rem 0; }
.b-link:hover { color: #c4b5fd; }
.b-link:hover .arrow { transform: translateX(5px); }
.b-visual { margin-top: .4rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(5, 6, 8, .55); padding: .9rem; display: grid; gap: .5rem; }
.sk { height: 9px; border-radius: 6px; background: linear-gradient(90deg, rgba(139, 92, 246, .45), rgba(255, 255, 255, .08)); }
.sk.s2 { width: 72%; } .sk.s3 { width: 48%; background: rgba(255, 255, 255, .08); }
.sk-row { display: flex; gap: .5rem; }
.sk-blk { flex: 1; height: 54px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.sk-blk.hot { background: linear-gradient(135deg, rgba(139, 92, 246, .4), rgba(244, 63, 94, .3)); border-color: rgba(167, 139, 250, .5); }
.chat-ex { display: grid; gap: .5rem; }
.bub { max-width: 88%; padding: .55rem .8rem; border-radius: 14px; font-size: .82rem; line-height: 1.4; }
.bub.u { justify-self: end; background: var(--gradient-main); color: #fff; font-weight: 600; border-bottom-right-radius: 4px; }
.bub.a { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--text-main); border-bottom-left-radius: 4px; }
.funnel { display: grid; gap: .45rem; justify-items: center; }
.funnel i { display: block; height: 12px; border-radius: 8px; background: linear-gradient(90deg, rgba(139, 92, 246, .55), rgba(244, 63, 94, .45)); }
.funnel i:nth-child(1) { width: 100%; } .funnel i:nth-child(2) { width: 74%; } .funnel i:nth-child(3) { width: 48%; } .funnel i:nth-child(4) { width: 26%; background: linear-gradient(90deg, #f43f5e, #ff0055); }
.nodes { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.node { padding: .35rem .65rem; border-radius: 10px; font: 700 .72rem/1 var(--font-heading); color: #ddd6fe; background: rgba(139, 92, 246, .14); border: 1px solid rgba(167, 139, 250, .35); }
.node-arrow { color: var(--accent-crimson); font-weight: 800; }
.vis-note { font-size: .72rem; color: var(--text-dim); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- 8. ¿Qué necesita tu negocio? ---------- */
.need-split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .need-split { grid-template-columns: .85fr 1.15fr; } .need-copy { position: sticky; top: calc(var(--header-h) + 2rem); } }
.need-list { display: grid; gap: .8rem; }
.need-btn { width: 100%; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; text-align: left; font: 700 1.08rem/1.3 var(--font-heading); color: var(--text-pure); background: rgba(255, 255, 255, .03); border: 1px solid var(--glass-border); border-radius: 18px; cursor: pointer; transition: border-color .3s, background .3s, transform .35s var(--ease-out), box-shadow .3s; }
.need-btn:hover { border-color: rgba(167, 139, 250, .65); background: rgba(139, 92, 246, .1); transform: translateX(6px); box-shadow: 0 0 30px -10px rgba(139, 92, 246, .5); }
.need-btn .n-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #ddd6fe; background: rgba(139, 92, 246, .16); border: 1px solid rgba(167, 139, 250, .3); }
.need-btn .n-ic svg { width: 22px; height: 22px; }
.need-btn .n-go { margin-left: auto; color: var(--accent-crimson); transition: transform .3s var(--ease-out); }
.need-btn:hover .n-go { transform: translateX(5px); }

/* ---------- 9. Proceso (timeline) ---------- */
.process { display: grid; gap: clamp(2rem, 6vw, 5rem); }
@media (min-width: 960px) { .process { grid-template-columns: .8fr 1.2fr; } .process-copy { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; } }
.timeline { position: relative; padding-left: 3.4rem; }
.timeline-track { position: absolute; left: 1rem; top: .6rem; bottom: .6rem; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .09); }
.timeline-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, #a855f7, #f43f5e); transform-origin: top center; box-shadow: 0 0 14px rgba(168, 85, 247, .7); }
.t-step { position: relative; padding-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.t-step:last-child { padding-bottom: 0; }
.t-step::before { content: ''; position: absolute; left: -2.78rem; top: .85rem; width: 14px; height: 14px; border-radius: 50%; background: #0b0d16; border: 2px solid rgba(167, 139, 250, .5); transition: background .4s, border-color .4s, box-shadow .4s; }
.t-step.is-active::before { background: #f43f5e; border-color: #fda4af; box-shadow: 0 0 16px rgba(244, 63, 94, .85); }
.t-num { display: block; font: 800 clamp(2.6rem, 6vw, 4rem)/1 var(--font-heading); color: transparent; -webkit-text-stroke: 1px rgba(196, 181, 253, .55); letter-spacing: -.03em; margin-bottom: .6rem; transition: color .5s; }
.t-step.is-active .t-num { color: rgba(167, 139, 250, .2); }
.t-step h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .6rem; }
.t-step p { color: var(--text-muted); line-height: 1.7; max-width: 36rem; }
.js:not(.no-motion):not(.anim-fallback) .t-step { opacity: .45; transition: opacity .5s; }
.js:not(.no-motion):not(.anim-fallback) .t-step.is-active { opacity: 1; }
.no-motion .timeline-fill, .anim-fallback .timeline-fill { transform: none !important; }

/* ---------- 10. Declaración (texto que se ilumina) ---------- */
.statement { padding-block: clamp(4.5rem, 11vw, 9rem); text-align: center; position: relative; overflow: clip; }
.statement::before { content: ''; position: absolute; inset: 10% 0; background: radial-gradient(closest-side, rgba(139, 92, 246, .16), transparent 70%); pointer-events: none; }
.statement-text { position: relative; font: 800 clamp(1.9rem, 5.6vw, 4.2rem)/1.12 var(--font-heading); letter-spacing: -.035em; color: #fff; max-width: 20ch; margin-inline: auto; text-wrap: balance; }
.statement-sub { position: relative; margin: 1.6rem auto 0; max-width: 36rem; color: var(--text-muted); }

/* ---------- 11. Contacto ---------- */
.contact-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 960px) { .contact-split { grid-template-columns: .85fr 1.15fr; } .contact-copy { position: sticky; top: calc(var(--header-h) + 2rem); } }
.assure { list-style: none; display: grid; gap: 1rem; margin-top: 1.8rem; }
.assure li { display: flex; gap: .85rem; align-items: flex-start; color: var(--text-main); line-height: 1.5; }
.assure svg { width: 22px; height: 22px; color: #a78bfa; flex: none; margin-top: .1rem; }
.assure small { display: block; color: var(--text-muted); font-size: .88rem; margin-top: .15rem; }
.contact-split .form-container { margin: 0; max-width: none; position: relative; background: linear-gradient(180deg, rgba(20, 23, 36, .85), rgba(10, 12, 20, .9)); border-color: rgba(167, 139, 250, .3); }
.contact-split .form-container::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--gradient-card-border); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .8; }

/* ---------- 12. Pie ---------- */
.site-footer { position: relative; background: linear-gradient(180deg, #05060a, #030406); }
.site-footer::before { content: ''; position: absolute; top: -1px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(139, 92, 246, .75), rgba(244, 63, 94, .65), transparent); }
.footer-links a { position: relative; }
.footer-links a:hover { color: #ddd6fe; }

/* ---------- 13. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .rise, .stage-glow, .flow-pulse, .flow-tag .pulse, .marquee-track, .ambient-glow-1, .ambient-glow-2 { animation: none !important; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: .9rem; padding-inline: 1rem; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: .9rem; padding-right: 0; }
  .marquee-group[aria-hidden] { display: none; }
  .btn-primary::after { display: none; }
  * { scroll-behavior: auto !important; }
}
