header {
  position: relative;
  background-color: black;
  height: 100vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
  header {
    background: url("https://source.unsplash.com/XT5OInaElMw/1600x900") black
      no-repeat center center scroll;
  }

  header video {
    display: none;
  }
}

.h-100 {
  top: 50%;
}
/* ================================================================================== */
/* EFECTO PREGUNTA HEADER */
/* ================================================================================== */

.titulo_header h2 a {
  text-decoration: none !important;
  color: white !important;

  --s: 0.07em;
  --c: #ffffff;

  color: #0000;
  padding-bottom: var(--s);
  background:
    linear-gradient(90deg, var(--c) 50%, #000 0) calc(100% - var(--_p, 0%)) /
      200% 100%,
    linear-gradient(var(--c) 0 0) 0% 100% / var(--_p, 0%) var(--s) no-repeat;
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
  transition: 0.5s;
}
.titulo_header h2 a:hover {
  --_p: 100%;
}

.titulo_header h2 a {
  font-family: system-ui, sans-serif;
  cursor: pointer;
}

/* ================================================================================== */
/* SLIDER EN MOVIMIENTO */
/* ================================================================================== */
.slider_fondo {
  background-color: rgba(31, 148, 255, 0.75);
  position: relative;
  padding: 100px 0;
}
header .slider_principal {
  position: relative;
  top: 50%;
  height: 100%;
}
.slider_info {
  overflow: hidden;
  width: 100%;
}
.slider_info .slide-track {
  display: flex;
  align-items: center;
  animation: scroll 80s linear infinite;
  width: calc(500px * 12); /* 6 originales + 6 duplicadas */
}
.slider_info .item {
  flex: 0 0 auto;
  padding: 0 50px;
}

.slider_info .item img {
  max-width: 400px;
  width: 100%;
}
.slider_info .item a p {
  opacity: 0;
  color: #000000;
}
.slider_info .item a p:hover {
  opacity: 1;
  transition-duration: 0.4s;
}

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(
      calc(-400px * 7)
    ); /*AQUI SE COLOCA LA MITAD DE IMAGENES*/
    transform: translateX(calc(-400px * 6));
  }
}

/* ================================================================================== */
/* MENU PEGAGOSO */
/* ================================================================================== */

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.5);
}
.menu-flotante {
  width: 100%;
  background-color: #343a40;
}
.fixed {
  position: fixed;
  top: 0;
}
.menu_posicion {
  display: flex !important;
}
.menu_posicion .secmenu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.menu_posicion .menleft {
  padding-right: 120px;
}
.menu_posicion .mencenter {
  /* padding-right: 120px; */
  /* padding-left: 120px; */
  /* background-color: red; */
  justify-content: center;
}
.menu_posicion .menright {
  padding-left: 120px;
}
.ftco-section {
  padding-top: 0px !important;
}

/* ===================== MENU ======================== */
.ftco-navbar-light .navbar-nav > .nav-item.active > a.active {
  color: #ff0000;
}

.ftco-section {
  padding-top: 0px !important;
}

.bg-dark {
  background-color: #343a40 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-size: 14px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  opacity: 1 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #ff0000;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:before {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
  color: #ff0000;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover:before {
  width: 100%;
}
@media (min-width: 992px) {
  #men_logo_1 {
    display: none;
  }
  #men_logo_2 {
    display: block;
  }
}
@media (max-width: 991.98px) {
  #men_logo_1 {
    display: flex;
  }
  #men_logo_2 {
    display: none;
  }
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
    color: #fff;
  }
  .menu_posicion {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .menu_posicion .secmenu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .menu_posicion .menleft {
    padding: 0px;
  }
  .menu_posicion .mencenter {
    padding: 0px;
  }
  .menu_posicion .menright {
    padding: 0px;
  }
}

@media (max-width: 767.98px) {
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ================================================================================== */
/* MENU PEGAGOSO 2*/
/* ================================================================================== */
.menu-flotante2 {
  width: 100%;
  background-color: #343a40;
}
/* ================================================================================== */
/* TEXTO GRANDE DESCRIPCION */
/* ================================================================================== */

.texto_grande .descripcion {
  background-color: rgba(31, 148, 255, 0.75);
}
.texto_grande .descripcion p {
  font-size: 42px;
  text-align: center;
  color: #fff;
}
/* ================================================================================== */
/* MENU VERTICAL */
/* ================================================================================== */
.menu_vertical ul {
  position: relative;
  padding-bottom: 40px;
}

.menu_vertical ul li {
  list-style: none;
  text-align: center;
  margin: -15px !important;
  padding: 0px !important;
}

.menu_vertical ul li a {
  color: #333;
  text-decoration: none;
  font-size: 2em;
  transition: 0.5s;
}

.menu_vertical ul:hover li a {
  color: #0002;
}

.menu_vertical ul li:hover a {
  color: #000;
  background: rgba(255, 255, 255, 1);
}

.menu_vertical ul li a:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5em;
  color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 500px;
  transition:
    letter-spacing 0.5s,
    left 0.5s;
}

