/*indice



*/

html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: "Poppins", Arial, sans-serif;
    scroll-behavior: smooth;
    font-weight: 500;
}

noscript iframe[src*="googletagmanager.com"] {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

    
*,
*::after,
*::before {
   box-sizing: inherit;
}
    
body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
   font-family: "Poppins", Arial, sans-serif;
}

ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p{
    padding: 0;
    margin: 0;
}

section, main, header{
    position: relative;
}

/* NAVBAR */

/*header-inicio*/
/* ================================
   HEADER INICIO
================================ */



/* ========================================
   SECCION SERVICIOS INICIO
======================================== */

.servicios-inicio {
    padding: 80px 20px 40px;
    background: #f8f9fb;
}

/* CONTENEDOR GENERAL */
.servicios-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

/* LADO IZQUIERDO */
.servicios-info {
    text-align: left;
}

.section-subtitle {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #005b97;
    margin-bottom: 20px;
    font-weight: 900;
}

.section-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

/* CTA GENERAL */
.servicios-cta p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #111;
    font-weight: 500;
}

/* GRID SERVICIOS */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* TARJETAS */
.servicio-item {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servicio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}

/* ICONO */
.servicio-item img {
    height: 55px;
    margin-bottom: 20px;
}

/* TITULO */
.servicio-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #005b97;
    text-align: center;
}

/* DESCRIPCION */
.servicio-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* BOTON SERVICIO */
.servicio-btn {
    display: inline-block;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 5px;
    margin-top: auto;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {

    .servicios-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .servicios-info {
        text-align: center;
    }

    .section-description {
        margin-left: auto;
        margin-right: auto;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .servicios-inicio {
        padding: 80px 20px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-item {
        text-align: center;
    }

    .servicio-item img {
        margin-left: auto;
        margin-right: auto;
    }
}

/*problema inicio*/

.problema-inicio {
  padding: 40px 0;
  background: #f9fafb;
}

.problema-inicio .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.problema-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.problema-header h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #005b97;
}

.problema-header p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* SLIDER */

.slider-problemas {
  background: linear-gradient(to right, #185E95, #03111C);
  color: #fff;
  padding: 50px;
  border-radius: 12px;
  min-height: 180px;
  display: flex;
  align-items: center;
  position: relative;
}

.slide {
  display: none;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  display: block;
  opacity: 1;
}

/* SOLUCIONES */

.soluciones {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.solucion-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.solucion-item:hover {
  border-bottom: 2px solid #0077ff;
  transform: translateX(5px);
}

.solucion-item h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.solucion-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.icon {
  color: #0077ff;
  flex-shrink: 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .problema-grid {
    grid-template-columns: 1fr;
  }
}

/*diferenciador*/

.diferenciador-inicio {
  padding: 100px 0;
  background: #fff;
}

.diferenciador-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px;
}

.diferenciador-header h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: #005b97;
}

.diferenciador-header p {
  color: #555;
  line-height: 1.7;
}

/* GRID OSCURO */

.grid-diferenciadores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #111;
  margin-bottom: 100px;
}

.grid-diferenciadores .item {
  padding: 40px;
  border: 1px solid #222;
  color: #fff;
  transition: 0.3s ease;
}

.grid-diferenciadores .item:hover {
  background: #1a1a1a;
}

.grid-diferenciadores h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.grid-diferenciadores p {
  font-size: 0.95rem;
  color: #ccc;
}

/* SLIDER */

.portfolio-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.portfolio-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s ease;
}

.portfolio-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.contenido {
  position: absolute;
  bottom: 80px;
  left: 80px;
  color: #fff;
  max-width: 500px;
  opacity: 0;
  transition: opacity 0.8s ease 1s;
}

.portafoli-slide__a{
    margin-top: 15px;
    display: inline-block;
    background-color: #ffffffaa;
    color: #005b97;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: underline;
    transition: 0.5s;
}

.portafoli-slide__a:hover{
    background-color: #005b97;
    color: #ffffff;
}

.portfolio-slide.active .contenido {
  opacity: 1;
}

/* Flechas */

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 3;
}

.prev { left: 20px; }
.next { right: 20px; }

/* DOTS */

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background: #777;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.dots .active-dot {
  background: #fff;
}

/* RESPONSIVE */

@media(max-width: 900px) {
  .grid-diferenciadores {
    grid-template-columns: 1fr;
  }
}

/*ctr final inicio*/

.cta-whatsapp {
  padding: 100px 40px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.cta-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e2e8f0;
}

.cta-cierre {
  font-weight: 600;
  color: #fff;
}

.btn-cta-whatsapp {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 32px;
  background: #086129;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn-cta-whatsapp:hover {
  background: #022510;
  transform: translateY(-3px);
}

.cta-image img {
  width: 100%;
  max-width: 500px;
}

/* Responsive */

@media(max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-image {
    margin-top: 40px;
  }
}