/* ==========================================================================
   Thalkrent — Tecnología con IA que trabaja por ti
   Estructura:
   1. Tokens          6. Hero            11. Hosting
   2. Base            7. Quiénes somos   12. Proceso
   3. Utilidades      8. IA              13. Fundador
   4. Componentes     9. Planes web      14. Garantías y FAQ
   5. Navegación     10. Automatización  15. CTA, footer y botón flotante
                                         16. Responsive y movimiento reducido
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --navy-950: #061433;
  --navy-900: #0a1c45;
  --navy-800: #0d2a66;
  --blue-700: #0843a8;
  --blue-600: #0b50c7;
  --blue-500: #1a68ea;
  --blue-400: #4f95ff;
  --green-600: #00a577;
  --green-500: #10c994;
  --green-400: #35e0ab;
  --green-ink: #007552;

  --ink: #0c1e45;
  --text: #3e4863;
  --muted: #5f6882;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #edf2fd;

  --grad-blue: linear-gradient(145deg, #1f6ff2 0%, #0a3a9e 100%);
  --grad-green: linear-gradient(145deg, #34e0aa 0%, #00a577 100%);
  --grad-hero: linear-gradient(165deg, #06153a 0%, #0a2766 48%, #0a47b0 100%);
  --grad-dark: linear-gradient(180deg, #06153a 0%, #0b2560 100%);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 30, 69, .05), 0 4px 12px rgba(12, 30, 69, .04);
  --shadow: 0 18px 40px -18px rgba(12, 30, 69, .22);
  --shadow-lg: 0 32px 64px -24px rgba(12, 30, 69, .3);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong, b { font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--green-400); color: var(--navy-950); }

/* 3. Utilidades ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 10px 18px; border-radius: 10px;
  background: var(--green-500); color: var(--navy-950); font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: 12px; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.grad-text {
  background: linear-gradient(90deg, var(--green-400) 0%, #6db8ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Aparición progresiva al hacer scroll (solo si hay JS).
   Usa `translate` para no chocar con los `transform` de los hover;
   main.js quita la clase .reveal cuando termina la animación. */
.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* 4. Componentes ----------------------------------------------------------- */

/* Botones */
.btn {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.6em;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .97rem; font-weight: 600; line-height: 1.2; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background-color .25s, color .25s, border-color .25s;
}
.btn .i { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary { --btn-bg: var(--green-500); --btn-fg: var(--navy-950); box-shadow: 0 10px 26px -10px rgba(16, 201, 148, .7); }
.btn--primary:hover { --btn-bg: var(--green-400); box-shadow: 0 16px 34px -12px rgba(16, 201, 148, .85); }

.btn--blue { --btn-bg: var(--blue-600); --btn-fg: #fff; box-shadow: 0 10px 26px -12px rgba(11, 80, 199, .7); }
.btn--blue:hover { --btn-bg: var(--blue-500); }

.btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); }

.btn--outline { --btn-fg: var(--blue-600); border-color: rgba(11, 80, 199, .28); }
.btn--outline:hover { --btn-bg: var(--blue-600); --btn-fg: #fff; border-color: var(--blue-600); }

.btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }

/* Secciones */
.section { position: relative; padding-block: clamp(80px, 10vw, 128px); }
.section--tight { padding-block: clamp(64px, 8vw, 96px); }
.section--soft { background: var(--bg-soft); }

.section--dark {
  background: var(--grad-dark);
  color: rgba(255, 255, 255, .76);
  overflow: hidden;
  isolation: isolate;
}
.section--dark::before,
.hero::before,
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 110px);
  pointer-events: none;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-500));
}
.section--dark .eyebrow, .footer .eyebrow { color: var(--green-400); }

.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }

.lead {
  margin-top: 18px; max-width: 62ch;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--muted);
}
.section-head--center .lead { margin-inline: auto; }
.section--dark .lead { color: rgba(255, 255, 255, .72); }

.subhead {
  margin-bottom: 22px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
}
.subhead--center { text-align: center; }
.section--dark .subhead { color: var(--green-400); }

.block { margin-top: clamp(56px, 7vw, 80px); }

/* Tarjeta base */
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11, 80, 199, .22); }
.card h3 { margin-top: 18px; font-size: 1.12rem; }
.card p { margin-top: 8px; font-size: .95rem; color: var(--muted); }

/* Luz que sigue al cursor */
.spot { isolation: isolate; overflow: hidden; }
.spot::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(26, 104, 234, .11), transparent 45%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }

/* Ícono con fondo */
.icon-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  font-size: 22px; color: #fff;
  background: var(--grad-blue);
  box-shadow: 0 10px 20px -10px rgba(11, 80, 199, .8);
  --ring: rgba(79, 149, 255, .6);
  position: relative;
  transition: transform .5s var(--ease), translate .35s var(--ease), box-shadow .4s var(--ease), filter .4s;
}
.icon-badge--green { background: var(--grad-green); box-shadow: 0 10px 20px -10px rgba(0, 165, 119, .8); --ring: rgba(53, 224, 171, .65); }
.icon-badge--round { border-radius: 50%; }
:is(.card, .principle, .svc, .host, .spec, .expect li, .contact, .training, .ownership, .biz__item):hover .icon-badge { filter: brightness(1.08) saturate(1.1); }

/* Íconos interactivos (main.js): se dibujan al aparecer y cada uno tiene su propio gesto */
.icon-badge::before,
.icon-badge::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}
.icon-badge::before { /* brillo que cruza */
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%) 120% 0 / 250% 100% no-repeat;
}
.icon-badge::after { box-shadow: 0 0 0 2px var(--ring); } /* onda que se expande */
.icon-badge.is-popping { animation: badge-pop .8s cubic-bezier(.34, 1.56, .64, 1); }
.icon-badge.is-popping::before { animation: badge-shine .8s var(--ease); }
.icon-badge.is-popping::after { animation: badge-ring .8s var(--ease); }
@keyframes badge-pop {
  0% { transform: none; }
  30% { transform: scale(1.16) rotate(-8deg); }
  60% { transform: scale(.96) rotate(3deg); }
  100% { transform: none; }
}
@keyframes badge-shine { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -20% 0; } }
@keyframes badge-ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }

/* Gesto de cada ícono */
.i.is-playing { animation: icon-pop .7s var(--ease); }
.i.is-playing:is([data-icon="whatsapp"], [data-icon="phone"], [data-icon="lock"], [data-icon="shield"], [data-icon="key"], [data-icon="megaphone"]) { animation: icon-ring .8s var(--ease); }
.i.is-playing:is([data-icon="mail"], [data-icon="server"], [data-icon="database"], [data-icon="bot"]) { animation: icon-bob .8s var(--ease); }
.i.is-playing:is([data-icon="clock"], [data-icon="buoy"]) { animation: icon-spin .9s var(--ease); }
.i.is-playing:is([data-icon="globe"], [data-icon="card"], [data-icon="user-check"]) { animation: icon-turn .9s var(--ease); }
.i.is-playing:is([data-icon="heart"]) { animation: icon-beat .9s var(--ease); }
.i.is-playing:is([data-icon="zap"]) { animation: icon-flash .8s steps(1, end), icon-pop .7s var(--ease); }
.i.is-playing:is([data-icon="cart"], [data-icon="car"]) { animation: icon-drive .8s var(--ease); }
.i.is-playing:is([data-icon="chart"]) { animation: icon-grow .8s var(--ease); transform-origin: 50% 100%; }
.i.is-playing:is([data-icon="search"]) { animation: icon-search .9s var(--ease); }
.i.is-playing:is([data-icon="star"], [data-icon="sparkles"], [data-icon="plus"]) { animation: icon-twinkle .9s var(--ease); }
.i.is-playing:is([data-icon="pencil"]) { animation: icon-write .9s var(--ease); }
.i.is-playing:is([data-icon="cap"], [data-icon="pin"]) { animation: icon-toss .8s var(--ease); }
.i.is-playing:is([data-icon="tag"], [data-icon="percent"], [data-icon="calendar"]) { animation: icon-swing .9s var(--ease); transform-origin: 50% 0; }

@keyframes icon-pop { 40% { transform: scale(1.22); } 70% { transform: scale(.94); } }
@keyframes icon-ring {
  10%, 50% { transform: rotate(-14deg); }
  30%, 70% { transform: rotate(14deg); }
  90% { transform: rotate(-4deg); }
}
@keyframes icon-bob { 35% { transform: translateY(-4px) rotate(-6deg); } 70% { transform: translateY(1px) rotate(3deg); } }
@keyframes icon-spin { to { transform: rotate(360deg); } }
@keyframes icon-turn { to { transform: rotateY(360deg); } }
@keyframes icon-beat { 15%, 45% { transform: scale(1.25); } 30%, 60% { transform: scale(.95); } }
@keyframes icon-flash { 0%, 40% { opacity: .35; } 20%, 60% { opacity: 1; } }
@keyframes icon-drive { 40% { transform: translateX(5px); } 55% { transform: translateX(5px) rotate(-6deg); } 80% { transform: translateX(-2px); } }
@keyframes icon-grow { 0% { transform: scaleY(.2); } 60% { transform: scaleY(1.15); } }
@keyframes icon-search {
  25% { transform: translate(-3px, -2px); }
  50% { transform: translate(2px, -3px); }
  75% { transform: translate(3px, 2px); }
}
@keyframes icon-twinkle { 50% { transform: rotate(72deg) scale(1.25); } 100% { transform: rotate(144deg); } }
@keyframes icon-write {
  25% { transform: translate(-2px, 2px) rotate(-10deg); }
  50% { transform: translate(2px, 0) rotate(6deg); }
  75% { transform: translate(-1px, 2px) rotate(-6deg); }
}
@keyframes icon-toss { 40% { transform: translateY(-6px) rotate(-10deg); } 70% { transform: translateY(1px) rotate(4deg); } }
@keyframes icon-swing { 20% { transform: rotate(16deg); } 45% { transform: rotate(-12deg); } 70% { transform: rotate(6deg); } }

/* Precio */
.price {
  font-size: clamp(1.7rem, 2.6vw, 2.05rem); font-weight: 800; line-height: 1.2;
  letter-spacing: -.03em; color: var(--blue-600);
}
.price span { margin-left: 6px; font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }

/* Lista con checks */
.checklist { margin-top: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; font-size: .94rem; }
.checklist .i { margin-top: .3em; color: var(--green-400); }
.checklist strong { color: #fff; }

/* Triángulos decorativos */
.tri {
  position: absolute; z-index: -1;
  fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5;
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float { 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate3d(40px, 30px, 0) scale(1.1); } }
/* Onda que late: solo escala y transparencia (la GPU la anima sin redibujar) */
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.pulse-dot, .builder__live i { position: relative; }
.pulse-dot::after, .builder__live i::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--green-400);
  animation: pulse 2.2s var(--ease) infinite;
}

/* 5. Navegación ------------------------------------------------------------ */
.progress {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-400));
  transform: scaleX(0); transform-origin: 0 50%;
}

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.nav.is-open {
  background: rgba(6, 21, 58, .97);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid transparent;
  transition: height .45s var(--ease), margin .45s var(--ease), padding .45s var(--ease),
              border-radius .45s var(--ease), background-color .35s, border-color .35s, box-shadow .35s;
}

