/* ============================================
   HOME PAGE - CSS ESPECÍFICO
   ============================================ */

/* Hero Slider - ANCHO COMPLETO */
.hero-slider-full {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slide-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-full video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.slide-content-full {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide-content-full h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 15px;
}

.slide-content-full p {
    font-size: 24px;
    margin-bottom: 25px;
}

.btn-slide {
    display: inline-block;
    background: #0084de;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-slide:hover {
    background: #e02b20;
}

/* Stats Row */
.stats-row-full {
    width: 100%;
    background: #f8f9fa;
    padding: 50px 0;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat {
    flex: 1;
    min-width: 200px;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #0084de;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

/* About Parallax */
.about-parallax-full {
    width: 100%;
    min-height: 400px;
    position: relative;
    background-image: url('../imagenes/20250408_142926-min.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin: 0;
}

.about-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,21,91,0.85) 0%, rgba(6,62,114,0.75) 100%);
}

.about-content-full {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: #fff;
    font-size: 20px;
    line-height: 1.7;
}

/* Responsive Home */
@media (max-width: 768px) {
    .hero-slider-full {
        height: 400px;
    }
    
    .slide-content-full h2 {
        font-size: 28px;
    }
    
    .slide-content-full p {
        font-size: 18px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-parallax-full {
        background-attachment: scroll;
    }
    
    .about-text p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}




/* ============================================
   SERVICIOS - SECCIÓN COMPLETA (v2 reforzada)
   ============================================ */

/* ====== Sección ====== */
.servicios-section {
  display: block !important;
  width: 100% !important;
  padding: 60px 20px !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
  position: relative;
  z-index: 1;
  clear: both;
}

/* ====== Título ====== */
.servicios-titulo-wrapper {
  display: block !important;
  max-width: 1080px !important;
  margin: 0 auto 30px auto !important;
  padding: 0 !important;
  text-align: center !important;   /* ← centra el título */
}

.servicios-titulo {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 36px !important;
  font-weight: 600 !important;
  color: #0C71C3 !important;     
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;   /* ← centra el texto dentro del h2 */
  line-height: 1.2 !important;
}


/* ====== GRID DE 3 COLUMNAS - LA CLAVE ====== */
.servicios-section .servicios-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-flow: row !important;
  gap: 24px !important;
  max-width: 1080px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  list-style: none !important;
}

/* ====== Tarjeta ====== */
.servicios-section .servicios-grid .reveal-card {
  position: relative !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;    /* cuadradas para que se vean uniformes */
  overflow: hidden !important;
  text-decoration: none !important;
  cursor: pointer !important;
  background: #000 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: none !important;
}

/* ====== Imagen dentro de la tarjeta ====== */
.servicios-section .servicios-grid .reveal-card img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transition: transform 0.8s ease !important;
}

.servicios-section .servicios-grid .reveal-card:hover img {
  transform: scale(1.08) !important;
}

/* ====== Overlay ====== */
.servicios-section .servicios-grid .reveal-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 21, 91, 0.55) !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease !important;
  z-index: 2 !important;
  pointer-events: none !important;
  display: block !important;
}

.servicios-section .servicios-grid .reveal-card:hover .reveal-overlay {
  opacity: 1 !important;
}

/* ====== Contenedor del texto ====== */
.servicios-section .servicios-grid .reveal-text-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
  pointer-events: none !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

/* ====== Texto ====== */
.servicios-section .servicios-grid .reveal-text {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  opacity: 0;
  transition: opacity 0.3s ease !important;
  display: inline-block !important;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.servicios-section .servicios-grid .reveal-card:hover .reveal-text {
  opacity: 1 !important;
}

/* ====== Letras individuales (splitting) ====== */
.servicios-section .servicios-grid .reveal-text .char {
  display: inline-block !important;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease !important;
  will-change: transform, opacity;
  color: #ffffff !important;
}

.servicios-section .servicios-grid .reveal-card:hover .reveal-text .char {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.servicios-section .servicios-grid .reveal-text .char.is-space {
  opacity: 1 !important;
  transform: none !important;
}

/* ====== Scroll reveal (entrada) ====== */
.servicios-section .scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.servicios-section .scroll-reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition-delay: 0ms !important;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .servicios-section .servicios-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .servicios-titulo {
    font-size: 30px !important;
  }
  .servicios-section .servicios-grid .reveal-text {
    font-size: 20px !important;
  }
}

@media (max-width: 767px) {
  .servicios-section .servicios-grid {
    grid-template-columns: 1fr !important;
  }
  .servicios-titulo {
    font-size: 26px !important;
  }
  .servicios-section .servicios-grid .reveal-text {
    font-size: 18px !important;
  }
.servicios-section .servicios-grid .reveal-text br {
  display: block;
  content: "";
  margin: 0;
  line-height: 0;
}
    
    
}

/* ====== Accesibilidad ====== */
@media (prefers-reduced-motion: reduce) {
  .servicios-section .scroll-reveal,
  .servicios-section .reveal-text .char,
  .servicios-section .reveal-card img,
  .servicios-section .reveal-overlay,
  .servicios-section .reveal-text {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


