/* ATLAS · Popup "Soy asegurado" (App ATLAS) */

.atlas-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.atlas-popup.is-open { opacity: 1; visibility: visible; }

.atlas-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 20, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.atlas-popup__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #0b1220 0%, #060a16 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  padding: 44px 40px 40px;
  color: #fff;
  text-align: center;
  transform: translateY(18px) scale(.98);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.atlas-popup.is-open .atlas-popup__box { transform: translateY(0) scale(1); }

.atlas-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.atlas-popup__close:hover { background: rgba(255, 255, 255, .18); }

.atlas-popup__title {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin: 6px 0 16px;
}
.atlas-popup__body {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
  margin: 0 auto 30px;
  max-width: 400px;
}

.atlas-popup__stores {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.atlas-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  padding: 11px 18px;
  border-radius: 13px;
  background: #fff;
  color: #05070f;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.atlas-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.atlas-store-badge__icon { flex: 0 0 auto; display: flex; }
.atlas-store-badge__icon svg { width: 26px; height: 26px; display: block; }
.atlas-store-badge__txt { text-align: left; line-height: 1.15; }
.atlas-store-badge__small { display: block; font-size: 10px; letter-spacing: .3px; opacity: .7; }
.atlas-store-badge__big { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }

@media (max-width: 480px) {
  .atlas-popup__box { padding: 40px 22px 30px; }
  .atlas-store-badge { min-width: 100%; justify-content: center; }
}

/* Bloquea el scroll del fondo cuando el popup está abierto */
body.atlas-popup-open { overflow: hidden; }
