/* Servicios Cotizar Box */
.servicios-cotizar-wrapper {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease forwards;
}

.servicios-cotizar-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.servicios-cotizar-title::before {
  content: "🛒";
  font-size: 1.2rem;
}

.lista-servicios-cotizar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.servicio-tag {
  background: #1f2937;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.servicio-tag:hover {
  transform: translateY(-2px);
  border-color: #8b5cf6;
}

.servicio-tag i {
  color: #3b82f6;
  font-size: 0.8rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contacto Styles */
.contacto-main {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.contacto-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contacto-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  opacity: 0.1;
  animation: contacto-bg-pulse 4s ease-in-out infinite;
}

.contacto-hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contacto-hero-particles::before,
.contacto-hero-particles::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
  animation: contacto-float 6s ease-in-out infinite;
}

.contacto-hero-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: -2s;
}

.contacto-hero-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: -4s;
}

.contacto-hero-content {
  text-align: center;
  z-index: 2;
}

.contacto-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contacto-gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: contacto-gradient-shift 3s ease-in-out infinite;
}

.contacto-hero-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Info Section */
.contacto-info-section {
  padding: 80px 0;
  /* Changed background from #111 to #000 for better separation from social media section */
  background: #000;
}

.contacto-info-grid {
  display: grid;
  /* Changed from auto-fit to 3 columns since we now have phone, email, and hours */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-info-card {
  position: relative;
  background: #1f2937;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
  border: 1px solid #374151;
}

.contacto-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.contacto-info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  animation: contacto-icon-pulse 2s ease-in-out infinite;
}

.contacto-info-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.contacto-info-card p {
  color: #d1d5db;
  font-size: 1.1rem;
}

.contacto-info-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.contacto-info-card:hover .contacto-info-hover-effect {
  left: 100%;
}

/* Form Section */
.contacto-form-section {
  padding: 80px 0;
  background: #000;
}

.contacto-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contacto-form-content {
  text-align: center;
  margin-bottom: 3rem;
}

.contacto-form-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contacto-form-subtitle {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 500px;
  margin: 0 auto;
}

.contacto-form {
  background: #1f2937;
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid #374151;
}

.contacto-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contacto-form-group {
  position: relative;
}

.contacto-form-full {
  grid-column: 1 / -1;
}

.contacto-form input,
.contacto-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #374151;
  padding: 1rem 0;
  font-size: 1rem;
  color: #fff;
  transition: all 0.3s ease;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
  outline: none;
  border-bottom-color: #8b5cf6;
}

.contacto-form label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 1rem;
  color: #9ca3af;
  transition: all 0.3s ease;
  pointer-events: none;
}

.contacto-form input:focus + label,
.contacto-form input:valid + label,
.contacto-form textarea:focus + label,
.contacto-form textarea:valid + label {
  top: -0.5rem;
  font-size: 0.875rem;
  color: #8b5cf6;
}

.contacto-form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  transition: width 0.3s ease;
}

.contacto-form input:focus ~ .contacto-form-line,
.contacto-form textarea:focus ~ .contacto-form-line {
  width: 100%;
}

.contacto-submit-btn {
  position: relative;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  margin-top: 1rem;
}

.contacto-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.contacto-btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: contacto-ripple 0.6s linear;
}

/* Social Section */
.contacto-social-section {
  padding: 80px 0;
  background: #111;
}

.contacto-social-content {
  text-align: center;
}

.contacto-social-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Updated hours info to be simple text above social grid */
.contacto-hours-info {
  text-align: center;
  margin-bottom: 3rem;
}

.contacto-hours-info p {
  color: #d1d5db;
  font-size: 1.1rem;
  margin: 0;
}

/* Updated social grid to match the exact design from the image */
.contacto-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contacto-social-card {
  position: relative;
  background: #2d3748;
  padding: 2.5rem 1.5rem;
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #4a5568;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  /* Added glow effect and enhanced hover animations */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contacto-social-card:hover {
  transform: translateY(-8px) scale(1.02);
  /* Enhanced glow effect with brand colors */
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3), 0 5px 15px rgba(0, 0, 0, 0.4);
  border-color: #8b5cf6;
}

/* Added glowing animation for social cards */
.contacto-social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.contacto-social-card:hover::before {
  left: 100%;
}

.contacto-social-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.contacto-social-name {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Individual social media brand colors */
.contacto-social-card.facebook .contacto-social-icon {
  color: #1877f2;
}

.contacto-social-card.instagram .contacto-social-icon {
  color: #e4405f;
}

.contacto-social-card.linkedin .contacto-social-icon {
  color: #0077b5;
}

.contacto-social-card.gmail .contacto-social-icon {
  color: #ea4335;
}

.contacto-social-card.whatsapp .contacto-social-icon {
  color: #25d366;
}

.contacto-social-card.discord .contacto-social-icon {
  color: #5865f2;
}


/* Animations */
@keyframes contacto-bg-pulse {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
}

@keyframes contacto-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes contacto-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes contacto-icon-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes contacto-ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@keyframes bounce {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-hero-title {
    font-size: 2.5rem;
  }

  .contacto-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contacto-form {
    padding: 2rem;
  }

  .contacto-info-grid {
    /* Changed to single column on mobile for better readability */
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contacto-social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contacto-social-card {
    min-height: 120px;
    padding: 2rem 1rem;
  }

  .contacto-social-icon {
    font-size: 2rem;
  }

  .contacto-social-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contacto-social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contacto-social-card {
    min-height: 100px;
    padding: 1.5rem 0.5rem;
  }

  .contacto-social-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .contacto-social-name {
    font-size: 0.9rem;
  }

  .contacto-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contacto-info-card {
    padding: 2rem;
  }
}


/* CARD */
.card_horario {
    width: 250px;
    padding: 30px;
    border-radius: 20px;
    background: #1f2a38;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* MODAL FONDO */
.modal_horario {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

/* CONTENIDO */
.modal-contenido {
    background: white;
    padding: 30px;
    width: 300px;
    border-radius: 15px;
    margin: 15% auto;
    position: relative;
    text-align: center;
}

/* BOTÓN CERRAR */
.cerrar_modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 25px;
    cursor: pointer;
}