/* ============================================================
   TENGAHOY STUDIO — Landing "AGENDA ABIERTA" (v21)
   Visual spec v1.0 (2026-10-10). Cero dependencias externas.
   Paleta cerrada: solo hex oficiales + tintes rgba derivados.
   Tipografía display: "Space Grotesk" (OFL), empaquetada local
   en assets/fonts/ — v5 (2026-10-11).
   Wordmark del hero: "Sora" (OFL, variable 100–800), empaquetada
   local en assets/fonts/ — v6 (2026-10-11).
   ============================================================ */

/* Space Grotesk variable (latin, wght 300–700) — local, font-display: swap */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sora variable (latin, wght 100–800) — wordmark del hero, local */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #141414;
  --deep: #2D0667;
  --purple: #5F20A2;
  --navy: #262295;
  --blue: #0351AE;
  --magenta: #992FAB;
  --cyan: #04AEED;
  --lilac: #DF9FE9;
  --white: #FFFFFF;
  --gray-faint: rgba(255,255,255,0.6);
  --gray-mid: rgba(255,255,255,0.75);
  --gray-ghost: rgba(255,255,255,0.8);
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shadow-card: 0 12px 32px rgba(0,0,0,0.35);
  --glow-primary: 0 8px 24px rgba(95,32,162,0.45);
  --glow-accent: 0 8px 24px rgba(4,174,237,0.45);
  --glow-featured: 0 20px 60px rgba(153,47,171,0.35);
  --radius-input: 12px;
  --radius-btn: 14px;
  --radius-card: 16px;
  --radius-panel: 20px;
  --radius-pill: 999px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
section { scroll-margin-top: calc(var(--nav-h) + 16px); }

