/* ═══════════════════════════════════════════════════════════
   Ardesku — ardesku.com
   Tokens · reset · secciones · movimiento (respeta prefers-reduced-motion)
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --fg: #1a1a18;
  --bg: #f5f2ec;
  --ink: #101015;
  --accent: #5E6AD2;
  --accent-soft: #9aa3f2;
  --accent-glow: rgba(94,106,210,.22);
  --ok: #34d399;
  --amber: #fbbf24;
  --muted: rgba(26,26,24,.6);
  --border: rgba(26,26,24,.1);
  --card-bg: rgba(26,26,24,.04);
  --on-dark: #f5f2ec;
  --on-dark-muted: rgba(245,242,236,.55);
  --ease: cubic-bezier(.16,1,.3,1);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ── Reset (sustituye al preflight de Tailwind, que ya no se carga) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; text-wrap: balance; }

body {
  font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--fg);
  overflow-x: hidden; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
.serif { font-family: 'Playfair Display', serif; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: 14px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.section-label {
  display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 8px;
  background: var(--card-bg); border: 1px solid var(--border);
}
.label-glow {
  background: rgba(94,106,210,.12); border: 1px solid rgba(94,106,210,.3); color: #8f98f0;
  box-shadow: 0 0 12px rgba(94,106,210,.15);
}
.grad { background: linear-gradient(135deg, var(--fg) 0%, #6b6b55 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Revelado al hacer scroll (solo si hay JS: sin JS el contenido se ve siempre) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ── Menú a pantalla completa ── */
#nav-fullscreen {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; background: var(--fg);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path .7s cubic-bezier(.9,0,.1,1), visibility 0s .7s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
#nav-fullscreen.open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); pointer-events: auto; visibility: visible; transition: clip-path .7s cubic-bezier(.9,0,.1,1), visibility 0s; }
.nav-link-item { overflow: hidden; width: 100%; border-bottom: 1px solid rgba(245,242,236,.12); }
.nav-link-item a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 48px; transform: translateY(100%); transition: transform .5s cubic-bezier(.7,0,.3,1); }
#nav-fullscreen.open .nav-link-item a { transform: translateY(0); }
.nav-link-item a span { font-family: 'Playfair Display', serif; font-size: clamp(44px, 8vw, 96px); font-weight: 500; color: var(--bg); line-height: .95; transition: margin .3s; }
.nav-link-item a:hover span { margin-left: 16px; }
.nav-link-item a svg { color: var(--bg); opacity: .5; height: clamp(36px, 6vw, 72px); width: auto; transition: transform .3s, opacity .3s; }
.nav-link-item a:hover svg { opacity: 1; transform: rotate(45deg); }

/* ── Barra superior ── */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 5%; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(245,242,236,.82); border-bottom: 1px solid rgba(26,26,24,.07);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
#navbar .logo { font-size: 18px; font-weight: 500; color: var(--fg); transition: color .4s var(--ease); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-clientes, .btn-book {
  height: 40px; padding: 0 18px; border-radius: 8px; font-size: 13px; font-weight: 500; display: inline-flex; align-items: center;
  transition: opacity .2s, color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.btn-clientes { color: var(--fg); border: 1px solid rgba(26,26,24,.18); }
.btn-book { padding: 0 24px; background: var(--fg); color: var(--bg); }
.btn-clientes:hover, .btn-book:hover { opacity: .75; }
#menu-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--fg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: background .4s var(--ease); }
#menu-btn span { display: block; width: 12px; height: 1px; background: var(--bg); transition: transform .3s, opacity .3s; }
#menu-btn.open span:first-child { transform: translateY(3px) rotate(45deg); }
#menu-btn.open span:last-child { transform: translateY(-3px) rotate(-45deg); }
#menu-btn.open span:nth-child(2) { opacity: 0; }
#navbar.on-dark { background: rgba(20,20,18,.72); border-bottom-color: rgba(245,242,236,.06); }
#navbar.on-hero { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
#navbar.on-dark .logo, #navbar.on-hero .logo { color: var(--on-dark); }
#navbar.on-dark .btn-clientes, #navbar.on-hero .btn-clientes { color: var(--on-dark); border-color: rgba(245,242,236,.22); }
#navbar.on-dark .btn-book, #navbar.on-hero .btn-book { background: rgba(245,242,236,.12); color: var(--on-dark); border: 1px solid rgba(245,242,236,.15); }
#navbar.on-dark #menu-btn, #navbar.on-hero #menu-btn { background: rgba(245,242,236,.12); }

/* ═══════════ HERO ═══════════ */
#hero { position: relative; min-height: 100svh; background: var(--ink); color: var(--on-dark); overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); animation: blob-drift ease-in-out infinite alternate; }
.b1 { width: 760px; height: 760px; top: -260px; left: -180px; background: radial-gradient(circle, rgba(94,106,210,.42), transparent 70%); animation-duration: 11s; }
.b2 { width: 620px; height: 620px; bottom: -220px; right: -140px; background: radial-gradient(circle, rgba(124,92,210,.34), transparent 70%); animation-duration: 14s; animation-delay: -4s; }
.b3 { width: 420px; height: 420px; top: 30%; left: 46%; background: radial-gradient(circle, rgba(37,150,190,.16), transparent 70%); animation-duration: 9s; animation-delay: -2s; }
@keyframes blob-drift { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,-30px) scale(1.08); } }
.hero-grid {
  position: absolute; inset: 0; background-image: linear-gradient(rgba(245,242,236,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(245,242,236,.035) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 55% 45%, #000 15%, transparent 72%); mask-image: radial-gradient(ellipse at 55% 45%, #000 15%, transparent 72%);
}
.hero-spot { position: absolute; inset: 0; background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 38%), rgba(94,106,210,.17), transparent 62%); }
.hero-wrap { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 108px 5% 72px; display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "txt" "demo" "num"; gap: 28px; align-items: center; }
.hero-inner { grid-area: txt; max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.lc-wrap { grid-area: demo; }
.hero-num { grid-area: num; }
/* Escritorio: texto y «números locales» a la izquierda, la demo a la derecha ocupando las dos filas */
@media (min-width: 980px) {
  .hero-wrap { grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); grid-template-areas: "txt demo" "num demo"; column-gap: 56px; row-gap: 20px; padding-top: 112px; }
  .hero-inner { align-self: end; } .hero-num { align-self: start; }
}

