/* =============================================================
   CNF MULTIMEDIA — Landing page
   Archetype: Mouse-Reactive Gradient (dark + neon)
   =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:         #05060f;
  --bg-2:       #0a0d1c;
  --bg-card:    #0d1122;
  --ink:        #fafbff;
  --mute:       #9ba1b8;
  --brand:      #0b24f3;   /* azul corporativo CNF */
  --brand-soft: #3d55ff;   /* azul legible sobre fondo oscuro */
  --accent:     #00e5ff;   /* cian futurista complementario */
  --gradient-1: #0b24f3;
  --gradient-2: #7c3aed;
  --gradient-3: #00e5ff;
  --gradient-4: #ff2e9a;
  --line:       rgba(250, 251, 255, 0.1);
  --wa:         #25d366;

  --display: "Montserrat", "Helvetica Neue", sans-serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", "SF Mono", monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-pad: clamp(5rem, 12vh, 9rem);
}

/* Propiedades animables del gradiente reactivo */
@property --mx {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 30%;
}
@property --my {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 35%;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.grad-text {
  font-style: italic;
  background: linear-gradient(100deg, var(--gradient-3), var(--brand-soft) 50%, var(--gradient-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  padding: 0 var(--gutter);
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
  display: grid;
  gap: 0.9rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  max-width: 18ch;
}

/* Reveal on scroll — content visible by default if JS falla */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
/* Defensa: elementos con split nunca quedan invisibles */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
              background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
}
.btn-primary {
  background: linear-gradient(110deg, var(--accent) -20%, var(--brand) 55%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(11, 36, 243, 0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0, 229, 255, 0.35);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-nav {
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}
.btn-nav:hover { background: var(--accent); }
.btn-plan {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  margin-top: auto;
}
.btn-plan:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
  transition: background 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft),
              padding 0.4s var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(5, 6, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s var(--ease-out);
}
.nav-logo:hover img { opacity: 0.8; }
.nav-links {
  display: none;
  gap: 1.8rem;
  font-size: 0.88rem;
  color: var(--mute);
}
.nav-links a {
  position: relative;
  padding-block: 0.2rem;
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (min-width: 720px) {
  .nav-links { display: flex; }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem var(--gutter) 4rem;
  isolation: isolate;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle 540px at var(--mx, 30%) var(--my, 35%),
      rgba(11, 36, 243, 0.65) 0%, transparent 60%),
    radial-gradient(circle 720px at calc(var(--mx, 30%) + 18%) calc(var(--my, 35%) - 14%),
      rgba(124, 58, 237, 0.38) 0%, transparent 60%),
    radial-gradient(circle 460px at calc(var(--mx, 30%) - 14%) calc(var(--my, 35%) + 20%),
      rgba(0, 229, 255, 0.3) 0%, transparent 60%),
    radial-gradient(circle 380px at calc(var(--mx, 30%) + 30%) calc(var(--my, 35%) + 26%),
      rgba(255, 46, 154, 0.22) 0%, transparent 65%),
    var(--bg);
  filter: blur(48px) saturate(140%);
}
/* Deriva suave si no hay mouse (táctil) — micro-animación, no se gatea */
@media (hover: none) {
  .hero-gradient { animation: gradientDrift 16s ease-in-out infinite alternate; }
}
@keyframes gradientDrift {
  from { --mx: 25%; --my: 30%; transform: scale(1); }
  to   { --mx: 70%; --my: 60%; transform: scale(1.12); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 75%);
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  gap: 1.6rem;
  justify-items: center;
  text-align: center;
  max-width: 980px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.7rem, 9vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  transition: color 0.4s var(--ease-out);
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--mute);
  max-width: 52ch;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 0.6rem;
}
.hero-trust {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: var(--line);
  overflow: hidden;
}
.hero-scroll span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scrollHint 2.2s var(--ease-soft) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-110%); }
  100% { transform: translateY(290%); }
}

/* =============================================================
   6b. Confían en nosotros (logos clientes)
   ============================================================= */
