body{
    overflow-x: hidden;
}

main {
    max-width: 1600px;
    margin: auto;
}

:root {
  --verde-insitucional: #2FAD39;
  --verde-oscuro: #031F06;
  --grey-textos: #141321;
}


/* HERO */

.header-bck{
  background-color: #131321;
}


.header {
  position: relative;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
  background-color: #131321;
}

.header-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at center,
    rgba(20, 19, 33, 0.90) 45%,
    rgba(20, 19, 33, 0.70) 68%,
    rgba(20, 19, 33, 0.50) 82%,
    rgba(20, 19, 33, 0) 97%
  );
  z-index: 1;
}

.hero{
    margin: 0px 10px;
    padding: 160px 10px 80px 10px;
    position: relative;
  z-index: 2;
}

.hero-content{
  max-width: 540px;
  margin: auto;
}

h1{
    color: white;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 16px;
}

h1 span{
    color: var(--verde-insitucional);
}

.hero-txt{
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-txt strong{
  font-weight: 400;
}

.puv-hero li p{
    font-size: 14px;
    letter-spacing: 2px;
    color: white;
    font-weight: 400;
}

.puv-hero{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 24px 0 44px 0;
}

.puv-hero li{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-ctas{
    display: flex;
    justify-content: center;
}

.cta-verde{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: var(--verde-insitucional);
    font-size: 18px;
    font-variant: small-caps;
    font-weight: 400;
    color: white;
    border-radius: 16px;
    padding: 12px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
     transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-transparent{
     display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: #1413216f;
    border: 1px solid white;
    font-size: 18px;
    font-variant: small-caps;
    font-weight: 400;
    color: white;
    border-radius: 16px;
    padding: 12px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
     transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-verde:hover,
.cta-transparent:hover {
    transform: translateY(-4px);
}


/* CARRUSEL */
.carrusel{ max-width: 720px; margin: 164px auto 164px auto;}
.carrusel-txt{ color: var(--grey); font-size: 20px; letter-spacing: 2px; font-variant: small-caps; text-align: center;}
:root { --logo-h: 32px; /* altura en mobile */ --item-gap: 40px; /* espacio entre logos */ --duration: 22s; /* duración del loop — bajá para ir más rápido */ --fade-w: 60px; /* ancho del fade lateral */ }
 .logos-section { width: 100%; padding: 16px 0 2em 0; overflow: hidden; position: relative; } /* Fades laterales */ .logos-section::before, .logos-section::after { content: ""; position: absolute; inset-block: 0; width: var(--fade-w); z-index: 2; pointer-events: none; } .logos-section::before { left: 0; background: linear-gradient(to right, var(--carousel-bg) 0%, transparent 100%); } .logos-section::after { right: 0; background: linear-gradient(to left, var(--carousel-bg) 0%, transparent 100%); } /* ───────────────────────────────────────── TRACK — animación CSS pura ───────────────────────────────────────── */ .logos-track { display: flex; align-items: center; gap: var(--item-gap); width: max-content; /* pausa por defecto, JS activa cuando está en vista */ animation: scroll-logos var(--duration) linear infinite; animation-play-state: paused; } .logos-track.is-playing { animation-play-state: running; } @keyframes scroll-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } /* 50% porque el track tiene 2 copias: al llegar al 50% reseteamos de forma invisible y el ojo no lo nota */ } /* ───────────────────────────────────────── LOGOS ───────────────────────────────────────── */ .logo-item { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }  .logo-item img { height: var(--logo-h); width: auto; max-width: 120px; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }

 .logos-track-wrap {
  max-width: 740px;
  margin: 0 auto;
  overflow: hidden; 
}

/* TIPO PROYECTOS */

.titulos {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  margin-bottom: 64px;
}

.titulos h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--grey-textos);
  line-height: 1.15;
  max-width: 740px;
  padding: 0 0 0 20px;
}

.titulos h2 span {
  color: var(--verde-insitucional);
}

.titulos::after {
  content: "";
  display: block;
  height: 1px;
  background-color: var(--verde-insitucional);
  opacity: 0.8;
  flex: 1;
  max-width: 420px;
}

