/* ===== CÍRCULOS + HAZ DE LUZ + CRISTAL + REDES GRANDES A COLOR ===== */

/* 1. Hero con círculos/ondas wellness, movimiento y haz de luz */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.22) 0%, transparent 48%),
    linear-gradient(135deg, #FFFFFF 0%, #E3EEF9 55%, #D3E5F7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(13, 59, 102, 0.11) 1.5px, transparent 0),
    repeating-radial-gradient(circle at 85% 22%, rgba(37, 99, 235, 0.08) 0, rgba(37, 99, 235, 0.08) 18px, transparent 18px, transparent 42px);
  background-size: 26px 26px, 100% 100%;
  animation: gxCirclesDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 45%;
  height: 160%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(22deg);
  animation: gxLightSweep 8.5s ease-in-out infinite;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.logo-box img {
  border: 1px solid rgba(255, 255, 255, 0.85);
  animation: gxLogoFloat 5.5s ease-in-out infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo-box img:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 24px 48px rgba(13, 59, 102, 0.28);
}

/* 2. Sección Servicios con anillos y movimiento orgánico */
body > section:nth-of-type(2) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 25%, rgba(56, 189, 248, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 90% 75%, rgba(37, 99, 235, 0.14) 0%, transparent 48%),
    linear-gradient(180deg, #F8FBFE 0%, #EBF3FB 100%);
}

body > section:nth-of-type(2)::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  bottom: -150px;
  left: -130px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    rgba(37, 99, 235, 0.12) 0,
    rgba(37, 99, 235, 0.12) 14px,
    transparent 14px,
    transparent 34px
  );
  animation: gxRingFloat 11s ease-in-out infinite alternate;
  pointer-events: none;
}

body > section:nth-of-type(2) .wrap {
  position: relative;
  z-index: 1;
}

.servicios-icon-box {
  box-shadow:
    0 18px 36px rgba(13, 59, 102, 0.20),
    0 0 0 8px rgba(255, 255, 255, 0.85);
  animation: gxFloatGentle 6s ease-in-out infinite;
  transition: transform 0.35s ease;
}

.servicios-icon-box:hover {
  transform: translateY(-8px) scale(1.03);
}

/* 3. Sección Promociones con trama y profundidad */
.promos {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(56, 189, 248, 0.15) 0%, transparent 42%),
    radial-gradient(circle at 80% 85%, rgba(37, 99, 235, 0.16) 0%, transparent 45%),
    linear-gradient(180deg, #EEF5FC 0%, #E2EEF9 100%);
}

.promos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 59, 102, 0.08) 1.25px, transparent 1.25px);
  background-size: 30px 30px;
  pointer-events: none;
}

.promos .wrap {
  position: relative;
  z-index: 1;
}

/* 4. Tarjetas de Servicios y Promociones con relieve limpio y elevación */
.card,
.promo-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 12px 28px rgba(13, 59, 102, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.card:hover,
.promo-card:hover {
  background: #FFFFFF;
  transform: translateY(-9px) scale(1.015);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 22px 42px rgba(13, 59, 102, 0.18);
}

.promo-img img {
  transition: transform 0.32s ease;
}

.promo-card:hover .promo-img img {
  transform: scale(1.04);
}

/* 5. Bazar Casa Maktub con círculos, luz y movimiento */
.bazar {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 25%, rgba(56, 189, 248, 0.24) 0%, transparent 48%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0D3B66 0%, #1E5A94 100%);
}

.bazar::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  top: -140px;
  right: -130px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    rgba(255, 255, 255, 0.11) 0,
    rgba(255, 255, 255, 0.11) 14px,
    transparent 14px,
    transparent 34px
  );
  animation: gxRingFloat 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.bazar::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(22deg);
  animation: gxLightSweep 10s ease-in-out infinite;
  pointer-events: none;
}

.bazar .wrap {
  position: relative;
  z-index: 1;
}

.bazar-logo-box img {
  animation: gxFloatGentle 5.8s ease-in-out infinite;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bazar-logo-box img:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}

/* 6. Sección Visítanos + Botones de redes grandes y coloridos */
.ubicacion {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.20) 0%, transparent 58%),
    radial-gradient(circle at 85% 90%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    #E4EFF9;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 26px;
}

.red-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: 14px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.red-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.red-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 26px rgba(13, 59, 102, 0.26);
  filter: brightness(1.06);
}

.red-btn.ig {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 55%, #8134AF 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.red-btn.fb {
  background: linear-gradient(135deg, #1877F2 0%, #0D56B8 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

/* 7. Botones y WhatsApp flotante */
.btn {
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 22px rgba(13, 59, 102, 0.22);
}

.wa-float {
  animation: gxPulseWaStrong 2.3s infinite;
  transition: transform 0.22s ease;
}

.wa-float:hover {
  transform: scale(1.12);
}

@keyframes gxCirclesDrift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(18px, -14px);
  }
}

@keyframes gxRingFloat {
  0% {
    transform: translate(0, 0) scale(0.96);
  }
  100% {
    transform: translate(45px, -30px) scale(1.12);
  }
}

@keyframes gxLightSweep {
  0% {
    left: -65%;
  }
  45%, 100% {
    left: 135%;
  }
}

@keyframes gxLogoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes gxFloatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes gxPulseWaStrong {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  65% {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), 0 0 0 18px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  body > section:nth-of-type(2)::before,
  .bazar::before,
  .bazar::after,
  .logo-box img,
  .servicios-icon-box,
  .bazar-logo-box img,
  .wa-float {
    animation: none;
  }
  .logo-box img,
  .servicios-icon-box,
  .bazar-logo-box img,
  .card,
  .promo-card,
  .promo-img img,
  .btn,
  .red-btn {
    transition: none;
  }
}