/* ==========================
   CSS exclusivo: servicios.css
   Ruta: /public/css/servicios.css
   ========================== */

/* Reset básico y estructura */
body.servicio-page {
  background-color: #0e0e0e;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* --------------------------
   HERO SECTION (flex responsive)
--------------------------- */
.hero-section {
  background-color: #0e0e0e;
  padding: 4rem 2rem;
}

.hero-section .contenido-limitado {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
}

.hero-video {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.2;
  color: #ff6f00;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: -1px;
}

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

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-video {
  flex: 1;
  max-width: 40%;
  min-width: 300px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.hero-video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
}

/* --------------------------
   BENEFITS SECTION
--------------------------- */
.benefits-section {
  background-color: #1c1c1c;
  padding: 3rem 2rem; /* Espaciado uniforme para todas las pantallas */
  /* max-width: 100%; Se elimina ya que el contenido interno se limitará a 1300px */
  margin: 0 auto;
}

.benefits-section .section-container { /* Nuevo contenedor para limitar el ancho */
  max-width: 1300px;
  margin: 0 auto;
}

.benefits-section h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem; /* Aumento del tamaño del título para darle más protagonismo */
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: none;
  margin-bottom: 2.5rem; /* ⬅️ Esto es lo que necesitabas */
}
.benefit-box {
  flex: 1 1 300px;
  background-color: #222;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease;
}

.benefit-box:hover {
  transform: translateY(-10px);
}

.benefit-box i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ff6f00;
}

/* --------------------------
   PROPUESTA SECTION
--------------------------- */
.propuesta-section {
  padding: 3rem 2rem; /* Espaciado uniforme */
  background-color: #181818;
}

.propuesta-section .section-container { /* Nuevo contenedor para limitar el ancho */
  max-width: 1300px;
  margin: 0 auto;
}

.propuesta-section h2 {
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2.5rem; /* Aumento del tamaño del título */
}

.propuesta-section ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.propuesta-section ul li {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.propuesta-section ul li strong {
  color: #ff6f00;
  margin-right: 0.5rem;
}

/* --------------------------
   CTA SECTION
--------------------------- */
.cta-section {
  padding: 4rem 2rem;
  background-color: #0d0d0d;
  text-align: center;
}

.cta-section .section-container { /* Nuevo contenedor para limitar el ancho */
  max-width: 1300px;
  margin: 0 auto;
}

.cta-section h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem; /* Aumento del tamaño del título */
  color: #ff6f00;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #2a2a2a;
  color: #fff;
}

.formulario-contacto textarea {
  resize: vertical;
  min-height: 120px;
}

.custom-btn {
  background-color: #ff6f00;
  border: none;
  padding: 0.8rem 1.5rem;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-btn:hover {
  background-color: #e65c00;
}

.respuesta-contacto {
  margin-top: 2rem;
  color: #00e676;
}

/* --------------------------
   WHATSAPP FLOAT
--------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  font-size: 28px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

/* --------------------------
   MEDIA QUERIES
--------------------------- */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-video {
    max-width: 100%;
  }

  .benefits-grid {
    flex-direction: column;
  }

  .benefit-box {
    width: 100%;
  }

  /* Asegura que los títulos se centren en pantallas pequeñas */
  .benefits-section h2,
  .propuesta-section h2,
  .cta-section h2 {
    text-align: center;
    font-size: 1.8rem; /* Ajuste para pantallas pequeñas */
  }
}
  .hero-video {
    margin-top: 2rem;
  }
}
.frase-dinamica {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  text-align: center;
  min-height: 1.5em;
  transition: opacity 0.8s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}
.frase-dinamica {
  font-size: 1.2rem;
  color: #ccc;
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 2.2rem;
}

.cursor {
  display: inline-block;
  width: 1px;
  background-color: #ff6f00;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
