/* IKONKY – MODERNÍ BADGE */

.contact_gridTwo {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.contact__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  color: #ffffff;
  padding: 0.75em 1em;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact__item:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.contact__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #cde2ff 40%, #0053B1 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* jemný vnější prstenec */
.contact__icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0.9;
}

/* samotná ikonka uvnitř */
.contact__icon img {
  max-width: 60%;
  max-height: 60%;
  display: block;
}

/* TEXT U IKON – oprava selektoru + typografie */
.contact__text h3,
.contact__text p {
  margin: 0;
}

.contact__text h3 {
  font-size: 1rem;
  font-weight: 600;
}

.contact__text p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 2px;
}

/* Startovní stav – skryté + posunuté */
.contact_gridOne,
.contact_gridTwo {
  opacity: 0;
  transform: translateX(40px);
  transition: transform 700ms cubic-bezier(.17,.67,.36,1),
  opacity 700ms ease;
  will-change: transform, opacity;
}

/* Levá strana vyjíždí zleva */
.contact_gridOne {
  transform: translateX(-40px);
}

/* Po aktivaci animace */
.contact_gridOne.in-view,
.contact_gridTwo.in-view {
  opacity: 1;
  transform: translateX(0);
}

