body {
  font-family: "Poppins", sans-serif;
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.headerbkg {
  background: url('../img/header-bkg-80.jpg');
  background-size: cover;
  height: auto;
}
.headerbkgservicios {
  background: url('../img/servicios-bkg-80.jpg');
  background-size: cover;
  height: auto;
}
.logonav {
  max-width: 255px;
}
.logowapp {
  max-width: 20px;
}

h1 {
  font-size: 2.5rem;
  color: white;
  font-weight: 800;
}

h2 {
  font-size: 1.9rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.4rem;
  color: #2f4f4f;
}

h5 {
  font-size: 1.25rem; 
}

ul {
  list-style: none;
  padding: 0;
}

.fondoceleste {
  background-color: #D8E4EE;
  min-height: 670px;
}

a {
  text-decoration: none;
}


.nombreproducto {
  text-align: center;
  color: #2f4f4f;
  padding-bottom: 30px;
}

.slidemodelo {
  text-align: center;
}

.nombreproducto p {
  margin-top: 15px;
  text-decoration: none;
  text-align: center;
}

.paddingproducto {
  padding: 4%;
}

footer {
  background: #2f4f4f;
  color: #fff;
}

.iconoredes a {
  text-decoration: none;
  color: white;
  font-size: 2rem;
  padding: 0 10px;
  margin: 0 5px;
}

/* SCROLL TOP BUTTON */

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: transparent;
  color: #4a4a4a;
  cursor: pointer;
  padding: 15px;
  font-size: 45px;
}

.swiper {
      width: 100%;
      height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

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

  .swiper-slide {
    width: 60%;
  }

  .swiper-slide:nth-child(2n) {
    width: 40%;
  }

  .swiper-slide:nth-child(3n) {
    width: 20%;
  }

  /* Estilo del botón WhatsApp llamativo */
.btn-whatsapp-pulse {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    animation: pulse-green 2s infinite;
}

.btn-whatsapp-pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Animación de latido */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajustes opcionales para inputs más modernos */
.form-control:focus {
    box-shadow: none;
    background-color: #fff !important;
    border: 1px solid #0d6efd !important; /* Color de tu marca */
}

/* --- RESPONSIVE: ARREGLOS PARA MÓVIL --- */

@media (max-width: 991px) {
    /* 1. El Header deja de flotar y vuelve a ser normal */
    .ineco-main-header {
        position: relative !important;
        top: 0 !important;
        background-color: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* 2. Quitamos el estilo de "tarjeta" del header */
    .ineco-main-header .header-wrapper {
        margin-top: 0 !important;
        box-shadow: none !important;
        padding: 10px 0 !important;
    }

    /* 3. El Hero ya no necesita tanto padding arriba */
    section.home-hero-section {
        padding-top: 0 !important; /* Quitamos el hueco gigante */
        height: auto !important;   /* Altura flexible */
        min-height: 400px;         /* Altura mínima decente */
        align-items: center !important; /* Centramos el texto verticalmente */
    }

    /* 4. Ajustar textos del Hero para que no sean gigantes */
    .hero-title {
        font-size: 2rem !important; /* Letra más chica */
    }
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    /* 5. Acomodar botones del Hero en columna */
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 6. Mostrar la Hamburguesa (Icono de menú) */
    .mobile-toggle {
        display: block !important;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        padding: 10px;
    }
}

/* Estilos del Botón WhatsApp Flotante */
.btn-wsp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px; /* 20px (botón ir arriba) + ~80px (altura botón) + 10px espacio */
    right: 17px;   /* Misma alineación derecha que #myBtn */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-wsp-flotante:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1); /* Efecto zoom al pasar el mouse */
    text-decoration: none;
}

.btn-wsp-flotante i {
    margin-top: 2px; /* Pequeño ajuste visual para centrar el ícono */
}

/* Ajuste Opcional para Móviles: */
@media (max-width: 768px) {
    .btn-wsp-flotante {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 110px; /* Ajuste si el botón de abajo cambia de tamaño en móvil */
        right: 22px;
    }
}

