/* ======================================================
   PROGRAMA DE LEALTAD: CÓMO FUNCIONA + EJEMPLO REAL
====================================================== */

.how7k {
  padding: 90px 20px 110px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(25, 187, 148, 0.10), transparent 70%),
    var(--color-bg-main);
}

.how7k__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how7k__header {
  text-align: center;
}

.how7k__tag {
  display: inline-block;
  margin-bottom: 15px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-primary);
}

.how7k__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-black);
}

.how7k__title span {
  color: var(--color-primary);
}

.how7k__lead {
  max-width: 680px;
  margin: 0 auto 60px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
}

/* ====== PASOS: flujo de círculos ======
   Cada paso es un círculo dentro de un aro de 220px. Los aros se enciman 16px (su grosor)
   para que el medio aro de arriba de uno siga en el medio aro de abajo del siguiente,
   como una "S". Impares: aro arriba y texto abajo. Pares: aro abajo y texto arriba. */

.how7k__flow {
  --d: 220px;     /* diámetro del aro */
  --w: 16px;      /* grosor del aro */
  display: flex;
  width: fit-content;
  margin: 0 auto;
  padding: 190px 0 175px;
  list-style: none;
}

.how7k__step {
  --c: var(--color-primary);
  position: relative;
  flex: none;
  width: calc(var(--d) - var(--w));
}

.how7k__step:last-child {
  width: var(--d);
}

.how7k__step:nth-child(2) { --c: #13a383; }
.how7k__step:nth-child(3) { --c: #0f7f66; }
.how7k__step:nth-child(4) { --c: #0b3b3f; }

.how7k__node {
  position: relative;
  width: var(--d);
  height: var(--d);
}

/* medio aro: arriba en los impares, abajo en los pares */
.how7k__ring {
  position: absolute;
  inset: 0;
  border: var(--w) solid transparent;
  border-radius: 50%;
  border-top-color: var(--c);
  border-right-color: var(--c);
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.how7k__step:nth-child(even) .how7k__ring {
  border-color: transparent;
  border-bottom-color: var(--c);
  border-left-color: var(--c);
}

/* flecha al final de cada medio aro, donde entra al siguiente */
.how7k__node::after {
  content: "";
  position: absolute;
  top: calc(var(--d) / 2 - 6px);
  left: calc(var(--d) - var(--w) / 2 - 17px);
  border-right: 17px solid transparent;
  border-left: 17px solid transparent;
  border-top: 20px solid var(--c);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.how7k__step:nth-child(even) .how7k__node::after {
  top: calc(var(--d) / 2 - 14px);
  border-top: 0;
  border-bottom: 20px solid var(--c);
}

/* círculo con el número */
.how7k__circle {
  position: absolute;
  inset: 35px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--c);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  cursor: default;
  transform: scale(0.6);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease,
    box-shadow var(--transition-medium);
}

.how7k__num {
  font-family: var(--font-heading);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.how7k__circle i {
  font-size: 22px;
  opacity: 0.85;
}

/* al pasar el mouse el círculo crece */
.how7k__step:hover .how7k__circle {
  transform: scale(1.22);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.25);
}

.how7k__label {
  position: absolute;
  left: calc(var(--d) / 2);
  width: 250px;
  text-align: center;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.how7k__step:nth-child(odd) .how7k__label {
  top: calc(var(--d) + 14px);
}

.how7k__step:nth-child(even) .how7k__label {
  bottom: calc(var(--d) + 14px);
}

/* aparece paso por paso al llegar a la sección */
.how7k__flow.is-visible .how7k__ring,
.how7k__flow.is-visible .how7k__node::after,
.how7k__flow.is-visible .how7k__circle,
.how7k__flow.is-visible .how7k__label {
  opacity: 1;
}

.how7k__flow.is-visible .how7k__circle {
  transform: scale(1);
}

.how7k__flow.is-visible .how7k__step:hover .how7k__circle {
  transform: scale(1.22);
}

.how7k__flow.is-visible .how7k__label {
  transform: translateX(-50%);
}

.how7k__step:nth-child(2) * ,
.how7k__step:nth-child(2) .how7k__node::after { transition-delay: 0.35s; }
.how7k__step:nth-child(3) *,
.how7k__step:nth-child(3) .how7k__node::after { transition-delay: 0.7s; }
.how7k__step:nth-child(4) *,
.how7k__step:nth-child(4) .how7k__node::after { transition-delay: 1.05s; }

/* ya que apareció todo, el crecimiento al pasar el mouse no espera (crm.js pone is-ready) */
.how7k__flow.is-ready *,
.how7k__flow.is-ready .how7k__node::after {
  transition-delay: 0s !important;
}

/* el crecimiento al pasar el mouse no espera */
.how7k__flow.is-visible .how7k__step:hover .how7k__circle {
  transition-delay: 0s;
}

.how7k__step-title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-black);
}

.how7k__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.66);
}
/* ====== EJEMPLO REAL ====== */

/* mismo formato que los encabezados de Redes sociales: fondo claro, título grande con verde */
.how7k__case {
  margin-top: 110px;
  padding: 80px 0 0;
  background: radial-gradient(900px 420px at 50% 0%, rgba(25, 187, 148, 0.10), transparent 70%);
  text-align: center;
}

.how7k__case-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.how7k__case-logo {
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.how7k__case-logo img {
  width: 92%;
  height: auto;
}

.how7k__case-label {
  display: block;
  margin-bottom: 15px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-primary);
}

.how7k__case-title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--color-black);
}