.container { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.section { padding: 72px 0; }

/* ---------- Eyebrows / headings ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--lilac);
  margin-bottom: 16px;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--white); }
h1 { font-size: 36px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
h2 { font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 16px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--white); }
.lead { font-size: 16px; line-height: 1.65; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  padding: 16px 28px; border-radius: var(--radius-btn);
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .2s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
  min-height: 52px;
}
.btn-primary {
  background: linear-gradient(120deg, var(--purple), var(--blue));
  color: var(--white);
  box-shadow: var(--glow-primary);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-ghost:hover { background: rgba(4,174,237,0.12); }
.btn-block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(20,20,20,0.78);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223,159,233,0.14);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
/* v13 · lockup del header con el wordmark REAL del logo oficial
   (orden de Oscar 12-oct ~13:35 EDT): escudo sin texto + wordmark real
   encima de STUDIO grafiti cromado. TENGAHOY sale una sola vez.
   La imitación cromada con CSS (.b1) se eliminó. El header sigue en 72px. */
.brand-shield { height: 44px; width: auto; object-fit: contain; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-wordmark { height: 22px; width: auto; }
.brand-lockup .b2 {
  font-family: "Sedgwick Ave Display", cursive;
  font-size: 15px; letter-spacing: 0.05em; line-height: 1.1;
  transform: rotate(-2deg); transform-origin: left center;
  background: linear-gradient(180deg, #ffffff 0%, #dfe6f5 40%, #a9b4d2 55%, #f2f6fe 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  /* tratamiento simplificado a tamaño header: contorno limpio, sin glows */
  filter: drop-shadow(0 1px 0 rgba(45,6,103,0.9));
  margin-top: 1px;
}
.nav-links { display: none; list-style: none; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--white); }
.nav-links a:hover { color: var(--lilac); }
.nav-cta { display: none; }
.hamburger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: transparent; border: none; cursor: pointer;
}
.hamburger svg { width: 26px; height: 26px; }
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(20,20,20,0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223,159,233,0.16);
  padding: 16px 20px 28px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 4px; text-decoration: none;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white);
  border-bottom: 1px solid rgba(223,159,233,0.12);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--cyan); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: auto;
  padding: calc(var(--nav-h) + 96px) 0 96px;
  background: linear-gradient(160deg, var(--deep) 0%, var(--purple) 38%, var(--navy) 68%, var(--black) 100%);
  overflow: hidden;
  text-align: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px; top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(153,47,171,0.35) 0%, transparent 70%);
}
.hero::after {
  width: 520px; height: 520px; bottom: -200px; left: -160px;
  background: radial-gradient(circle, rgba(4,174,237,0.14) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }

/* Lockup: logo oficial INTACTO + wordmark HTML */
.lockup {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin-bottom: 48px;
}
.lockup-logo {
  height: 140px; width: auto; object-fit: contain;
  margin-bottom: 24px;
}
/* Wordmark premium v6 — Sora (OFL) como marca, gradiente
   blanco → azul de marca #04AEED, glow sutil, tracking refinado.
   Tamaños fluidos con clamp(): sin saltos entre breakpoints. */
.wordmark { font-family: "Sora", var(--font-display); font-weight: 800; line-height: 1.08; }
.wordmark .wm-ten {
  display: block;
  font-size: clamp(48px, 14vw, 96px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 12%, #DFF3FD 52%, #04AEED 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 22px rgba(4,174,237,0.38));
}
.wordmark .wm-stu {
  display: block;
  font-size: clamp(40px, 11.5vw, 80px);
  font-weight: 700;
  letter-spacing: 0.34em;
  margin: 14px -0.34em 0 0; /* compensa el tracking final: centrado óptico */
  background: linear-gradient(180deg, #DF9FE9 0%, #992FAB 62%, #5F20A2 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 22px rgba(153,47,171,0.42));
}

.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(153,47,171,0.18);
  border: 1px solid rgba(223,159,233,0.5);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--lilac);
  margin-bottom: 32px;
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(4,174,237,0.5);
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero h1 { margin-bottom: 20px; }
.hero .subtitle { font-size: 16px; line-height: 1.65; color: var(--white); max-width: 640px; margin: 0 auto 40px; }
.hero-ctas { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.hero-ctas .btn { width: 100%; }

/* ============================================================
   PROPUESTA DE VALOR
   ============================================================ */
.valor { background: var(--black); }
.valor-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.valor-card {
  background: rgba(95,32,162,0.16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(223,159,233,0.22);
  border-radius: var(--radius-card);
  padding: 32px;
}
.valor-num {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--lilac); margin-bottom: 16px;
}
.valor-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.valor-card p { font-size: 16px; line-height: 1.65; color: var(--white); }

/* ============================================================
   SERVICIOS — tabs (desktop) / acordeón (móvil)
   ============================================================ */
.servicios { background: var(--deep); position: relative; }
.servicios::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 320px; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(95,32,162,0.4) 0%, transparent 70%);
}
.servicios .container { position: relative; z-index: 1; }

.tabs-bar {
  display: none;
  justify-content: center; gap: 8px; flex-wrap: wrap;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-pill);
  padding: 8px; margin: 0 auto 48px; width: fit-content;
}
.tab-btn {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--lilac); background: transparent; border: none; cursor: pointer;
  border-radius: var(--radius-pill); padding: 12px 24px;
  transition: background .2s ease, color .2s ease;
  min-height: 44px;
}
.tab-btn[aria-selected="true"] {
  background: linear-gradient(120deg, var(--purple), var(--blue));
  color: var(--white);
  box-shadow: var(--glow-primary);
}

.serv-panel { margin-bottom: 16px; }
.acc-header {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(223,159,233,0.18);
  border-radius: var(--radius-card);
  color: var(--white);
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  padding: 20px 24px; cursor: pointer; text-align: left;
  min-height: 56px;
}
.acc-header .acc-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(4,174,237,0.4);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 400; color: var(--cyan);
  transition: transform .3s ease;
}
.serv-panel.open .acc-header .acc-icon { transform: rotate(45deg); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.serv-panel.open .acc-body { max-height: 4000px; }

.serv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 16px 0 8px; }
.serv-card {
  background: rgba(20,20,20,0.35);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(4,174,237,0.18);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.serv-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--magenta), var(--purple));
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.serv-icon svg { width: 24px; height: 24px; }
.serv-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.serv-card p { font-size: 15px; line-height: 1.6; color: var(--white); margin-bottom: 16px; }
.serv-tag {
  display: inline-block;
  background: rgba(4,174,237,0.14); color: var(--cyan);
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  border-radius: var(--radius-pill); padding: 6px 14px;
}

