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: linear-gradient(to right, #141321 0%, rgb(20 19 33) 35%, rgba(20, 19, 33, 0) 100%);
  z-index: 1;
}

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

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



.tit-hero{
    color: white;
    font-size: 36px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 16px;
}

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

.hero-txt{
    color: white;
    font-size: 16px;
    letter-spacing: 2px;
    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: 6px;
    margin: 24px 0 44px 0;
}

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

.icon-shield,
.icon-documento {
  color: #12B82E;
  width: 20px;
  height: 20px;
}

.icon-shield svg,
.icon-documento svg {
  display: block;
  width: 100%;
  height: 100%;
}

.icon-arrow {
  display: inline-flex;
  align-items: center;
}

.icon-arrow-blanco{
  color: #ffffff;
}

.icon-arrow-verde{
  color: var(--verde-insitucional);
}

.icon-arrow svg {
  display: block;
  width: 21px;
  height: 8px;
}

.hero-ctas{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    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;
}

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

/* CARRUSEL */
.carrusel{ max-width: 720px; margin: 0 auto 84px auto;}
: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; 
}

 .carrusel-txt {
    color: var(--grey);
    font-size: 20px;
    letter-spacing: 2px;
    font-variant: small-caps;
    text-align: center;
}

/* MODELOS */

.modelos-intro{
    max-width: 780px;
    padding: 0 0 0 20px;
    margin-top: 164px;
}

.protegido-eyebrow {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-variant: small-caps;
    color: var(--verde-insitucional);
    margin: 0 0 8px;
}

.protegido-titulo {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 2px;
    color: var(--grey-textos);
    margin: 0 0 16px;
}

.protegido-texto {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--grey-textos)#141321;
    margin: 0 0 44px;
}

 /* TABLA CON TABS */

 .tabs-section{
  max-width: 940px;
  margin: auto;
 }

 .comerciales-secc {
  background-color: #ffffff;
  padding: 48px 0 0;
}

/* ---------- NAV DE TABS ---------- */

.comerciales-tabs-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid #d9d9d9;
  overflow-x: auto;
  scrollbar-width: none;
}

.comerciales-tabs-nav::-webkit-scrollbar {
  display: none;
}

.comerciales-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  padding: 16px 8px;
  position: relative;
}

.comerciales-tab img {
  width: 18px;
  height: 18px;
}

.comerciales-tab span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
}

.comerciales-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  border-radius: 3px 3px 0 0;
  transition: background-color 0.2s ease;
}

.comerciales-tab.active::after {
  background-color: #22a559;
}

.comerciales-tab.active span {
  color: #22a559;
}

/* Estilo "pill" para el tab activo, como en la imagen */
.comerciales-tab.active {
  background-color: #0e2818;
  border-radius: 16px 16px 0 0;
  padding: 16px 24px;
}

.comerciales-tab.active span,
.comerciales-tab.active img {
  color: #ffffff;
}

.comerciales-tab.active span {
  color: #ffffff;
}

.comerciales-tab.active::after {
  display: none; /* la pill ya marca el estado activo */
}

/* ---------- PANELES ---------- */

.comerciales-panel-wrap {
  position: relative;
}

.comerciales-panel {
  display: none;
}

.comerciales-panel.active {
  display: block;
}

.comerciales-hero-inner {
  position: relative;
  background-color: #f5f5f5;
  padding: 40px 20px 60px;
}

.comerciales-hero-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #a8e6b8;
}

/* ---------- HEADER ---------- */

.comerciales-tit{
  max-width: 540px;
}

.comerciales-tit h2{
  font-size: 28px;
  font-weight: bold;
  color: var(--grey-textos);
  letter-spacing: 2px;
}

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

.comerciales-tit p{
  color: var(--grey-textos);
  font-size: 16px;
  line-height: 1.5;
  margin: 28px 0;
}

