@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html {
  font-family: "Jura", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: "Jura", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #F7F7F7;
  color: #111;
  font-weight: 400;
  line-height: 1.6;
  font-size: 18px;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4 {
  color: linear-gradient(90deg, #002e2e 0%, #004444 100% 100%);
  letter-spacing: 0.04em;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.text-right {
  text-align: right;
}

.text-muted {
  color: #666;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 2rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 1rem;
}

.pb-4 {
  padding-bottom: 1.5rem;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-none {
  display: none;
}

.w-100 {
  width: 100%;
}

.max-w {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hide-md {
    display: none;
  }
}

.show-md {
  display: none;
}
@media (max-width: 768px) {
  .show-md {
    display: block;
  }
}

/* ===========================
   Preloader
   =========================== */
html.is-preloading {
  overflow-y: scroll;
}

body.is-preloading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__inner {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.preloader__logo {
  position: relative;
  width: 100px;
  margin: 0 auto;
}

.preloader__logoBase,
.preloader__logoTop {
  width: 100%;
  height: auto;
  display: block;
}

/* logo “ghost” */
.preloader__logoBase {
  opacity: 0.18;
}

/* reveal desde abajo */
.preloader__logoReveal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  overflow: hidden;
}

.preloader__logoTop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* clave */
  top: auto; /* clave */
}

.preloader__percent {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2c2c2c;
}

html.is-preloading .hero-headline,
html.is-preloading .hero__cruces,
html.is-preloading .cross,
html.is-preloading #letter-l {
  opacity: 0 !important;
  visibility: hidden !important;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-1 {
  position: relative;
}

.hero__content {
  position: relative;
  height: 100%;
  z-index: 3;
}

.hero-headline {
  position: absolute;
  left: clamp(30px, 15vw, 200px);
  top: 46%;
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  gap: 0px;
  color: #fff;
  font-family: "Jura", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-headline .char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.hero-headline__line {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 14px);
  flex-wrap: wrap;
}

.hero-headline__small {
  font-size: clamp(14px, 1.4vw, 22px);
  font-weight: 300;
  opacity: 0.95;
  white-space: nowrap;
}

.hero-headline__big {
  font-size: clamp(26px, 3.2vw, 64px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 0.95;
  white-space: nowrap;
}

.hero-headline__plus {
  display: inline-flex;
  align-items: center;
  margin-left: -10px;
  transform: translateY(-0.55em);
}
.hero-headline__plus svg {
  width: clamp(18px, 2.1vw, 44px);
  height: auto;
  display: block;
}
.hero-headline__plus rect.plus-h, .hero-headline__plus rect.plus-v {
  fill: #ff7500;
}

.hero-headline__accent {
  width: clamp(30px, 4vw, 60px);
  height: 3px;
  background: #ff7500;
  justify-self: start;
  margin-bottom: 10px;
  order: -1;
}

/* ===========================
   HERO SLIDE 3 FIXES
   =========================== */
/* 1) Línea naranja a la izquierda de "CADA" en la misma fila */
.hero-headline--3 .hero-headline__accent {
  display: none;
}
.hero-headline--3 .hero-headline__line--top {
  align-items: center;
}
.hero-headline--3 .hero-headline__line--top::before {
  content: "";
  width: clamp(30px, 4vw, 60px);
  height: 3px;
  background: #ff7500;
  display: inline-block;
  margin-right: 12px;
  transform: translateY(-0.05em);
}

.hero__slider {
  position: relative;
  min-height: 100vh;
}

/* Slides stackeadas */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* BGs (mantiene tu sistema A/B para zoom loop) */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  opacity: 0;
  will-change: transform, opacity;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.hero__bg--video {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1 !important;
}

.hero__bg--video[data-poster=geometrico] {
  background-image: url("../img/poster-geometrico.jpg");
}

.hero__bg--video[data-poster=grua] {
  background-image: url("../img/poster-grua.jpg");
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__slide.is-active .hero__bg--a {
  opacity: 1;
}

.hero__cruces {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 220px;
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
}
.hero__cruces svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Bullets verticales: centro derecha */
.hero__bullets {
  position: absolute;
  right: clamp(16px, 3vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__bullet {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: "Jura", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* línea a la izquierda del número */
.hero__bullet::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(0.5px);
}

/* + oculto por defecto */
.hero__bullet-plus {
  display: none;
  font-size: 16px;
  line-height: 1;
  color: #ff7500;
  transform: translateY(-1px);
}

/* ===== ACTIVO ===== */
.hero__bullet.is-active {
  color: rgba(255, 255, 255, 0.95);
}

/* quitar línea en activo */
.hero__bullet.is-active::before {
  display: none;
}

.hero__bullet.is-active .hero__bullet-plus {
  display: inline-block;
}

/* estados focus accesibles */
.hero__bullet:focus-visible {
  outline: 2px solid rgba(255, 117, 0, 0.7);
  outline-offset: 2px;
  border-radius: 2px;
}

/* móvil: baja un poco y reduce saltos */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }
  .hero__slider {
    min-height: 100svh;
  }
  .hero-headline {
    top: 21%;
    transform: translateY(0%);
    gap: 0px;
    letter-spacing: 0.06em;
  }
  .hero-headline__line {
    gap: 0px;
  }
  .hero-headline__plus {
    margin-left: 5px;
  }
  .hero-headline__plus__margin {
    margin-top: 15px;
  }
  .hero-headline__line--top {
    flex-wrap: wrap; /* clave */
    row-gap: 0px; /* opcional */
  }
  .hero-headline__small {
    flex: 1 1 100%; /* se va a la línea de arriba */
  }
  .hero-headline__big {
    flex: 0 0 auto; /* queda abajo */
    white-space: normal;
  }
  .hero__cruces {
    width: 150px;
  }
  .bg-video {
    display: none;
  }
  /* el overlay que ya tienes en .hero__bg::after lo necesitas aquí también */
  .hero__bg--video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
  }
}
/* ===========================
   PROYECTOS
   =========================== */
/* Proyectos: oculto por defecto hasta que JS lo active */
.section-proyectos:not(.is-proyectos-ready) .proyecto {
  opacity: 0;
  transform: scale(0.985);
}

.section-proyectos {
  min-height: 100vh;
  background: #ff7500; /* naranja */
  position: relative;
  overflow: hidden;
  color: #0b2b2b;
}

.proyectos__inner {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(90px, 12vh, 140px) 0 clamp(60px, 10vh, 110px);
}

.proyectos__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: none;
  margin: 0;
}

.proyectos__track {
  display: flex;
  gap: clamp(26px, 4vw, 64px);
  /* base: mobile / desktop normal */
  padding-left: 64px;
  padding-right: 64px;
  width: 100%;
  justify-content: flex-start;
}

/* 1 o 2 proyectos: layout estático, sin carrusel */
.section-proyectos[data-projects-count="1"] .proyectos__track,
.section-proyectos[data-projects-count="2"] .proyectos__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 64px);
  padding-left: 64px;
  padding-right: 64px;
  justify-content: initial; /* ya no aplica en grid */
  transform: none !important; /* por si GSAP dejó x */
}

.section-proyectos[data-projects-count="1"] .proyectos__track {
  grid-template-columns: 1fr;
}

.section-proyectos[data-projects-count="1"] .proyecto,
.section-proyectos[data-projects-count="2"] .proyecto {
  width: auto;
  min-width: 0;
}

/* Flechas off */
.section-proyectos[data-projects-count="1"] .proyectos__arrow,
.section-proyectos[data-projects-count="2"] .proyectos__arrow {
  display: none !important;
}

/* Quitar el carrusel si solo hay 2 */
.section-proyectos[data-projects-count="1"] .proyectos__track,
.section-prosection-proyectos[data-projects-count="2"] .proyectos__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  overflow: visible;
  scroll-snap-type: none;
}