.clients {
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.clients-kicker {
  text-align: center;
  margin-bottom: 1.8rem;
  padding: 0 var(--gutter);
}
.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientsScroll 30s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clientsScroll {
  to { transform: translateX(-50%); }
}
.client-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  margin-right: clamp(1.2rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.client-logo img { width: 64px; height: 64px; object-fit: contain; }
.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 36, 243, 0.3);
}

/* =============================================================
   7. Manifiesto
   ============================================================= */
.manifesto {
  padding: var(--section-pad) var(--gutter);
  display: grid;
  place-items: center;
}
.manifesto-text {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  line-height: 1.45;
  max-width: 60ch;
  text-align: center;
  font-weight: 300;
}
.manifesto-text em {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
}

/* =============================================================
   8. Servicios (filas expandibles)
   ============================================================= */
.services { padding: var(--section-pad) 0; }
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-out);
}
.service-row:hover { background: var(--bg-2); }
.service-head {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.6rem var(--gutter);
}
.service-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(11, 36, 243, 0.18);
  border: 1px solid rgba(61, 85, 255, 0.35);
  color: var(--accent);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
}
.service-ico svg { width: 22px; height: 22px; }
.service-row:hover .service-ico,
.service-row.is-open .service-ico {
  background: var(--brand);
  border-color: var(--brand-soft);
  color: #fff;
  transform: scale(1.06);
}
.service-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.service-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.2vw, 2rem);
  line-height: 1.15;
  transition: color 0.3s var(--ease-out), transform 0.45s var(--ease-out);
}
.service-row:hover .service-name { transform: translateX(10px); }
.service-meta {
  display: none;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.service-toggle {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--mute);
  transition: transform 0.45s var(--ease-out), color 0.3s var(--ease-out);
}
.service-row.is-open .service-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}
.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.service-row.is-open .service-body { grid-template-rows: 1fr; }
.service-body-inner {
  overflow: hidden;
  padding: 0 var(--gutter);
}
.service-body-inner p {
  max-width: 62ch;
  color: var(--mute);
  font-size: 1.05rem;
}
.service-cta {
  display: inline-block;
  margin: 1.1rem 0 1.8rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out);
}
.service-cta:hover { border-bottom-color: var(--accent); }

@media (min-width: 960px) {
  .service-head { grid-template-columns: 3.2rem 44px 1fr auto 3rem; }
  .service-meta { display: block; }
  .service-body-inner { padding-left: calc(var(--gutter) + 7rem); }
}

/* =============================================================
   9. Stats
   ============================================================= */
