/* ═══════════════════════════════════════════════════════════════
   LÚMINA DIGITAL — Home / Embudo de ventas (Fase 1)
   Sistema de diseño derivado del logo: navy profundo + blanco + glow.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── DECISIONES INTERCAMBIABLES (Jorge) ── */
  --font-head: 'Sora', system-ui, sans-serif;      /* títulos */
  --font-body: 'Manrope', system-ui, sans-serif;   /* cuerpo  */
  --glow:   #4f9cff;                                 /* acento luminoso */
  --glow-2: #7cc4ff;                                 /* brillo/hover   */

  /* ── PALETA DE MARCA ── */
  --navy-900: #0a1533;   /* fondo banner / secciones oscuras (color del logo) */
  --navy-800: #0d1b3e;
  --navy-700: #14224f;
  --white:    #ffffff;
  --mist:     #f5f7fb;   /* fondo alterno claro */
  --ink:      #0d1b3e;   /* texto sobre claro */
  --ink-2:    #5a6a8a;   /* texto secundario */
  --line:     #e6ebf5;   /* bordes */

  /* ── SISTEMA ── */
  --wrap: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(13,27,62,.28);
  --shadow-sm: 0 8px 24px -12px rgba(13,27,62,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }  /* el atributo hidden siempre gana sobre display de clases */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--glow); text-decoration: none; }
h1,h2,h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }

.ld-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── Tipografía de secciones ── */
.ld-h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 36px;
}
.ld-h2--light { color: var(--white); }
.ld-lead { font-size: clamp(19px, 2.4vw, 24px); color: var(--ink); font-weight: 500; margin: 0 0 28px; }

