/*secciones-contacto.css*/


/* ================================ SECTION ================================ */
.section-contacto {
  max-width: var(--section-width, 1200px);
  margin: var(--section-margin);
  padding: var(--section-padding);
  background: transparent;
  border: none;
  box-shadow: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contactos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}

/* ================================ TARJETAS ================================ */
.contacto {
  background: linear-gradient(145deg, #0a0a0a, #000);
  border-radius: 10px;
  padding: 30px;
  max-width: 900px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  text-align: left;
  opacity: 0;
  transform: translateY(40px) scale(0.9) rotateY(10deg);
  transition: transform 0.4s ease, box-shadow 0.6s ease, border 0.6s ease;
  position: relative;
  overflow: hidden;
}

/* Marco dorado interno */
.contacto::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 8px;
  pointer-events: none;
}

/* Animación de aparición */
.contacto.visible {
  animation: aparecer 1s ease forwards;
}

@keyframes aparecer {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9) rotateY(10deg);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px) scale(1.05) rotateY(0deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg);
  }
}

/* Hover estilo dorado */
.contacto:hover {
  transform: translateY(-12px) scale(1.08);
  box-shadow: 0 12px 28px rgba(212,175,55,0.55);
  border: 1px solid var(--dorado);
  z-index: 5;
}

/* ================================ IMÁGENES ================================ */
.contacto img {
  height: 160px;
  width: 160px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover sutil */
.contacto img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(212,175,55,0.35);
}


/* ================================ BLOQUE DE INFO ================================ */
.contacto .info {
  flex: 1;
}

/* ================================ TIPOGRAFÍA ================================ */
/* Título dorado con líneas */
.section-contacto h2 {
  font-size: var(--h2-size);
  margin-bottom: 40px;
  color: var(--dorado);
  text-transform: none;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(212,175,55,0.4);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section-contacto h2::before {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--dorado));
}

.section-contacto h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to left, transparent, var(--dorado));
}

.contacto h3 {
  color: var(--dorado);
  font-size: var(--h3-size);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: capitalize;
  letter-spacing: 1px;
}

.contacto .cargo {
  color: #ccc;
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-style: italic;
}

.contacto p {
  color: #f5f5f5;
  font-size: var(--p-size);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ================================ BOTÓN WHATSAPP ================================ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFD700, #DAA520, #B8860B);
  color: #111;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #FFF8DC, #FFD700, #DAA520);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212,175,55,0.6);
}


/* ================================ RESPONSIVE ================================ */
@media (max-width: 1024px) {
  .section-contacto {
    display: none;
  }
  .contacto {
    flex-direction: column;
    text-align: center;
  }
  .contacto .info {
    text-align: center;
  }
}
