/* hero — scope .amr-hero-banner */
.amr-hero-banner {
    font-family: var(--amr-font, 'Plus Jakarta Sans'), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #f8faff;
    background-image:
      linear-gradient(90deg,
        #f8faff 0%,
        #f8faff 32%,
        rgba(248, 250, 255, 0.95) 42%,
        rgba(248, 250, 255, 0.65) 52%,
        rgba(248, 250, 255, 0.18) 64%,
        rgba(248, 250, 255, 0) 74%
      ),
      var(--amr-img-hero);
    background-position: center left, right top;
    background-size: 100% 100%, cover;
    background-repeat: no-repeat;
    color: #071f3d;
    margin: 0;
    padding: 0;
  }

  .amr-hero-banner * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .amr-hero-banner .amr-hero-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 68px 40px 72px;
    min-height: 490px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .amr-hero-banner .amr-hero-content {
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .amr-hero-banner .amr-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    background: var(--amr-c1-soft);
    color: var(--amr-c1);
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(var(--amr-c1-rgb), 0.08);
  }

  .amr-hero-banner .amr-hero-title {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.15;
    color: #071f3d;
    letter-spacing: -0.028em;
    margin-bottom: 16px;
  }

  .amr-hero-banner .amr-hero-title .amr-highlight {
    color: var(--amr-c1);
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .amr-hero-banner .amr-sparkle-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-left: 8px;
    vertical-align: middle;
    color: var(--amr-c1);
    animation: amrFloat 3s ease-in-out infinite;
  }

  @keyframes amrFloat {
    0%, 100% {
      transform: translateY(0) scale(1);
    }
    50% {
      transform: translateY(-3px) scale(1.08);
    }
  }

  .amr-hero-banner .amr-hero-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: #334155;
    font-weight: 500;
    margin-bottom: 26px;
    max-width: 510px;
  }

  .amr-hero-banner .amr-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    background: var(--amr-c1);
    padding: 14px 34px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 24px -2px rgba(var(--amr-c1-rgb), 0.42),
                0 4px 10px rgba(var(--amr-c1-rgb), 0.2);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    border: none;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 34px;
  }

  .amr-hero-banner .amr-hero-btn:hover {
    background: var(--amr-c1-dark);
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 16px 32px -4px rgba(var(--amr-c1-rgb), 0.52),
                0 6px 14px rgba(var(--amr-c1-rgb), 0.28);
    color: #ffffff !important;
  }

  .amr-hero-banner .amr-hero-btn svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
  }

  .amr-hero-banner .amr-hero-btn:hover svg {
    transform: translateX(4px);
  }

  .amr-hero-banner .amr-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 22px;
  }

  .amr-hero-banner .amr-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .amr-hero-banner .amr-trust-halo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }

  .amr-hero-banner .amr-trust-item:hover .amr-trust-halo {
    transform: scale(1.12);
  }

  .amr-hero-banner .amr-trust-halo svg {
    width: 18px;
    height: 18px;
  }

  .amr-hero-banner .amr-halo-red {
    background: #fee2e2;
    color: #ef4444;
  }

  .amr-hero-banner .amr-halo-blue {
    background: #e0f2fe;
    color: #0284c7;
  }

  .amr-hero-banner .amr-halo-pink {
    background: #ffe4e6;
    color: #f43f5e;
  }

  .amr-hero-banner .amr-halo-gold {
    background: #fef3c7;
    color: #d97706;
  }

  .amr-hero-banner .amr-trust-text {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    line-height: 1.25;
  }

  /* TABLET */
  @media (max-width: 1120px) {
    .amr-hero-banner .amr-hero-inner {
      padding: 55px 30px;
      min-height: 450px;
    }

    .amr-hero-banner .amr-hero-title {
      font-size: 38px;
    }

    .amr-hero-banner .amr-hero-desc {
      font-size: 15px;
    }

    .amr-hero-banner .amr-trust-bar {
      gap: 16px 18px;
    }
  }

  /* TABLET VERTICAL Y MOVIL */
  @media (max-width: 900px) {
    .amr-hero-banner {
      background-image:
        linear-gradient(180deg,
          rgba(248,250,255,0.1) 0%,
          rgba(248,250,255,0.3) 25%,
          rgba(248,250,255,0.88) 45%,
          rgba(248,250,255,0.98) 65%,
          #f8faff 100%
        ),
        var(--amr-img-hero);
      background-position: center top, 80% top;
      background-size: 100% 100%, cover;
    }

    .amr-hero-banner .amr-hero-inner {
      justify-content: center;
      padding: 270px 20px 50px;
      min-height: auto;
    }

    .amr-hero-banner .amr-hero-content {
      max-width: 100%;
      align-items: center;
      text-align: center;
      background: rgba(255,255,255,0.94);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      padding: 34px 24px;
      border-radius: 24px;
      box-shadow: 0 12px 36px rgba(7,31,61,0.08);
    }

    .amr-hero-banner .amr-hero-title {
      font-size: 32px;
    }

    .amr-hero-banner .amr-hero-desc {
      font-size: 15px;
      margin-bottom: 24px;
    }

    .amr-hero-banner .amr-hero-btn {
      width: 100%;
      max-width: 320px;
      margin-bottom: 28px;
    }

    /* 4 sellos en 2 columnas */
    .amr-hero-banner .amr-trust-bar {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px 14px;
      width: 100%;
      max-width: 440px;
      margin: 0 auto;
    }

    .amr-hero-banner .amr-trust-item {
      text-align: left;
      min-width: 0;
    }
  }

  /* MOVIL */
  @media (max-width: 520px) {
    .amr-hero-banner .amr-hero-inner {
      padding: 220px 16px 40px;
    }

    .amr-hero-banner .amr-hero-content {
      padding: 26px 18px;
      border-radius: 20px;
    }

    .amr-hero-banner .amr-hero-title {
      font-size: 26px;
    }

    .amr-hero-banner .amr-hero-desc {
      font-size: 14px;
    }

    .amr-hero-banner .amr-trust-bar {
      gap: 14px 10px;
    }

    .amr-hero-banner .amr-trust-item {
      gap: 8px;
    }

    .amr-hero-banner .amr-trust-halo {
      width: 32px;
      height: 32px;
    }

    .amr-hero-banner .amr-trust-halo svg {
      width: 16px;
      height: 16px;
    }

    .amr-hero-banner .amr-trust-text {
      font-size: 11.5px;
    }
  }