.how7k__case-title span {
  color: var(--color-primary);
}

.how7k__case-text {
  max-width: 680px;
  margin: 0 auto 26px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
}

.how7k__case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-black);
  background: var(--color-primary);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.how7k__case-link:hover {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
}
/* ====== DISPOSITIVOS ======
   Las capturas bajan solas (de arriba a abajo y de regreso) para mostrar toda la página */

.how7k__devices {
  position: relative;
  max-width: 960px;
  margin: 56px auto 0;
  padding: 10px 70px 30px 0;
  text-align: left;
}

@keyframes how7k-scroll {
  0%, 12% { object-position: top center; }
  50%, 62% { object-position: bottom center; }
  100% { object-position: top center; }
}

/* ---- MacBook (medidas en cqw = % del ancho de la laptop, así escala igual en cualquier pantalla) ---- */
.laptop7k {
  position: relative;
  container-type: inline-size;
  transition: transform var(--transition-medium);
}

.laptop7k__lid {
  position: relative;
  padding: 1.5cqw 1.5cqw 2cqw;
  border-radius: 2.4cqw 2.4cqw 1cqw 1cqw;
  background: #0b0b0c;
  box-shadow:
    0 0 0 0.22cqw #46474b,
    0 0 0 0.35cqw #1b1b1d,
    0 2.5cqw 6cqw rgba(0, 0, 0, 0.22);
}

/* muesca de la cámara */
.laptop7k__notch {
  position: absolute;
  top: 1.45cqw;
  left: 50%;
  z-index: 3;
  width: 11cqw;
  height: 1.9cqw;
  border-radius: 0 0 0.9cqw 0.9cqw;
  background: #0b0b0c;
  transform: translateX(-50%);
}

.laptop7k__notch::after {
  content: "";
  position: absolute;
  top: 0.55cqw;
  left: 50%;
  width: 0.7cqw;
  height: 0.7cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2d3a52, #0c0f16 70%);
  transform: translateX(-50%);
}

.laptop7k__display {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  border-radius: 0.8cqw 0.8cqw 0 0;
  background: #fff;
}

/* reflejo del vidrio */
.laptop7k__display::after,
.mobile7k__display::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 32%, transparent 33%);
  pointer-events: none;
}

.laptop7k__menubar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 2.1cqw;
  padding: 0 1.4cqw;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 1cqw;
  color: #1d1d1f;
  background: #e9e9ec;
}

.laptop7k__menubar span {
  display: flex;
  align-items: center;
  gap: 1.1cqw;
}

