/* ===== TOKENS (sacados del Figma) ===== */
:root {
  /* Colores */
  --verde: #2a5f2e;          /* acento: "crecer", links, menú activo */
  --verde-oscuro: #173b1b;   /* footer */
  --verde-claro: #eef4ec;    /* fondo de tarjetas e íconos check */
  --texto: #111111;          /* títulos */
  --texto-suave: #5f665f;    /* párrafos */
  --texto-lista: rgba(17, 17, 17, 0.85);
  --borde: rgba(0, 0, 0, 0.11);
  --borde-suave: rgba(0, 0, 0, 0.05);
  --negro: #000000;          /* botón principal */
  --blanco: #ffffff;
  --brillo-naranja: #fdf2e6; /* mancha difuminada del hero */
  --hero-inicio: #f3f6f0;    /* degradado del hero */

  /* Tipografía */
  --fuente: 'Lato', system-ui, sans-serif;

  /* Radios */
  --radio-boton: 12px;
  --radio-tarjeta: 20px;
  --radio-menu: 8px;

  /* Layout */
  --ancho-max: 1280px;
  --margen-lateral: 32px;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--fuente);
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.contenedor {
  width: 100%;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 var(--margen-lateral);
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border-radius: var(--radio-boton);
  font-family: var(--fuente);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }

.btn--negro { background: var(--negro); color: var(--blanco); border: 1px solid var(--negro); }
.btn--borde { background: var(--blanco); color: var(--negro); border: 1px solid var(--negro); }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blanco);
}
.nav__contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__izq { display: flex; align-items: center; gap: 50px; }
.nav__logo img { height: 29px; width: auto; }
.nav__menu { display: flex; align-items: center; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--radio-menu);
  font-weight: 700;
  font-size: 15px;
  line-height: 22.5px;
  color: var(--texto);
  transition: background .15s ease;
}
.nav__link:hover { background: var(--verde-claro); }
.nav__link--activo { color: var(--verde); }
.nav__der { display: flex; align-items: center; gap: 8px; }
.nav__der .btn { height: 39px; }
.nav__contactanos { color: var(--negro); }
.nav__cloudhub {
  padding: 0 15px;
  border: 0;
  background: linear-gradient(90deg, #2a5f2e 0%, #0a3b0e 100%);
  color: var(--blanco);
}
.nav__cloudhub img { width: 21px; height: 23px; flex-shrink: 0; }

.nav__hamburguesa {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__hamburguesa span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--texto);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 96px;
  background: linear-gradient(180deg, var(--hero-inicio) 0%, var(--blanco) 50%);
}
.hero__brillo {
  position: absolute;
  left: -227px;
  top: 240px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--brillo-naranja);
  filter: blur(64px);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 540fr 620fr;
  gap: 48px;
  align-items: center;
  min-height: 571px;
}
.hero__titulo {
  font-weight: 900;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero__titulo span { color: var(--verde); }
.hero__desc {
  margin-top: 24px;
  max-width: 576px;
  font-size: 20px;
  line-height: 1.625;
  color: var(--texto-suave);
}
.hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__nota {
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--texto-suave);
}
.hero__imagen { justify-self: center; max-width: 680px; }
.hero__imagen img { width: 100%; height: auto; mix-blend-mode: multiply; }
@media (min-width: 1025px) {
  .hero__imagen img { width: 120%; max-width: none; }
}

/* ===== RESPONSIVE: tablet ===== */
@media (max-width: 1024px) {
  .nav__menu, .nav__contactanos { display: none; }
  .nav__hamburguesa { display: flex; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero__titulo { font-size: clamp(40px, 8vw, 64px); }
}

/* ===== RESPONSIVE: celular ===== */
@media (max-width: 600px) {
  :root { --margen-lateral: 16px; }
  .nav__cloudhub { padding: 0 12px; font-size: 15px; }
  .hero { padding: 32px 0 56px; }
  .hero__desc { font-size: 17px; }
  .hero__botones .btn { width: 100%; }
}

/* ===== MÉTRICAS ===== */
.metricas {
  background: var(--blanco);
  border-top: 1px solid var(--borde-suave);
  border-bottom: 1px solid var(--borde-suave);
}
.metricas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.metrica { padding: 40px 24px; }
.metrica__numero {
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--verde);
}
.metrica__titulo {
  margin-top: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
}
.metrica__desc {
  margin-top: 4px;
  max-width: 196px;
  font-size: 15px;
  line-height: 1.375;
  color: var(--texto-suave);
}

/* Líneas divisorias solo en desktop */
@media (min-width: 1025px) {
  .metrica + .metrica { border-left: 1px solid var(--borde-suave); }
}

/* Tablet y celular: 2 columnas, la última a lo ancho */
@media (max-width: 1024px) {
  .metricas__grid { grid-template-columns: repeat(2, 1fr); }
  .metrica { padding: 28px 16px; border-top: 1px solid var(--borde-suave); }
  .metrica:nth-child(-n+2) { border-top: 0; }
  .metrica:nth-child(even) { border-left: 1px solid var(--borde-suave); }
  .metrica:last-child { grid-column: 1 / -1; }
  .metrica__desc { max-width: none; }
  .metrica__numero { font-size: 36px; }
}

/* ===== TÍTULO DE SECCIÓN (reutilizable) ===== */
.seccion-titulo h2 {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.seccion-titulo p {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.625;
  color: var(--texto-suave);
}

/* ===== LISTA CON CHECKS (reutilizable) ===== */
.checks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checks li {
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.375;
  color: var(--texto-lista);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--verde-claro) url("../assets/iconos/ui/check.svg") center / 12px no-repeat;
}

/* ===== LINK CON FLECHA (reutilizable) ===== */
.link-flecha {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--verde);
}
.link-flecha::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../assets/iconos/ui/flecha-link.svg") center / contain no-repeat;
  transition: transform .15s ease;
}
.link-flecha:hover::after { transform: translateX(3px); }

/* ===== PRODUCTOS ===== */
.productos { padding: 80px 0; }
.productos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.producto {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radio-tarjeta);
  transition: transform .2s ease, box-shadow .2s ease;
}
.producto:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
/* Recuadro de imagen de cada tarjeta: fondo y ajuste exactos del Figma */
.producto__img {
  display: block;
  aspect-ratio: 287 / 220;
  overflow: hidden;
}
.producto__img img { width: 100%; height: auto; }