.comerciales-tit p a{
  cursor: pointer;
  font-weight: bold;
  color: var(--verde-insitucional);
}


/* ---------- BADGE GARANTÍA ---------- */

.residenciales-badge-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px 0 34px 0;
}

.residenciales-badge-wrap::before,
.residenciales-badge-wrap::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #d9d9d9;
}

.residenciales-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #2c3e4a;
  border-radius: 999px;
  padding: 8px 20px;
  white-space: nowrap;
}

.residenciales-badge img {
  width: 16px;
  height: 16px;
}

.residenciales-badge p {
  font-size: 16px;
  letter-spacing: 2px;
  font-variant: small-caps;
  color: #ffffff;
  max-width: 360px;
}

/* ---------- ZONA DE CARDS (placeholder por ahora) ---------- */

.comerciales-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.comerciales-carrusel {
  max-width: 1280px;
  margin: 32px auto 0;
  min-height: 100px; /* provisorio, hasta sumar las cards */
}

/* ---------- CARD ---------- */

.car-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  overflow: hidden;
  position: relative;
}

.car-tag {
  position: absolute;
  top: 16px;
  left: 0;
  background-color: var(--verde-oscuro);
  color: #ffffff;
  font-size: 14px;
    font-variant: small-caps;
  padding: 8px 16px;
  border-radius: 0 999px 999px 0;
  z-index: 2;
  max-width: 80%;
}

.car-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px 24px 0 24px;
}

.car-img-placeholder {
  font-size: 2rem;
  color: #c9c9c9;
}

.car-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.car-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.car-link {
  width: 32px;
  height: 32px;
  border: 1px solid #22a559;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2fad39ed;
  font-size: 0.9rem;
  transform: rotate(45deg);
  transition: background-color 0.2s ease, color 0.2s ease;
  transition: transform 0.2s ease;
}

.car-card:hover {
    transform: translateY(-2px);
}

.car-card:hover .car-link {
  background-color: #22a559;
  color: #ffffff;
}

.car-divider {
  width: 100%;
  height: 2px;
  background-color: #22a559;
  margin: 4px 0 16px;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.car-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #4a4a4a;
  flex: 0 0 calc((100% - 24px) / 2);
}

.car-spec i {
  color: #22a559;
  font-size: 0.75rem;
}

.car-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #22a559;
  margin-bottom: 2px;
  text-align: center;
}

.car-cuotas {
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 500;
  color: #8a8a8a;
  text-align: center;
}

.car-iva {
  font-size: 0.8rem;
  font-style: italic;
  color: #8a8a8a;
  text-align: center;
  margin-bottom: 16px;
}

.car-nota {
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.5;
  color: #6b6b6b;
  margin-top: auto;
}

/* PROPUESTA VALOR */

.valor-sec{
  display: flex;
  justify-content: center;
  margin: 120px 0 44px 0;
}

.valor-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/industriales-cta.webp");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  padding: 44px 24px;
    margin: 84px 8px;
    border-radius: 40px;
    max-width: 1200px;
}