/* ═══════════════ BOTONES ═══════════════ */
.ld-btn {
  --btn-bg: var(--glow);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  color: #fff; background: var(--btn-bg);
  padding: 13px 26px; border: 0; border-radius: 100px; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 8px 22px -8px rgba(79,156,255,.55);
}
.ld-btn:hover { transform: translateY(-2px); background: var(--glow-2); box-shadow: 0 14px 30px -8px rgba(79,156,255,.7); }
.ld-btn--lg { padding: 16px 34px; font-size: 16px; }
.ld-btn--block { width: 100%; }
.ld-btn--ghost {
  background: transparent; color: var(--glow);
  border: 1.5px solid var(--glow); box-shadow: none;
}
.ld-btn--ghost:hover { background: var(--glow); color: #fff; }
[aria-disabled="true"] { pointer-events: none; opacity: .55; }

/* ═══════════════ HEADER ═══════════════ */
.ld-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  background: rgba(10,21,51,0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.ld-header.is-stuck { background: rgba(10,21,51,.92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.ld-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.ld-brand__img { height: 42px; width: auto; }

.ld-burger { width: 46px; height: 46px; background: transparent; border: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.ld-burger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.ld-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ld-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ld-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ DRAWER ═══════════════ */
.ld-scrim { position: fixed; inset: 0; background: rgba(6,12,30,.55); backdrop-filter: blur(2px); z-index: 45; opacity: 0; transition: opacity .3s var(--ease); }
.ld-scrim.is-open { opacity: 1; }
.ld-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(360px, 86vw); z-index: 50;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff; transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.ld-drawer.is-open { transform: translateX(0); }
.ld-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ld-drawer__title { font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--glow-2); }
.ld-drawer__close { background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.ld-drawer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ld-drawer__list a {
  display: block; color: #eaf0ff; font-family: var(--font-head); font-weight: 500; font-size: 20px;
  padding: 13px 12px; border-radius: 10px; transition: background .2s, color .2s, padding-left .2s var(--ease);
}
.ld-drawer__list a:hover { background: rgba(255,255,255,.06); color: #fff; padding-left: 18px; }
.ld-drawer__list a.is-cta { color: var(--navy-900); background: var(--glow); margin-top: 6px; text-align: center; }
.ld-drawer__list a.is-cta:hover { background: var(--glow-2); padding-left: 12px; }
.ld-drawer__divider { display: flex; align-items: center; gap: 12px; margin: 22px 4px 8px; color: #7d8ab5; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.ld-drawer__divider::before, .ld-drawer__divider::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.12); }
.ld-drawer__list--soon a { font-size: 15px; font-weight: 400; color: #9aa6cc; display: flex; justify-content: space-between; align-items: center; }
.ld-drawer__list--soon em { font-style: normal; font-size: 10px; background: rgba(124,196,255,.15); color: var(--glow-2); padding: 2px 8px; border-radius: 100px; }

/* ═══════════════ BANNER ═══════════════ */
.ld-banner {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  background: var(--navy-900); color: #fff; padding: 100px 24px 60px; overflow: hidden;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(79,156,255,.16), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
.ld-banner__glow {
  position: absolute; left: -10%; top: 20%; width: 55%; height: 55%; pointer-events: none;
  background: radial-gradient(circle, rgba(79,156,255,.22), transparent 62%);
  filter: blur(20px); opacity: 0; animation: glowIn 1.4s var(--ease) .3s forwards;
}
@keyframes glowIn { to { opacity: 1; } }
.ld-banner__inner { position: relative; z-index: 2; max-width: 720px; }

/* Logo animado */
.ld-logo-anim { position: relative; display: inline-block; margin-bottom: 26px; }
.ld-logo-anim__img {
  height: clamp(120px, 22vw, 190px); width: auto;
  opacity: 0; transform: scale(.94);
  animation: logoIn 1s var(--ease) .35s forwards;
}
@keyframes logoIn { to { opacity: 1; transform: scale(1); } }
/* Destello que entra desde la izquierda */
.ld-spark {
  position: absolute; width: 46px; height: 46px; top: 6%; left: 14%;
  filter: drop-shadow(0 0 10px rgba(124,196,255,.9));
  opacity: 0; transform: translateX(-260px) scale(.2) rotate(-40deg);
  animation: sparkFly 1.1s var(--ease) .15s forwards;
}
@keyframes sparkFly {
  0%   { opacity: 0; transform: translateX(-260px) scale(.2) rotate(-40deg); }
  60%  { opacity: 1; transform: translateX(0) scale(1.25) rotate(8deg); }
  75%  { transform: translateX(0) scale(.85) rotate(0deg); }
  100% { opacity: .0; transform: translateX(0) scale(1.4) rotate(0deg); }
}
/* Barrido de luz sobre el wordmark */
.ld-sweep {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 8px;
}
.ld-sweep::before {
  content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); opacity: 0;
  animation: sweep 1.1s var(--ease) 1s forwards;
}
@keyframes sweep { 0% { left: -40%; opacity: 0; } 20% { opacity: .8; } 100% { left: 140%; opacity: 0; } }

.ld-banner__tagline { font-family: var(--font-head); font-weight: 700; font-size: clamp(24px, 4.6vw, 40px); margin: 0 0 12px; opacity: 0; animation: fadeUp .8s var(--ease) .7s forwards; }
.ld-banner__tagline strong { color: var(--glow-2); }
.ld-banner__sub { color: #b9c6ea; font-size: clamp(15px, 2vw, 18px); margin: 0 0 32px; opacity: 0; animation: fadeUp .8s var(--ease) .9s forwards; }
.ld-banner .ld-btn { opacity: 0; animation: fadeUp .8s var(--ease) 1.1s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.ld-banner__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.3); border-radius: 20px; opacity: 0; animation: fadeUp 1s ease 1.6s forwards; }
.ld-banner__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--glow-2); border-radius: 4px; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: .2; } }

/* ═══════════════ SECCIONES GENÉRICAS ═══════════════ */
.ld-section { padding: clamp(64px, 9vw, 112px) 0; }
.ld-section--soft { background: var(--mist); }
.ld-section--dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #dce4f7; }

/* ── Lista de servicios ── */
.ld-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-width: 820px; }
.ld-services a {
  display: flex; align-items: flex-start; gap: 14px; color: var(--ink); font-size: clamp(16px, 2vw, 19px); font-weight: 500;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.ld-services a:hover { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); transform: translateX(4px); }
/* Bullet = destello de marca */
.ld-star { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; background: var(--glow); clip-path: polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); transition: transform .3s var(--ease); }
.ld-services a:hover .ld-star { transform: rotate(90deg) scale(1.15); }

/* ═══════════════ TICKER ═══════════════ */
.ld-ticker { background: var(--navy-900); padding: 30px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ld-ticker__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ld-ticker:hover .ld-ticker__track { animation-play-state: paused; }
.ld-ticker__set { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0 10px; }
.ld-ticker__set li {
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 0 24px; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 18px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease);
}
.ld-ticker__set li:hover { transform: translateY(-4px); }
.ld-ticker__set img { height: 34px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .3s, opacity .3s; }
.ld-ticker__set li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════ FRASE CURSIVA ═══════════════ */
.ld-quote-band { background: var(--white); padding: clamp(48px, 7vw, 84px) 0; text-align: center; }
.ld-cursive { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(20px, 3.2vw, 30px); color: var(--navy-800); max-width: 900px; margin: 0 auto; line-height: 1.5; }

/* ═══════════════ TARJETAS PLATAFORMA ═══════════════ */
.ld-cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.ld-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ld-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(79,156,255,.4); }
.ld-card__logo { height: 68px; display: flex; align-items: center; }
.ld-card__logo img { max-height: 68px; width: auto; object-fit: contain; }
.ld-card__text { color: var(--ink-2); margin: 0; flex: 1; font-size: 15.5px; }
.ld-card .ld-btn { align-self: flex-start; }

/* ═══════════════ PASOS ═══════════════ */
.ld-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.ld-steps li { display: flex; gap: 20px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 24px; }
.ld-steps__n { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-content: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy-900); background: var(--glow); border-radius: 50%; box-shadow: 0 0 0 6px rgba(79,156,255,.14); }
.ld-steps p { margin: 0; color: #cdd7f0; }
.ld-steps em { color: var(--glow-2); font-style: italic; }
.ld-proceso-cta { margin-top: 40px; text-align: center; }

/* ═══════════════ TESTIMONIOS ═══════════════ */
.ld-testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.ld-testi__link { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--glow); }
.ld-testi__link:hover { text-decoration: underline; }
.ld-testi__stars { color: #f5b301; font-size: 22px; letter-spacing: 3px; margin: 10px 0 6px; }
.ld-testi__quote { font-family: var(--font-head); font-style: italic; font-size: clamp(19px, 2.6vw, 24px); color: var(--navy-800); margin: 0 0 26px; border: 0; }
.ld-testi__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 520px; margin-bottom: 26px; }
.ld-shot { margin: 0; aspect-ratio: 1/1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--mist); }
.ld-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ld-shot:hover img { transform: scale(1.06); }
.ld-testi__worktitle { font-family: var(--font-head); font-weight: 600; color: var(--ink); display: block; margin-bottom: 8px; }
.ld-testi__work ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.ld-testi__work li { margin-bottom: 4px; }
/* Galería de capturas dentro de un testimonio: centrada, más grande y con más aire (2×2) */
.ld-gallery--testi { max-width: 600px; margin: 0 auto 30px; gap: 22px; }
.ld-gallery--testi .ld-gallery__item { flex: 0 1 260px; max-width: 280px; }

