/* =============================================================
   Diseño Web — Archetype 05: Mouse-Reactive Gradient
   Single stylesheet, sectioned. Dark + electric neon accent.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0b0c0e;   /* neutral near-black */
  --bg-2:      #121317;
  --bg-3:      #181a1f;   /* card */
  --ink:       #f3f4f6;   /* near-white, never pure */
  --ink-soft:  #c9ccd3;
  --mute:      #868c96;
  --line:      rgba(243,244,246,0.10);
  --line-2:    rgba(243,244,246,0.18);

  --accent:    #9cb2d4;   /* muted steel blue — único acento */
  --accent-2:  #b8c4d8;   /* acero claro */
  --btn:       #eef1f6;   /* botón casi blanco */
  --btn-ink:   #0b0c0e;

  /* Tonos sobrios para el resplandor del hero (sin flúor) */
  --grad-1:    #3a4a63;
  --grad-2:    #45566f;
  --grad-3:    #2f3b4f;
  --grad-4:    #566a88;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1240px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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.02; letter-spacing: -0.02em; font-weight: 400; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.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: 600;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent-2);
  opacity: 0.7;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }   /* defensive (gotcha A.4.5) */

/* =============================================================
   4. Typography scale
   ============================================================= */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.display em { font-style: normal; color: var(--accent); }

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 52ch;
}

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: var(--btn-ink);
  background: var(--btn);
  box-shadow: 0 10px 34px -14px rgba(0,0,0,.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 16px 44px -14px rgba(0,0,0,.8);
}
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  transition: background .4s var(--ease-out), backdrop-filter .4s var(--ease-out), border-color .4s var(--ease-out), padding .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8,8,12,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
  padding-block: 0.8rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.brand .dot { color: var(--accent-2); }
.nav-links { display: none; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.9rem; color: var(--ink-soft);
  position: relative;
  transition: color .3s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--accent-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  padding: 8px; margin: -8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,8,12,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  gap: 1.4rem; padding: var(--gutter);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display); font-size: 2rem; color: var(--ink);
}
.mobile-menu a small { font-family: var(--mono); font-size: 0.7rem; color: var(--mute); display: block; }

/* =============================================================
   7. Hero — mouse-reactive gradient (SIGNATURE)
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  isolation: isolate;
}
/* Real workspace photo — bottom layer, heavily darkened */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/img/hero-code.jpg") center right / cover no-repeat;
  filter: grayscale(0.35) brightness(0.42) contrast(1.05);
  transform: scale(1.05);
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.16); }
}
.hero-gradient {
  position: absolute; inset: -20%;
  z-index: 1;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle 42vw at var(--mx, 30%) var(--my, 35%), var(--grad-2) 0%, transparent 46%),
    radial-gradient(circle 46vw at calc(var(--mx, 70%) + 22%) calc(var(--my, 60%) - 8%), var(--grad-1) 0%, transparent 44%),
    radial-gradient(circle 50vw at calc(var(--mx, 40%) - 14%) calc(var(--my, 70%) + 14%), var(--grad-4) 0%, transparent 48%),
    radial-gradient(circle 40vw at 80% 80%, var(--grad-3) 0%, transparent 50%);
  filter: blur(70px) saturate(150%);
  opacity: 0.5;
  transition: background 0.5s var(--ease-out);
  animation: heroFloat 22s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(6deg); }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,8,12,0.9) 0%, rgba(8,8,12,0.72) 38%, rgba(8,8,12,0.35) 70%, rgba(8,8,12,0.55) 100%),
    linear-gradient(180deg, rgba(8,8,12,0.55) 0%, transparent 25%, transparent 55%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 4; width: 100%; }
.hero .kicker { margin-bottom: 1.6rem; }
.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8.6vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin-bottom: 1.8rem;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note {
  margin-top: 2.6rem;
  font-family: var(--mono); font-size: 0.78rem; color: var(--mute);
  display: flex; align-items: center; gap: 0.6rem;
}
.hero-note .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(156,178,212,.5);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(156,178,212,.5); }
  70% { box-shadow: 0 0 0 12px rgba(156,178,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(156,178,212,0); }
}
.hero-trust {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  align-items: center;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.76rem; color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.hero-trust span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); flex-shrink: 0;
}

/* =============================================================
   8. Section shell
   ============================================================= */