/* ============================================
   HERO PREMIUM ANIMADO - ANOTA MI REGALO
   Compatible con el banner actual
   ============================================ */

/* 1. ENTRADA DEL CONTENIDO */
@keyframes amrHeroReveal {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.amr-hero-banner .amr-hero-badge,
.amr-hero-banner .amr-hero-title,
.amr-hero-banner .amr-hero-desc,
.amr-hero-banner .amr-hero-btn,
.amr-hero-banner .amr-trust-bar {
  animation: amrHeroReveal .85s cubic-bezier(.2,.8,.2,1) both;
}

.amr-hero-banner .amr-hero-badge {
  animation-delay: .08s;
}

.amr-hero-banner .amr-hero-title {
  animation-delay: .2s;
}

.amr-hero-banner .amr-hero-desc {
  animation-delay: .35s;
}

.amr-hero-banner .amr-hero-btn {
  animation-delay: .5s;
}

.amr-hero-banner .amr-trust-bar {
  animation-delay: .65s;
}

/* 2. BADGE CON BRILLO DELICADO */
@keyframes amrBadgeGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(var(--amr-c1-rgb), .08);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(var(--amr-c1-rgb), .055),
                0 4px 16px rgba(var(--amr-c1-rgb), .15);
  }
}

.amr-hero-banner .amr-hero-badge {
  position: relative;
  animation:
    amrHeroReveal .85s .08s both,
    amrBadgeGlow 3.5s 1s ease-in-out infinite;
}

