@font-face {
  font-family: 'fs-siena';
  src: url('/assets/fonts/FS-Siena-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  /* Rango para fuentes variables */
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Nostalgic';
  src: url('../fonts/nostalgic_whispers/nostalgic_whispers/NostalgicWhispers-Regular.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}

/* Elimina el scroll horizontal en toda la página */
html,
body {
  width: 100%;
  overflow-x: hidden;
  /* Bloquea el scroll horizontal */
}

:root {
  --primary-color: #6c757d;
  --secondary-color: #2c3e50;
  --text-color: #7f8c8d;
  --light-color: #f8f9fa;
  --primary: #e67e22;
  --primary-dark: #d35400;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --overlay-color: rgba(205, 206, 207, 0.719);
  --preloader: rgba(205, 206, 207, 0);
}

* {
  text-decoration: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.title_font {
  font-family: 'Nostalgic';
}

.text_font {
  font-family: 'Montserrat';
  font-style: normal;
}

/* CSS del Preloader */
/* CSS del Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-container {
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.preloader-logo {
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 30px;
}

/* Video del icono animado */
.icon-video {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  animation: pulse 2s ease-in-out infinite;
  /* Forzar reproducción */
  display: block;
}

.icon-video::-webkit-media-controls {
  display: none !important;
}

/* Estados del preloader cuando termina */
#preloader.fade-out {
  opacity: 0;
}

#preloader.hidden {
  display: none;
}

/* Fallback si el video no carga */
.video-fallback {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.video-fallback .logo-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
  margin: 20px 0;
}

.progress {
  height: 100%;
  width: 0;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.loading-text {
  color: #555;
  font-size: 14px;
  margin-top: 15px;
  font-family: 'Arial', sans-serif;
}

/* Animaciones */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Efecto de desvanecimiento al cargar */
body .loaded #preloader {
  opacity: 0;
  pointer-events: none;
}

/* Para cuando el video termine, mostrar el icono estático */
.icon-video.ended+.static-icon {
  display: block;
}

.floating-widgets {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  transition: all 0.5s ease;

}

.floating-widgets.hidden {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}

.floating-widgets.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.info-banner {
  background: var(--text-color);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
  max-width: 550px;
  min-width: 450px;
  overflow: hidden;
  position: relative;

  margin-right: -10px;
}

.banner-content {
  display: flex;
  align-items: center;
  animation: scrollBanner 25s linear infinite;
  /* Más tiempo para texto largo */
  white-space: nowrap;
  width: max-content;
}

.banner-text {
  font-size: 14px;
  font-weight: 500;
  padding: 0 20px;
  white-space: nowrap;
}

/* ANIMACIÓN CONTINUA - sin pausas */
@keyframes scrollBanner {
  0% {
    transform: translateX(50%);
    /* Empieza completamente a la derecha */
  }

  100% {
    transform: translateX(-100%);
    /* Termina completamente a la izquierda */
  }
}

/* Versión alternativa más suave */
@keyframes scrollBannerSmooth {
  0% {
    transform: translateX(100%);
  }

  5% {
    transform: translateX(100%);
  }

  95% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* WhatsApp button */
.whatsapp-float {
  width: 65px;
  height: 65px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
  right: 15px;
}

.whatsapp-float:hover {
  background-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.5);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 117, 125, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(108, 117, 125, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(108, 117, 125, 0);
  }
}

/* Triángulo conectador */
.info-banner::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 12px solid #2c3e50;
  z-index: 1000;
}

/* Responsive */
@media (max-width: 1024px) {
  .info-banner {
    max-width: 500px;
    min-width: 350px;
    padding: 12px 25px;
    right: 15px;
  }

  .banner-text {
    font-size: 14px;
    padding: 0 20px;
  }

  .banner-content {
    animation: scrollBanner 20s linear infinite;
  }
}

@media (max-width: 768px) {
  .floating-widgets {
    bottom: 20px;
    right: 20px;
  }

  .info-banner {
    max-width: 400px;
    min-width: 280px;
    padding: 10px 20px;
    right: 10px;
  }

  .banner-text {
    font-size: 13px;
    padding: 0 15px;
  }

  .banner-content {
    animation: scrollBanner 18s linear infinite;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .info-banner::after {
    right: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #2c3e50;
  }
}

@media (max-width: 480px) {
  .floating-widgets {
    bottom: 15px;
    right: 15px;
  }

  .info-banner {
    max-width: 320px;
    min-width: 250px;
    padding: 8px 15px;
    right: 8px;
  }

  .banner-text {
    font-size: 12px;
    padding: 0 12px;
  }

  .banner-content {
    animation: scrollBanner 15s linear infinite;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .info-banner::after {
    right: -8px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #2c3e50;
  }
}

/* Móvil: < 500px → 2 arriba centrados, botón abajo centrado */
/* Vista móvil (<500px) */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background: white;
  color: #222;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 44px;
  width: 180px;

}

.nav-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}


/* Efecto hover: borde inferior animado */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  /* Grosor del borde */
  bottom: 0;
  left: 0;
  background-color: #5B0F2A;
  /* Color del borde */
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-meeting {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}

.menu-toggle span {
  background: #222;
  height: 3px;
  width: 100%;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

/* Animación de X */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    /* Esto lo coloca justo debajo del nav */
    right: 0;
    background: white;
    width: 200px;
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

    /* Oculto por defecto */
    opacity: 0;
    transform: translateY(-10px);
    /* Cambiado de translateX a translateY */
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
    /* Asegúrate que está por encima de otros elementos */
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Bloque intermedio (texto + botón) */
.content-block {
  padding-top: 80px;
  /* Compensa el navbar fixed */
  margin-bottom: 0 !important;
  /* Elimina espacios no deseados */
}

/* Sección de Video - Optimizada */
/* Sección de Video - Corregida */
.video-section {
  width: 100%;

  position: relative;
  overflow: hidden;
}

.responsive-video {
  width: 100%;
  height: 100%;

}

/* Estilos para la sección hero */
.hero-section {
  position: relative;
  min-height: 300px;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 30px 0;
}

/* Contenedor principal */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

/* Contenedor del contenido */
.content-wrapper {
  position: relative;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 10px;
  }
}

/* Estilos del título */
.section-title {

  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* PREGUNTA  */
.section-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 300;
}

.features-container {
  position: relative;
}

.feature-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature-section:nth-child(odd) {
  flex-direction: row;
}

.feature-section:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  width: 550px;
  height: 50rem;
  margin: 0 5%;
  position: relative;
  overflow: hidden;
}