.stats {
  padding: var(--section-pad) var(--gutter);
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
}
.stat { display: grid; gap: 0.3rem; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1;
  color: var(--accent);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--mute);
  max-width: 22ch;
}
@media (min-width: 960px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   10. Planes
   ============================================================= */
.plans { padding: var(--section-pad) var(--gutter); }
.plans-grid {
  display: grid;
  gap: 1.2rem;
  max-width: 1240px;
  margin-inline: auto;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1.7rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.45s var(--ease-out), border-color 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 18px 48px rgba(11, 36, 243, 0.22);
}
.plan-featured { border-color: rgba(61, 85, 255, 0.55); }
.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.7rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--accent) -30%, var(--brand) 60%);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-cat {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.plan-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.9rem;
}
.plan-desc {
  color: var(--mute);
  font-size: 0.95rem;
  max-width: 42ch;
}
.pack-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(11, 36, 243, 0.18);
  border: 1px solid rgba(61, 85, 255, 0.35);
  color: var(--accent);
  margin-bottom: 0.6rem;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out),
              transform 0.35s var(--ease-out);
}
.pack-ico svg { width: 24px; height: 24px; }
.plan-card:hover .pack-ico {
  background: var(--brand);
  color: #fff;
  transform: scale(1.06);
}
.plan-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 1.6rem;
}
.tier {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.tier-hot {
  border-color: rgba(0, 229, 255, 0.5);
  color: var(--accent);
}

/* --- Plan estrella: Máquina de Ventas 24/7 --- */
.plan-hero {
  grid-column: 1 / -1;
  padding: 2.6rem 2rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(110deg, var(--gradient-3), var(--gradient-1) 45%, var(--gradient-4)) border-box;
}
.plan-hero:hover {
  border-color: transparent;
  box-shadow: 0 24px 70px rgba(11, 36, 243, 0.35);
}
.plan-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.plan-hero-info {
  display: grid;
  gap: 0.8rem;
  justify-items: start;
}
.plan-name-hero { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.plan-hero .btn-primary { margin-top: 0.6rem; }
.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.formula-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  background: rgba(11, 36, 243, 0.18);
  border: 1px solid rgba(61, 85, 255, 0.4);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.formula-item svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.formula-plus {
  font-family: var(--mono);
  font-size: 1.05rem;
  color: var(--accent);
}

@media (min-width: 720px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-hero-grid { grid-template-columns: 1.1fr 1fr; }
}

/* =============================================================
   11. Proceso
   ============================================================= */
.process { padding: var(--section-pad) var(--gutter); }
.process-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1240px;
  margin-inline: auto;
}
.process-step {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.process-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
}
.process-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11, 36, 243, 0.18);
  border: 1px solid rgba(61, 85, 255, 0.35);
  color: var(--accent);
}
.process-ico svg { width: 26px; height: 26px; }
.process-step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
}
.process-step p { color: var(--mute); max-width: 38ch; }
@media (min-width: 960px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   12. Casos de éxito (video + testimonios)
   ============================================================= */
.testimonials { padding: var(--section-pad) var(--gutter); background: var(--bg-2); border-block: 1px solid var(--line); }
.case-video {
  max-width: 920px;
  margin: 0 auto clamp(2.5rem, 6vh, 4rem);
}
.case-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(61, 85, 255, 0.4);
  background: var(--bg-card);
  box-shadow: 0 24px 70px rgba(11, 36, 243, 0.3);
}
.case-video figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.case-video figcaption svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.testimonial-grid {
  display: grid;
  gap: 1.2rem;
  max-width: 1240px;
  margin-inline: auto;
}
.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 2rem 1.7rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.testimonial p {
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
}
.testimonial footer {
  font-size: 0.85rem;
  color: var(--mute);
}
.testimonial footer strong { color: var(--ink); font-weight: 500; }
@media (min-width: 960px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   13. Academy
   ============================================================= */
.academy { padding: var(--section-pad) var(--gutter); }
.academy-inner {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.academy-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
}
.academy-sub { color: var(--mute); max-width: 48ch; }

/* =============================================================
   14. Contacto / CTA final
   ============================================================= */
.contact {
  position: relative;
  padding: var(--section-pad) var(--gutter) clamp(6rem, 14vh, 10rem);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.3rem;
  isolation: isolate;
}
.contact-gradient {
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 45% at 50% 75%, rgba(11, 36, 243, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 35% 85%, rgba(0, 229, 255, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.contact-sub { color: var(--mute); max-width: 46ch; }
.contact-link {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--ink);
  margin-top: 0.8rem;
  padding-bottom: 0.3rem;
}
.contact-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gradient-3), var(--gradient-1), var(--gradient-4));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.contact-link:hover::after { transform: scaleX(1); }
.contact-link:hover { color: var(--accent); transition: color 0.4s var(--ease-out); }
.contact-meta {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--mute);
}
.contact-meta a, .contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.contact-meta svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.contact-meta a:hover { color: var(--accent); }

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding: 1.6rem var(--gutter);
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mute);
}
.footer-tag { font-style: italic; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.footer-brand img { height: 30px; width: auto; opacity: 0.9; }

/* =============================================================
   16. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
}

/* =============================================================
   17. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span { animation: none; }
  .hero-gradient { animation: none; }
  /* Hovers, fades y count-ups se mantienen (micro-interacciones) */
}