/* ============================================================
   SAAS DESTACADO
   ============================================================ */
.saas { background: var(--black); }
.saas-card {
  border: 2px solid transparent; border-radius: var(--radius-panel);
  background:
    linear-gradient(rgba(45,6,103,0.72), rgba(45,6,103,0.72)) padding-box,
    linear-gradient(120deg, var(--cyan), var(--magenta), var(--lilac)) border-box;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: var(--glow-featured);
  padding: 40px 28px;
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: stretch; /* v14: antes center — el panel visual flotaba centrado y dejaba un vacío sobre el calendario */
}
.badge-featured {
  display: inline-block;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  color: var(--black);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  border-radius: var(--radius-pill); padding: 8px 18px; margin-bottom: 20px;
}
.saas-card h2 { margin-bottom: 24px; }
.saas-list { list-style: none; margin-bottom: 24px; }
.saas-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; line-height: 1.6; color: var(--white);
  margin-bottom: 16px;
}
.saas-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(4,174,237,0.14);
  color: var(--cyan); font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.saas-price { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.saas-price strong { color: var(--lilac); font-weight: 700; }
.saas-note { color: var(--cyan); font-weight: 700; font-size: 16px; margin-bottom: 32px; }
.saas-visual {
  background: rgba(20,20,20,0.5);
  border: 1px solid rgba(223,159,233,0.2);
  border-radius: var(--radius-card);
  padding: 28px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.mock-cal { max-width: 360px; margin: 0 auto; }
.mock-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--white);
  margin-bottom: 16px;
}
.mock-cal-head .mock-arrows { color: var(--lilac); letter-spacing: 8px; font-size: 14px; }
.mock-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.mock-day-name { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--lilac); padding: 4px 0; }
.mock-day {
  aspect-ratio: 1; border-radius: 8px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.05);
}
.mock-day.booked { background: rgba(4,174,237,0.22); color: var(--cyan); border: 1px solid rgba(4,174,237,0.5); }
.mock-day.today { background: linear-gradient(135deg, var(--magenta), var(--purple)); color: var(--white); font-weight: 700; }
.mock-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mock-slot {
  font-size: 12px; font-weight: 700; color: var(--white);
  background: rgba(95,32,162,0.4); border: 1px solid rgba(223,159,233,0.35);
  border-radius: var(--radius-pill); padding: 6px 14px;
}
.mock-slot.hot { background: rgba(4,174,237,0.2); border-color: var(--cyan); color: var(--cyan); }
.mock-caption { text-align: center; font-size: 13px; color: var(--gray-mid); margin-top: 16px; }

/* ============================================================
   SITIOS WEB INTELIGENTES — única sección clara
   ============================================================ */
.sitios { background: var(--white); }
.sitios h2, .sitios .section-head p { color: var(--black); }
.sitios-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }
.sitios-card {
  background: var(--white);
  border: 1px solid rgba(95,32,162,0.18);
  box-shadow: 0 12px 32px rgba(95,32,162,0.12);
  border-radius: var(--radius-card);
  padding: 32px;
}
.sitios-icon {
  width: 48px; height: 48px; border-radius: 12px; flex: none;
  background: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sitios-icon svg { width: 24px; height: 24px; }
.sitios-card h3 { color: var(--black); font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.sitios-card p { color: var(--black); font-size: 16px; line-height: 1.65; }
.sitios-card p strong { color: var(--purple); }
.sitios-card .accent-blue { color: var(--blue); font-weight: 700; }
.sitios-cta { text-align: center; }

/* ============================================================
   PORTAFOLIO — prueba social antes del CTA final
   Tarjetas glass nativas del sistema; las capturas son
   producto (sitios reales), no decoración de personas.
   El grid deja sitio para la 5.ª tarjeta (salitrading24.com)
   cuando su servidor vuelva en línea.
   ============================================================ */
.portafolio { background: var(--black); position: relative; }
.portafolio::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 900px; height: 280px; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(153,47,171,0.35) 0%, transparent 70%);
}
.portafolio .container { position: relative; z-index: 1; }