/* ===== Tipos de generadores - tarjetas ===== */

.tipos{
    margin: 0 10px;
}
 
.tipo-ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.tipo-tarjeta {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible; /* para que el icono pueda sobresalir */
    display: flex;
    flex-direction: column;
   max-width: 380px;
}

/* Imagen superior */
.tipo-img {
    position: relative;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    aspect-ratio: 21 / 9;
}

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

/* Contenido debajo de la imagen */
.tipo-content {
    position: relative;
    padding: 2.75rem 1.5rem 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Icono redondo que se superpone a la imagen */
.tipo-icono {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tipo-icono img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Texto */
.tipo-texto h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.85rem;
    color: #1a1a1a;
}

.tipo-texto h3 span {
    color: #2fa84f; /* verde de marca - ajustar si es necesario */
}

.tipo-texto p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--grey-textos);
    margin: 0 0 1.5rem;
    flex: 1;
    text-align: left;
}

/* CTA de WhatsApp */


.tipo-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2fa84f;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: transform 0.25s ease;
}

.tipo-cta a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #2fa84f;
    color: #fff;
    font-size: 0.95rem;
}

.tipo-cta a:hover{
    transform: translateY(-4px);
}

/* SERVICIOS */

.servicios{
    margin: 164px 10px;
}

.tecno-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  justify-content: center;
}

.tecno-content li {
  background-color: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 260px;
}

.tecno-content li img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background-color: rgba(47, 173, 57, 0.1);
  border-radius: 50%;
  padding: 12px;
}

.tecno-content li p:first-of-type {
  font-size: 18px;
  font-weight: 700;
  color: var(--verde-oscuro);
  margin: 0;
}

.tecno-content li p:last-of-type {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ZONAS */

.zonas-main{
    margin: 0 10px;
    max-width: 880px;
}

.zonas-tarjeta {
  position: relative;
  margin: 0 auto;
  border: 1px solid #d9dfe3;
  border-radius: 16px;
  padding: 50px 24px 24px;
}

.zonas-tarjeta h3 {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  font-variant: small-caps;
  color: var(--verde-insitucional);
  text-align: center;
  width: 80%;
}

.zonas-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 40px;
}

.zonas-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.zonas-img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.zonas-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zonas-content p {
  margin: 0;
}

.zonas-content p:first-child {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 16px;
  margin-bottom: 4px;
}

.zonas-content p:last-child {
  color: #8a8f96;
  font-size: 14px;
  line-height: 1.6;
}

/* OPINIONES */

.opiniones-secc{
  display: flex;
  justify-content: center;
  margin: 164px 0;
}

.opiniones-tarjeta {
  background-image:
    linear-gradient(
      to bottom,
      rgba(17, 32, 47, 0.95) 0%,
      rgba(17, 32, 47, 0.75) 55%,
      rgba(17, 32, 47, 0.35) 100%
    ),
    url("../images/fondo-opiniones.webp");

  background-size: cover;
  background-repeat: no-repeat;
     background-position: calc(100% + 0px) top;
  border-radius: 8px 80px 8px 8px;
  max-width: 680px;
  width: 100%;
  padding: 64px 20px;
}

.opiniones-iz h2{
  font-size: 36px;
  letter-spacing: 2px;
  color: white;
  font-weight: bold;
  margin-bottom: 64px;
}

.opiniones-iz h2 span{
  color: var(--verde-insitucional);
}

.goog-rev{
  display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-weight: 500;
    align-items: center;
    position: relative;
    font-size: 14px;
}

.goog-rev p{
  position: absolute;
    top: 40px;
    left: calc(50% + 26px);
}

/* CARRUSEL REVIEWS */

.carrusel-div{
  margin-bottom: 64px;
}