.laptop7k__browser {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  height: 3.4cqw;
  padding: 0 1.4cqw;
  border-bottom: 1px solid #dcdce0;
  background: linear-gradient(#f6f6f8, #ececef);
}

.laptop7k__lights {
  position: absolute;
  left: 1.4cqw;
  display: flex;
  gap: 0.6cqw;
}

.laptop7k__lights i {
  width: 0.95cqw;
  height: 0.95cqw;
  border-radius: 50%;
  background: #ff5f57;
}

.laptop7k__lights i:nth-child(2) { background: #febc2e; }
.laptop7k__lights i:nth-child(3) { background: #28c840; }

.laptop7k__url {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  padding: 0.45cqw 2.4cqw;
  border-radius: 0.7cqw;
  font-family: var(--font-body);
  font-size: 1.15cqw;
  color: #55565c;
  background: #e2e2e6;
}

.laptop7k__page,
.mobile7k__page {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
}

.laptop7k__page img,
.mobile7k__page img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  animation: how7k-scroll 32s ease-in-out infinite;
}

/* base de aluminio */
.laptop7k__base {
  position: relative;
  height: 1.9cqw;
  margin: 0 -8.5%;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(180deg, #f1f2f4 0%, #d4d5d8 35%, #a9abaf 80%, #8c8e92 100%);
  box-shadow: inset 0 0.15cqw 0 rgba(255, 255, 255, 0.9);
}

/* ranura para abrir la tapa */
.laptop7k__base span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 14%;
  height: 0.75cqw;
  border-radius: 0 0 1cqw 1cqw;
  background: linear-gradient(180deg, #a2a4a8, #c9cacd);
  transform: translateX(-50%);
}

/* sombra en la mesa */
.laptop7k__base::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -2.4cqw;
  height: 2.4cqw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), transparent);
  filter: blur(4px);
}

/* ---- iPhone (medidas en cqw = % del ancho del celular) ---- */
.mobile7k {
  position: absolute;
  right: 0;
  bottom: -1%;
  z-index: 5;
  width: 25%;
  container-type: inline-size;
  transition: transform var(--transition-medium);
}

/* marco de titanio + borde negro */
.mobile7k__display {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 3.6cqw solid #060607;
  border-radius: 15cqw;
  background: #fff;
  box-shadow:
    0 0 0 1.3cqw #3d3e42,
    0 0 0 1.6cqw #77787d,
    0 0 0 1.9cqw #2a2b2e,
    0 6cqw 14cqw rgba(0, 0, 0, 0.32);
}

.mobile7k__status {
  position: relative;
  z-index: 3;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 13cqw;
  padding: 0 7cqw 0 9cqw;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 4.6cqw;
  font-weight: 600;
  color: #111;
  background: #fff;
}

.mobile7k__island {
  position: absolute;
  top: 3cqw;
  left: 50%;
  width: 29cqw;
  height: 8.5cqw;
  border-radius: 6cqw;
  background: #000;
  transform: translateX(-50%);
}

.mobile7k__icons {
  display: flex;
  gap: 1.2cqw;
  font-size: 4.6cqw;
}

/* botones laterales */
.mobile7k__btn {
  position: absolute;
  width: 1.4cqw;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #2c2d30, #6c6d72 60%, #3a3b3e);
}

.mobile7k__btn--action { left: -2.6cqw; top: 17%; height: 5%; }
.mobile7k__btn--up     { left: -2.6cqw; top: 25%; height: 9%; }
.mobile7k__btn--down   { left: -2.6cqw; top: 36%; height: 9%; }
.mobile7k__btn--power  { right: -2.6cqw; top: 28%; height: 14%; }

/* el celular va un poco desfasado para que no bajen igual */
.mobile7k__page img {
  animation-delay: -8s;
}

.how7k__devices:hover .laptop7k {
  transform: translateY(-6px);
}

.how7k__devices:hover .mobile7k {
  transform: translateY(-14px) rotate(-2deg);
}
/* ====== RESPONSIVE ====== */