.port-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 64px; }
.port-card {
  background: rgba(95,32,162,0.16);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(223,159,233,0.22);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.port-media { display: block; }
.port-media img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover; /* capturas reales 1280x800: proporción intacta */
}
.port-body { padding: 28px; }
.port-body h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.port-body p { font-size: 16px; line-height: 1.65; color: var(--white); margin-bottom: 20px; }
.port-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--cyan); text-decoration: none;
  min-height: 44px;
}
.port-link:hover { color: var(--white); }
.port-link svg { width: 16px; height: 16px; flex: none; }

.port-close { text-align: center; max-width: 680px; margin: 0 auto; }
.port-close .lead { margin-bottom: 32px; }
.port-close .btn { margin-bottom: 16px; }
.port-cta-sub { font-size: 14px; line-height: 1.5; color: var(--gray-mid); }
.port-cta-sub a { color: var(--lilac); font-weight: 600; text-decoration: none; }
.port-cta-sub a:hover { color: var(--white); }

/* ============================================================
   FORMULARIO
   ============================================================ */
.form-section { background: var(--black); padding-bottom: 96px; }
.form-panel {
  background: linear-gradient(140deg, var(--purple), var(--navy) 60%, var(--blue));
  border-radius: var(--radius-panel);
  box-shadow: 0 20px 60px rgba(95,32,162,0.4);
  padding: 28px;
  max-width: 640px; margin: 0 auto;
}
.form-panel h2 { text-align: center; margin-bottom: 12px; }
.form-support { text-align: center; color: var(--white); margin-bottom: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.field input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  color: var(--white); font-size: 16px; font-family: var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 52px;
}
.field input::placeholder { color: rgba(255,255,255,0.55); }
.field input:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(4,174,237,0.25);
}
.field select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  color: var(--white); font-size: 16px; font-family: var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 52px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2304AEED' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field select:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(4,174,237,0.25);
}
.field select option { color: #141414; background: #FFFFFF; }
.field.invalid input { border-color: var(--magenta); }
.field.invalid select { border-color: var(--magenta); }
.field-error {
  display: none; align-items: center; gap: 8px;
  font-size: 13px; color: var(--lilac); margin-top: 8px; line-height: 1.5;
}
.field.invalid .field-error { display: flex; }
.form-privacy { font-size: 13px; line-height: 1.5; color: var(--gray-mid); text-align: center; margin-top: 20px; }
.form-success { text-align: center; padding: 16px 0; }
.success-check {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px;
  background: rgba(4,174,237,0.14); border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: 34px; font-weight: 700;
}
.form-success h2 { margin-bottom: 12px; }
.form-success .success-sub { color: var(--gray-ghost); margin-bottom: 32px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--black); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(223,159,233,0.16); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white);
  padding: 24px 0; min-height: 64px;
  transition: color .2s ease;
}
.faq-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgba(4,174,237,0.4);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 400; color: var(--cyan);
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-q { color: var(--lilac); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { font-size: 16px; line-height: 1.65; color: var(--white); padding: 0 48px 24px 0; }
.faq-a a { color: var(--lilac); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(95,32,162,0.5);
  padding: 64px 0 96px;
  text-align: center;
}
.footer-logo { height: 120px; width: auto; object-fit: contain; margin: 0 auto 24px; }
.footer-brand { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 24px; }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.footer-contacts a {
  color: var(--lilac); text-decoration: none; font-size: 16px; font-weight: 600;
}
.footer-contacts a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: var(--gray-faint); }

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--cyan);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-accent);
  text-decoration: none;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(4,174,237,0.4);
  animation: pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

/* ============================================================
   REVEAL ON SCROLL (mejora progresiva)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   DESKTOP ≥ 901px
   ============================================================ */