.tarjeta-valor-div{
  display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.tarjeta-valor-div h2{
  font-size: 28px;
  letter-spacing: 2px;
  color: white;
  font-weight: bold;
  max-width: 500px;
}

.tarjeta-valor-div h2 span{
  color: var(--verde-insitucional);
}

.tarjeta-valor-div p{
  color: white;
  font-size: 16px;
  letter-spacing: 2px;
  max-width: 580px;
}


.tarj-valor-lista ul{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  margin-top: 24px;
  padding: 0 24px;
  max-width: 800px;
}

.tarj-valor-lista ul li{
  width: 300px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.tarj-valor-lista ul li img{
  width: 24px;
  height: 24px;
}

.valor-cta{
  display: flex;
  justify-content: center;
}

 /* NUESTROS SERVICIOS */

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

.servicios-tarjeta-main{
  background-color: #ECEDED;
    border-radius: 8px 120px 8px 8px;
    padding: 84px 20px 64px 20px;
    margin: 0 10px;
    border-left: 4px solid #12b82e83;
    max-width: 980px;
}

.servicios-tit{
  font-size: 36px;
  letter-spacing: 2px;
  font-weight: bold;
  color: var(--grey-textos);
  margin-bottom: 40px;
  max-width: 480px;
}

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

.servicios-txt{
  font-size: 16px;
    color: var(--grey-textos);
    letter-spacing: 2px;
    margin-bottom: 64px;
}

.serv-tarjetas-div{
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: center;
}

.servicios-tarjeta{
  max-width: 390px;
  border-radius: 8px 80px 8px 8px;
  background-color: #F7F7F7;
  border: 1px solid #ECEDED;
  box-shadow: 0px 2px 4px #56565f8f;
  margin: 0 8px;
  overflow: hidden;
  width: 100%;
}

.servicios-tarjeta img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 0 80px 0 0;
}

.servicios-tarjeta h3{
  font-size: 24px;
  color: var(--grey-textos);
  letter-spacing: 2px;
  font-weight: bold;
}


.servicios-tarjeta p{
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--grey-textos);
  line-height: 1.5;
}

.servicios-tarjeta a{
  text-align: center;
  font-size: 18px;
  color: var(--verde-insitucional);
  font-weight: 700;
  font-variant: small-caps;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px auto 0 auto;
  transition: text-decoration 0.25s ease;
}

.servicios-tarjeta a:hover{
  text-decoration: underline;
}

.serv-tarj-content{
  display: flex;
    flex-direction: column;
    gap: 20px; 
    padding: 34px;
}

/* 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: 700px;
}

.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;
}

.faq-answer p a{
  color: var(--verde-insitucional);
  font-weight: bold;
}

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

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


 @media (min-width: 425px) {

/* CARRUSEL */

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


@media (min-width: 768px) {

  /* HERO */

  .header {
    min-height: 520px;
  }

  .hero-content{
    padding: 40px 0;
  }

  .puv-hero{
    flex-direction: row;
    gap: 36px;
  }

  .hero-ctas{
    justify-content: flex-start;
  }

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

       /* TABLA CON TABS */

  .comerciales-hero-inner {
    padding: 56px 40px 80px;
  }

  

  /* ---------- CARD ---------- */

.car-card {
  flex: 0 0 46%;
}

.car-img{
      aspect-ratio: 16 / 9;
  }

/* MODELOS INTRO */


.modelos-intro {
    padding: 0 80px 0 80px;
}

 /* PROPUESTA VALOR */


.valor-tarjeta {
    background-position: calc(100% + 0px) center;
    padding: 44px 44px;
}

 /* NUESTROS SERVICIOS */

    .servicios-tarjeta-main{
          padding: 84px 64px 64px 64px;
    }

    /* PREGUNTAS FRECUENTES */

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

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

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


@media (min-width: 1024px) {

  /* HERO */

    .header {
      min-height: 620px;
    }

    .header::before {
  background-image: linear-gradient(to right, #141321 0%, rgb(20 19 33 / 75%) 35% 45%, rgb(20 19 33 / 0%) 100%);
}

    .hero{
      padding: 160px 10px 140px 10px;
      max-width: 1200px;
  }

  .hero-content{
      margin: 0 120px;
  }

  .breadcrumb {
      margin: 0 0 84px 120px;
  }

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

   /* CARRUSEL */

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

    /* TABLA CON TABS */

        .comerciales-titulo {
    font-size: 2.2rem;
  }

  /* PROPUESTA VALOR */

  .tarjeta-valor-div{
    align-items: flex-start;
  }

  .valor-tarjeta{
    padding: 64px;
  }

  .valor-cta{
    justify-content: left;
  }

  /* 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 */

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

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

@media (prefers-reduced-motion: reduce) {
      .logos-track { animation: none !important; }
    }