/* en tablet y celular el flujo baja en vertical: círculo a la izquierda, texto a la derecha */
@media (max-width: 1050px) {
  .how7k__flow {
    --d: 110px;
    flex-direction: column;
    gap: 36px;
    width: auto;
    max-width: 620px;
    padding: 0;
  }

  .how7k__step,
  .how7k__step:last-child {
    display: grid;
    grid-template-columns: var(--d) 1fr;
    column-gap: 22px;
    align-items: center;
    width: auto;
  }

  /* línea que une un círculo con el siguiente */
  .how7k__step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: var(--d);
    bottom: -36px;
    left: calc(var(--d) / 2 - 2px);
    width: 4px;
    border-radius: 2px;
    background: var(--c);
  }

  .how7k__ring,
  .how7k__node::after {
    display: none;
  }

  .how7k__circle {
    inset: 0;
  }

  .how7k__num {
    font-size: 40px;
  }

  .how7k__circle i {
    font-size: 17px;
  }

  .how7k__step:hover .how7k__circle,
  .how7k__flow.is-visible .how7k__step:hover .how7k__circle {
    transform: scale(1.12);
  }

  .how7k__label,
  .how7k__step:nth-child(odd) .how7k__label,
  .how7k__step:nth-child(even) .how7k__label {
    position: static;
    width: auto;
    text-align: left;
    transform: translateY(10px);
  }

  .how7k__flow.is-visible .how7k__label {
    transform: none;
  }
  .how7k__case {
    margin-top: 80px;
    padding-top: 60px;
  }
}

@media (max-width: 700px) {
  .how7k {
    padding: 70px 16px 80px;
  }

  .how7k__title {
    font-size: 34px;
  }

  .how7k__lead {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .how7k__flow {
    --d: 86px;
    gap: 30px;
  }

  .how7k__step:not(:last-child)::before {
    bottom: -30px;
  }

  .how7k__step,
  .how7k__step:last-child {
    column-gap: 16px;
  }

  .how7k__num {
    font-size: 32px;
  }

  .how7k__circle i {
    font-size: 14px;
  }

  .how7k__step-title {
    font-size: 19px;
  }

  .how7k__case {
    margin-top: 60px;
    padding-top: 50px;
  }

  .how7k__case-title {
    font-size: 34px;
  }

  .how7k__case-text {
    font-size: 16px;
  }

  .how7k__devices {
    padding-right: 40px;
  }

  .mobile7k {
    width: 30%;
  }
}

/* ======================================================
   MATERIAL IMPRESO — solo mockups realistas sobre el fondo
====================================================== */

/* lo que sobresale de los mockups (sombras, base de la laptop) no debe crear scroll de lado */
.how7k,
.print7k,
.mail7k,
.results7k {
  overflow-x: clip;
}

.print7k {
  padding: 30px 20px 110px;
  background: var(--color-bg-main);
}

.print7k__inner,
.mail7k__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 3 arriba (piezas verticales) y 2 abajo */
.print7k__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px 40px;
}

.print7k__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc((100% - 80px) / 3);
  text-align: center;
}

.print7k__item:nth-child(n+3) {
  width: calc((100% - 80px) * 0.27);
}

.print7k__item.print7k__item--wide {
  width: calc((100% - 80px) * 0.46);
}

/* zona del mockup: todos apoyados en la misma "línea de piso" */
.print7k__mock {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 400px;
}

.print7k__mock--3d {
  perspective: 1300px;
}

/* sombra de contacto sobre la mesa */
.print7k__shadow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 62%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08) 60%, transparent);
  transform: translateX(-50%);
  filter: blur(3px);
  pointer-events: none;
}

.print7k__info {
  max-width: 330px;
  margin-top: 36px;
}

.print7k__size {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.print7k__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
}

.print7k__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.66);
}

.print7k__hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}

/* ---- póster: marco negro delgado con paspartú, colgado ---- */
.poster7k {
  width: 270px;
  padding: 12px;
  border: 7px solid #141414;
  background: #fbfbf9;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 1px 1px rgba(0, 0, 0, 0.2),
    0 18px 22px -8px rgba(0, 0, 0, 0.35),
    0 40px 60px -20px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-medium);
}

.poster7k img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.print7k__item:hover .poster7k {
  transform: translateY(-6px);
}

/* ---- table tent: cartulina doblada en "A", vista de 3/4 ---- */
.tent7k {
  /* para que las dos caras se junten arriba: --z = alto × sen(13°) ≈ ancho × 0.297 */
  --z: 62px;
  position: relative;
  width: 210px;
  aspect-ratio: 900 / 1191;
  transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(6deg);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.4, 1);
}

.tent7k__front,
.tent7k__back {
  position: absolute;
  inset: 0;
  transform-origin: bottom center;
}

