/* Cuy Studio, estilos. 04/10: paleta "Caramelo" sobre fondo índigo (ámbar en vez del amarillo de Triaje, violeta y lavanda más cálidos). Mobile first.
   Paleta tipo Triaje (BRIEF §15) con voz propia: Space Grotesk para títulos, Manrope para texto y
   JetBrains Mono para el "código". Tema de los efectos: el código que se vuelve diseño.
   Reglas de la casa: texto corrido justificado con guiones, sin rayitas antes de rótulos,
   nunca texto amarillo sobre blanco, todo lo que se esconde para animar empieza por .js */

:root {
  --noche: #1d1958;
  --noche-hondo: #141043;
  --noche-alto: #29247a;
  --noche-linea: rgba(255, 255, 255, .13);
  --amarillo: #ffb03b;
  --amarillo-claro: #ffd08a;
  --violeta: #7b52e6;
  --violeta-hondo: #6440d0;
  --lavanda: #e2c9f5;
  --naranja: #ef6a3a;
  --caramelo: #e58b3a;   /* el pelaje del cuy (mascota de Cuy Studio, 04/10) */
  --crema: #fdeacc;
  --nube: #f4f4f9;
  --niebla: #c9c9d8;
  --tinta: #191330;
  --tinta-suave: #4a4968;
  --linea: rgba(25, 19, 48, .12);
  --wa: #25d366;
  --fh: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --fm: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-xl: 28px; --r-l: 20px; --r-m: 14px; --r-s: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --cab: 64px;
  --sombra: 0 30px 60px -30px rgba(8, 7, 30, .7), 0 8px 18px -10px rgba(8, 7, 30, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cab) + 16px); }
body {
  margin: 0; font-family: var(--f); font-size: 1.0625rem; line-height: 1.68; color: #fff;
  background: var(--noche); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; caret-color: var(--amarillo);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--amarillo); color: var(--noche); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--violeta) var(--noche-hondo); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; }
.envase { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amarillo); color: var(--noche); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.saltar:focus { top: 12px; }

/* texto corrido: justificado con guiones (regla de Genaro) */
p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 6 3 2; }

/* ---------------------------------------------------------------- tipografía */
.rotulo {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--fm); font-weight: 600;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amarillo); text-align: left;
}
.rotulo .ico { width: 1em; height: 1em; }
.seccion--clara .rotulo { color: var(--violeta-hondo); }
.t-grande, .hero__h1 {
  font-family: var(--fh); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(2.5rem, 8.4vw + .2rem, 4.6rem); text-wrap: balance;
}
.t-grande em, .hero__h1 em, .t-seccion em { font-style: normal; color: var(--amarillo); }
.t-seccion { font-family: var(--fh); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(1.9rem, 5vw + .4rem, 3rem); text-wrap: balance; }
.t-chico { font-family: var(--fh); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin-top: 36px; }
.texto { color: var(--niebla); margin-top: 14px; }
.seccion--clara .texto { color: var(--tinta-suave); }

/* ---------------------------------------------------------------- botones */
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .75em 1.35em; border-radius: 999px; border: 2px solid transparent; font-weight: 700;
  font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.boton .ico { transition: transform .4s var(--ease); }
.boton:active { transform: scale(.97); transition-duration: .1s; }
.boton--grande { min-height: 54px; font-size: 1.04rem; padding-inline: 1.5em; }
.botones .boton { max-width: 100%; white-space: normal; text-align: center; }  /* 04/10: "Agenda una llamada gratis de 30 min" no cabía a 360 px */
.boton--chico { min-height: 40px; padding: .45em 1.1em; font-size: .92rem; }
.boton--primario { background: var(--amarillo); color: var(--noche); }
.boton--oscuro { background: var(--noche); color: #fff; }
.boton--fantasma { border-color: var(--noche-linea); color: #fff; }
.boton--wa { background: var(--wa); color: #06331a; }
@media (hover: hover) {
  .boton--primario:hover { background: var(--amarillo-claro); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(255, 176, 59, .6); }
  .boton--oscuro:hover { background: var(--violeta-hondo); transform: translateY(-2px); }
  .boton--fantasma:hover { border-color: #fff; }
  .boton--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(37, 211, 102, .6); }
  .boton:hover .ico:last-child { transform: translateX(3px); }
}
.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--amarillo); text-decoration: none; }
.seccion--clara .enlace-flecha { color: var(--violeta-hondo); }
.enlace-flecha .ico { transition: transform .4s var(--ease); }
.enlace-flecha:hover .ico { transform: translateX(4px); }

/* ---------------------------------------------------------------- cabecera */
.aviso-previa { background: var(--lavanda); color: var(--noche); text-align: center; font-family: var(--fm); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; }
.cab { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--noche) 86%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.cab.is-bajada { border-color: var(--noche-linea); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7); }
.cab__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--cab); }
.cab__marca { text-decoration: none; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--fh); font-weight: 700; font-size: 1.45rem; letter-spacing: -.04em; line-height: 1; color: #fff; }
.logo__cuy { align-self: center; width: 1.55em; height: auto; margin-right: .3em; flex: none; }
.logo__acento { color: var(--caramelo); }
.logo__punto { color: var(--amarillo); }
.logo__cursor { display: inline-block; width: .5em; height: .92em; margin-left: 3px; background: var(--amarillo); border-radius: 2px; transform: translateY(.1em); opacity: .9; }
.nav { display: none; }
.nav__lista { display: flex; gap: 4px; }
.nav__lista a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--niebla); transition: color .2s, background-color .2s; }
.nav__lista a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__lista a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.idioma { font-family: var(--fm); font-size: .8rem; font-weight: 600; color: var(--lavanda); text-decoration: none; padding: 8px 10px; }
.cab__menu { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--noche-linea); background: transparent; cursor: pointer; }
.cab__menu-ico { display: grid; gap: 6px; width: 20px; }
.cab__menu-ico i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease); }
.cab__menu[aria-expanded="true"] .cab__menu-ico i:first-child { transform: translateY(4px) rotate(45deg); }
.cab__menu[aria-expanded="true"] .cab__menu-ico i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-movil { border-top: 1px solid var(--noche-linea); padding: 12px 16px 24px; display: grid; gap: 10px; background: var(--noche); max-height: calc(100svh - var(--cab)); overflow: auto; }
.menu-movil[hidden] { display: none; }
.menu-movil ul { display: grid; margin-bottom: 8px; }
.menu-movil ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--noche-linea); text-decoration: none; font-family: var(--fh); font-weight: 600; font-size: 1.3rem; }
.menu-movil .boton { width: 100%; }

