/* ============================================
   SERVICIOS.CSS - Estilos para Página de Servicios
   ============================================ */

/* HERO SECTION - SERVICIOS */
.servicios-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0a2e1a 50%, #2e1a0a 100%);
  position: relative;
}

.servicios-hero .hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.9) 0%,
    rgba(10, 46, 26, 0.7) 40%,
    rgba(46, 26, 10, 0.8) 100%
  );
  animation: gradientShiftServicios 8s ease infinite;
  z-index: 1;
}

@keyframes gradientShiftServicios {
  0%, 100% {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 46, 26, 0.7) 40%, rgba(46, 26, 10, 0.8) 100%);
  }
  50% {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(46, 26, 10, 0.7) 40%, rgba(10, 46, 26, 0.8) 100%);
  }
}

.servicios-hero .hero-content {
  z-index: 3;
}

/* MAIN CONTENT */
.servicios-main {
  background-color: #000;
  color: #fff;
}

/* SECTION BASE */
section {
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-family: 'Michroma', sans-serif;
  background: linear-gradient(135deg, #00f0ff, #00d9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INTRO SECTION */
.intro-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #0a1a0a 100%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.intro-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #ddd;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES GRID */
.services-grid-section {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-tile {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 35px;
  border-radius: 12px;
  transition: all 0.3s ease;
  animation: zoomIn 0.8s ease both;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-tile:nth-child(1) { animation-delay: 0.1s; }
.service-tile:nth-child(2) { animation-delay: 0.2s; }
.service-tile:nth-child(3) { animation-delay: 0.3s; }
.service-tile:nth-child(4) { animation-delay: 0.4s; }

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.service-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.service-tile:hover::before {
  left: 100%;
}

.service-tile:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.15);
}

.tile-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.tile-icon {
  font-size: 2.5rem;
  display: block;
}

.tile-header h3 {
  font-size: 1.3rem;
  color: #00f0ff;
  font-family: 'Michroma', sans-serif;
  margin: 0;
}

.tile-description {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tile-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.tile-cta {
  color: #00f0ff;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.service-tile:hover .tile-cta {
  transform: translateX(5px);
}

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, #00f0ff 0%, #0099ff 100%);
  color: #000;
  text-align: center;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  background: none;
  -webkit-text-fill-color: unset;
  color: #000;
  margin-bottom: 20px;
  font-size: 3rem;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 300;
}

.btn-premium {
  background: #000;
  color: #00f0ff;
  padding: 18px 45px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  background: #1a1a1a;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }

  section h2 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 15px;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .service-tile {
    padding: 25px;
  }
}
