
:root {
  --rojo: #aa3824;
  --rojo-oscuro: #90271a;
  --amarillo: #c9902b;
  --amarillo-hover: #a8741f;
  --texto: #0F172A;
  --gris: #334155;
  --gris-claro: #E5E7EB;
  --blanco: #FFFFFF;
  --sombra-suave: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* =================== ANIMACIONES ======================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-contacto {
  background: linear-gradient(135deg, #aa3824 0%, #90271a 50%, #7f2418 100%);
  color: var(--blanco);
  text-align: center;
  padding: 6rem 2rem 5rem;
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sombra-suave);
}

.hero-contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-contacto h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.8s ease;
}

.hero-contacto p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  animation: fadeInUp 0.9s ease 0.3s backwards;
}

.contactos {
  padding: 4rem 0;
  animation: fadeInUp 0.9s ease 0.4s backwards;
}
.contactos h2 {
  color: var(--texto);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
  animation: fadeInDown 0.8s ease;
}
.grid-contactos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--blanco);
  border: 1px solid var(--gris-claro);
  border-radius: 1rem;
  padding: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: scaleIn 0.6s ease backwards;
}
.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.contact-card h3 {
  color: var(--rojo);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}
.contact-card p {
  color: var(--gris);
  font-size: 0.95rem;
  margin: 0.2rem 0;
}
.contact-card.especial {
  border-left: 6px solid var(--amarillo);
  background: #fef9f5;
  margin-top: 2rem;
  animation-delay: 0.4s;
}
.contact-card.especial h3 {
  color: #b56d1f;
}
.nota {
  font-size: 0.9rem;
  color: #90271a;
  margin-top: 0.6rem;
  font-style: italic;
}

.mensaje-final {
  background: #fef9f5;
  border-left: 6px solid var(--amarillo);
  padding: 2.2rem;
  border-radius: 0.8rem;
  margin-top: 3rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.9s ease 0.6s backwards;
}
.mensaje-final h2 {
  color: var(--rojo);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.mensaje-final p {
  color: var(--gris);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 850px;
  margin: 0 auto;
}

footer {
  background: linear-gradient(135deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--blanco);
  font-size: 0.95rem;
  margin-top: 3rem;
  animation: fadeInUp 1s ease 0.8s backwards;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-contacto {
    padding-top: 7rem;
  }
}
