/* Cover Service Specific Styles */

/* Why Use Section */
.why-section {
  padding: 60px 0;
  background: #0d0f14;
  color: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.why-card {
  background: #151922;
  border: 1px solid #2a2f3b;
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: #6f3ef5;
}
.why-icon {
  width: 50px;
  height: 50px;
  background: rgba(111, 62, 245, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #6f3ef5;
}
.why-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.why-desc {
  color: #9aa4b2;
  line-height: 1.6;
  font-size: 15px;
}

/* Transformation Section (Reference Style) */
.transform-section {
  background: #000;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
.transform-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.transform-content {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 2;
}
.transform-label {
  color: #d946ef; /* Magenta/Pink from reference */
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
}
.transform-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  text-transform: uppercase;
}
.transform-desc {
  font-family: 'Courier New', monospace; /* Monospace font like reference */
  color: #ccc;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.transform-desc strong {
  color: #fff;
  background: #000;
  padding: 2px 4px;
  border: 1px solid #fff; /* Boxed text style */
}
.transform-cta {
  color: #d946ef;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Vertical Infinite Slider */
.slider-container {
  flex: 1;
  height: 600px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.slider-track {
  display: flex;
  gap: 20px;
  /* We will have multiple columns if needed, but for now one row of vertical cards? 
     The reference shows multiple columns (strips) of vertical images. 
     Let's make 3 columns of vertical scrolling images with different speeds.
  */
  justify-content: center;
}
.slider-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scrollVertical 40s linear infinite;
}
.slider-column.reverse {
  animation-direction: reverse;
}
.slider-column.slow {
  animation-duration: 100s;
}
.slider-column.fast {
  animation-duration: 60s;
}
.slider-item {
  width: 200px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #333;
}
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.slider-item:hover img {
  transform: scale(1.1);
}

@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@media (max-width: 900px) {
  .transform-container {
    flex-direction: column;
    padding: 40px 24px;
  }
  .slider-container {
    flex: none;
    width: 100%;
    height: 40vh; /* Altura dinámica controlada */
    max-height: 350px;
    overflow: hidden !important;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    pointer-events: none;
    margin-top: 20px;
  }
  .slider-column.fast {
    display: none; /* Mostrar solo una columna en móviles para limpiar la vista */
  }
  .slider-item {
    width: 160px; /* Ajustar tamaño para móvil */
    height: 240px;
  }
  .transform-title {
    font-size: 2.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .transform-desc, .transform-cta {
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  /* Optional: Hide one column on very small screens if needed, but height reduction + pointer-events helps most */
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #0f1218;
  color: #fff;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #151922;
  border: 1px solid #2a2f3b;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: #6f3ef5;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  color: #6f3ef5;
  transition: transform 0.3s;
}
.faq-question.active {
  background: #1a202c;
}
.faq-question.active::after {
  transform: rotate(45deg);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 24px 24px 24px;
  margin: 0;
  color: #9aa4b2;
  line-height: 1.6;
}

/* New SEO Info Section */
.info-section {
  padding: 80px 0;
  background: #0d0f14;
  border-top: 1px solid #222;
  color: #fff;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.info-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, #9aa4b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.info-text p {
  color: #9aa4b2;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.info-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.info-list li {
  margin-bottom: 12px;
  color: #ccc;
  display: flex;
  gap: 10px;
}
.info-list strong {
  color: #6f3ef5;
}
.info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-box {
  background: #151922;
  border: 1px solid #2a2f3b;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s;
}
.stat-box:hover {
  transform: translateY(-5px);
  border-color: #6f3ef5;
}
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 14px;
  color: #9aa4b2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .info-text h2 {
    font-size: 28px;
  }
  .stat-box {
    padding: 20px;
  }
}