.producto__img--c20     { background: #eef4ec; }
.producto__img--classic { background: #f1f3ef; }
.producto__img--classic img { mix-blend-mode: multiply; }
.producto__img--kds     { background: #e9ece7; }
.producto__img--retail  { background: #fdf2e6; }
.producto__img--billboard { background: #efe9e1; padding: 24px 24px 0; }
.producto__img--self      { background: #eef4ec; padding: 24px 24px 0; }
.producto__img--cloud {
  display: grid;
  place-items: center;
  background: #f1f3ef;
}
.producto__img--cloud img { width: 91%; }
.producto__cuerpo {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}
.producto__cuerpo h3 {
  margin-top: 4px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.producto__desc {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.625;
  color: var(--texto-suave);
}
.producto .checks { margin: 16px 0 24px; }
.producto .link-flecha { margin-top: auto; }

.producto-asesor {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 28px;
  background: rgba(248, 246, 243, 0.51);
  border: 1px solid var(--borde);
  border-radius: var(--radio-tarjeta);
}
.producto-asesor__titulo {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.25;
}
.producto-asesor__texto {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.625;
  color: rgba(17, 17, 17, 0.8);
}
.producto-asesor .btn { width: 100%; }

@media (max-width: 1024px) {
  .productos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .productos { padding: 56px 0; }
  .productos__grid { grid-template-columns: 1fr; margin-top: 36px; }
  .seccion-titulo p { font-size: 17px; }
}
/* ===== DIFERENCIA: Velocidad local / Control en la nube ===== */
.diferencia {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.diferencia__texto,
.diferencia__flujo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 128px 70px;
}
.diferencia__texto { background: var(--verde-claro); }
.diferencia__flujo { background: var(--verde-oscuro); }
.diferencia { scroll-margin-top: -104px; }

.diferencia__titulo {
  font-weight: 900;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.diferencia__titulo span { color: var(--verde); }
.diferencia__desc {
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.625;
  color: var(--texto-suave);
}

.flujo {
  list-style: none;
  width: 100%;
  max-width: 448px;
}
.flujo__paso {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
}
/* Flecha verde entre paso y paso */
.flujo__paso + .flujo__paso { margin-top: 36px; }
.flujo__paso + .flujo__paso::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translateX(-50%);
  background: url("../assets/iconos/ui/flecha-paso.svg") center / contain no-repeat;
}
.flujo__icono {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}
.flujo__paso strong {
  display: block;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
}
.flujo__paso small {
  display: block;
  font-size: 15px;
  line-height: 22.5px;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1024px) {
  .diferencia { grid-template-columns: 1fr; }
  .diferencia__texto,
  .diferencia__flujo { padding: 72px var(--margen-lateral); }
  .diferencia { scroll-margin-top: -48px; }
}
@media (max-width: 600px) {
  .diferencia__desc { font-size: 17px; }
  .flujo__paso strong { font-size: 16px; line-height: 24px; }
  .flujo__paso small { font-size: 14px; }
}
.flujo__paso small.flujo__claro { color: rgba(255, 255, 255, 0.75); }
.diferencia__texto-inner { max-width: 560px; }
.diferencia__desc { max-width: 512px; }
/* ===== RUBRO (Restaurantes / Retail) ===== */
.rubro { padding: 128px 0 100px; }
.rubro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Collage: proporciones exactas del Figma (580 × 480) */
.collage {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 580 / 480;
}
.collage__foto {
  position: absolute;
  top: 0;
  overflow: hidden;
  border-radius: 20px;
}
.collage__foto img { width: 100%; height: 100%; object-fit: cover; }
.collage__foto--a { left: 0; width: 58.9%; height: 91.7%; }
.collage__foto--b { left: 61.7%; width: 38.3%; height: 86.9%; }

.collage__tablet {
  position: absolute;
  left: 4.14%;
  top: 28.4%;
  width: 84.5%;
  padding: 15.4px;
  border-radius: 33.9px;
  background: #2b2f2b;
  filter: drop-shadow(0 21.6px 53.9px rgba(72, 72, 72, 0.37));
}
.collage__pantalla {
  display: block;
  overflow: hidden;
  border-radius: 21.6px;
  background: #f5f6f2;
}
.collage__pantalla img { width: 100%; height: auto; }

/* Píldoras de tipo de negocio */
.pildoras {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.pildoras li {
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 22.5px;
}

/* Funciones con ícono */
.funciones {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-top: 32px;
}
.funciones li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
.funciones__icono {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--verde-claro);
}

@media (max-width: 1024px) {
  .rubro { padding: 80px 0; }
  .rubro__grid { grid-template-columns: 1fr; gap: 48px; }
  .collage { margin: 0 auto; }
}
@media (max-width: 600px) {
  .rubro { padding: 56px 0; }
  .collage__tablet { padding: 8px; border-radius: 18px; }
  .collage__pantalla { border-radius: 12px; }
  .funciones { grid-template-columns: repeat(2, 1fr); }
}
/* ===== RETAIL ===== */
.rubro--retail { padding: 50px 0 76px; }
.funciones--sm li { font-size: 15px; line-height: 22.5px; }
.rubro__cta { margin-top: 20px; }

.retail-visual { position: relative; }
.retail-visual__foto {
  display: block;
  height: 460px;
  overflow: hidden;
  border-radius: 20px;
}
.retail-visual__foto img { width: 100%; height: 100%; object-fit: cover; }

/* Pantalla del POS (construida igual que en el Figma) */
.pos {
  position: absolute;
  left: -40px;
  top: 173px;
  width: 452px;
  height: 294px;
  display: grid;
  grid-template-columns: 270fr 180fr;
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 80px -30px rgba(72, 72, 72, 0.33);
  font-size: 11px;
  line-height: 16.5px;
  color: var(--texto);
}
.pos__izq { display: flex; flex-direction: column; padding: 12px; min-width: 0; }
.pos__buscar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: var(--texto-suave);
}
.pos__tabla {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px 28px;
  column-gap: 12px;
  row-gap: 6px;
}
.pos__th { font-weight: 700; color: var(--texto-suave); }
.pos__td {
  padding-top: 6px;
  border-top: 1px solid var(--borde-suave);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos__c { text-align: center; }
.pos__r { text-align: right; }
.pos__b { font-weight: 700; }
.pos__alerta {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 29px;
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--brillo-naranja);
  color: #c86f12;
  font-weight: 700;
}
.pos__der {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #f7f8f5;
}
.pos__label { color: var(--texto-suave); }
.pos__total { font-weight: 900; font-size: 22px; line-height: 27.5px; }
.pos__promo { padding-top: 4px; color: var(--verde); }
.pos__teclado {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: auto;
}
.pos__teclado span {
  padding: 4px 0;
  border-radius: 4px;
  background: var(--blanco);
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  text-align: center;
}
.pos__cobrar {
  display: block;
  height: 29px;
  margin-top: 6px;
  padding: 6px 0;
  border-radius: 6px;
  background: var(--verde);
  color: var(--blanco);
  font-weight: 700;
  text-align: center;
}

/* En tablet y celular el POS se monta sobre la parte baja de la foto */
@media (max-width: 1024px) {
  .rubro--retail { padding: 40px 0 80px; }
  .retail-visual { max-width: 580px; width: 100%; margin: 0 auto; }
  .pos {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    margin: -120px 16px 0;
  }
}
@media (max-width: 600px) {
  .retail-visual__foto { height: 300px; }
  .pos { margin: -80px 0 0; grid-template-columns: 1.4fr 1fr; }
}
/* ===== ¿POR QUÉ ASOCIARSE? ===== */
.socios { padding: 36px 0 70px; }
.socios__titulo {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 50px;
  color: #000;
  text-align: center;
}
.socios__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 29px;
  max-width: 1052px;
  margin: 71px auto 0;
}
.socio {
  min-height: 349px;
  padding: 38px 25px 36px;
  background: rgba(248, 246, 243, 0.51);
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: var(--radio-tarjeta);
}
.socio__icono {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 51px;
}
.socio h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #252525;
}
.socio p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 26px;
  color: #666;
}

@media (max-width: 1024px) {
  .socios__grid { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .socio { min-height: 0; }
  .socios__titulo { line-height: 1.15; }
}
@media (max-width: 600px) {
  .socios { padding: 32px 0 56px; }
  .socios__grid { grid-template-columns: 1fr; gap: 16px; }
  .socio__icono { margin-bottom: 28px; }
}
/* ===== BOTONES EXTRA ===== */
.btn--blanco { background: var(--blanco); color: #111; border: 1px solid var(--blanco); }
.btn--vidrio {
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== DISTRIBUIDORES ===== */
.dist { padding: 0 var(--margen-lateral); }
.dist__tarjeta {
  position: relative;
  max-width: 1314px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #111;
}
.dist__fondo,
.dist__degradado {
  position: absolute;
  inset: 0;
}
.dist__fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.dist__degradado {
  background: linear-gradient(90deg, #111 0%, rgba(17, 17, 17, 0.85) 50%, rgba(17, 17, 17, 0) 100%);
}
.dist__contenido {
  position: relative;
  max-width: calc(672px + 92px);
  padding: 112px 0 112px 92px;
}
.dist__titulo {
  padding-top: 16px;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--blanco);
}
.dist__desc {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.75);
}
.dist__botones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .dist__contenido { padding: 72px 48px; }
}
@media (max-width: 600px) {
  .dist__tarjeta { border-radius: 20px; }
  .dist__contenido { padding: 48px 24px; }
  .dist__desc { font-size: 17px; }
  .dist__botones .btn { width: 100%; }
  .dist__degradado { background: rgba(17, 17, 17, 0.8); }
}
/* Al saltar desde el menú, la sección no deja doble espacio bajo la barra fija */
.productos { scroll-margin-top: -68px; }
/* ===== HISTORIAS / CLIENTES ===== */
.historias { padding: 50px 0; }
.historias__titulo { text-align: center; }

/* Cinta de nombres en movimiento */
.cinta {
  margin-top: 48px;
  padding: 32px 0;
  overflow: hidden;
  border-top: 1px solid var(--borde-suave);
  border-bottom: 1px solid var(--borde-suave);
}
.cinta__pista {
  display: flex;
  width: max-content;
  animation: cinta 70s linear infinite;
}
.cinta:hover .cinta__pista { animation-play-state: paused; }
.cinta__grupo {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  list-style: none;
}
.cinta__grupo li {
  font-size: 22px;
  line-height: 33px;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.45);
}
.cinta .n1 { font-weight: 900; letter-spacing: -0.025em; }
.cinta .n2 { font-weight: 700; font-style: italic; }
.cinta .n3 { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

@keyframes cinta {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cinta__pista { animation: none; }
}

/* Tarjetas de testimonio */
.testimonios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonio {
  display: flex;
  flex-direction: column;
  min-height: 257px;
  padding: 28px;
  background: #f7f8f5;
  border: 1px solid var(--borde);
  border-radius: var(--radio-tarjeta);
}
.testimonio--pendiente { border: 1px dashed rgba(42, 95, 46, 0.3); }
.testimonio__cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonio__etiqueta {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brillo-naranja);
  color: #c86f12;
  font-weight: 700;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.testimonio__cita {
  flex: 1;
  padding-top: 20px;
  font-size: 19px;
  line-height: 1.625;
  color: rgba(17, 17, 17, 0.6);
}
.testimonio__cita span { color: var(--texto-suave); }
.testimonio__autor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--borde-suave);
}
.testimonio__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  font-weight: 900;
  font-size: 14px;
}
.testimonio__autor strong { display: block; font-size: 16px; line-height: 24px; }
.testimonio__autor small { display: block; font-size: 14px; line-height: 20px; color: var(--texto-suave); }

@media (max-width: 900px) {
  .testimonios { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .historias { padding: 40px 0; }
  .cinta { margin-top: 32px; padding: 24px 0; }
  .cinta__grupo li { font-size: 18px; }
}
/* ===== PREGUNTAS FRECUENTES ===== */
.faq { padding: 80px 0; }
.faq__grid {
  display: grid;
  grid-template-columns: 449fr 719fr;
  gap: 48px;
  align-items: start;
}
.faq__titulo {
  position: sticky;
  top: 112px; /* queda fijo junto a las preguntas mientras bajas */
}

.faq__lista { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.faq__item { border-bottom: 1px solid rgba(0, 0, 0, 0.1); overflow: hidden; }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: var(--texto);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible {
  outline: 2px solid var(--verde);
  outline-offset: -2px;
  border-radius: 4px;
}

.faq__icono {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f3ef url("../assets/iconos/ui/mas-verde.svg") center / 16px no-repeat;
  transition: transform .2s ease, background-color .2s ease;
}
.faq__item[open] .faq__icono {
  background-color: var(--verde);
  background-image: url("../assets/iconos/ui/mas-blanco.svg");
  transform: rotate(45deg);
}

.faq__item p {
  max-width: 672px;
  padding-bottom: 24px;
  font-size: 17px;
  line-height: 1.625;
  color: var(--texto-suave);
}

@media (max-width: 1024px) {
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .faq__titulo { position: static; }
}
@media (max-width: 600px) {
  .faq { padding: 56px 0; }
  .faq__item summary { font-size: 17px; line-height: 1.4; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__icono { transition: none; }
}
/* Al cerrar, el ícono vuelve a "+" al mismo tiempo que sube la cortina */
.faq__item.cerrando .faq__icono {
  background-color: #f1f3ef;
  background-image: url("../assets/iconos/ui/mas-verde.svg");
  transform: none;
}
/* ===== SOLICITAR DEMO ===== */
.demo { padding: 128px 0; background: var(--verde-claro); }
.demo { scroll-margin-top: -104px; }
.demo__grid {
  display: grid;
  grid-template-columns: 607fr 552fr;
  gap: 56px;
  align-items: center;
}
.demo__titulo {
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #000;
}
.demo__desc {
  max-width: 576px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.8);
}
.demo__nota {
  margin-top: 32px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--verde);
}

/* Formulario */
.form {
  padding: 32px;
  background: var(--blanco);
  border-radius: 24px;
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.2);
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__campo--ancho,
.form__boton { grid-column: 1 / -1; }

.form__campo label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 22.5px;
}
.form__campo input,
.form__campo select {
  width: 100%;
  height: 52px;
  margin-top: 6px;
  padding: 0 16px;
  font-family: var(--fuente);
  font-size: 16px;
  color: var(--texto);
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form__campo select {
  appearance: none;
  padding-right: 44px;
  background: var(--blanco) url("../assets/iconos/ui/chevron-menu.svg") right 16px center / 16px no-repeat;
  cursor: pointer;
}
.form__campo input:focus,
.form__campo select:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(42, 95, 46, 0.15);
}
/* Rojo solo después de que el usuario tocó el campo */
.form__campo input:user-invalid,
.form__campo select:user-invalid { border-color: #c0392b; }

.form__boton { height: 52px; width: 100%; }
.form__boton--borde {
  background: var(--blanco);
  color: #000;
  border: 2px solid #000;
}
.form__boton:disabled { opacity: .6; cursor: wait; transform: none; }

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

.form__estado:empty { display: none; }
.form__estado {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.form__estado--ok { background: var(--verde-claro); color: var(--verde); }
.form__estado--error { background: #fdecea; color: #a12a1e; }

.form__privacidad {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-suave);
}
.form__privacidad a { text-decoration: underline; }

@media (max-width: 1024px) {
  .demo { padding: 80px 0; scroll-margin-top: -56px; }
  .demo__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .demo { padding: 56px 0; scroll-margin-top: -32px; }
  .form { padding: 24px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .demo__desc { font-size: 17px; }
}
/* ===== FOOTER ===== */
.footer {
  padding: 80px 0;
  background: var(--verde-oscuro);
  color: rgba(255, 255, 255, 0.7);
}
.footer__grid {
  display: grid;
  grid-template-columns: 192fr 148fr 148fr 148fr 148fr 192fr;
  gap: 48px;
}
.footer__marca img { width: 161px; height: auto; }
.footer__marca p {
  max-width: 320px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.6);
}
.footer__titulo {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--blanco);
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.footer__col li,
.footer__col a {
  font-size: 15px;
  line-height: 22.5px;
  color: rgba(255, 255, 255, 0.7);
}
.footer__col a { transition: color .15s ease; }
.footer__col a:hover { color: var(--blanco); }

.footer__empresa {
  margin-top: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--blanco);
}
.footer__contacto ul { gap: 8px; margin-top: 4px; }
.footer__contacto li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__contacto li a { color: rgba(255, 255, 255, 0.5); overflow-wrap: anywhere; }

.footer__redes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.footer__redes a { display: block; transition: opacity .15s ease, transform .15s ease; }
.footer__redes a:hover { opacity: .8; transform: translateY(-2px); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__base p,
.footer__legales a {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__legales { display: flex; gap: 24px; }
.footer__legales a:hover { color: var(--blanco); }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__marca { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer { padding: 56px 0 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__contacto { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; margin-top: 40px; }
}
/* =========================================================
   PÁGINAS DE PRODUCTO — Hero
   ========================================================= */
.phero {
  padding: 48px 0 100px;
  background: linear-gradient(180deg, var(--verde-claro) 0%, var(--blanco) 100%);
  overflow: hidden;
}
.phero__grid {
  display: grid;
  grid-template-columns: 552fr 608fr;
  align-items: center;
  min-height: 528px;
}
.phero__titulo {
  max-width: 553px;
  font-weight: 900;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--texto);
}
.phero__desc {
  max-width: 553px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.625;
  color: var(--texto-suave);
}
.phero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.phero__contacto { border-width: 2px; font-size: 15px; }
.phero__imagen img { width: 726px; max-width: none; height: auto; }

@media (max-width: 1024px) {
  .phero { padding: 64px 0; }
  .phero__grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .phero__titulo { font-size: clamp(40px, 7vw, 56px); }
  .phero__imagen img { width: 100%; max-width: 726px; }
}
@media (max-width: 600px) {
  .phero { padding: 40px 0 56px; }
  .phero__desc { font-size: 17px; }
  .phero__botones .btn { width: 100%; }
}
/* ===== CAMALEON 2.0 — Tarjetas de funciones ===== */
.funciones-c20 { padding: 0 0 64px; }
.funciones-c20__titulo {
  max-width: 709px;
  margin-bottom: 52px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  color: var(--negro);
}
.funciones-c20__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px 26px;
}
.fc20 {
  display: flex;
  flex-direction: column;
  min-height: 269px;
  padding: 27px 19px 24px;
  background: rgba(248, 246, 243, 0.51);
  border: 1px solid var(--borde);
  border-radius: var(--radio-tarjeta);
  font-family: 'Comfortaa', var(--fuente);
}
.fc20__icono { height: 37px; width: auto; object-fit: contain; object-position: left center; }
.fc20 h3 {
  margin-top: 34px;
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  color: #252525;
}
.fc20 p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  color: #666;
}

@media (max-width: 1024px) {
  .funciones-c20__titulo { font-size: clamp(34px, 5vw, 44px); margin-bottom: 36px; }
  .funciones-c20__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .funciones-c20__grid { grid-template-columns: 1fr; }
  .fc20 { min-height: 0; }
}
/* ===== CAMALEON 2.0 — Del mostrador a la mesa ===== */
.equipos-c20 {
  display: grid;
  grid-template-columns: minmax(0, 52.36%) minmax(0, 1fr);
  align-items: center;
  padding: 10px 0;
  overflow: hidden;
}
.equipos-c20__imagen { justify-self: end; width: 100%; max-width: 754px; }
.equipos-c20__imagen img { display: block; width: 100%; height: auto; }
.equipos-c20__texto { max-width: 718px; padding: 0 74px 0 32px; }
.equipos-c20__eyebrow {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--verde);
}
.equipos-c20__titulo {
  margin-top: 16px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--negro);
}
.equipos-c20__desc {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.625;
  color: rgba(0, 0, 0, 0.75);
}
.equipos-c20 .checks { margin-top: 32px; }