.section-proyectos[data-projects-count="1"] .proyectos__arrow,
.section-proyectos[data-projects-count="2"] .proyectos__arrow {
  display: none;
}

.section-proyectos[data-projects-count="1"] .proyectos__arrow,
.section-proyectos[data-projects-count="2"] .proyectos__arrow {
  display: none !important;
}

.section-proyectos[data-projects-count="2"] .proyectos__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  transform: none !important;
}

/* Mobile: 1 columna */
@media (max-width: 768px) {
  .section-proyectos[data-projects-count="1"] .proyectos__track,
  .section-proyectos[data-projects-count="2"] .proyectos__track {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-columns: unset;
    justify-content: initial;
    transform: none;
    padding: 0 18px;
  }
}
/* Quitar el carrusel si solo hay 2 */
/* flechas */
.proyectos__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  opacity: 0.9;
}

.proyectos__arrow--prev {
  left: 22px;
}

.proyectos__arrow--next {
  right: 22px;
}

.proyectos__arrowIcon {
  width: 44px;
  height: 44px;
  display: block;
}

.proyectos__arrowIcon img {
  width: 100%;
  height: 100%;
  display: block;
}

.proyectos__arrow--prev .proyectos__arrowIcon img {
  transform: rotate(180deg);
}

.proyectos__arrow--next .proyectos__arrowIcon img {
  transform: rotate(180deg);
}

