/* Layout: página clara y sobria, alineada a la izquierda sobre 12 columnas. El color lo ponen las capturas
   reales del trabajo; el verde solo marca lo que está en línea y el botón de WhatsApp. */

:root {
  --paper: #f6f7f4;
  --surface: #ffffff;
  --tint: #e9ede6;
  --ink: #101a16;
  --ink-2: #55615b;
  --line: #d6dbd3;
  --line-strong: #7d8882;
  --green: #0b774b;
  --green-ink: #ffffff;
  --green-soft: #dcf0e5;
  --amber: #934f00;
  --amber-soft: #fbead0;
  --deep: #0f2a24;
  --on-deep: #eef4f0;
  --on-deep-2: #a9bdb3;
  --on-deep-line: #2c4a42;
  --frame: #121815;
  --wa-on-deep: #2fd27f;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: light;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--green-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1160px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
}

h1,
h2,
h3 {
  font-family: var(--f-display);
  font-stretch: 108%;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.625rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

.section {
  padding-block: var(--section);
}

.section-top0 {
  padding-top: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 40rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p {
  color: var(--ink-2);
  font-size: 1.125rem;
}

.band {
  background: var(--tint);
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: 600 1rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-wa {
  background: var(--green);
  color: var(--green-ink);
}

.btn-wa:hover {
  filter: brightness(1.08);
}

.btn-line {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink-2);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.text-link {
  font-weight: 600;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Encabezado ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 800 1.125rem/1 var(--f-display);
  font-stretch: 108%;
  white-space: nowrap;
  text-decoration: none;
}

.top-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  font-size: 0.9375rem;
}

.top-links a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
}

.top-links a:not(.btn):hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.018em;
}

.lede {
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--ink-2);
}

.lede b {
  color: var(--ink);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.assure li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.assure li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* Teléfonos con capturas reales */

.phone {
  overflow: hidden;
  border: 7px solid var(--frame);
  border-radius: 28px;
  background: var(--frame);
  box-shadow: 0 18px 40px rgba(16, 26, 22, 0.18);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 17;
  object-fit: cover;
  object-position: top;
}

.phone.is-full img {
  aspect-ratio: auto;
}

/* La hora de cb-ruta queda pegada al borde y la esquina la cortaba: la captura baja dentro del marco y deja una
   franja del color de su pantalla. El margen inferior negativo mantiene el tamaño del teléfono (solo se recorta
   la barra de gestos). */
.phone:has(img[src$="cb-ruta.webp"]) {
  background: #f6f3eb;
}

/* En las tarjetas de la portada, más chicas, le pasa lo mismo a cb-formulario. */
.need-shot .phone:has(img[src$="cb-formulario.webp"]) {
  background: #ffffff;
}

.phone img[src$="cb-ruta.webp"],
.need-shot img[src$="cb-formulario.webp"] {
  margin-block: 10px -10px;
}

.phones {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 20px);
  align-items: start;
}

.phones .phone img {
  aspect-ratio: 18 / 35;
}

.phones .phone:nth-of-type(2) {
  margin-top: 56px;
}

.signal {
  position: absolute;
  left: -14px;
  bottom: 22%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(16, 26, 22, 0.16);
  font: 600 0.875rem/1.2 var(--f-body);
}

.signal i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-shots {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.shot-note {
  color: var(--ink-2);
  font-size: 0.875rem;
}

/* ---------- Casos en la portada ---------- */

.needs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.need {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.need:hover {
  border-color: var(--ink-2);
  transform: translateY(-2px);
}

.need-shot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tint);
}

.need-shot.is-phones {
  padding: 28px 28px 0;
}

.need-shot.is-phones .phone {
  width: min(38%, 190px);
  border-width: 6px;
  border-radius: 22px 22px 0 0;
  border-bottom: 0;
  box-shadow: none;
}

.need-shot.is-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* El caso de capacitación ocupa todo el ancho: imagen a la izquierda, texto a la derecha. */
.need-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.need-wide .need-shot {
  aspect-ratio: auto;
  min-height: 100%;
}

