/* ==========================================================================
   float-icons.css — floating action icons
   LEFT  : Google Review + Instagram   (.float-left-side)
   RIGHT : WhatsApp + Call             (.fab — existing, unchanged links)
   Both groups sit in the bottom corners, mirrored, on every screen size, so
   they never cover the hero heading, the buttons or the Urbania itself.
   ========================================================================== */
.float-left-side {
  position: fixed; z-index: 90;
  left: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: 10px;
}
.fab { right: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

.float-icon {
  position: relative; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(17, 19, 19, 0.14), 0 0 0 4px rgba(255, 255, 255, 0.18), 0 12px 26px -10px rgba(17, 19, 19, 0.6);
  transition: transform 0.45s var(--ease), box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.fab a { width: 46px; height: 46px; }
.fab a svg { width: 22px; height: 22px; }

.google-icon { background: #ffffff; }
.google-icon .google-g { width: 22px; height: 22px; }
.float-icon__star {
  position: absolute; right: -2px; top: -2px; width: 17px; height: 17px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fbbc05; box-shadow: 0 0 0 2px #ffffff;
}
.float-icon__star svg { width: 10px; height: 10px; fill: #ffffff; }
.instagram-icon {
  color: #ffffff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.instagram-icon svg { width: 22px; height: 22px; }

/* hover label — mirrors the WhatsApp / Call labels, opening to the right */
.float-icon__label {
  position: absolute; left: calc(100% + 14px); white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 8px 12px;
  opacity: 0; transform: translateX(-8px); pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.fab__label { right: calc(100% + 14px); }

/* subtle interaction: small hover scale on desktop, small press on touch */
@media (hover: hover) {
  .float-icon:hover { transform: scale(1.07); }
  .float-icon:hover .float-icon__label { opacity: 1; transform: none; }
  .fab a:hover { transform: scale(1.07); }
}
.float-icon:active, .fab a:active { transform: scale(0.93); transition-duration: 0.12s; }
.float-icon:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* very subtle entrance */
@keyframes floatInLeft { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes floatInRight { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.float-left-side { animation: floatInLeft 0.5s var(--ease) 0.9s backwards; }
.fab { animation: floatInRight 0.5s var(--ease) 0.9s backwards; }


/* on short phone screens a group steps aside while it would cover the hero
   heading or hero buttons (toggled by js/float-icons.js) */
.float-left-side, .fab { transition: opacity 0.3s ease, visibility 0s linear 0s; }
.float-left-side.is-tucked, .fab.is-tucked {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

@media (min-width: 768px) {
  .float-left-side { left: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .fab { right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
  .float-icon, .fab a { width: 50px; height: 50px; }
  .google-icon .google-g, .instagram-icon svg, .fab a svg { width: 24px; height: 24px; }
}

@media (min-width: 1024px) {
  .float-left-side { left: 24px; bottom: 24px; gap: 14px; }
  .fab { right: 24px; bottom: 24px; gap: 14px; }
  .float-icon, .fab a { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .float-left-side, .fab { animation: none; }
}
