/* ==========================================================================
   Bloque de Contacto "Hablemos" (compartido entre páginas públicas)
   Usado en: index.html, seguimiento.html, terminos-y-privacidad.html
   Paleta oficial: Terracota #A34828 · Oro #C5A059 · Crema #FAF6EE
   ========================================================================== */
.tfal-contact {
  max-width: 960px;
  width: calc(100% - 32px);
  margin: 0 auto 32px;
  padding: 28px 24px;
  background: #FAF6EE;
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: 16px;
  text-align: center;
  color: #3B2A22;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

.tfal-contact *,
.tfal-contact *::before,
.tfal-contact *::after {
  box-sizing: border-box;
}

.tfal-contact-title {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #A34828;
  line-height: 1.2;
}

.tfal-contact-sub {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: #6B5A4E;
}

.tfal-contact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tfal-contact-list > li {
  margin: 0;
}

.tfal-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 16px 10px;
  background: #FFFFFF;
  border: 1px solid #EADFCB;
  border-radius: 12px;
  color: #3B2A22;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tfal-contact-item:hover {
  transform: translateY(-2px);
  border-color: #C5A059;
  box-shadow: 0 8px 20px rgba(163, 72, 40, 0.12);
  color: #3B2A22;
}

.tfal-contact-item:focus-visible {
  outline: 2px solid #C5A059;
  outline-offset: 2px;
}

.tfal-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #A34828;
  color: #FFFFFF;
  transition: background 0.18s ease;
}

.tfal-contact-item:hover .tfal-contact-icon {
  background: #C5A059;
}

/* WhatsApp conserva su verde para reconocimiento inmediato */
.tfal-contact-item.is-wa .tfal-contact-icon,
.tfal-contact-item.is-wa:hover .tfal-contact-icon {
  background: #25D366;
}

.tfal-contact-icon svg {
  width: 22px;
  height: 22px;
}

.tfal-contact-label {
  font-size: 0.95rem;
  font-weight: 700;
}

.tfal-contact-hint {
  font-size: 0.76rem;
  color: #6B5A4E;
  word-break: break-word;
}

@media (max-width: 640px) {
  .tfal-contact {
    padding: 22px 16px;
  }
  .tfal-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .tfal-contact-item,
  .tfal-contact-icon {
    transition: none;
  }
  .tfal-contact-item:hover {
    transform: none;
  }
}