.section { padding-block: clamp(5rem, 12vw, 9rem); position: relative; }
.section-head { margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.section-head .kicker { margin-bottom: 1.3rem; }
.section-head .lead { margin-top: 1.5rem; }

/* Manifesto */
.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 20ch;
  color: var(--ink);
}
.manifesto p .hl {
  color: var(--accent);
  font-style: normal;
}

/* =============================================================
   9. Services — expanding list rows (accordion)
   ============================================================= */
.services { border-top: 1px solid var(--line); }
.service-row {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.4rem, 3vw, 2.2rem);
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  transition: padding-left .4s var(--ease-out);
}
.service-row:hover { padding-left: 0.6rem; }
.service-num { font-family: var(--mono); font-size: 0.8rem; color: var(--mute); }
.service-name {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
  transition: color .3s var(--ease-out);
}
.service-row:hover .service-name,
.service-row.is-open .service-name {
  color: var(--accent);
}
.service-plus {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--ink-soft);
  transition: transform .4s var(--ease-out), border-color .3s, background .3s, color .3s;
}
.service-row.is-open .service-plus { transform: rotate(45deg); background: var(--accent); color: var(--btn-ink); border-color: var(--accent); }
.service-detail {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  transition: max-height .5s var(--ease-out), margin .5s var(--ease-out), opacity .5s var(--ease-out);
  opacity: 0;
}
.service-row.is-open .service-detail { max-height: 340px; opacity: 1; margin-top: 1.2rem; }
.service-detail p { color: var(--ink-soft); max-width: 60ch; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.service-tags span {
  font-family: var(--mono); font-size: 0.72rem; color: var(--accent-2);
  padding: 0.35rem 0.7rem; border: 1px solid var(--line); border-radius: 100px;
}

/* =============================================================
   10. Process — numbered blocks
   ============================================================= */
.process-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
.process-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent);
  position: relative;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out);
}
.process-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.process-step { font-family: var(--mono); font-size: 0.8rem; color: var(--accent-2); letter-spacing: 0.15em; }
.process-card h3 { font-family: var(--serif); font-size: 1.75rem; margin: 1.4rem 0 0.8rem; }
.process-card p { color: var(--mute); font-size: 0.98rem; }

/* =============================================================
   10b. Ideas para tu negocio
   ============================================================= */
.ideas-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.idea-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.idea-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.idea-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.1rem; }
.idea-icon {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--accent);
  background: var(--bg-3);
}
.idea-icon svg { width: 22px; height: 22px; }
.idea-num { font-family: var(--mono); font-size: 0.74rem; color: var(--mute); }
.idea-card h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.idea-card p { color: var(--mute); font-size: 0.92rem; line-height: 1.5; }

/* =============================================================
   10c. Checklist — todo lo que le podemos poner a tu web
   ============================================================= */
.checklist-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.checklist-group h3 {
  font-family: var(--display); font-weight: 500; font-size: 1.05rem;
  padding-bottom: 0.9rem; margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 0.6rem;
}
.checklist-group h3 .n { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); }
.checklist { display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.checklist li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* =============================================================
   11. Plans / pricing
   ============================================================= */
.plans-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: 1fr;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
  background: var(--bg-2);
  display: flex; flex-direction: column;
  transition: border-color .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan.is-featured {
  border-color: var(--accent);
  background: var(--bg-3);
  box-shadow: 0 30px 80px -44px rgba(0,0,0,.9);
}
.plan-badge {
  align-self: flex-start;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--btn-ink); background: var(--accent); padding: 0.3rem 0.7rem; border-radius: 100px;
  margin-bottom: 1.2rem;
}
.plan-name { font-family: var(--serif); font-size: 1.9rem; }
.plan-desc { color: var(--mute); font-size: 0.92rem; margin: 0.5rem 0 1.4rem; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1.6rem; }
.plan-price .from { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }
.plan-price .amount { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.plan-price .cur { font-size: 1rem; color: var(--ink-soft); }
.plan-price .per { font-family: var(--mono); font-size: 0.8rem; color: var(--mute); align-self: flex-end; margin-bottom: 0.35rem; }
.plan-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-actions .btn { margin-top: 0; justify-content: center; }
.plan-actions .btn-mp svg { width: 18px; height: 18px; }
.plan ul { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.8rem; }
.plan li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-soft); }
.plan li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--accent-2); }
.plan .btn { margin-top: auto; justify-content: center; }

/* =============================================================
   12. Stats
   ============================================================= */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem;
}
.stat-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.stat-label { font-family: var(--mono); font-size: 0.78rem; color: var(--mute); margin-top: 0.6rem; letter-spacing: 0.04em; }

