/* ===== Accesos flotantes ===== */
.utpl-whatsapp-float {
  position: fixed;
  right: 2.1rem;
  bottom: 2.8rem;
  z-index: 2300;
}

.utpl-social-float {
  display: block;
}

.utpl-social-float__details {
  position: relative;
}

.utpl-social-float__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 18rem;
  min-height: 4.35rem;
  padding: 0.76rem 1.45rem;
  color: #fff;
  font-size: 1.245rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  text-transform: none;
  background: #07346c;
  border: 2px solid #eaab00;
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(7, 27, 52, 0.34), 0 0 18px rgba(234, 171, 0, 0.58);
  cursor: pointer;
  list-style: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.utpl-social-float__toggle::-webkit-details-marker {
  display: none;
}

.utpl-social-float__toggle:hover,
.utpl-social-float__toggle:focus-visible,
.utpl-social-float__details[open] .utpl-social-float__toggle {
  color: #fff;
  background: #082f61;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(7, 27, 52, 0.4), 0 0 22px rgba(234, 171, 0, 0.72);
}

.utpl-social-float__toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, #eaab00 48%, white 52%);
  outline-offset: 4px;
}

.utpl-social-float__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  color: #eaab00;
}

.utpl-social-float__toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.utpl-social-float__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.7rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  width: 18rem;
  min-width: 18rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

.utpl-social-float__details[open] .utpl-social-float__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.utpl-social-float__item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: min(18rem, calc(100vw - 2.7rem));
  min-height: 3.35rem;
  padding: 0.48rem 1.25rem 0.48rem 0.8rem;
  color: #071b34;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  background: #fff;
  border: 2px solid rgba(7, 27, 52, 0.18);
  border-radius: 999px;
  box-shadow: 0 9px 20px rgba(7, 27, 52, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.utpl-social-float__item:hover,
.utpl-social-float__item:focus-visible {
  color: #071b34;
  border-color: rgba(7, 27, 52, 0.18);
  transform: translateX(-2px);
  box-shadow: 0 18px 36px rgba(7, 27, 52, 0.28);
}

.utpl-social-float__item:focus-visible {
  outline: 3px solid color-mix(in srgb, #071b34 38%, white 62%);
  outline-offset: 3px;
}

.utpl-social-float__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 2.55rem;
  overflow: hidden;
  color: #fff;
  border-radius: 50%;
}

.utpl-social-float__item-icon svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.utpl-social-float__item-label {
  overflow-wrap: anywhere;
}

.utpl-social-float__item--whatsapp .utpl-social-float__item-icon {
  background: #25d366;
}

.utpl-social-float__item--facebook .utpl-social-float__item-icon {
  background: #1877f2;
}

.utpl-social-float__item--instagram .utpl-social-float__item-icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0 14%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
}

.utpl-social-float__item--tiktok .utpl-social-float__item-icon {
  background: #111;
}

.utpl-social-float__item--youtube .utpl-social-float__item-icon {
  background: #ff0000;
}

.utpl-social-float__item--flickr .utpl-social-float__item-icon {
  background: #fff;
  border: 1px solid rgba(7, 27, 52, 0.1);
}

.utpl-social-float__item--flickr .utpl-social-float__item-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.utpl-social-float__flickr-dot--pink {
  fill: #ff0084;
}

.utpl-social-float__flickr-dot--blue {
  fill: #0063dc;
}

.utpl-whatsapp-float__link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 5.35rem;
  height: 5.35rem;
  overflow: hidden;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.utpl-whatsapp-float__link:hover,
.utpl-whatsapp-float__link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

.utpl-whatsapp-float__link:focus-visible {
  outline-offset: 4px;
}

.utpl-whatsapp-float__link--whatsapp {
  background: #25d366;
  box-shadow: 0 16px 34px rgba(7, 27, 52, 0.28), 0 0 0 0.45rem rgba(37, 211, 102, 0.22);
}

.utpl-whatsapp-float__link--whatsapp:hover,
.utpl-whatsapp-float__link--whatsapp:focus-visible {
  background: #1fb85a;
  box-shadow: 0 20px 40px rgba(7, 27, 52, 0.34), 0 0 0 0.5rem rgba(37, 211, 102, 0.28);
}

.utpl-whatsapp-float__link--whatsapp:focus-visible {
  outline: 3px solid color-mix(in srgb, #25d366 48%, white 52%);
}

.utpl-whatsapp-float__link--facebook {
  background: #1877f2;
  box-shadow: 0 16px 34px rgba(7, 27, 52, 0.25), 0 0 0 0.45rem rgba(24, 119, 242, 0.2);
}

.utpl-whatsapp-float__link--facebook:hover,
.utpl-whatsapp-float__link--facebook:focus-visible {
  background: #0f63d1;
  box-shadow: 0 20px 40px rgba(7, 27, 52, 0.32), 0 0 0 0.5rem rgba(24, 119, 242, 0.26);
}

.utpl-whatsapp-float__link--facebook:focus-visible {
  outline: 3px solid color-mix(in srgb, #1877f2 48%, white 52%);
}

.utpl-whatsapp-float__link--flickr {
  background: linear-gradient(135deg, #ff0084 0 50%, #0063dc 50% 100%);
  box-shadow: 0 16px 34px rgba(7, 27, 52, 0.25), 0 0 0 0.45rem rgba(122, 79, 180, 0.16);
}

.utpl-whatsapp-float__link--flickr:hover,
.utpl-whatsapp-float__link--flickr:focus-visible {
  background: linear-gradient(135deg, #e10075 0 50%, #0055bc 50% 100%);
  box-shadow: 0 20px 40px rgba(7, 27, 52, 0.32), 0 0 0 0.5rem rgba(122, 79, 180, 0.22);
}

.utpl-whatsapp-float__link--flickr:focus-visible {
  outline: 3px solid color-mix(in srgb, #7a4fb4 45%, white 55%);
}

.utpl-whatsapp-float__image,
.utpl-whatsapp-float__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.utpl-whatsapp-float__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.utpl-whatsapp-float__fallback svg {
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  fill: currentColor;
}

@media (max-width: 767px) {
  .utpl-whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .utpl-social-float {
    max-width: calc(100vw - 1.5rem);
  }

  .utpl-social-float__toggle {
    width: min(13rem, calc(100vw - 1.5rem));
    min-width: 0;
    min-height: 3.2rem;
    gap: 0.7rem;
    padding: 0.58rem 0.9rem;
    font-size: 0.95rem;
  }

  .utpl-social-float__menu {
    gap: 0.5rem;
    width: min(15rem, calc(100vw - 1.5rem));
    min-width: 0;
    max-width: calc(100vw - 1.5rem);
  }

  .utpl-social-float__item {
    max-width: 100%;
    min-height: 3.1rem;
    padding: 0.42rem 1rem 0.42rem 0.65rem;
    font-size: 0.98rem;
  }

  .utpl-social-float__item-icon {
    width: 2.35rem;
    height: 2.35rem;
    flex-basis: 2.35rem;
  }

  .utpl-whatsapp-float__link {
    width: 4.45rem;
    height: 4.45rem;
  }

  .utpl-whatsapp-float__fallback svg {
    width: 2.25rem;
    height: 2.25rem;
  }
}
