/* sololugar — scope .amr-solo-lugar-section */
.amr-solo-lugar-section {
    font-family: var(--amr-font, 'Plus Jakarta Sans'), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 70px 24px 80px 24px;
    box-sizing: border-box;
    color: #0b1e36;
    background: transparent;
  }

  .amr-solo-lugar-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* Encabezado */
  .amr-solo-lugar-section .amr-sl-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 52px auto;
  }

  .amr-solo-lugar-section .amr-sl-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
  }

  .amr-solo-lugar-section .amr-sl-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    color: #0b1e36;
    letter-spacing: -0.025em;
  }

  .amr-solo-lugar-section .amr-sl-title span {
    color: var(--amr-c1);
  }

  /* Cuadrícula de los 6 Beneficios */
  .amr-solo-lugar-section .amr-sl-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: flex-start;
  }

  /* Tarjeta / Item individual */
  .amr-solo-lugar-section .amr-sl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    transition: transform 0.3s ease;
  }

  /* Círculo Halo del Icono */
  .amr-solo-lugar-section .amr-sl-icon-halo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }

  .amr-solo-lugar-section .amr-sl-item:hover .amr-sl-icon-halo {
    transform: translateY(-5px);
  }

  /* Colores específicos de cada Halo según la referencia */
  .amr-solo-lugar-section .amr-halo-cyan {
    background: #e0f2fe;
    color: #0066ff;
    box-shadow: 0 8px 24px -4px rgba(0, 102, 255, 0.18);
  }
  .amr-solo-lugar-section .amr-sl-item:hover .amr-halo-cyan {
    box-shadow: 0 14px 28px -4px rgba(0, 102, 255, 0.32);
  }

  .amr-solo-lugar-section .amr-halo-rose {
    background: #ffe4e6;
    color: #ef4444;
    box-shadow: 0 8px 24px -4px rgba(239, 68, 68, 0.18);
  }
  .amr-solo-lugar-section .amr-sl-item:hover .amr-halo-rose {
    box-shadow: 0 14px 28px -4px rgba(239, 68, 68, 0.32);
  }

  .amr-solo-lugar-section .amr-halo-blue {
    background: #dbeafe;
    color: #0066ff;
    box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.18);
  }
  .amr-solo-lugar-section .amr-sl-item:hover .amr-halo-blue {
    box-shadow: 0 14px 28px -4px rgba(2, 132, 199, 0.32);
  }

  .amr-solo-lugar-section .amr-halo-purple {
    background: #ede9fe;
    color: #4f46e5;
    box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.18);
  }
  .amr-solo-lugar-section .amr-sl-item:hover .amr-halo-purple {
    box-shadow: 0 14px 28px -4px rgba(99, 102, 241, 0.32);
  }

  .amr-solo-lugar-section .amr-halo-sky {
    background: #e0f2fe;
    color: #0284c7;
    box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.18);
  }
  .amr-solo-lugar-section .amr-sl-item:hover .amr-halo-sky {
    box-shadow: 0 14px 28px -4px rgba(2, 132, 199, 0.32);
  }

  .amr-solo-lugar-section .amr-halo-amber {
    background: #fef3c7;
    color: #d97706;
    box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.18);
  }
  .amr-solo-lugar-section .amr-sl-item:hover .amr-halo-amber {
    box-shadow: 0 14px 28px -4px rgba(245, 158, 11, 0.32);
  }

  /* Texto del Beneficio */
  .amr-solo-lugar-section .amr-sl-text {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #475569;
    max-width: 170px;
    margin: 0 auto;
    transition: color 0.25s ease;
  }

  .amr-solo-lugar-section .amr-sl-item:hover .amr-sl-text {
    color: #0b1e36;
  }

  /* Responsivo */
  @media (max-width: 1024px) {
    .amr-solo-lugar-section .amr-sl-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 36px 20px;
    }
    .amr-solo-lugar-section .amr-sl-title {
      font-size: 32px;
    }
  }

  @media (max-width: 600px) {
    .amr-solo-lugar-section {
      padding: 50px 16px 60px 16px;
    }
    .amr-solo-lugar-section .amr-sl-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 14px;
    }
    .amr-solo-lugar-section .amr-sl-title {
      font-size: 27px;
    }
    .amr-solo-lugar-section .amr-sl-icon-halo {
      width: 68px;
      height: 68px;
      margin-bottom: 14px;
    }
    .amr-solo-lugar-section .amr-sl-text {
      font-size: 12.5px;
    }
  }