@media (min-width: 901px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .section { padding: 120px 0; }
  .section-head { margin-bottom: 64px; }
  h1 { font-size: 60px; line-height: 1.08; }
  h2 { font-size: 40px; line-height: 1.15; }
  .eyebrow { font-size: 13px; letter-spacing: 0.22em; }
  .lead { font-size: 18px; line-height: 1.7; }
  .btn { font-size: 17px; padding: 18px 36px; }

  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; padding: 12px 24px; min-height: 44px; font-size: 15px; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }

  .hero { min-height: 100vh; display: flex; align-items: center; padding: var(--nav-h) 0 96px; }
  .lockup { flex-direction: row; margin-bottom: 48px; }
  .lockup-logo { height: 170px; margin-bottom: 0; margin-right: 48px; }
  .wordmark { text-align: left; } /* clamp() ya resuelve los tamaños v6 */
  /* (v6: sin overrides de font-size — el wordmark es fluido) */
  .hero .subtitle { font-size: 18px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-ctas .btn { width: auto; }

  .valor-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .tabs-bar { display: inline-flex; }
  .acc-header { display: none; }
  .acc-body { max-height: none !important; overflow: visible; }
  .serv-panel { display: none; margin-bottom: 0; }
  .serv-panel.active { display: block; }
  .serv-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; }
  .serv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(4,174,237,0.45);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  }
  .serv-card p { font-size: 16px; }
  .serv-tag { font-size: 12px; }

  .saas-card { grid-template-columns: 1.1fr 0.9fr; padding: 64px; }

  .sitios-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .port-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .port-card:hover {
    transform: translateY(-4px);
    border-color: rgba(4,174,237,0.45);
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  }
  .port-body { padding: 32px; }

  .form-panel { padding: 40px; }
  .form-section { padding-bottom: 120px; }

  .footer { padding-bottom: 64px; }
  .footer-contacts { flex-direction: row; justify-content: center; gap: 40px; }

  .wa-float { right: 28px; bottom: 28px; width: 64px; height: 64px; }
}

/* ============================================================
   HERO v3 — canvas de partículas, entrada del logo,
   reveal del wordmark, badge premium, parallax
   ============================================================ */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

/* Entrada del logo: fade + scale (0.85 → 1) con glow morado */
.lockup-logo {
  animation: logoIn 1.15s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes logoIn {
  0%   { opacity: 0; transform: scale(.85); filter: drop-shadow(0 0 0 rgba(95,32,162,0)); }
  55%  { opacity: 1; filter: drop-shadow(0 0 36px rgba(95,32,162,.8)); }
  100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 16px rgba(95,32,162,.45)); }
}

/* Entrada del wordmark POR PALABRA (kerning natural intacto;
   sin JS el texto queda visible tal cual) */
.hero-fx .lockup { will-change: transform; }
.wordmark { position: relative; }
.hero-fx .wordmark .wm-ten,
.hero-fx .wordmark .wm-stu {
  opacity: 0;
  animation: wordIn .85s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(.4em); }
  to   { opacity: 1; transform: none; }
}

/* Shimmer: barrido de brillo único sobre el wordmark tras la entrada */
.hero-fx .wordmark::after {
  content: ""; position: absolute; inset: -8% -3%;
  background: linear-gradient(100deg, transparent 32%, rgba(255,255,255,.30) 48%, rgba(255,255,255,.30) 52%, transparent 68%);
  transform: translateX(-135%) skewX(-12deg);
  animation: wmShimmer 1.5s ease 1.5s both;
  pointer-events: none;
}
@keyframes wmShimmer {
  to { transform: translateX(135%) skewX(-12deg); }
}

/* Badge "AGENDA ABIERTA" premium: brillo que recorre el borde
   + resplandor sutil (conserva el pulso del punto)
   (legacy del hero v9 — el hero vivo usa .hv-stamp en hero-v10.css) */
.badge-soon {
  position: relative;
  overflow: hidden;
  animation: badgeGlow 4.6s ease-in-out infinite;
}
.badge-soon::before {
  content: ""; position: absolute; top: -20%; bottom: -20%;
  left: -90px; width: 70px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-18deg);
  animation: badgeSweep 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes badgeSweep {
  0%, 52%   { left: -90px; }
  82%, 100% { left: calc(100% + 30px); }
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(153,47,171,0); }
  50%      { box-shadow: 0 0 26px rgba(153,47,171,.5); }
}

/* ---------- Nota de fallback en el éxito del formulario ---------- */
.form-note {
  font-size: 14px; font-weight: 600; color: var(--lilac);
  margin: -16px 0 24px;
}

/* ============================================================
   MODAL WHATSAPP v6 — "Comunícate con nuestro soporte"
   Mejora progresiva: sin JS los botones conservan su href
   directo a wa.me; el modal solo existe vía JS.
   ============================================================ */