/* Lista con checks en 2 columnas (variante) */
.checks--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks--grid li::before { background-color: rgba(48, 195, 153, 0.2); }

@media (max-width: 1024px) {
  .equipos-c20 { grid-template-columns: 1fr; gap: 32px; padding: 48px var(--margen-lateral); }
  .equipos-c20__imagen { justify-self: center; }
  .equipos-c20__texto { padding: 0; max-width: none; }
  .equipos-c20__titulo { font-size: clamp(34px, 5vw, 44px); }
}
@media (max-width: 600px) {
  .equipos-c20__desc { font-size: 17px; }
}
/* ===== CAMALEON 2.0 — Proceso en 3 pasos ===== */
.pasos-c20 { padding: 32px 0 80px; }
.pasos-c20__titulo {
  max-width: 763px;
  margin: 0 auto 51px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  text-align: center;
  color: var(--negro);
}
.pasos-c20__lista {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 152px;
  max-width: 1081px;
  margin: 0 auto;
}
.paso-c20 { font-family: 'Comfortaa', var(--fuente); }
.paso-c20__foto {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 259 / 222;
  object-fit: cover;
  border-radius: 16px;
}
.paso-c20__cabecera { position: relative; margin-top: 31px; }
.paso-c20 h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 32px;
  color: #252525;
}
.paso-c20__flecha {
  position: absolute;
  top: 2px;
  right: -105px;
  width: 58px;
  height: 29px;
  animation: flecha-c20 1.6s ease-in-out infinite;
}
@keyframes flecha-c20 {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.paso-c20 p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 24px;
  color: #666;
}