/* cara frontal inclinada hacia atrás */
.tent7k__front {
  overflow: hidden;
  border-radius: 2px;
  transform: translateZ(var(--z)) rotateX(13deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

.tent7k__front img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* cara trasera (cartulina blanca) que se ve por el costado */
.tent7k__back {
  border-radius: 2px;
  background: linear-gradient(90deg, #d9d9d6, #f1f1ee 60%, #e3e3e0);
  transform: translateZ(calc(var(--z) * -1)) rotateX(-13deg);
}

.print7k__shadow--tent {
  width: 80%;
  bottom: -10px;
}

.print7k__item:hover .tent7k {
  transform: rotateY(-14deg) rotateX(4deg);
}

/* ---- check-in: porta-tarjetas de acrílico en "L" ---- */
.stand7k {
  position: relative;
  width: 200px;
  transform-style: preserve-3d;
  transform: rotateY(22deg) rotateX(4deg);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.4, 1);
}

.stand7k__panel {
  position: relative;
  display: block;
  padding: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 0 0 2px rgba(140, 170, 170, 0.35),
    -4px 0 0 rgba(190, 215, 215, 0.55),
    0 22px 30px -10px rgba(0, 0, 0, 0.35);
}

.stand7k__panel img {
  display: block;
  width: 100%;
  height: auto;
}

/* base del acrílico vista en perspectiva */
.stand7k__base {
  display: block;
  width: 116%;
  height: 22px;
  margin: -3px 0 0 -8%;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(240, 250, 250, 0.9), rgba(190, 210, 212, 0.75));
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(120, 150, 150, 0.35);
  transform: rotateX(62deg);
  transform-origin: top center;
}

.print7k__item:hover .stand7k {
  transform: rotateY(8deg) rotateX(2deg);
}

/* ---- tarjetas: una debajo y la de encima se voltea ---- */
.cards7k {
  position: relative;
  width: 400px;
  aspect-ratio: 900 / 514;
  margin-bottom: 30px;
  transform-style: preserve-3d;
  transform: rotateX(48deg) rotateZ(-14deg);
}

.cards7k__under {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  transform: translate(46px, -34px) rotateZ(10deg);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25), 0 18px 26px rgba(0, 0, 0, 0.22);
}

.cards7k__under img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card7k {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transform: translateZ(2px);
  transition: transform var(--transition-medium);
}

.card7k:hover {
  transform: translateZ(26px);
}

.card7k__inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.card7k.is-flipped .card7k__inner {
  transform: rotateY(180deg);
}

.card7k__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25), 0 26px 34px rgba(0, 0, 0, 0.28);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card7k__face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card7k__face--back {
  transform: rotateY(180deg);
}

/* ---- sticker troquelado ---- */
.sticker7k {
  position: relative;
  width: 250px;
  margin-bottom: 30px;
  padding: 8px;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 14px 24px -6px rgba(0, 0, 0, 0.3);
  transform: rotate(-6deg);
  transition: transform var(--transition-medium);
}

.sticker7k img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
}

/* esquina despegándose */
.sticker7k::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 0 0 26px 0;
  background: linear-gradient(135deg, #fafafa 46%, #d2d2d2 50%, transparent 52%);
  filter: drop-shadow(-3px -3px 3px rgba(0, 0, 0, 0.18));
  transition: width var(--transition-medium), height var(--transition-medium);
}

.print7k__item:hover .sticker7k {
  transform: rotate(-2deg) translateY(-6px);
}

.print7k__item:hover .sticker7k::after {
  width: 56px;
  height: 56px;
}
/* ======================================================
   LO QUE LLEGA A SU CORREO
====================================================== */

.mail7k {
  padding: 90px 20px 110px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(25, 187, 148, 0.10), transparent 70%),
    var(--color-bg-main);
}

.mail7k__phones {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.mail7k__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  text-align: center;
}

/* ---- iPhone (medidas en cqw = % del ancho del celular) ---- */
.iphone7k {
  position: relative;
  width: 250px;
  container-type: inline-size;
  cursor: pointer;
  transition: transform var(--transition-medium);
}

.mail7k__item:hover .iphone7k {
  transform: translateY(-8px);
}