/* ================================================================================== */
/* GALERIA */
/* ================================================================================== */

h2 {
  font-weight: bold;
  margin-bottom: 40px;
  padding-top: 40px;
  color: #fff;
}

@media (max-width: 767px) {
  h2 {
    margin-bottom: 25px;
    padding-top: 25px;
    font-size: 24px;
  }
}

.intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}
.intro p {
  margin-bottom: 0;
}

.item {
  background-color: rgb(255, 255, 255);
  margin: 5px 30px 30px 5px;
}

.item .box {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 250px;
  width: 100%;
}

.item .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 148, 255, 0.75);
  transition: opacity 0.15s ease-in;
  opacity: 0;
  padding-top: 80px;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.item:hover .cover {
  opacity: 1;
}

.item .name {
  font-weight: bold;
  margin-bottom: 8px;
}
.d-flex {
  justify-content: center;
  display: flex;
}

/* ================================================================================== */
/* DESPLAZAMIENTO DE SERVICIOS  */
/* ================================================================================== */
.slider_informacion {
  position: relative;
  top: 60px;
}
.slider_info2 {
  padding: 0px;
  height: auto;
  margin: auto;
  overflow: hidden;
}
.slider_info2 .slide-track_info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  animation: scroll2 40s linear infinite;
  -webkit-animation: scroll2 40s linear infinite;
  width: calc(340px * 6); /*10 ES EL NUMERO DE IMAGENES*/
}
.slider_info2 .slide_info {
  width: auto;
  padding: 5px;
}
.slider_info2 .slide_info h3 {
  width: 100%;
  color: #fff;
  padding: 0px;
}

@keyframes scroll2 {
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  0% {
    -webkit-transform: translateX(
      calc(-200px * 6)
    ); /*AQUI SE COLOCA LA MITAD DE IMAGENES*/
    transform: translateX(calc(-200px * 6));
  }
}
/* ================================================================================== */
/*  NEHUMORPHISMO */
/* ================================================================================== */

.slider {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  background: transparent;
}

.slider-track {
  display: flex;
  gap: 20px;
  animation: scroll 30s linear infinite;
}

.slider-track a {
  position: relative;
  width: 280px;
  height: 230px; /*160px*/
  flex: 0 0 auto;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2eeee;
  box-shadow:
    20px 20px 60px #bebebe,
    -20px -20px 60px #ffffff;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.slider-track a:hover {
  transform: translateY(-8px);
  box-shadow:
    12px 12px 30px #bebebe,
    -12px -12px 30px #ffffff;
}

.slider-track a img {
  width: 98%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  border-radius: 12px;
  margin: 0;
}

/* Fondo translúcido */
.slider-track a::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  border-radius: 12px;
  outline: 2px solid white;
  z-index: 1;
}
/* Blob animado */
.slider-track a::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 150px;
  border-radius: 50%;
  background-color: #ff0000;
  opacity: 0.4;
  filter: blur(14px);
  animation: blob-bounce 6s infinite ease;
}

@keyframes blob-bounce {
  0% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
  25% {
    transform: translate(-100%, -100%) translate3d(100%, 0, 0);
  }
  50% {
    transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
  }
  75% {
    transform: translate(-100%, -100%) translate3d(0, 100%, 0);
  }
  100% {
    transform: translate(-100%, -100%) translate3d(0, 0, 0);
  }
}

/* Animación del slider */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================================================================================== */
/* PRINTSCREEN  */
/* ================================================================================== */

/* CARD GENERAL */
.project-card {
  display: block;
  border-radius: 18px;
  background: #ffffff;
  padding: 0px; /* nuevo: reduce el “recuadro blanco” visual */
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12); /* sombra más elegante */
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* HOVER */
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.16);
}