/* ═══════════════ CTA FINAL ═══════════════ */
.ld-cta-final { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; padding: clamp(64px, 9vw, 108px) 0; text-align: center; position: relative; overflow: hidden; }
.ld-cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(79,156,255,.18), transparent 70%); pointer-events: none; }
.ld-cta-final__inner { position: relative; max-width: 640px; }
.ld-cta-final p { color: #b9c6ea; font-size: 17px; margin: 0 0 30px; }

/* ═══════════════ FOOTER ═══════════════ */
.ld-footer { background: var(--navy-900); color: #aeb9d8; padding: 54px 0 0; }
.ld-footer__inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; }
.ld-footer__logo { height: 44px; width: auto; margin-bottom: 10px; }
.ld-footer__brand p { margin: 0; font-size: 14px; max-width: 280px; }
.ld-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ld-footer__nav a { color: #cdd7f0; font-size: 15px; }
.ld-footer__nav a:hover { color: var(--glow-2); }
.ld-footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 24px; text-align: center; font-size: 13px; color: #7d8ab5; }

/* ═══════════════ WHATSAPP FLOTANTE ═══════════════ */
.ld-wa { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-content: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .2s var(--ease); }
.ld-wa:hover { transform: scale(1.08); }
.ld-wa svg { width: 30px; height: 30px; }

/* ═══════════════ PANEL FORMULARIO ═══════════════ */
.ld-formpanel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(460px, 92vw); z-index: 60;
  background: #fff; transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgba(10,21,51,.4);
}
.ld-formpanel.is-open { transform: translateX(0); }
.ld-formpanel__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; }
.ld-formpanel__head h3 { margin: 0; font-size: 20px; }
.ld-formpanel__close { background: transparent; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.ld-form { padding: 24px 26px 40px; overflow-y: auto; }
.ld-field { margin-bottom: 18px; border: 0; padding: 0; }
.ld-field label, .ld-field legend { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.ld-field label span { color: #e0483c; }
.ld-field label em, .ld-field legend em { font-style: normal; color: var(--ink-2); font-weight: 400; }
.ld-field input, .ld-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--mist); transition: border-color .2s, background .2s, box-shadow .2s;
}
.ld-field input:focus, .ld-field textarea:focus { outline: 0; border-color: var(--glow); background: #fff; box-shadow: 0 0 0 4px rgba(79,156,255,.14); }
.ld-field input:invalid:not(:placeholder-shown) { border-color: #e0a3a3; }
.ld-field--check .ld-check { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--ink-2); margin-bottom: 8px; cursor: pointer; }
.ld-check input { width: 18px; height: 18px; accent-color: var(--glow); }

/* Calendario */
.ld-cal { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.ld-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ld-cal__title { font-family: var(--font-head); font-weight: 600; font-size: 15px; text-transform: capitalize; }
.ld-cal__nav { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--mist); border-radius: 8px; cursor: pointer; font-size: 18px; color: var(--ink); transition: background .2s, border-color .2s; }
.ld-cal__nav:hover { background: var(--glow); color: #fff; border-color: var(--glow); }
.ld-cal__dow { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; margin-bottom: 4px; }
.ld-cal__dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.ld-cal__grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.ld-cal__day { aspect-ratio: 1/1; border: 0; background: transparent; border-radius: 8px; font-family: var(--font-body); font-size: 14px; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.ld-cal__day:hover:not(:disabled) { background: rgba(79,156,255,.14); }
.ld-cal__day:disabled { color: #c4cde0; cursor: default; }
.ld-cal__day.is-sel { background: var(--glow); color: #fff; font-weight: 700; }
.ld-cal__day.is-empty { visibility: hidden; }

.ld-slots { margin-top: 14px; }
.ld-slots__label { font-family: var(--font-head); font-weight: 600; font-size: 14px; display: block; margin-bottom: 8px; }
.ld-slots__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ld-slot { padding: 8px 14px; border: 1.5px solid var(--line); background: var(--mist); border-radius: 100px; font-size: 14px; cursor: pointer; transition: all .18s; }
.ld-slot:hover { border-color: var(--glow); }
.ld-slot.is-sel { background: var(--glow); border-color: var(--glow); color: #fff; font-weight: 600; }
.ld-picked { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--glow); }
.ld-form__note { font-size: 12.5px; color: var(--ink-2); text-align: center; margin: 14px 0 0; }
.ld-form__note em { color: var(--ink-2); }

.ld-form__ok { padding: 60px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ld-form__okmark { width: 72px; height: 72px; border-radius: 50%; background: var(--glow); color: #fff; display: grid; place-content: center; font-size: 38px; box-shadow: 0 0 0 10px rgba(79,156,255,.14); }
.ld-form__ok h3 { margin: 6px 0 0; }
.ld-form__ok p { color: var(--ink-2); margin: 0 0 12px; }

/* ═══════════════ REVEAL ON SCROLL ═══════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
/* stagger dentro de grupos */
.ld-services .reveal:nth-child(1), .ld-cards .reveal:nth-child(1), .ld-steps .reveal:nth-child(1) { transition-delay: 0ms; }
.ld-services .reveal:nth-child(2), .ld-cards .reveal:nth-child(2), .ld-steps .reveal:nth-child(2) { transition-delay: 70ms; }
.ld-services .reveal:nth-child(3), .ld-cards .reveal:nth-child(3), .ld-steps .reveal:nth-child(3) { transition-delay: 140ms; }
.ld-services .reveal:nth-child(4), .ld-steps .reveal:nth-child(4) { transition-delay: 210ms; }
.ld-services .reveal:nth-child(5) { transition-delay: 280ms; }
.ld-services .reveal:nth-child(6) { transition-delay: 350ms; }
.ld-services .reveal:nth-child(7) { transition-delay: 420ms; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (min-width: 720px) {
  .ld-cards { grid-template-columns: repeat(3, 1fr); }
  .ld-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .ld-brand__img { height: 46px; }
}

/* ═══════════════ ACCESIBILIDAD ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ld-logo-anim__img, .ld-banner__tagline, .ld-banner__sub, .ld-banner .ld-btn { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINAS DE DETALLE (Fase 2) — componentes compartidos
   Reusan el mismo sistema de tokens; solo agregan patrones nuevos.
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero interior (compacto, no full-screen como la home) ── */
.ld-phero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: var(--navy-900); padding: clamp(110px, 16vw, 150px) 24px clamp(56px, 8vw, 84px);
  background-image:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(79,156,255,.20), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
.ld-phero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ld-phero__eyebrow { display: inline-block; color: var(--glow-2); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.ld-phero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 5.4vw, 52px); margin: 0 0 16px; }
.ld-phero p { color: #b9c6ea; font-size: clamp(16px, 2.2vw, 20px); margin: 0 auto; max-width: 620px; }

/* ── Migas / volver ── */
.ld-crumbs { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px 0; font-size: 14px; }
.ld-crumbs a { color: var(--glow); font-family: var(--font-head); font-weight: 600; }
.ld-crumbs a:hover { text-decoration: underline; }
.ld-crumbs span { color: var(--ink-2); }

/* ── Encabezado de sección con kicker ── */
.ld-kicker { display: inline-block; color: var(--glow); font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.ld-section__intro { max-width: 720px; color: var(--ink-2); font-size: clamp(16px, 2vw, 18px); margin: 0 0 40px; }
.ld-section--dark .ld-section__intro { color: #b9c6ea; }

/* ── Tarjetas de precio ── */
.ld-price-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ld-price {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ld-price::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--glow), var(--glow-2)); }
.ld-price:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(79,156,255,.4); }
.ld-price__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); margin: 6px 0 4px; }
.ld-price__desc { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; min-height: 44px; }
.ld-price__amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 6vw, 44px); color: var(--navy-800); line-height: 1; }
.ld-price__from { display: block; font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink-2); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.ld-price__tax { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--ink-2); }

/* Tarjetas de precio enriquecidas (paquetes de entrada) */
.ld-price--full { display: flex; flex-direction: column; }
.ld-price__time { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(79,156,255,.12); color: var(--glow); font-family: var(--font-body); font-weight: 700; font-size: 13px; }
.ld-price__list { margin: 18px 0 18px; gap: 10px; }
.ld-price__list li { font-size: 14.5px; }
.ld-price__note { color: var(--ink-2); font-size: 13px; line-height: 1.5; margin: 0 0 20px; }
.ld-price--full .ld-btn { margin-top: auto; align-self: flex-start; }

/* Panel de plan a la medida */
.ld-incexc__text { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }

/* ── Incluye / No incluye ── */
.ld-incexc { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ld-incexc__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.ld-incexc__panel--no { background: var(--mist); }
.ld-incexc__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.ld-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ld-list li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.ld-list li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-content: center; font-size: 12px; font-weight: 700; }
.ld-list--check li::before { content: "✓"; background: rgba(79,156,255,.14); color: var(--glow); }
.ld-list--x li { color: var(--ink-2); }
.ld-list--x li::before { content: "×"; background: #fdeceb; color: #d0574d; font-size: 14px; }
.ld-list--info li::before { content: "!"; background: #fff4e0; color: #b7791f; }

/* ── Bloques de plataforma (Shopify / Tienda Nube / WP) ── */
.ld-platform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 26px; }
.ld-platform__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 26px 30px; background: var(--mist); border-bottom: 1px solid var(--line); }
.ld-platform__logo { height: 46px; width: auto; object-fit: contain; }
.ld-platform__titles h3 { margin: 0; font-size: clamp(20px, 3vw, 26px); color: var(--ink); }
.ld-platform__titles p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.ld-platform__body { padding: 28px 30px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.ld-platform__col h4 { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.ld-platform__price { display: inline-block; margin-top: 4px; background: rgba(79,156,255,.1); color: var(--navy-800); font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 100px; }
.ld-platform__price a { color: var(--glow); }

/* ── CTA de cierre reusable en páginas de detalle ── */
.ld-detail-cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; text-align: center; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.ld-detail-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(79,156,255,.18), transparent 70%); pointer-events: none; }
.ld-detail-cta__inner { position: relative; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.ld-detail-cta h2 { color: #fff; margin: 0 0 14px; }
.ld-detail-cta p { color: #b9c6ea; font-size: 17px; margin: 0 0 28px; }

/* ── Grid de servicios con ícono (Mantenimiento / Diseño) ── */
.ld-servgrid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ld-servcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.ld-servcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(79,156,255,.4); }
.ld-servcard__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-content: center; background: rgba(79,156,255,.1); color: var(--glow); margin-bottom: 16px; }
.ld-servcard__icon svg { width: 24px; height: 24px; display: block; }
.ld-servcard h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.ld-servcard p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

/* ── Callout / nota informativa ── */
.ld-note { display: flex; gap: 14px; align-items: flex-start; background: #fff8ec; border: 1px solid #f2e2c2; border-left: 4px solid #e0a94a; border-radius: var(--radius-sm); padding: 20px 22px; margin-top: 36px; }
.ld-note__icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #e0a94a; color: #fff; display: grid; place-content: center; font-weight: 700; font-size: 15px; }
.ld-note p { margin: 0; color: #6b5a36; font-size: 15px; line-height: 1.55; }
.ld-note strong { color: #4a3d20; }

/* ── Nav: marcar página activa en el drawer ── */
.ld-drawer__list a[aria-current="page"] { color: var(--glow-2); background: rgba(124,196,255,.1); }

/* ── Responsive páginas de detalle ── */
@media (min-width: 620px) {
  .ld-servgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .ld-price-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-incexc { grid-template-columns: 1fr 1fr; }
  .ld-platform__body { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (min-width: 960px) {
  .ld-servgrid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════ PÁGINA DE APLICACIONES ══════════════════════ */
/* ── Cabecera de cada app: número, ícono, título, descripción, features ── */
.ld-app { max-width: 1000px; margin: 0 auto; }
.ld-app__head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.ld-app__num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--glow); background: rgba(79,156,255,.1); border-radius: 100px; padding: 5px 14px; margin-bottom: 16px; }
.ld-app__head h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3.4vw, 30px); color: var(--ink); margin: 0 0 12px; line-height: 1.2; }
.ld-app__head > p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.ld-app__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.ld-app__tags li { font-size: 12.5px; font-weight: 600; color: var(--navy-800); background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; }

/* ── Galería de capturas (flex de base fija: maneja 1–4 imágenes sin deformar) ── */
.ld-gallery { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.ld-gallery__item { flex: 0 1 240px; max-width: 300px; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--mist); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; aspect-ratio: 1/1; position: relative; display: block; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.ld-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ld-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,21,51,.35)); opacity: 0; transition: opacity .3s var(--ease); }
.ld-gallery__item .ld-gallery__zoom { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 8px; background: rgba(10,21,51,.72); color: #fff; display: grid; place-content: center; opacity: 0; transform: translateY(4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ld-gallery__item .ld-gallery__zoom svg { width: 16px; height: 16px; }
.ld-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79,156,255,.4); }
.ld-gallery__item:hover img { transform: scale(1.06); }
.ld-gallery__item:hover::after { opacity: 1; }
.ld-gallery__item:hover .ld-gallery__zoom { opacity: 1; transform: translateY(0); }
.ld-gallery__item:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; }

/* ── Lightbox ── */
.ld-lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(6,12,30,.82); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s var(--ease); }
.ld-lightbox.is-open { opacity: 1; }
.ld-lightbox__fig { margin: 0; max-width: min(880px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: scale(.96); transition: transform .3s var(--ease); }
.ld-lightbox.is-open .ld-lightbox__fig { transform: scale(1); }
.ld-lightbox__img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); background: #0a1533; }
.ld-lightbox__counter { color: #b9c6ea; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.ld-lightbox__btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.ld-lightbox__btn:hover { background: rgba(79,156,255,.55); transform: scale(1.06); }
.ld-lightbox__btn svg { width: 22px; height: 22px; }
.ld-lightbox__close { top: 20px; right: 20px; }
.ld-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ld-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.ld-lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.06); }
.ld-lightbox__nav--next:hover { transform: translateY(-50%) scale(1.06); }
.ld-lightbox[data-single="true"] .ld-lightbox__nav { display: none; }