.iphone7k__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 3.6cqw solid #060607;
  border-radius: 15cqw;
  background: #fff;
  box-shadow:
    0 0 0 1.3cqw #3d3e42,
    0 0 0 1.6cqw #77787d,
    0 0 0 1.9cqw #2a2b2e,
    0 6cqw 14cqw rgba(0, 0, 0, 0.28);
}

.iphone7k__status {
  position: relative;
  z-index: 3;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  height: 13cqw;
  padding: 0 7cqw 0 9cqw;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 4.6cqw;
  font-weight: 600;
  color: #111;
}

.iphone7k__island {
  position: absolute;
  top: 3cqw;
  left: 50%;
  width: 29cqw;
  height: 8.5cqw;
  border-radius: 6cqw;
  background: #000;
  transform: translateX(-50%);
}

.iphone7k__icons {
  display: flex;
  gap: 1.2cqw;
}

.iphone7k__btn {
  position: absolute;
  width: 1.4cqw;
  border-radius: 1cqw;
  background: linear-gradient(90deg, #2c2d30, #6c6d72 60%, #3a3b3e);
}

.iphone7k__btn--action { left: -2.6cqw; top: 17%; height: 5%; }
.iphone7k__btn--up     { left: -2.6cqw; top: 25%; height: 9%; }
.iphone7k__btn--down   { left: -2.6cqw; top: 36%; height: 9%; }
.iphone7k__btn--power  { right: -2.6cqw; top: 28%; height: 14%; }

/* ---- app de correo ---- */
.mailapp7k {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  opacity: 0;
  transform: translateY(6%);
}

.mailapp7k__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1cqw 4cqw 2cqw 2cqw;
  font-size: 4.8cqw;
  color: #0a7aff;
}

.mailapp7k__nav span {
  display: flex;
  align-items: center;
  gap: 4cqw;
}

.mailapp7k__head {
  padding: 0 5cqw 3cqw;
  border-bottom: 1px solid #ececef;
}

.mailapp7k__subject {
  margin: 0 0 3cqw;
  font-size: 5.6cqw;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
}

.mailapp7k__from {
  display: flex;
  align-items: center;
  gap: 3cqw;
  text-align: left;
}

.mailapp7k__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 10cqw;
  height: 10cqw;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e3e3e6;
}

.mailapp7k__avatar img {
  width: 92%;
}

.mailapp7k__from strong {
  display: block;
  font-size: 4.4cqw;
  color: #111;
}

.mailapp7k__from small {
  font-size: 3.8cqw;
  color: #8a8a8f;
}

.mailapp7k__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 4cqw 4cqw 0;
  overflow: hidden;
  background: #f4f4f6;
}

.mailapp7k__body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2cqw;
}

/* ---- notificación estilo iOS ---- */
.notif7k {
  position: absolute;
  top: 13cqw;
  left: 3cqw;
  right: 3cqw;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3.4cqw;
  border-radius: 6cqw;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
  text-align: left;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(-140%);
}

.notif7k__app {
  display: grid;
  flex: none;
  place-items: center;
  width: 10cqw;
  height: 10cqw;
  border-radius: 2.6cqw;
  font-size: 6cqw;
  color: #fff;
  background: linear-gradient(180deg, #3ba0ff, #0a6cf0);
}

.notif7k__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 3.9cqw;
  line-height: 1.3;
  color: #111;
}

.notif7k__text strong {
  display: block;
  font-size: 4.2cqw;
}

.notif7k__text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notif7k small {
  align-self: flex-start;
  font-size: 3.4cqw;
  color: #8a8a8f;
}

/* secuencia: llega la notificación, se va y se abre el correo (crm.js pone is-playing) */
.iphone7k.is-playing .notif7k {
  animation: notif7k-in 2.6s cubic-bezier(0.25, 0.8, 0.4, 1) var(--delay, 0s) both;
}

.iphone7k.is-playing .mailapp7k {
  animation: mailapp7k-open 0.7s ease calc(var(--delay, 0s) + 2.2s) both;
}

@keyframes notif7k-in {
  0%   { opacity: 0; transform: translateY(-140%); }
  18%  { opacity: 1; transform: translateY(0); }
  78%  { opacity: 1; transform: translateY(0) scale(1); }
  88%  { opacity: 1; transform: translateY(0) scale(0.96); }
  100% { opacity: 0; transform: translateY(-140%); }
}