/* invierte la izquierda */
.proyectos__arrow--prev .proyectos__arrowIcon {
  transform: scaleX(-1);
}

/* item */
.proyecto {
  flex: 0 0 auto;
  width: clamp(440px, 46vw, 560px); /* 2 visibles + peek del 3ro en desktop */
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
}

/* media cuadrada con zoom on hover en TODO el item */
.proyecto__media {
  position: relative;
  width: 260px;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.12);
}

.proyecto__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms ease;
  filter: saturate(0.8) contrast(1.05);
}

.proyecto:hover .proyecto__img {
  transform: scale(1.12);
}

/* badge “PRÓXIMAMENTE” diagonal */
.proyecto__badge {
  position: absolute;
  top: 40px;
  left: -60px;
  transform: rotate(-45deg);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  background: rgba(0, 0, 0, 0.3882352941);
  padding: 5px 60px;
}

/* texto */
.proyecto__body {
  max-width: 100%;
}

.proyecto__logo {
  width: min(320px, 15vw); /* controlado */
  max-width: 360px;
  margin-bottom: 14px;
}

.proyecto__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.proyecto__text {
  margin: 0 0 14px 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.75);
}

.proyecto__more {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
}

/* responsive */
@media (max-width: 992px) {
  .proyectos__track {
    grid-auto-columns: minmax(320px, 88vw);
    padding: 0 18px;
  }
  .proyectos__arrow {
    display: none; /* mobile: swipe */
  }
  .proyecto {
    grid-template-columns: 220px 1fr;
    gap: 18px;
  }
  .proyecto__media {
    width: 220px;
  }
  .proyecto__logo {
    width: 210px;
  }
}
@media (max-width: 768px) {
  .proyecto {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .proyecto__media {
    width: min(320px, 92vw);
  }
  .proyecto__body {
    max-width: min(420px, 92vw);
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
}
/* ===========================
   SOMOS (sección 2)
   =========================== */
.section-somos {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.section-somos .bg-video {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.section-somos[data-poster=quienes] {
  background-image: url("../img/poster-quienes.jpg");
}

.somos__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 650px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(90px, 10vh, 140px) 0;
}

.somos__left {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================
   SOMOS — TÍTULO ANIMABLE
   =========================== */
.somos__title {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 2.2vw, 28px);
  color: #ff7500;
}

.somos__titleLines {
  text-align: center;
  font-family: "Jura", system-ui, sans-serif;
  text-transform: uppercase;
}

.somos__line {
  line-height: 1.02;
  letter-spacing: 0.08em;
  margin: 0;
  font-weight: 500;
}

.somos__line--sm {
  font-size: clamp(18px, 1.9vw, 28px);
}

.somos__line--lg {
  font-size: clamp(46px, 3.6vw, 92px);
  letter-spacing: 0.06em;
  text-align: end;
}

/* letras para animación */
.somos__line .char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

/* esquinas */
.somos__corner {
  position: absolute;
  z-index: 2;
  width: clamp(38px, 5.5vw, 45px);
  height: auto;
}
.somos__corner svg {
  width: 100%;
  height: auto;
  display: block;
}

.somos__corner--tl {
  top: 0;
  left: 0;
}

.somos__corner--br {
  right: 0;
  bottom: 0;
}

.somos__corner {
  pointer-events: none;
  z-index: 5;
}

.somos__corner svg {
  width: 100%;
  height: auto;
  display: block;
}

.somos__right {
  position: relative;
  text-align: justify;
  font-size: 12px;
  line-height: 1.55;
  color: #111;
  max-width: 520px;
}
.somos__right p {
  margin: 0 0 18px;
}
.somos__right strong {
  font-weight: 700;
}

/* + superior derecha dentro del bloque de texto */
.somos__plusTop {
  position: absolute;
  top: -22px;
  right: -30px;
  transform: translate(35%, -35%);
  pointer-events: none;
}
.somos__plusTop svg {
  width: 52px;
  height: 52px;
  display: block;
}
.somos__plusTop rect.plus-h, .somos__plusTop rect.plus-v {
  fill: #ff7500;
}

.somos__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  text-decoration: none;
  color: #111;
  font-weight: 600;
}

.somos__morePlus svg {
  width: 14px;
  height: 14px;
  display: block;
}

.somos__moreContent {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.somos__more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.somos__morePlus {
  display: inline-flex;
  line-height: 0;
}
.somos__morePlus svg {
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .somos__inner {
    grid-template-columns: 1fr;
    padding: 110px 0 70px;
  }
  .somos__right {
    max-width: 680px;
    padding: 0 30px;
  }
  /* el overlay que ya tienes en .hero__bg::after lo necesitas aquí también */
  .section-somos::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
  }
}
/* ===========================
   INVERSIONISTAS
   =========================== */
.section-inversionistas {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #002e2e 0%, #004444 100% 100%);
}

/* Fondo full-bleed */
.inversionistas__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/fondo-inversionistas.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  /* IMPORTANTE: ancla la imagen a la izquierda como la referencia */
  background-position: left center;
  /* overlay para legibilidad del texto (como el look verdoso/gris) */
}
.inversionistas__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.19);
}