body.wa-modal-open { overflow: hidden; } /* fondo con scroll bloqueado */
.wa-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(20,20,20,0.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.wa-modal-overlay[hidden] { display: none; }
.wa-modal {
  position: relative;
  width: 100%; max-width: 440px;
  background: linear-gradient(165deg, #2D0667 0%, #262295 58%, #141414 130%);
  border: 1px solid rgba(223,159,233,0.35);
  border-radius: var(--radius-panel);
  padding: 36px 28px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 40px rgba(95,32,162,0.25);
  color: var(--white);
  animation: waModalIn .28s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes waModalIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.wa-modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent; color: var(--white);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.wa-modal-close:hover { background: rgba(255,255,255,0.12); transform: scale(1.06); }
.wa-modal-close:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.wa-modal-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; line-height: 1.3;
  margin-bottom: 8px; padding-right: 36px;
}
.wa-modal-desc { color: var(--gray-mid); font-size: 15px; margin-bottom: 22px; }
.wa-modal .field { margin-bottom: 16px; text-align: left; }
.wa-modal .field .opt { font-weight: 400; color: var(--gray-faint); font-size: 13px; }
/* .field select ya hereda el estilo del formulario; el textarea lo espeja */
.wa-modal .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  color: var(--white); font-size: 16px; font-family: var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
  min-height: 84px; resize: vertical;
}
.wa-modal .field textarea::placeholder { color: rgba(255,255,255,0.55); }
.wa-modal .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(4,174,237,0.25);
}
.wa-modal .btn-block { margin-top: 6px; }

/* ============================================================
   v11 — UNIFICACIÓN STREET LUXURY (orden de Oscar 12-oct ~13:03 EDT)
   "Todo el sitio con la misma estética del hero."
   Gestos del hero extendidos a TODAS las secciones:
   (1) grano de película visible, (2) números fantasma con outline,
   (3) voz tipográfica Space Grotesk + acentos grafiti/cromados,
   (4) bordes finos claros en vez de glows morado/azul dominantes,
   (5) slash de luz diagonal como gesto único.
   PROHIBIDO como estética dominante: plantilla genérica de IA
   (fondo dark + mesh morado/azul con glows). Solo cambios visuales:
   cero cambios de lógica (Brevo, Turnstile, panel, exports intactos).
   ============================================================ */