.image-fixedderec {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: 55rem;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.image-fixedizq {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: 12rem;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.feature-content {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.feature-text {
  max-width: 500px;
  padding: 60px 50px;
  background-color: rgba(255, 255, 255, 0.95);
  margin: 0 10%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-section:nth-child(odd) .feature-text {
  margin-left: 10%;
  margin-right: auto;
}

.feature-section:nth-child(even) .feature-text {
  margin-left: auto;
  margin-right: 10%;
}

.feature-text h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #2c3e50;
  font-weight: 600;
}

.feature-text p {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
}

/* ESTILOS PARA CARRUSEL EN MÓVIL */
.carousel-mobile {
  display: none;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.carousel-slide-content {
  background: white;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 100%;
}

.carousel-image {
  width: 100%;
  height: 300px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 25px;
  border-radius: 10px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: var(--secondary-color);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

/* NUEVOS AJUSTES RESPONSIVE - MEJORAS PROGRESIVAS */
@media (max-width: 1400px) and (min-width: 1101px) {
.image-fixedderec {
    background-position: 38rem;
  }
  
  .image-fixedizq {
    background-position: 10rem;
  }
}

/* Para pantallas entre 1100px y 900px */
@media (max-width: 1100px) and (min-width: 901px) {
  .feature-text {
    max-width: 400px;
    padding: 40px 30px;
    margin: 0 5%;
  }
  
  .feature-text h2 {
    font-size: 1.7rem;
  }
  
  .feature-text p {
    font-size: 1.1rem;
  }
  
  .feature-image {
    height: 45rem;
    margin: 0 3%;
  }
  
  .image-fixedderec {
    background-position: 30rem;
  }
  
  .image-fixedizq {
    background-position: 10rem;
  }
}

/* Para pantallas entre 900px y 768px */
@media (max-width: 900px) and (min-width: 769px) {
  .feature-section {
    height: 80vh;
  }
  
  .feature-text {
    max-width: 350px;
    padding: 30px 25px;
    margin: 0 5%;
  }
  
  .feature-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .feature-text p {
    font-size: 1rem;
  }
  
  .feature-image {
    height: 40rem;
    margin: 0 3%;
  }
  
  .image-fixedderec {
    background-position: 25rem;
  }
  
  .image-fixedizq {
    background-position: 5rem;
  }
}

@media (max-width: 768px) {

  /* Oculta las secciones originales en móvil */
  .feature-section {
    display: none;
  }

  /* Muestra el carrusel en móvil */
  .carousel-mobile {
    display: block;
    padding: 20px 0;
  }

  .section-title {
    padding: 60px 20px 40px;
  }

  .section-title h1 {
    font-size: 2.4rem;
  }

  .carousel-image {
    height: 450px;
  }
}

@media (max-width: 480px) {
  .section-title h1 {
    font-size: 2rem;
  }

  .carousel-slide-content h2 {
    font-size: 1.5rem;
  }

  .carousel-slide-content p {
    font-size: 1rem;
  }

  .feature-number {
    width: 45px;
    height: 45px;
    line-height: 45px;
  }

  .carousel-slide-content {
    padding: 30px 25px;
  }

  .carousel-image {
    height: 450px;
  }
}

/* Efectos de animación */
.feature-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* PROYECTOS SECCION */
/* Proyecto  Estilos personalizados */
.project-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  height: 33rem;
  width: 100%;
}

.proyecto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;
  padding: 20px;
  text-align: center;
  color: white;
}

.project-card:hover .proyecto-overlay {
  opacity: 1;
}

.project-card:hover img {
  transform: scale(1.1);
}

.proyecto-overlay h5 {
  font-size: 30px;
  color: #2c3e50;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.5s;
  font-family: 'Nostalgic';
}

.proyecto-overlay p {
  font-size: 20px;
  transform: translateY(20px);
  transition: transform 0.5s;
  transition-delay: 0.1s;
}

.project-card:hover .proyecto-overlay h5,
.project-card:hover .proyecto-overlay p {
  transform: translateY(0);
}


.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

/* .project-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
} */

.project-btn {
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Controles del carrusel */
.proyectos .carousel-control-prev,
.proyectos .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  opacity: 0.9;
}

.carousel-control-prev {
  left: -15px;
}

.carousel-control-next {
  right: -15px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .mobile-carousel .carousel-item {
    padding: 0 15px;
  }

  .project-img {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .desktop-carousel .carousel-item {
    padding: 0 30px;
  }
}

/* Centrar indicadores y quitar numeración */
.carousel-indicators {
  position: static;
  /* debajo del carrusel */
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  /* quita el 1. 2. */
}

/* Estilo de cada punto */
.carousel-indicators [data-bs-target] {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  padding: 0;
  margin: 0;
  opacity: 1 !important;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

/* Estado activo */
.carousel-indicators .active {
  background-color: #010407;
  transform: scale(1.3);
}

.services {
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15) !important;
}

.services .img-prod {
  margin: 15px;
  gap: 10px;
  /* Added for better spacing */
}

.services .img-prod img {
  width: 100%;
  max-width: 180px;
  height: auto;
  aspect-ratio: 1/1;
  /* Maintain square ratio */
  object-fit: cover;
  margin: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services .img-prod img {
    max-width: 150px;
  }

  h2.display-5 {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 576px) {
  .services .img-prod img {
    max-width: 120px;
  }

  h2.display-5 {
    font-size: 1.5rem !important;
  }

  .d-grid {
    width: 100% !important;
  }
}

/* servicio */

/* servicio - responsive */
.servicio-seccion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px;
}

.video-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
}

.video-card {
  position: relative;
  flex: 1;
  min-width: 300px;
  /* Minimum width before stacking */
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16/9;
  /* Maintain aspect ratio */
}

.video-card video,
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 8px;
}

.overlay h2 {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  /* Responsive font size */
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.overlay button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  backdrop-filter: blur(5px);
  font-size: 0.8rem;
  white-space: nowrap;
}

.overlay button:hover {
  background: rgba(110, 109, 109, 0.3);
  transition: ease 0.5s;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .video-row {
    gap: 15px;
  }

  .video-card {
    min-width: calc(50% - 10px);
    /* Two cards per row */
  }
}

@media (max-width: 768px) {
  .servicio-seccion {
    gap: 15px;
    padding: 10px;
  }

  .overlay {
    padding: 8px 12px;
  }

  .overlay button {
    padding: 5px 10px;
  }
}

@media (max-width: 576px) {
  .video-row {
    flex-direction: column;
    gap: 10px;
  }

  .video-card {
    min-width: 100%;
    /* Full width on mobile */
  }

  .overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .overlay button {
    align-self: flex-end;
  }
}

/* Stats Section */
.stats-section {
  padding: 30px 15px;
  margin: 0;
}

.stats-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-box {
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  min-width: 180px;
  transition: all 0.3s;
  flex: 1;
}

.stat-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin: 10px 0;
}

.stat-title {
  font-size: 16px;
  color: #7f8c8d;
  font-weight: 500;
}

.plus-sign {
  display: inline-block;
  color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .stats-container {
    gap: 15px;
  }

  .stat-box {
    padding: 25px 15px;
    max-width: 220px;
  }

  .video-container-escritorio {
    display: none;
  }

  .video-container-movil {
    display: contents;
    width: 100%;

    padding: 0;
    margin: 0 auto;
  }

}

@media (max-width: 768px) {
  .stats-section {
    padding: 20px 10px;
  }

  .stat-box {
    max-width: 200px;
    min-width: 160px;
    padding: 20px 15px;
  }

  .stat-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-title {
    font-size: 15px;
  }

  .video-section .video-container-escritorio {
    display: none;
  }
}

@media (max-width: 576px) {
  .stats-container {
    flex-direction: column;
    gap: 20px;
  }

  .stat-box {
    max-width: 100%;
    width: 80%;
    min-width: auto;
  }

  .stat-icon {
    font-size: 30px;
  }

  .stat-number {
    font-size: 34px;
  }

  .video-section .video-container-escritorio {
    display: none;
  }
}

/* Team Work Section (kept your original styles, just made responsive) */
.estadis-team-work {
  background-color: #c9cecf49;
  height: auto;
  min-height: 55rem;
  padding: 50px 20px;
  display: grid;
  place-items: center;
}

.estadis-team-work .team-work {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  max-height: 500px;
  overflow: hidden;
}

.estadis-team-work .team-work img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s;
  border-radius: 5px;
}