/* 3. SUBRAYADO ANIMADO EN "CADA EVENTO" */
.amr-hero-banner .amr-highlight {
  position: relative;
  z-index: 1;
}

.amr-hero-banner .amr-highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: calc(100% - 42px);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #b678c8,
    var(--amr-c1),
    #d9b3e3
  );
  transform-origin: left center;
  transform: scaleX(0);
  animation: amrUnderlineDraw .85s 1.15s ease-out forwards;
  opacity: .75;
  z-index: -1;
}

@keyframes amrUnderlineDraw {
  to {
    transform: scaleX(1);
  }
}

/* 4. BOTÓN CON REFLEJO LUMINOSO */
.amr-hero-banner .amr-hero-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.amr-hero-banner .amr-hero-btn::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 35%;
  height: 220%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.45),
    transparent
  );
  transform: rotate(25deg) translateX(-180%);
  pointer-events: none;
  z-index: 0;
  animation: amrButtonShine 5s 1.8s ease-in-out infinite;
}

@keyframes amrButtonShine {
  0%, 12% {
    left: -60%;
  }
  35%, 100% {
    left: 150%;
  }
}

.amr-hero-banner .amr-hero-btn span,
.amr-hero-banner .amr-hero-btn svg {
  position: relative;
  z-index: 1;
}

/* 5. BOTÓN CON ELEVACIÓN AL HOVER */
.amr-hero-banner .amr-hero-btn:hover {
  transform: translateY(-4px) scale(1.035);
  box-shadow:
    0 18px 34px rgba(var(--amr-c1-rgb), .34),
    0 6px 14px rgba(var(--amr-c1-rgb), .18);
}

/* 6. CORAZÓN DEL TÍTULO CON MOVIMIENTO */
@keyframes amrHeroHeart {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-5px) rotate(5deg) scale(1.12);
  }
}

.amr-hero-banner .amr-sparkle-icon {
  animation: amrHeroHeart 3.2s ease-in-out infinite;
  transform-origin: center;
}

/* 7. ICONOS INFERIORES CON FLOTACIÓN */
@keyframes amrTrustFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.amr-hero-banner .amr-trust-halo {
  animation: amrTrustFloat 3.8s ease-in-out infinite;
}

.amr-hero-banner .amr-trust-item:nth-child(2) .amr-trust-halo {
  animation-delay: -.9s;
}

.amr-hero-banner .amr-trust-item:nth-child(3) .amr-trust-halo {
  animation-delay: -1.8s;
}

.amr-hero-banner .amr-trust-item:nth-child(4) .amr-trust-halo {
  animation-delay: -2.7s;
}

/* 8. INTERACCIÓN CON ICONOS */
.amr-hero-banner .amr-trust-halo svg {
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.amr-hero-banner .amr-trust-item:hover .amr-trust-halo {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.12);
}

.amr-hero-banner .amr-trust-item:hover .amr-trust-halo svg {
  transform: rotate(-10deg) scale(1.12);
}

/* 9. DESTELLOS DECORATIVOS DEL BANNER */
@keyframes amrHeroTwinkle {
  0%, 100% {
    opacity: .15;
    transform: scale(.75);
  }
  50% {
    opacity: .7;
    transform: scale(1.25);
  }
}

.amr-hero-banner::before,
.amr-hero-banner::after {
  content: "✦";
  position: absolute;
  display: block;
  color: #fbbf24;
  font-family: Georgia, serif;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 0 12px rgba(251,191,36,.4);
  animation: amrHeroTwinkle 3.5s ease-in-out infinite;
}

.amr-hero-banner::before {
  top: 17%;
  right: 12%;
  font-size: 23px;
}

.amr-hero-banner::after {
  top: 68%;
  right: 7%;
  font-size: 15px;
  animation-delay: -1.7s;
}