@media only screen and (max-width: 767px) {
  body {
    text-align: center;
  }
  .logonav {
    max-width: 210px;
  }
  li {
    margin-bottom: 10px;
    font-size: 0.8rem;
  }
  p {
    font-size: 0.8rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h4 {
    font-size: 1.1rem;
  } 
}


/* --- ESTILOS GALERÍA MODERNA --- */

.gallery-card {
    position: relative;
    overflow: hidden; /* Mantiene la imagen dentro de los bordes redondeados */
    height: 250px;    /* Altura fija para uniformidad */
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
}

/* La imagen ocupa todo el espacio y se "recorta" sin deformarse */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top center;
    transition: transform 0.5s ease; /* Suavidad al hacer zoom */
}

/* Efecto Zoom al pasar el mouse */
.gallery-card:hover img {
    transform: scale(1.1);
}

/* Capa oscura con icono que aparece al pasar el mouse */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Fondo semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Invisible por defecto */
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.gallery-card:hover .gallery-overlay {
    opacity: 1; /* Visible al pasar el mouse */
}

/* AJUSTE MOBILE: Altura más pequeña para celulares */
@media (max-width: 768px) {
    .gallery-card {
        height: 180px; /* Cuadros más pequeños en celular */
    }
    .gallery-card:hover img {
        transform: none; /* Quitamos el zoom en táctil para mejor performance */
    }
    /* Opcional: mostrar siempre el icono en móvil o quitarlo */
    .gallery-overlay {
        display: none; 
    }
}

/* --- AJUSTE MOBILE: Íconos Centrados --- */
@media (max-width: 768px) {
    
    /* Centra el círculo del icono */
    #doppler-access .icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    /* Opcional: Centra también el título "Tecnología...", "Gestión..." 
       para que quede alineado con el ícono */
    #doppler-access .feature-card h3 {
        text-align: center;
    }
}

/* --- ESTILOS SECCIÓN DOPPLER ACCESS --- */

#doppler-access {
    background: linear-gradient(to bottom, #ffffff, #f4f6f9); /* Degradado sutil para separar secciones */
    overflow: hidden;
}

/* Títulos y Cabecera */
#doppler-access .section-title {
    color: #2c3e50;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#doppler-access .badge-doppler {
    background-color: #0d6efd; /* Azul brillante */
    color: white;
    padding: 0.5em 1em;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

#doppler-access .divider {
    height: 4px;
    width: 60px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* Tarjetas de Características */
#doppler-access .feature-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05); /* Borde casi invisible */
    border-radius: 12px; /* Bordes modernos */
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    top: 0;
}

/* Efecto Hover: La tarjeta sube un poco */
#doppler-access .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; /* Sombra más fuerte al flotar */
    border-color: #0d6efd; /* Borde azul al seleccionar */
}

/* Iconos circulares */
#doppler-access .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.1); /* Azul muy suave */
    color: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Listas dentro de las tarjetas */
#doppler-access .feature-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px; /* Espacio para la viñeta */
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Viñeta personalizada (flechita azul) */
#doppler-access .feature-list li::before {
    content: "➤"; /* O puedes usar un código unicode de check */
    position: absolute;
    left: 0;
    top: 2px;
    color: #0d6efd;
    font-size: 0.8rem;
    font-weight: bold;
}

#doppler-access strong {
    color: #2c3e50; /* Títulos de items más oscuros */
}