/* SECCIÓN DE CONTACTO */
.contacto .contact-form-section {
  padding: 4rem 0;
  background: rgba(245, 245, 245, 0.3);
}

.contacto .form-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: 500px;
}

/* Imagen reflejada de fondo */
.contacto .contact-reflection {
  filter: blur(8px) opacity(0.6);
  transform: scaleY(-1);
  position: absolute;
  width: 100%;
  height: 100%;
}

.contacto .contact-reflection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contenido del formulario */
.contacto .contact-form-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  margin: 2rem auto;
}

.contacto .contact-form-content h3 {
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 2rem;
}

.contacto .contact-form-content p {
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.contacto .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contacto .form-group {
  margin-bottom: 1rem;
}

.contacto .form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s;
}

.contacto .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: none;
}

.contacto .btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  margin-top: 1rem;
  transition: all 0.3s;
  align-self: center;
}

.contacto .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background-color: #0069d9;
}

.contacto .alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.contacto .alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.contacto .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto .contact-form-content {
    width: 95%;
    padding: 1.5rem;
  }
}


/* FOOTER */

.footer {
  background-color: #ffffff;
  padding: 40px 0 20px;
  border-top: 1px solid #e9ecef;
}

.footer-logo {
  max-width: 150px;

}

.footer-logo img {
  align-content: end;
}