/* 10. ADAPTACIÓN A TABLET Y MÓVIL */
@media (max-width: 900px) {
  .amr-hero-banner::before {
    top: 8%;
    right: 12%;
  }

  .amr-hero-banner::after {
    top: 20%;
    right: 72%;
  }
}

@media (max-width: 520px) {
  .amr-hero-banner .amr-highlight::after {
    height: 3px;
    bottom: -3px;
  }

  .amr-hero-banner::before {
    font-size: 17px;
  }

  .amr-hero-banner::after {
    font-size: 12px;
  }
}

/* 11. ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
  .amr-hero-banner .amr-hero-badge,
.amr-hero-banner .amr-hero-title,
.amr-hero-banner .amr-hero-desc,
.amr-hero-banner .amr-hero-btn,
.amr-hero-banner .amr-trust-bar,
.amr-hero-banner .amr-sparkle-icon,
.amr-hero-banner .amr-trust-halo,
.amr-hero-banner::before,
.amr-hero-banner::after,
.amr-hero-banner .amr-hero-btn::before {
    animation: none !important;
  }

  .amr-hero-banner .amr-highlight::after {
    animation: none !important;
    transform: scaleX(1);
  }

  .amr-hero-banner .amr-hero-btn,
.amr-hero-banner .amr-trust-halo,
.amr-hero-banner .amr-trust-halo svg {
    transition: none !important;
  }
}


/* ==========================================================
   COLORES DE MARCA: botón del banner con el color secundario
   ========================================================== */
.amr-hero-banner .amr-hero-btn {
  background: var(--amr-c2);
  color: var(--amr-c2-text) !important;
  box-shadow: 0 10px 24px -4px rgba(var(--amr-c2-rgb), .55), 0 4px 10px rgba(var(--amr-c2-rgb), .25);
}

.amr-hero-banner .amr-hero-btn:hover {
  background: var(--amr-c2-dark);
  color: var(--amr-c2-text) !important;
  box-shadow: 0 18px 34px -6px rgba(var(--amr-c2-rgb), .6), 0 6px 14px rgba(var(--amr-c2-rgb), .3);
}

.amr-hero-banner .amr-hero-btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
}


/* ==========================================================
   EFECTOS: confeti + tarjetas flotantes (template-parts/home/hero-fx.php)
   ========================================================== */
.amr-hero-banner .amr-hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* --- Confeti --- */
.amr-hero-banner .amr-cf-piece {
  position: absolute;
  top: -30px;
  left: var(--x);
  width: var(--s);
  height: calc(var(--s) * .55);
  background: var(--c);
  border-radius: 2px;
  opacity: 0;
  rotate: var(--r);
  animation: amrConfettiFall var(--w) linear var(--d) infinite;
  font-style: normal;
}

.amr-hero-banner .amr-cf-piece.is-circle {
  height: var(--s);
  border-radius: 50%;
}

.amr-hero-banner .amr-cf-piece.is-strip {
  width: 4px;
  height: calc(var(--s) * 1.8);
  border-radius: 3px;
}

.amr-hero-banner .amr-cf-piece.is-emoji {
  width: auto;
  height: auto;
  background: none;
  font-size: calc(var(--s) + 10px);
  line-height: 1;
}

@keyframes amrConfettiFall {
  0%   { opacity: 0;   transform: translate3d(0, 0, 0) rotate(0deg); }
  8%   { opacity: .9; }
  50%  { transform: translate3d(var(--sway), 300px, 0) rotate(260deg); }
  85%  { opacity: .85; }
  100% { opacity: 0;   transform: translate3d(calc(var(--sway) * -.5), 600px, 0) rotate(540deg); }
}

/* --- Tarjetas flotantes --- */
.amr-hero-banner .amr-hero-cards {
  position: absolute;
  inset: 0;
  max-width: 1280px;
  margin: 0 auto;
}

