/* === MÓDULO CONTACTO MODIFICADO === */
.contact-section {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: linear-gradient(135deg, #f8f9ff, #fff5f8);
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: var(--breakpoint-desktop);
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.contact-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 25px;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow);
}

.contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* === CONTENIDO PRINCIPAL - UNA SOLA COLUMNA === */
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

/* === INFORMACIÓN DE CONTACTO MEJORADA === */
.contact-info {
  background: white;
  padding: var(--spacing-xl);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: 15px;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(138, 79, 255, 0.03), rgba(255, 107, 157, 0.03));
}

.info-item:hover {
  border-color: var(--primary-color);
  transform: translateX(10px);
  background: linear-gradient(135deg, rgba(138, 79, 255, 0.08), rgba(255, 107, 157, 0.08));
  box-shadow: 0 5px 20px rgba(138, 79, 255, 0.1);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.info-item:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-content h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
  color: var(--dark-color);
}

.info-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.info-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.info-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

/* === REDES SOCIALES MEJORADAS === */
.social-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: var(--spacing-xl);
  border-radius: 20px;
  color: white;
}

.social-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.social-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.social-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: var(--spacing-xl);
  border-radius: 20px;
  transition: all var(--transition-fast);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-normal);
}

.social-item:hover::before {
  left: 100%;
}

.social-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Colores específicos para cada red social */
.social-item.whatsapp:hover {
  border-color: #25D366;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(255, 255, 255, 0.1));
}

.social-item.facebook:hover {
  border-color: #1877F2;
  background: linear-gradient(135deg, rgba(24, 119, 242, 0.2), rgba(255, 255, 255, 0.1));
}

.social-item.instagram:hover {
  border-color: #E4405F;
  background: linear-gradient(135deg, rgba(228, 64, 95, 0.2), rgba(255, 255, 255, 0.1));
}

/* === ICONOS BLANCOS DEGRADADO - VERSIÓN BALANCEADA === */
.social-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-fast);
  border: 3px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

/* Fondo blanco degradado principal */
.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 50%,
    rgba(255, 255, 255, 0.92) 100%
  );
  z-index: 1;
}

.social-icon svg {
  position: relative;
  z-index: 2;
  color: #555;
  filter: brightness(0.8) contrast(1.1);
}

/* Fondos de marca sutiles */
.social-icon.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: inset 0 0 0 2px rgba(37, 211, 102, 0.4);
}

.social-icon.facebook {
  background: linear-gradient(135deg, #1877F2, #0D5FAB);
  box-shadow: inset 0 0 0 2px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
  box-shadow: inset 0 0 0 2px rgba(228, 64, 95, 0.4);
}

/* Efectos hover - blanco más puro y colores más visibles */
.social-item:hover .social-icon {
  transform: scale(1.15) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 0 0 4px rgba(255, 255, 255, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.social-item:hover .social-icon::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(255, 255, 255, 0.98) 100%
  );
}

.social-item:hover .social-icon svg {
  filter: brightness(0.6) contrast(1.2);
  transform: scale(1.05);
}

/* Efectos de glow en hover según la red social */
.social-item:hover .social-icon.whatsapp {
  box-shadow: 
    0 0 0 4px rgba(37, 211, 102, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(37, 211, 102, 0.2);
}

.social-item:hover .social-icon.facebook {
  box-shadow: 
    0 0 0 4px rgba(24, 119, 242, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(24, 119, 242, 0.2);
}

.social-item:hover .social-icon.instagram {
  box-shadow: 
    0 0 0 4px rgba(228, 64, 95, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.6),
    0 0 20px rgba(228, 64, 95, 0.2);
}

/* === TEXTOS DE REDES SOCIALES EN BLANCO === */
.social-name {
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: var(--spacing-xs);
  text-align: center;
  color: white;
}

.social-followers {
  font-size: 0.9rem;
  opacity: 0.9;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

/* Efectos hover en textos */
.social-item:hover .social-name {
  opacity: 1;
  transform: scale(1.05);
}

.social-item:hover .social-followers {
  opacity: 1;
}

/* Textos específicos para cada red social */
.social-item.whatsapp .social-followers {
  color: rgba(255, 255, 255, 0.9);
}

.social-item.facebook .social-followers {
  color: rgba(255, 255, 255, 0.9);
}

.social-item.instagram .social-followers {
  color: rgba(255, 255, 255, 0.9);
}

/* === HORARIOS DE ATENCIÓN MEJORADOS === */
.hours-section {
  background: white;
  padding: var(--spacing-xl);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hours-header {
  margin-bottom: var(--spacing-lg);
}

.hours-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-color);
}

.hours-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  max-width: 600px;
  margin: 0 auto;
}

.hours-item {
  background: linear-gradient(135deg, rgba(138, 79, 255, 0.05), rgba(255, 107, 157, 0.05));
  padding: var(--spacing-lg);
  border-radius: 15px;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
}

.hours-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(138, 79, 255, 0.1), rgba(255, 107, 157, 0.1));
}

.hours-day {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--dark-color);
  margin-bottom: var(--spacing-xs);
  display: block;
}

.hours-time {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
}

/* === ELEMENTOS DECORATIVOS === */
.contact-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 10%;
  animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 15%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* === RESPONSIVE CONTACTO MODIFICADO === */
@media (max-width: 968px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .social-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1.1rem;
  }

  .contact-info {
    padding: var(--spacing-lg);
  }

  .info-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
  }

  .info-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .social-section {
    padding: var(--spacing-lg);
  }

  .social-item {
    padding: var(--spacing-lg);
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    gap: var(--spacing-md);
  }

  .social-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .social-name {
    font-size: 1.1rem;
  }

  .social-followers {
    font-size: 0.8rem;
  }

  .hours-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.8rem;
  }

  .contact-info {
    padding: var(--spacing-md);
  }

  .info-content h3 {
    font-size: 1.2rem;
  }

  .info-content p {
    font-size: 1rem;
  }

  .social-title {
    font-size: 1.6rem;
  }

  .social-subtitle {
    font-size: 1rem;
  }

  .hours-title {
    font-size: 1.5rem;
  }

  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .social-name {
    font-size: 1rem;
  }

  .social-followers {
    font-size: 0.75rem;
  }
}