.footer-bottom {
  border-top: 1px solid #dee2e6;
  padding-top: 20px;
  margin-top: 30px;
}
.footer-bottom a {
  text-decoration: none;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #333;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s;
}


/* Estilo base para los enlaces */
.footer-column a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  /* Espacio para el borde */
}

/* Efecto hover: borde inferior animado */
.footer-column a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  /* Grosor del borde */
  bottom: 0;
  left: 0;
  background-color: #5B0F2A;
  /* Color del borde */
  transition: width 0.3s ease;
}

.footer-column a:hover::after {
  width: 100%;
}
.footer-bottom .privacy a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding-bottom: 2px;
}

.footer-bottom .privacy a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #5B0F2A;
  transition: width 0.3s ease;
}

.footer-bottom .privacy a:hover::after {
  width: 100%;
}

/* Para asegurar que el color del texto se mantenga en hover */
.footer-bottom .privacy a:hover {
  color: #6c757d !important; /* Mantener el color text-muted en hover */
}
@media (max-width: 767.98px) {
  .footer-column {
    margin-bottom: 2rem;
  }

  .footer-logo {
    margin-bottom: 2rem;
  }
}


/* ANIMACIONES */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  /* Pequeño desplazamiento para mejor efecto */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CSS Modificado */
/* Process Flow Section */
/* Process Flow Section */
#process-flow {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Desktop Version */
.process-desktop {
    padding: 4rem 0;
}

.process-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 4px;
    background: linear-gradient(90deg, #2c3e50, #67798b, #2c3e50); /*  */
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border-radius: 10px;
}