/* ---- (1) Grano de película global: una sola capa fija, sin interacción ---- */
main::after {
  content: ""; position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---- Ritmo editorial: filete fino entre secciones oscuras ---- */
.valor, .servicios, .saas, .portafolio, .form-section, .faq {
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ---- (3) Voz tipográfica: eyebrow con la voz del hero ---- */
.eyebrow {
  color: var(--cyan);
  font-size: 11px; font-weight: 800; letter-spacing: 0.32em;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 36px; height: 2px;
  background: var(--cyan); vertical-align: middle; margin-right: 12px;
}

/* ---- Tarjetas de propuesta de valor: oscuras, número fantasma ---- */
.valor-card {
  background: #161618;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 34px rgba(0,0,0,0.4);
}
.valor-num {
  font-size: 2.4rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(4,174,237,0.55);
  margin-bottom: 18px;
}
.valor-card h3 {
  font-size: 19px; text-transform: uppercase; letter-spacing: 0.02em;
}

/* ---- Servicios: fondo tinta del hero + slash de luz sutil (fuera el mesh morado) ---- */
.servicios { background: #0E0E10; }
.servicios::before {
  content: ""; position: absolute; top: 10%; left: -10vw; width: 120vw; height: 16vh;
  transform: rotate(-14deg); pointer-events: none;
  background: linear-gradient(90deg, transparent 10%, rgba(4,174,237,0.07) 50%, transparent 90%);
  filter: blur(28px);
}
.serv-card {
  background: #161618;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 34px rgba(0,0,0,0.4);
}
.serv-icon {
  background: rgba(4,174,237,0.1);
  border: 1px solid rgba(4,174,237,0.35);
}
.tab-btn[aria-selected="true"] {
  /* tab activo cromado: mismo lenguaje que el CTA del hero */
  background: linear-gradient(180deg, #ffffff 0%, #dde4f3 45%, #aeb9d4 55%, #f0f4fd 100%);
  color: #141414;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ---- SaaS: tarjeta oscura con filete cromado (fuera el borde degradado) ---- */
.saas-card {
  border: 1px solid rgba(255,255,255,0.16);
  background: #151517;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 24px 70px rgba(0,0,0,0.5);
}
.badge-featured {
  background: linear-gradient(180deg, #ffffff 0%, #dde4f3 45%, #aeb9d4 55%, #f0f4fd 100%);
  color: #141414;
  border: 1px solid rgba(255,255,255,0.4);
}
.saas-visual {
  background: #101012;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ---- Sitios (sección clara): filetes tinta, chips oscuros ---- */
.sitios { border-top: 4px solid #0E0E10; }
.sitios-card {
  border: 1px solid rgba(20,20,20,0.14);
  box-shadow: 0 14px 34px rgba(20,20,20,0.08);
}
.sitios-icon { background: #141414; }

/* ---- Portafolio: fuera el glow magenta; números fantasma por tarjeta ---- */
.portafolio::before {
  content: ""; position: absolute; top: 8%; left: -10vw; width: 120vw; height: 14vh;
  transform: rotate(-14deg); pointer-events: none;
  background: linear-gradient(90deg, transparent 12%, rgba(223,159,233,0.06) 50%, transparent 88%);
  filter: blur(28px);
}
.port-grid { counter-reset: port; }
.port-card {
  counter-increment: port;
  background: #161618;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 34px rgba(0,0,0,0.4);
}
.port-card::after {
  content: "0" counter(port);
  position: absolute; top: 12px; right: 18px; z-index: 2;
  font-family: var(--font-display); font-size: 30px; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  pointer-events: none;
}

/* ---- Formulario "Solicita tu demo": panel oscuro con filete cromado (fuera el degradado) ---- */
.form-section { position: relative; overflow: clip; }
.form-panel {
  background: #151517;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 24px 70px rgba(0,0,0,0.5);
  position: relative; overflow: hidden; z-index: 1;
}
.form-panel::before {
  content: ""; position: absolute; top: -22%; left: -15%; width: 130%; height: 48%;
  transform: rotate(-14deg); pointer-events: none;
  background: linear-gradient(90deg, transparent 20%, rgba(4,174,237,0.09) 50%, transparent 80%);
  filter: blur(30px);
}

/* ---- Botón primario cromado: mismo lenguaje que el CTA del hero ---- */
.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #dde4f3 45%, #aeb9d4 55%, #f0f4fd 100%);
  color: #141414;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn-primary:hover { filter: brightness(1.06); }

/* ---- FAQ: filetes finos ---- */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.12); }

/* ---- Fantasmas tipográficos de sección (con parallax sutil vía [data-plx]) ---- */
.sl-ghost {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-weight: 900; letter-spacing: -0.04em; line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.09);
  white-space: nowrap; will-change: transform;
}
.sl-ghost-form { right: -3vw; top: 24px; font-size: clamp(120px, 24vw, 320px); }
.footer { position: relative; overflow: clip; border-top: 1px solid rgba(255,255,255,0.12); }
.sl-ghost-footer {
  left: 0; right: 0; top: 10px; text-align: center;
  font-size: clamp(84px, 17vw, 260px);
}
.footer .container { position: relative; z-index: 1; }

/* ============================================================
   v14 · SAAS — el panel visual llena la columna + fantasma editorial
   Orden de Oscar 2026-10-12 ~14:12: había un vacío de ~250px sobre el
   calendario ("Octubre 2026") porque la tarjeta centraba el panel visual
   contra una columna de texto mucho más alta.
   PORQUÉ (criterio del Diseñador):
   1) Ritmo: el panel pasa a ocupar toda la altura de su columna y el
      calendario se centra dentro de él — el vacío deja de ser "nada" y
      pasa a ser aire interior del panel. Agnóstico a la altura del copy
      (el Copywriter está reescribiendo esa columna en paralelo).
   2) Detalle gráfico del SISTEMA EXISTENTE (cero contenido inventado):
      fantasma "TENGAHOY" en outline, el mismo dispositivo tipográfico de
      hv-ghost (hero) y sl-ghost (form/footer), sangrando el borde superior
      del panel, detrás del calendario.
   ============================================================ */
.saas-visual {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.saas-visual::before {
  content: "TENGAHOY";
  position: absolute; top: -0.12em; right: -0.08em; z-index: 0;
  font-family: var(--font-display); font-weight: 900; letter-spacing: -0.04em; line-height: 0.8;
  font-size: clamp(54px, 5.5vw, 84px); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.09);
  pointer-events: none; user-select: none;
}
.mock-cal { position: relative; z-index: 1; } /* el calendario va sobre el fantasma */

/* ---- Modal WhatsApp: oscuro con filete cromado ---- */
.wa-modal {
  background: #151517;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 24px 80px rgba(0,0,0,0.55);
}

/* ============================================================
   v11 — MENÚ MÓVIL rediseñado (orden de Oscar 12-oct ~13:06 EDT)
   Street luxury: panel tinta con grano, ítems numerados con entrada
   escalonada (solo transform/opacity), fantasma grafiti "STUDIO" y
   "Quiero ver mi demo" como CTA cromado primario del menú.
   Sin cambios de lógica: el JS solo alterna .open (main.js intacto).
   ============================================================ */
.mobile-menu {
  display: block;
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
  counter-reset: mm;
  background-color: #0C0C0E;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
  padding: 10px 22px 34px;
  visibility: hidden; opacity: 0; transform: translateY(-14px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}
/* grano del menú en capa propia con opacidad controlada */
.mobile-menu::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.mobile-menu.open {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
/* fantasma grafiti */
.mobile-menu::before {
  content: "STUDIO";
  font-family: "Sedgwick Ave Display", cursive;
  position: absolute; right: 8px; bottom: 2px;
  font-size: 84px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(223,159,233,0.24);
  transform: rotate(-4deg); pointer-events: none;
}
.mobile-menu > a {
  position: relative; display: flex; align-items: center; gap: 16px;
  counter-increment: mm;
  padding: 17px 4px; text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.mobile-menu > a::before {
  content: "0" counter(mm);
  font-size: 13px; font-weight: 800; letter-spacing: 0.1em;
  color: transparent; -webkit-text-stroke: 1px rgba(4,174,237,0.6);
}
.mobile-menu > a:active { color: var(--lilac); }
.mobile-menu.open > a { opacity: 1; transform: none; }
.mobile-menu.open > a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open > a:nth-child(2) { transition-delay: 0.11s; }
.mobile-menu.open > a:nth-child(3) { transition-delay: 0.16s; }
.mobile-menu.open > a:nth-child(4) { transition-delay: 0.21s; }
/* CTA primario del menú: cromado, a todo ancho */
.mobile-menu > a[href="#demo"] {
  margin-top: 20px; padding: 16px;
  justify-content: center; align-items: center;
  font-size: 18px;
  color: #141414;
  background: linear-gradient(180deg, #ffffff 0%, #dde4f3 45%, #aeb9d4 55%, #f0f4fd 100%);
  border: 1px solid rgba(255,255,255,0.35); border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.9);
}
.mobile-menu > a[href="#demo"]::before { display: none; }
.mobile-menu.open > a[href="#demo"] { transition-delay: 0.27s; }

/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot::after, .wa-float::after { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .serv-card:hover, .port-card:hover, .wa-float:hover { transform: none; }
  .acc-body, .faq-a { transition: none; }
  .lockup-logo { animation: none; }
  .badge-soon, .badge-soon::before { animation: none; }
  .hero-fx .wordmark .wm-ten,
  .hero-fx .wordmark .wm-stu { animation: none; opacity: 1; }
  .hero-fx .wordmark::after { animation: none; display: none; }
  .wa-modal { animation: none; }
  /* v11: el menú móvil aparece sin animación de entrada */
  .mobile-menu, .mobile-menu > a { transition: none; }
  .mobile-menu > a { opacity: 1; transform: none; }
}

/* v8: error general del formulario (p. ej. rechazo de Turnstile) */
#formError:not([hidden]) { display: flex; margin-bottom: 12px; }