.need-wide .need-shot img {
  object-position: left top;
}

.need-wide .need-body {
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
}

.need-wide h3 {
  font-size: clamp(1.4375rem, 2.2vw, 1.75rem);
}

/* Invitación a otros proyectos al cierre de los casos. */
.others {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  margin-top: clamp(20px, 3vw, 32px);
  padding: 16px clamp(16px, 3vw, 28px) 16px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.others:hover {
  border-color: var(--ink-2);
}

.others-shots {
  display: flex;
  gap: 8px;
}

.others-shots img {
  height: 76px;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.others-shots img:first-child {
  width: 58px;
  object-position: center 30%;
}

.others-shots img + img {
  width: 122px;
  object-position: top left;
}

.others-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.others h3 {
  font: 800 1.1875rem/1.2 var(--f-display);
  font-stretch: 108%;
}

.others p {
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.need-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.need-body .need-q {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9375rem;
}

.need h3 {
  font-size: 1.4375rem;
  font-weight: 800;
  line-height: 1.15;
}

.need-body p {
  color: var(--ink-2);
}

.need-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.9375rem;
}

.need-go {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font: 600 0.8125rem/1 var(--f-body);
  white-space: nowrap;
}

.state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.state-proto {
  background: var(--amber-soft);
  color: var(--amber);
}

/* ---------- Más trabajo ---------- */

.more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.more li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.more-shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--tint);
}

.more-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.more-shot img.pin-left {
  object-position: left top;
}

.more-shot.is-tall img {
  object-position: center 30%;
}

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

/* Dos pantallas de app lado a lado dentro de la miniatura. */
.more-shot.is-app {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 20px 0;
  background: var(--deep);
}

.more-shot.is-app img {
  width: 34%;
  height: auto;
  border-radius: 14px 14px 0 0;
}

.more-empty {
  display: grid;
  place-items: center;
  background: var(--deep);
  border-color: var(--deep);
}

.more .more-empty p {
  color: var(--on-deep);
  font: 800 clamp(1.25rem, 2.2vw, 1.625rem)/1.15 var(--f-display);
  font-stretch: 108%;
  text-align: center;
}

.more h2,
.more h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.2;
}

.more p {
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.also {
  max-width: 66ch;
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--ink-2);
}

/* ---------- Lo que hago y cómo trabajo ---------- */

.work {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.work-col h2 {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.offer li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 18px;
  border-top: 1px solid var(--line-strong);
}

.offer li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.offer h3,
.steps h3 {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.2;
}

.offer p,
.steps p {
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  counter-reset: paso;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
  counter-increment: paso;
}

.steps li::before {
  content: counter(paso);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: 800 1.0625rem/1 var(--f-display);
}

/* Línea que une los pasos: el proceso es una secuencia. */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px;
  bottom: -26px;
  left: 19px;
  width: 2px;
  background: var(--line-strong);
}

.steps h3 {
  padding-top: 8px;
}

/* ---------- Sobre mí ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 40rem;
}

.about-text p {
  font-size: 1.125rem;
}

.about {
  grid-template-columns: minmax(0, 1fr);
}

/* A lo ancho: los tres párrafos en columnas, sobre la línea de años. */
@media (min-width: 981px) {
  .about-text {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(28px, 4vw, 48px);
    max-width: none;
  }

  .about-text h2,
  .about-text .path {
    grid-column: 1 / -1;
  }
}

.path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 12px;
}

.path > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.path dt {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.path dd {
  order: -1;
  font: 800 1.125rem/1.2 var(--f-display);
  font-stretch: 108%;
}

/* ---------- Preguntas ---------- */

.faq {
  max-width: 48rem;
  border-bottom: 1px solid var(--line);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font: 700 1.125rem/1.3 var(--f-body);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font: 400 1.5rem/1 var(--f-body);
  color: var(--ink-2);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 22px;
  max-width: 42rem;
  color: var(--ink-2);
}

/* ---------- Contacto y pie ---------- */

.contact {
  background: var(--deep);
  color: var(--on-deep);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px);
}

