:root {
  --ink: #0a1628;
  --ink-soft: #13263b;
  --forest: #173a2a;
  --lime: #7fd400;
  --lime-dark: #5fa900;
  --mist: #edf4ef;
  --river: #93c7c8;
  --earth: #b98352;
  --paper: #fbfbf6;
  --white: #ffffff;
  --muted: #d9e2dd;
  --shadow: 0 24px 70px rgba(5, 14, 23, 0.22);
  --radius: 8px;
  --content: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--lime);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: var(--content);
  margin: 16px auto 0;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(10, 22, 40, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.nav-links a,
.header-cta,
.button,
.contact-link {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.header-cta {
  padding: 10px 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: var(--radius);
  font-weight: 700;
}

.header-cta:hover,
.button:hover,
.contact-link:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(820px, 88svh);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 12, 21, 0.9) 0%, rgba(5, 12, 21, 0.62) 42%, rgba(5, 12, 21, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 22, 40, 0.92) 0%, rgba(10, 22, 40, 0) 42%);
}

.hero-content {
  position: relative;
  width: var(--content);
  margin: 0 auto;
  padding: 160px 0 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 11vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--lime);
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #9af20a;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--content);
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stat {
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid #e4ebe6;
}

.stat:last-child {
  border-right: 0;
}

.stat-value,
.stat-label {
  display: block;
}

.stat-value {
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.05;
}

.stat-label {
  margin-top: 7px;
  color: #56645d;
  font-size: 0.92rem;
}

.section,
.location-section,
.investment-section,
.contact-section {
  width: var(--content);
  margin: 0 auto;
}

.section {
  padding: clamp(82px, 9vw, 130px) 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.section-heading h2,
.location-copy h2,
.investment-copy h2,
.contact-copy h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.location-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.intro-copy p,
.location-copy p,
.investment-copy p,
.contact-copy p {
  color: #415149;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.feature-card {
  min-height: 260px;
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(127, 212, 0, 0.14), rgba(147, 199, 200, 0.05)),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--lime);
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.feature-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.location-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(360px, 1.22fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(74px, 8vw, 110px) 0;
  border-top: 1px solid #dfe8e1;
  border-bottom: 1px solid #dfe8e1;
}

.location-copy p {
  margin-top: 24px;
}

.location-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
}

.location-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #dfe8e1;
}

.location-list dt {
  color: #647168;
  font-size: 0.88rem;
}

.location-list dd {
  margin: 0;
  font-weight: 800;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

figure {
  margin: 0;
}

.plans-grid figure,
.wide-media,
.video-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(10, 22, 40, 0.12);
}

.plans-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--mist);
}

figcaption {
  padding: 12px 14px 14px;
  color: #59675f;
  font-size: 0.88rem;
}

.media-section {
  padding-bottom: clamp(72px, 8vw, 110px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 16px;
  margin-top: 38px;
}

.wide-media img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.video-grid {
  display: grid;
  gap: 16px;
}

.video-card {
  position: relative;
  width: 100%;
  min-height: 220px;
  padding: 0;
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.video-card img,
.video-card iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 22, 40, 0.68), rgba(10, 22, 40, 0.12));
  pointer-events: none;
}

.play-button {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  height: 44px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--lime);
  border-radius: var(--radius);
  font-weight: 800;
}

.video-card.is-playing::after,
.video-card.is-playing .play-button,
.video-card.is-playing img {
  display: none;
}

.investment-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(70px, 7vw, 96px);
  color: var(--white);
  background:
    radial-gradient(circle at 8% 8%, rgba(127, 212, 0, 0.16), transparent 34%),
    linear-gradient(135deg, var(--ink) 0%, var(--forest) 100%);
  border-radius: var(--radius);
}

.investment-image {
  min-height: 420px;
  background: url("docs/panoramica-1.webp") center / cover no-repeat;
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.investment-copy p {
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 80px);
  padding: clamp(82px, 9vw, 130px) 0;
}

.contact-copy p {
  max-width: 620px;
  margin: 24px 0 28px;
}

.contact-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #dfe8e1;
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--white);
  border: 1px solid #e1e9e4;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  color: #54635b;
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dfd8;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #f8faf7;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 4px rgba(127, 212, 0, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin: 4px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status--error {
  color: #b91c1c;
}

.form-success {
  padding: 22px;
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px max(20px, calc((100vw - 1160px) / 2));
  color: rgba(255, 255, 255, 0.8);
  background: var(--ink);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  :root {
    --content: min(100% - 28px, 720px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .stats-band,
  .feature-grid,
  .intro-section,
  .location-section,
  .gallery-grid,
  .investment-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-top: -24px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #e4ebe6;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .investment-section {
    padding: 28px;
  }

  .investment-image {
    min-height: 310px;
  }

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

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 10px;
  }

  .brand-logo {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    max-width: 130px;
    white-space: normal;
    line-height: 1.15;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 12, 21, 0.88) 0%, rgba(5, 12, 21, 0.62) 100%),
      linear-gradient(0deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0) 54%);
  }

  .hero-content {
    padding-top: 130px;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 5rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button,
  .contact-link {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading h2,
  .location-copy h2,
  .investment-copy h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .location-copy h2 {
    font-size: clamp(1.85rem, 9.4vw, 2.65rem);
    line-height: 1.08;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .location-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .wide-media img {
    min-height: 280px;
  }

  .video-card,
  .video-card img,
  .video-card iframe {
    min-height: 210px;
  }

  .investment-section {
    width: 100%;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}