/* ---------------------------------------------------------------- portada */
.hero { position: relative; overflow: clip; isolation: isolate; }
.hero::before, .phero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60% 45% at 100% 0%, rgba(239, 106, 58, .24), transparent 70%), radial-gradient(45% 40% at 0% 100%, rgba(123, 82, 230, .22), transparent 70%); }
/* rejilla de plano: el lienzo donde se construye */
.hero__rejilla, .phero__rejilla { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(75% 70% at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(75% 70% at 70% 30%, #000 20%, transparent 75%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 44px; padding-bottom: 72px; }
.hero__rotulo { margin-bottom: 18px; }
.hero__h1 { font-size: clamp(2.7rem, 10vw + .1rem, 5.2rem); }
.hero__sub { margin-top: 20px; color: var(--niebla); font-size: 1.12rem; max-width: 34em; }
.cifras { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; margin-top: 36px; }
.cifras li { display: grid; }
.cifras b { font-family: var(--fh); font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.cifras span { font-size: .84rem; color: var(--niebla); }

/* la obra: código que se escribe y se vuelve una web */
.obra { position: relative; padding: 0 0 70px 0; max-width: 620px; width: 100%; justify-self: center; margin-top: 92px; }
/* el cuy con gafas, sentado en el borde del navegador; su globo es un comentario de código con el eslogan */
.obra__cuy { position: absolute; z-index: 2; right: 7%; bottom: 100%; margin-bottom: -9px; width: clamp(116px, 28vw, 160px); }
.obra__cuy .cuy { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(8, 7, 30, .45)); }
.obra__globo { position: absolute; right: calc(100% + 6px); top: 6%; width: max-content; max-width: min(52vw, 290px); padding: 7px 11px;
  font-family: var(--fm); font-size: .72rem; font-weight: 600; line-height: 1.45; color: var(--amarillo-claro); text-align: left;
  background: var(--noche-alto); border: 1px solid rgba(226, 201, 245, .35); border-radius: 12px 12px 3px 12px; }
.obra__web { position: relative; border-radius: 16px; background: #fff; box-shadow: var(--sombra); overflow: hidden; }
.obra__barra { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #ecebf5; }
.obra__barra i { width: 9px; height: 9px; border-radius: 50%; background: #cfcde3; }
.obra__barra i:first-child { background: var(--naranja); }
.obra__barra i:nth-child(2) { background: var(--amarillo); }
.obra__url { flex: 1; height: 14px; margin-left: 10px; border-radius: 999px; background: #fff; max-width: 60%; }
.obra__pag { position: relative; aspect-ratio: 16 / 10.5; background: linear-gradient(180deg, #faf9ff, #f1effd); overflow: hidden; }
.ob { position: absolute; display: block; border-radius: 6px; }
.ob--nav { left: 5%; right: 5%; top: 6%; height: 7%; display: flex; align-items: center; gap: 5%; }
.ob--nav b { display: block; width: 14%; height: 70%; border-radius: 5px; background: var(--noche); }
.ob--nav s { display: block; width: 9%; height: 30%; border-radius: 4px; background: #d8d6ea; }
.ob--nav s:first-of-type { margin-left: auto; }
.ob--h1 { left: 5%; top: 24%; width: 62%; height: 10%; background: var(--noche); }
.ob--h1b { left: 5%; top: 37%; width: 44%; height: 10%; background: var(--violeta); }
.ob--p { left: 5%; top: 52%; width: 52%; height: 4%; background: #d8d6ea; box-shadow: 0 calc(1.1em) 0 #e4e2f2; }
.ob--btn { left: 5%; top: 66%; width: 22%; height: 8.5%; border-radius: 999px; background: var(--amarillo); }
.ob--cards { left: 64%; right: 5%; top: 24%; bottom: 10%; display: grid; gap: 7%; }
.ob--cards i { display: block; border-radius: 8px; background: var(--lavanda); }
.ob--cards i:nth-child(2) { background: var(--violeta); }
.ob--cards i:nth-child(3) { background: var(--naranja); opacity: .85; }
.obra__tag { position: absolute; font-family: var(--fm); font-size: .62rem; font-weight: 600; color: var(--violeta-hondo); background: #fff; border: 1px solid #dcd8f6; border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.obra__tag--1 { left: 20%; top: 5.5%; }
.obra__tag--2 { left: 58%; top: 25%; }
.obra__tag--3 { left: 29%; top: 67%; }
.obra__editor { position: absolute; left: -2%; right: 18%; bottom: 0; border-radius: 14px; background: var(--noche-hondo); border: 1px solid var(--noche-linea); box-shadow: var(--sombra); overflow: hidden; }
.obra__tab { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; font-family: var(--fm); font-size: .68rem; color: var(--niebla); background: #1f1740; border-bottom: 1px solid var(--noche-linea); }
.obra__tab span { width: 8px; height: 8px; border-radius: 50%; background: var(--amarillo); }
.obra__cod { margin: 0; padding: 10px 14px 12px; font-family: var(--fm); font-size: .66rem; line-height: 1.75; color: #e9e8ff; white-space: pre; overflow: hidden; }
.obra__cod code { display: grid; }
.obra__ln { display: block; padding-left: calc(var(--s) * 1.6em); }
.obra__ln:last-child::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 4px; vertical-align: -.2em; background: var(--amarillo); }
.tk-t { color: var(--lavanda); } .tk-a { color: #ffab83; } .tk-s { color: var(--amarillo); } .tk-c { color: #8d8cb4; font-style: italic; }

/* ---------------------------------------------------------------- páginas interiores */
.phero { position: relative; overflow: clip; isolation: isolate; }
.phero__in { padding-top: 56px; padding-bottom: 64px; }
.phero__in > * { max-width: 900px; }
.phero .rotulo { margin-bottom: 16px; }
.phero__sub { margin-top: 20px; font-size: 1.12rem; color: var(--niebla); max-width: 38em; }
/* el cuy de cada sección (con su accesorio), sentado sobre el borde de la sección siguiente */
.phero__cuy { position: absolute; z-index: 1; right: 16px; bottom: 2px; width: 132px; pointer-events: none; }
.phero__cuy .cuy, .phero__cuy--centro .cuy { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 16px rgba(8, 7, 30, .5)); }
.phero--cuy .phero__in { padding-bottom: 150px; }
.phero__cuy--centro { position: static; width: 150px; margin: 0 auto 10px; }
.phero--centro .phero__in { text-align: center; padding-block: 90px 110px; }
.phero--centro .phero__in > * { margin-inline: auto; }
.phero--centro .phero__sub { margin-inline: auto; text-align-last: center; }
.phero--centro .botones { justify-content: center; }
.volver { display: flex; width: max-content; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--niebla); text-decoration: none; margin-bottom: 26px; }
.ico--volver { transform: rotate(180deg); }
.volver:hover { color: #fff; }

/* ---------------------------------------------------------------- secciones */
.seccion { padding: 72px 0; position: relative; }
.seccion--clara { background: var(--nube); color: var(--tinta); }
.seccion.seccion--sigue { padding-top: 0; }  /* 06/10: #revision sigue a #seo en Servicios, las dos claras (doble clase: le gana al .seccion de la media query de 1000 px) */
.seo__pie { margin-top: 26px; font-size: .92rem; color: var(--tinta-suave); }
.seo__pie .enlace-flecha { margin-top: 10px; }
.seccion--clara .t-seccion em { color: var(--violeta); }
.seccion--alta { background: var(--noche-alto); }
.cab-seccion { max-width: 760px; margin-bottom: 36px; }
.cab-seccion .rotulo { margin-bottom: 12px; }
.cab-seccion > p:not(.rotulo) { margin-top: 12px; color: var(--niebla); }
.seccion--clara .cab-seccion > p:not(.rotulo) { color: var(--tinta-suave); }
.cab-seccion--centro { margin-inline: auto; text-align: center; }
.cab-seccion--centro .rotulo { justify-content: center; }
.cab-seccion--fila { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; }
.nota-precio { margin-top: 26px; font-size: .92rem; color: var(--tinta-suave); text-align: left; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.dos-col { display: grid; gap: 48px; }
.lista-check { display: grid; gap: 10px; margin-top: 18px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; }
.lista-check .ico { color: var(--violeta); margin-top: .28em; stroke-width: 2.6; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--fm); font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--noche-linea); color: var(--lavanda); }

/* paquetes */
.paquetes { display: grid; gap: 16px; }
.paquete { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: var(--r-l); background: #fff; border: 1.5px solid var(--linea); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
@media (hover: hover) { .paquete:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -28px rgba(25, 19, 48, .5); border-color: rgba(123, 82, 230, .45); } }
.paquete__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--nube); color: var(--violeta); }
.paquete__ico .ico { width: 24px; height: 24px; }
.paquete__nombre { font-family: var(--fh); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.paquete__para { color: var(--tinta-suave); font-size: .98rem; }
.paquete .lista-check { margin-top: 6px; font-size: .95rem; }
.paquete__plazo { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: .88rem; color: var(--tinta-suave); text-align: left; }
.paquete__plazo .ico { color: var(--violeta); }
.paquete--destacado { background: var(--noche); color: #fff; border-color: var(--noche); }
.paquete--destacado .paquete__para, .paquete--destacado .paquete__plazo { color: var(--niebla); }
.paquete--destacado .paquete__ico { background: var(--amarillo); color: var(--noche); }
.paquete--destacado .lista-check .ico, .paquete--destacado .paquete__plazo .ico { color: var(--amarillo); }
.paquete__pop { position: absolute; top: -12px; right: 18px; font-family: var(--fm); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--amarillo); color: var(--noche); }
.precio { display: flex; align-items: baseline; gap: 6px; text-align: left; }
.precio b { font-family: var(--fh); font-size: 2rem; letter-spacing: -.035em; line-height: 1.1; }
.precio__desde { font-size: .82rem; color: var(--tinta-suave); }
.paquete--destacado .precio__desde, .plan .precio__desde { color: var(--niebla); }
.precio__mes { font-size: .9rem; color: var(--niebla); }
.paquetes--compactos .paquete { gap: 8px; }
.extras { margin-top: 28px; padding: 22px; border-radius: var(--r-l); background: #fff; border: 1.5px solid var(--linea); }
.extras h3 { font-family: var(--fh); font-size: 1.2rem; }
.extras ul { display: grid; margin-top: 10px; }
.extras li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.extras li:last-child { border: 0; }

/* planes mensuales */
.planes { display: grid; gap: 14px; }
.plan { padding: 24px 22px; border-radius: var(--r-l); background: var(--noche-alto); border: 1px solid var(--noche-linea); display: grid; gap: 8px; align-content: start; transition: transform .5s var(--ease), border-color .3s; }
.plan h3 { font-family: var(--fh); font-size: 1.25rem; }
.plan p:last-child { color: var(--niebla); font-size: .96rem; }
@media (hover: hover) { .plan:hover { transform: translateY(-4px); border-color: var(--violeta); } }

/* revisión de web */
.revision { margin-top: 40px; display: grid; gap: 20px; align-items: center; padding: 26px 22px; border-radius: var(--r-xl); background: var(--amarillo); color: var(--noche); }
.revision h3, .revision h2 { font-family: var(--fh); font-size: 1.5rem; letter-spacing: -.02em; }
.revision p { margin-top: 8px; }
.revision__precio { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--noche); color: var(--amarillo); font-size: .95rem; vertical-align: .15em; }
.revision--grande { margin: 0 0 64px; }

/* pagos y preguntas */
.pagos { display: grid; gap: 12px; margin-top: 20px; }
.pagos li { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-m); background: #fff; border: 1.5px solid var(--linea); }
.pagos span { color: var(--tinta-suave); }
.faq { margin-top: 20px; border-top: 1px solid var(--linea); }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--linea); transition: transform .45s var(--ease), background-color .25s; }
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--amarillo); }
.faq__cuerpo { padding: 0 0 20px; color: var(--tinta-suave); }

/* trabajos */
.trabajos { display: grid; gap: 18px; }
.trabajo { position: relative; display: grid; text-decoration: none; border-radius: var(--r-l); background: var(--noche-alto); border: 1px solid var(--noche-linea); overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), border-color .3s, box-shadow .6s var(--ease); }
.seccion--alta .trabajo { background: var(--noche); }
@media (hover: hover) { .trabajo:hover { border-color: rgba(226, 201, 245, .5); box-shadow: var(--sombra); } }
.trabajo__foto { position: relative; display: block; aspect-ratio: 16 / 10; background: #e9e7f7; overflow: hidden; }
.trabajo__foto img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .trabajo:hover .trabajo__foto img:first-child { transform: scale(1.04); } }
.trabajo__logo { position: absolute; left: 14px; bottom: 14px; width: 62px; height: 62px; object-fit: contain; padding: 8px; border-radius: 16px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.trabajo__logo--claro, .ficha__logo--claro { background: #fff; }
/* 05/10: sin precios publicados, cada paquete lleva "Get a quote" al formulario */
.cotizar { display: inline-flex; align-items: center; gap: .45em; margin: 6px 0 10px; font-family: var(--fh); font-weight: 700; font-size: 1.15rem; color: var(--violeta-hondo); text-decoration: none; }
.cotizar .ico { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.cotizar:hover .ico { transform: translateX(4px); }
.paquete--destacado .cotizar { color: var(--amarillo); }
.trabajo__logo--oscuro, .ficha__logo--oscuro { background: #131316; }  /* 05/10: negro neutro, no el índigo de la marca */
/* placas oscuras o con el color del cliente: borde blanco para que contrasten con la captura y con el índigo */
.trabajo__logo--oscuro, .trabajo__logo--color, .ficha__logo--oscuro, .ficha__logo--color { box-shadow: 0 0 0 2px rgba(255, 255, 255, .92), 0 10px 20px -12px rgba(0, 0, 0, .6); }
.trabajo__permiso { position: absolute; top: 12px; right: 12px; font-family: var(--fm); font-size: .64rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--lavanda); color: var(--noche); }
.trabajo__permiso--ficha { position: static; display: inline-block; margin-bottom: 14px; }
.trabajo__txt { display: grid; gap: 6px; padding: 18px 18px 20px; }
.trabajo__rubro { font-family: var(--fm); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--lavanda); }
.trabajo__nombre { font-family: var(--fh); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.trabajo__resumen { color: var(--niebla); font-size: .95rem; text-align: justify; hyphens: auto; }
.trabajo .chips { margin-top: 6px; }
.rotulo--vivo { color: var(--amarillo); }
.punto-vivo { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }

/* ficha de un trabajo */
.ficha__logo { width: 88px; height: 88px; object-fit: contain; padding: 10px; border-radius: 22px; margin-bottom: 22px; }
.redes { display: inline-flex; gap: 8px; align-items: center; }
.red { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--noche-linea); color: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.red .ico { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.red:hover { background: var(--amarillo); color: var(--noche); border-color: var(--amarillo); }
.seccion--ficha { background: var(--nube); color: var(--tinta); }
.ficha__capturas { position: relative; display: grid; gap: 20px; }
.ficha__desk { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -34px rgba(25, 19, 48, .55); border: 1px solid var(--linea); }
.ficha__desk img { width: 100%; height: auto; }
.ficha__movil { width: 46%; max-width: 230px; justify-self: end; margin-top: -90px; border-radius: 28px; overflow: hidden; border: 6px solid var(--noche); background: var(--noche); box-shadow: 0 30px 60px -30px rgba(25, 19, 48, .7); }
.ficha__movil img { width: 100%; height: auto; }
.ficha__hicimos { margin-top: 48px; max-width: 760px; }
.ficha__hicimos .chips { margin-top: 18px; }
.seccion--ficha .chip { border-color: var(--linea); color: var(--violeta-hondo); }
.testimonio { margin-top: 48px; padding: 28px 24px; border-radius: var(--r-xl); background: var(--noche); color: #fff; max-width: 760px; }
.testimonio p { font-family: var(--fh); font-size: 1.35rem; line-height: 1.35; text-align: left; }
.testimonio footer { margin-top: 14px; color: var(--amarillo); font-weight: 700; }

/* pasos: riel que se llena al bajar (mecanismo de Triaje) */
.proceso .cab-seccion { margin-inline: auto; }
.pasos { position: relative; display: grid; max-width: 820px; margin-inline: auto; }
.pasos__riel { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: var(--noche-linea); overflow: hidden; }
.pasos__lleno { position: absolute; inset: 0; background: var(--amarillo); transform-origin: top; transform: scaleY(var(--p)); border-radius: 4px; }
.paso { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 0 0 30px; }
.paso:last-child { padding-bottom: 0; }
.paso__n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--noche); border: 2px solid var(--noche-linea); font-family: var(--fm); font-weight: 600; color: var(--lavanda); transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.paso.is-activo .paso__n { background: var(--amarillo); border-color: var(--amarillo); color: var(--noche); transform: scale(1.06); }
.paso h3 { font-family: var(--fh); font-weight: 700; font-size: 1.25rem; line-height: 1.25; padding-top: 10px; }
.paso p { margin-top: 6px; color: var(--niebla); }

/* razones */
.razones { display: grid; gap: 14px; }
.razon { padding: 24px 22px; border-radius: var(--r-l); background: #fff; border: 1.5px solid var(--linea); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .razon:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -30px rgba(25, 19, 48, .5); } .razon:hover .razon__ico { background: var(--amarillo); color: var(--noche); } }
.razon__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--violeta); color: #fff; transition: background-color .3s, color .3s; }
.razon__ico .ico { width: 22px; height: 22px; }
.razon h3 { margin-top: 14px; font-family: var(--fh); font-size: 1.2rem; letter-spacing: -.01em; }
.razon p { margin-top: 6px; color: var(--tinta-suave); font-size: .97rem; }
.razones--oscuras .razon { background: var(--noche-alto); border-color: var(--noche-linea); }
.razones--oscuras .razon p { color: var(--niebla); }

/* texto largo, blog y prosa */
.texto-largo { max-width: 760px; display: grid; gap: 18px; font-size: 1.1rem; }
.prosa { max-width: 740px; }
.prosa h2 { font-family: var(--fh); font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.2; margin: 40px 0 12px; }
.prosa h2:first-child { margin-top: 0; }
.prosa p { margin-top: 14px; }
.prosa ul, .prosa ol { display: grid; gap: 10px; margin-top: 14px; }
.prosa ul li { position: relative; padding-left: 22px; text-align: justify; hyphens: auto; }
.prosa ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--violeta); }
.prosa ol { counter-reset: n; }
.prosa ol li { counter-increment: n; position: relative; padding-left: 36px; }
.prosa ol li::before { content: counter(n); position: absolute; left: 0; top: .05em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--noche); color: var(--amarillo); font-family: var(--fm); font-size: .8rem; font-weight: 600; }
.prosa a { color: var(--violeta-hondo); font-weight: 700; }
.posts { display: grid; gap: 16px; }
.post { display: grid; gap: 8px; padding: 26px 24px; border-radius: var(--r-l); background: #fff; border: 1.5px solid var(--linea); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-3px); box-shadow: 0 26px 40px -30px rgba(25, 19, 48, .5); }
.post__meta { font-family: var(--fm); font-size: .75rem; color: var(--tinta-suave); }
.post__titulo { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.post__resumen { color: var(--tinta-suave); }

/* contacto y formularios */
.caja-wa { padding: 26px 22px; border-radius: var(--r-xl); background: var(--noche); color: #fff; }
.caja-wa h2 { font-family: var(--fh); font-size: 1.5rem; }
.caja-wa p { margin: 8px 0 18px; color: var(--niebla); }
.sigue { display: grid; gap: 12px; margin-top: 16px; }
.sigue li { display: flex; gap: 12px; align-items: center; }
.paso__n--chico { width: 34px; height: 34px; font-size: .85rem; background: var(--noche); color: var(--amarillo); border: 0; flex: none; }
.caja-form { padding: 24px 20px; border-radius: var(--r-xl); background: #fff; color: var(--tinta); border: 1.5px solid var(--linea); box-shadow: 0 30px 60px -40px rgba(25, 19, 48, .45); }
.form__grid { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.campo label, .campo legend { font-weight: 700; font-size: .9rem; padding: 0; }
.opc { color: var(--tinta-suave); font-weight: 500; }
.campo input, .campo select, .campo textarea { width: 100%; padding: 13px 14px; font-size: 16px; border-radius: 12px; border: 1.5px solid #d8d7e6; background: #fbfbfe; color: var(--tinta); transition: border-color .2s, box-shadow .2s; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--violeta); box-shadow: 0 0 0 4px rgba(123, 82, 230, .18); }
.campo textarea { resize: vertical; min-height: 110px; }
.pastillas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pastilla { position: relative; }
.pastilla input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.pastilla span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #d8d7e6; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pastilla input:checked + span { background: var(--noche); border-color: var(--noche); color: #fff; }
.pastilla input:focus-visible + span { outline: 3px solid var(--violeta); outline-offset: 2px; }
.acepto { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: .9rem; color: var(--tinta-suave); }
.acepto input { width: 20px; height: 20px; accent-color: var(--violeta); flex: none; margin-top: 2px; }
.acepto a { color: var(--violeta-hondo); font-weight: 700; }
.form .boton { width: 100%; }
.form__error { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: #fff0ea; color: #8a2f0c; font-weight: 600; text-align: left; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* banda final */
.final { background: var(--amarillo); color: var(--noche); position: relative; overflow: clip; }
.final__in { padding-block: 84px 90px; text-align: center; max-width: 820px; }
.final__p { margin: 16px auto 0; max-width: 36em; text-align-last: center; font-size: 1.1rem; }
.final .botones { justify-content: center; }

/* pie minimalista y temático: la etiqueta </> se dibuja al llegar */
.pie { background: var(--noche-hondo); border-top: 1px solid var(--noche-linea); }
.pie__in { display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: 56px 90px; }
.pie__etiqueta { width: 110px; height: auto; fill: none; stroke: var(--lavanda); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.pie__trazo--2 { stroke: var(--amarillo); }
.logo--pie { font-size: 1.7rem; }
.pie__eslogan { margin: 0; font-family: var(--fm); font-size: .95rem; font-weight: 600; color: var(--amarillo); }
.pie__frase { max-width: 30em; color: var(--niebla); text-align: center; }
.pie__enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 6px; }
.pie__enlaces a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: #fff; }
.pie__enlaces a:hover { color: var(--amarillo); }
.pie__enlaces .ico { color: var(--lavanda); }
.pie__legal { font-size: .8rem; color: #8d8cb4; text-align: center; }

/* WhatsApp flotante */
.wa-flot { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .6); transition: transform .4s var(--ease), opacity .3s; }
.wa-flot .ico { fill: currentColor; stroke: none; width: 28px; height: 28px; }
.wa-flot:hover { transform: scale(1.06); }
.boton--wa .ico, .pie__enlaces .ico[href$="whatsapp"] { fill: currentColor; stroke: none; }
.boton--wa .ico { fill: currentColor; stroke: none; }
.pie__enlaces li:first-child .ico { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- escritorio */
@media (min-width: 720px) {
  .envase { padding-inline: 28px; }
  .paquetes { grid-template-columns: repeat(2, 1fr); }
  .trabajos { grid-template-columns: repeat(2, 1fr); }
  .razones { grid-template-columns: repeat(2, 1fr); }
  .planes { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .campo--ancho { grid-column: 1 / -1; }
  .revision { grid-template-columns: 1fr auto; padding: 32px 34px; }
  .caja-form { padding: 32px 30px; }
  .ficha__movil { position: absolute; right: 3%; bottom: -60px; margin: 0; width: 24%; }
  .ficha__capturas { padding-right: 12%; }
  .ficha__hicimos { margin-top: 90px; }
}
@media (min-width: 1000px) {
  :root { --cab: 72px; }
  .nav { display: flex; align-items: center; gap: 10px; }
  .cab__menu { display: none; }
  .menu-movil { display: none !important; }
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 110px; }
  .seccion { padding: 110px 0; }
  .paquetes { grid-template-columns: repeat(4, 1fr); }
  .trabajos { grid-template-columns: repeat(3, 1fr); }
  .razones { grid-template-columns: repeat(3, 1fr); }
  .razones--2 { grid-template-columns: repeat(2, 1fr); }
  .planes { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .dos-col { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .dos-col--form { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .phero__in { padding-top: 90px; padding-bottom: 96px; }
  .paso { grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 40px; }
  .paso__n { width: 56px; height: 56px; }
  .pasos__riel { left: 26px; top: 28px; bottom: 28px; }
  .paso h3 { font-size: 1.4rem; padding-top: 14px; }
  .obra__cod { font-size: .74rem; }
  .obra { margin-top: 70px; }
  .obra__br { display: none; }
  .phero__cuy { right: max(16px, calc((100% - 1200px) / 2 + 16px)); width: 228px; }
  .phero--cuy .phero__in { padding-bottom: 96px; }
  .phero--cuy .phero__in > * { max-width: min(900px, calc(100% - 270px)); }
  .final__in { padding-block: 120px 130px; }
  .wa-flot { width: 60px; height: 60px; }
}

/* ---------------------------------------------------------------- movimiento (solo con JS y sin reduced-motion) */
@keyframes teclear { from { clip-path: inset(0 100% 0 0); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px) scale(.92); } }
@keyframes etiqueta { from { opacity: 0; transform: translateY(6px); } }
@keyframes barrido { 0% { transform: translateX(-120%); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateX(120%); opacity: 0; } }
@keyframes parpadeo { 50% { opacity: 0; } }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes latido-vivo { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }
@keyframes cuy-parpadeo { 0%, 93%, 100% { transform: none; } 96% { transform: scaleY(.12); } }
@keyframes subir { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: no-preference) {
  /* el momento de autor: el código se escribe, un barrido "compila" y aparecen las piezas de la web */
  .js .obra__ln { animation: teclear .42s steps(22, end) backwards; animation-delay: calc(.35s + var(--i) * .17s); }
  .js .obra__ln:last-child::after { animation: parpadeo 1s steps(1) 1.9s 5; }
  .js .obra__pag::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(123, 82, 230, .28) 45%, rgba(255, 176, 59, .35) 55%, transparent 80%);
    animation: barrido 1s var(--ease) 1.75s backwards; }
  .js .ob { animation: aparecer .7s var(--ease) backwards; animation-delay: calc(1.95s + var(--k) * .11s); }
  .js .obra__tag { animation: etiqueta .5s var(--ease) backwards; }
  .js .obra__tag--1 { animation-delay: 2.7s; } .js .obra__tag--2 { animation-delay: 2.82s; } .js .obra__tag--3 { animation-delay: 2.94s; }
  .js .obra__web { animation: subir .9s var(--ease) .1s backwards; }
  .js .obra__editor { animation: subir .9s var(--ease) .2s backwards; }
  /* el cuy llega cuando la web ya "compiló", dice su frase y parpadea de vez en cuando */
  .js .phero__cuy { animation: subir .8s var(--ease) .3s backwards; }
  .js .obra__cuy { animation: subir .8s var(--ease) 3.05s backwards; }
  .js .obra__globo { animation: etiqueta .5s var(--ease) 3.6s backwards; }
  .js .cuy__ojos { transform-box: view-box; transform-origin: 100px 97px; animation: cuy-parpadeo 5.5s 4.4s infinite; }
  .js .hero__txt > * { animation: subir .8s var(--ease) backwards; }
  .js .hero__txt > :nth-child(2) { animation-delay: .08s; } .js .hero__txt > :nth-child(3) { animation-delay: .16s; }
  .js .hero__txt > :nth-child(4) { animation-delay: .24s; } .js .hero__txt > :nth-child(5) { animation-delay: .32s; }
  /* cursor del logo: parpadea unas veces y queda quieto (un bucle eterno cansa) */
  .js .cab .logo__cursor { animation: parpadeo 1.05s steps(1) .6s 6; }

  /* entradas al bajar: escalonado con tope */
  .js .rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(min(var(--i, 0), 4) * 90ms); }
  .js .rv.in { opacity: 1; transform: none; }

  /* el pie: la etiqueta de cierre se dibuja y el cursor del logo parpadea al entrar */
  .js .pie__trazo { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .pie.in .pie__trazo { animation: trazo .9s var(--ease) forwards; }
  .js .pie.in .pie__trazo--2 { animation-delay: .25s; } .js .pie.in .pie__trazo--3 { animation-delay: .45s; }
  .js .pie .logo__cursor { opacity: 0; }
  .js .pie.in .logo__cursor { opacity: .9; animation: parpadeo 1.05s steps(1) 1.1s 4; }

  .punto-vivo { animation: latido-vivo 1.6s ease-out infinite; }
  .punto-vivo.is-pausa { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .trabajo { transform: none; }
}

/* Botón "CS" del pie (05/10/2026): entrada al panel del equipo. Caramelo = el pelaje del cuy (contraste 6,8 sobre el pie). */
.pie__panel {
  display: inline-grid; place-items: center; min-width: 48px; height: 36px; padding: 0 14px; margin-top: 4px;
  border-radius: 999px; border: 1.5px solid var(--caramelo); color: var(--caramelo);
  font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-decoration: none;
  transition: background-color .25s, color .25s, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.pie__panel:hover { background: var(--caramelo); color: var(--noche-hondo); transform: translateY(-2px); }
.pie__panel:focus-visible { outline: 2px solid var(--caramelo); outline-offset: 3px; }

/* =================================================================================================
   PIE TEMÁTICO (05/10/2026, pedido de Genaro): "el cuy programando". Sigue siendo minimalista (una columna centrada):
   - el lema es un comando de terminal: "$ Curious minds. Clean code." se tipea al entrar y el cursor parpadea unas veces;
   - la frase va como comentario de código ("// ...");
   - abajo, una barra de estado de editor: punto verde "online", el © y el botón CS como una pestaña más;
   - el cuy con su laptop sentado sobre el borde de arriba, a la derecha.
   (Se quitó "From Melbourne, in English, Spanish and more languages".)
   ================================================================================================= */
.pie { position: relative; }
.pie__in { padding-block: 56px 44px; }
.pie__eslogan { display: inline-flex; align-items: center; gap: .6ch; font-size: 1rem; }
.pie__prompt { color: #3ddc84; }
.pie__tipeo { display: inline-block; white-space: nowrap; overflow: hidden; }
.pie__caret { display: inline-block; width: .6em; height: 1.15em; border-radius: 2px; background: var(--amarillo); opacity: .9; }
.pie__frase { font-family: var(--fm); font-size: .88rem; color: var(--lavanda); opacity: .85; }
.pie__frase span { color: #8d8cb4; }

.pie__barra { border-top: 1px solid var(--noche-linea); background: rgba(0, 0, 0, .18); }
.pie__barra-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 12px; font-family: var(--fm); font-size: .76rem; }
.pie__barra .pie__legal { margin: 0; font-size: inherit; }
.pie__estado { display: inline-flex; align-items: center; gap: 8px; color: #8d8cb4; text-transform: lowercase; }
.pie__punto { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); }
.pie__barra .pie__panel { margin: 0; height: 30px; min-width: 44px; font-family: var(--fm); font-size: .78rem; }

/* el cuy con la laptop, sentado sobre el borde superior del pie */
.pie__cuy { position: absolute; right: max(16px, 7vw); top: 0; width: 118px; translate: 0 -88%; pointer-events: none; z-index: 2; }
.pie__cuy .cuy { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 5px rgba(20, 16, 67, .22)); }

@media (max-width: 719px) {
  .pie__cuy { width: 84px; right: 12px; }
  .pie__barra-in { justify-content: center; text-align: center; }
  .pie__estado { order: 1; } .pie__barra .pie__panel { order: 2; } .pie__barra .pie__legal { order: 3; width: 100%; }
  /* que el botón flotante de WhatsApp no tape el © al final de la página */
  .pie__barra-in { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* tipeo: de 0 a n caracteres (n viene en --n desde build.py), cursor parpadea 6 veces y queda */
  .js .pie__tipeo { width: 0; }
  .js .pie.in .pie__tipeo { animation: pie-tipeo calc(var(--n) * 55ms) steps(var(--n)) .5s forwards; }
  .js .pie.in .pie__caret { animation: parpadeo 1.05s steps(1) calc(.5s + var(--n) * 55ms) 6; }
  .pie__punto { animation: pie-punto 2.2s ease-out infinite; }
  .js .pie__cuy { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease) .2s, transform .7s var(--ease) .2s; }
  .js .pie.in .pie__cuy { opacity: 1; transform: none; }
}
.pie__tipeo { width: calc(var(--n) * 1ch); }
@keyframes pie-tipeo { from { width: 0; } to { width: calc(var(--n) * 1ch); } }
@keyframes pie-punto { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } }
