/* ===========================================================================
   Pixeleo — sistema de diseño compartido
   Todas las páginas linkean este archivo. Estética: navy/gold, fondo fluido.
   =========================================================================== */

@font-face {
  font-family: 'Malvinas Sans';
  src: url('/assets/fonts/MalvinasSans-Regular.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --navy:   #1B2D52;
  --navy-d: #0D1B33;
  --gold:   #F5A623;
  --orange: #E8820C;
  --blue:   #4BAFD9;
  --cream:  #F5F0E8;
  --green:  #34D399;

  --ink-1: #ffffff;
  --ink-2: rgba(255,255,255,.66);
  --ink-3: rgba(255,255,255,.44);
  --line:  rgba(255,255,255,.09);

  --wrap: 1120px;
  --radius: 16px;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 90px;
  -ms-overflow-style: none; scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--navy-d);
  color: var(--ink-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
::selection { background: var(--gold); color: var(--navy-d); }

.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; }

/* ── Custom cursor ────────────────────────────────────────── */
#cursor { position: fixed; top: 0; left: 0; z-index: 1000000; pointer-events: none; mix-blend-mode: difference; display: none; will-change: transform; }
.cursor__body {
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
#cursor.is-hover .cursor__body { transform: translate(-50%, -50%) scale(1.7); }
.cursor__label { color: var(--navy-d); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .42rem; white-space: nowrap; opacity: 0; transition: opacity .2s; }
#cursor.is-hover .cursor__label { opacity: 1; }
@media (min-width: 900px) and (pointer: fine) {
  #cursor { display: block; }
  body, a, button, [data-hover], a.btn, button.btn { cursor: none; }
}

/* ── Fondo fluido ────────────────────────────────────────── */
.fluid-bg { position: fixed; inset: 0; z-index: -10; overflow: hidden; background: linear-gradient(150deg, var(--navy), #14223f 45%, var(--navy-d)); }
.fluid-bg .blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; filter: blur(44px); will-change: transform; }
.fluid-bg .blob--a { top: -12%; left: -10%; width: 85vw; height: 85vw; background: var(--gold); opacity: .12; animation: blobA 27s linear infinite; }
.fluid-bg .blob--b { top: 18%; right: -22%; width: 100vw; height: 80vw; background: var(--blue); opacity: .12; animation: blobB 33s ease-in-out infinite; }
.fluid-bg .blob--c { bottom: -22%; left: 15%; width: 78vw; height: 78vw; background: var(--orange); opacity: .09; animation: blobC 39s ease-in-out infinite; }
@keyframes blobA { 0%,100%{transform:translate(0,0)} 33%{transform:translate(50px,-25px)} 66%{transform:translate(-25px,25px)} }
@keyframes blobB { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-50px,50px)} 66%{transform:translate(25px,-25px)} }
@keyframes blobC { 0%,100%{transform:translate(0,0)} 33%{transform:translate(70px,-45px)} 66%{transform:translate(-70px,45px)} }
.fluid-bg .star { position: absolute; border-radius: 50%; background: #fff; will-change: opacity, transform; animation: twinkle var(--d,5s) ease-in-out infinite; animation-delay: var(--delay,0s); }
@keyframes twinkle { 0%,100%{opacity:var(--o,.4);transform:scale(1)} 50%{opacity:1;transform:scale(1.6)} }
.fluid-bg .grid-lines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(245,166,35,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(245,166,35,.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.fluid-bg .grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fluid-bg .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.6) 100%); }

/* ── Header ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 1.5rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
@media (min-width: 768px) { .nav { padding: 1rem 2rem; } }
.nav.scrolled { background: rgba(13,27,51,.9); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav__logo { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; }
.nav__logo img { height: 38px; width: auto; filter: drop-shadow(0 1px 10px rgba(0,0,0,.4)); }
.nav__links { display: none; gap: 1.75rem; }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__links a { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--gold); }
.nav__burger { display: flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; background: none; border: none; }
@media (min-width: 900px) { .nav__burger { display: none; } }
.nav__burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(13,27,51,.97); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.15rem;
  padding: 5rem 2rem 2rem; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer a { font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.nav-drawer a:hover, .nav-drawer a[aria-current="page"] { color: var(--gold); }
.nav-drawer .btn { margin-top: 1.25rem; font-size: .8rem; padding: .8rem 1.6rem; }

/* ── WhatsApp flotante ───────────────────────────────────── */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
}
.wa-float > * { pointer-events: auto; }
.wa-float__dog {
  position: relative; display: block; width: 110px; height: 110px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.25));
  animation: waFloat 3s ease-in-out infinite;
  transition: transform .3s var(--ease);
}
.wa-float__dog img { width: 100%; height: 100%; object-fit: contain; }
.wa-float__dog:hover { animation: none; transform: translateY(-6px) scale(1.08); }
/* Badge verde de WhatsApp: solo en mobile (en desktop la burbuja ya lo muestra). */
.wa-float__badge { display: none; }
.wa-float__bubble {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; color: var(--navy); border: 2px solid var(--navy);
  font-size: .78rem; font-weight: 700; line-height: 1; text-decoration: none;
  padding: .5rem .75rem; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18); white-space: nowrap; position: relative;
  animation: waBubblePop .5s cubic-bezier(.34,1.56,.64,1) 1s both;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float__bubble:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.24); }