@media (min-width: 720px) {
  .ld-app__head { margin-bottom: 44px; }
  .ld-gallery { gap: 20px; }
}

/* ══════════════════════ PÁGINA DISEÑO Y FOTOGRAFÍA ══════════════════════ */

/* ── Grid de sliders comparativos (antes/después) ── */
.ld-compare-grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1000px; margin: 0 auto; }
.ld-compare-hint { text-align: center; color: var(--ink-2); font-size: 14px; font-weight: 600; margin: 0 0 26px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ld-compare-hint svg { width: 18px; height: 18px; color: var(--glow); }
.ld-section--soft .ld-compare-hint { color: #52618a; }

.ld-compare__wrap { margin: 0; }
.ld-compare {
  position: relative; aspect-ratio: 1 / 1; width: 100%; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  cursor: ew-resize; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--navy-900);
}
.ld-compare:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.ld-compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* La capa "antes" se recorta desde la derecha según --pos */
.ld-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }

/* Divisor + agarre */
.ld-compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px;
  transform: translateX(-1.5px); background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 1px rgba(10,21,51,.18), 0 0 14px rgba(10,21,51,.35); pointer-events: none;
}
.ld-compare__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--glow); color: #fff; border: 3px solid #fff;
  display: grid; place-content: center; box-shadow: 0 6px 18px -4px rgba(10,21,51,.55);
}
.ld-compare__grip svg { width: 20px; height: 20px; display: block; }

