:root{
  --e-global-color-primary: #6EC1E4;
    --e-global-color-secondary: #54595F;
    --e-global-color-text: #54595E;
    --e-global-color-accent: #3F96B4;
    --e-global-color-17d712d: #326180;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}
body {
  font-family: 'Roboto', sans-serif;
   padding-top: 80px;
  
}
header{
  background-color: #fff;
}
main{
    flex-grow: 1;
    background-color: #FAFAFA;
}

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; 
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.parrafo{
  text-align: justify;
  padding: 5px;
  font-family: "Roboto", Sans-serif;
 font-weight: 400;
}

.menu .navbar-brand img {
  max-height: 81px; 
  height: auto;
}

.menu a{
  color: var(--e-global-color-17d712d);
  font-weight: 400;
  font-size: 18px;
}

h1, h2 {
      font-weight: 700;
      color: var(--e-global-color-accent);
    }

    p {
      font-weight: 400;
    }

    .servicios{
      background-color: var(--e-global-color-17d712d);
      color: #FAFAFA;
    }
    .icon{
      width: 80px;
      height: 80px;
      border-radius: 50%;         /* Hace el div circular */
      border: 1px solid #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;               /* Color del ícono */
      font-size: 32px;            /* Tamaño del ícono */
      box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Sombra suave */
    }
    .btn-contacto{
      font-size: 18px;
      font-weight:600;
        width: 150px;
        height: 50px;
        border: none;
        border-radius: 10px;
        background-color: var(--e-global-color-accent);
        color: #fff;
    }
.item:hover {
  transform: translateY(-5px); /* se eleva un poquito */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* sombra más intensa */
}
.item {
  background-color: #66c1f5;
  border-radius: 50%;
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 1 / 1; /* mantiene forma circular */
  padding: 30px 20px;
  color: white;
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
/*.item {
  background-color: #66c1f5;
  border-radius: 50%;
  width: 280px;
  height: 280px;
  margin: 0 auto 30px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}*/

.item::before {
  content: "★"; /* símbolo flecha */
  background-color: #59aee3;
  color: white;
  font-size: 28px;
  font-weight: bold;
  width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 1;
}


.item h3 {
  font-weight: 700;
  font-size: 20px;
  margin-left: 50px; /* separación del ícono */
}

.item p {
  margin-left: 50px;
  font-size: 14px;
  font-family: "Roboto", Sans-serif;
    font-weight: 400;
}
@media (max-width: 576px) {
  .item {
    max-width: 100%; 
    padding: 20px 10px;
  }

  .item h3,
  .item p {
    margin-left: 60px;
    font-size: 14px;
  }

  .item::before {
    font-size: 20px;
    width: 50px;
  }
}
@media only screen 
  and (min-device-width: 390px) 
  and (max-device-width: 390px) 
  and (min-device-height: 844px) 
  and (max-device-height: 844px) 
  and (-webkit-device-pixel-ratio: 3) {
    
  /* Estilos específicos para iPhone 12 Pro */
  .item {
    max-width: 100%;
   
    padding: 25px;
    font-size: 14px;
  }
}
@media only screen 
  and (min-device-width: 430px) 
  and (max-device-width: 430px) 
  and (min-device-height: 932px) 
  and (max-device-height: 932px) 
  and (-webkit-device-pixel-ratio: 3) {
    
  /* Estilos específicos para iPhone 14 Pro Max */
  .item {
    max-width: 100%;
    padding: 20px;
    font-size: 18px;
  }
}




#subtitulo{
  position: relative;
  top: 10px;
  font-style: italic;
  font-size: 20px;
}

.custom-img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  object-position: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.custom-img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
@media (max-width: 576px) {
  .custom-img {
    width: 180px;
    height: 180px;
  }
}



/*CONTACTO*/

#lista {
  padding: 0;
  text-align: center;
}


#title {
  color: #3F96B4;
  position: relative;
  right: 10px;
}

#boton-contacto {
  background-color: #3F96B4; 
  color: white; 
  border: 2px solid #3F96B4; 
  transition: all 0.3s ease; 
}

#boton-contacto:hover {
  background-color: white; 
  color: #3F96B4; 
  border-color: #3F96B4;
  transform: scale(1.05); 
}

#horarios{
  color: #3F96B4;
}


#lista, #direccion, #email, #telefono, #whatsapp {
  color: #3F96B4;
}

/* Estilos para los enlaces */
a#direccion, 
a#email, 
a#telefono, 
a#whatsapp {
  color: #3F96B4;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  margin-top: 20px;
  display: inline-block;
}