/* Contenido */
.inversionistas__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  /* padding lateral consistente con tu header/layout */
  padding: 150px 40px;
  /* grid 2 columnas como referencia:
     izquierda = “aire/imagen”
     derecha = contenido */
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  /* ancho máximo (para que el bloque no se vaya infinito en pantallas grandes) */
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
}

/* Columna izquierda: no tiene contenido, solo ayuda a empujar el contenido a la derecha */
.inversionistas__left {
  min-height: 1px;
}

/* Columna derecha: bloque de contenido (título + texto + ver más) */
.inversionistas__right {
  color: #000000;
  max-width: 560px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}
.inversionistas__right p {
  margin: 0 0 1.25rem 0;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  text-align: justify;
}

/* ---- TÍTULO ---- */
.inversionistas__title {
  position: relative;
  display: inline-block;
  /* centra el bloque del título dentro de su propia caja */
  text-align: center;
}

/* Ajuste fino para que el título quede como la referencia */
.inversionistas__titleLines {
  color: #fff;
  font-family: "Jura", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
}

.inversionistas__line--lg {
  font-size: clamp(27px, 3.9vw, 92px);
  line-height: 1.02;
}

.inversionistas__line--sm {
  font-size: clamp(20px, 2.5vw, 92px);
  line-height: 1.15;
  opacity: 0.92;
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

/* Esquinas del título (solo estas, como la referencia) */
.inversionistas__corner {
  position: absolute;
  display: inline-flex;
  line-height: 0;
}
.inversionistas__corner svg {
  display: block;
}

.inversionistas__corner--tl {
  top: -35px;
  left: -35px;
}

.inversionistas__corner--br {
  bottom: -35px;
  right: -35px;
}

/* ---- VER MÁS ---- */
.inversionistas__moreContent {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.inversionistas__more {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #000000;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.inversionistas__more .inversionistas__morePlus svg {
  display: block;
  width: 13px;
}

/* Responsive: en móvil pasa a una columna */
@media (max-width: 992px) {
  .inversionistas__bg {
    background-position: right center;
  }
  .inversionistas__inner {
    grid-template-columns: 1fr;
    padding: 100px 40px;
  }
  .inversionistas__right {
    margin-top: 40px;
  }
  .inversionistas__title {
    text-align: left;
    width: 80%;
    margin-left: 10%;
  }
  .inversionistas__corner svg {
    width: 30px;
  }
}
/* ===========================
   COMPRAR
   =========================== */
.section-comprar {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #F7F7F7;
}

/* Fondo full-bleed (imagen a la derecha) */
.comprar__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/fondo-comprar.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  /* IMPORTANTE: ancla la imagen a la derecha */
  background-position: right center;
  /* overlay sutil para legibilidad */
}
.comprar__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
}

/* Contenido */
.comprar__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  justify-items: center;
}