.carrusel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carrusel-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.review-slide {
  min-width: 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.nombre-circulo{
  border-radius: 1000px;
  background-color: var(--verde-oscuro);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  height: 54px;
  width: 54px;
}

.nombre-circulo p {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
}

.review-nombre {
  color: #fff;
  font-weight: 600;
  font-size: 22px;
}

.review-estrellas {
  color: #f5c518;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-texto {
  color: white;
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
}

.carrusel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.activo {
  background: #fff;
}

/* CONTADOR */

.contador-secc{
  margin: 84px 0 34px 0;
  display: flex;
  justify-content: center;
}

.contador-lista li p:nth-child(1){
  font-size: 66px;
  color: var(--grey-textos);
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.contador-lista{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contador-lista li p:nth-child(2){
  font-size: 22px;
  color: var(--verde-insitucional);
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  font-variant: small-caps;
}

.contador-lista li hr{
  width: 68px;
  height: 1px;
  border: 1 px solid var(--verde-insitucional);
  opacity: 0.5;
}

/* PREGUNTAS FRECUENTES */

.faqs-sec{
  margin: 0 20px 120px 20px;
}


.titulo-faqs {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  margin-bottom: 84px;
  justify-content: center;
}

.titulo-faqs h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--grey-textos);
  line-height: 1.15;
  max-width: 740px;
}

.titulo-faqs h2 span {
  color: var(--verde-insitucional);
}

.titulo-faqs::after {
  content: "";
  display: block;
  height: 1px;
  background-color: var(--verde-insitucional);
  opacity: 0.8;
  flex: 1;
  max-width: 420px;
}

.faqs-content{
    max-width: 780px;
    margin: auto;
}

.faqs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid #dedede;
}

.faq-item:last-child {
  border-bottom: 1px solid #dedede;
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
}

.faq-question h3 {
  margin: 0;
  color: #141321;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.faq-arrow {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-right: 2px solid #39424e;
  border-bottom: 2px solid #39424e;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-right: 4px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 44px 24px 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 1px;
}

/* Estado abierto */
.faq-item.is-open .faq-arrow {
  transform: rotate(-135deg);
}

.faq-item.is-open .faq-question h3 {
  color: #000;
}

/* OTROS SERVICIOS */

.otros-ser-secc{
  margin-bottom: 164px;
}

.otros-tit {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  margin-bottom: 64px;
}

.otros-tit h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--grey-textos);
  line-height: 1.15;
  max-width: 740px;
  padding: 0 0 0 20px;
}

.otros-tit h2 span {
  color: var(--verde-insitucional);
}

.otros-tit::after {
  content: "";
  display: block;
  height: 1px;
  background-color: var(--verde-insitucional);
  opacity: 0.8;
  flex: 1;
  max-width: 420px;
}

.otros-tarjeta{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 8px 34px 8px 8px;
  border-radius: 24px;
  border: 1px solid #c5c6c8;
  max-width: 460px;
  color: var(--grey-textos);
  margin: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.otros-tarjeta img{
  border-radius: 16px;
  height: 64px;
  width: 64px;
}

.otros-tarjeta:hover{
  box-shadow: 0 16px 16px rgba(207, 207, 208, 0.22);
  transform: translateY(-4px);
}

/* PROYECTOS */

.proyectos{
  margin-top: 164px;
}

 .proy-tit{
  font-size: 36px;
  font-weight: bold;
  color: var(--grey-textos);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0 10px 64px 10px;
  gap: 8px;
 }

 .proy-tit::after {
  content: "";
  display: block;
  height: 1px;
  background-color: var(--verde-insitucional);
  opacity: 0.8;
  flex: 1;
  max-width: 420px;
}

 .proy-tit span{
  color: var(--verde-insitucional);
 }

 .proyectos-lista {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}


 .tarjeta-proy {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  border-radius: 22px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(10, 44, 72, 0.09);
}

.proy-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.proy-img > div {
  position: absolute;
  bottom: 16px;
  left: 16px;

  padding: 8px 14px;

  border-radius: 999px;
  background-color: rgba(8, 57, 84, 0.9);
  color: #ffffff;
}

.proy-img p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;

  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.proy-img i {
  color: var(--verde-insitucional);
}

.proy-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 20px 28px;

  text-align: center;
}

.proy-content h3 {
  margin: 0 0 16px;
  color: var(--grey-textos);

  font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}

.proy-content p {
  margin: 0 0 14px;
  color: var(--grey-textos);

  font-size: 0.98rem;
  line-height: 1.5;
}