.amr-hero-banner .amr-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 270px;
  padding: 11px 16px 11px 11px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  box-shadow: 0 18px 40px -16px rgba(var(--amr-c1-rgb), .35), 0 4px 12px rgba(15, 23, 42, .06);
  opacity: 0;
  animation:
    amrCardIn .7s cubic-bezier(.2, .9, .3, 1.3) forwards,
    amrCardFloat 5.5s ease-in-out infinite;
}

.amr-hero-banner .amr-float-ico {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  background: var(--amr-c1-soft);
}

.amr-hero-banner .amr-float-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.amr-hero-banner .amr-float-txt strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.amr-hero-banner .amr-float-txt small {
  font-size: 12px;
  color: #64748b;
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Posición, color del icono y ritmo de cada tarjeta */
.amr-hero-banner .amr-float-card--1 { top: 15%; right: 7%;  animation-delay: .6s, .6s; }
.amr-hero-banner .amr-float-card--2 { top: 45%; right: 27%; animation-delay: 1.3s, -1.8s; }
.amr-hero-banner .amr-float-card--3 { bottom: 13%; right: 5%; animation-delay: 2s, -3.4s; }
.amr-hero-banner .amr-float-card--4 { top: 8%; right: 34%;  animation-delay: 2.7s, -.9s; }

.amr-hero-banner .amr-float-card--1 .amr-float-ico { background: #dcfce7; }
.amr-hero-banner .amr-float-card--2 .amr-float-ico { background: rgba(var(--amr-c2-rgb), .22); }

/* Puntito "en vivo" en la primera tarjeta */
.amr-hero-banner .amr-float-card--1::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  animation: amrLivePing 2s ease-out infinite;
}

@keyframes amrCardIn {
  from { opacity: 0; scale: .85; }
  to   { opacity: 1; scale: 1; }
}

@keyframes amrCardFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@keyframes amrLivePing {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

/* Pantallas medianas: tarjetas un poco más chicas */
@media (max-width: 1120px) {
  .amr-hero-banner .amr-float-card { max-width: 230px; }
  .amr-hero-banner .amr-float-card--2 { right: 22%; }
  .amr-hero-banner .amr-float-card--4 { display: none; }
}

/* Móvil: la foto va arriba (270 px); 2 tarjetas sobre ella */
@media (max-width: 900px) {
  .amr-hero-banner .amr-float-card {
    max-width: 205px;
    padding: 8px 12px 8px 8px;
    gap: 8px;
    border-radius: 13px;
  }
  .amr-hero-banner .amr-float-ico { width: 30px; height: 30px; font-size: 15px; border-radius: 9px; }
  .amr-hero-banner .amr-float-txt strong { font-size: 12px; }
  .amr-hero-banner .amr-float-txt small { font-size: 11px; }

  .amr-hero-banner .amr-float-card--1 { top: 26px; right: auto; left: 14px; }
  .amr-hero-banner .amr-float-card--2 { top: 150px; right: 14px; }
  .amr-hero-banner .amr-float-card--3,
  .amr-hero-banner .amr-float-card--4 { display: none; }

  /* Confeti en todo el ancho, más suave para no tapar el texto */
  .amr-hero-banner .amr-cf-piece { left: calc(var(--x) * 2 - 92%); }
  .amr-hero-banner .amr-hero-confetti { opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .amr-hero-banner .amr-hero-confetti { display: none; }
  .amr-hero-banner .amr-float-card { animation: none; opacity: 1; }
  .amr-hero-banner .amr-float-card--1::after { animation: none; }
}


/* ==========================================================
   SLIDER DEL BANNER PRINCIPAL
   Todas las diapositivas en la misma celda: el alto lo da la más alta.
   ========================================================== */
.amr-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.amr-hero-slider .amr-hero-slides {
  display: grid;
}

.amr-hero-slider .amr-hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}

.amr-hero-slider .amr-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity .8s ease, visibility 0s;
}

/* Entrada escalonada del contenido al cambiar de banner */
.amr-hero-slider.is-ready .amr-hero-slide .amr-hero-content > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .6s ease, translate .7s cubic-bezier(.2, .8, .2, 1);
}

