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;
  object-position: 80% top;
  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: 640px;
  margin: auto;
}

h1{
    color: var(--verde-insitucional);
    font-variant: small-caps;
    font-size: 22px;
    letter-spacing: 2px;
}

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

.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;
    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;
  color: #ffffff;
}

.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, box-shadow 0.25s ease;
}

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

/* INTRODUCCION */

.protegido-secc {
  padding: 40px 20px;
  background-color: #ffffff;
}

.protegido-wrap {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

/* ---------- IMAGEN CON MARCO ---------- */

.protegido-media {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}


.protegido-img {
max-width: 280px;
  height: auto;
}

/* ---------- CONTENIDO ---------- */

.protegido-content {
  display: flex;
  flex-direction: column;
}

.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;
  color: var(--grey-textos);
  margin: 0 0 44px;
  max-width: 480px;
}

/* ---------- BADGES ---------- */

.protegido-badges {
  list-style: none;
  margin: 34px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.protegido-badges li {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #2c3e4a; /* azul grisáceo oscuro */
  border-radius: 999px;
  padding: 10px 22px;
  width: fit-content;
  max-width: 240px;
}

.protegido-badges li img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.protegido-badges li p {
  font-size: 14px;
  font-variant: small-caps;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

/* CASAS GRANDES */

.residenciales-secc {
  padding: 48px 0 40px;
  overflow: hidden; 
}

.casa-grande{
    margin: 84px 0 0 0;
}

.casa-chica{
    margin: 0 0 84px 0;
}

.residenciales-hero {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Caja gris de fondo con acento verde a la izquierda */
.residenciales-hero-inner {
  position: relative;
  background-color: #f5f5f5;
  border-radius: 0 48px 24px 24px;
  padding: 40px 10px 0;
}

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

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

.residenciales-header {
  max-width: 640px;
}

.residenciales-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
}

.residenciales-titulo {
  font-size: 28px;
  font-weight: 700;
  color: var(--grey-textos);
  margin: 0 0 16px;
}

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

.residenciales-texto {
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-textos);
  margin: 24px 0 84px;
}

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

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

.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;
  font-variant: small-caps;
  color: #ffffff;
  max-width: 360px;
}

/* ---------- CARRUSEL: POSICIÓN (bleed sobre la caja gris) ---------- */

.residenciales-carrusel {
  position: relative;
  top: 36px;
}

/* ============================
   CARRUSEL — ESTRUCTURA
   ============================ */

.car-wrap {
  position: relative;
}

.car-track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.car-track-wrap::-webkit-scrollbar {
  display: none;
}

.car-track {
  display: flex;
  gap: 8px;
}

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

.car-card {
  scroll-snap-align: start;
  flex: 0 0 90%;
  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 0 0 0;
}

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

/* ---------- NAVEGACIÓN ---------- */

 .car-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 28px 0;
  }

.car-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  color: #2c3e4a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.car-btn:hover:not(:disabled) {
  background-color: #2c3e4a;
  border-color: #2c3e4a;
  color: #ffffff;
}

.car-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.car-btn svg {
  pointer-events: none;
}

.car-counter {
  font-size: 0.95rem;
  color: #6b6b6b;
  min-width: 32px;
  text-align: center;
}

.car-counter strong {
  color: #1a1a1a;
  font-weight: 800;
}

/* CTA SILENCIOSOS */

.silencioso-sec{
    display: flex;
    justify-content: center;
}

.silencioso-bck{
    width: 100%;
    min-height: 280px;
    max-width: 980px;
    background-image: linear-gradient(to right, #14132100 0%, rgb(20 19 33 / 0%) 35%, rgba(20, 19, 33, 0) 100%), url(../images/silenciosos-background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 40px;
    padding: 40px 20px;
}

.sileciosos-content{
    max-width: 480px;
}

.sileciosos-content h2{
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
}

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

.sileciosos-content p{
    font-size: 16px;
    color: white;
    line-height: 1.3;
    margin-bottom: 36px;
}

/* CARRUSEL */
.carrusel{ max-width: 720px; margin: 84px auto 0 auto;}
.carrusel-txt{ color: var(--grey); font-size: 20px; letter-spacing: 2px; font-variant: small-caps; text-align: center;}
:root { --logo-h: 32px; --logo-h-clientes: 44px;/* 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 ───────────────────────────────────────── */ .logo-item-clientes { flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 16px; }  .logo-item-clientes img { height: var(--logo-h-clientes); width: auto; max-width: 220px; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }


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

 /* 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);
    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;
  color: var(--grey-textos);
  line-height: 1.5;
}

.servicios-tarjeta a{
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
  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: 144px 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: 0;
  }

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

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

  /* INTRODUCCION */

  .protegido-secc {
    padding: 60px 40px;
  }

  .protegido-wrap {
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 44px;
  }

  .protegido-media {
    flex: 1;
    max-width: none;
    margin: 0;
  }

  .protegido-content {
    flex: 1.5;
  }

  .protegido-titulo {
    font-size: 2rem;
  }

  .protegido-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
  }

  .protegido-badges li {
    flex: 1 1 auto;
  }

  /* CASAS GRANDES */

  .residenciales-secc {
    padding: 64px 0 60px;
    display: flex;
    justify-content: center;
    max-width: 1600px;
  }

  .residenciales-hero{
    max-width: 1000px;
    margin: 0;
  }

  .residenciales-hero-inner {
    padding: 56px 40px 60px;
  }

  .residenciales-titulo {
    font-size: 2rem;
  }

  .residenciales-texto {
    font-size: 0.95rem;
    max-width: 580px;
  }

  .residenciales-carrusel {
    margin-right: -40px;
  }

 .car-wrap{
    position: relative;
 }

  .car-track {
    padding: 0 40px;
  }

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


  .car-img {
height: 220px;
  aspect-ratio: unset;
}

/* SILENCIOSOS */

.silencioso-bck {
    padding: 40px 40px;
}

/* CARRUSEL */
  :root {
          --logo-h: 44px;
          --item-gap: 64px;
          --fade-w: 80px;
        }
  /* 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: 640px;
    }

    .header-hero-img {
  object-position: center center;
}

.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: 200px 10px 140px 10px;
      max-width: 1200px;
  }

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

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

  /* INTRODUCCION */

  .protegido-badges {
    justify-content: flex-start;
  }

  /* CASAS GRANDES */

  .residenciales-titulo {
    font-size: 2.3rem;
  }

  .car-card {
    flex: 0 0 calc(44% - 16px);
  }
  .residenciales-badge-wrap{
    margin-left: 120px;
  }

  /* SILENCIOSOS */

.silencioso-bck {
    padding: 40px 64px;
}

 /* CARRUSEL */

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

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

  .header-hero-img {
  object-position: bottom center;
}

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