/* ===============================
   CONTENEDOR PRINCIPAL
================================ */
.contact-page {
  padding-top: calc(130px + 3rem); 
  padding-bottom: 4rem;
  min-height: 100vh;
  background-color: var(--color-fondo);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ===============================
   TARJETA DE CONTACTO
================================ */
.contact-box {
  background: white;
  padding: 3.5rem 3rem;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  max-width: 600px;
  width: 100%; 
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s ease-out forwards;
}

/* Línea decorativa superior */
.contact-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primario), var(--color-acento));
}

/* ===============================
   TEXTO
================================ */
.contact-box h1 {
  font-size: 2.4rem;
  color: var(--color-primario);
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.contact-intro {
  color: var(--color-texto);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.contact-extra {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #666;
  border-top: 1px solid #f0f0f0;
  padding-top: 1.5rem;
}

.contact-extra p {
  margin-bottom: 0.5rem;
}

/* ===============================
   BOTÓN WHATSAPP
================================ */
.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin-bottom: 1rem;
}

.btn-whatsapp-large:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.5);
  background-color: #22bf5b;
}

/* ===============================
   REDES SOCIALES
================================ */
.social-links {
  margin-top: 1.5rem;
}

.social-links p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.social-links a {
  color: var(--color-primario);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background-color: rgba(0,0,0,0.03); 
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: white;
  background-color: var(--color-primario);
  transform: translateY(-2px);
}

/* ===============================
   ANIMACIÓN KEYFRAMES
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE (MEDIA QUERIES)
================================ */

@media (max-width: 992px) {
  .contact-page {
    padding-top: calc(100px + 3rem);
  }
}

/* MÓVILES (max-width: 768px) */
@media (max-width: 768px) {
  
  .contact-page {
    padding-top: calc(90px + 2rem); 
    padding-bottom: 2rem;
  }

  .contact-box {
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    width: 95%; 
  }

  .contact-box h1 {
    font-size: 1.8rem;
  }

  .contact-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .btn-whatsapp-large {
    width: 100%;
    box-sizing: border-box; 
  }

  .social-links div {
    gap: 10px;
  }
  
  .social-links a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}