.contact h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.02;
}

.contact-lede {
  margin-top: 16px;
  max-width: 32em;
  color: var(--on-deep-2);
  font-size: 1.125rem;
}

.contact-ways {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact .btn-wa {
  background: var(--wa-on-deep);
  color: #06231a;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--on-deep-2);
}

.contact-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-deep);
}

.ghost {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--on-deep-line);
  border-radius: 8px;
  background: transparent;
  color: var(--on-deep);
  font-size: 0.875rem;
  cursor: pointer;
}

.copied {
  min-height: 1.5em;
  color: var(--on-deep-2);
  font-size: 0.9375rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--on-deep-line);
  color: var(--on-deep-2);
  font-size: 0.875rem;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px;
  color: var(--on-deep);
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* ---------- Páginas de caso ---------- */

.back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.case-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-block: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 56px);
}

.case-head h1 {
  max-width: 20ch;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.016em;
}

.meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta dt {
  color: var(--ink-2);
  font-size: 0.875rem;
}

.meta dd {
  font-weight: 600;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(20px, 4vw, 48px);
  border-radius: 22px;
  background: var(--tint);
}

.gallery figure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.gallery .is-phone {
  width: min(100%, 250px);
}

/* Cinco teléfonos en fila en escritorio; en pantallas angostas se acomodan de dos en dos. */
.gallery:has(> .is-phone:nth-of-type(5)) .is-phone {
  width: calc((100% - 4 * clamp(16px, 3vw, 32px)) / 5);
  min-width: 150px;
}

.gallery .is-wide {
  flex: 1 1 520px;
  max-width: 760px;
}

/* nubePoS: las dos pantallas de la caja junto al ticket, que es alto; abajo el panel y la sincronización. */
.gallery-pos {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  align-items: start;
}

.gallery-pos figure {
  max-width: none;
}

.gallery-pos .is-ticket {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: auto;
}

.gallery-pos .is-ticket img {
  width: 100%;
}

@media (max-width: 700px) {
  .gallery-pos {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-pos .is-ticket {
    grid-column: auto;
    grid-row: auto;
    width: min(100%, 300px);
    justify-self: center;
  }
}

.gallery-note {
  margin-top: 14px;
}

.gallery figcaption {
  color: var(--ink-2);
  font-size: 0.875rem;
  text-align: center;
}

.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(16, 26, 22, 0.12);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font: 400 0.8125rem/1 var(--f-mono);
  color: var(--ink-2);
}

.browser-bar i {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background: var(--line);
}

.photo {
  overflow: hidden;
  border-radius: 14px;
}

.tablet {
  overflow: hidden;
  border: 10px solid var(--frame);
  border-radius: 22px;
  background: var(--frame);
  box-shadow: 0 18px 40px rgba(16, 26, 22, 0.18);
}

.tablet img {
  border-radius: 6px;
}

.gallery .is-ticket {
  width: min(100%, 300px);
}

.ticket-paper {
  box-shadow: 0 14px 32px rgba(16, 26, 22, 0.14);
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(16, 26, 22, 0.12);
}

.case-cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
}

.case-cols h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.case-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-block > p {
  font-size: 1.125rem;
}

.points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.points li {
  position: relative;
  padding-left: 24px;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 11px;
  height: 2px;
  background: var(--green);
}

.points b {
  font-weight: 600;
}

.today {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(20px, 4vw, 48px);
}

.today > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}

.today dd {
  order: -1;
  font: 800 clamp(1.75rem, 3.6vw, 2.5rem) / 1.05 var(--f-display);
  font-stretch: 108%;
  font-variant-numeric: tabular-nums;
}

.today dt {
  color: var(--ink-2);
}

.tech {
  max-width: 48rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.tech summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
}

.tech-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 20px;
  color: var(--ink-2);
  font-size: 0.9688rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background: var(--tint);
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
}

/* Demostración del punto de venta, con la identidad de nube (manual de marca: crema, azul y Quicksand). */