/* Al hacer scroll, el menú se despliega como una barra flotante que acompaña la lectura */
.nav.is-scrolled .nav__inner {
  width: calc(100% - 32px);
  max-width: var(--container);
  height: 62px; margin-top: 10px;
  padding-inline: 20px 10px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, .1);
  background: rgba(6, 21, 58, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
  animation: nav-drop .6s var(--ease);
}
.nav.is-scrolled .brand img { width: 32px; }
/* Con el menú móvil abierto, sin blur: así el panel se posiciona respecto a toda la barra */
.nav.is-open .nav__inner { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(10, 30, 75, .95); }
@keyframes nav-drop {
  from { transform: translateY(-140%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.brand img { width: 36px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 12px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .76);
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link.is-active { color: #fff; }
.nav__link::after {
  content: "";
  position: absolute; left: 50%; bottom: 1px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green-400);
  transform: translateX(-50%) scale(0);
  transition: transform .35s var(--ease);
}
.nav__link.is-active::after { transform: translateX(-50%) scale(1); }
.nav__cta { margin-left: 10px; }

.nav__toggle { display: none; }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(40px, 7vh, 88px)) 0 clamp(40px, 6vh, 72px);
  color: #fff;
  background: var(--grad-hero);
}

.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero__glow--a {
  width: 560px; height: 560px; right: -140px; top: -100px;
  background: radial-gradient(circle, rgba(26, 104, 234, .95), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero__glow--b {
  width: 440px; height: 440px; left: -180px; bottom: -140px;
  background: radial-gradient(circle, rgba(16, 201, 148, .5), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 6vw, 80px); }

.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  font-size: .86rem; font-weight: 500; color: var(--green-400);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
}

/* Fondo vivo: red de nodos (canvas) y luz que sigue al cursor */
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(640px circle at var(--sx, 72%) var(--sy, 38%), rgba(53, 224, 171, .11), transparent 60%);
}

/* Titular: cada línea sube desde una máscara y la palabra central rota */
.hero__title {
  margin-top: 24px;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
  color: #fff;
}
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line--lead {
  margin-bottom: .06em;
  font-size: max(.5em, 1.35rem); font-weight: 600; letter-spacing: -.02em;
  color: rgba(255, 255, 255, .88);
}
.line > span:first-child:not(.rotator) { display: inline-block; }
.js .line > span:first-child {
  transform: translateY(110%);
  animation: line-up 1.1s var(--ease) forwards;
  animation-delay: calc(var(--l) * 140ms + 150ms);
}
@keyframes line-up { to { transform: none; } }

.line .rotator { display: inline-grid; perspective: 600px; }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; }
.rotator__word:not(.is-active) { visibility: hidden; }
.js .rotator__word.is-active, .js .rotator__word.is-out { visibility: visible; }
.ch {
  display: inline-block;
  color: var(--green-400);
  color: color-mix(in srgb, var(--green-400), #6db8ff calc(var(--p, 0) * 100%));
}
.ch.sp { width: .26em; }
.js .ch {
  opacity: 0;
  transform: translateY(.55em) rotateX(-75deg);
  filter: blur(8px);
  transition: opacity .5s var(--ease), transform .8s var(--ease), filter .5s var(--ease);
  transition-delay: calc(var(--i) * 32ms + 120ms);
}
.js .rotator__word.is-active .ch { opacity: 1; transform: none; filter: none; }
.js .rotator__word.is-out .ch {
  opacity: 0; transform: translateY(-.5em) rotateX(60deg); filter: blur(8px);
  transition-duration: .4s; transition-delay: calc(var(--i) * 14ms);
}
.hero__text { margin-top: 22px; max-width: 54ch; font-size: clamp(1.04rem, 1.45vw, 1.18rem); color: rgba(255, 255, 255, .76); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .25s, border-color .25s, transform .35s var(--ease);
}
.chip .i { color: var(--green-400); }
.chip:hover { background: rgba(255, 255, 255, .15); border-color: rgba(53, 224, 171, .6); transform: translateY(-2px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .9rem; color: rgba(255, 255, 255, .64); }
.hero__contact a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.hero__contact a:hover { color: #fff; }

/* Botones del hero: brillo que recorre el principal y efecto magnético */
.btn { position: relative; }
.magnetic { transition: transform .35s var(--ease), translate .4s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn--shine { overflow: hidden; isolation: isolate; }
.btn--shine::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btn-shine 4s var(--ease) 2s infinite;
}
@keyframes btn-shine { 30%, 100% { transform: translateX(120%); } }

/* Demo en vivo: un navegador donde la IA arma una web, una tienda y un chatbot */
.hero__visual { position: relative; width: 100%; max-width: 540px; justify-self: center; }
.hero__mark {
  position: absolute; top: -17%; right: -15%; z-index: 0;
  width: 58%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 16, 70, .5));
  /* El PNG viene recortado del brochure: se difuminan los bordes para que no se vean cortes */
  -webkit-mask-image: radial-gradient(circle at 38% 62%, #000 42%, transparent 72%);
  mask-image: radial-gradient(circle at 38% 62%, #000 42%, transparent 72%);
  animation: mark-float 9s ease-in-out infinite;
  transition: translate .8s var(--ease);
  pointer-events: none;
}
@keyframes mark-float { 50% { transform: translateY(-16px) rotate(-3deg); } }

.stage { position: relative; z-index: 1; perspective: 1400px; transition: translate .8s var(--ease); }
.builder {
  --rx: 6deg; --ry: -12deg;
  position: relative;
  width: 100%; margin-inline: auto;
  border-radius: 18px;
  font-size: 12px; line-height: 1.4;
  background: rgba(9, 27, 70, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease), width .9s var(--ease);
}
.builder.is-mobile { width: 60%; }
.builder.no-anim, .builder.no-anim * { transition: none !important; }
.builder__shadow {
  position: absolute; left: 12%; right: 12%; bottom: -46px; z-index: -1;
  height: 44px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .5), transparent 70%);
  filter: blur(8px);
}

.builder__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.builder__dots { display: flex; gap: 5px; flex: none; }
.builder__dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.builder__dots i:nth-child(2) { background: #febc2e; }
.builder__dots i:nth-child(3) { background: #28c840; }
.builder__url {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 8px;
  font-size: 11px; white-space: nowrap; color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
}
.builder__url .i { color: var(--green-400); }
.builder__live { display: flex; align-items: center; gap: 6px; flex: none; font-size: 10.5px; font-weight: 600; color: var(--green-400); }
.builder__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); }
.builder.is-mobile .builder__live { display: none; }

.builder__screen {
  position: relative; overflow: hidden;
  height: 330px; padding: 14px;
  border-radius: 0 0 17px 17px;
  color: var(--ink); background: #f3f6fc;
  container-type: inline-size;
  transition: height .9s var(--ease);
}
.builder.is-mobile .builder__screen { height: 400px; }

/* Caja donde se escribe la instrucción a la IA */
.bp {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 6px 0 12px; border-radius: 12px;
  font-size: 12px; color: var(--ink);
  background: #fff; border: 1.5px solid #dbe3f4;
  box-shadow: 0 8px 18px -12px rgba(12, 30, 69, .35);
  transition: border-color .3s, box-shadow .3s, margin-top .7s var(--ease), opacity .4s;
}
.bp__icon { font-size: 15px; color: var(--blue-600); }
.bp__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bp__caret { flex: none; width: 1.5px; height: 15px; background: var(--blue-600); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bp__btn {
  flex: none; margin-left: auto;
  padding: 6px 12px; border-radius: 8px;
  font-size: 11px; font-weight: 600; color: #fff; background: var(--blue-600);
  transition: transform .2s, background-color .3s;
}
.builder.is-generating .bp { border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(16, 201, 148, .18); }
.builder.is-generating .bp__btn { transform: scale(.92); background: var(--green-600); }
.builder.is-built .bp { margin-top: -56px; opacity: 0; }

.bempty {
  position: absolute; inset: 70px 14px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed #cdd8ee; border-radius: 12px;
  font-size: 12px; font-weight: 500; color: #8a95ad;
  background-image: radial-gradient(#d6def0 1px, transparent 1.5px);
  background-size: 16px 16px;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.bempty .i { font-size: 22px; color: var(--blue-500); animation: mark-float 3s ease-in-out infinite; }
.builder.is-generating .bempty, .builder.is-built .bempty { opacity: 0; transform: scale(.97); }

.bscan {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3;
  height: 70px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(16, 201, 148, .22));
  border-bottom: 2px solid var(--green-500);
}
.builder.is-generating .bscan { animation: scan 1.5s var(--ease) forwards; }
@keyframes scan {
  0% { opacity: 1; transform: translateY(-70px); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(330px); }
}

/* La web que aparece */
.bs { display: grid; gap: 10px; margin-top: 12px; }
.bs > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.builder.is-built .bs > * { opacity: 1; transform: none; }
.builder.is-built .bs__hero { transition-delay: .12s; }
.builder.is-built .bs__grid { transition-delay: .24s; }

.bs__nav { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); }
.bs__logo { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-blue); }
.bs__links { display: flex; flex: 1; gap: 8px; }
.bs__links i { width: 28px; height: 5px; border-radius: 3px; background: #dfe6f3; }
.bs__cart { position: relative; display: grid; font-size: 16px; color: var(--ink); }
.bs__badge {
  position: absolute; top: -7px; right: -9px;
  display: grid; place-items: center;
  min-width: 16px; height: 16px; border-radius: 8px;
  font-size: 9px; font-weight: 800; font-style: normal; color: var(--navy-950); background: var(--green-500);
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.8, .5, 1);
}
.builder.is-added .bs__badge { transform: scale(1); }

.bs__hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px;
  padding: 14px; border-radius: 12px;
  background: linear-gradient(135deg, #0a2766 0%, #0b50c7 100%);
}
.bs__copy { display: grid; align-content: center; gap: 6px; }
.bs__copy i { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .92); }
.bs__copy i.thin { height: 5px; background: rgba(255, 255, 255, .4); }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.bs__cta {
  justify-self: start; margin-top: 4px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; color: var(--navy-950); background: var(--green-500);
}
.bs__img {
  display: grid; place-items: center;
  min-height: 86px; border-radius: 10px;
  font-size: 26px; color: #fff;
  background:
    radial-gradient(circle at 28% 30%, rgba(53, 224, 171, .95), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(79, 149, 255, .95), transparent 60%),
    rgba(255, 255, 255, .12);
}

.bs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bs__card {
  display: grid; gap: 5px;
  padding: 8px; border-radius: 10px;
  background: #fff; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.builder.is-shop .bs__card { opacity: 1; transform: none; }
.builder.is-shop .bs__card:nth-child(2) { transition-delay: .12s; }
.builder.is-shop .bs__card:nth-child(3) { transition-delay: .24s; }
.bs__pimg { height: 40px; border-radius: 7px; background: linear-gradient(135deg, #d9e5fb, #eef3fd); }
.bs__card:nth-child(2) .bs__pimg { background: linear-gradient(135deg, #c9f2e3, #ecfbf5); }
.bs__card i { display: block; width: 80%; height: 5px; border-radius: 3px; background: #dfe6f3; }
.bs__card i.price { width: 45%; height: 6px; background: var(--blue-600); }
.bs__add {
  padding: 4px 0; border-radius: 6px; text-align: center;
  font-size: 8.5px; font-weight: 700; color: var(--blue-600); background: var(--bg-tint);
  transition: transform .2s, background-color .3s, color .3s;
}
.builder.is-pressing #demo-add { transform: scale(.88); }
.builder.is-added #demo-add { color: var(--navy-950); background: var(--green-500); }

/* En modo celular la web se reacomoda en una columna */
@container (max-width: 300px) {
  .bs__hero { grid-template-columns: 1fr; }
  .bs__img { min-height: 64px; }
  .bs__links { visibility: hidden; }
  .bs__grid { grid-template-columns: 1fr 1fr; }
}

/* Chatbot que sale del navegador */
.bchat {
  position: absolute; right: -22px; bottom: 26px; z-index: 4;
  width: min(66%, 250px); padding: 12px; border-radius: 16px;
  font-size: 11px; color: var(--ink); background: #fff;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateZ(60px) translateY(24px) scale(.9);
  transform-origin: bottom right;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.builder.is-chat .bchat { opacity: 1; transform: translateZ(60px); }
.builder.is-mobile .bchat { opacity: 0; transform: translateZ(60px) translateY(24px) scale(.9); }
.bchat__head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.bchat__avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; color: var(--navy-950); background: var(--grad-green); }
.bchat__head b { display: block; font-size: 11.5px; color: var(--ink); }
.bchat__head small { display: block; font-size: 9.5px; color: var(--green-ink); }
.msg {
  max-width: 90%; margin-top: 7px; padding: 7px 10px; border-radius: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.msg--user { margin-left: auto; width: fit-content; color: #fff; background: var(--blue-600); border-bottom-right-radius: 4px; }
.msg--bot { min-height: 30px; color: var(--ink); background: var(--bg-tint); border-bottom-left-radius: 4px; }
.builder.is-chat .msg--user { opacity: 1; transform: none; transition-delay: .35s; }
.builder.is-typing .msg--bot, .builder.is-reply .msg--bot { opacity: 1; transform: none; }
.typing { display: none; gap: 3px; padding-block: 4px; }
.builder.is-typing .typing { display: inline-flex; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* Aviso flotante */
.btoast {
  position: absolute; left: 50%; top: 58px; z-index: 5;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap; color: #fff; background: var(--navy-900);
  box-shadow: 0 18px 32px -12px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateX(-50%) translateZ(80px) translateY(-10px);
  transition: opacity .4s, transform .6s var(--ease);
  pointer-events: none;
}
.btoast .i { width: 20px; height: 20px; padding: 4px; border-radius: 50%; stroke-width: 3; color: var(--navy-950); background: var(--green-400); }
.builder.show-toast .btoast { opacity: 1; transform: translateX(-50%) translateZ(80px); }

/* Cursor que hace clic */
.bcursor {
  position: absolute; left: 0; top: 0; z-index: 6;
  width: 22px; height: 22px;
  opacity: 0; pointer-events: none;
  transform: translate3d(calc(var(--cx, 0px) - 4px), calc(var(--cy, 0px) - 3px), 90px);
  transition: transform 1s cubic-bezier(.65, 0, .35, 1), opacity .3s;
}
.bcursor svg { width: 100%; height: 100%; fill: #fff; stroke: var(--navy-950); stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.builder.show-cursor .bcursor { opacity: 1; }
.bcursor.is-click::after {
  content: "";
  position: absolute; left: -7px; top: -7px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--green-400);
  animation: click-ring .6s ease-out forwards;
}
@keyframes click-ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* Etapas de la demo: se pueden tocar para saltar a cada una */
.demo-steps { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 34px; }
.demo-step {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 8px; border-radius: 12px;
  font-size: .8rem; font-weight: 500; color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: color .3s, background-color .3s, border-color .3s, transform .35s var(--ease);
}
.demo-step .i { color: var(--green-400); }
.demo-step:hover { color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.demo-step.is-active { color: #fff; background: rgba(53, 224, 171, .1); border-color: rgba(53, 224, 171, .5); }
.demo-step__bar {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--green-400);
  transform: scaleX(0); transform-origin: left;
}
.demo-step.is-active .demo-step__bar { animation: step-fill var(--dur, 4s) linear forwards; }
@keyframes step-fill { to { transform: scaleX(1); } }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 9vh, 96px); }
.stat {
  padding: 22px 22px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.stat:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(53, 224, 171, .4); }
.stat__num { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--green-400); }
.stat__num [data-count] { display: inline-block; text-align: right; }
.stat__num .is-counted { animation: count-pop .6s var(--ease); }
@keyframes count-pop {
  40% { transform: scale(1.14); color: var(--green-400); text-shadow: 0 0 18px rgba(53, 224, 171, .55); }
}
.stat__label { margin-top: 6px; font-size: .88rem; line-height: 1.45; color: rgba(255, 255, 255, .7); }

/* 7. Quiénes somos --------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }

.statement {
  margin-top: 24px;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.55; letter-spacing: -.01em;
  color: var(--ink);
}

.principles { display: grid; gap: 16px; margin-top: 36px; }
.principle {
  display: flex; gap: 18px;
  padding: 22px 24px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: border-color .3s, background-color .3s;
}
.principle:hover { border-color: rgba(11, 80, 199, .25); background: var(--bg-tint); }
.principle h3 { font-size: 1.05rem; }
.principle p { margin-top: 6px; font-size: .95rem; color: var(--muted); }

.about__values { padding-top: 8px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.sectors { margin-top: clamp(64px, 8vw, 104px); }
.marquee {
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: 14px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

.sector {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 500; white-space: nowrap; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, transform .35s var(--ease);
}
.sector::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.sector:hover { border-color: var(--green-500); transform: translateY(-2px); }

/* Fotografías: marco con zoom suave al pasar el cursor y etiqueta flotante */
.photo {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0; border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo__badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 16px;
  font-size: .84rem; line-height: 1.35; color: var(--muted);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}
.photo__badge strong { display: block; font-size: .95rem; color: var(--ink); }
.photo__badge .icon-badge { width: 40px; height: 40px; font-size: 18px; }
.photo--about { aspect-ratio: 16 / 11; margin-bottom: 36px; }
.photo--about img { object-position: 45% 40%; }

.sector-photos { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.sector-photo {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.sector-photo img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.sector-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 20, 51, .88) 100%);
}
.sector-photo span {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; line-height: 1.3; color: #fff;
}
.sector-photo span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); }
.sector-photo__chip {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  font-size: .78rem; font-style: normal; font-weight: 600; color: #fff;
  background: rgba(6, 20, 51, .74);
  border: 1px solid rgba(53, 224, 171, .45);
  transition: transform .45s var(--ease), background-color .3s;
}
.sector-photo__chip .i { color: var(--green-400); }
.sector-photo:hover .sector-photo__chip { transform: translateY(-2px); background: rgba(6, 20, 51, .88); }

/* Puntos del carrusel (solo en tablet y celular) */
.carousel-dots { display: none; justify-content: center; gap: 8px; margin: -8px 0 28px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: #c9d3e6;
  transition: width .4s var(--ease), background-color .3s;
}
.carousel-dots button.is-active { width: 26px; background: var(--green-500); }

/* Tarjetas de experiencia con foto (sección del fundador) */
.sector-tile.sector-tile--media { overflow: hidden; padding-top: 0; }
.sector-tile__media {
  position: relative; display: block; overflow: hidden;
  width: calc(100% + 32px); height: 150px;
  margin: 0 -16px;
}
.sector-tile__img { width: 100%; height: 100%; object-fit: cover; }
.sector-tile--media .icon-badge { margin-top: -38px; box-shadow: 0 0 0 4px #fff, 0 12px 22px -10px rgba(11, 80, 199, .7); }

/* 8. IA -------------------------------------------------------------------- */
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-card { padding: 30px 26px; }
.ai-card__num {
  position: absolute; top: 16px; right: 22px;
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--bg-tint);
  transition: color .4s;
}
.ai-card:hover .ai-card__num { color: rgba(16, 201, 148, .2); }

.human-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; margin: 36px auto 0;
  padding: 10px 20px; border-radius: 999px;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
}
.human-note .i { font-size: 1.15rem; color: var(--green-ink); }

/* 9. Planes web ------------------------------------------------------------ */
.showcase {
  position: relative; overflow: hidden;
  aspect-ratio: 2 / 1; margin: 0 0 clamp(40px, 6vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}
.showcase img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.showcase__chips { position: absolute; left: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.showcase__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  font-size: .86rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-sm);
}
.showcase__chip .i { color: var(--green-ink); }
.showcase--wide { aspect-ratio: 21 / 9; }
.showcase--wide img { object-position: 50% 50%; }
.showcase--dark { background: var(--navy-950); box-shadow: 0 40px 80px -36px rgba(6, 20, 51, .6); }
.showcase--dark::after { /* borde con brillo */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(53, 224, 171, .25);
  pointer-events: none;
}
.showcase--dark .showcase__chip { color: #fff; background: rgba(6, 20, 51, .8); border: 1px solid rgba(53, 224, 171, .4); }
.showcase--dark .showcase__chip .i { color: var(--green-400); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .5s var(--ease), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(11, 80, 199, .3); }
.plan--featured {
  border: 2px solid var(--blue-600);
  background: linear-gradient(180deg, #f1f6ff 0%, #fff 45%);
  box-shadow: 0 30px 60px -30px rgba(11, 80, 199, .5);
}
.plan__badge {
  position: absolute; top: 20px; right: 20px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--blue-600);
}
.plan h3 { margin-top: 20px; font-size: 1.3rem; }
.plan__desc { flex: 1; margin-top: 10px; font-size: .95rem; color: var(--muted); }
.plan__price { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__price small { display: block; font-size: .8rem; color: var(--muted); }
.plan .btn { margin-top: 24px; }

/* Tabla comparativa */
.compare { margin-top: clamp(64px, 8vw, 96px); }
.compare__tabs { display: none; }
.table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 15px 22px; text-align: center; transition: background-color .3s; }
thead th { font-size: .9rem; font-weight: 600; color: #fff; background: var(--navy-900); }
thead th:first-child, tbody th { text-align: left; }
tbody th { font-weight: 500; color: var(--ink); }
tbody tr:nth-child(odd) { background: var(--bg-soft); }
tbody tr + tr { border-top: 1px solid var(--line); }
td { color: var(--text); }

.yes {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 14px; color: var(--green-ink); background: rgba(16, 201, 148, .15);
}
.yes .i { stroke-width: 2.6; }
.no { color: #a9b1c2; }

/* Resalta la columna del plan sobre el que está el cursor */
.compare[data-hl="1"] :is(td, th):nth-child(2),
.compare[data-hl="2"] :is(td, th):nth-child(3),
.compare[data-hl="3"] :is(td, th):nth-child(4) { background-image: linear-gradient(rgba(26, 104, 234, .08), rgba(26, 104, 234, .08)); }
.compare[data-hl="1"] thead th:nth-child(2),
.compare[data-hl="2"] thead th:nth-child(3),
.compare[data-hl="3"] thead th:nth-child(4) { background: var(--blue-600); }

.compare__note { margin-top: 14px; font-size: .87rem; color: var(--muted); }

.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.callout {
  display: flex; align-items: center; gap: 24px;
  padding: 26px; border-radius: var(--radius); border: 1px solid;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.callout:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.callout--green { background: #effbf6; border-color: #c8efdf; }
.callout--blue { background: var(--bg-tint); border-color: #d5e1fa; }
.callout__art { flex: none; width: 112px; }
.callout h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.callout--green h3 { color: var(--green-ink); }
.callout--blue h3 { color: var(--blue-600); }
.callout p { margin-top: 6px; color: var(--ink); }

/* 10. Automatización ------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center;
  gap: clamp(32px, 5vw, 64px); margin-bottom: clamp(48px, 6vw, 72px);
}
.split .section-head { margin-bottom: 0; }
.photo--chat {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
}
.photo--chat img { object-position: 50% 50%; }

/* Servicio con imagen de cabecera (marketing) */
.svc--media { overflow: hidden; }
.svc__media {
  grid-column: 1 / -1;
  margin: -32px -32px 4px;
  aspect-ratio: 21 / 7;
  overflow: hidden;
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.svc-list { display: grid; gap: 20px; }
.svc {
  display: grid; grid-template-columns: auto 1fr 290px; gap: 24px 28px; align-items: start;
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .5s var(--ease), background-color .3s, border-color .3s;
}
.svc:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(53, 224, 171, .35); }
.svc > * { min-width: 0; }
.svc h3 { font-size: 1.35rem; font-weight: 600; }
.svc p { margin-top: 8px; }

.pricebox { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.pricebox__row + .pricebox__row { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.pricebox small { font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.pricebox .price { font-size: 1.6rem; color: var(--green-400); }
.pricebox .price span { color: rgba(255, 255, 255, .62); }
.pricebox .btn { margin-top: 18px; }

.fine { margin: 16px 0 clamp(48px, 6vw, 64px); font-size: .84rem; color: rgba(255, 255, 255, .58); }

.training {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 24px;
  margin-top: 40px; padding: 30px 32px; border-radius: var(--radius-lg);
  color: var(--navy-950); background: var(--green-500);
}
.training::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 5s var(--ease) infinite 1s;
  pointer-events: none;
}
@keyframes shine { 40%, 100% { transform: translateX(100%); } }
.section--dark .training h3 { color: var(--navy-950); font-size: 1.25rem; }
.training p { margin-top: 6px; color: rgba(6, 20, 51, .82); }
.training .icon-badge { color: var(--navy-950); background: rgba(6, 20, 51, .1); box-shadow: none; }
.training__badge {
  flex: none; margin-left: auto;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-400); background: var(--navy-950);
}

/* 11. Hosting -------------------------------------------------------------- */
.hosting { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; margin-inline: auto; }
.host {
  overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.host:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.host__head { position: relative; padding: 30px 30px 34px; color: #fff; background: linear-gradient(135deg, #0b5ae0 0%, #0a2a6e 100%); }
.host--green .host__head { background: linear-gradient(135deg, #12cf97 0%, #007a55 100%); }
.host__head .icon-badge { background: rgba(255, 255, 255, .16); box-shadow: none; }
.host__head h3 { margin-top: 18px; font-size: 1.45rem; color: #fff; }
.host__head p { margin-top: 4px; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.host__body { padding: 8px 30px 30px; }

.spec { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec .icon-badge { width: 40px; height: 40px; font-size: 18px; }
.spec small { display: block; font-size: .78rem; color: var(--muted); }
.spec strong { color: var(--ink); }

.host__price { margin-top: 22px; padding: 22px; border-radius: var(--radius); text-align: center; background: var(--bg-soft); }
.host__price small { font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.host .btn { margin-top: 16px; }

.explain { margin-top: clamp(56px, 7vw, 88px); }
.explain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.ownership {
  display: flex; align-items: flex-start; gap: 22px;
  margin-top: 24px; padding: 32px; border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, .8);
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-700) 100%);
}
.ownership h3 { font-size: 1.25rem; color: #fff; }
.ownership p { margin-top: 8px; }
.ownership strong { color: var(--green-400); }

/* 12. Proceso -------------------------------------------------------------- */
.process { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }

.steps { position: relative; }
.steps::before,
.steps__fill {
  content: "";
  position: absolute; left: 25px; top: 26px; bottom: 26px;
  width: 2px; border-radius: 2px;
  background: var(--line);
}
.steps__fill {
  background: linear-gradient(180deg, var(--blue-600), var(--green-500));
  transform: scaleY(0); transform-origin: top;
}
.steps__list { display: grid; gap: 44px; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.1rem; font-weight: 700; color: var(--muted);
  background: #fff; border: 2px solid var(--line);
  transition: color .5s, background .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.step.is-active .step__num {
  color: #fff; border-color: transparent;
  background: var(--grad-blue);
  box-shadow: 0 0 0 7px rgba(11, 80, 199, .12);
}
.step:nth-child(even).is-active .step__num { background: var(--grad-green); box-shadow: 0 0 0 7px rgba(16, 201, 148, .16); }
.step:hover .step__num { transform: scale(1.08); }
.step h3 { padding-top: 11px; font-size: 1.25rem; }
.step p { margin-top: 8px; color: var(--muted); }

.tag {
  display: inline-flex; align-items: center;
  margin-top: 14px; padding: 6px 12px; border-radius: 8px;
  font-size: .8rem; font-weight: 600; color: var(--blue-700);
  background: var(--bg-tint);
}

.expect {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.expect__media {
  position: relative; overflow: hidden;
  height: 190px; margin: -32px -32px 24px;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}
.expect__img { width: 100%; height: 100%; object-fit: cover; }
.expect h3 { font-size: 1.2rem; margin-bottom: 8px; }
.expect li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.expect li:last-child { border-bottom: 0; }
.expect .icon-badge { width: 36px; height: 36px; font-size: 16px; }
.expect strong { display: block; color: var(--ink); }
.expect span:not(.icon-badge) { font-size: .9rem; color: var(--muted); }
.expect .btn { margin-top: 18px; }

/* 13. Fundador ------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.avatar {
  position: relative;
  display: grid; place-items: center;
  width: clamp(140px, 16vw, 200px); aspect-ratio: 1; margin: 18px;
  border-radius: 50%;
  font-size: clamp(2.6rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; color: #fff;
  background: linear-gradient(135deg, #0b4fc4 0%, #0fbf9a 100%);
  box-shadow: 0 0 0 8px #fff, 0 24px 50px -15px rgba(11, 80, 199, .55);
}
.avatar::before {
  content: "";
  position: absolute; inset: -18px;
  border: 2px dashed rgba(11, 80, 199, .25); border-radius: 50%;
  animation: spin 40s linear infinite;
}

.founder__name { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.founder__role { margin-top: 4px; font-weight: 500; color: var(--blue-600); }
.badge-dark {
  display: inline-block;
  margin-top: 14px; padding: 8px 18px; border-radius: 999px;
  font-size: .88rem; line-height: 1.5; color: #fff; background: var(--navy-900);
}
.badge-dark b { color: var(--green-400); white-space: nowrap; }
.founder__bio { display: grid; gap: 14px; max-width: 70ch; margin-top: 24px; }
.founder__bio strong { color: var(--ink); }

/* Trayectoria */
.path__list { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.path__list::before,
.path__list::after {
  content: "";
  position: absolute; top: 21px; left: 10%; right: 10%;
  height: 2px; border-radius: 2px;
  background: var(--line);
}
.path__list::after {
  background: linear-gradient(90deg, var(--blue-600), var(--green-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.path.is-visible .path__list::after { transform: scaleX(1); }
.path__item { position: relative; text-align: center; }
.path__dot {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin: 0 auto; border-radius: 50%;
  font-weight: 700; color: var(--blue-600);
  background: #fff; border: 2px solid var(--blue-600);
}
.js .path__dot {
  opacity: 0; transform: scale(.4);
  transition: transform .6s var(--ease), opacity .4s;
  transition-delay: calc(var(--i) * 280ms + 200ms);
}
.js .path.is-visible .path__dot { opacity: 1; transform: none; }
.path__item--star .path__dot { color: #fff; background: var(--green-500); border-color: var(--green-500); box-shadow: 0 0 0 6px rgba(16, 201, 148, .18); }
.path__item strong { display: block; margin-top: 14px; font-size: .95rem; color: var(--ink); }
.path__item span:not(.path__dot) { font-size: .84rem; color: var(--muted); }

.sectors4 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector-tile { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 16px; text-align: center; }
.sector-tile strong { color: var(--ink); }

.means { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mean::before {
  content: ""; display: block;
  width: 32px; height: 3px; margin-bottom: 16px; border-radius: 3px;
  background: var(--green-500);
  transition: width .5s var(--ease);
}
.mean:hover::before { width: 72px; }
.mean h3 { font-size: 1.15rem; }
.mean p { margin-top: 6px; font-size: .95rem; color: var(--muted); }

.quote {
  position: relative; overflow: hidden;
  margin-top: clamp(56px, 7vw, 80px);
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 56px);
  border-left: 4px solid var(--green-500); border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.quote__mark {
  position: absolute; top: -24px; right: 28px;
  font-family: Georgia, "Times New Roman", serif; font-size: 10rem; line-height: 1;
  color: rgba(11, 80, 199, .08);
}
.quote blockquote { position: relative; font-size: clamp(1.15rem, 2vw, 1.45rem); font-style: italic; font-weight: 500; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: 16px; font-size: .92rem; color: var(--muted); }

/* 14. Garantías y FAQ ------------------------------------------------------ */
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g-card { display: flex; align-items: flex-start; gap: 16px; padding: 26px; }
.g-card h3 { margin-top: 2px; font-size: 1.05rem; }
.g-card p { margin-top: 6px; }

.faq { max-width: 880px; margin: clamp(64px, 8vw, 96px) auto 0; }
.faq-split {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start;
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(64px, 8vw, 96px);
}
.faq-split .faq { max-width: none; margin: 0; }
.photo--faq { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; }
.photo--faq img { object-position: 50% 30%; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; letter-spacing: 0; }
.faq__q {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 22px 4px;
  font-size: 1.05rem; font-weight: 600; text-align: left; color: var(--ink);
  transition: color .2s;
}
.faq__q:hover { color: var(--blue-600); }
.faq__p { font-weight: 700; color: var(--green-ink); }
.faq__icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; margin-left: auto; border-radius: 50%;
  color: var(--blue-600); background: var(--bg-tint);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.faq__item.is-open .faq__icon { transform: rotate(180deg); color: #fff; background: var(--blue-600); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility .5s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; }
.faq__a p { padding: 0 56px 24px 34px; color: var(--muted); }

/* 15. CTA, footer y botón flotante ----------------------------------------- */
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.biz__item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
.biz__item small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.biz__item strong { display: block; margin-top: 6px; font-weight: 500; line-height: 1.5; color: var(--ink); }

.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  margin-top: 36px; padding: clamp(32px, 5vw, 64px);
  border-radius: 32px;
  color: rgba(255, 255, 255, .86);
  background: linear-gradient(120deg, #0a44b3 0%, #0a58c6 42%, #06a383 100%);
  box-shadow: 0 40px 80px -40px rgba(11, 80, 199, .7);
}
/* Foto de Bogotá conectada, detrás de un velo con los colores de la marca */
.cta__bg {
  position: absolute; inset: 0; z-index: -3;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
}
.cta::after {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(120deg, rgba(10, 68, 179, .94) 0%, rgba(10, 88, 198, .8) 45%, rgba(6, 163, 131, .7) 100%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #fff; }
.cta p { max-width: 56ch; margin-top: 14px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.qr {
  padding: 16px 16px 12px; border-radius: 20px;
  text-align: center; background: #fff;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
  transform: rotate(3deg);
  transition: transform .5s var(--ease);
}
.qr:hover { transform: rotate(0) scale(1.04); }
.qr img { width: 150px; height: 150px; }
.qr span { display: block; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--navy-900); }

.footer { padding-top: clamp(64px, 8vw, 96px); color: rgba(255, 255, 255, .7); background: var(--navy-950); }
.footer__top {
  display: grid; gap: 32px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: #fff; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
a.contact:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .08); border-color: rgba(53, 224, 171, .4); }
.contact .icon-badge { width: 42px; height: 42px; font-size: 18px; color: var(--navy-950); }
.contact div { min-width: 0; }
.contact small { display: block; font-size: .78rem; color: var(--green-400); }
.contact strong { display: block; font-size: 1rem; font-weight: 500; color: #fff; overflow-wrap: anywhere; }

.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__legal { font-size: .84rem; color: rgba(255, 255, 255, .5); }

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  font-size: 26px; color: var(--navy-950); background: var(--green-500);
  box-shadow: 0 14px 30px -10px rgba(16, 201, 148, .8);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-visible:hover { transform: scale(1.07); }
.fab::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green-500);
  animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
/* Cada pocos segundos el ícono "suena" para llamar la atención */
.fab.is-visible > .i { animation: fab-nudge 5s var(--ease) 1.5s infinite; }
@keyframes fab-nudge {
  0%, 16%, 100% { transform: none; }
  2%, 10% { transform: rotate(-16deg) scale(1.1); }
  6%, 14% { transform: rotate(16deg) scale(1.1); }
}
.fab__tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: 8px 14px; border-radius: 10px;
  font-size: .85rem; font-weight: 500; white-space: nowrap; color: #fff;
  background: var(--navy-900);
  opacity: 0; transform: translate(8px, -50%);
  transition: opacity .25s, transform .35s var(--ease);
  pointer-events: none;
}
.fab:hover .fab__tip, .fab:focus-visible .fab__tip { opacity: 1; transform: translate(0, -50%); }

/* Imágenes vivas (main.js): fundido con zoom al aparecer, parallax, inclinación 3D y visor ---- */
/* La foto va un poco ampliada dentro de su marco para poder moverse sin mostrar bordes */
/* El parallax usa `translate` sin transición (sigue al scroll cuadro a cuadro, sin recalcular estilos);
   el zoom y el cursor usan `transform` con transición suave */
.fx-frame .fx-img {
  --s: 1.16;
  translate: 0 var(--sy, 0px);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--s));
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.fx-frame .fx-img.is-live { will-change: transform, translate; } /* capa propia solo mientras está en pantalla */
:is(.photo, .showcase, .sector-photo, .sector-tile--media, .svc--media, .expect):hover .fx-img { --s: 1.22; }

/* Fundido con zoom: la imagen aparece desde transparente mientras se aleja suavemente hasta su tamaño */
.fx-reveal:not(.is-revealed) .fx-img { --s: 1.34; opacity: 0; }
.fx-reveal.is-revealed .fx-img { opacity: 1; }
.fx-reveal.is-revealing .fx-img {
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1) var(--d, 0ms), transform 1.7s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms);
}
/* Mientras la foto se descarga, el marco muestra un brillo de carga en vez de un hueco */
.fx-reveal.is-loading {
  background-color: var(--navy-900);
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .22) 50%, rgba(255, 255, 255, 0) 70%);
  background-size: 220% 100%;
  animation: img-loading 1.3s linear infinite;
}
@keyframes img-loading { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* Inclinación 3D que sigue al cursor (se combina con la elevación de las tarjetas) */
.fx-tilt,
.fx-tilt:hover {
  transform: perspective(1100px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.fx-tilt { transition: transform .7s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.fx-tilt.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease), border-color .3s; }
.fx-tilt:hover { --lift: -6px; }
.showcase.fx-tilt:hover { --lift: -3px; }

/* Reflejo de luz que sigue al cursor */
.fx-glare {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .28), transparent 55%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.fx-tilt:hover .fx-glare { opacity: 1; }

/* Visor a pantalla completa */
.fx-zoom { cursor: zoom-in; }
.fx-zoom:focus-visible { outline: 3px solid var(--green-400); outline-offset: 4px; }
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(4, 12, 32, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { display: grid; justify-items: center; gap: 16px; margin: 0; max-width: min(1280px, 100%); }
.lightbox__img {
  width: auto; max-width: 100%; height: auto; max-height: calc(100dvh - 150px);
  border-radius: 20px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(53, 224, 171, .25);
}
.lightbox__cap { max-width: 64ch; font-size: .95rem; text-align: center; color: rgba(255, 255, 255, .8); }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 22px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color .25s, transform .35s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }

/* 16. Responsive ----------------------------------------------------------- */
@media (min-width: 1024px) {
  .plans .plan--featured:not(.reveal),
  html:not(.js) .plans .plan--featured { translate: 0 -12px; }
}

@media (max-width: 1100px) {
  .nav__link { padding: 8px 9px; font-size: .88rem; }
}

@media (max-width: 1023px) {
  /* Menú móvil */
  .nav__toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    font-size: 22px; color: #fff;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  }
  .nav__toggle .i--close, .nav.is-open .nav__toggle .i--menu { display: none; }
  .nav.is-open .nav__toggle .i--close { display: block; }

  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    background: rgba(6, 20, 51, .98);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .45s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 16px 8px; border-radius: 12px; font-size: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav__link::after { left: auto; right: 12px; top: 50%; bottom: auto; transform: translateY(-50%) scale(0); }
  .nav__link.is-active::after { transform: translateY(-50%) scale(1); }
  .nav__cta { margin: 24px 0 0; min-height: 52px; font-size: 1rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-top: 24px; }
  .hero__mark { width: 44%; top: -12%; right: -6%; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .about { grid-template-columns: 1fr; }
  /* Carruseles ([data-carousel]): deslizables, con la siguiente tarjeta asomándose */
  [data-carousel] {
    display: flex; gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 min(42%, 320px); scroll-snap-align: start; }
  [data-carousel] { margin-bottom: 0; }
  .carousel-dots { display: flex; margin: 8px 0 28px; }
  .faq-split { grid-template-columns: 1fr; }
  .photo--faq { position: relative; top: auto; aspect-ratio: 16 / 10; }
  .photo--faq img { object-position: 50% 25%; }
  .svc__media { aspect-ratio: 21 / 9; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .photo--chat { max-width: 560px; }

  .svc { grid-template-columns: auto 1fr; }
  .pricebox { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 12px 24px; }
  .pricebox__row + .pricebox__row { margin-top: 0; padding-top: 0; border-top: 0; }
  .pricebox .btn { margin-top: 0; width: auto; }

  .process { grid-template-columns: 1fr; }
  .expect { position: static; }

  .guarantees { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 899px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .explain__grid { grid-template-columns: 1fr; }
  .hosting { grid-template-columns: 1fr; max-width: 560px; }
  .cta { grid-template-columns: 1fr; }
  .qr { display: none; }
}

@media (max-width: 759px) {
  .hero { min-height: auto; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { max-width: 100%; }
  .hero__mark { width: 40%; top: -9%; right: -4%; }
  .builder { --rx: 0deg; --ry: 0deg; }
  .builder.is-mobile { width: 64%; }
  .builder__screen { height: 300px; padding: 12px; }
  .builder.is-mobile .builder__screen { height: 380px; }
  .builder__live { display: none; }
  .bchat { right: 8px; bottom: 12px; width: 72%; }
  .demo-steps { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .stats { gap: 12px; }
  .stat { padding: 18px 16px; }

  .values, .ai-grid, .callouts, .guarantees, .means, .biz, .contacts { grid-template-columns: 1fr; }
  [data-carousel] { gap: 12px; }
  [data-carousel] > * { flex-basis: 76%; }
  /* La tarjeta activa del carrusel al frente; las vecinas un poco atrás */
  .sector-photos > .sector-photo,
  .sectors4 > .sector-tile {
    transition: scale .55s var(--ease), opacity .55s var(--ease), translate .9s var(--ease), transform .7s var(--ease);
  }
  .sector-photos > .sector-photo:not(.is-current),
  .sectors4 > .sector-tile:not(.is-current) { scale: .93; opacity: .7; }
  .sector-photo span { left: 12px; right: 12px; bottom: 12px; font-size: .88rem; }
  .showcase { aspect-ratio: 4 / 3; }
  .showcase--wide { aspect-ratio: 16 / 11; }
  .svc__media { margin: -24px -24px 4px; aspect-ratio: 16 / 9; }
  .showcase__chips { left: 12px; right: 12px; bottom: 12px; gap: 6px; }
  .showcase__chip { padding: 6px 12px; font-size: .78rem; }
  .photo__badge { left: 12px; bottom: 12px; }
  .expect__media { margin: -24px -24px 20px; height: 170px; }
  .expect { padding: 24px; }
  .callout { flex-direction: column; align-items: flex-start; }

  /* Tabla: una opción a la vez */
  .compare__tabs {
    display: flex; gap: 4px;
    margin-bottom: 16px; padding: 5px; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line);
  }
  .compare__tab {
    flex: 1; padding: 10px 6px; border-radius: 999px;
    font-size: .84rem; font-weight: 600; color: var(--muted);
    transition: background-color .3s, color .3s;
  }
  .compare__tab[aria-pressed="true"] { color: #fff; background: var(--blue-600); }
  th, td { padding: 13px 14px; }
  td { width: 42%; }
  .compare[data-plan="1"] :is(th, td):is(:nth-child(3), :nth-child(4)),
  .compare[data-plan="2"] :is(th, td):is(:nth-child(2), :nth-child(4)),
  .compare[data-plan="3"] :is(th, td):is(:nth-child(2), :nth-child(3)) { display: none; }

  .svc { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .pricebox { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pricebox__row + .pricebox__row { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .pricebox .btn { width: 100%; margin-top: 18px; }
  .training { flex-wrap: wrap; padding: 26px 24px; }
  .training__badge { margin-left: 0; }

  .ownership { flex-direction: column; padding: 26px 24px; }

  .founder { grid-template-columns: 1fr; }
  .avatar { margin: 18px 0 0 18px; }

  .path__list { grid-template-columns: 1fr; gap: 22px; }
  .path__list::before, .path__list::after { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .path__list::after { transform: scaleY(0); transform-origin: top; }
  .path.is-visible .path__list::after { transform: scaleY(1); }
  .path__item { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; text-align: left; }
  .path__dot { grid-row: span 2; margin: 0; }
  .path__item strong { margin-top: 0; }

  .step { grid-template-columns: 44px 1fr; gap: 18px; }
  .step__num { width: 44px; height: 44px; font-size: 1rem; }
  .steps::before, .steps__fill { left: 21px; top: 22px; bottom: 22px; }
  .step h3 { padding-top: 8px; font-size: 1.15rem; }

  .faq__a p { padding: 0 8px 22px 34px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* Movimiento reducido ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .js .path__dot { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__group { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee__group[aria-hidden="true"] { display: none; }
}