/* CONTENEDOR DE IMÁGENES */
.project-img-container {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 14px;
  background: #f2eeee;

  /* position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden; */
}

.project-link {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.project-link.active {
  opacity: 1;
  pointer-events: auto;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* IMÁGENES */
/* .project-img-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 14px;
} */

/* IMAGEN ACTIVA */
/* .project-img-container img.active {
  opacity: 1;
} */
/* RESPONSIVE DEL CONTENEDOR */
@media (max-width: 767px) {
  .project-card {
    padding: 0px; /* hace que el recuadro sea más delgado */
    border-radius: 14px;
  }

  .project-img-container {
    height: 246px; /* reduce altura sin deformar */
  }
}
@media (max-width: 548px) {
  .project-card {
    padding: 0px; /* hace que el recuadro sea más delgado */
    border-radius: 14px;
  }

  .project-img-container {
    height: 367px; /* reduce altura sin deformar */
  }
}
@media (max-width: 360px) {
  .project-card {
    padding: 0px; /* hace que el recuadro sea más delgado */
    border-radius: 14px;
  }

  .project-img-container {
    height: 233px; /* reduce altura sin deformar */
  }
}

/* ================================================================================== */
/* DETALLE  */
/* ================================================================================== */
.titulo_seccion h2 {
  color: #000;
  padding: 0px;
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 991px) {
  .titulo_seccion h2 {
    padding-top: 50px;
  }
}
.texto-principal .descripcion {
  text-align: center;
  width: 100%;
  padding: 15px 20px;
}
.texto-principal .col-seccion {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.descripcion p {
  text-align: left;
  padding: 5px 20px;
}
.descripcion ul {
  text-align: left;
}

.fondo-texto {
  background-image: url(../img/fondos/sec-textos.jpg);
  background-repeat: repeat;
  background-position: bottom;
  background-size: cover;
}
.card-1 {
  border: 1px solid #397fc0;
  border-radius: 15px 0px 0px 0px;
  padding: 15px 0px;
}
.card-1 .titulo-card {
  display: flex;
  align-items: center;
  height: 90px;
}
.titulo-card h2 {
  color: #000;
  font-size: 1.5rem;
  text-align: center;
  padding: 20px 5px;
}
.icono {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icono img {
  width: 50%;
}
.btn-action a {
  color: #fff !important;
}
/* ================================================================================== */
/* PAGINA DETALLE */
/* ================================================================================== */
.titulo_detalle {
  display: flex !important;
}
.titulo_detalle .titulo_detallle2 {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.titulo_detallle2 a {
  text-decoration: none;
}

#menu-flotante {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
/* =========================
   CINTILLA SERVICIOS – TECH
========================= */
.services-ribbon {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  /* border-top: 1px solid #e5e7eb; */
  /* border-bottom: 1px solid #e5e7eb; */
  padding: 26px 0;
}

/* TÍTULO */
.services-label {
  display: block;
  text-align: center;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 22px;
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* LISTA */
.services-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

/* ITEM */
.services-icons li {
  width: 110px;
  padding: 16px 10px;
  border-radius: 16px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

/* ICONO */
.services-icons li i {
  display: block;
  font-size: 34px; /* 🔥 MÁS GRANDES */
  margin-bottom: 10px;
  transition: all 0.35s ease;
}

/* TEXTO */
.services-icons li span {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

/* ACTIVOS */
.services-icons li.active {
  color: #2563eb;
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
}

.services-icons li.active i {
  transform: scale(1.25);
}

/* HOVER */
.services-icons li:hover {
  transform: translateY(-6px);
  color: #1d4ed8;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15);
}

/* INACTIVOS (OPCIONAL MÁS TENUE) */
.services-icons li:not(.active) {
  opacity: 0.7;
}

.services-icons li:not(.active):hover {
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-icons li {
    width: 90px;
    padding: 14px 8px;
  }

  .services-icons li i {
    font-size: 28px;
  }
}

/* Testimonial */
.testimonial-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* tono muy suave, casi blanco */
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-box {
  max-width: 90%;
  padding: 40px 30px;
  border: 1px solid #e0e0e0; /* borde gris suave */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* sombra sutil */
  text-align: center;
  font-style: italic;
  background-color: #ffffff;
}

.testimonial-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 15px;
}

.testimonial-author {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555555;
}

/* ================================================================================== */
/* SECCION PROYECTOS */
/* ================================================================================== */
.proyectos {
  background-color: rgba(31, 148, 255, 0.75);
}

.footer-bottom p a {
  color: #333;
  text-decoration: none;
}
.datos_input label {
  font-weight: 500;
}
.fondo_forma_contactanos {
  display: flex;
  justify-content: center;
  padding: 20px 10px;
}
.datos_contacto {
  padding: 30px 10px;
}
.fondo-forma {
  background-color: rgba(56, 165, 255, 0.847);
  padding: 20px;
}
.datos_contacto h6 {
  color: #000000;
  align-items: center;
  font-weight: 500;
  margin-top: 10px;
}
.datos_contacto h6 a {
  color: #000000;
  align-items: center;
  font-weight: 500;
  text-decoration: none;
}
.padding-top {
  padding-top: 100px;
}

.contenedor-textos {
  text-align: left;
  margin-top: 50px;
}

.contenedor-textos h1 {
  font-size: 42px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.8s ease;
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
}
@media (max-width: 478px) {
  .contenedor-textos h1 {
    top: -150px;
  }
}

.contenedor-textos h1.active {
  opacity: 1;
}
.icon_desplazar {
  color: #fff;
  position: relative;
  bottom: -200px;
  z-index: 1;
}

/* ================================================================================== */
/* BOTON WHATSAPP */
/* ================================================================================== */
.btn-whats {
  height: 65px;
  width: 65px;
  background: #7ab730;
  border-radius: 3rem;
  position: fixed;
  bottom: 140px;
  /* bottom: 65px; */
  right: 17px;
  cursor: pointer;
  z-index: 99;
}

.btn-whats:hover {
  background-color: #7ab730;
  transition: all 1s;
}
.msmw {
  width: 246px;
  height: 62px;
  border: 1px solid #ffffff;
  border-radius: 1rem 1rem 0 1rem;
  padding: 6px 5px;
  text-align: left;
  box-shadow:
    0 2px 5px 0 rgba(0, 0, 0, 0.16),
    0 2px 10px 0 rgba(0, 0, 0, 0.12);
  background: linear-gradient(100deg, #ffffff, #eeeeee);
  position: fixed;
  bottom: 150px;
  /* bottom: 70px; */
  right: 90px;
  z-index: 999999;
  color: rgb(10, 0, 87);
}

.msmw:hover {
  background: linear-gradient(40deg, #ffffff, #ffffff);
  transition: all 1s;
  color: black;
}

#icon_whast {
  float: left;
  margin-right: 3px;
}

.btn-tel-flotante {
  height: 55px;
  width: 55px;
  background: #0070b8;
  border-radius: 2rem;
  position: fixed;
  bottom: 55px;
  right: 17px;
  cursor: pointer;
  z-index: 99;
}

.btn-tel-flotante > svg {
  display: inline-block;
  width: inherit;
  text-align: center;
  color: #fff;
  font-size: 30px;
  line-height: 50.1px;
  margin-top: 9px;
}
/* ================================================================================== */
/* MASCOTA FLOTANTE */
/* ================================================================================== */

#floatingImage {
  position: fixed;
  left: 20px;
  top: 92%;
  transform: translateY(-50%);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  width: 500px;
}

#floatingImage.show {
  opacity: 1;
  pointer-events: auto;
}

#floatingImage img {
  width: 120px; /* ajustable */
  max-width: 100%;
  border-radius: 10px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25); */
}

.floating-message {
  position: absolute;
  left: 20%;
  top: 0;
  transform: translateY(-50%);
  background: #ffffff;
  color: #333;
  padding: 14px 18px;
  max-width: 250px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* Triángulo tipo cómic */
.floating-message::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent #ffffff transparent transparent;
}

/* Mostrar mensaje cuando el lobo aparece */
#floatingImage.show .floating-message {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

/* ================================================================================== */
/* BOTON FLOTANTE INCIGNIA */
/* ================================================================================== */
/* Contenedor de botones flotantes */
.floating-buttons {
  position: fixed;
  right: 12px;
  /* bottom: 130px; */
  bottom: 200px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* espacio entre los botones */
}
.floating-buttons a {
  text-decoration: none;
}

/* Estilo base para botones circulares */
.btn-floating {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

/* Hover efecto */
.btn-floating:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* WhatsApp */
.btn-floating.whatsapp {
  background-color: #25d366;
  font-size: 50px;
}

/* Insignia */
.btn-floating.badge {
  background: none;
  padding: 0;
  overflow: hidden;
}

.btn-floating.badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* mantiene la forma circular */
  object-fit: cover; /* la imagen cubre todo el espacio */
  display: block; /* elimina espacios fantasmas */
}

/* ================================================================================== */
/* IMAGENES EN DESPLAZAMIENTO */
/* ================================================================================== */

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 0px;
}
.slider {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  width: calc(200px * 18); /* 12 imágenes (6 duplicadas) */
}

.slider-track a {
  flex-shrink: 0;
  background-color: #fff;
  margin: 0px 10px;
}

.slider-track img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  padding: 7px;
  /* box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4); */

  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.slider-track img:hover {
  transform: scale(1.05);
}

/* Animaciones */

/* izquierda a derecha */
.left-to-right .slider-track {
  animation: scroll-left-to-right 50s linear infinite;
}

/* derecha a izquierda */
.right-to-left .slider-track {
  animation: scroll-right-to-left 50s linear infinite;
}

/* Keyframes */

@keyframes scroll-left-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-right-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ubicacion-cliente {
  z-index: 99;
  color: #000;
  padding: 10px;
}
.card-img-proyecto {
  display: flex;
  flex-direction: column;
  padding: 15px;
}
/* ================================================================================== */
/* TEXTOS EN DESPLAZAMIENTO */
/* ================================================================================== */
/* Contenedor general */
.slider_informacion {
  overflow: hidden;
  padding: 20px 0;
}

/* Pista de deslizamiento */
.slider_info2 .slide-track_info {
  display: flex;
  width: max-content;
  animation: scroll-text-left-to-right 25s linear infinite;
}

/* Cada texto */
.slide_info {
  flex-shrink: 0;
  margin-right: 80px; /* Separación entre textos */
}

.slide_info h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  white-space: nowrap; /* Para que no se corte el texto */
  padding: 10px 20px;
  border-radius: 8px;

  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

/* Efecto hover */
.slide_info h3:hover {
  transform: scale(1.05);
}

/* Animación */
@keyframes scroll-text-left-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* textos en desplazamiento */
/* ================================================================================== */
/* SERVICIOS */
/* ================================================================================== */
.descripcion P span {
  font-weight: bold;
}
#secc_1 .descripcion_servicio p {
  margin: 0 auto;
  width: 80vw;
  max-width: 80vw;
  text-align: center;
  display: block;
}

.beneficio-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e5e5;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.beneficio-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(26, 188, 156, 0.13);
}
.icono-beneficio i {
  font-size: 2.5rem;
  color: #286dee;
}
.beneficio-titulo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2a4a;
  margin-bottom: 0.5rem;
}
.beneficio-desc {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0;
}