a#direccion:hover, 
a#email:hover, 
a#telefono:hover, 
a#whatsapp:hover {
  transform: translateY(-5px);
  color: #3F96B4; 
}

a#direccion:hover svg, 
a#email:hover svg, 
a#telefono:hover svg, 
a#whatsapp:hover svg {
  transform: translateY(-5px);
}

svg {
  transition: transform 0.3s ease;
}

.formulario-contacto{
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 2%;
  color: #fff;
  position: relative;
  top: 20px;
}

.animate__animated.animate__fadeInUp{
  visibility: visible;
}


footer {
  background-color: #F0EEE9 ;
}

footer a,
footer i,
footer h5,
footer li {
  color: #3F96B4 !important;
}

footer a.text-decoration-none {
  color: #3F96B4 !important;
}

/*SLIDER CLIENTES*/
.slider-clientes {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  background-color: #FAFAFA;
}

.slider-clientes-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.slider-clientes:hover .slider-clientes-track {
  animation-play-state: paused;
}

.slide-cliente {
  flex: 0 0 auto;
  width: 160px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-cliente img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Animación suave */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tipografía y texto */
.h1-cliente {
  text-align: center;
}

.info-empresas {
  text-align: center;
  margin: 1rem auto 2rem;
  padding: 0 10%;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
}

.engranaje {
  transform-origin: center;
  transform-box: fill-box;
  animation: girar 4s linear infinite;
}

@keyframes girar {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/* Slider contenedor */
.aside-slider {
  width: 100vw;
  height: 50vh;
  overflow: hidden;
  position: relative;
}

.slider-principal {
  display: flex;
  width: 300vw; /* 3 slides * 100vw */
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Cada slide ocupa 100vw */
.slide-principal {
  flex: 0 0 100vw;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: bolder;
  font-style: italic;
  text-align: center;
  padding: 0 1rem;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
}

/* Fondo oscuro para mejorar legibilidad */
.slide-principal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Texto con animación */
.slide-principal p {
  position: relative;
  z-index: 2;
  margin: 0;
  animation-fill-mode: forwards;
}

/* Diferentes fondos */
.slide1 {
  background-image: url('../assets/slider1.jpg');
}
.slide2 {
  background-image: url('../assets/slider3.png');
}
.slide3 {
  background-image: url('../assets/slider2.png');
}

/* Animación texto: subir y aparecer lentamente */
@keyframes fadeUpText {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* Contenedor slider-section para centrar */
.slider-section {
  width: 100vw;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fafafa;
}


.contenido-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.svg-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.svg-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.contenido-banner .inicio .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

@media (max-width: 768px) {
  .contenido-banner {
    flex-direction: column;
    text-align: center;
  }

  .contenido-banner .inicio .container {
    align-items: center;
  }

  .svg-wrapper {
    margin-right: 0 !important;
  }
}

.icono-feature {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.boton-flotante {
  position: fixed;
  top: 90%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 2000;
  padding: 12px 20px;
  background-color: var(--e-global-color-accent);
  color: white;
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 0 12px rgba(63, 150, 180, 0.6);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  width: auto;
  min-width: 140px;
  text-align: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

/* Efecto de brillo y “latido” */
@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 12px rgba(63, 150, 180, 0.6);
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0 20px rgba(63, 150, 180, 0.9);
  }
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 12px rgba(63, 150, 180, 0.6);
  }
}

.boton-flotante:hover {
  background-color: #2b708e;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 24px rgba(43, 112, 142, 1);
}


/*BOTONES DE CONTACTO, INICIO*/

.contacto-indice h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2b708e;
  text-align: center;
  margin-bottom: 2rem;
}

.circulo-contacto {
  width: 140px;
  height: 140px;
  background-color: #2b708e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 0 auto;
}

.circulo-contacto i {
  font-size: 52px;
  color: white;
  transition: transform 0.3s ease;
}

.circulo-contacto:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(63, 150, 180, 0.4);
}

.circulo-contacto:hover i {
  transform: rotate(5deg);
}

.contacto-descripcion {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: #54595E;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}

.contacto-item {
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .contacto-indice .container {
    flex-direction: column !important;
    align-items: center;
  }

  .circulo-contacto {
    width: 100px;
    height: 100px;
  }

  .circulo-contacto i {
    font-size: 36px;
  }

  .contacto-descripcion {
    font-size: 0.95rem;
  }
}

.btn-contacto {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-contacto:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