/* Ajustes Mobile */
@media (max-width: 768px) {
    #doppler-access .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* --- ESTILOS COMPOSICIÓN (CORREGIDO) --- */

.software-composition {
    position: relative;
    margin-bottom: 30px; /* Espacio extra abajo para que no choque con lo siguiente */
    margin-right: 20px;  /* Espacio a la derecha para el efecto flotante */
}

/* 1. Marco de la imagen Grande (Escritorio) */
.desktop-frame {
    position: relative;
    z-index: 1; /* Queda atrás */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    background: white;
}

/* 2. Marco de la imagen Vertical (Menú flotante) */
.mobile-frame {
    position: absolute;
    z-index: 2; /* Queda encima */
    
    /* AJUSTE DE TAMAÑO Y POSICIÓN */
    width: 160px; /* Ancho fijo: Al reducir el ancho, el alto baja automáticamente */
    bottom: -30px; /* Que sobresalga un poco por abajo */
    right: -20px;  /* Que sobresalga un poco por la derecha */
    
    /* Estética */
    border: 4px solid white; /* Marco blanco grueso para separarla del fondo */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25); /* Sombra más fuerte para dar profundidad */
    overflow: hidden;
    background: white;
}

/* Asegura que las imágenes no se deformen */
.software-composition img {
    display: block;
    width: 100%;
    height: auto;
}

/* 3. Ajuste para Celulares (Responsive) */
@media (max-width: 991px) {
    .software-composition {
        margin-right: 0;
        margin-bottom: 0;
        margin-top: 2rem;
        max-width: 500px; /* Que no sea gigante en tablets */
        margin-left: auto;
        margin-right: auto;
    }

    /* En celular, hacemos la flotante más pequeña aún o la ocultamos si molesta */
    .mobile-frame {
        width: 100px; 
        bottom: -15px;
        right: -10px;
    }
}

/* --- BOTÓN CTA SECCIÓN SOFTWARE --- */

.btn-doppler-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0d6efd; /* Azul Doppler */
    color: white !important; /* Texto blanco forzado */
    padding: 15px 40px;      /* Tamaño generoso */
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;     /* Bordes totalmente redondos */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3); /* Sombra azulada suave */
    transition: all 0.3s ease;
    border: 2px solid #0d6efd; /* Borde para el efecto hover */
}

/* Efecto al pasar el mouse */
.btn-doppler-cta:hover {
    background-color: white;
    color: #0d6efd !important; /* Texto azul */
    transform: translateY(-3px); /* Se eleva un poquito */
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

/* Espacio entre el icono de WhatsApp y el texto */
.btn-doppler-cta i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* Ajuste Mobile: Que no sea tan ancho si la pantalla es muy chica */
@media (max-width: 576px) {
    .btn-doppler-cta {
        width: 80%;
        padding: 12px 20px;
    }
}

/* --- ESTILOS GALERÍA ACTUALIZADOS --- */

.gallery-card {
    position: relative;
    overflow: hidden;
    height: 250px; /* Altura fija */
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top center; /* <--- CLAVE: Muestra la parte superior de los tótems */
    transition: transform 0.5s ease;
}

/* Hover Zoom en Desktop */
.gallery-card:hover img {
    transform: scale(1.1);
}

/* Capa oscura (Overlay) */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo oscuro general */
    display: flex;
    flex-direction: column; /* Apila icono y texto verticalmente */
    align-items: center;
    justify-content: center;
    opacity: 0; /* Invisible por defecto en Desktop */
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1; /* Visible al pasar el mouse en Desktop */
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

/* --- ESTILOS MOBILE (Leyenda Permanente) --- */
@media (max-width: 768px) {
    .gallery-card {
        height: 180px; /* Un poco más chico en celular */
    }

    .gallery-card:hover img {
        transform: none; /* Sin zoom en mobile */
    }

    /* Overlay visible siempre en mobile */
    .gallery-overlay {
        opacity: 1 !important;
        /* Degradado solo abajo */
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%) !important;
        justify-content: flex-end !important; /* Texto abajo */
        padding-bottom: 10px;
    }

    /* Ocultar icono en mobile para limpiar */
    .gallery-overlay i {
        display: none !important;
    }

    /* Estilo del texto en mobile */
    .gallery-overlay span {
        font-size: 0.8rem;
        text-shadow: 0 1px 3px rgba(0,0,0,0.9);
        padding: 0 10px;
        width: 100%;
        margin-bottom: 5px;
    }
}