/* Hero oficial Gröber IA PRO con controles HTML funcionales */
.grober-impact-hero {
  position: relative;
  width: min(100%, 1536px);
  margin: 0 auto;
  overflow: hidden;
  background: #050505;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  isolation: isolate;
}
.grober-impact-hero picture,
.grober-impact-hero picture img {
  display: block;
  width: 100%;
  height: auto;
}
.grober-impact-hero__hotspot {
  position: absolute;
  z-index: 3;
  bottom: 4.6%;
  height: 5.2%;
  min-height: 38px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.grober-impact-hero__hotspot:hover,
.grober-impact-hero__hotspot:focus-visible {
  border-color: rgba(255, 213, 0, .95);
  background: rgba(255, 210, 0, .08);
  box-shadow: 0 0 0 4px rgba(255, 210, 0, .16), 0 0 26px rgba(255, 210, 0, .3);
  transform: translateY(-2px);
  outline: none;
}
.grober-impact-hero__hotspot--products { left: 14.2%; width: 20.8%; }
.grober-impact-hero__hotspot--quote { left: 36.7%; width: 20.8%; }
.grober-impact-hero__hotspot--recommend { left: 59.3%; width: 27.5%; }
.grober-impact-hero__mobile-actions { display: none; }

@media (max-width: 900px) {
  .grober-impact-hero { border-radius: 0 0 20px 20px; }
  .grober-impact-hero__hotspot { display: none; }
  .grober-impact-hero__mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    background: linear-gradient(180deg,#080808,#111);
  }
  .grober-impact-hero__mobile-actions a,
  .grober-impact-hero__mobile-actions button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: 0;
    text-decoration: none;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
  }
  .grober-impact-hero__mobile-actions a,
  .grober-impact-hero__mobile-actions button:last-child {
    color: #111;
    background: linear-gradient(135deg,#ffd51a,#f6a800);
    box-shadow: 0 9px 24px rgba(255,190,0,.2);
  }
  .grober-impact-hero__mobile-actions button:nth-child(2) {
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    background: #171717;
    box-shadow: none;
  }
}


/* Botón flotante de recomendaciones Gröber IA PRO */
.ai-floating-recommend {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  min-height: 58px;
  max-width: calc(100vw - 32px);
  padding: 10px 20px 10px 11px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 211, 20, .78);
  border-radius: 999px;
  color: #111318;
  background: linear-gradient(135deg, #ffe04d 0%, #ffc400 48%, #f3a600 100%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .25), 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 28px rgba(255, 196, 0, .28);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  animation: groberFloatIn .45s ease both, groberFloatPulse 3s ease-in-out 1s infinite;
}
.ai-floating-recommend:hover,
.ai-floating-recommend:focus-visible {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.04);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .3), 0 0 34px rgba(255, 196, 0, .42);
  outline: none;
}
.ai-floating-recommend:active { transform: translateY(-1px) scale(.98); }
.ai-floating-recommend__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffd21a;
  background: #111318;
  box-shadow: 0 5px 14px rgba(0,0,0,.25);
  font-size: 19px;
}
.ai-floating-recommend__text { white-space: nowrap; }
@keyframes groberFloatIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes groberFloatPulse {
  0%, 72%, 100% { box-shadow: 0 14px 38px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 22px rgba(255,196,0,.2); }
  82% { box-shadow: 0 14px 38px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.35) inset, 0 0 42px rgba(255,196,0,.52); }
}
@media (max-width: 760px) {
  .ai-floating-recommend {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    min-height: 54px;
    padding: 8px 16px 8px 9px;
    gap: 9px;
    font-size: 13px;
    box-shadow: 0 12px 30px rgba(0,0,0,.28), 0 0 24px rgba(255,196,0,.28);
  }
  .ai-floating-recommend__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
}
@media (max-width: 370px) {
  .ai-floating-recommend__text { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-floating-recommend { animation: none; }
}
