    :root {
      --primary-color: #FF7000;
      --dark-color: #000000;
      --light-color: #FFAB00;
      --gray-color: #808080;
      --dark-color-medium: #333333;
      --light-orange: #FDC50D;
      --color-white: #FFFFFF;
      --color-grey: #CBCBCB;
      --font-family: "Exo 2", sans-serif;
    }


    body {
      font-family: var(--font-family);
      color: var(--dark-color);
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    /* === LOADER === */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--dark-color);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      opacity: 1;
      visibility: visible;
      transition: opacity 1s ease, visibility 1s ease;
    }
    #loader img {
      width: 30%;
      opacity: 0;
      animation: fadeInOut 2.5s ease-in-out infinite;
    }
    @keyframes fadeInOut {
      0% { opacity: 0; transform: scale(0.9); }
      50% { opacity: 1; transform: scale(1); }
      100% { opacity: 0; transform: scale(0.9); }
    }
    #loader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    
    .border-orange-bottom{
      border-bottom: 5px solid var(--primary-color);
    }

    .border-orange-top{
      border-top: 5px solid var(--primary-color);
    }

    .text-right{
      text-align: right;
    }

    .text-gray-mute{
      color:var(--gray-color);
      text-transform: uppercase;
    }

    .text-gray{
      color: var(--gray-color);
    }

    .text-orange-mute{
      color:var(--light-orange);
      text-transform: uppercase;
    }

    .nosotros-icon
    {
      width: 4.85rem;
    }

    .text-min-height{
      color:var(--dark-color-medium);
      font-size: 2rem;
      display: block;
      text-transform: uppercase;
    }

    .text-color-white{
      color:var(--color-white)
    }

    .text-orange{
      color:var(--primary-color)
    }

    
    .text-color-dark{
      color:var(--dark-color-medium)
    }

    /* NAVBAR */
    header {
      background: var(--color-white);
    }
    .navbar-nav .nav-link {
      color:var(--gray-color);
      font-weight: 500;
      margin-left: 1rem;
      cursor: pointer;
    }
    .navbar-nav .nav-link:hover {
      color: var(--primary-color);
    }


    /* HERO CARRUSEL */
    .hero-carousel .carousel-item {
      height: 100vh;
      min-height: 800px;
      background-position: center;
      background-size: cover;
      position: relative;
    }

    .hero-carousel .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: var(--light-color);
      text-align: center;
      padding: 5rem;
    }

    .hero-carousel .overlay.dark{
        background: var(--dark-color);
    }

    .hero-carousel .overlay.white{
        background: var(--color-white);
    }

    .hero-carousel .overlay.img-dark{
      background-image: url('../img/Sliders/slider1_1.jpg'); /* ruta de tu imagen */
      background-size: cover;      /* para que cubra todo el contenedor */
      background-position: center; /* centra la imagen */
      background-repeat: no-repeat;/* evita que se repita */
      width: 100%;                 /* opcional, para que ocupe todo el ancho */
      height: 100%;                /* opcional, para que ocupe toda la altura */
    }

    .hero-carousel .overlay.img-dark-movil{
      background-image: url('../img/Sliders/movil/slider1_1_movil.jpg'); /* ruta de tu imagen */
      background-size: cover;      /* para que cubra todo el contenedor */
      background-position: center; /* centra la imagen */
      background-repeat: no-repeat;/* evita que se repita */
      width: 100%;                 /* opcional, para que ocupe todo el ancho */
      height: 100%;                /* opcional, para que ocupe toda la altura */
    }

     .hero-carousel .overlay.dark-img{
      background-image: url('../img/Sliders/slider3_1.jpg'); /* ruta de tu imagen */
      background-size: cover;      /* para que cubra todo el contenedor */
      background-position: center; /* centra la imagen */
      background-repeat: no-repeat;/* evita que se repita */
      width: 100%;                 /* opcional, para que ocupe todo el ancho */
      height: 100%;                /* opcional, para que ocupe toda la altura */
    }

    .hero-carousel .overlay.dark-img-movil{
      background-image: url('../img/Sliders/movil/slider3_1_movil.jpg'); /* ruta de tu imagen */
      background-size: cover;      /* para que cubra todo el contenedor */
      background-position: center; /* centra la imagen */
      background-repeat: no-repeat;/* evita que se repita */
      width: 100%;                 /* opcional, para que ocupe todo el ancho */
      height: 100%;                /* opcional, para que ocupe toda la altura */
    }


    .hero-carousel .overlay.orange-img {
      background-image: url('../img/Sliders/slider3.png'); /* ruta de tu imagen */
      background-size: cover;      /* para que cubra todo el contenedor */
      background-position: center; /* centra la imagen */
      background-repeat: no-repeat;/* evita que se repita */
      width: 100%;                 /* opcional, para que ocupe todo el ancho */
      height: 100%;                /* opcional, para que ocupe toda la altura */
    }

    /* .hero-carousel .overlay.orange-img-movil {
      background-image: url('../img/Sliders/movil/slider3.png'); 
      background-size: cover;     
      background-position: center; 
      background-repeat: no-repeat;
      width: 100%;               
      height: 100%;                
    } */

    
    .hero-carousel .overlay.orange-img-movil {
      background-image: url('../img/Sliders/movil/slider3.png'); /* ruta de tu imagen */
      background-size: cover;      /* para que cubra todo el contenedor */
      background-position: center; /* centra la imagen */
      background-repeat: no-repeat;/* evita que se repita */
      width: 100%;                 /* opcional, para que ocupe todo el ancho */
      height: 100%;                /* opcional, para que ocupe toda la altura */
    }

    .hero-carousel h1 {
      font-size: 2.8rem;
      font-weight: 700;
    }
    .hero-carousel p {
      font-size: 1.2rem;
      margin-top: .5rem;
    }

    .hero-carousel .carousel-item .overlay {
      display: flex;
      flex-direction: column; /* imágenes apiladas verticalmente */
      justify-content: center; /* centrado vertical */
      align-items: center;     /* centrado horizontal */
      height: 100%;
      text-align: center;
      gap: 1rem;               /* espacio entre imágenes */
      padding-top: 12rem;       /* margen superior */
      box-sizing: border-box;  /* para que padding no rompa la altura */
    }

    /* Indicadores normales */
    .carousel-indicators [data-bs-target] {
      width: 12px;           /* tamaño de la bolita */
      height: 12px;
      border-radius: 50%;    /* la hace redonda */
      background-color: var(--gray-color);  /* color naranja */
      opacity: 0.7;          /* un poco transparente */
      margin: 0 5px;         /* separación entre bolitas */
    }

    /* Indicador activo */
    .carousel-indicators .active {
      background-color: var(--primary-color); /* color más intenso para el activo */
      opacity: 1;                   /* totalmente visible */
    }

    /* SECCIONES */
    section h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 2rem;
      text-align: center;
      text-transform: uppercase;
    }

    .parrafo{
      font-size: 12px;
      text-align: left !important;
    }

    section h3 {
      font-weight: 700;
      color: var(--primary-color);
      margin-bottom: 2rem;
      text-align: center;
      text-transform: uppercase;
    }

    

    /* QUIÉNES SOMOS */
    .somos p {
      max-width: 900px;
      margin: 0 auto 1.5rem;
      text-align: justify;

      
    }
    .somos .extra-content {
      display: none;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease;
    }
    .somos .extra-content.show {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }
    .btn-vermas {
      background: #FFFFFF;
      color: var(--gray-color);
      border: 1px solid var(--gray-color);
      padding: .2rem 1rem;
      border-radius: 30px;
      font-weight: 600;
      opacity: 0.6;
      transition: all .3s ease;
    }
    .btn-vermas:hover {
      color: var(--light-color);
      border:1px solid var(--light-color);
      opacity: 1;
      transform: scale(1.05);
    }

    .btn-vermas-mini {
      font-size: 12px;
      background: #FFFFFF;
      color: var(--gray-color);
      border: 1px solid var(--gray-color);
      padding: .2rem 1rem;
      border-radius: 30px;
      font-weight: 600;
      opacity: 0.6;
      transition: all .3s ease;
    }
    .btn-vermas-mini:hover {
      color: var(--light-color);
      border:1px solid var(--light-color);
      opacity: 1;
      transform: scale(1.05);
    }

    /* BANNER INSTALACIONES */
    .banner {
      background: url("../img/banner.png") center/cover no-repeat;
      color: var(--light-color);
      text-align: center;
      padding: 6rem 1rem;
    }

    .text-light{
      font-weight: 300;
    }
    /* .banner h2 {
      color: var(--light-color);
    } */

    /* PRODUCTOS */
    .productos {
      background: var(--dark-color);
      color: var(--light-color);
      padding: 5rem 1rem;
    }
    .productos h4 {
      color: var(--primary-color);
      margin-top: 1rem;
    }

    /* CALIDAD */
    .calidad p {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    /*CONTROL*/
    .control{
      background: var(--color-grey)
    }

    /* GALERÍA */
    /* .galeria .img-box {
      background: #ddd;
      height: 200px;
      border-radius: 8px;
    } */

    /* Espaciado entre columnas */
  .galeria .carousel-item .col {
    padding: 5px;
  }

  /* Imágenes */
  .galeria .carousel-item img {
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
  }

  /* Márgenes laterales en móvil */
  @media (max-width: 576px) {
    .galeria .carousel-item .col {
      padding-left: 15px;
      padding-right: 15px;
    }

        /* Imágenes */
    .galeria .carousel-item img {
      height: 250px;
      width: 250px;
    }
  }

  /* Imagen en modal */
  .modal-content img {
    max-height: 85vh;
    object-fit: contain;
  }

  /* Botones carrusel */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: invert(1);
  }


    /* UBICACIÓN */
    .mapa iframe {
      width: 100%;
      height: 100%;
      border: 0;
      border-radius: 8px;
      min-height: 300px;
    }

    /* CONTACTO */
    .contacto form input,
    .contacto form textarea {
      border-radius: 10px;
      border: none;
      padding: 1rem;
      font-size: 0.8rem;
      background-color: #f5f5f5;
      color: #555;
     }

    .btn-enviar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #f5f5f5;
      border-radius: 15px;
      padding: 0px 0px 0px 20px;
      border: none;
      width: 240px;
      font-size: 0.8rem;
      color: #555;
      cursor: pointer;
    }

    .btn-enviar:hover {
      background: #eaeaea;
    }

    .btn-enviar .icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border: 2px solid orange;
      border-radius: 12px;
      color: orange;
      font-size: 26px; /* flecha grande */
      transition: transform 0.4s ease;
    }

    .btn-enviar:active .icon {
      transform: translateX(-80px); /* animación hacia la palabra */
    }


    .text-small-mute{
      color:#CBCBCB;
      font-size: 1rem;
      text-transform: lowercase;
    }

    /* FOOTER */
    footer {
      background: var(--color-grey);
      color:var(--gray-color);
      padding: 2rem 1rem;
    }
    footer a {
      /* color: var(--primary-color); */
      margin: 0 .5rem;
      text-decoration: none;
    }

    /* ANIMACIONES */
    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease-out;
    }
    .fade-in.show {
      opacity: 1;
      transform: translateY(0);
    }


    /* Botón de descarga */
  .btn-brochure {
    width: 90%;
    display: inline-block;
    background: #000;
    color: var(--light-orange);
    font-weight: bold;
    padding: 0.3rem 2.8rem;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
  }

  .btn-brochure:hover {
    background: #222; /* Un poco más claro al hover */
    color: var(--primary-color);
  }

  /* Íconos sociales */
  .social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
  }

  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s;
  }

  .social-icons a:hover {
    background: var(--light-orange);
    border: 2px solid var(--light-orange);
    color: #fff;
  }

  .text-descarga
  {
    font-size: 1.1rem;
    font-weight: bold;
  }

  .text-aviso{
    font-size: 0.8rem;

  }

  .text-aviso:hover{
    color: var(--light-orange);
  }


  /* ── Animaciones elegantes - Quiénes Somos ── */