/* Columna izquierda: contenido */
.comprar__left {
  color: #111;
}
.comprar__left p {
  margin: 0 0 1.25rem 0;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

/* Columna derecha: solo “aire” para empujar el layout */
/* Columna derecha: bloque de contenido (título + texto + ver más) */
.comprar__right {
  color: #000000;
  max-width: 560px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}
.comprar__right p {
  margin: 0 0 1.25rem 0;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  text-align: justify;
}

/* ---- TÍTULO ---- */
.comprar__title {
  position: relative;
  display: inline-block;
  margin-bottom: 3.75rem;
  margin-left: 0rem;
  display: flex;
  flex-direction: column;
  align-content: center;
  flex-wrap: wrap;
}

.comprar__titleLines {
  color: linear-gradient(90deg, #002e2e 0%, #004444 100% 100%);
  font-family: "Jura", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comprar__line--lg {
  font-size: clamp(25px, 3.5vw, 92px);
  line-height: 1.02;
}

.comprar__line__margin {
  margin-left: 100px;
}

.comprar__line span {
  font-weight: 400;
}

/* Esquinas del título */
.comprar__corner {
  position: absolute;
  display: inline-flex;
  line-height: 0;
}
.comprar__corner svg {
  display: block;
}

.line-proyecto {
  font-size: 0.6em;
  letter-spacing: 0.12em;
  font-weight: 400;
}

.comprar__corner--tl {
  top: -35px;
  left: -35px;
}

.comprar__corner--br {
  bottom: -35px;
  right: -35px;
}

/* ---- VER MÁS ---- */
.comprar__moreContent {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.comprar__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.comprar__more .comprar__morePlus svg {
  display: block;
  width: 12px;
}

.comprar__morePlus {
  position: relative;
  top: -0.25em;
}

/* Responsive */
@media (max-width: 992px) {
  .comprar__inner {
    grid-template-columns: 1fr;
  }
  .comprar__right {
    max-width: 100%;
  }
  .comprar__left {
    max-width: 100%;
  }
  .comprar__line__margin {
    margin-left: 30px;
  }
  .comprar__corner svg {
    width: 30px;
  }
  .comprar__corner--tl {
    top: -30px;
    left: -10px;
  }
  .comprar__corner--br {
    bottom: -30px;
    right: -10px;
  }
}
/* ===========================
   CONTACTO
   =========================== */
.section-contacto {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
  display: flex;
  position: relative;
  /* justify-content: center; */
  flex-direction: column;
}

/* TOP: gradiente + contenido centrado */
.contacto__top {
  position: relative;
  z-index: 1;
}

.contacto__content {
  min-height: calc(100vh - 300px - 140px); /* top ocupa el resto */
  display: grid;
  place-items: center;
  text-align: center;
  gap: 24px;
  padding: clamp(90px, 18vh, 140px) 20px 68px 20px;
}

/* Título */
.contacto__title {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: #ff7500;
  font-size: clamp(18px, 2.3vw, 34px);
}

/* Form */
.contacto__form {
  width: min(500px, 92vw);
  margin: 0 auto;
}

.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 15px;
  align-items: end;
}

.contacto__field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.contacto__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}

.contacto__input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contacto__input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.contacto__checks {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 6px;
}

.contacto__check {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.95;
  text-align: left;
}

.contacto__check input {
  width: 12px;
  height: 12px;
  accent-color: #ff7500;
}

/* Botón */
.contacto__submit {
  margin-top: 22px;
  display: inline-block;
  border: 0;
  background: #ff7500;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 7px 18px;
  cursor: pointer;
}

.contacto__submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.contacto__formMsg {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.5);
  color: #333;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.contacto__formMsg.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contacto__formMsg.is-error {
  background: rgba(255, 255, 255, 0.9);
}

/* WhatsApp centrado */
.contacto__whatsapp {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  opacity: 0.95;
}

.contacto__waIcon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contacto__waText {
  letter-spacing: 0.22em;
  font-size: 12px;
}

.rb-wa {
  width: 26px;
  height: 26px;
  display: block;
}

/* MID: franja negra (300px) */
.contacto__mid {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 250px; /* o lo que defina la franja */
  overflow: hidden;
}

.contacto__mid[data-poster=contacto] {
  background-image: url("../img/poster-geometrico.jpg");
}

.contacto__mid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* BOTTOM: gradiente final */
.contacto__bottomGrad {
  height: 100px; /* ajusta después */
  position: relative;
  z-index: 1;
}

/* Capa flotante de símbolos */
.contacto__symbolsLayer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -55px;
  width: clamp(1200px, 140vw, 2200px); /* no infinito */
  height: clamp(220px, 21vw, 300px);
  pointer-events: none;
  z-index: 20;
}