.amr-hero-slider.is-ready .amr-hero-slide.is-active .amr-hero-content > * {
  opacity: 1;
  translate: 0 0;
}

.amr-hero-slider.is-ready .amr-hero-slide.is-active .amr-hero-content > :nth-child(1) { transition-delay: .15s; }
.amr-hero-slider.is-ready .amr-hero-slide.is-active .amr-hero-content > :nth-child(2) { transition-delay: .25s; }
.amr-hero-slider.is-ready .amr-hero-slide.is-active .amr-hero-content > :nth-child(3) { transition-delay: .35s; }
.amr-hero-slider.is-ready .amr-hero-slide.is-active .amr-hero-content > :nth-child(4) { transition-delay: .45s; }
.amr-hero-slider.is-ready .amr-hero-slide.is-active .amr-hero-content > :nth-child(5) { transition-delay: .55s; }

/* Flechas (escritorio, aparecen al pasar el mouse) */
.amr-hero-slider .amr-hs-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  border: 1px solid rgba(var(--amr-c1-rgb), .12) !important;
  background: rgba(255, 255, 255, .85) !important;
  color: var(--amr-c1) !important;
  display: grid;
  place-items: center;
  padding: 0 !important;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(var(--amr-c1-rgb), .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .3s ease, background-color .25s ease, color .25s ease, scale .25s ease;
}

.amr-hero-slider .amr-hs-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amr-hero-slider .amr-hs-prev { left: 18px; }
.amr-hero-slider .amr-hs-next { right: 18px; }
.amr-hero-slider:hover .amr-hs-arrow,
.amr-hero-slider .amr-hs-arrow:focus-visible { opacity: 1; }

.amr-hero-slider .amr-hs-arrow:hover {
  background: var(--amr-c1) !important;
  color: #ffffff !important;
  scale: 1.06;
}

/* Puntos con barra de progreso */
.amr-hero-slider .amr-hs-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 5;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -8px rgba(var(--amr-c1-rgb), .35);
}

.amr-hero-slider .amr-hs-dot {
  position: relative;
  width: 9px;
  height: 9px;
  padding: 0 !important;
  border: none !important;
  border-radius: 999px;
  background: rgba(var(--amr-c1-rgb), .22) !important;
  overflow: hidden;
  cursor: pointer;
  transition: width .35s cubic-bezier(.2, .8, .2, 1);
}

.amr-hero-slider .amr-hs-dot.is-active { width: 34px; }

.amr-hero-slider .amr-hs-dot span {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--amr-c1);
  border-radius: inherit;
}

.amr-hero-slider .amr-hs-dot.is-active span {
  width: 100%;
  transition: width var(--amr-hs-time, 7s) linear;
}

.amr-hero-slider.is-paused .amr-hs-dot.is-active span,
.amr-hero-slider:not(.is-playing) .amr-hs-dot.is-active span { transition: none; }

/* ==========================================================
   BANNER ADICIONAL (ej: Navidad): foto a la derecha que se funde
   ========================================================== */
.amr-hero-banner.amr-hero-banner--slide {
  background:
    radial-gradient(40% 60% at 8% 20%, rgba(255, 214, 150, .35), transparent 70%),
    radial-gradient(30% 50% at 45% 90%, rgba(255, 190, 120, .22), transparent 70%),
    linear-gradient(120deg, #fffaf2 0%, #fff4e8 45%, #fbe9dc 100%);
}

.amr-hero-banner--slide .amr-hs-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}

.amr-hero-banner--slide .amr-hs-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  display: block;
  scale: 1.04;
  transition: scale 7s ease-out;
}