/* =============================================================
   12b. Mensajes automáticos (marquee)
   ============================================================= */
.marquee-section { overflow: hidden; }
.marquee-section .section-head { margin-bottom: 2.6rem; }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee + .marquee { margin-top: 1.2rem; }
.marquee-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.marquee-2 .marquee-track { animation-duration: 60s; animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.msg-card {
  flex: 0 0 auto;
  width: min(80vw, 370px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  transition: border-color .3s var(--ease-out);
}
.msg-card:hover { border-color: var(--line-2); }
.msg-stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 0.8rem; }
.msg-text { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.55; }
.msg-meta { margin-top: 1.2rem; display: flex; align-items: center; gap: 0.75rem; }
.msg-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; color: var(--accent);
  flex-shrink: 0;
}
.msg-name { font-weight: 600; font-size: 0.9rem; }
.msg-role { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); }

/* =============================================================
   13. Contact
   ============================================================= */
.contact { position: relative; overflow: hidden; }
.contact-glow {
  position: absolute; inset: auto -10% -60% -10%; height: 90%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(156,178,212,.18), transparent 70%);
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.contact .wrap { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-mail {
  font-family: var(--display);
  font-size: clamp(1.9rem, 6vw, 3.6rem);
  line-height: 1.05;
  display: inline-block;
  position: relative;
}
.contact-mail::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.contact-mail:hover::after { transform: scaleX(1); }
.contact-meta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-meta a, .contact-meta span { color: var(--ink-soft); font-size: 0.98rem; }
.contact-meta .k { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; }

.form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--mono); font-size: 0.72rem; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  transition: border-color .3s var(--ease-out), background .3s;
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-3); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { align-self: flex-start; margin-top: 0.4rem; }
.form-hint { font-size: 0.82rem; color: var(--mute); }

/* =============================================================
   14. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 3rem 2.5rem;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer .brand { font-size: 1.5rem; }
.footer-legal { font-family: var(--mono); font-size: 0.74rem; color: var(--mute); }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { font-size: 0.88rem; color: var(--ink-soft); transition: color .3s; }
.footer-links a:hover { color: var(--accent-2); }

/* =============================================================
   14b. Botones flotantes (WhatsApp / Instagram / Chat)
   ============================================================= */
.fab-stack {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-end;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), filter .3s;
  position: relative;
}
.fab:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25d366; }
.fab-ig { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.fab-chat { background: var(--btn); color: var(--btn-ink); }
/* Tooltip */
.fab::after {
  content: attr(data-label);
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--bg-3); color: var(--ink); border: 1px solid var(--line);
  font-family: var(--sans); font-size: 0.8rem; white-space: nowrap;
  padding: 0.4rem 0.7rem; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease-out);
}
.fab:hover::after { opacity: 1; }