/* filas */
.contacto__symbols {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  gap: clamp(40px, 5vw, 110px);
  display: flex;
  justify-content: center;
}

.contacto__symbols--row1 {
  top: 0px;
}

.contacto__symbols--row2 {
  top: 90px;
  opacity: 0.35;
}

.contacto__symbols--row3 {
  top: 180px;
  opacity: 0.55;
}

/* tamaño del svg (el “tira” de símbolos) */
.rb-symbols {
  width: clamp(900px, 60vw, 1400px); /* notebook ~900–1100, grande cap en 1400 */
  height: auto;
  display: block;
}

/* color por fila: usa currentColor */
.contacto__symbols--row1 {
  color: #ff7500;
}

.contacto__symbols--row2 {
  color: #ff7500;
}

.contacto__symbols--row3 {
  color: #004444;
}

/* estilos por fila (requiere .sym en polygons del svg inline) */
.contacto__symbols--row1 .sym {
  fill: currentColor;
  stroke: none;
}

.contacto__symbols--row2 .sym {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.8;
  stroke-linejoin: miter;
}

.contacto__symbols--row3 .sym {
  fill: currentColor;
  stroke: none;
}

/* Pivot correcto en polygons SVG */
.contacto__symbolsLayer .sym {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.rb-symbols .sym {
  transform-box: fill-box;
  transform-origin: center;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto__input {
    font-size: 16px; /* evita zoom iOS */
    line-height: 1.2;
  }
  .contacto__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contacto__checks {
    flex-wrap: wrap;
  }
  /* BOTTOM: gradiente final */
  .contacto__bottomGrad {
    height: 100px; /* ajusta después */
    background: linear-gradient(90deg, #002e2e 0%, #004444 100%);
    position: relative;
    z-index: 1;
  }
  .contacto__symbolsLayer {
    bottom: -7px;
    height: 170px;
  }
  /* filas: más juntas */
  .contacto__symbols--row1 {
    top: 0px;
  }
  .contacto__symbols--row2 {
    top: 58px;
  }
  .contacto__symbols--row3 {
    top: 116px;
  }
  /* opcional: si se ven muy anchas, reduce el SVG en mobile */
  .rb-symbols {
    width: clamp(720px, 120vw, 980px);
  }
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

html {
  scrollbar-gutter: stable;
}

.section {
  padding: 3rem 0;
}
.section--light {
  background: #fff;
}
.section--dark {
  background: linear-gradient(90deg, #002e2e 0%, #004444 100% 100%);
  color: #fff;
}

/* ===========================
   SECCIONES FULL VIEWPORT
   =========================== */
.section-hero,
.section-somos,
.section-proyectos,
.section-inversionistas,
.section-comprar {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Contenedor genérico */
.section-inversionistas .container,
.section-comprar .container,
.section-contacto .container {
  width: 100%;
}

/* ===========================
   404 — Página no encontrada
   =========================== */
.error404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error404__inner {
  max-width: 520px;
  padding: 0 20px;
}

.error404__title {
  font-size: clamp(28px, 4vw, 30px);
  margin-bottom: 7px;
}

.error404__text {
  opacity: 0.8;
  margin-bottom: 28px;
}

.error404__cta {
  display: inline-block;
  padding: 10px 22px;
  background: #ff7500;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

:root {
  --header-bg: rgba(255, 255, 255, 0);
  --header-fg: #fff;
  --header-divider: rgba(255, 255, 255, .35);
  --nav-plus: #fff;
  --nav-plus-hover: #fff;
}

.error404 .site-header,
.error404 header,
.error404 .main-nav {
  display: none;
}

body.header--dark {
  --header-bg: rgba(255, 255, 255, 0);
  --header-fg: #ffffff;
  --header-divider: rgba(0, 46, 46, .25);
  --nav-plus: #ffffff;
  --nav-plus-hover: #ffffff;
}

body.header--light {
  --header-bg: rgba(255,255,255,.0);
  --header-fg: #002e2e;
  --header-divider: rgba(0,0,0,.15);
  --nav-plus: #ff7500;
  --nav-plus-hover: #ff7500;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-bg);
  color: var(--header-fg);
}

.header-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
}

.site-logo__img {
  margin-top: 5px;
  height: 65px;
  width: auto;
  display: block;
}

.site-logo__img--dark {
  display: none;
}

body.header--light .site-logo__img--light {
  display: none;
}

body.header--light .site-logo__img--dark {
  display: block;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: right;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu li + li::before {
  display: none;
  content: "";
  position: absolute;
  left: calc(-3rem / 2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background-color: var(--header-divider);
}

.nav-menu a {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  padding: 1.75rem 0;
  color: var(--header-fg);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* -------- cruz (hover/active) --------
   Se dibuja con mask para poder recolorearla por CSS (var --nav-plus) */
.nav-menu a::after {
  content: "";
  position: absolute;
  /* ubicación: superíndice a la derecha (ajusta finito si quieres) */
  top: 2rem;
  right: -0.8rem;
  width: 10px;
  height: 10px;
  background-color: var(--nav-plus);
  opacity: 0;
  transform: translateY(-2px) scale(0.75);
  transition: opacity 0.18s ease, transform 0.22s ease, background-color 0.2s ease;
  /* máscara SVG (cruz) */
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%208.13%208.08%27%3E%3Cpolygon%20points%3D%277.75%203.53%204.58%203.53%204.58%20.36%203.56%20.36%203.56%203.53%20.38%203.53%20.38%204.55%203.56%204.55%203.56%207.72%204.58%207.72%204.58%204.55%207.75%204.55%207.75%203.53%27/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%208.13%208.08%27%3E%3Cpolygon%20points%3D%277.75%203.53%204.58%203.53%204.58%20.36%203.56%20.36%203.56%203.53%20.38%203.53%20.38%204.55%203.56%204.55%203.56%207.72%204.58%207.72%204.58%204.55%207.75%204.55%207.75%203.53%27/%3E%3C/svg%3E") no-repeat center/contain;
}

/* Hover: aparece la cruz */
.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  opacity: 1;
  transform: translateY(-2px) scale(1);
  background-color: var(--nav-plus-hover);
}

/* Active: cruz visible siempre + leve énfasis */
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after,
.nav-menu a[aria-current=page]::after,
.nav-menu a.is-active::after {
  opacity: 1;
  transform: translateY(-2px) scale(1);
}

/* Active: opcional, cambia peso/opacidad del texto */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu a[aria-current=page],
.nav-menu a.is-active {
  opacity: 1;
}

/* ===========================
   MOBILE MENU
   =========================== */
/* Burger */
.menu-toggle {
  display: none; /* se activa en mobile */
  border: 0;
  background: transparent;
  padding: 18px 0;
  color: var(--header-fg);
  cursor: pointer;
  line-height: 0;
}

.burger {
  width: 34px;
  height: 34px;
  display: block;
}

.burger__line {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Wrapper menú móvil (overlay + panel) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none; /* se habilita al abrir */
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  z-index: 1;
}

.mobile-menu__panel {
  position: relative;
  margin: 10px;
  left: 0;
  right: 0;
  top: 70px;
  background: #fff;
  color: #002e2e;
  /* border-top-left-radius: 14px; */
  /* border-top-right-radius: 14px; */
  transform: scaleY(0);
  transform-origin: 50% 100%; /* desde abajo hacia arriba */
  will-change: transform;
  padding: 34px 32px 36px;
  z-index: 9999999999999;
}

/* Links menú móvil */
.mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: #2c2c2c;
}

/* ===========================
   MOBILE NAV ACTIVE (+)
   =========================== */
.mobile-nav li {
  position: relative;
}

.mobile-nav a {
  position: relative;
  padding-right: 28px; /* espacio para el + */
}

/* símbolo + */
.mobile-nav a::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.6) rotate(-45deg);
  font-size: 18px;
  font-weight: 300;
  color: var(--accent, #ff6a00);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* estado activo */
.mobile-nav a.is-active::after {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0deg);
}

/* Estado abierto (solo para bloquear interacción/scroll) */
body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .mobile-menu {
  pointer-events: auto;
}

/* Responsive: ocultar nav desktop / mostrar burger */
@media (max-width: 900px) {
  .header-inner {
    padding: 0 26px 0 20px;
  }
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-logo__img {
    height: 52px;
  }
}
*,
*::before,
*::after {
  font-family: inherit;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/*# sourceMappingURL=main.css.map */