.amr-hero-slider .amr-hero-banner--slide.is-active .amr-hs-visual img { scale: 1; }

/* Destellos dorados suaves sobre el fondo */
.amr-hero-banner--slide .amr-hs-bokeh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(10px 10px at 18% 22%, rgba(255, 200, 90, .55), transparent 70%),
    radial-gradient(14px 14px at 34% 78%, rgba(255, 180, 80, .45), transparent 70%),
    radial-gradient(8px 8px at 41% 30%, rgba(255, 220, 140, .6), transparent 70%),
    radial-gradient(12px 12px at 6% 64%, rgba(255, 190, 100, .4), transparent 70%);
  filter: blur(1px);
  animation: amrHsTwinkle 4s ease-in-out infinite alternate;
}

@keyframes amrHsTwinkle {
  from { opacity: .5; }
  to   { opacity: 1; }
}

.amr-hero-banner--slide .amr-hero-badge {
  background: #fee2e2;
  color: #b91c1c;
  box-shadow: 0 2px 10px rgba(185, 28, 28, .12);
}

.amr-hero-banner--slide .amr-hero-title { font-size: 43px; }

.amr-hero-banner--slide .amr-hero-title em {
  font-style: normal;
  color: var(--amr-c1);
  background: linear-gradient(transparent 68%, rgba(var(--amr-c2-rgb), .45) 68%, rgba(var(--amr-c2-rgb), .45) 92%, transparent 92%);
  padding: 0 2px;
}

@media (max-width: 1120px) {
  .amr-hero-banner--slide .amr-hs-visual { width: 52%; }
  .amr-hero-banner--slide .amr-hero-title { font-size: 38px; }
}