.pos {
  --nube-crema: #f9f2e9;
  --nube-leche: #fffaf3;
  --nube-tinta: #2f4a5c;
  --nube-tinta-2: #4a6779;
  --nube-accion: #477190;
  --nube-bruma: #dce7f0;
  --nube-linea: #e6dacb;
  --nube-miel: #7a520e;
  --nube-miel-soft: #f3e2c4;
  overflow: hidden;
  max-width: 640px;
  border: 1px solid var(--nube-linea);
  border-radius: 18px;
  background: var(--nube-crema);
  box-shadow: 0 18px 40px rgba(47, 74, 92, 0.14);
  color: var(--nube-tinta);
  font-family: "Quicksand", var(--f-body);
  font-weight: 600;
}

.pos-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--nube-linea);
  background: var(--nube-leche);
}

.pos-logo {
  width: 72px;
  height: auto;
}

.pos-title {
  padding-left: 14px;
  border-left: 1px solid var(--nube-linea);
  font-size: 1.0625rem;
  font-weight: 700;
}

.pos-net {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--nube-miel-soft);
  color: var(--nube-miel);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pos-net::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.pos-net[data-online="true"] {
  background: var(--nube-bruma);
  color: var(--nube-accion);
}

.pos-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 700 0.875rem/1 "Quicksand", var(--f-body);
  cursor: pointer;
}

.pos-btn-line {
  border-color: var(--nube-linea);
  background: var(--nube-leche);
  color: var(--nube-tinta);
}

.pos-btn-line:hover {
  border-color: var(--nube-tinta-2);
}

.pos-btn-pay {
  width: 100%;
  min-height: 48px;
  background: var(--nube-accion);
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pos-btn-pay:hover {
  background: #3c617b;
}

.pos-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.pos-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--nube-linea);
  background: var(--nube-leche);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.pos-msg {
  flex-basis: 100%;
  color: var(--nube-tinta-2);
  font-weight: 500;
}

.pos-body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.pos-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.flavor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 76px;
  padding: 10px 12px;
  border: 1px solid var(--nube-linea);
  border-radius: 14px;
  background: var(--nube-leche);
  color: var(--nube-tinta);
  font: 700 0.8125rem/1.25 "Quicksand", var(--f-body);
  text-align: left;
  cursor: pointer;
}

.flavor:hover {
  border-color: var(--nube-accion);
}

.flavor em {
  font-style: normal;
  color: var(--nube-accion);
}

.pos-cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  border-left: 1px solid var(--nube-linea);
  background: var(--nube-leche);
}

.pos-cart-title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 80px;
  font-size: 0.875rem;
}

.cart-lines li,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.cart-empty {
  color: var(--nube-tinta-2);
}

.cart-total {
  padding-top: 8px;
  border-top: 1px dashed var(--nube-linea);
  font-size: 1.0625rem;
  font-weight: 700;
}

.demo-note {
  color: var(--ink-2);
  font-size: 0.875rem;
}

/* Tabla técnica */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9688rem;
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.875rem;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 44rem;
}

.prose p {
  font-size: 1.0625rem;
}

/* ---------- Pantallas angostas ---------- */

@media (max-width: 980px) {
  .hero,
  .about,
  .case-cols,
  .work,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-inner {
    align-items: start;
  }

  .hero-shots {
    max-width: 440px;
  }

  .signal {
    left: 8px;
  }

  .meta,
  .path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .need-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .need-wide .need-shot {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 700px) {
  .top-links a:not(.btn) {
    display: none;
  }

  .needs,
  .more,
  .today {
    grid-template-columns: minmax(0, 1fr);
  }

  .others {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .others .need-go {
    justify-self: start;
  }

  .pos-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .pos-cart {
    border-left: 0;
    border-top: 1px solid var(--nube-linea);
  }

  .cart-lines {
    min-height: 0;
  }

  .wa-float {
    display: grid;
  }

  /* En el teléfono el botón del encabezado queda solo con el ícono; el flotante lo acompaña al bajar. */
  .top .btn-wa {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .top .wa-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .contact {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .need,
  .others {
    transition: none;
  }
}