.line-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: sweep 2s ease-in-out infinite;
}

.process-step {
    position: absolute;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
   
}

.process-step:hover {
    transform: translateY(-8px);
}

.process-step:hover .step-icon {
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.step-1 {
    top: 15%;
    left: 8%;
    flex-direction: row;
}

.step-2 {
    top: 15%;
    right: 8%;
    flex-direction: row-reverse;
}

.step-3 {
    bottom: 15%;
    right: 8%;
    flex-direction: row-reverse;
}

.step-4 {
    bottom: 15%;
    left: 8%;
    flex-direction: row;
}

.step-icon {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 4px solid #2c3e50;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #2c3e50;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.process-step:hover .step-icon::before {
    opacity: 0.1;
    transform: scale(1.3);
}

.step-icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

.step-content {
    margin: 0 2rem;
    text-align: center;
    max-width: 180px;
}

.step-content h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Version - CORREGIDO */
.process-mobile {
    padding: 2.5rem 0;
}

.process-track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

/* Línea vertical */
.process-track::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2c3e50, #596a7a);
    border-radius: 10px;
    z-index: 1;
}

.process-mobile-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    /* ELIMINAR estas líneas de transición y animación */
    /* transition: all 0.6s ease; */
    position: relative;
    margin-left: 80px;
    /* ELIMINAR opacity y transform iniciales */
    /* opacity: 0; */
    /* transform: translateX(-30px); */
    border-left: 5px solid #2c3e50; /* Cambiar a sólido en lugar de transparente */
}

/* Puntos de conexión */
.process-mobile-step::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #2c3e50;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 0 3px #2c3e50;
    z-index: 2;
    /* ELIMINAR la transición */
    /* transition: all 0.4s ease; */
}

/* ELIMINAR TODAS las clases .animated y sus efectos */
/*
.process-mobile-step.animated {
    opacity: 1;
    transform: translateX(0);
    border-left: 5px solid #2c3e50;
}

.process-mobile-step.animated::before {
    background: #2c3e50;
    box-shadow: 0 0 0 3px #2c3e50, 0 0 20px rgba(255, 107, 53, 0.6);
    transform: translateY(-50%) scale(1.1);
}
*/

/* Íconos móviles */
.mobile-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border: 3px solid #2c3e50;
    flex-shrink: 0;
    /* ELIMINAR transición y transform */
    /* transition: all 0.5s ease 0.1s; */
    /* transform: scale(0.8); */
    /* opacity: 0; */
}

/* ELIMINAR */
/*
.process-mobile-step.animated .mobile-icon {
    transform: scale(1);
    opacity: 1;
}
*/

.mobile-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.mobile-content {
    flex: 1;
    /* ELIMINAR transición y efectos */
    /* transition: all 0.5s ease 0.2s; */
    /* opacity: 0; */
    /* transform: translateY(10px); */
}

/* ELIMINAR */
/*
.process-mobile-step.animated .mobile-content {
    opacity: 1;
    transform: translateY(0);
}
*/

.step-number {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    /* ELIMINAR transición y efectos */
    /* transition: all 0.4s ease 0.3s; */
    /* transform: scale(0.8); */
    /* opacity: 0; */
}

/* ELIMINAR */
/*
.process-mobile-step.animated .step-number {
    transform: scale(1);
    opacity: 1;
}
*/