@media (prefers-reduced-motion: reduce) {
  .paso-c20__flecha { animation: none; }
}
@media (max-width: 1024px) {
  .pasos-c20__titulo { font-size: clamp(34px, 5vw, 44px); margin-bottom: 36px; }
  .pasos-c20__lista { gap: 0 80px; }
  .paso-c20__flecha { right: -69px; }
}
@media (max-width: 800px) {
  .pasos-c20__lista { grid-template-columns: 1fr; gap: 40px; max-width: 420px; }
  .paso-c20__flecha { display: none; }
}
/* ===== KDS — Hero ===== */
.phero--kds {
  padding: 48px 0 112px;
  background: linear-gradient(180deg, #e9ece7 0%, var(--blanco) 100%);
}
.phero--kds .phero__grid { gap: 56px; min-height: 0; }
.kds-pantalla {
  padding: 8px;
  background: #1b1b1b;
  border-radius: 12px;
  box-shadow: 0 30px 35px rgba(0, 0, 0, 0.6);
}
.phero--kds .kds-pantalla img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 6px;
}
@media (max-width: 1024px) {
  .phero--kds { padding: 64px 0 72px; }
  .phero--kds .phero__grid { min-height: 0; }
  .phero--kds .phero__imagen { width: 100%; max-width: 608px; }
}
@media (max-width: 600px) {
  .phero--kds { padding: 40px 0 56px; }
  .kds-pantalla { padding: 5px; border-radius: 9px; box-shadow: 0 18px 24px rgba(0, 0, 0, 0.5); }
}
/* ===== KDS — Beneficios ===== */
.beneficios-kds { position: relative; margin-top: -30px; padding: 0 0 50px; }
.beneficios-kds__eyebrow {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--verde);
}
.beneficios-kds__titulo {
  max-width: 768px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--texto);
}
.beneficios-kds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}
.beneficio-kds {
  padding: 28px;
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
}
.beneficio-kds__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fdf2e6;
  color: #c86f12;
  font-weight: 900;
  font-size: 15px;
  line-height: 22.5px;
}
.beneficio-kds h3 {
  max-width: 231px;
  margin-top: 20px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--texto);
}
@media (max-width: 1024px) {
  .beneficios-kds { margin-top: 0; padding-bottom: 48px; }
  .beneficios-kds__titulo { font-size: clamp(34px, 5vw, 44px); }
  .beneficios-kds__grid { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
}
@media (max-width: 600px) {
  .beneficios-kds__grid { grid-template-columns: 1fr; gap: 12px; }
  .beneficio-kds { padding: 22px; }
  .beneficio-kds h3 { max-width: none; margin-top: 16px; font-size: 20px; }
}
/* ===== KDS — Cocina organizada ===== */
.organiza-kds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 40.14%);
  align-items: start;
  padding-bottom: 97px;
}
.organiza-kds__texto {
  justify-self: end;
  width: 100%;
  max-width: 767px;
  padding: 107px 26px 0 32px;
}
.organiza-kds__titulo {
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  color: var(--negro);
}
.organiza-kds__lista {
  max-width: 632px;
  margin-top: 50px;
  padding-left: 30px;
  list-style: disc;
  font-size: 20px;
  line-height: 1.625;
  color: var(--texto-suave);
}
.organiza-kds__imagen { position: relative; margin-top: -84px; }
.organiza-kds__imagen img { display: block; width: 100%; max-width: 578px; height: auto; }
@media (max-width: 1279px) {
  .organiza-kds__imagen { margin-top: 0; }
  .organiza-kds__salto { display: none; }
}
@media (max-width: 1024px) {
  .organiza-kds { grid-template-columns: 1fr; gap: 40px; padding: 0 var(--margen-lateral) 64px; }
  .organiza-kds__texto { justify-self: stretch; max-width: none; padding: 0; }
  .organiza-kds__titulo { font-size: clamp(34px, 5vw, 44px); }
  .organiza-kds__imagen { justify-self: center; width: 100%; max-width: 578px; }
}
@media (max-width: 600px) {
  .organiza-kds__lista { margin-top: 28px; padding-left: 22px; font-size: 17px; }
  .organiza-kds { padding-bottom: 48px; }
}
/* ===== RETAIL — Hero ===== */
.phero--retail {
  padding: 48px 0 112px;
  background: linear-gradient(180deg, #fdf2e6 0%, var(--blanco) 100%);
}
.phero--retail .phero__grid { gap: 56px; min-height: 0; }
.retail-visual { position: relative; padding-bottom: 6.58%; }
.retail-visual__tienda img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 20px;
}
.retail-visual__pos {
  position: absolute;
  top: 27.7%;
  left: -6.64%;
  width: 80%;
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  box-shadow: 0 30px 80px -30px rgba(23, 59, 27, 0.45);
}
.retail-visual__pos img { display: block; width: 100%; max-width: none; height: auto; }
@media (max-width: 1024px) {
  .phero--retail { padding: 64px 0 72px; }
  .phero--retail .phero__imagen { width: 100%; max-width: 608px; padding-left: 40px; }
}
@media (max-width: 600px) {
  .phero--retail { padding: 40px 0 56px; }
  .phero--retail .phero__imagen { padding-left: 24px; }
  .retail-visual__pos { left: -24px; width: 86%; border-radius: 12px; }
}
/* ===== RETAIL — Elige tu formato ===== */
.formatos-retail { padding: 20px 0; }
.formatos-retail__titulo {
  padding-top: 16px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--texto);
}
.formatos-retail__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.formato-retail { position: relative; }
.formato-retail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 231 / 225;
  object-fit: cover;
  border-radius: 12px;
}
.formato-retail__nombre {
  position: absolute;
  right: 8px;
  bottom: 19px;
  left: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
  text-align: center;
  color: var(--blanco);
}
.formato-detalle {
  display: grid;
  grid-template-columns: 509fr 611fr;
  gap: 32px;
  align-items: center;
  margin-top: 20px;
  padding: 32px;
  border-radius: 20px;
  background: #f7f8f5;
}
.formato-detalle h3 {
  font-weight: 700;
  font-size: 30px;
  line-height: 1.5;
  color: var(--texto);
}
.formato-detalle p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.625;
  color: var(--texto-suave);
}
.skus {
  overflow: hidden;
  background: var(--blanco);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}