/* Etiquetas Antes / Después */
.ld-compare__tag {
  position: absolute; top: 12px; z-index: 3; font-family: var(--font-head); font-weight: 700;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(10,21,51,.72); padding: 5px 12px; border-radius: 100px; backdrop-filter: blur(3px);
  pointer-events: none;
}
.ld-compare__tag--before { left: 12px; }
.ld-compare__tag--after  { right: 12px; background: var(--glow); }

.ld-compare__cap { text-align: center; margin: 14px 0 0; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; }

/* ── Bloque de reels de video (9:16 vertical, play manual) ── */
.ld-videos { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.ld-video { margin: 0; width: 100%; max-width: 300px; }
.ld-video__el {
  width: 100%; aspect-ratio: 9 / 16; display: block; object-fit: cover;
  background: var(--navy-900); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.ld-video figcaption { text-align: center; margin-top: 14px; color: var(--ink-2); font-size: 14px; font-weight: 600; }

@media (min-width: 720px) {
  .ld-compare-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  /* Impar: el último slider mide exactamente una columna (igual que los demás) y se centra */
  .ld-compare-grid--odd .ld-compare__wrap:last-child { grid-column: 1 / -1; width: calc((100% - 34px) / 2); justify-self: center; margin: 0; }
}

/* Honeypot anti-bot: invisible para humanos, presente para bots */
.ld-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   DESARROLLO WEB — Tiendas demo + Condiciones de paquetes
   ═══════════════════════════════════════════════════════════════ */
/* Banda demo dentro de cada tarjeta de plataforma */
.ld-platform__demo{
  display:flex; align-items:center; flex-wrap:wrap; gap:12px 16px;
  padding:20px 30px; border-top:1px solid var(--line);
  background:linear-gradient(100deg, rgba(79,156,255,.07), rgba(124,196,255,.03));
}
/* Botón "Ver tienda demo" — píldora navy que enciende glow al hover */
.ld-demo-btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--navy-800); color:#fff;
  font-family:var(--font-head); font-weight:600; font-size:14px;
  padding:10px 20px; border-radius:100px; text-decoration:none; white-space:nowrap;
  transition:transform .18s var(--ease), background .2s, box-shadow .25s var(--ease);
}
.ld-demo-btn span{ transition:transform .2s var(--ease); }
.ld-demo-btn:hover{ background:var(--glow); transform:translateY(-2px); box-shadow:0 12px 26px -10px rgba(79,156,255,.6); }
.ld-demo-btn:hover span{ transform:translateX(3px); }
/* Píldora de contraseña */
.ld-demo-pass{
  display:inline-flex; align-items:center; gap:6px;
  font-family:var(--font-head); font-weight:700; font-size:13px; color:var(--navy-800);
  background:rgba(79,156,255,.12); padding:6px 13px; border-radius:100px;
}
.ld-demo-pass code{ font-family:'JetBrains Mono', ui-monospace, 'Courier New', monospace; letter-spacing:.02em; }
.ld-demo-note{ font-size:13px; color:var(--ink-2); line-height:1.5; }
/* Nota de condiciones bajo las tarjetas de precio */
.ld-conditions{
  margin:24px 0 0; padding:16px 20px;
  font-size:13.5px; line-height:1.6; color:var(--ink-2);
  background:var(--mist); border:1px solid var(--line);
  border-left:3px solid var(--glow); border-radius:var(--radius-sm);
}
.ld-conditions strong{ color:var(--navy-800); }
.ld-conditions a{ color:var(--glow); font-weight:600; }
