/* =============================================
   POSTAMI.CSS
   Landing: Postami – Posta elettronica aziendale
   ============================================= */

/* -----------------------------------------------
   HERO — card destra
----------------------------------------------- */
.postami-features {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  animation: postamiFloat 6s ease-in-out infinite;
}

@keyframes postamiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (hover: hover) {
  .postami-features:hover {
    border-color: rgba(240,90,26,.35);
    box-shadow: 0 22px 45px rgba(7,25,45,.14);
    transform: translateY(-4px) scale(1.01);
  }

  .postami-features:hover .srv-hero__visual-list li {
    transform: translateX(6px);
    color: var(--c-dark);
  }

  /* Ritardo sequenziale per gli elementi della lista */
  .postami-features:hover .srv-hero__visual-list li:nth-child(1) { transition-delay: 0.05s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(2) { transition-delay: 0.10s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(3) { transition-delay: 0.15s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(4) { transition-delay: 0.20s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(5) { transition-delay: 0.25s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(6) { transition-delay: 0.30s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(7) { transition-delay: 0.35s; }
  .postami-features:hover .srv-hero__visual-list li:nth-child(8) { transition-delay: 0.40s; }
}

.postami-features .srv-hero__visual-list li {
  transition: transform .4s cubic-bezier(.22,1,.36,1), color .3s ease;
}

/* -----------------------------------------------
   GRID 3 CARD SERVIZIO
----------------------------------------------- */
.postami-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.postami-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  position: relative;
  overflow: hidden;
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s cubic-bezier(.22,1,.36,1),
    border-color .4s ease;
}

.postami-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.2) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .postami-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(7,25,45,.12);
    border-color: rgba(240,90,26,.30);
  }
  
  .postami-card:hover::after {
    transform: translateX(120%);
  }

  .postami-card:hover img {
    transform: scale(1.05);
  }
}

.postami-card__img-wrapper {
  width: 100%;
  height: 140px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--sp-sm);
  background: var(--c-bg);
}

.postami-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.postami-card__icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.postami-card__title {
  font-family: var(--f-heading);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-dark);
}

.postami-card__desc {
  font-size: var(--t-base);
  color: var(--c-gray);
  line-height: 1.65;
}

/* -----------------------------------------------
   SEZIONE GESTITA
----------------------------------------------- */
.postami-managed {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.postami-managed__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto var(--sp-lg);
  width: fit-content;
  text-align: left;
}

.postami-managed__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-md);
  color: var(--c-gray);
}

.postami-managed__list li::before {
  content: '✓';
  color: var(--c-orange);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.postami-inline-link {
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--c-orange);
  transition: color var(--tr);
  display: inline-block;
}

.postami-inline-link:hover {
  color: var(--c-dark);
}

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 768px) {
  .postami-cards {
    grid-template-columns: 1fr;
  }
}