@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.he { opacity: 0; animation: hero-in .9s var(--ease) forwards; }
.he-1 { animation-delay: .15s; } .he-2 { animation-delay: .3s; } .he-4 { animation-delay: .95s; } .he-5 { animation-delay: 1.15s; } .he-6 { animation-delay: 1.3s; }
.hero-wordmark { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(15px, 1.6vw, 20px); color: rgba(245,242,236,.7); letter-spacing: .12em; text-transform: uppercase; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: #8f98f0; letter-spacing: .1em; text-transform: uppercase; }
.hero-tag::before { content: ''; width: 24px; height: 1px; background: currentColor; }
/* Textos con versión corta para móvil: .t-l = largo (escritorio), .t-s = corto (móvil) */
.t-s { display: none; }
.hero-headline { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--on-dark); font-size: clamp(38px, 5vw, 68px); line-height: 1.06; letter-spacing: -.012em; }
.hero-headline .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); animation: word-in 1s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .1s); }
.hero-headline .gi { font-style: italic; background: linear-gradient(100deg, #c9cdfb, #8f98f0 55%, #6f7be0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .04em; }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-sub { font-size: clamp(15px, 1.3vw, 17px); color: rgba(245,242,236,.78); line-height: 1.7; max-width: 560px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn { height: clamp(42px, 4vw, 52px); padding: 0 clamp(18px, 2.2vw, 32px); border-radius: 10px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 500; display: inline-flex; align-items: center; white-space: nowrap; transition: opacity .2s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.hero-btn:hover { transform: translateY(-3px); }
.hero-btn-primary { background: var(--bg); color: var(--fg); box-shadow: 0 0 0 0 var(--accent-glow); }
.hero-btn-primary:hover { box-shadow: 0 8px 32px var(--accent-glow); }
.hero-btn-secondary { background: rgba(245,242,236,.1); color: var(--on-dark); border: 1px solid rgba(245,242,236,.2); }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(245,242,236,.28); border-radius: 14px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: rgba(245,242,236,.7); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 980px) and (min-height: 760px) { .hero-scroll { display: block; } }

/* ── Llamada en vivo (demo del hero) ── */
html:not(.js) .lc-wrap { display: none; }
.lc-wrap { width: 100%; max-width: 480px; margin-inline: auto; }
/* Selector de agente: solo se ve una demo a la vez */
.lc-card { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; padding: 14px; border-radius: 26px; background: rgba(245,242,236,.06); border: 1px solid rgba(245,242,236,.13); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lc-card-l { padding-left: 4px; font: 500 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: rgba(245,242,236,.6); }
.lc-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; margin-left: auto; border-radius: 999px; background: rgba(245,242,236,.07); border: 1px solid rgba(245,242,236,.14); }
.lc-sw::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--bg); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .45s var(--ease); }
.lc-sw[data-on="anna"]::before { transform: translateX(100%); }
.lc-sw-b { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 15px 0 9px; border-radius: 999px; white-space: nowrap; color: rgba(245,242,236,.72); transition: color .3s; -webkit-tap-highlight-color: transparent; }
.lc-sw-b b { font-size: 14px; font-weight: 600; }
.lc-sw-b[aria-pressed="true"] { color: var(--fg); }
.lc-sw-b:not([aria-pressed="true"]):hover { color: var(--on-dark); }
/* Banderas dibujadas: se ven igual en cualquier móvil (no dependen del emoji del sistema) */
.fl { flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(128,128,140,.45); }
.fl-es { background: linear-gradient(#c8102e 0 27%, #f6c60d 27% 73%, #c8102e 73%); }
.fl-it { background: linear-gradient(90deg, #128a45 0 33.4%, #f7f5ef 33.4% 66.6%, #cf2b37 66.6%); }
.lc-prog { display: flex; align-items: center; gap: 10px; padding: 0 6px 2px; font: 500 10.5px var(--mono); font-variant-numeric: tabular-nums; color: rgba(245,242,236,.6); }
.lc-prog[hidden] { display: none; }
.lc-prog-w { flex: 1; min-width: 0; height: 18px; display: flex; align-items: center; gap: 2px; }
.lc-prog-w i { flex: 1; height: 100%; border-radius: 2px; background: rgba(154,163,242,.38); transform: scaleY(var(--h, .5)); transition: background .25s; }
.lc-prog-w i.on { background: #fff; }
.lc {
  position: relative; border-radius: 28px; padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border: 1px solid rgba(245,242,236,.12); box-shadow: 0 40px 90px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.09); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lc-top { display: flex; align-items: center; gap: 14px; }
.lc-av { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #8a6bd6); display: grid; place-items: center; font-weight: 700; transition: transform .25s var(--ease); }
.lc-av i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent-soft); opacity: 0; }
.lc.is-dialing .lc-av i { animation: lc-ring 1.6s ease-out infinite; }
.lc.is-dialing .lc-av i + i { animation-delay: .8s; }
.lc.speak-ag .lc-av { transform: scale(1.07); }
.lc[data-agent="anna"] .lc-av { background: linear-gradient(135deg, #1c9c8f, var(--accent)); }
.lc.swap { animation: lc-swap .5s var(--ease); }
@keyframes lc-swap { from { opacity: .25; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lc-ring { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
.lc-who { min-width: 0; }
.lc-who b { display: block; font-size: 16px; line-height: 1.2; }
.lc-who span { font-size: 12.5px; color: var(--on-dark-muted); white-space: nowrap; }
.lc-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 600 11.5px var(--mono); white-space: nowrap; border: 1px solid; transition: color .3s, background .3s, border-color .3s; }
.lc-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: lc-blink 1.2s ease-in-out infinite; }
.lc-pill[data-s="dial"] { color: var(--amber); background: rgba(251,191,36,.12); border-color: rgba(251,191,36,.35); }
.lc-pill[data-s="live"] { color: var(--accent-soft); background: rgba(94,106,210,.2); border-color: rgba(154,163,242,.4); }
.lc-pill[data-s="done"] { color: var(--ok); background: rgba(52,211,153,.14); border-color: rgba(52,211,153,.4); }
.lc-pill[data-s="done"] i { animation: none; }
@keyframes lc-blink { 50% { opacity: .35; } }
.lc-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; margin: 16px 0 8px; }
.lc-wave i { display: block; width: 5px; height: 48px; border-radius: 3px; background: rgba(245,242,236,.2); transform: scaleY(.1); will-change: transform; }
.lc-wave[data-who="ag"] i { background: linear-gradient(#9aa3f2, var(--accent)); }
.lc-wave[data-who="cli"] i { background: rgba(245,242,236,.75); }
.lc-chat { display: flex; flex-direction: column; justify-content: flex-start; height: 262px; overflow: hidden; scroll-behavior: smooth; }
.lc-chat.scrolled { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30px); mask-image: linear-gradient(to bottom, transparent 0, #000 30px); }
.msg { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.msg.on { grid-template-rows: 1fr; }
.msg > div { overflow: hidden; min-height: 0; display: flex; }
.msg.cli > div { justify-content: flex-end; }
.msg .b { margin-top: 8px; max-width: 90%; width: fit-content; padding: 10px 14px 11px; border-radius: 16px; font-size: 14.5px; line-height: 1.42; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .35s, transform .5s var(--ease); }
.msg.on .b { opacity: 1; transform: none; }
.msg.ag .b { background: rgba(94,106,210,.22); border: 1px solid rgba(154,163,242,.28); border-top-left-radius: 5px; }
.msg.cli .b { background: rgba(245,242,236,.09); border: 1px solid rgba(245,242,236,.14); border-top-right-radius: 5px; }
.msg .who { display: block; font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin-bottom: 3px; }
.msg .t span { opacity: 0; transition: opacity .2s; }
.msg .t span.on { opacity: 1; }
.lc-res { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.lc-res.on { opacity: 1; transform: none; }
.lc-res-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ok); display: grid; place-items: center; color: #0f0f14; }
.lc-res b { display: block; font-size: 14.5px; }
.lc-res span { font-size: 12.5px; color: var(--on-dark-muted); }
.lc-ctl:has(.lc-btn[hidden]) { display: none; }
.lc-btn[hidden] { display: none; }
.lc-btn {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 20px 12px 12px; border-radius: 999px; text-align: left; isolation: isolate;
  color: #fff; background: linear-gradient(120deg, #5E6AD2 0%, #7c6bdc 55%, #9a6fe0 100%); border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 46px rgba(94,106,210,.5), 0 0 0 5px rgba(94,106,210,.16), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.lc-card .lc-btn { min-height: 66px; box-shadow: 0 12px 30px rgba(94,106,210,.42), inset 0 1px 0 rgba(255,255,255,.3); }
/* El brillo se mueve con background-position (no con transform): así no hace falta recortar el botón y el halo del icono no sale cortado */
.lc-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.26) 50%, transparent 60%) no-repeat; background-size: 250% 100%; background-position: 170% 0; animation: lc-shine 4.5s ease-in-out infinite; }
@keyframes lc-shine { 0%, 55% { background-position: 170% 0; } 100% { background-position: -70% 0; } }
.lc-btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); box-shadow: 0 22px 54px rgba(94,106,210,.62), 0 0 0 5px rgba(94,106,210,.2), inset 0 1px 0 rgba(255,255,255,.36); }
.lc-btn:active { transform: scale(.985); }
.lc-btn-ic { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: #fff; box-shadow: 0 6px 18px rgba(20,20,60,.35); transition: background .3s, color .3s; }
.lc-btn-ic > svg:not(.lc-ring) { position: relative; z-index: 1; width: 17px; height: 17px; }
#lc-ic-play { margin-left: 3px; }
#lc-ic-stop { width: 14px; height: 14px; }
.lc-btn-ic svg[hidden] { display: none; }
.lc-btn-ic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); animation: lc-halo 2.2s ease-out infinite; pointer-events: none; }
@keyframes lc-halo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.32); opacity: 0; } }
.lc-ring { position: absolute; inset: -4px; width: 56px; height: 56px; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lc-ring circle { fill: none; stroke-width: 2.5; }
.lc-ring-bg { stroke: rgba(255,255,255,.3); }
.lc-ring-fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.lc-btn[aria-pressed="true"] .lc-btn-ic { background: var(--ink); color: #fff; }
.lc-btn[aria-pressed="true"] .lc-btn-ic::after { animation: none; opacity: 0; }
.lc-btn[aria-pressed="true"] .lc-ring { opacity: 1; }
.lc-btn-tx { min-width: 0; flex: 1 1 auto; }
.lc-btn-tx b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.lc-btn-tx small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; line-height: 1.3; color: rgba(255,255,255,.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.lc-eq { margin-left: auto; display: flex; align-items: center; gap: 3px; height: 24px; flex: none; }
.lc-eq i { display: block; width: 3px; height: 100%; border-radius: 2px; background: rgba(255,255,255,.75); transform: scaleY(var(--h, .4)); }
.lc-eq i:nth-child(1) { --h: .35; } .lc-eq i:nth-child(2) { --h: .7; } .lc-eq i:nth-child(3) { --h: 1; } .lc-eq i:nth-child(4) { --h: .6; } .lc-eq i:nth-child(5) { --h: .3; }
.lc-btn[aria-pressed="true"] .lc-eq i { background: #fff; animation: lc-eq .9s ease-in-out infinite alternate; }
.lc-btn[aria-pressed="true"] .lc-eq i:nth-child(2) { animation-delay: -.25s; } .lc-btn[aria-pressed="true"] .lc-eq i:nth-child(3) { animation-delay: -.5s; }
.lc-btn[aria-pressed="true"] .lc-eq i:nth-child(4) { animation-delay: -.15s; } .lc-btn[aria-pressed="true"] .lc-eq i:nth-child(5) { animation-delay: -.4s; }
@keyframes lc-eq { from { transform: scaleY(.22); } to { transform: scaleY(1); } }

/* Hero: números locales */
.he-7 { animation-delay: 1.4s; }
.hero-num { display: flex; align-items: flex-start; gap: 14px; max-width: 560px; margin-top: 4px; padding-top: 20px; border-top: 1px solid rgba(245,242,236,.12); }
.hero-num-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #c9cdfb; background: rgba(94,106,210,.22); border: 1px solid rgba(154,163,242,.35); }
.hero-num p { font-size: 13.5px; line-height: 1.6; color: rgba(245,242,236,.66); }
.hero-num b { color: rgba(245,242,236,.95); font-weight: 600; }

/* ═══════════ NOSOTROS ═══════════ */
.sec { padding: 96px 0; position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 48px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 64px; } }
.about-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.about-text h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.1; font-weight: 600; }
.about-text p { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 500px; }
.net { position: relative; border-radius: 24px; overflow: hidden; background: var(--ink); color: var(--on-dark); border: 1px solid rgba(26,26,24,.2); box-shadow: 0 30px 60px rgba(26,26,24,.18); }
.net svg { width: 100%; height: auto; }
.net-clocks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(245,242,236,.1); }
.net-clocks li { padding: 14px 12px 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.net-clocks li + li { border-left: 1px solid rgba(245,242,236,.1); }
.net-clocks span { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.net-clocks b { font: 500 22px var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.net-clocks small { font-size: 11px; color: rgba(245,242,236,.4); }
.net-ping { transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; }
.net-ping.d2 { animation-delay: .9s; } .net-ping.d3 { animation-delay: 1.8s; }
@keyframes ping { 0% { transform: scale(.3); opacity: .75; } 100% { transform: scale(3.6); opacity: 0; } }
.net-flow { stroke-dasharray: 14 86; animation: flow 3.4s linear infinite; }
.net-flow.d2 { animation-delay: -1.7s; }
.net-flow.d3 { animation-delay: -2.6s; }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ═══════════ SERVICIOS ═══════════ */
.svc-head { padding: 88px 5% 24px; gap: 12px; max-width: 1200px; margin: 0 auto; }
.svc-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; font-weight: 600; max-width: 660px; }
.svc-head p { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 520px; line-height: 1.55; }
.svc-wrap { position: relative; }
.svc-stage { position: relative; background: var(--bg); }
.svc { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 44px 5% 56px; max-width: 620px; margin: 0 auto; }
.svc-text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.svc-num { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 500 13px var(--mono); background: var(--card-bg); border: 1px solid var(--border); }
.svc h3 { font-family: 'Playfair Display', serif; font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; line-height: 1.08; }
.svc-text > p { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); line-height: 1.65; max-width: 480px; }
.svc-pts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.svc-pts li { padding: 6px 13px; border-radius: 999px; font-size: 13px; background: var(--card-bg); border: 1px solid var(--border); }
.s2-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 22px; border-radius: 8px; font-size: 13px; font-weight: 500; background: var(--fg); color: var(--bg); margin-top: 6px; transition: opacity .2s, transform .3s var(--ease); }
.s2-btn:hover { opacity: .85; transform: translateY(-2px); }
.svc-box { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; max-width: 480px; padding: 16px 18px; border-radius: 16px; background: rgba(94,106,210,.07); border: 1px solid rgba(94,106,210,.28); }
.svc-box-ic { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--accent); box-shadow: 0 8px 20px var(--accent-glow); }
.svc-box b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.svc-box-d { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.svc-box-l { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.svc-box-l li { padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--bg); border: 1px solid rgba(94,106,210,.32); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.svc-actions .s2-btn { margin-top: 0; }
.s2-btn.ghost { background: transparent; color: var(--fg); border: 1px solid rgba(26,26,24,.22); }
.s2-btn.ghost:hover { background: var(--card-bg); opacity: 1; }
.svc-media { width: 100%; max-width: 420px; }
.svc-frame { position: relative; isolation: isolate; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: #0f0f14; border: 1px solid rgba(26,26,24,.14); box-shadow: 0 36px 70px rgba(26,26,24,.22), 0 0 0 6px rgba(26,26,24,.04); }
.svc-frame img, .jr-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Escena dibujada en vivo por assets/escenas.js: lienzo de 1080×1350 que se escala al ancho del marco (va encima de la imagen fija) */
.sc-stage { position: absolute; left: 0; top: 0; z-index: 1; width: 1080px; height: 1350px; transform-origin: 0 0; overflow: hidden; contain: strict; pointer-events: none; -webkit-user-select: none; user-select: none; line-height: normal; font-optical-sizing: none; text-align: left; animation: sc-in .45s ease both; }
@keyframes sc-in { from { opacity: 0; } }
.svc-cap { margin-top: 12px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: center; }
.svc-dots { display: none; }
@media (min-width: 900px) {
  .svc-wrap { height: 525vh; }
  .svc-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
  .svc { position: absolute; inset: 0; max-width: 1240px; flex-direction: row; align-items: center; justify-content: space-between; gap: 5vw; padding: 84px 6% 72px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s var(--ease), visibility 0s .6s; }
  .svc.is-active { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .6s var(--ease), visibility 0s; }
  .svc-text { align-items: flex-start; text-align: left; flex: 1 1 0; max-width: 520px; }
  .svc-pts, .svc-actions { justify-content: flex-start; }
  .svc-text > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
  .svc.is-active .svc-text > * { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 70ms + 150ms); }
  .svc-media { flex: none; width: auto; max-width: none; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .7s var(--ease), transform .8s var(--ease); }
  .svc.is-active .svc-media { opacity: 1; transform: none; transition-delay: .12s; }
  .svc-frame { --h: min(66vh, 600px); height: var(--h); width: calc(var(--h) * .8); aspect-ratio: auto; }
  .svc-dots { display: flex; position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); gap: 8px; z-index: 3; }
  .svc-dot { height: 8px; width: 8px; border-radius: 4px; background: rgba(26,26,24,.18); transition: width .3s var(--ease), background .3s; }
  .svc-dot.is-active { width: 28px; background: var(--fg); }
}

@media (min-width: 900px) and (max-height: 800px) {
  .svc h3 { font-size: clamp(32px, 3.6vw, 46px); }
  .svc-text { gap: 11px; }
  .svc-text > p { font-size: 15px; line-height: 1.55; }
  .svc-box { padding: 12px 14px; }
  .svc-box-l { margin-top: 8px; }
}

/* ═══════════ BENEFICIOS ═══════════ */
#beneficios { padding: 100px 0; background: var(--ink); position: relative; overflow: hidden; color: var(--on-dark); }
#beneficios .blob { opacity: .7; }
.ben-inner { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: flex; flex-direction: column; gap: 56px; position: relative; z-index: 1; }
.ben-head { gap: 14px; }
.ben-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; font-weight: 600; max-width: 600px; }
.ben-head p { font-size: clamp(15px, 1.2vw, 17px); color: rgba(245,242,236,.55); max-width: 460px; line-height: 1.6; }
.glass-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; width: 100%; max-width: 860px; margin: 0 auto; }
@media (min-width: 640px) { .glass-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.glass-card { position: relative; overflow: hidden; background: rgba(245,242,236,.04); border: 1px solid rgba(245,242,236,.08); border-radius: 16px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.glass-card:hover { transform: translateY(-6px); border-color: rgba(245,242,236,.18); box-shadow: 0 24px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(94,106,210,.15); }
.glass-card-vis { position: relative; height: 200px; border-bottom: 1px solid rgba(245,242,236,.06); background: radial-gradient(circle at 50% 0%, rgba(94,106,210,.2), transparent 70%), rgba(255,255,255,.015); }
.glass-card-vis svg { width: 100%; height: 100%; }
.glass-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.glass-card-num { font: 500 11px var(--mono); color: #8f98f0; letter-spacing: .08em; }
.glass-card-title { font-size: 17px; font-weight: 600; color: rgba(245,242,236,.92); line-height: 1.25; }
.glass-card-desc { font-size: 13px; line-height: 1.55; color: rgba(245,242,236,.55); }

/* Microanimaciones SVG de los beneficios */
.bt-mono { font: 500 24px var(--mono); fill: #f5f2ec; letter-spacing: .04em; }
.bt-spin { transform-box: fill-box; transform-origin: center; animation: bt-rot 7s linear infinite; }
@keyframes bt-rot { to { transform: rotate(360deg); } }
.bt-bar { transform-box: fill-box; transform-origin: center bottom; animation: bt-bar 2.8s ease-in-out infinite alternate; }
@keyframes bt-bar { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.bt-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: bt-draw 4s ease-in-out infinite; }
@keyframes bt-draw { 0% { stroke-dashoffset: 100; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.bt-caret { animation: lc-blink 1s steps(1) infinite; }
.bt-hit { animation: bt-hit 4.4s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes bt-hit { 0%, 12% { transform: translateX(-14px); opacity: 0; } 24%, 86% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.bt-star { animation: bt-pulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bt-pulse { 50% { transform: scale(1.18); opacity: .75; } }
.bt-flow { stroke-dasharray: 6 10; animation: bt-dash 1.2s linear infinite; }
@keyframes bt-dash { to { stroke-dashoffset: -32; } }
.bt-day { animation: bt-day 8.4s ease-in-out infinite; animation-delay: calc(var(--n) * .75s); }
@keyframes bt-day { 0%, 6% { fill: rgba(245,242,236,.08); } 14%, 78% { fill: rgba(94,106,210,.6); } 92%, 100% { fill: rgba(245,242,236,.08); } }
.bt-day.last { animation-name: bt-day-last; }
@keyframes bt-day-last { 0%, 6% { fill: rgba(245,242,236,.08); } 14%, 78% { fill: #34d399; } 92%, 100% { fill: rgba(245,242,236,.08); } }

/* ═══════════ CUMPLIMIENTO — recorrido de una llamada ═══════════ */
/* Es una página adicional: un diálogo a pantalla completa que solo se abre al pulsar el botón de «Llamadas Automatizadas» */
.cmp-page { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--fg); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.cmp-page::backdrop { background: var(--bg); }
.cmp-page:not([open]) { display: none; }   /* también en navegadores sin <dialog>: cerrada, no se ve */
.cmp-page[open] { display: block; }
.cmp-page[open] { animation: cmp-in .5s var(--ease); }
@keyframes cmp-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.cmp-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 5%; background: rgba(245,242,236,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.cmp-back { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--fg); color: var(--bg); transition: opacity .2s, transform .3s var(--ease); }
.cmp-back:hover { opacity: .85; transform: translateX(-2px); }
.cmp-bar-t { display: none; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 640px) { .cmp-bar-t { display: block; } }
.cmp-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(26,26,24,.18); transition: background .2s; }
.cmp-x:hover { background: var(--card-bg); }
.cmp-body { padding-top: 56px; padding-bottom: 88px; }
.cmp-back-row { display: flex; justify-content: center; margin-top: 36px; }
html:not(.js) .cmp-page { display: block; position: static; height: auto; overflow: visible; }
html:not(.js) .cmp-bar { display: none; }
body.cmp-open { overflow: hidden; }
.cmp-head { gap: 12px; margin-bottom: 56px; }
.cmp-head h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; font-weight: 600; max-width: 760px; }
.cmp-head p { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 620px; line-height: 1.6; }
.jr { position: relative; max-width: 980px; margin: 0 auto; }
.jr-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--border); border-radius: 1px; }
.jr-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--accent-soft), var(--accent)); box-shadow: 0 0 14px var(--accent-glow); border-radius: 1px; }
.jr-token { position: absolute; left: 50%; top: 0; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 7px rgba(94,106,210,.16), 0 10px 28px var(--accent-glow); }
.jr-token::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.2s ease-out infinite; }
.jr-pill { position: relative; z-index: 3; width: max-content; max-width: 90%; margin: 0 auto; padding: 8px 16px; border-radius: 999px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.jr-pill.edge { background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.jr-pill.phase { background: var(--fg); color: var(--bg); margin-top: 20px; margin-bottom: 30px; transition: background .4s, box-shadow .4s; }
.jr-pill.phase.on { background: var(--accent); box-shadow: 0 8px 24px var(--accent-glow); }
.jr-step { position: relative; width: calc(50% - 46px); margin-bottom: 26px; padding: 22px 24px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--border); transition: opacity .5s var(--ease), border-color .5s, background .5s, transform .6s var(--ease), box-shadow .5s; }
.jr-step.right { margin-left: auto; }
.jr-step::before { content: ''; position: absolute; top: 34px; width: 46px; height: 2px; background: var(--border); transition: background .4s; }
.jr-step:not(.right)::before { left: 100%; } .jr-step.right::before { right: 100%; }
.jr-step::after { content: ''; position: absolute; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.jr-step:not(.right)::after { left: calc(100% + 46px); margin-left: -7px; } .jr-step.right::after { right: calc(100% + 46px); margin-right: -7px; }
.jr-n { display: inline-block; font: 500 11px var(--mono); letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; transition: color .4s; }
.jr-step h4 { font-size: 17px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.jr-step p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.js .jr-step { opacity: .42; }
.js .jr-step.on { opacity: 1; background: rgba(94,106,210,.06); border-color: rgba(94,106,210,.45); box-shadow: 0 18px 40px rgba(94,106,210,.1); }
.jr-step.on::before { background: var(--accent); }
.jr-step.on::after { background: var(--accent); border-color: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 5px var(--accent-glow); }
.jr-step.on .jr-n { color: var(--accent); }
.jr-end { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; z-index: 3; }
.jr-panel { width: min(100%, 340px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(26,26,24,.14); box-shadow: 0 34px 64px rgba(26,26,24,.22); background: #0f0f14; aspect-ratio: 4/5; position: relative; isolation: isolate; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.js .jr-panel { opacity: .35; transform: translateY(18px) scale(.97); }
.js .jr-panel.on { opacity: 1; transform: none; }
.cmp-foot { margin-top: 44px; text-align: center; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cmp-foot a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 759px) {
  .jr-line { left: 22px; right: auto; margin-left: -1px; }
  .jr-token { left: 22px; }
  .jr-pill { margin-left: 52px; max-width: calc(100% - 52px); }
  .jr-step, .jr-step.right { width: auto; margin-left: 52px; }
  .jr-step:not(.right)::before, .jr-step.right::before { left: auto; right: 100%; width: 30px; }
  .jr-step:not(.right)::after, .jr-step.right::after { left: -37px; right: auto; margin: 0; }
  .jr-end { align-items: flex-start; margin-left: 52px; }
}

/* ═══════════ CASOS ═══════════ */
.casos-marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%); }
.casos-marquee-track { display: flex; gap: 16px; width: max-content; animation: casos-scroll 40s linear infinite; }
.casos-marquee-track:hover { animation-play-state: paused; }
@keyframes casos-scroll { to { transform: translateX(-50%); } }
.casos-card { width: 300px; flex-shrink: 0; }
.bento-card { position: relative; overflow: hidden; border-radius: 12px; cursor: default; }
.bento-card-img { height: 260px; overflow: hidden; border-radius: 12px; }
.bento-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bento-card:hover .bento-card-img img { transform: scale(1.05); }
.bento-card-fog { position: absolute; left: -1px; right: -1px; bottom: -1px; height: 45%; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 100%); mask-image: linear-gradient(to top, #000 40%, transparent 100%); }
.bento-card-body { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 10; padding: 12px; border-radius: 10px; transition: gap .4s; }
.bento-inner-bg { position: absolute; inset: 0; border-radius: 10px; background: var(--card-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bento-title { position: relative; z-index: 1; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.2; color: var(--fg); }
.bento-desc { position: relative; z-index: 1; font-size: 13px; line-height: 1.4; color: var(--fg); margin-top: 4px; }
@media (min-width: 768px) {
  .bento-inner-bg { opacity: 0; transform: translateY(100%); transition: all .4s ease; }
  .bento-card:hover .bento-inner-bg { opacity: 1; transform: none; }
  .bento-title { color: #f5f2ec; transition: color .4s; }
  .bento-card:hover .bento-title { color: var(--fg); }
  .bento-desc { opacity: 0; max-height: 0; overflow: hidden; margin-top: 0; transition: max-height .4s ease, opacity .4s, margin .4s; }
  .bento-card:hover .bento-desc { opacity: 1; max-height: 80px; margin-top: 4px; }
}

.focus { display: grid; grid-template-columns: minmax(0,1fr); border-radius: 28px; overflow: hidden; background: var(--ink); color: var(--on-dark); border: 1px solid rgba(26,26,24,.2); box-shadow: 0 30px 70px rgba(26,26,24,.2); }
@media (min-width: 900px) { .focus { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); } }
/* En móvil la foto va entera, a su proporción (3:2); en escritorio llena la columna */
.focus-media { position: relative; aspect-ratio: 3/2; max-height: 460px; width: 100%; background: #1c1c24; }
@media (min-width: 900px) { .focus-media { aspect-ratio: auto; max-height: none; min-height: 420px; } }
.focus-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.focus-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,16,21,.55) 0%, rgba(16,16,21,0) 38%); }
.focus-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--accent); box-shadow: 0 8px 22px var(--accent-glow); }
.focus-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: clamp(22px, 3.2vw, 46px); min-width: 0; }
.focus-body .section-label { margin-bottom: 0; }
.focus-body h3 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.4vw, 46px); font-weight: 600; line-height: 1.1; }
.focus-body > p { font-size: 15.5px; line-height: 1.65; color: rgba(245,242,236,.7); }
.focus-mk { width: 100%; display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(245,242,236,.1); }
.focus-mk-t { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8f98f0; }
.focus-mk-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
@media (min-width: 560px) { .focus-mk-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.focus-mk section { padding: 14px 14px 16px; border-radius: 16px; background: rgba(245,242,236,.045); border: 1px solid rgba(245,242,236,.1); }
.focus-mk h4 { font-size: 16px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.focus-mk ul { display: flex; flex-wrap: wrap; gap: 6px; }
.focus-mk li { padding: 5px 11px; border-radius: 999px; font-size: 13px; line-height: 1.35; color: rgba(245,242,236,.9); background: rgba(94,106,210,.18); border: 1px solid rgba(154,163,242,.3); }
.focus-mk-n { font-size: 13.5px; line-height: 1.55; color: rgba(245,242,236,.55); }
.focus-cta { margin-top: 4px; height: 46px; border-radius: 8px; font-size: 13.5px; }
.casos-also { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Con «reducir movimiento» la escena no arranca sola: se ve la imagen fija y un botón para reproducirla */
.vplay { position: absolute; inset: 0; z-index: 3; display: none; align-items: center; justify-content: center; background: rgba(15,15,20,.3); cursor: pointer; }
.needs-tap > .vplay { display: flex; }
.vplay span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px; border-radius: 999px; background: rgba(245,242,236,.95); color: var(--fg); font-size: 14px; font-weight: 600; box-shadow: 0 14px 38px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.vplay:hover span, .vplay:focus-visible span { transform: scale(1.06); }

/* ═══════════ CONTACTO ═══════════ */
#contacto { padding: 80px 0 0; background: var(--ink); color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 40px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }
.contact-left { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.contact-left h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.1; font-weight: 600; }
.contact-left > p { font-size: clamp(15px, 1.2vw, 17px); color: rgba(245,242,236,.6); line-height: 1.6; max-width: 420px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-ic { width: 36px; height: 36px; border-radius: 8px; background: rgba(245,242,236,.08); border: 1px solid rgba(245,242,236,.1); display: grid; place-items: center; flex: none; }
.contact-list b { display: block; font-size: 13px; font-weight: 500; }
.contact-list span { font-size: 13px; color: rgba(245,242,236,.55); }
.contact-list a:hover { text-decoration: underline; }
.contact-wa { height: 44px; padding: 0 24px; border-radius: 8px; font-size: 13px; margin-top: 8px; }
form.cform { display: flex; flex-direction: column; gap: 24px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; color: rgba(245,242,236,.55); }
.field input, .field textarea, .field select { background: transparent; border: none; border-bottom: 1px solid rgba(245,242,236,.2); padding: 10px 0; font-size: 14px; color: var(--on-dark); outline: none; width: 100%; border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--on-dark); }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,242,236,.35); }
.field select option { color: #1a1a18; }
.field textarea { resize: none; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.55; color: rgba(245,242,236,.55); cursor: pointer; }
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: #f5f2ec; width: 15px; height: 15px; }
.consent a { color: rgba(245,242,236,.88); text-decoration: underline; text-underline-offset: 2px; }
.cform .hero-btn { width: 100%; height: 48px; font-size: 14px; border-radius: 8px; justify-content: center; border: none; cursor: pointer; }
.cform .hero-btn:disabled { opacity: .7; cursor: wait; }
.cform-note { font-size: 12px; color: rgba(245,242,236,.35); text-align: center; margin-top: -8px; }

.footer { max-width: 1200px; margin: 72px auto 0; padding: 0 5%; }
.footer-top { border-top: 1px solid rgba(245,242,236,.08); padding: 48px 0 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.footer-brand p:first-child { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(36px, 5vw, 60px); line-height: .9; color: #f5f2ec; }
.footer-brand p + p { font-size: 13px; color: rgba(245,242,236,.4); max-width: 320px; line-height: 1.6; margin-top: 10px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; padding-bottom: 4px; }
.footer a { font-size: 13px; color: rgba(245,242,236,.45); transition: color .2s; }
.footer a:hover { color: #f5f2ec; }
.footer-legal { padding: 24px 0 40px; border-top: 1px solid rgba(245,242,236,.05); margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.footer-id { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; line-height: 1.7; color: rgba(245,242,236,.4); }
.footer-id strong { font-weight: 500; color: rgba(245,242,236,.55); }
.footer-id a { font-size: 12px; color: rgba(245,242,236,.55); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { font-size: 12px; }
.footer-copy { font-size: 12px; color: rgba(245,242,236,.28); }

/* ═══════════ Flotantes ═══════════ */
#nav-progress { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 800; display: none; flex-direction: column; align-items: flex-end; }
@media (min-width: 1100px) { #nav-progress { display: flex; } }
.np-line { position: absolute; right: 3.5px; top: 16px; bottom: 16px; width: 1px; background: rgba(120,120,120,.25); }
.np-line-fill { position: absolute; top: 0; width: 1px; background: var(--accent); transition: height .4s var(--ease); }
.np-item { position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 10px 0; cursor: pointer; }
.np-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; border: 1.5px solid rgba(120,120,120,.5); background: transparent; transition: all .35s var(--ease); position: relative; z-index: 1; }
.np-item.active .np-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 10px var(--accent-glow); width: 10px; height: 10px; }
.np-item:last-child .np-dot { border-color: var(--accent); background: rgba(94,106,210,.15); }
.np-label { position: absolute; right: 20px; font-size: 11px; font-weight: 500; letter-spacing: .03em; white-space: nowrap; padding: 4px 10px; border-radius: 6px; background: rgba(20,20,18,.88); color: #f5f2ec; backdrop-filter: blur(8px); opacity: 0; transform: translateX(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.np-item:hover .np-label, .np-item:focus-visible .np-label { opacity: 1; transform: none; }
.np-item:last-child .np-label { background: var(--accent); color: #fff; font-weight: 600; }

#wa-float { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); z-index: 850; opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
#wa-float.visible { opacity: 1; transform: none; pointer-events: auto; }
#wa-btn { position: relative; width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; background: #25D366; display: grid; place-items: center; box-shadow: 0 4px 20px rgba(37,211,102,.38); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
#wa-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.5); }
#wa-btn svg { width: 26px; height: 26px; fill: #fff; }
#wa-btn::before, #wa-btn::after { content: ''; position: absolute; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: wa-pulse 2.2s ease-out infinite; }
#wa-btn::before { inset: -4px; } #wa-btn::after { inset: -8px; border-width: 1.5px; animation-delay: .5s; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
#wa-tooltip { position: absolute; right: calc(100% + 12px); top: 50%; background: rgba(20,20,18,.9); color: #f5f2ec; font-size: 12px; font-weight: 500; padding: 7px 12px; border-radius: 8px; white-space: nowrap; border: 1px solid rgba(245,242,236,.1); opacity: 0; transform: translateY(-50%) translateX(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
#wa-float:hover #wa-tooltip { opacity: 1; transform: translateY(-50%); }
@media (hover: none) { #wa-tooltip { display: none; } }

/* ═══════════ Móvil ═══════════ */
@media (max-width: 767px) {
  #navbar { padding: 14px 5%; } #navbar .logo { font-size: 16px; }
  .btn-clientes, .btn-book { display: none; }
  .hero-wrap { padding-top: 96px; padding-bottom: 56px; gap: 26px; }
  .hero-inner { gap: 18px; }
  /* en móvil «Ardesku» ya está en el menú: no se repite encima del titular, y la etiqueta y el texto van en su versión corta */
  .hero-wordmark, .t-l { display: none; } .t-s { display: inline; }
  .hero-tag { white-space: nowrap; }
  .hero-btn { width: 100%; justify-content: center; height: 46px; }
  /* los dos botones del inicio: en una fila y más pequeños (si no caben, pasan a dos filas) */
  .hero-btns { gap: 8px; }
  .hero-btns .hero-btn { flex: 1 1 auto; width: auto; height: 42px; padding: 0 12px; border-radius: 9px; font-size: clamp(12px, 3.45vw, 13.5px); }
  .sec { padding: 64px 0; }
  .net-clocks b { font-size: 17px; }
  #beneficios, #contacto { padding-top: 64px; } #beneficios { padding-bottom: 64px; }
  .casos-card { width: clamp(240px, 78vw, 300px); }
  .nav-link-item a { padding: 16px 28px; }
  .lc { padding: 16px; border-radius: 24px; } .lc-chat { height: 244px; }
  .lc-card { padding: 12px; border-radius: 24px; } .lc-eq { display: none; }   /* el progreso de la tarjeta ya hace de onda */
  .lc-pill { font-size: 10px; padding: 5px 9px; gap: 6px; } .lc-who span { font-size: 12px; }
  .focus { border-radius: 22px; } .focus-cta { width: 100%; }
  .cmp-body { padding-top: 40px; padding-bottom: 64px; }
}

@media (max-width: 420px) { .lc-pill .pl { display: none; } }
@media (max-width: 360px) {
  .net-clocks li { padding: 12px 6px 12px 10px; } .net-clocks b { font-size: 15px; } .net-clocks span { letter-spacing: .08em; }
  .lc-btn { gap: 11px; padding-right: 16px; } .lc-btn-tx b { font-size: 16px; } .lc-btn-tx small { font-size: 12px; }
}
@media (max-width: 340px) {
  .hero-btns .hero-btn { padding: 0 8px; font-size: 11.5px; }
  .lc-eq, .lc-card-l { display: none; }
}
/* Portátiles con poca altura: la demo se compacta para que el inicio quepa en la primera pantalla */
@media (min-width: 980px) and (max-height: 800px) {
  .hero-wrap { padding-top: 96px; padding-bottom: 40px; }
  .lc-chat { height: 200px; } .lc-wave { height: 44px; margin: 12px 0 4px; } .lc-wave i { height: 38px; }
}

/* ═══════════ Movimiento reducido ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .he, .hero-headline .w { opacity: 1; transform: none; filter: none; }
  .js .reveal { opacity: 1; transform: none; }
  .lc.swap, .sc-stage { animation: none; }
  .blob, .net-ping, .net-flow, .bt-spin, .bt-bar, .bt-draw, .bt-hit, .bt-star, .bt-flow, .bt-day, .jr-token::after, #wa-btn::before, #wa-btn::after { animation: none; }
  .bt-draw { stroke-dashoffset: 0; } .bt-hit { opacity: 1; }
  .casos-marquee-wrap { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .casos-marquee-track { animation: none; transform: none; }
}
