:root {
  --green: #0a3d1f;
  --green-deep: #062814;
  --green-soft: #134a2a;
  --orange: #f39200;
  --orange-hot: #ff9500;
  --ink: #111;
  --muted: #333;
  --cream: #f7f7f5;
  --white: #ffffff;
  --black: #050805;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.menu a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.menu a:hover,
.menu a.is-active {
  color: var(--orange);
}

.menu-btn {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  background: var(--white);
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, minmax(140px, 1fr));
  gap: 4px;
  min-height: inherit;
  opacity: 0.88;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage img:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.hero-collage img:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.hero-collage img:nth-child(3) { grid-column: 5 / 7; grid-row: 1 / 3; }
.hero-collage img:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }
.hero-collage img:nth-child(5) { grid-column: 4 / 5; grid-row: 2 / 4; }
.hero-collage img:nth-child(6) { grid-column: 1 / 2; grid-row: 3 / 4; }
.hero-collage img:nth-child(7) { grid-column: 2 / 4; grid-row: 3 / 4; }
.hero-collage img:nth-child(8) { grid-column: 5 / 6; grid-row: 3 / 4; }
.hero-collage img:nth-child(9) { grid-column: 6 / 7; grid-row: 3 / 4; }

.title-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.play-icon::before {
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid var(--white);
  margin-left: 3px;
}

.section { padding: clamp(56px, 8vw, 96px) 0; }

.title-img {
  width: min(420px, 100%);
  margin-bottom: 18px;
}

.title-blend {
  mix-blend-mode: lighten;
  background: #000;
}

.title-light {
  mix-blend-mode: multiply;
}

.app {
  background: var(--white);
  padding: clamp(80px, 11vw, 130px) 0;
  color: var(--ink);
}

.app-title {
  margin: 0 0 18px;
  line-height: 0;
}

.app-title img {
  width: min(360px, 100%);
  height: auto;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.app-copy p {
  margin: 0 0 24px;
  max-width: 420px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
}

.app-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.app-phone {
  margin: 0;
  position: relative;
  z-index: 0;
}

.app-phone img {
  width: min(360px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
}

.btn-app {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-app:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-img {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease;
}

.btn-img:hover { transform: translateY(-2px); }
.btn-img img { height: 48px; width: auto; }

.after-match,
.photo-band {
  line-height: 0;
  background: var(--white);
}

.after-match img,
.photo-band img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.sponsors-title {
  margin: 0 auto 18px;
  line-height: 0;
  width: fit-content;
}

.sponsors-title img {
  width: min(640px, 100%);
  height: auto;
}

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

.sponsors-wrap .title-img {
  margin-left: auto;
  margin-right: auto;
}

.sponsors-logos {
  width: min(820px, 100%);
  margin: 18px auto 0;
}

.title-stack {
  margin: 0 0 22px;
  line-height: 0.85;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.title-stack::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--green);
}

.title-top {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 8vw, 5.2rem);
  color: var(--green);
  letter-spacing: 0.02em;
}

.title-script {
  display: block;
  margin-top: -0.35em;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  color: var(--orange);
}

.title-predio-css {
  margin: 0 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--green);
  letter-spacing: 0.04em;
  border-bottom: 5px solid var(--green);
  display: inline-block;
  line-height: 1;
  padding-bottom: 6px;
}

.quienes-title {
  margin: 0 0 22px;
  line-height: 0;
}

.quienes-title img {
  width: min(420px, 100%);
  height: auto;
}

.quienes-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.quienes-copy p {
  margin: 0;
  max-width: 560px;
  color: var(--ink);
  line-height: 1.75;
  font-size: 1rem;
  font-weight: 500;
}

.quienes-side img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.predio-page { background: var(--white); }

.predio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.predio-title {
  margin: 0 0 8px;
  line-height: 0;
}

.predio-title img {
  width: min(260px, 70%);
  height: auto;
}

.predio-copy .title-img {
  width: min(260px, 70%);
}

.predio-copy ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.predio-copy li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--green);
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}

.predio-copy li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.predio-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery {
  position: relative;
  background: var(--white);
  padding: 18px 48px;
}

.gal-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 30vw);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gal-track::-webkit-scrollbar { display: none; }

.gal-track img {
  height: 340px;
  width: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(10, 61, 31, 0.85);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 2;
}

.gal-prev { left: 8px; }
.gal-next { right: 8px; }

.footer {
  background: var(--green-deep);
  color: var(--orange);
}

.footer-inner {
  padding: 48px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  flex: 1;
}

.footer-col {
  border-left: 2px solid var(--orange);
  padding-left: 16px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.footer-col p,
.footer-col a {
  margin: 0 0 8px;
  display: block;
  text-decoration: none;
  color: var(--orange);
  font-size: 0.9rem;
}

.footer-col strong {
  margin-right: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-link {
  font-weight: 800;
  margin-top: 10px !important;
}

.footer-brand {
  text-align: center;
  user-select: none;
  flex-shrink: 0;
}

.footer-brand img {
  width: min(280px, 55vw);
  height: auto;
  opacity: 1;
}

.footer-bar {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 12px;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #04150b;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.powered-by a {
  display: inline-flex;
  line-height: 0;
}

.powered-by img {
  height: 22px;
  width: auto;
}

.contacto-hero {
  position: relative;
  line-height: 0;
  background: var(--white);
}

.contacto-hero > img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.contacto-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.contacto-cta:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.contacto-cta img {
  height: clamp(44px, 7vw, 64px);
  width: auto;
}

.maps-section {
  background: var(--white);
  padding: clamp(28px, 5vw, 48px) 0;
}

.maps-section iframe {
  width: 100%;
  min-height: 450px;
  border: 0;
  display: block;
}

.como-llegar {
  background: var(--white);
}

.como-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  align-items: stretch;
}

.como-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 12px 0;
}

.btn-llegar-img {
  align-self: flex-start;
}

.btn-llegar-img img {
  height: clamp(56px, 8vw, 78px);
  width: auto;
}

.como-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

@media (max-width: 980px) {
  .como-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .quienes-grid,
  .predio-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, minmax(110px, 1fr));
  }

  .hero-collage img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .app-phone img { margin: 0 auto; }
  .quienes-side img { min-height: 280px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .menu-btn { display: inline-block; }

  .app {
    padding: 32px 0;
  }

  .menu {
    display: none;
    position: absolute;
    top: 72px;
    right: 4%;
    width: min(300px, 92%);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--green);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  }

  .menu.open { display: flex; }

  .gal-track { grid-auto-columns: 78vw; }
  .gal-track img { height: 260px; }
  .btn-img img { height: 42px; }
}