/* Keyframes */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Título */
#somos h2,
#somos h3 {
  opacity: 0;
  animation: fadeSlideLeft 0.8s ease forwards;
}

/* Primer párrafo visible */
#somos > p {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease 0.3s forwards;
}

/* Contenido extra: cada tarjeta de valores aparece escalonada */
#somos .extra-content.show .col-lg-4,
#somos .extra-content.show .col-md-6 {
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards;
}

#somos .extra-content.show .col-lg-4:nth-child(1),
#somos .extra-content.show .col-md-6:nth-child(1) { animation-delay: 0.1s; }

#somos .extra-content.show .col-lg-4:nth-child(2),
#somos .extra-content.show .col-md-6:nth-child(2) { animation-delay: 0.25s; }

#somos .extra-content.show .col-lg-4:nth-child(3),
#somos .extra-content.show .col-md-6:nth-child(3) { animation-delay: 0.4s; }

/* Párrafos dentro del extra-content */
#somos .extra-content.show > p {
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards;
}
#somos .extra-content.show > p:nth-child(1) { animation-delay: 0.1s; }
#somos .extra-content.show > p:nth-child(2) { animation-delay: 0.25s; }

/* Íconos de Misión/Visión/Valores */
#somos .nosotros-icon {
  opacity: 0;
  animation: fadeIn 0.9s ease 0.5s forwards;
}

/* Hover elegante en íconos */
.nosotros-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.nosotros-icon:hover {
  transform: scale(1.15) translateY(-6px);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

/* Estado inicial oculto para animación por scroll */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
  