@media (max-width: 900px) {
  .amr-hero-slider .amr-hs-arrow { display: none; }
  .amr-hero-slider .amr-hs-dots { bottom: 16px; }
  .amr-hero-slider.has-slides .amr-hero-inner { padding-bottom: 62px; }

  .amr-hero-banner.amr-hero-banner--slide { background: linear-gradient(180deg, #fff4e8 0%, #fffaf2 100%); }

  .amr-hero-banner--slide .amr-hs-visual {
    width: 100%;
    bottom: auto;
    height: 320px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }

  .amr-hero-banner--slide .amr-hs-visual img { object-position: center 40%; }
  .amr-hero-banner--slide .amr-hero-title { font-size: 29px; }
}

@media (max-width: 520px) {
  .amr-hero-banner--slide .amr-hs-visual { height: 260px; }
  .amr-hero-banner--slide .amr-hero-title { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .amr-hero-slider .amr-hero-slide,
  .amr-hero-slider.is-ready .amr-hero-slide .amr-hero-content > *,
  .amr-hero-banner--slide .amr-hs-visual img { transition: none !important; }
  .amr-hero-banner--slide .amr-hs-bokeh { animation: none; }
}


/* ==========================================================
   PNG SOBRE EL TÍTULO (parte del contenido del banner)
   ========================================================== */
.amr-hero-banner .amr-hero-content .amr-hero-png {
  width: var(--amr-png-w, 220px);
  max-width: 100%;
  margin: 0 0 18px;
  pointer-events: none;
}

.amr-hero-banner .amr-hero-png img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: left center;
}

/* Animaciones */
.amr-hero-png--anim-flotar .amr-png-box { animation: amrPngFloat 5s ease-in-out infinite; }

@keyframes amrPngFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

.amr-hero-png--anim-entrar .amr-png-box { animation: amrPngIn .9s cubic-bezier(.2, .8, .2, 1) both; }
.amr-hero-slider .amr-hero-slide:not(.is-active) .amr-hero-png--anim-entrar .amr-png-box { animation: none; opacity: 0; }

@keyframes amrPngIn {
  from { opacity: 0; translate: -30px 0; scale: .92; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

/* Móvil: centrado, como el resto del contenido */
@media (max-width: 900px) {
  .amr-hero-banner .amr-hero-content .amr-hero-png {
    width: min(var(--amr-png-w, 220px), 70vw);
    margin: 0 auto 14px;
  }
  .amr-hero-banner .amr-hero-png img { object-position: center; max-height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .amr-hero-png .amr-png-box { animation: none !important; opacity: 1 !important; }
}

/* ==========================================================
   OPCIONES: sin color de fondo bajo el texto / sin subrayado
   ========================================================== */
/* Banner principal: solo la foto, sin el degradado claro */
.amr-hero-banner.amr-sin-degradado:not(.amr-hero-banner--slide) {
  background-image: var(--amr-img-hero) !important;
}

/* Banners del slider: la foto ocupa todo, sin fondo crema ni fundido */
.amr-hero-banner--slide.amr-sin-degradado { background: #ffffff; }
.amr-hero-banner--slide.amr-sin-degradado .amr-hs-bokeh { display: none; }
.amr-hero-banner--slide.amr-sin-degradado .amr-hs-visual {
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Subrayado de la palabra resaltada */
.amr-hero-banner.amr-sin-subrayado .amr-highlight::after { display: none !important; }
.amr-hero-banner.amr-sin-subrayado .amr-hero-title em { background: none !important; }

@media (max-width: 900px) {
  .amr-hero-banner--slide.amr-sin-degradado .amr-hs-visual {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
}


/* ==========================================================
   COLORES DE TEXTO POR BANNER (escritorio; en el celular el texto
   va sobre la tarjeta blanca y mantiene sus colores legibles)
   ========================================================== */
@media (min-width: 901px) {
  .amr-hero-banner.amr-c-title .amr-hero-title { color: var(--amr-b-title) !important; }
  .amr-hero-banner.amr-c-hl .amr-hero-title .amr-highlight,
  .amr-hero-banner.amr-c-hl .amr-hero-title em { color: var(--amr-b-hl) !important; }
  .amr-hero-banner.amr-c-text .amr-hero-desc { color: var(--amr-b-text) !important; }
  .amr-hero-banner.amr-c-small .amr-trust-text { color: var(--amr-b-small) !important; }
}


/* ==========================================================
   IMAGEN PARA CELULAR (opcional, por banner)
   ========================================================== */
.amr-hs-visual picture { display: contents; }
.amr-hs-visual.is-solo-movil { display: none; }

@media (max-width: 900px) {
  /* Banner principal: la foto de celular se ve completa arriba (ancho de pantalla, alto automático) */
  .amr-hero-banner.has-img-m {
    background-image:
      linear-gradient(180deg, rgba(248,250,255,0) 0%, rgba(248,250,255,0) 34%, rgba(248,250,255,.9) 46%, #f8faff 56%),
      var(--amr-img-hero-m) !important;
    background-size: 100% 100%, 100% auto !important;
    background-position: center top, center top !important;
    background-repeat: no-repeat !important;
  }
  .amr-hero-banner.has-img-m.amr-sin-degradado { background-image: var(--amr-img-hero-m) !important; background-size: 100% auto !important; }

  /* Banners del slider: la de celular no se recorta de lado */
  .amr-hs-visual.is-solo-movil { display: block; }
  .amr-hs-visual.has-img-m img { object-position: center top; }
}


/* PNG: caja (anima imagen + color juntos) y color en celular */
.amr-hero-banner .amr-png-box { position: relative; display: block; }
.amr-hero-banner .amr-png-box picture { display: block; }
.amr-hero-banner .amr-png-tint { display: none; }

@media (max-width: 900px) {
  .amr-hero-png.has-tint-m img { opacity: 0; }
  .amr-hero-png.has-tint-m .amr-png-tint {
    display: block;
    position: absolute;
    inset: 0;
    background-color: var(--amr-png-tint);
    -webkit-mask-image: var(--amr-png-mask);
    mask-image: var(--amr-png-mask);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
  }
}
