:root {
  --white: #ffffff;
  --cream: #f7f1e6;
  --sand: #dfd1ba;
  --aqua-50: #e6f7f8;
  --aqua: #4bb7c8;
  --deep-aqua: #146d7c;
  --green-aqua: #2f9d76;
  --charcoal: #303437;
  --muted: #6e7578;
  --line: rgba(48, 52, 55, 0.14);
  --shadow: 0 24px 70px rgba(19, 50, 55, 0.16);
  --serif: "Cormorant Garamond", serif;
  --sans: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
}

img,
video {
  display: block;
  width: 100%;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(850px, calc(100% - 40px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(19, 50, 55, 0.08);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  height: 64px;
  overflow: hidden;
  border-radius: 18px;
}

.brand img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.desktop-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--deep-aqua);
}

.header-cta {
  padding: 13px 19px;
  border: 1px solid var(--deep-aqua);
  border-radius: 999px;
  color: var(--deep-aqua);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.header-cta:hover {
  background: var(--deep-aqua);
  color: var(--white);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--charcoal);
}

.mobile-nav {
  display: none;
  padding: 16px 20px 24px;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--line);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 82px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 23, 26, 0.82) 0%, rgba(8, 23, 26, 0.62) 40%, rgba(8, 23, 26, 0.18) 100%),
    radial-gradient(circle at 75% 20%, rgba(75, 183, 200, 0.28), transparent 42%);
}

.hero-inner {
  padding: 120px 0 90px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--deep-aqua);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--aqua-50);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section-kicker.light {
  color: var(--aqua-50);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  letter-spacing: -0.04em;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(56px, 8.3vw, 112px);
  line-height: 0.88;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: clamp(40px, 5.1vw, 70px);
  line-height: 0.96;
  font-weight: 700;
}

h3 {
  margin: 0;
  font-size: 38px;
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.88);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--deep-aqua), var(--green-aqua));
  color: var(--white);
  box-shadow: 0 18px 44px rgba(20, 109, 124, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(20, 109, 124, 0.36);
}

.btn-ghost {
  border-color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
}

.btn-light {
  background: var(--white);
  color: var(--deep-aqua);
}

.microcopy {
  margin: 18px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.hero-card {
  position: absolute;
  right: 6vw;
  bottom: 7vw;
  width: 286px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 30px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-card span {
  display: block;
  color: var(--deep-aqua);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 0.95;
}

.hero-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 112px 0;
}

.intro,
.abroad {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 70px;
  align-items: start;
}

.rich-text p,
.section-head p,
.apply-copy p,
.video-grid p,
.quote-section p,
.master-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.rich-text p:first-child {
  margin-top: 0;
}

.text-link,
.model-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--deep-aqua);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

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

.section-head.center .section-kicker {
  justify-content: center;
}

.project {
  background: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  align-items: stretch;
}

.project-photo {
  min-height: 570px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.project-photo img {
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  gap: 18px;
}

.stats article {
  padding: 34px;
  border: 1px solid rgba(20, 109, 124, 0.12);
  border-radius: 28px;
  background: var(--cream);
}

.stats strong {
  display: block;
  color: var(--deep-aqua);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 0.95;
}

.stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.quote-section {
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(16, 65, 72, 0.95), rgba(20, 109, 124, 0.86)),
    url("assets/vista-aerea.jpg");
  background-size: cover;
  background-position: center;
}

.quote-section h2 {
  color: var(--white);
}

.quote-section p {
  color: rgba(255,255,255,0.84);
}

.quote-section .btn {
  margin-top: 22px;
}

.video-section {
  background: linear-gradient(180deg, var(--white), var(--aqua-50));
}

.video-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: center;
}

.video-frame {
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 32px;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.video-frame video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.amenities {
  background: linear-gradient(180deg, var(--aqua-50), var(--white));
}

.amenities-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: stretch;
}

.amenity-image {
  min-height: 540px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.amenity-image img {
  height: 100%;
  object-fit: cover;
}

.amenity-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.amenity-cards div {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgba(20, 109, 124, 0.14);
  border-radius: 26px;
  background: rgba(255,255,255,0.78);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 0.98;
}

.models {
  background: var(--white);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.model-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(19, 50, 55, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.model-card img {
  height: 310px;
  object-fit: cover;
}

.model-card > div {
  padding: 32px;
}

.model-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--deep-aqua);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.model-card p {
  color: var(--muted);
  line-height: 1.8;
}

.model-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.model-card li {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 14px;
}

.model-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.model-card.wide img {
  height: 100%;
}

.real-gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-grid img {
  height: 430px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(19, 50, 55, 0.08);
}

.gallery-grid img:nth-child(3) {
  object-position: center;
}

.masterplan {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 65, 72, 0.96), rgba(20, 109, 124, 0.9)),
    url("assets/masterplan-2026.jpg");
  background-size: cover;
  background-position: center;
}

.masterplan h2 {
  color: var(--white);
}

.masterplan p {
  color: rgba(255,255,255,0.82);
}

.master-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
}

.plan-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 32px;
  background: rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.plan-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.plan-card span {
  display: block;
  padding: 18px 22px;
  color: rgba(255,255,255,0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qualification {
  padding: 0 0 112px;
  background: var(--cream);
}

.qualify-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 58px;
  border-radius: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 65, 72, 0.96), rgba(20, 109, 124, 0.86)),
    url("assets/villa-piscina.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.qualify-box h2 {
  color: var(--white);
}

.qualify-box p {
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
}

.qualify-list {
  display: grid;
  gap: 14px;
}

.qualify-list div {
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  font-weight: 700;
}

.apply {
  background: var(--white);
}

.apply-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: start;
}

.close-card {
  margin-top: 34px;
  padding: 32px;
  border: 1px solid rgba(20, 109, 124, 0.14);
  border-radius: 30px;
  background: var(--cream);
}

.close-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.close-card span {
  color: var(--muted);
  line-height: 1.8;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 38px;
  border: 1px solid rgba(20, 109, 124, 0.14);
  border-radius: 34px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(48, 52, 55, 0.18);
  border-radius: 16px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--deep-aqua);
  box-shadow: 0 0 0 4px rgba(20, 109, 124, 0.11);
}

.lead-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer {
  padding: 56px 0;
  background: #263033;
  color: rgba(255,255,255,0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.footer img {
  width: 135px;
  height: 74px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 30px;
}

.footer p {
  line-height: 1.7;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f9f67, #2bbf7d);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(31, 159, 103, 0.36);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

@media (max-width: 1080px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .brand {
    width: 118px;
  }

  .hero-card {
    display: none;
  }

  .split,
  .project-grid,
  .video-grid,
  .amenities-grid,
  .master-grid,
  .qualify-box,
  .apply-grid {
    grid-template-columns: 1fr;
  }

  .model-grid,
  .amenity-cards {
    grid-template-columns: 1fr;
  }

  .model-card.wide {
    display: block;
  }

  .model-card.wide img {
    height: 310px;
  }

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

  .gallery-grid img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    height: 74px;
  }

  .brand {
    width: 104px;
    height: 58px;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
  }

  .hero-inner {
    padding: 96px 0 68px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 15px;
  }

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

  .btn {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 11px;
  }

  .section {
    padding: 78px 0;
  }

  .project-photo,
  .amenity-image {
    min-height: 360px;
  }

  .stats article,
  .lead-form,
  .close-card,
  .qualify-box {
    padding: 28px;
    border-radius: 28px;
  }

  .gallery-grid img {
    height: 300px;
  }

  .qualification {
    padding-bottom: 78px;
  }

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

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 14px 18px;
  }
}