@keyframes mailapp7k-open {
  to { opacity: 1; transform: none; }
}

/* ---- tarjeta de visitas: 10 tarjetas apiladas ---- */
.mail7k__deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  text-align: center;
}

.deck7k {
  position: relative;
  /* deja espacio a la derecha para las tarjetas de atrás, que se recorren 40px */
  width: min(480px, calc(100vw - 90px));
  margin-right: 40px;
  aspect-ratio: 1000 / 709;
  margin-top: 40px;
}

/* --i = lugar en la pila (0 = arriba); a partir de la 4ª ya no se separan más */
.deck7k__card {
  --i: 0;
  position: absolute;
  inset: 0;
  z-index: calc(20 - var(--i));
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: none;
  cursor: pointer;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2), 0 18px 34px rgba(0, 0, 0, 0.18);
  transform:
    translate(calc(min(var(--i), 4) * 10px), calc(min(var(--i), 4) * -12px))
    rotate(calc(min(var(--i), 4) * 2.2deg));
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.4, 1);
}

.deck7k__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.deck7k__card.is-top:hover {
  transform: translateY(-6px);
}

/* la de arriba sale volando y regresa al fondo */
.deck7k__card.is-leaving {
  z-index: 30;
  transform: translate(115%, 6%) rotate(14deg);
  transition: transform 0.45s cubic-bezier(0.55, 0, 0.75, 0.3);
}
/* ======================================================
   RESULTADOS REALES — portal del cliente dentro de la MacBook
   (medidas en cqw: % del ancho de la laptop)
====================================================== */

.results7k {
  padding: 90px 20px 110px;
  background: var(--color-bg-main);
}

.results7k__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.results7k__device {
  max-width: 980px;
  margin: 10px auto 0;
  padding: 0 0 20px;
}

.dash7k {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #1f2a2c;
  background: #f5efe6;
}

.dash7k__top {
  display: flex;
  align-items: center;
  gap: 4cqw;
  padding: 1.1cqw 2cqw;
  color: #fff;
  background: #2b5961;
}

.dash7k__brand {
  display: flex;
  align-items: center;
  gap: 1cqw;
}

.dash7k__brand b {
  display: block;
  font-size: 1.35cqw;
  letter-spacing: 0.05cqw;
}

.dash7k__brand small {
  font-size: 0.85cqw;
  letter-spacing: 0.15cqw;
  opacity: 0.8;
}

.dash7k__logo {
  display: grid;
  place-items: center;
  width: 3.6cqw;
  height: 3.6cqw;
  border-radius: 0.6cqw;
  background: #fff;
}

.dash7k__logo img {
  width: 88%;
}

.dash7k__nav {
  display: flex;
  gap: 0.6cqw;
  font-size: 1.1cqw;
  font-weight: 600;
}

.dash7k__nav span {
  padding: 0.6cqw 1.2cqw;
  border-radius: 0.6cqw;
}

.dash7k__nav .is-on {
  background: rgba(255, 255, 255, 0.16);
}

.dash7k__main {
  padding: 2.4cqw 3cqw 0;
}

.dash7k__title {
  margin: 0 0 0.6cqw;
  font-size: 2.5cqw;
  font-weight: 800;
  color: #2b5961;
}

.dash7k__sub {
  margin: 0 0 2cqw;
  font-size: 1.2cqw;
  color: #6c7375;
}

.dash7k__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqw;
  margin-bottom: 2cqw;
}

.dash7k__kpi {
  padding: 1.8cqw 2cqw;
  border-top: 0.35cqw solid #2b5961;
  border-radius: 1.2cqw;
  background: #fff;
  box-shadow: 0 0.4cqw 1.4cqw rgba(0, 0, 0, 0.06);
}