/* ==========================================================
   ANIMACIONES — EN UN SOLO LUGAR
   Funcionan igual en escritorio y móvil:
   1) Entrada escalonada al llegar a la sección (JS agrega .amr-sl-ready / .is-in)
   2) Micro-animación propia de cada icono, en loop
   3) Resaltado automático en rotación (.is-lit) = el "hover" del móvil
   ========================================================== */

/* ---------- 1. ENTRADA ---------- */
.amr-solo-lugar-section.amr-sl-ready .amr-sl-item {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity .7s ease,
    translate .8s cubic-bezier(.2,.8,.2,1);
}

.amr-solo-lugar-section.amr-sl-ready .amr-sl-item.is-in {
  opacity: 1;
  translate: 0 0;
}

.amr-solo-lugar-section .amr-sl-item:nth-child(1) { transition-delay: .05s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(2) { transition-delay: .15s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(3) { transition-delay: .25s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(4) { transition-delay: .35s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(5) { transition-delay: .45s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(6) { transition-delay: .55s; }

/* Pop del círculo al entrar */
.amr-solo-lugar-section.amr-sl-ready .amr-sl-item .amr-sl-icon-halo {
  scale: .6;
  transition:
    scale .7s cubic-bezier(.34,1.56,.64,1),
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease;
  transition-delay: inherit;
}

.amr-solo-lugar-section.amr-sl-ready .amr-sl-item.is-in .amr-sl-icon-halo {
  scale: 1;
}

/* Terminada la entrada, sin retrasos (para que el hover/toque responda al tiro) */
.amr-solo-lugar-section.amr-sl-done .amr-sl-item,
.amr-solo-lugar-section.amr-sl-done .amr-sl-item .amr-sl-icon-halo {
  transition-delay: 0s !important;
}

/* ---------- 2. FLOTACIÓN SUAVE + MICRO-ANIMACIÓN DE CADA ICONO ---------- */
.amr-solo-lugar-section .amr-sl-icon-halo {
  position: relative;
  animation: amrSlFloat 4.2s ease-in-out infinite;
}

.amr-solo-lugar-section .amr-sl-item:nth-child(2) .amr-sl-icon-halo { animation-delay: -.7s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(3) .amr-sl-icon-halo { animation-delay: -1.4s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(4) .amr-sl-icon-halo { animation-delay: -2.1s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(5) .amr-sl-icon-halo { animation-delay: -2.8s; }
.amr-solo-lugar-section .amr-sl-item:nth-child(6) .amr-sl-icon-halo { animation-delay: -3.5s; }

@keyframes amrSlFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

.amr-solo-lugar-section .amr-sl-icon-halo svg {
  position: relative;
  z-index: 1;
  transform-origin: 50% 50%;
  animation-duration: 4.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* 1. Calendario: se balancea */
.amr-solo-lugar-section .amr-sl-item:nth-child(1) svg {
  animation-name: amrSlSwing;
  transform-origin: 50% 0%;
}
/* 2. Regalo: se sacude */
.amr-solo-lugar-section .amr-sl-item:nth-child(2) svg {
  animation-name: amrSlWiggle;
  animation-delay: .8s;
}
/* 3. Personas: rebotan */
.amr-solo-lugar-section .amr-sl-item:nth-child(3) svg {
  animation-name: amrSlBounce;
  animation-delay: 1.6s;
}
/* 4. Galería: flash de foto */
.amr-solo-lugar-section .amr-sl-item:nth-child(4) svg {
  animation-name: amrSlFlash;
  animation-delay: 2.4s;
}
/* 5. Compartir: gira */
.amr-solo-lugar-section .amr-sl-item:nth-child(5) svg {
  animation-name: amrSlSpin;
  animation-delay: 3.2s;
}
/* 6. Candado: tiembla (cerrado y seguro) */
.amr-solo-lugar-section .amr-sl-item:nth-child(6) svg {
  animation-name: amrSlShake;
  animation-delay: 4s;
}

/* Cada animación ocurre en el primer ~25% del ciclo y luego descansa */
@keyframes amrSlSwing {
  0%, 26%, 100% { transform: rotate(0); }
  6%  { transform: rotate(12deg); }
  12% { transform: rotate(-9deg); }
  18% { transform: rotate(5deg); }
  22% { transform: rotate(-2deg); }
}

@keyframes amrSlWiggle {
  0%, 26%, 100% { transform: rotate(0) scale(1); }
  5%  { transform: rotate(-12deg) scale(1.08); }
  10% { transform: rotate(10deg) scale(1.08); }
  15% { transform: rotate(-8deg) scale(1.05); }
  20% { transform: rotate(5deg) scale(1.02); }
}

@keyframes amrSlBounce {
  0%, 26%, 100% { transform: translateY(0) scale(1); }
  6%  { transform: translateY(-6px) scale(1.06, .94); }
  12% { transform: translateY(0) scale(.94, 1.06); }
  17% { transform: translateY(-3px) scale(1); }
  22% { transform: translateY(0); }
}

@keyframes amrSlFlash {
  0%, 26%, 100% { transform: scale(1) rotate(0); filter: none; }
  8%  { transform: scale(1.18) rotate(-6deg); filter: brightness(1.35) drop-shadow(0 0 6px currentColor); }
  16% { transform: scale(.96) rotate(2deg); filter: none; }
}

@keyframes amrSlSpin {
  0%, 100% { transform: rotate(0); }
  22%      { transform: rotate(360deg); }
  22.01%   { transform: rotate(0); }
}

@keyframes amrSlShake {
  0%, 26%, 100% { transform: translateX(0) rotate(0); }
  4%  { transform: translateX(-3px) rotate(-6deg); }
  8%  { transform: translateX(3px) rotate(6deg); }
  12% { transform: translateX(-2px) rotate(-4deg); }
  16% { transform: translateX(2px) rotate(3deg); }
  20% { transform: translateX(0) rotate(0); }
}

/* ---------- 3. RESALTADO (hover en escritorio / rotación automática y toque en móvil) ---------- */

/* Anillo de pulso */
.amr-solo-lugar-section .amr-sl-icon-halo::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  scale: .9;
  pointer-events: none;
}

.amr-solo-lugar-section .amr-sl-item.is-lit .amr-sl-icon-halo::after,
.amr-solo-lugar-section .amr-sl-item:hover .amr-sl-icon-halo::after {
  animation: amrSlRing 1.4s ease-out infinite;
}

@keyframes amrSlRing {
  0%   { opacity: .55; scale: .95; }
  100% { opacity: 0;   scale: 1.45; }
}

.amr-solo-lugar-section .amr-sl-item.is-lit .amr-sl-icon-halo {
  transform: translateY(-5px) scale(1.1);
}

.amr-solo-lugar-section .amr-sl-item.is-lit .amr-halo-cyan   { box-shadow: 0 14px 28px -4px rgba(0, 102, 255, .32); }
.amr-solo-lugar-section .amr-sl-item.is-lit .amr-halo-rose   { box-shadow: 0 14px 28px -4px rgba(239, 68, 68, .32); }
.amr-solo-lugar-section .amr-sl-item.is-lit .amr-halo-blue   { box-shadow: 0 14px 28px -4px rgba(2, 132, 199, .32); }
.amr-solo-lugar-section .amr-sl-item.is-lit .amr-halo-purple { box-shadow: 0 14px 28px -4px rgba(99, 102, 241, .32); }
.amr-solo-lugar-section .amr-sl-item.is-lit .amr-halo-sky    { box-shadow: 0 14px 28px -4px rgba(2, 132, 199, .32); }
.amr-solo-lugar-section .amr-sl-item.is-lit .amr-halo-amber  { box-shadow: 0 14px 28px -4px rgba(245, 158, 11, .32); }

.amr-solo-lugar-section .amr-sl-item.is-lit .amr-sl-text {
  color: #0b1e36;
}

/* Al tocar en móvil, sin el recuadro gris de selección */
.amr-solo-lugar-section .amr-sl-item {
  -webkit-tap-highlight-color: transparent;
  cursor: default;
}

/* ---------- ACCESIBILIDAD ---------- */
@media (prefers-reduced-motion: reduce) {
  .amr-solo-lugar-section .amr-sl-icon-halo,
  .amr-solo-lugar-section .amr-sl-icon-halo svg,
  .amr-solo-lugar-section .amr-sl-icon-halo::after {
    animation: none !important;
  }

  .amr-solo-lugar-section.amr-sl-ready .amr-sl-item,
  .amr-solo-lugar-section.amr-sl-ready .amr-sl-item .amr-sl-icon-halo {
    opacity: 1;
    translate: none;
    scale: 1;
    transition: none;
  }
}