.wa-float__bubble svg { width: 15px; height: 15px; fill: #25D366; flex-shrink: 0; }
.wa-float__bubble::after {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 10px solid var(--navy);
}
.wa-float__bubble::before {
  content: ''; position: absolute; z-index: 1; bottom: -7px; left: 50%; transform: translateX(-50%);
  border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 8px solid #fff;
}
@media (max-width: 540px) {
  .wa-float { right: 12px; bottom: 12px; }
  .wa-float__dog { width: 72px; height: 72px; }
  .wa-float__bubble { display: none; }
  .wa-float__badge {
    display: flex; align-items: center; justify-content: center;
    position: absolute; right: -1px; bottom: 2px;
    width: 26px; height: 26px; border-radius: 50%;
    background: #25D366; border: 2px solid var(--navy-d);
  }
  .wa-float__badge svg { width: 14px; height: 14px; fill: #fff; }
}
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes waBubblePop { from { opacity: 0; transform: scale(.7) translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Footer ──────────────────────────────────────────────── */
.foot { position: relative; z-index: 10; background: var(--cream); color: var(--navy-d); border-top: 3px solid var(--gold); padding: 3rem 1.5rem 2.25rem; }
.foot__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; } }
.foot__lockup { height: 54px; width: auto; }
.foot__col h3 { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(13,27,51,.5); margin-bottom: .9rem; }
.foot__col a { display: block; font-size: .9rem; color: rgba(13,27,51,.78); padding: .28rem 0; }
.foot__col a:hover { color: var(--orange); }
.foot__social { display: flex; gap: .55rem; padding: .4rem 0; }
.foot__col a.foot__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(13,27,51,.2); color: var(--navy-d);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.foot__col a.foot__ic:hover { background: var(--navy-d); color: #fff; border-color: var(--navy-d); transform: translateY(-2px); }
.foot__ic svg { width: 18px; height: 18px; fill: currentColor; }
.foot__legal { max-width: var(--wrap); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(13,27,51,.12); display: flex; flex-direction: column; align-items: center; gap: .55rem; text-align: center; font-size: .74rem; color: rgba(13,27,51,.5); }
.foot__heart { color: var(--orange); }
.foot__malvinas { display: inline-flex; align-items: center; gap: .5rem; color: rgba(13,27,51,.55); }
.foot__malvinas-flag { display: flex; flex-direction: column; overflow: hidden; width: 17px; height: 12px; border-radius: 1px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(13,27,51,.14); }
.foot__malvinas-flag span { flex: 1; }
.foot__malvinas-flag span:nth-child(1), .foot__malvinas-flag span:nth-child(3) { background: #75AADB; }
.foot__malvinas-flag span:nth-child(2) { background: #fff; }
.foot__malvinas-text { font-family: 'Malvinas Sans', 'Space Grotesk', sans-serif; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }

/* ── Botones ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.9rem; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: .92rem;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s, background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn--gold { background: var(--gold); color: var(--navy-d); }
.btn--gold:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,166,35,.3); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--lg { padding: 1.1rem 2.4rem; font-size: 1rem; }

/* ── Layout / secciones ──────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { position: relative; z-index: 10; padding: 5.5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section--glass { background: rgba(0,0,0,.24); backdrop-filter: blur(5px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 4rem 0; }

/* Sección de fondo claro — corta la monotonía oscura */
.section--light { background: var(--cream); color: var(--navy-d); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.section--light .kicker { color: var(--orange); }
.section--light .h2 { color: var(--navy-d); }
.section--light .h2 .accent { color: var(--orange); }
.section--light .lead { color: rgba(13,27,51,.62); }
.section--light .step__n { color: var(--gold); }
.section--light .step h3 { color: var(--navy-d); }
.section--light .step p { color: rgba(13,27,51,.62); }

.kicker {
  display: inline-flex; align-items: center;
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; color: var(--gold); margin-bottom: 1.1rem;
}
.kicker::before {
  content: ""; width: 1.6rem; height: 1px; margin-right: .7rem;
  background: currentColor; opacity: .55;
}
.h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 700; }
.h2 .accent { color: var(--gold); }
.lead { margin-top: 1rem; max-width: 44rem; color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.eyebrow-line { color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

/* ── Reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee { position: relative; z-index: 20; width: 100%; background: var(--cream); color: var(--navy-d); overflow: hidden; padding: .45rem 0; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.hero .marquee { position: absolute; left: 0; right: 0; bottom: 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee__group { display: flex; white-space: nowrap; flex-shrink: 0; }
.marquee__group span { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(.7rem, 1.5vw, .9rem); padding: 0 .9rem; display: flex; align-items: center; gap: .8rem; }
.marquee__group .bullet { color: var(--gold); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Hero (home) ─────────────────────────────────────────── */
.hero { position: relative; min-height: 600px; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 4.5rem 1.25rem 4.5rem; text-align: center; }
.hero__inner { z-index: 10; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 60rem; will-change: transform, opacity; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; max-width: 92vw;
  font-size: .78rem; font-weight: 600; color: var(--gold);
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  background: rgba(13,27,51,.8);
  border: 1px solid rgba(245,166,35,.28); padding: .6rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
@media (max-width: 540px) { .hero__eyebrow { font-size: .68rem; padding: .5rem .9rem; letter-spacing: .1em; } }
.hero__eyebrow .dot { flex-shrink: 0; width: .45rem; height: .45rem; border-radius: 50%; background: var(--gold); animation: pingdot 2s ease-in-out infinite; }
@keyframes pingdot { 0%,100%{opacity:1} 50%{opacity:.25} }
.hero__title { position: relative; width: 100%; margin: 0; line-height: 0; display: flex; justify-content: center; }
#hero-canvas { display: block; width: 100%; height: clamp(78px, 13.5vw, 150px); }
.hero__orb { position: absolute; z-index: -1; left: 50%; top: 50%; width: 48vw; height: 48vw; border-radius: 50%; background: rgba(245,166,35,.06); filter: blur(44px); transform: translate(-50%,-50%); animation: orbPulse 6s ease-in-out infinite; }
@keyframes orbPulse { 0%,100%{transform:translate(-50%,-50%) scale(.8);opacity:.35} 50%{transform:translate(-50%,-50%) scale(1.2);opacity:.7} }
.hero__divider { width: 100%; max-width: 26rem; height: 1px; background: linear-gradient(90deg, transparent, rgba(245,166,35,.6), transparent); margin: .5rem 0 1rem; transform: scaleX(0); animation: growX 1.4s .5s cubic-bezier(0,.55,.45,1) forwards; }
@keyframes growX { to { transform: scaleX(1); } }
.hero__tagline { font-size: clamp(1.2rem, 3.2vw, 2rem); font-weight: 500; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero__sub { margin-top: .9rem; font-size: 1rem; font-weight: 300; max-width: 34rem; color: var(--ink-2); line-height: 1.6; }
.hero__ctas { margin-top: 1.8rem; display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.reveal-hero { opacity: 0; animation: fadeUp 1s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── Bloques de problema (home) ──────────────────────────── */
.problems { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 720px) { .problems { grid-template-columns: 1fr 1fr; } }
.problem {
  display: block; background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; transition: transform .3s, border-color .3s, background .3s;
}
.problem:hover { transform: translateY(-6px); border-color: rgba(245,166,35,.5); background: rgba(255,255,255,.06); }
.problem__n { font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; color: var(--gold); }
.problem__line1 { margin: 1rem 0 0; font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.problem__line2 { margin: .35rem 0 0; font-size: .92rem; color: var(--ink-2); line-height: 1.5; }
.problem__line3 { margin: .9rem 0 1.25rem; font-size: .96rem; font-weight: 600; line-height: 1.5; }
.problem__go { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); display: inline-flex; gap: .4rem; }
.problem:hover .problem__go { gap: .7rem; transition: gap .2s; }

/* ── Banda de demos (home) — carrusel de ventanas grande ──── */
.demo-carousel { position: relative; margin-top: 3rem; }
.demo-carousel__viewport { width: min(94vw, 1360px); margin: 0 auto; overflow: hidden; border-radius: var(--radius); }
.demo-carousel__track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .6s var(--ease); }
.demo-carousel__slide { flex: 0 0 100%; min-width: 0; }

.demo-window {
  display: block; position: relative; margin: 0 .4rem;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55);
  transition: border-color .3s, box-shadow .3s;
}
.demo-window:hover { border-color: rgba(245,166,35,.5); }
.demo-window__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid var(--line);
}
.demo-window__dots { display: flex; gap: .3rem; flex: none; }
.demo-window__dots i { width: .5rem; height: .5rem; border-radius: 50%; display: block; }
.demo-window__dots i:nth-child(1) { background: #ff5f57; }
.demo-window__dots i:nth-child(2) { background: #febc2e; }
.demo-window__dots i:nth-child(3) { background: #28c840; }
.demo-window__url {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: .18rem .7rem;
  font-size: .66rem; letter-spacing: .01em;
  color: var(--ink-3);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-window__media { width: 100%; aspect-ratio: 16/9; max-height: 60vh; overflow: hidden; }
.demo-window__media img { width: 100%; height: 100%; object-fit: cover; }
.demo-window__label { padding: 1.1rem .3rem 0; font-size: .95rem; font-weight: 700; text-align: center; }

.demo-carousel__nav {
  position: absolute; top: calc(50% - .6rem); z-index: 5;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,27,51,.72); border: 1px solid var(--line);
  color: var(--ink-1); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.demo-carousel__nav:hover { background: rgba(245,166,35,.85); border-color: transparent; transform: translateY(-2px); }
.demo-carousel__nav--prev { left: .5rem; }
.demo-carousel__nav--next { right: .5rem; }
@media (min-width: 900px) {
  .demo-carousel__nav--prev { left: 1.25rem; }
  .demo-carousel__nav--next { right: 1.25rem; }
}

.demo-carousel__dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.5rem; }
.demo-carousel__dots button {
  width: .55rem; height: .55rem; border-radius: 50%; padding: 0; border: none;
  background: var(--line); cursor: pointer; transition: background .25s, transform .25s;
}
.demo-carousel__dots button.is-active { background: var(--gold); transform: scale(1.3); }

@media (max-width: 640px) {
  .demo-carousel__viewport { width: 100vw; border-radius: 0; }
  .demo-window { margin: 0; border-left: none; border-right: none; }
  .demo-carousel__nav { width: 2.3rem; height: 2.3rem; font-size: 1.2rem; }
}

/* ── Cuánto sale — tabla de precios (home) ───────────────── */
.price-table { margin-top: 2.75rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.03); }
.price-table__head, .price-row { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 1rem; align-items: center; padding: 1.05rem 1.5rem; }
.price-table__head { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.price-row { border-top: 1px solid var(--line); transition: background .25s; }
.price-row:hover { background: rgba(245,166,35,.08); }
.price-row__svc { font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; }
.price-row__svc::after { content: "→"; color: var(--blue); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.price-row:hover .price-row__svc::after { opacity: 1; transform: none; }
.price-row__from { color: var(--gold); font-weight: 700; }
.price-row__monthly { color: var(--ink-2); font-size: .92rem; }
.price-row__monthly--none { color: var(--green); font-weight: 700; }
@media (max-width: 640px) {
  .price-table__head { display: none; }
  .price-row { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.15rem 1.3rem; }
  .price-row__svc { font-size: 1rem; }
  .price-row__svc::after { opacity: 1; transform: none; }
  .price-row__from, .price-row__monthly { font-size: 1rem; }
  .price-row__from::before { content: "Desde: "; color: var(--ink-3); font-weight: 400; font-size: .8rem; }
  .price-row__monthly::before { content: "Mensualidad: "; color: var(--ink-3); font-weight: 400; font-size: .8rem; }
}

/* ── Cómo trabajamos (home) ──────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem 2rem; margin-top: 3.25rem; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; gap: 2.75rem 2.5rem; } }
.step { display: flex; align-items: flex-start; gap: 1.3rem; padding: 0 .4rem; }
.step__n {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1;
  font-size: clamp(3rem, 6vw, 4.3rem); color: var(--gold);
  filter: drop-shadow(-9px 15px 14px rgba(19,26,48,.30));
}
.step__text { text-align: left; max-width: 30rem; }
.step__text h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step__text p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

/* ── Caso destacado (home) ───────────────────────────────── */
.case-feature { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.03); transition: border-color .3s; }
.case-feature:hover { border-color: rgba(245,166,35,.5); }
@media (min-width: 760px) { .case-feature { grid-template-columns: 1.15fr 1fr; } }
.case-feature__media { aspect-ratio: 16/10; overflow: hidden; }
@media (min-width: 760px) { .case-feature__media { aspect-ratio: auto; } }
.case-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.case-feature__body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: .5rem; }

/* ── Índice (home) ───────────────────────────────────────── */

/* ── Página de servicio: esqueleto ───────────────────────── */
.svc-step { position: relative; z-index: 10; padding: 4rem 0; border-top: 1px solid var(--line); }
.svc-step:first-of-type { border-top: none; }
.svc-step__n { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); display: block; margin-bottom: 1rem; }
.svc-hero { padding-top: 8rem; padding-bottom: 1rem; text-align: left; }
.svc-hero + .section { padding-top: 2.75rem; }
.svc-hero + .wrap > .svc-step:first-of-type { padding-top: 2.75rem; }
/* Cuando la primera sección arranca directo con una grilla (sin encabezado),
   anulamos su margin-top para que no se sume al espacio del hero. */
.svc-hero + .section .proj-grid { margin-top: 0; }
.svc-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
.svc-hero h1 .accent { color: var(--gold); }
.svc-hero p { margin-top: 1.1rem; max-width: 40rem; color: var(--ink-2); font-size: 1.15rem; }

/* Diagnóstico de Instagram — features + card */
.diag-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .diag-grid { grid-template-columns: 1.25fr 1fr; gap: 3.5rem; align-items: start; } }
.features { display: grid; gap: 1.75rem; }
.feature { display: flex; gap: 1rem; }
.feature__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: rgba(75,175,217,.12); border: 1px solid rgba(75,175,217,.2); }
.feature__t { font-weight: 700; font-size: 1.02rem; margin-bottom: .3rem; }
.feature__d { font-size: .92rem; color: var(--ink-2); line-height: 1.6; margin: 0; }

.offer { border: 1px solid rgba(245,166,35,.32); background: rgba(245,166,35,.06); border-radius: var(--radius); padding: 2rem; }
.offer__badge { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245,166,35,.4); border-radius: 6px; padding: .4rem .6rem; letter-spacing: .12em; }
.offer__name { font-size: 1.35rem; font-weight: 700; margin: 1rem 0 .35rem; }
.offer__tag { font-size: .9rem; color: var(--ink-2); margin: 0; }
.offer__price { margin: 1.3rem 0; }
.offer__price-row { display: flex; align-items: center; gap: .6rem; }
.offer__orig { text-decoration: line-through; color: var(--ink-3); font-size: 1.15rem; }
.offer__off { font-size: .66rem; font-weight: 700; letter-spacing: .05em; background: var(--green); color: var(--navy-d); padding: .22rem .55rem; border-radius: 999px; }
.offer__amount { display: block; font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; margin-top: .35rem; }
.offer__note { display: block; font-size: .82rem; color: var(--ink-3); margin-top: .35rem; }
.offer__feats { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.offer__feats li { font-size: .88rem; color: var(--ink-2); display: flex; gap: .5rem; }
.offer__feats li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.offer .btn { width: 100%; justify-content: center; }

/* Video a lo ancho (rompe el muro de texto en páginas de servicio) */
.showreel { position: relative; z-index: 10; width: 100%; max-width: var(--wrap); margin: 2rem auto 0; padding: 0 1.5rem; }
.showreel video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.showreel__cap { position: absolute; left: 2.4rem; bottom: 1.1rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(13,27,51,.6); backdrop-filter: blur(4px); padding: .4rem .8rem; border-radius: 999px; }
@media (min-width: 900px) { .showreel { padding: 0 2rem; } .showreel__cap { left: 2.9rem; } }
.statement { font-size: clamp(1.5rem, 3.6vw, 2.4rem); font-weight: 600; line-height: 1.35; max-width: 46rem; }
.statement strong { color: var(--gold); font-weight: 700; }
.statement--center { margin: 0 auto; text-align: center; }
.estudio-line { max-width: 40rem; margin: 0 auto; text-align: center; font-size: clamp(0.9rem, 1.6vw, 1.1rem); font-weight: 400; color: rgba(255,255,255,.85); line-height: 1.55; letter-spacing: -.01em; }
.twocol { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px) { .twocol { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.twocol h4 { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; }
.twocol p { color: var(--ink-2); }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-2); font-size: .98rem; }
.checklist li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.price-box { border: 1px solid rgba(245,166,35,.3); background: rgba(245,166,35,.06); border-radius: var(--radius); padding: 2rem; max-width: 34rem; }
.price-box .amount { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: var(--gold); line-height: 1; }
.price-box .amount small { font-size: 1rem; color: var(--ink-2); font-weight: 500; }
.price-box .rule { margin-top: 1rem; font-weight: 700; color: #fff; }
.price-box .fine { margin-top: .5rem; font-size: .85rem; color: var(--ink-3); }

/* Planes /web */
.plans { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.plan h3 { font-size: 1.15rem; }
.plan .price { font-size: 1.7rem; font-weight: 700; color: var(--gold); }
.plan .price small { display: block; font-size: .8rem; color: var(--ink-2); font-weight: 500; margin-top: .2rem; }
.plan ul { list-style: none; padding: 0; margin: .4rem 0 0; display: grid; gap: .5rem; }
.plan li { font-size: .88rem; color: var(--ink-2); display: flex; gap: .5rem; }
.plan li::before { content: "·"; color: var(--gold); font-weight: 700; }

.care { border: 1px solid rgba(75,175,217,.35); background: rgba(75,175,217,.07); border-radius: var(--radius); padding: 2rem; margin-top: 2rem; }
.care h3 { font-size: 1.3rem; line-height: 1.3; }
.care-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .55rem; }
.care-list li { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.care-list li b { color: var(--ink-1); font-weight: 600; }

/* ── Cards de demo ───────────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .demo-grid { grid-template-columns: repeat(3, 1fr); } }
.democard { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.03); transition: transform .3s, border-color .3s; }
.democard:hover { transform: translateY(-6px); border-color: rgba(245,166,35,.5); }
.democard__media { aspect-ratio: 16/10; overflow: hidden; background: #000; }
.democard__media img, .democard__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.democard:hover .democard__media img { transform: scale(1.05); }
.democard__body { padding: 1.4rem; }
.democard__tag { font-size: .72rem; font-weight: 600; text-transform: uppercase; color: var(--gold); letter-spacing: .14em; }
.democard__name { font-size: 1.15rem; font-weight: 700; margin: .7rem 0 .4rem; }
.democard__shows { font-size: .84rem; color: var(--ink-2); line-height: 1.55; }

/* ── Cards de proyecto ───────────────────────────────────── */
.proj-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 4/5; background: #000; display: block; }
.proj__media { position: absolute; inset: 0; }
.proj__media img, .proj__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.62); transition: filter .6s, transform .6s; }
.proj:hover .proj__media img, .proj:hover .proj__media video { filter: grayscale(0) brightness(.92); transform: scale(1.05); }
.proj__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,51,.96) 8%, rgba(13,27,51,.25) 55%, transparent); }
.proj__body { position: absolute; inset: auto 0 0 0; padding: 1.4rem; }
.proj__status { display: inline-flex; align-items: center; gap: .4rem; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .55rem; }
.proj__status .dot { width: .4rem; height: .4rem; border-radius: 50%; }
.proj__status--done { background: rgba(52,211,153,.16); color: #6ee7b7; }
.proj__status--done .dot { background: var(--green); }
.proj__status--wip { background: rgba(245,166,35,.16); color: var(--gold); }
.proj__status--wip .dot { background: var(--gold); }
.proj__name { font-weight: 700; font-size: 1.2rem; }
.proj__meta { font-size: .72rem; color: var(--ink-3); margin-top: .15rem; }
.proj__desc { margin-top: .35rem; font-size: .8rem; color: var(--ink-2); line-height: 1.5; }
.proj__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .65rem; font-size: .8rem; font-weight: 600; color: var(--blue); }

/* ── Equipo (/nosotros) ──────────────────────────────────── */
.team { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { text-align: center; }
.member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.1rem; filter: grayscale(1); background: rgba(255,255,255,.05); }
.member h3 { font-size: 1.15rem; }
.member .role { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: .35rem 0 .8rem; }
.member p { font-size: .88rem; color: var(--ink-2); line-height: 1.6; max-width: 20rem; margin: 0 auto; }

.values { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.value { display: flex; gap: .9rem; }
.value .ic { font-size: 1.3rem; flex-shrink: 0; }
.value b { color: #fff; }
.value span { color: var(--ink-2); }

/* ── CTA WhatsApp (bloque de cierre) ─────────────────────── */
.cta-wa { position: relative; z-index: 10; text-align: center; padding: 5rem 1.5rem 6rem; }
.cta-wa h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 700; max-width: 30rem; margin: 0 auto; }
.cta-wa p { color: var(--ink-2); margin: 1rem auto 2rem; max-width: 34rem; }

/* ── Materiales ──────────────────────────────────────────── */
.doc { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.doc__ic { font-size: 2rem; }
.doc__body { flex: 1; min-width: 200px; }
.doc__body h3 { font-size: 1.1rem; }
.doc__body p { font-size: .88rem; color: var(--ink-2); margin: .3rem 0 0; }

.doc--bonus { border-style: dashed; }
.doc--bonus.is-locked { background: rgba(255,255,255,.02); opacity: .72; }
.doc--bonus.is-locked .doc__body h3 { color: var(--ink-2); }
.doc--bonus.is-unlocked { border-style: solid; border-color: var(--gold); background: rgba(212,175,55,.08); opacity: 1; }
.doc--bonus .btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ── Modal del bonus (sólo /recursos) ────────────────────── */
.bonus-modal {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.1rem;
  background: rgba(13,27,51,.74);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.bonus-modal.open { opacity: 1; visibility: visible; }
.bonus-modal__card {
  position: relative;
  width: min(640px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #F8F3ED;
  color: var(--navy-d);
  border-radius: 20px;
  padding: 2.4rem 2rem 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: translateY(14px) scale(.97);
  transition: transform .34s var(--ease);
}
.bonus-modal.open .bonus-modal__card { transform: none; }
.bonus-modal__card h3 { margin-top: .4rem; font-size: 1.4rem; }
.bonus-modal__hint { font-size: .9rem; color: var(--navy); opacity: .75; margin: .5rem 0 1.2rem; }
.bonus-modal__scroll {
  max-height: 42vh; overflow-y: auto;
  background: rgba(13,27,51,.05);
  border: 1px solid rgba(13,27,51,.12);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.2rem;
  -webkit-user-select: text; user-select: text;
}
.bonus-modal__scroll pre {
  white-space: pre-wrap; word-break: break-word;
  font-family: inherit; font-size: .84rem; line-height: 1.55;
  margin: 0;
}
.bonus-modal__close {
  position: absolute; top: .7rem; right: .7rem; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  border: none;
  background: var(--navy-d); color: #fff;
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.bonus-modal__close:hover { background: var(--navy); transform: scale(1.07); }
.bonus-modal__copy { width: 100%; }

/* ── Canales de contacto (fichas) ───────────────────────── */
.chans { display: grid; gap: .8rem; margin-top: 2rem; max-width: 30rem; }
.chan { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: border-color .25s, background .25s, transform .25s; }
.chan:hover { border-color: var(--gold); background: rgba(255,255,255,.08); transform: translateX(4px); }
.chan .ic { font-size: 1.3rem; }
.chan b { font-weight: 600; font-size: .95rem; }
.chan small { display: block; font-size: .74rem; color: var(--ink-3); }

/* ── Barra de demo (en cada demo migrada) ───────────────── */
.demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99999;
  background: var(--navy-d); color: #fff;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: .8rem; line-height: 1.3;
  display: flex; align-items: center; justify-content: center; gap: .5rem 1rem;
  flex-wrap: wrap; text-align: center;
  padding: .5rem 1rem; border-bottom: 2px solid var(--gold);
}
.demo-bar strong { color: var(--gold); }
.demo-bar a { color: #fff; text-decoration: underline; font-weight: 700; white-space: nowrap; }
body.has-demo-bar { padding-top: 44px; }

@media (prefers-reduced-motion: reduce) {
  .fluid-bg .blob, .fluid-bg .star, .hero__orb, .hero__eyebrow .dot, .marquee__track, .wa-float__dog, .wa-float__bubble { animation: none !important; }
  .reveal, .reveal-hero { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hero__divider { transform: scaleX(1); animation: none; }
}