.proy-content p:first-of-type {
  margin-bottom: 20px;
}

.proy-content p:last-child {
  margin-bottom: 0;
}

.proy-content span {
  font-weight: 700;
}



 @media (min-width: 425px) {

/* CARRUSEL */

:root {
        --logo-h: 38px;
        --item-gap: 52px;
      }

}




@media (min-width: 768px) {

  /* HERO */

  .header {
    min-height: 520px;
  }

  .hero {
    padding: 160px 40px 80px 40px;
    max-width: 760px;
    margin: auto;
}

  h1{
    text-align: center;
  }

  .hero-txt{
    text-align: center;
  }

  .puv-hero{
    flex-direction: row;
    gap: 36px;
    justify-content: center;
    margin: 34px 0 44px 0;
  }

  /* CARRUSEL */
  :root {
          --logo-h: 44px;
          --item-gap: 64px;
          --fade-w: 80px;
        }

    /* TIPO PROYECTOS */

    .tipos{
        margin: 0 80px;
    }

    /* SERVICIOS */

   .servicios{
    margin: 164px 80px;
}

/* ZONAS */

    .zonas-main{
    margin: 0 auto;
}

    .zonas-lista {
    grid-template-columns: 1fr 1fr;
  }

  .zonas-tarjeta {
    padding: 50px 54px 24px;
}

  .zonas-tarjeta h3{
    width: 50%;
    top: -14px;
  }

  .zonas-item:last-child {
    grid-column: 1 / -1;
  }

  /* OPINIONES */

    .opiniones-tarjeta{
        padding: 64px 80px;
        background-position: calc(100% + 0px) top;
    }

    /* CONTADOR */

    .contador-lista{
      gap: 44px;
    }

    /* PREGUNTAS FRECUENTES */

    .faqs-sec {
    margin: 144px 80px;
}

 .faq-question {
    padding: 28px 48px;
  }

  .faq-answer p {
    padding: 0 96px 28px 48px;
  }

  /* OTROS SERVICIOS */

  .otros-tit h2 {
  padding: 0 0 0 80px;
}

.otros-tit::after{
  margin-right: 80px;
}

 /* PROYECTOS */

     .proy-tit{
  margin: 0 80px 64px 80px;
 }

     .proyectos-lista {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .tarjeta-proy {
    flex: 0 0 calc((100% - 48px) / 2);
    max-width: 580px;
  }

         .proy-content {
    padding: 26px 24px 30px;
  }

  .proy-content h3 {
    font-size: 1.4rem;
  }

  .proy-content p {
    font-size: 0.95rem;
  }
}



@media (min-width: 1024px) {

  /* HERO */

    .header {
      min-height: 620px;
    }

    .hero{
      padding: 200px 10px 140px 10px;
  }

  .puv-hero {
    margin: 34px 0 64px 0;
  }

  /* CARRUSEL */

  :root {
          --logo-h: 52px;
          --item-gap: 80px;
          --fade-w: 100px;
        }

    /* TIPO PROYECTOS */

    .tipos-generadores ul {
        padding: 2.5rem;
    }

     /* OPINIONES */

  .opiniones-tarjeta{
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    gap: 84px;
    padding: 54px 80px;
    background-image: url("../images/fondo-opiniones.webp");
  }

  .opiniones-iz{
    max-width: 520px;
  }

  .opiniones-iz h2 {
    margin-bottom: 44px;
}

  .carrusel-div {
    margin-bottom: 0px;
}
  .goog-rev{
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
  }

  .goog-rev p{
            top: unset;
        width: 100%;
        bottom: 8px;
  }

  /* PREGUNTAS FRECUENTES */

     .titulo-faqs h2 {
        font-size: 36px;
  flex-shrink: 0;
}


  .faq-question {
    padding: 30px 96px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-answer p {
    padding: 0 160px 32px 96px;
    max-width: 900px;
  }

}



@media (min-width: 1440px) {

  /* HERO */

  .hero{
    max-width: 960px;
  }

  .header {
    min-height: 720px;
    max-width: 1800px;
        margin: auto;
    background-position: bottom center;
  }

      .hero {
        padding: 200px 10px 140px 120px;
    }
}