/* Chat panel */
.chat-panel {
  position: fixed; right: 1.1rem; bottom: 5.6rem; z-index: 201;
  width: min(92vw, 360px);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: min(70vh, 560px);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.chat-head .chat-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--btn); color: var(--btn-ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.chat-head .chat-title { font-family: var(--display); font-weight: 500; font-size: 0.98rem; }
.chat-head .chat-status { font-size: 0.74rem; color: var(--accent); display: flex; align-items: center; gap: 0.35rem; }
.chat-head .chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25d366; }
.chat-close { margin-left: auto; color: var(--mute); font-size: 1.3rem; line-height: 1; padding: 0.2rem 0.4rem; }
.chat-body { padding: 1.1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.chat-msg { max-width: 85%; padding: 0.7rem 0.9rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; }
.chat-msg.bot { background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--ink-soft); }
.chat-msg.user { background: var(--accent); color: var(--btn-ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.4rem 1.1rem 0.2rem; }
.chat-quick button {
  font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 0.45rem 0.8rem;
  transition: border-color .25s, color .25s, background .25s;
}
.chat-quick button:hover { border-color: var(--accent); color: var(--ink); }
.chat-foot { padding: 0.8rem 1.1rem 1.1rem; border-top: 1px solid var(--line); }
.chat-foot .btn { width: 100%; justify-content: center; background: #25d366; color: #06331a; }
.chat-foot .btn:hover { background: #22c15d; }

/* =============================================================
   14c. Pago Mercado Pago
   ============================================================= */
.pay-box {
  margin-top: 1.6rem; padding: 1.2rem 1.3rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between;
}
.pay-box .pay-txt { font-size: 0.9rem; color: var(--ink-soft); max-width: 34ch; }
.pay-box .pay-txt strong { color: var(--ink); }
.btn-mp { background: #009ee3; color: #fff; }
.btn-mp:hover { background: #0089c7; transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #06331a; }
.btn-wa:hover { background: #22c15d; transform: translateY(-2px); }

/* =============================================================
   14e. Instagram — mockup de dispositivo (celular / tablet / laptop)
   ============================================================= */
.ig-switch {
  display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
  margin: 0.4rem 0 2.4rem;
}
.ig-switch-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem; border-radius: 100px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-soft);
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.03em; cursor: pointer;
  transition: border-color .3s var(--ease-out), color .3s, background .3s, transform .3s;
}
.ig-switch-btn svg { width: 16px; height: 16px; }
.ig-switch-btn:hover { color: var(--ink); border-color: var(--ink-soft); }
.ig-switch-btn.is-active { background: var(--accent); color: var(--btn-ink); border-color: var(--accent); }

.ig-stage {
  display: flex; justify-content: center;
  min-height: 620px; align-items: flex-start;
  perspective: 1600px;
}
.ig-frame {
  position: relative; margin: 0 auto; background: #0a0a0b;
  box-shadow: 0 50px 120px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.04) inset;
  transition: width .55s var(--ease-out), border-radius .55s var(--ease-out),
              border-width .55s var(--ease-out);
}
.ig-frame[data-device="phone"]  { width: 300px; max-width: 84vw; border: 11px solid #17181c; border-radius: 42px; }
.ig-frame[data-device="tablet"] { width: 470px; max-width: 90vw; border: 15px solid #17181c; border-radius: 30px; }
.ig-frame[data-device="laptop"] { width: 720px; max-width: 92vw; border: 14px solid #17181c; border-radius: 16px; margin-bottom: 22px; }

.ig-screen {
  position: relative; overflow-y: auto; overflow-x: hidden;
  border-radius: 30px; background: #fff;
  scrollbar-width: none;
}
.ig-screen::-webkit-scrollbar { display: none; }
.ig-frame[data-device="phone"]  .ig-screen { height: 560px; border-radius: 31px; }
.ig-frame[data-device="tablet"] .ig-screen { height: 600px; border-radius: 16px; }
.ig-frame[data-device="laptop"] .ig-screen { height: 430px; border-radius: 3px; background: #f2f3f5; }

/* Notch del celular */
.ig-frame[data-device="phone"]::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 130px; height: 22px; background: #17181c; border-radius: 0 0 15px 15px; z-index: 4;
}
/* Cámara de la tablet */
.ig-frame[data-device="tablet"]::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: #34363b; z-index: 4;
}
/* Base de la laptop */
.ig-frame[data-device="laptop"]::after {
  content: ""; position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  width: 150px; height: 12px; background: #17181c; border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 16px -8px rgba(0,0,0,.7);
}
/* En laptop, la app de IG se centra como en el navegador */
.ig-frame[data-device="laptop"] .ig-app { max-width: 380px; margin: 0 auto; background: #fff; min-height: 100%; }

/* ---- Interfaz de Instagram (clara) ---- */
.ig-app { background: #fff; color: #0f0f0f; font-family: var(--sans); }
.ig-topbar {
  position: sticky; top: 0; z-index: 2; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 15px 10px; border-bottom: 1px solid #efefef;
}
.ig-topname { font-weight: 700; font-size: 0.98rem; }
.ig-topdots { color: #262626; letter-spacing: 1px; font-size: 0.8rem; }
.ig-head { display: flex; align-items: center; gap: 18px; padding: 16px 16px 6px; }
.ig-avatar {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
  padding: 2.5px; background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);
  display: grid; place-items: center;
}
.ig-avatar span {
  width: 100%; height: 100%; border-radius: 50%; background: #0c0c0d; color: #e5b53a;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  letter-spacing: 0.02em; border: 2px solid #fff;
}
.ig-stats { display: flex; gap: 6px; flex: 1; }
.ig-stats > div { flex: 1; text-align: center; display: flex; flex-direction: column; }
.ig-stats b { font-size: 1.02rem; color: #0f0f0f; }
.ig-stats span { font-size: 0.78rem; color: #4a4a4a; }
.ig-meta { padding: 2px 16px 0; }
.ig-fullname { font-weight: 600; font-size: 0.9rem; }
.ig-bio { font-size: 0.84rem; color: #1c1c1c; white-space: pre-line; line-height: 1.4; margin-top: 2px; }
.ig-actions { display: flex; gap: 7px; padding: 12px 16px; }
.ig-follow, .ig-msg {
  flex: 1; text-align: center; padding: 7px 0; border-radius: 9px;
  font-size: 0.85rem; font-weight: 600;
}
.ig-follow { background: #0095f6; color: #fff; }
.ig-msg { background: #efefef; color: #0f0f0f; }
.ig-tabs { display: flex; border-top: 1px solid #efefef; }
.ig-tabs span { flex: 1; display: grid; place-items: center; padding: 9px; color: #a8a8a8; }
.ig-tabs span svg { width: 20px; height: 20px; }
.ig-tabs span.on { color: #0f0f0f; box-shadow: inset 0 1px 0 #0f0f0f; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-tile { aspect-ratio: 4 / 5; background-size: cover; background-position: center; }
.ig-tile-ph { display: grid; place-items: center; }
.ig-tile-ph span { font-family: var(--serif); font-weight: 700; color: rgba(255,255,255,.85); font-size: 1.3rem; }

.ig-cta { display: flex; justify-content: center; margin-top: 2.2rem; }

/* =============================================================
   14f. Ejemplos de páginas — carrusel deslizable
   ============================================================= */
.works-slider {
  display: flex; gap: 1.4rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.6rem clamp(1.1rem, 6vw, 5rem) 1.6rem;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-padding-left: clamp(1.1rem, 6vw, 5rem);
}
.works-slider::-webkit-scrollbar { display: none; }
.work-card { flex: 0 0 auto; width: min(86vw, 560px); scroll-snap-align: center; }
.work-window {
  border-radius: 14px; overflow: hidden; background: #101114;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.95);
  transition: transform .4s var(--ease-out), border-color .4s;
}
.work-card:hover .work-window { transform: translateY(-6px); border-color: var(--ink-soft); }
.work-bar {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: #17181c;
}
.work-dots { display: inline-flex; gap: 5px; }
.work-dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d43; }
.work-dots i:nth-child(1) { background: #ff5f57; }
.work-dots i:nth-child(2) { background: #febc2e; }
.work-dots i:nth-child(3) { background: #28c840; }
.work-url {
  flex: 1; text-align: center; font-family: var(--mono); font-size: 0.7rem;
  color: #8a8f98; background: #0e0f12; border-radius: 6px; padding: 4px 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work-screen { aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }

/* Mini-sitio dentro del navegador */
.mini { height: 100%; display: flex; flex-direction: column; background: #fff; color: #111; font-family: var(--sans); }
.mini-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #eee; }
.mini-logo { font-family: var(--serif); font-weight: 700; font-size: 0.95rem; }
.mini-menu { display: inline-flex; gap: 6px; }
.mini-menu i { width: 20px; height: 5px; border-radius: 3px; background: #e6e6e8; }
.mini-hero {
  position: relative; flex: 1; min-height: 0;
  background-size: cover; background-position: center;
  display: flex; align-items: center; padding: 0 clamp(14px, 4vw, 28px);
}
.mini-hero-in { color: #fff; max-width: 74%; }
.mini-eyebrow {
  display: inline-block; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: 100px;
  backdrop-filter: blur(4px); margin-bottom: 8px;
}
.mini-hero-in h4 { font-family: var(--serif); font-size: clamp(1.05rem, 4vw, 1.6rem); line-height: 1.05; }
.mini-hero-in p { font-size: 0.76rem; opacity: 0.92; margin-top: 4px; }
.mini-btn {
  display: inline-block; margin-top: 10px; color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 6px 12px; border-radius: 7px;
}
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px 12px; background: #fafafa; }
.mini-cards span { height: 34px; border-radius: 6px; background: linear-gradient(180deg, #f0f0f2, #e6e6ea); }
.work-cap { text-align: center; margin-top: 0.9rem; font-family: var(--mono); font-size: 0.76rem; color: var(--mute); }
.work-cap b { color: var(--ink); }

.work-nav { display: flex; justify-content: center; gap: 0.8rem; margin-top: 0.6rem; }
.work-arrow {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink);
  display: grid; place-items: center;
  transition: background .3s var(--ease-out), border-color .3s, transform .3s, opacity .3s;
}
.work-arrow svg { width: 20px; height: 20px; }
.work-arrow:hover { background: var(--accent); color: var(--btn-ink); border-color: var(--accent); transform: translateY(-2px); }
.work-arrow:disabled { opacity: 0.35; cursor: default; transform: none; background: var(--bg-2); color: var(--ink); border-color: var(--line); }

/* =============================================================
   14d. Ventana de pedido de plan (modal)
   ============================================================= */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,5,7,.72);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 1.2rem;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease-out);
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(94vw, 440px);
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 20px; padding: 1.7rem;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.85);
  transform: translateY(14px) scale(.98); transition: transform .3s var(--ease-out);
  max-height: 92vh; overflow-y: auto;
}
.modal-backdrop.is-open .modal { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.modal-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.modal-title { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; margin-top: .35rem; }
.modal-price { font-family: var(--mono); color: var(--ink-soft); font-size: .85rem; margin-top: .35rem; }
.modal-close { color: var(--mute); font-size: 1.6rem; line-height: 1; padding: .1rem .4rem; transition: color .2s; }
.modal-close:hover { color: var(--ink); }
.modal .field { margin-bottom: .9rem; }
.modal-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.1rem; }
.modal-actions .btn { justify-content: center; }
.modal-note { font-size: .8rem; color: var(--mute); margin-top: .9rem; text-align: center; }

/* =============================================================
   15. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .ideas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .checklist-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .ideas-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   16. Reduced-motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-gradient { animation: none; }
  .hero-note .live { animation: none; }
}

/* =============================================================
   17. Extras inspirados en 21st.dev
   - Container Scroll (tarjeta 3D que se endereza al scrollear)
   - Spotlight en tarjetas (luz que sigue al mouse)
   - Brillo en botón primario
   ============================================================= */
.cs { padding-inline: var(--gutter); }
.cs-stage {
  max-width: var(--maxw); margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
  perspective: 1000px;
}
.cs-head { text-align: center; max-width: 22ch; margin: 0 auto clamp(1.5rem, 4vw, 3rem); will-change: transform; }
.cs-head .kicker { margin-bottom: 1.1rem; }
.cs-card {
  max-width: 1000px; margin-inline: auto;
  height: clamp(300px, 52vw, 560px);
  padding: clamp(6px, 1.4vw, 22px);
  background: #1b1c20;
  border: 4px solid #4a4d55;
  border-radius: 30px;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a;
  transform: rotateX(20deg) scale(1.05);
  transform-origin: center top;
  will-change: transform;
}
.cs-screen {
  height: 100%; border-radius: 16px; overflow: hidden;
  background: #f3f4f6; display: flex; flex-direction: column;
}
.cs-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 0.6rem 0.9rem; background: #e6e8ec; border-bottom: 1px solid #d6d9de;
}
.cs-bar .work-url { color: #6b7078; background: #fff; }
.cs-site { flex: 1; min-height: 0; display: flex; flex-direction: column; color: #16181c; }
.cs-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem clamp(0.8rem, 3vw, 2rem); background: #fff;
}
.cs-nav b { font-family: var(--display); letter-spacing: -0.01em; }
.cs-nav span { display: inline-flex; flex-direction: column; gap: 3px; }
.cs-nav span i { width: 18px; height: 2px; background: #16181c; }
.cs-hero {
  flex: 1; min-height: 0; background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  gap: 0.6rem; padding: clamp(1rem, 4vw, 3rem); color: #fff;
}
.cs-hero small { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; opacity: .85; }
.cs-hero h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 4.2vw, 3.2rem); max-width: 14ch; line-height: 1.02; }
.cs-btn { background: #fff; color: #16181c; font-weight: 600; font-size: 0.85rem; padding: 0.6rem 1.2rem; border-radius: 100px; }
.cs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; padding: 0.7rem clamp(0.8rem, 3vw, 2rem); background: #fff; }
.cs-cards span { height: clamp(26px, 5vw, 54px); border-radius: 8px; background: #e9ebef; }

/* Spotlight: luz que sigue al mouse dentro de la tarjeta */
.idea-card, .plan { position: relative; }
.idea-card::after, .plan::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(156,178,212,0.14), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease-out);
}
.idea-card:hover::after, .plan:hover::after { opacity: 1; }

/* Brillo que cruza el botón primario */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(156,178,212,.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform .8s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .cs-card { transform: none !important; }
  .cs-head { transform: none !important; }
  .btn-primary:hover::after { transition: none; }
}

/* =============================================================
   Glyph Portal — la cámara entra por una letra de "NEGOCIO"
   ============================================================= */
.gp { position: relative; background: var(--btn); color: var(--btn-ink); isolation: isolate; }
.gp-pin { position: relative; height: 100svh; overflow: clip; }
.gp-field { position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,14,.45), rgba(11,12,14,.75)), url('assets/img/hero-code.jpg') center/cover, #1b2433;
  transform: scale(var(--gp-field-scale, 1)); }
.gp.is-ready .gp-field { opacity: 1; }
.gp-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gp-art text { font-family: var(--display); font-weight: 700; font-size: 100px; font-kerning: none; font-variant-ligatures: none; }
.gp-front { position: absolute; inset: 0; opacity: var(--gp-caption, 1); pointer-events: none; font-family: var(--display); }
.gp-logo { position: absolute; top: clamp(20px, 4vw, 44px); left: var(--gutter); font-weight: 600; font-size: 19px; letter-spacing: -.04em; }
.gp-eyebrow { position: absolute; left: 0; right: 0; bottom: calc(100% - var(--gp-word-top, 35%) + 24px); margin: 0; text-align: center; font-size: 14px; color: #5b616b; }
.gp-support { position: absolute; left: 24px; right: 24px; top: calc(var(--gp-word-bottom, 55%) + 28px); margin: 0 auto; max-width: 34ch; text-align: center; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.5; color: #4a505a; font-family: var(--sans); }
.gp-scroll { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font: 11px var(--mono); color: #777d87; letter-spacing: .02em; }
.gp-content { position: relative; display: grid; align-content: center; min-height: 100svh; padding: clamp(3rem, 8vw, 6rem) var(--gutter); background: var(--bg); color: var(--ink); }
.gp-copy { width: min(100%, 72rem); margin: auto; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.75rem, 5vh, 3rem); }
.gp-copy h2 { margin: 0; max-width: 26ch; font: 500 clamp(1.8rem, 1rem + 3vw, 3rem)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.gp-features { display: grid; grid-template-columns: 1fr; gap: 1.75rem; width: 100%; }
.gp-feature { border-top: 1px solid var(--line-2); padding-top: 1.1rem; }
.gp-feature h3 { margin: 0; font: 500 1.125rem var(--display); }
.gp-feature h3 span { margin-right: .7rem; font: 500 .75rem var(--mono); color: var(--accent); letter-spacing: .08em; }
.gp-feature p { margin: .55rem 0 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }
@media (min-width: 768px) { .gp-features { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
/* Sin JS o con reduced-motion: sólo se ve el contenido, como sección normal */
.gp:not(.is-motion) .gp-pin { display: none; }
.gp:not(.is-motion) { background: var(--bg); }
.gp:not(.is-motion) .gp-content { min-height: 0; }
.gp.is-motion .gp-pin { position: sticky; top: 0; }
.gp.is-motion .gp-content { margin-top: calc((var(--gp-length) - 1) * var(--gp-height)); background: transparent; opacity: var(--gp-reveal, 0); pointer-events: none; }
.gp.is-motion.is-entered .gp-content { pointer-events: auto; }

/* =============================================================
   Zoom Parallax — las páginas hechas, entrando una por una
   ============================================================= */
.zp-head { text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--gutter) clamp(1rem, 3vw, 2rem); }
.zp-head .kicker { margin-bottom: 1rem; }
.zp-head .section-title { max-width: 18ch; margin-inline: auto; }
.zp-hint { margin: 1.2rem 0 0; font: 12px var(--mono); color: var(--mute); }
.zp-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; padding: 0 var(--gutter) 3rem; max-width: var(--maxw); margin-inline: auto; }
.zp-tile { position: relative; margin: 0; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.zp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .8rem .6rem; background: linear-gradient(transparent, rgba(0,0,0,.78)); font: 600 .78em var(--display); color: #fff; display: flex; justify-content: space-between; gap: .5rem; }
.zp-tile figcaption span { font: 400 .85em var(--mono); opacity: .8; }
/* modo animado (lo activa el JS) */
.zp.is-on .zp-track { position: relative; height: 300vh; }
.zp.is-on .zp-stage { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; overflow: hidden; padding: 0; max-width: none; }
.zp.is-on .zp-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform: scale(var(--zs, 1)); }
.zp.is-on .zp-tile { position: relative; width: 25vw; height: 25vh; aspect-ratio: auto; border-radius: 0; border: 0; flex: none; }
.zp.is-on .zp-tile figcaption { font-size: clamp(5px, .9vw, 11px); padding: .8em .6em .4em; }
.zp.is-on .zp-layer:nth-child(2) .zp-tile { top: -30vh; left: 5vw; height: 30vh; width: 35vw; }
.zp.is-on .zp-layer:nth-child(3) .zp-tile { top: -10vh; left: -25vw; height: 45vh; width: 20vw; }
.zp.is-on .zp-layer:nth-child(4) .zp-tile { left: 27.5vw; height: 25vh; width: 25vw; }
.zp.is-on .zp-layer:nth-child(5) .zp-tile { top: 27.5vh; left: 5vw; height: 25vh; width: 20vw; }
.zp.is-on .zp-layer:nth-child(6) .zp-tile { top: 27.5vh; left: -22.5vw; height: 25vh; width: 30vw; }
.zp.is-on .zp-layer:nth-child(7) .zp-tile { top: 22.5vh; left: 25vw; height: 15vh; width: 15vw; }

/* ---- Pestañas (servicios / planes) ---- */
.tab-list { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.6rem; padding: .3rem; border: 1px solid var(--line-2); border-radius: 999px; width: fit-content; max-width: 100%; }
.tab { font: 500 .9rem var(--sans); color: var(--ink-soft); background: transparent; border: 0; padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 44px; }
.tab.is-active { background: var(--btn); color: var(--btn-ink); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabIn .35s ease both; }
.tab-lead { margin: 0 0 1.5rem; max-width: 60ch; }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel .pay-box { margin-top: 1.5rem; }

/* ---- Celular: menos scroll ---- */
@media (max-width: 720px) {
  .section { padding-block: 3rem; }
  .hero { min-height: 0; align-items: flex-start; padding-top: 5.5rem; padding-bottom: 2.5rem; }
  .section-head { margin-bottom: 1.4rem; }
  .section-head .lead, .hero-trust, .hero-note { display: none; }
  .zp.is-on .zp-track { height: 200vh; }
  .zp-head { padding-block: 2.5rem 1rem; }
  .tab-list { width: 100%; justify-content: space-between; border-radius: 16px; }
  .tab { flex: 1 1 auto; padding: .6rem .5rem; font-size: .82rem; }
  .ideas-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .idea-card { padding: .9rem; }
  .idea-card p { display: none; }
  .idea-top { margin-bottom: .5rem; }
}

/* Chat bot: ícono de robot con auriculares */
.fab-chat { background: #e8f0ff; }
.fab .bot { width: 38px; height: 38px; }
.chat-head .chat-ava { background: #e8f0ff; }
.chat-head .chat-ava .bot { width: 30px; height: 30px; }

/* =============================================================
   Cinta de tiendas (se mueve de costado)
   ============================================================= */
.stores { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem); overflow: hidden; }
.stores-head { text-align: center; padding-inline: var(--gutter); margin-bottom: clamp(1.4rem, 4vw, 2.6rem); }
.stores-head .kicker { margin-bottom: 1rem; }
.stores-head .section-title { max-width: 20ch; margin-inline: auto; }
.stores-rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.stores-track { display: flex; gap: 1.1rem; width: max-content; animation: storesMove var(--st-dur, 40s) linear infinite; }
.stores-rail:hover .stores-track, .stores-rail:focus-within .stores-track, .stores-rail.is-paused .stores-track { animation-play-state: paused; }
@keyframes storesMove { to { transform: translateX(calc(-1 * var(--st-shift, 50%))); } }
.st-card { flex: none; width: clamp(260px, 30vw, 360px); display: block; color: inherit; text-decoration: none; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; cursor: default; }
.st-card.is-link { cursor: pointer; transition: transform .25s ease, border-color .25s ease; }
.st-card.is-link:hover, .st-card.is-link:focus-visible { transform: translateY(-4px); border-color: var(--accent); }
.st-bar { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-bottom: 1px solid var(--line); background: #121317; }
.st-shot { aspect-ratio: 16 / 10; background-size: cover; background-position: top center; }
.st-info { display: grid; gap: .15rem; padding: .8rem .95rem 1rem; }
.st-info strong { font: 600 1rem var(--display); }
.st-info span { font-size: .8rem; color: var(--mute); }
.st-info em { font: normal 500 .72rem var(--mono); color: var(--accent); margin-top: .35rem; }
.st-card:not(.is-link) .st-info em { color: var(--mute); }
@media (prefers-reduced-motion: reduce) {
  .stores-rail { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .stores-track { animation: none; }
}
@media (max-width: 720px) { .st-card { width: 72vw; } }