.mobile-content h6 {
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.mobile-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* ELIMINAR TODAS LAS ANIMACIONES KEYFRAMES */
/*
@keyframes shimmer { ... }
@keyframes sweep { ... }
@keyframes stepPulse { ... }
.process-step:nth-child(odd) .step-icon { ... }
.process-step:nth-child(even) .step-icon { ... }
*/

/* Responsive */
@media (max-width: 768px) {
    .process-mobile-step {
        margin-left: 70px;
        padding: 1.5rem;
    }
    
    .process-track::before {
        left: 35px;
    }
    
    .process-mobile-step::before {
        left: -49px;
        width: 22px;
        height: 22px;
    }
    
    .mobile-icon {
        width: 80px;
        height: 80px;
    }
    
    .mobile-content h6 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .process-mobile-step {
        margin-left: 60px;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .process-track::before {
        left: 30px;
    }
    
    .process-mobile-step::before {
        left: -42px;
        width: 20px;
        height: 20px;
    }
    
    .mobile-icon {
        width: 70px;
        height: 70px;
    }
    
    .mobile-content h6 {
        font-size: 1.1rem;
    }
    
    .mobile-content p {
        font-size: 0.9rem;
    }
}

/* ===== ESTILOS PARA EL SISTEMA DE COOKIES ===== */

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e0e0e0;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  padding: 20px;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.cookie-header i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.cookie-header h3 {
  margin: 0;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.cookie-text p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 120px;
  justify-content: center;
}

.cookie-preferences {
  background: #f8f9fa;
  color: var(--dark-color);
  border: 1px solid #dee2e6;
}

.cookie-reject {
  background: #fff;
  color: #dc3545;
  border: 1px solid #dc3545;
}

.cookie-accept {
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Modal de Preferencias */
.cookie-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-preferences-modal.show {
  display: flex;
}

.cookie-preferences-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.preferences-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.preferences-header h3 {
  margin: 0;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.preferences-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #666;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.preferences-close:hover {
  background: #f5f5f5;
  color: #333;
}

.preferences-body {
  padding: 25px;
}

.cookie-category {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.category-info h4 {
  margin: 0 0 5px 0;
  color: var(--dark-color);
  font-size: 1rem;
}

.category-status {
  font-size: 0.8rem;
  color: #6c757d;
}

.category-description {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--primary-color);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

input:disabled+.slider {
  background-color: #6c757d;
  cursor: not-allowed;
}

.preferences-footer {
  padding: 20px 25px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.preferences-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.preferences-save {
  background: var(--primary-color);
  color: white;
}

.preferences-accept-all {
  background: var(--dark-color);
  color: white;
}

.preferences-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    min-width: auto;
  }

  .preferences-footer {
    flex-direction: column;
  }

  .preferences-btn {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .cookie-preferences-content {
    margin: 10px;
  }

  .preferences-body {
    padding: 20px 15px;
  }

  .cookie-category {
    padding: 15px;
  }
}

/* what we do */
/* what we do */
.video-container-what {
  position: relative;
  border-radius: 8px;
  max-width: 450px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: white;
  margin: 0 auto;
  /* Centrar el contenedor del video */
}

.video-container-what video {
  width: 100%;
  height: 50rem;
  display: block;
  background: white;
  object-fit: cover;
}

.video-container-what video[poster] {
  background: white;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: #6c757dc4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 2px solid white;
}

.play-button:hover {
  background-color: var(--secondary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid white;
  margin-left: 5px;
}

.fullscreen-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  z-index: 10;
  transition: background-color 0.3s;
}

.fullscreen-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.content-section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

/* TEXTO CENTRADO - CAMBIOS PRINCIPALES */
.content-text {
  padding: 0 30px;
  /* Mismo padding izquierdo y derecho */
  text-align: center;
  /* Texto centrado */
  margin: 0 auto;
  /* Centrar el contenedor de texto */
  max-width: 100%;
  /* Ocupar el ancho disponible */
}

/* Asegurar que todos los elementos de texto estén centrados */
.content-text p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
  /* Limitar el ancho del texto para mejor legibilidad */
}

.content-text .lead {
  text-align: center;
}

/* Features grid centrado */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px auto 0 auto;
  /* Centrado */
  justify-content: center;
  max-width: 400px;
  /* Ancho máximo para el grid */
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  justify-content: flex-start;
  /* Alinear ícono y texto a la izquierda dentro del grid */
}

.feature-icon {
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
  /* Evitar que el ícono se reduzca */
}

.feature-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  text-align: left;
  /* Texto alineado a la izquierda dentro del item */
}

.lead {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
  .content-text {
    padding: 0 20px;
    /* Reducir padding en tablets */
    margin-bottom: 40px;
  }

  .video-container-what {
    margin-top: 20px;
  }

  .content-text p {
    max-width: 95%;
    /* Más ancho en tablets */
  }
}

@media (max-width: 768px) {
  .video-container-what video {
    height: 35rem;
    background: white;
    object-fit: cover;
  }

  .video-container-what {
    background: white;
    border: 1px solid #e9ecef;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button::after {
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 16px solid white;
  }

  /* Móvil - features en una columna */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 10px;
  }

  .content-text {
    padding: 0 15px;
    /* Menos padding en móvil */
  }

  .content-text p {
    max-width: 100%;
    /* Ancho completo en móvil */
  }
}

@media (max-width: 480px) {
  .video-container-what video {
    height: 25rem;
  }

  .video-container-what {
    max-width: 100%;
  }

  .content-text {
    padding: 0 10px;
    /* Mínimo padding en móviles pequeños */
  }
}

/* bolas */