.skus__cabecera,
.skus__fila {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.skus__fila:last-child { border-bottom: 0; }
.skus__cabecera {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  line-height: 20px;
}
.skus__cabecera strong { font-weight: 700; color: var(--texto); }
.skus__cabecera span { display: flex; align-items: center; gap: 4px; color: var(--texto-suave); }
.skus__fila {
  display: grid;
  grid-template-columns: 216fr 288fr auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  line-height: 19.5px;
}
.skus__fila code { font-family: Menlo, Consolas, "Courier New", monospace; color: var(--texto-suave); }
.skus__fila b { font-weight: 700; color: var(--texto); }
.skus__stock {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--verde-claro);
  color: var(--verde);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
}
.skus__stock--bajo { background: #fdf2e6; color: #c86f12; }
@media (max-width: 1024px) {
  .formatos-retail { padding: 24px 0 40px; }
  .formatos-retail__titulo { font-size: clamp(34px, 5vw, 44px); }
  .formatos-retail__grid { grid-template-columns: repeat(3, 1fr); }
  .formato-detalle { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .formatos-retail__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .formato-retail__nombre { bottom: 12px; font-size: 15px; }
  .formato-detalle { padding: 20px; }
  .formato-detalle h3 { font-size: 24px; }
  .formato-detalle p { font-size: 16px; }
  .skus__fila { grid-template-columns: auto 1fr auto; padding: 10px 12px; }
  .skus__cabecera { padding: 10px 12px; }
  .skus__fila code { font-size: 12px; }
}
/* ===== RETAIL — Funciones ===== */
.funciones-retail { padding: 10px 0 50px; }
.funciones-retail__titulo {
  max-width: 768px;
  padding-top: 16px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--texto);
}
.funciones-retail__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 48px;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
}
.funciones-retail__grid li { padding: 24px; background: var(--blanco); }
.funciones-retail__grid img { display: block; width: 24px; height: 24px; }
.funciones-retail__grid h3 {
  margin-top: 24px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--texto);
}
@media (max-width: 1024px) {
  .funciones-retail { padding: 24px 0 48px; }
  .funciones-retail__titulo { font-size: clamp(34px, 5vw, 44px); }
  .funciones-retail__grid { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
}
@media (max-width: 600px) {
  .funciones-retail__grid { grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
  .funciones-retail__grid li { padding: 18px; }
  .funciones-retail__grid li:last-child { grid-column: span 2; }
  .funciones-retail__grid h3 { margin-top: 14px; font-size: 16px; }
}
/* ===== RETAIL — Hecho a medida ===== */
.medida-retail { padding: 52px 0 93px; }
.medida-retail__grid {
  display: grid;
  grid-template-columns: 648fr 568fr;
  align-items: center;
}
.medida-retail__texto { padding: 0 0 35px 10px; }
.medida-retail__titulo {
  max-width: 763px;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  color: var(--negro);
}
.medida-retail__desc {
  max-width: 510px;
  margin-top: 48px;
  font-size: 18px;
  line-height: 1.625;
  color: var(--texto-suave);
}
.medida-retail__imagen img { display: block; width: 100%; max-width: 492px; height: auto; }
@media (max-width: 1024px) {
  .medida-retail { padding: 40px 0 64px; }
  .medida-retail__grid { grid-template-columns: 1fr; gap: 40px; }
  .medida-retail__texto { padding: 0; }
  .medida-retail__titulo { font-size: clamp(34px, 5vw, 44px); }
  .medida-retail__desc { margin-top: 24px; }
  .medida-retail__imagen { justify-self: center; width: 100%; max-width: 492px; }
}
@media (max-width: 600px) {
  .medida-retail { padding: 32px 0 48px; }
  .medida-retail__desc { font-size: 16px; }
}
/* ===== Menú: ajuste para 6 enlaces ===== */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav__izq { gap: 24px; }
  .nav__contactanos { display: none; }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  .nav__link { padding: 8px; }
}

/* ===== Asistente flotante ===== */
.asistente {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.asistente__boton {
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--blanco);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.08), 0 6px 18px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform .15s ease;
}
.asistente__boton:hover { transform: scale(1.05); }
.asistente__boton img { width: 45px; height: 29px; }
.asistente__panel {
  position: relative;
  width: 325px;
  margin-top: 36px;
  padding: 35px 15px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--negro) 0 162px, var(--blanco) 162px);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.12);
}
.asistente__panel[hidden] { display: none; }
.asistente__cerrar {
  position: absolute;
  top: -36px;
  right: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--negro);
  cursor: pointer;
}
.asistente__logo { width: 33px; height: 21px; filter: brightness(0) invert(1); }
.asistente__titulo {
  margin-top: 15px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--blanco);
}
.asistente__sub {
  margin-top: 5px;
  font-size: 16px;
  line-height: 20px;
  color: var(--blanco);
}
.asistente__opciones { display: flex; flex-direction: column; gap: 15px; margin-top: 58px; }
.asistente__opcion {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 12px;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 20px;
  background: var(--blanco);
  font-size: 16px;
  line-height: 24px;
  color: var(--negro);
  transition: background .15s ease;
}
.asistente__opcion:hover { background: var(--verde-claro); }
@media (max-width: 600px) {
  .asistente { right: 16px; bottom: 16px; }
  .asistente__panel { width: min(325px, calc(100vw - 32px)); }
}
/* ===== CONTÁCTANOS ===== */
.contacto-hero { padding-top: 29px; }
.contacto-hero__mapa { position: relative; max-width: 1440px; margin: 0 auto; }
.contacto-hero__mapa img { display: block; width: 100%; height: auto; border-radius: 20px; }
.contacto-hero__mapa .contacto-hero__logo {
  position: absolute;
  top: 42.06%;
  left: 50%;
  width: 5.34%;
  height: auto;
  border-radius: 0;
  transform: translateX(-50%);
}
.contacto-hero__texto { position: relative; margin-top: max(-112px, -7.78vw); text-align: center; }
.contacto-hero__titulo {
  font-weight: 900;
  font-size: 55px;
  line-height: 1.286;
  letter-spacing: -0.037em;
  background: linear-gradient(90deg, #016d46 0%, #0e3928 133%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contacto-hero__desc {
  max-width: 447px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 25px;
  color: var(--texto-suave);
}
.demo--contacto { padding: 30px 0 128px; background: var(--blanco); }
.demo--contacto .demo__grid {
  grid-template-columns: 552fr 552fr;
  column-gap: 70px;
  align-items: start;
  padding-left: calc(var(--margen-lateral) + 42px);
}
.oficina {
  padding: 22px 43px;
  background: rgba(248, 246, 243, 0.51);
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 20px;
  box-shadow: 0 10px 18.4px -3px rgba(0, 0, 0, 0.06);
}
.oficina__pais {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #252525;
}
.oficina__pais img { width: 28px; height: 28px; }
.oficina__tipo { margin-top: 6px; font-size: 16px; line-height: 28px; color: #666; }
.oficina__nombre { font-size: 16px; line-height: 28px; color: var(--negro); }
.oficina__dato {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 15px;
  line-height: 22.5px;
  color: rgba(0, 0, 0, 0.5);
}
.oficina__dato a { margin-left: -8px; color: inherit; }
.oficina__dato a:hover { color: var(--verde); }
@media (max-width: 1024px) {
  .demo--contacto { padding: 32px 0 80px; }
  .demo--contacto .demo__grid { grid-template-columns: 1fr; row-gap: 32px; padding-left: var(--margen-lateral); }
  .contacto-hero__titulo { font-size: clamp(34px, 6vw, 55px); }
}
@media (max-width: 600px) {
  .contacto-hero { padding-top: 16px; }
  .contacto-hero__mapa img { border-radius: 12px; }
  .contacto-hero__desc { font-size: 17px; }
  .oficina { padding: 20px 22px; }
  .oficina__dato { flex-wrap: wrap; }
}
/* ===== CLOUD HUB — Hero ===== */
.phero--cloudhub { padding-bottom: 0; }
.phero--cloudhub .phero__grid { grid-template-columns: 552fr 664fr; min-height: 0; align-items: start; }
.phero--cloudhub .phero__texto { padding: 0 0 36px; }
.phero--cloudhub .phero__imagen {
  margin-right: calc(-1 * (max(0px, (100vw - 1280px) / 2) + var(--margen-lateral)));
}
.phero--cloudhub .phero__imagen img { display: block; width: 100%; max-width: none; height: auto; }
@media (max-width: 1024px) {
  .phero--cloudhub .phero__grid { grid-template-columns: 1fr; }
  .phero--cloudhub .phero__texto { padding: 0; }
}
/* ===== CLOUD HUB — Una plataforma, toda tu gestión ===== */
.plataforma-ch { padding: 65px 0 8px; overflow: hidden; }
.plataforma-ch__cabecera { padding: 0 10px; }
.plataforma-ch__titulo {
  font-weight: 700;
  font-size: 52px;
  line-height: 56.2px;
  color: var(--negro);
}
.plataforma-ch__desc {
  margin-top: 10px;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--texto-suave);
}
.plataforma-ch__graficos {
  display: grid;
  grid-template-columns: 753fr 433fr;
  gap: 30px;
  margin-top: 30px;
}
.plataforma-ch__graficos img { display: block; width: 100%; height: auto; }

/* Cinta de módulos en movimiento */
.modulos-ch { display: grid; gap: 12px; margin-top: 29px; }
.modulos-ch__fila { overflow: hidden; }
.modulos-ch__pista {
  display: flex;
  width: max-content;
  animation: cinta 60s linear infinite;
}
.modulos-ch__fila--inversa .modulos-ch__pista { animation-direction: reverse; }
.modulos-ch:hover .modulos-ch__pista { animation-play-state: paused; }
.modulos-ch__grupo {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  list-style: none;
}
.modulo-ch {
  display: flex;
  align-items: center;
  gap: 12.3px;
  padding: 15.4px 21.5px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 18.5px;
  font-weight: 700;
  font-size: 23px;
  line-height: 34.6px;
  color: var(--texto);
  white-space: nowrap;
}
.modulo-ch img { width: 24.6px; height: 24.6px; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .modulos-ch__pista { animation: none; }
}
@media (max-width: 1024px) {
  .plataforma-ch__titulo { font-size: clamp(34px, 5vw, 44px); line-height: 1.1; }
  .plataforma-ch__graficos { grid-template-columns: 1fr; gap: 20px; }
  .plataforma-ch__graficos picture:last-child { max-width: 433px; }
}
@media (max-width: 600px) {
  .plataforma-ch__cabecera { padding: 0; }
  .plataforma-ch__desc { font-size: 18px; line-height: 1.6; }
  .modulo-ch { gap: 10px; padding: 10px 16px; border-radius: 14px; font-size: 17px; line-height: 26px; }
  .modulo-ch img { width: 20px; height: 20px; }
}
/* ===== CLOUD HUB — Asistente con IA ===== */
.ia-ch { position: relative; isolation: isolate; padding-top: 73px; }
.ia-ch::before {
  content: "";
  position: absolute;
  inset: 0 0 calc(min(756px, 100vw - 2 * var(--margen-lateral)) * 0.2657);
  background: linear-gradient(180deg, rgba(39, 159, 112, 0) 1.65%, rgba(40, 140, 101, 0.71) 38.53%, #1a5b41 73.99%, #0e3928 99.53%);
  z-index: -1;
}
.ia-ch__grid {
  display: grid;
  grid-template-columns: 535fr 585fr;
  column-gap: 91px;
  align-items: start;
  padding-left: calc(var(--margen-lateral) + 5px);
}
.ia-ch__macbook img { display: block; width: 100%; height: auto; }
.ia-ch__texto { padding-top: 61px; }
.ia-ch__titulo {
  font-weight: 700;
  font-size: 52px;
  line-height: 56.2px;
  color: var(--negro);
}
.ia-ch__desc {
  margin-top: 29px;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--negro);
}
.ia-ch__prompt { display: block; margin-top: 35px; }
.ia-ch__prompt img { display: block; width: 103.6%; max-width: none; height: auto; }
.ia-ch__fotos {
  position: relative;
  width: min(756px, 100% - 2 * var(--margen-lateral));
  margin: 81px auto 0;
}
.ia-ch__fotos > picture img { display: block; width: 100%; height: auto; }
.ia-ch__nube {
  position: absolute;
  top: 50%;
  width: 3.92%;
  height: auto;
  transform: translate(-50%, -50%);
}
.ia-ch__nube:nth-of-type(1) { left: 16.6%; }
.ia-ch__nube:nth-of-type(2) { left: 50%; }
.ia-ch__nube:nth-of-type(3) { left: 83.4%; }
@media (min-width: 1025px) and (max-width: 1280px) {
  .ia-ch__titulo { font-size: clamp(40px, 4.06vw, 52px); line-height: 1.08; }
}
@media (max-width: 1024px) {
  .ia-ch__grid { grid-template-columns: 1fr; row-gap: 32px; padding-left: var(--margen-lateral); }
  .ia-ch__macbook { width: 100%; max-width: 535px; justify-self: center; }
  .ia-ch__texto { padding-top: 0; }
  .ia-ch__titulo { font-size: clamp(34px, 5vw, 44px); line-height: 1.1; }
  .ia-ch__prompt img { width: 100%; max-width: 606px; }
  .ia-ch__fotos { margin-top: 56px; }
}
@media (max-width: 600px) {
  .ia-ch { padding-top: 48px; }
  .ia-ch__desc { font-size: 18px; line-height: 1.6; }
}
/* Ajuste: el borde blanco de la MacBook y de las fotos va por fuera (10px) */
.ia-ch__macbook img { width: 103.74%; max-width: none; margin: -1.87% 0 -1.87% -1.87%; }
.ia-ch__fotos { display: flow-root; }
.ia-ch__fotos > picture img { width: 102.65%; max-width: none; margin: -1.32% 0 0 -1.32%; }
.ia-ch__nube { top: 48.95%; }
.ia-ch::before { bottom: calc(min(756px, 100vw - 2 * var(--margen-lateral)) * 0.2791); }
/* ===== CLOUD HUB — Convierte los datos en mejores decisiones ===== */
.decisiones-ch { padding: 40px 0 89px; text-align: center; }
.decisiones-ch__titulo {
  font-weight: 700;
  font-size: 40px;
  line-height: 56.2px;
  color: var(--negro);
}
.decisiones-ch__desc {
  margin-top: 9px;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--texto-suave);
}
.decisiones-ch__puntos {
  display: grid;
  grid-template-columns: 216px 188px 243px;
  column-gap: 79px;
  justify-content: center;
  margin-top: 50px;
  list-style: none;
  text-align: left;
}
.punto-ch__icono { display: block; }
.punto-ch__icono--1 { margin-top: 1px; }
.punto-ch__icono--3 { margin-top: 3px; }
.punto-ch p {
  margin-top: 28px;
  font-size: 22px;
  line-height: 32px;
  color: #252525;
}
.punto-ch__icono--1 + p { margin-top: 29px; }
.punto-ch__icono--3 + p { margin-top: 30px; }
.punto-ch strong { font-weight: 700; color: #2ba87a; }

.decisiones-ch__tarjetas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 44.4px;
  max-width: calc(1252px + 2 * var(--margen-lateral));
  margin: 101px auto 0;
  padding: 0 var(--margen-lateral);
  text-align: left;
}
.tarjeta-ch__visual {
  aspect-ratio: 388 / 580;
  border-radius: 39.25px;
  overflow: hidden;
}
.tarjeta-ch__visual--gris { background: #f6f6f6; border: 1px solid rgba(0, 0, 0, 0.11); }
.tarjeta-ch__visual--oscuro { background: rgba(0, 0, 0, 0.09); border: 1px solid rgba(125, 125, 125, 0.11); }
.tarjeta-ch__visual img { display: block; height: auto; margin: 0 auto; }
.tarjeta-ch__foto { width: 100%; }
.tarjeta-ch__categorias { width: 76.19%; margin-top: 21.67% !important; }
.tarjeta-ch__productos { width: 73.53%; margin-top: 12.38% !important; }
.tarjeta-ch__texto {
  width: 85.4%;
  margin-top: 29px;
  font-weight: 700;
  font-size: 20px;
  line-height: 32.5px;
  color: var(--texto-suave);
}
.tarjeta-ch__texto--ancho { width: 89.8%; }
.tarjeta-ch__texto strong { color: var(--negro); }
@media (max-width: 1024px) {
  .decisiones-ch__titulo { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.25; }
  .decisiones-ch__tarjetas { grid-template-columns: 1fr; row-gap: 48px; max-width: calc(420px + 2 * var(--margen-lateral)); margin-top: 72px; }
  .tarjeta-ch__texto, .tarjeta-ch__texto--ancho { width: 100%; }
}
@media (max-width: 800px) {
  .decisiones-ch__puntos { grid-template-columns: minmax(0, 280px); row-gap: 36px; }
}
@media (max-width: 600px) {
  .decisiones-ch { padding-bottom: 64px; }
  .decisiones-ch__desc { font-size: 18px; line-height: 1.6; }
  .punto-ch p { font-size: 20px; line-height: 30px; margin-top: 16px !important; }
}
/* ===== PÁGINAS LEGALES (Privacidad y Términos) ===== */
.legal {
  padding: 64px 0 96px;
  background: linear-gradient(180deg, var(--hero-inicio) 0, var(--blanco) 320px);
}
.legal__contenido { max-width: calc(760px + 2 * var(--margen-lateral)); }
.legal__titulo {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  color: var(--negro);
}
.legal__fecha { margin-top: 12px; font-size: 16px; color: var(--texto-suave); }
.legal h2 {
  margin-top: 40px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--texto);
}
.legal p,
.legal li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--texto-lista);
}
.legal__fecha + p { margin-top: 32px; }
.legal h2 + p, .legal h2 + ul { margin-top: 12px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { font-weight: 700; color: var(--texto); }
.legal a { color: var(--verde); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) {
  .legal { padding: 40px 0 64px; }
  .legal__titulo { font-size: 36px; }
  .legal h2 { margin-top: 32px; font-size: 21px; }
  .legal p, .legal li { font-size: 16px; }
}
/* ===== MENÚ DE CELULAR Y TABLET (provisional hasta el diseño móvil) ===== */
@media (max-width: 1024px) {
  .nav--abierto .nav__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 8px var(--margen-lateral) 20px;
    background: var(--blanco);
    border-top: 1px solid var(--borde-suave);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  }
  .nav--abierto .nav__link {
    padding: 14px 12px;
    font-size: 17px;
    border-bottom: 1px solid var(--borde-suave);
    border-radius: 0;
  }
  .nav--abierto .nav__link:last-child { border-bottom: 0; }
  .nav--abierto .nav__link img { display: none; }
  .nav__hamburguesa span { transition: transform .2s ease, opacity .2s ease; }
  .nav--abierto .nav__hamburguesa span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--abierto .nav__hamburguesa span:nth-child(2) { opacity: 0; }
  .nav--abierto .nav__hamburguesa span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Testimonios ocultos hasta tener los reales (quitar "hidden" en index.html para mostrarlos) */
.testimonios[hidden] { display: none; }
/* Texto "(opcional)" en las etiquetas del formulario */
.form__opcional { font-weight: 400; color: var(--texto-suave); }