.gap-beneficios {
  row-gap: 24px;
}
@media (max-width: 767px) {
  .beneficio-card {
    padding: 1.2rem;
  }
  .icono-beneficio i {
    font-size: 2rem;
  }
  .beneficio-titulo {
    font-size: 1rem;
  }
  .beneficio-desc {
    font-size: 0.95rem;
  }
}

.proceso-card {
  background: rgb(52, 58, 64);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(26, 188, 156, 0.1);
  border: 1px solid #e5e5e5;
  min-height: 120px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.proceso-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(26, 188, 156, 0.13);
}
.proceso-num {
  font-size: 3.8rem;
  font-weight: 800;
  color: #000000;
  background: #eafaf6;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26, 188, 156, 0.07);
}
.proceso-text {
  font-size: 1.08rem;
  color: #ffffff;
  font-weight: 500;
}
@media (max-width: 767px) {
  .proceso-card {
    padding: 1.2rem;
    min-height: 90px;
  }
  .proceso-num {
    font-size: 2rem;
    width: 44px;
    height: 44px;
    margin-right: 12px;
  }
  .proceso-text {
    font-size: 1rem;
  }
}

/* seccion resultados */

.resultado-card {
  background:
    radial-gradient(
      1200px 600px at 85% 10%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    linear-gradient(135deg, #0d0f14 0%, #1a2230 60%, #0d0f14 100%);
  color: #e9eef5;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.resultado-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 22px;
}
.resultado-texto {
  font-size: 1.05rem;
  line-height: 1.65;
}
.resultado-badge {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  color: #e9eef5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
}
.resultado-decoration {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(0, 47, 255, 0.562),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
  filter: blur(4px);
}

/* Modo claro (por si tu tema alterna) */
@media (prefers-color-scheme: light) {
  .resultado-card {
    background:
      radial-gradient(
        1200px 600px at 85% 10%,
        rgba(0, 0, 0, 0.03),
        transparent 60%
      ),
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #1a2230;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }
  .resultado-icon {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    color: #1a2230;
  }
  .resultado-badge {
    background: rgba(0, 0, 0, 0.04);
    color: #1a2230;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .resultado-decoration {
    background: radial-gradient(
      closest-side,
      rgba(0, 125, 255, 0.14),
      rgba(0, 0, 0, 0)
    );
    filter: blur(8px);
  }
}

/* <!-- ====== ESTILOS CTA ====== --> */

.cta-servicio {
  position: relative;
}
.overlay-cta {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* oscurece la imagen */
  border-radius: 0;
}
.cta-card {
  position: relative;
  z-index: 1;
}
.cta-icon {
  font-size: 3rem;
  color: #ffd700;
}
.btn-cta-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border: 2px solid #fff;
  border-radius: 50px;
  background: transparent;
  color: #fff;
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.btn-cta-outline:hover {
  background: #fff;
  color: #1a2230;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* ================================================================================== */
/* SOLICITAR COTIZACION */
/* ================================================================================== */

/* HERO */
.nupo-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d6efd, #084298);
  color: #3a3a3aff;
  overflow: hidden;
  padding-top: 90px; /* altura del menú */
}

/* N U P O */
.nupo-img {
  margin-top: 10px;

  max-width: 320px;
  /* 👈 MÁS GRANDE */
  animation: floatNupo 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes floatNupo {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =========================
   GLOBITO DE TEXTO
========================= */
.nupo-dialog-bubble {
  transform: translateY(-6px);
  background: #ffffff;
  color: #333;
  padding: 22px 26px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  max-width: 450px;
  margin: 0 auto 20px;
  position: relative;
  animation: fadeUp 0.8s ease forwards;
}

.nupo-dialog-bubble::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 18px 18px 0 18px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.typing-text {
  font-size: 18px;
  line-height: 1.6;
  min-height: 120px;
}

/* ENTRADA SUAVE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nupo-img {
    max-width: 300px;
  }

  .nupo-dialog-bubble {
    max-width: 90%;
  }
}

/* FORM */
.form-card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  padding: 12px 30px;
  font-weight: bold;
}

@media (max-width: 991px) {
  .nupo-dialog::before {
    display: none;
  }
}

/* ================================================================================== */
/* ESTILOS ADICIONALES */
/* ================================================================================== */
/* Quita el atributo clickeable  */
.disabled-link {
  pointer-events: none;
  cursor: default;
  color: gray;
  text-decoration: none;
}

/* Para el modal */
/* Fondo oscuro */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-in-out;
}

/* Caja modal */
.modal-content {
  position: relative;
  background: #fff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: floatIn 0.5s ease;
}

/* Botón cerrar */
.close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: 0.2s;
}
.close:hover {
  color: #ff5252;
}

/* Título */
.modal-content h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

/* Botón WhatsApp */
.btn-wa {
  display: inline-block;
  margin-top: 15px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}
.btn-wa:hover {
  background: #20b954;
  transform: scale(1.05);
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes floatIn {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.titulo-modal {
  font-size: 2rem;
  font-weight: 800;
  color: #e67e22;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.texto-modal {
  font-size: 1.1rem;
  color: #2c3e50;
  margin: 10px 0;
  line-height: 1.6;
}

.texto-modal.secundario {
  font-size: 1.05rem;
  color: #444;
  font-style: italic;
}

.aniversario {
  font-weight: bold;
  font-size: 1.3rem;
  color: #c0392b;
  background: #fceaea;
  padding: 3px 8px;
  border-radius: 6px;
}

.whatsapp {
  color: #25d366;
  font-weight: bold;
}

.promo {
  color: #8e44ad;
  font-weight: bold;
  text-decoration: underline;
}

/* Para solicitar cotizacion */
.text-titulo-forma {
  color: #000;
  margin: 5px 0px;
  padding: 5px 0px;
  padding-bottom: 20px;
  text-align: center;
}

/* Footer  */

.footer-certificate {
  max-height: 100px; /* ajusta el tamaño según convenga */
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-certificate:hover {
  transform: scale(1.05); /* efecto sutil al pasar el mouse */
}

/* ================================================================================== */
/* PAGINAS DE SERVICIOS */
/* ================================================================================== */

.beneficio-img {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