.dash7k__kpi--green { border-top-color: #2f5e2a; }
.dash7k__kpi--gold  { border-top-color: #e8b52a; }

.dash7k__kpi small {
  display: block;
  font-size: 0.95cqw;
  font-weight: 700;
  letter-spacing: 0.1cqw;
  color: #555c5e;
}

.dash7k__kpi strong {
  display: block;
  margin: 0.6cqw 0;
  font-size: 3.6cqw;
  font-weight: 900;
  line-height: 1;
}

.dash7k__kpi span {
  font-size: 1.05cqw;
  color: #6c7375;
}

.dash7k__table {
  overflow: hidden;
  border-radius: 1.2cqw 1.2cqw 0 0;
  background: #faf6f0;
}

.dash7k__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4cqw 2cqw;
}

.dash7k__tabs {
  display: flex;
  gap: 0.4cqw;
  padding: 0.35cqw;
  border-radius: 0.8cqw;
  font-size: 1cqw;
  font-weight: 700;
  letter-spacing: 0.08cqw;
  color: #6c7375;
  background: #efe7da;
}

.dash7k__tabs span {
  padding: 0.6cqw 1.2cqw;
  border-radius: 0.6cqw;
}

.dash7k__tabs .is-on {
  color: #fff;
  background: #2b5961;
}

.dash7k__tabs i {
  margin-left: 0.4cqw;
  padding: 0.1cqw 0.5cqw;
  border-radius: 1cqw;
  font-style: normal;
  background: rgba(0, 0, 0, 0.1);
}

.dash7k__search {
  width: 32%;
  padding: 0.7cqw 1cqw;
  border: 1px solid #e0d8cb;
  border-radius: 0.6cqw;
  font-size: 1.05cqw;
  color: #8a9092;
  background: #fff;
}

.dash7k table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05cqw;
  text-align: left;
}

.dash7k th {
  padding: 1.1cqw 1cqw;
  font-size: 0.9cqw;
  letter-spacing: 0.08cqw;
  color: #fff;
  background: #2b5961;
}

.dash7k td {
  padding: 1.1cqw 1cqw;
  border-bottom: 1px solid #ebe3d6;
  white-space: nowrap;
}

/* información privada de los clientes */
.dash7k__private {
  filter: blur(0.45cqw);
  user-select: none;
}

.dash7k__visits {
  display: inline-grid;
  place-items: center;
  width: 2.6cqw;
  height: 2.6cqw;
  border-radius: 50%;
  font-weight: 700;
  background: #e3ecd9;
}

/* cifras grandes debajo */
.results7k__stats {
  display: flex;
  justify-content: center;
  gap: 90px;
  margin-top: 70px;
  text-align: center;
}

.results7k__stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}

.results7k__stats span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.66);
}

.results7k__note {
  margin: 36px 0 0;
  font-size: 13px;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 700px) {
  .results7k {
    padding: 70px 16px 80px;
  }

  .results7k__stats {
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
  }

  .results7k__stats strong {
    font-size: 48px;
  }
}
/* ====== RESPONSIVE: material y correos ====== */

@media (max-width: 1050px) {
  /* dos por fila; las tarjetas a lo ancho */
  .print7k__item,
  .print7k__item:nth-child(n+3) {
    width: calc((100% - 40px) / 2);
  }

  .print7k__item.print7k__item--wide {
    width: 100%;
  }

  /* celulares: dos y uno abajo */
  .mail7k__phones {
    flex-wrap: wrap;
    gap: 60px 40px;
  }
}

@media (max-width: 700px) {
  .print7k {
    padding: 20px 16px 80px;
  }

  .print7k__grid {
    gap: 56px;
  }

  .print7k__item,
  .print7k__item:nth-child(n+3),
  .print7k__item.print7k__item--wide {
    width: 100%;
  }

  .print7k__mock {
    height: 340px;
  }

  .poster7k {
    width: 230px;
  }

  .tent7k {
    --z: 53px;
    width: 180px;
  }

  .stand7k {
    width: 170px;
  }

  .cards7k {
    width: min(280px, calc(100vw - 110px));
    margin-right: 40px;
  }

  .sticker7k {
    width: 220px;
  }

  .mail7k {
    padding: 70px 16px 80px;
  }

  .mail7k__phones {
    flex-direction: column;
    align-items: center;
  }

  .mail7k__deck {
    margin-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card7k__inner,
  .deck7k__card {
    transition: none;
  }

  .notif7k {
    display: none;
  }

  .mailapp7k {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how7k__step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .how7k__ring,
  .how7k__node::after,
  .how7k__circle,
  .how7k__label {
    opacity: 1;
    transition: none;
  }

  .laptop7k__page img,
  .mobile7k__page img {
    animation: none;
  }
}
