:root {
  --bg: #f5f0e7;
  --bg-soft: #efe6d6;
  --surface: rgba(255, 252, 247, 0.72);
  --surface-strong: #fbf7f0;
  --text: #1f1b1a;
  --muted: #6d645d;
  --wine: #582646;
  --wine-deep: #37142d;
  --gold: #b89f74;
  --gold-soft: #d6c4a0;
  --forest: #31473c;
  --line: rgba(88, 38, 70, 0.14);
  --shadow: 0 30px 90px rgba(44, 21, 35, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(214, 196, 160, 0.32), transparent 34%),
    radial-gradient(circle at right 20%, rgba(88, 38, 70, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f2eb 0%, #f1e8db 100%);
  color: var(--text);
}

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

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
}

.page-shell::before {
  top: -10rem;
  right: -10rem;
  background: rgba(184, 159, 116, 0.14);
}

.page-shell::after {
  bottom: 8rem;
  left: -12rem;
  background: rgba(88, 38, 70, 0.08);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  padding: 0.85rem 1.1rem 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(35, 19, 22, 0.45);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  z-index: 20;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.12);
}

.brand img {
  width: 7.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #f8efe4;
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: rgba(255, 244, 225, 0.75);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.25rem auto;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.button,
.button-ghost,
.button-small,
.text-link {
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.button,
.button-ghost,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.button {
  background: linear-gradient(135deg, var(--wine) 0%, #7a4465 100%);
  color: #fff7ec;
  box-shadow: 0 16px 36px rgba(88, 38, 70, 0.3);
}

.button:hover,
.button:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible,
.button-small:hover,
.button-small:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-2px);
}

.button-ghost,
.button-small {
  border-color: rgba(255, 247, 236, 0.48);
  color: #fff7ec;
  background: rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 2.75rem;
  padding: 0 1.1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 8rem 0 3rem;
  display: grid;
  align-items: end;
}

.hero-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 900ms ease, transform 8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(20, 15, 15, 0.18) 0%, rgba(30, 21, 18, 0.55) 58%, rgba(23, 17, 18, 0.78) 100%),
    linear-gradient(100deg, rgba(88, 38, 70, 0.22) 0%, rgba(49, 71, 60, 0.18) 100%);
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 9rem;
  max-width: 76rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-soft);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.04;
  font-weight: 600;
}

.hero h1 {
  width: 100%;
  max-width: 85%;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 1.01;
  color: #fff6ea;
  text-wrap: balance;
}

.hero-copy {
  max-width: 39rem;
  margin: 1.4rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 246, 234, 0.86);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-card {
  width: min(100% - 3rem, 69rem);
  margin: -5rem auto 0;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-radius: var(--radius-xl);
  background: rgba(252, 247, 239, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(88, 38, 70, 0.08);
}

.hero-card > div {
  padding: 1rem 1.1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.42);
}

.hero-card span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--wine);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
}

.hero-card p,
.card p,
.copy-panel p,
.showcase-copy p,
.location-copy p,
.plan-copy p,
.cta-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.section {
  padding: 7.5rem 0;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
}

.section-heading.centered {
  text-align: center;
  justify-items: center;
}

.section h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--wine-deep);
}

.section-heading.centered h2 {
  width: 100%;
  max-width: none;
}

.section-heading h2,
.copy-panel h2,
.showcase-copy h2,
.location-copy h2,
.cta-card h2 {
  text-wrap: balance;
  width: 100%;
  max-width: none;
}

.wa-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wa-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.4rem;
}

.intro-copy,
.stats-panel {
  padding: 2rem;
}

.intro-copy {
  display: grid;
  gap: 1rem;
}

.stats-panel {
  display: grid;
  gap: 1.3rem;
}

.stats-panel strong,
.amenity h3,
.plan-copy h3 {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--wine);
  font-size: 1.05rem;
}

.section-split,
.section-showcase,
.location-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.6rem;
  align-items: center;
}

.media-panel,
.showcase-stack,
.map-card,
.cta-card {
  position: relative;
}

.media-panel img,
.stack-main,
.stack-accent,
.map-card,
.plan-card,
.cta-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.media-panel img {
  min-height: 35rem;
  object-fit: cover;
}

.copy-panel {
  padding: 1.8rem 0;
}

.copy-panel h2,
.showcase-copy h2,
.location-copy h2 {
  margin-bottom: 1rem;
}

.copy-panel p + p,
.showcase-copy p + p,
.location-copy p + p {
  margin-top: 1rem;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine), var(--gold));
}

.lifestyle {
  background:
    linear-gradient(180deg, rgba(88, 38, 70, 0.04), transparent),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 60%);
}

.amenities-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.1rem 1.4rem;
  align-items: start;
  padding: 1rem 0 0;
}

.amenities-showcase::before,
.amenities-showcase::after {
  content: "";
  position: absolute;
  top: -2.5rem;
  width: 11rem;
  height: 5rem;
  opacity: 0.22;
  background-size: contain;
  background-repeat: no-repeat;
}



.amenity-item {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.amenity-icon {
  width: 8.4rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #b184a6;
  color: #fffaf2;
  box-shadow: 0 18px 40px rgba(88, 38, 70, 0.12);
}

.amenity-icon svg {
  width: 3.2rem;
  height: 3.2rem;
  fill: none;
  stroke: currentColor;
}

.amenity-item span {
  color: #9b6d8d;
  font-size: clamp(1.3rem, 2vw, 1rem);
  line-height: 1.15;
  font-weight: 500;
}

.amenity-bridge {
  align-self: end;
  min-height: 22rem;
  margin-bottom: -8.6rem;
  display: flex;
  justify-content: center;
}

.amenity-bridge-inner {
  width: 14rem;
  min-height: 23rem;
  padding: 2rem 1.2rem 1.6rem;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.6rem;
  border-radius: 6rem 6rem 0 0;
  background: #17366a;
  color: #fff5dc;
  box-shadow: 0 26px 60px rgba(25, 58, 115, 0.24);
}

.amenity-star {
  color: #ffe46c;
  font-size: 2.8rem;
  line-height: 1;
}

.amenity-waves {
  color: #ffe46c;
  font-size: 2rem;
  letter-spacing: -0.18em;
}

.amenity-bridge strong {
  margin-top: 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.95;
}

.beach-club-section {
  padding-top: 6rem;
  margin-top: -1.5rem;
}

.beach-club-shell {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: #17366a;
}

.beach-club-copy {
  position: relative;
  padding: 2.4rem 2.4rem 2.8rem;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 226, 103, 0.08), transparent 18%),
    linear-gradient(180deg, #17366a 0%, #1f3f74 100%);
  color: #f7f0e5;
}

.beach-club-copy .eyebrow,
.beach-club-copy p,
.beach-club-copy h2 {
  color: inherit;
}

.beach-club-copy .eyebrow {
  color: #9fc0d8;
}

.beach-club-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  color: #ffe46c;
}

.beach-club-logo {
  width: 7.5rem;
  margin-bottom: 1.4rem;
}

.beach-club-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.2rem;
  height: 3.2rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='80' viewBox='0 0 800 80'%3E%3Cpath d='M0 44 C50 18, 100 18, 150 44 S250 70, 300 44 400 18, 450 44 550 70, 600 44 700 18, 800 44' fill='none' stroke='%233c6ea2' stroke-width='4'/%3E%3Cpath d='M0 58 C50 32, 100 32, 150 58 S250 84, 300 58 400 32, 450 58 550 84, 600 58 700 32, 800 58' fill='none' stroke='%233c6ea2' stroke-width='4'/%3E%3C/svg%3E") center/cover no-repeat;
  opacity: 0.82;
}

.beach-club-media {
  min-height: 42rem;
}

.beach-club-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beach-club-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.beach-club-amenities span {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 228, 108, 0.11);
  border: 1px solid rgba(255, 228, 108, 0.24);
  color: #ffe46c;
  font-weight: 700;
}

.showcase-copy {
  width: 100%;
  max-width: none;
}

.showcase-stack {
  min-height: 40rem;
}

.stack-main {
  width: 88%;
  min-height: 38rem;
  object-fit: cover;
}

.stack-accent {
  position: absolute;
  right: 0;
  bottom: 2.5rem;
  width: 42%;
  border: 10px solid rgba(255, 250, 243, 0.84);
}

.gallery-carousel {
  display: grid;
  gap: 1.1rem;
}

.gallery-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-carousel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery-arrow {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(88, 38, 70, 0.14);
  border-radius: 999px;
  background: rgba(252, 247, 239, 0.84);
  color: var(--wine);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, opacity 220ms ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  transform: translateY(-2px);
  background: var(--wine);
  color: #fff7ec;
}

.gallery-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.gallery-arrow span {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-viewport {
  overflow-x: auto;
  padding: 0.25rem 1.4rem 1rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 2rem) / 3);
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow);
  background: #d8d1c4;
  aspect-ratio: 0.94;
  scroll-snap-align: start;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(18, 12, 15, 0.62));
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item.tall,
.gallery-item.wide {
  grid-column: auto;
  grid-row: auto;
}

.ornament-divider {
  width: min(100%, 70rem);
  height: 5.2rem;
  margin: 0 auto;
  background: url("assets/images/adornos.svg") center/contain repeat-x;
  opacity: 0.92;
}

.masterplans {
  background: linear-gradient(180deg, transparent, rgba(88, 38, 70, 0.04) 22%, transparent 100%);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.4rem;
}

.plan-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(252, 247, 239, 0.82);
}

.plan-visual {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(88, 38, 70, 0.08);
}

.plan-brand {
  width: 100%;
  display: block;
  object-fit: cover;
}

.plan-hotspot {
  position: absolute;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ddb05b 0%, #c38a22 100%);
  color: var(--wine-deep);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow:
    0 10px 24px rgba(87, 43, 31, 0.18),
    0 0 0 0 rgba(88, 38, 70, 0.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.plan-hotspot span {
  position: relative;
  z-index: 1;
  transition: color 180ms ease;
}

.plan-hotspot::after {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border-radius: inherit;
  border: 1px solid rgba(88, 38, 70, 0.28);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 180ms ease, transform 180ms ease;
}

.plan-hotspot:hover,
.plan-hotspot:focus-visible,
.plan-hotspot.is-active {
  background: linear-gradient(180deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: #ffffff;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 14px 34px rgba(55, 20, 45, 0.34),
    0 0 0 0.45rem rgba(88, 38, 70, 0.18);
}

.plan-hotspot:hover::after,
.plan-hotspot:focus-visible::after,
.plan-hotspot.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.plan-hotspot:hover span,
.plan-hotspot:focus-visible span,
.plan-hotspot.is-active span {
  color: #ffffff;
}

.plan-tooltip {
  position: absolute;
  left: var(--tooltip-left, 50%);
  top: var(--tooltip-top, 50%);
  max-width: min(19rem, 70vw);
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgb(42 84 123);
  border: 1px solid rgba(221, 149, 20, 0.28);
  color: var(--surface-strong);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 1rem));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.plan-tooltip::after {
  content: "";
  position: absolute;
  left: var(--tooltip-arrow-left, 50%);
  bottom: -0.42rem;
  width: 0.8rem;
  height: 0.8rem;
  background: rgb(42 84 123);
  border-right: 1px solid rgba(221, 149, 20, 0.28);
  border-bottom: 1px solid rgba(221, 149, 20, 0.28);
  transform: translateX(-50%) rotate(45deg);
}

.plan-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 1.15rem));
}

.plan-tooltip.is-below {
  transform: translate(-50%, 1.15rem);
}

.plan-tooltip.is-below::after {
  top: -0.42rem;
  bottom: auto;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(221, 149, 20, 0.28);
  border-top: 1px solid rgba(221, 149, 20, 0.28);
  transform: translateX(-50%) rotate(45deg);
}

.plan-tooltip.is-visible.is-below {
  opacity: 1;
  transform: translate(-50%, 1.15rem);
}

.plan-copy {
  padding: 1.5rem 1.5rem 1.7rem;
}

.plan-copy h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.plan-map {
  margin: 1.2rem 0 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(88, 38, 70, 0.12);
}

.text-link {
  color: var(--wine);
  font-weight: 800;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.location-tags span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(88, 38, 70, 0.06);
  color: var(--wine);
  font-weight: 700;
}

.location-stack {
  display: grid;
  gap: 1.8rem;
}

.location-bullets {
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.62);
  box-shadow: var(--shadow);
}

.location-bullets h3 {
  margin: 0 0 1rem;
  color: #17366a;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
}

.location-bullets ol {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.8rem;
  color: #17366a;
  line-height: 1.55;
}

.location-bullets li::marker {
  font-weight: 800;
}

.map-image-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(31, 50, 72, 0.12);
  box-shadow: var(--shadow);
  background: #f3eee1;
}

.map-image-card img {
  width: 100%;
  display: block;
}

.financing-section {
  padding-top: 0.5rem;
}

.financing-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.95fr);
  gap: 2.2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(184, 159, 116, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(35, 53, 66, 0.98), rgba(29, 45, 57, 0.99));
  box-shadow: 0 30px 90px rgba(21, 33, 42, 0.26);
  overflow: hidden;
}

.financing-copy {
  padding: clamp(0.4rem, 2vw, 1rem);
  color: #f7efde;
}

.financing-copy .eyebrow {
  color: rgba(247, 239, 222, 0.7);
}

.financing-copy h2 {
  max-width: 34rem;
  margin-bottom: 1.8rem;
  color: #f8f2e5;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.financing-button {
  background: var(--gold);
  color: #f8f2e5;
  box-shadow: 0 18px 36px rgba(44, 21, 35, 0.18);
}

.financing-button:hover,
.financing-button:focus-visible {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.financing-panel {
  padding: 1.7rem;
  border: 1px solid rgba(255, 244, 225, 0.16);
  border-radius: 2rem;
  background: rgba(255, 249, 240, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 1.1rem;
}

.financing-item {
  padding: 1.5rem 1.45rem;
  border-radius: 1.6rem;
  background: #fbf7f0;
  color: var(--wine);
}

.financing-label {
  display: block;
  margin-bottom: 0.65rem;
  color: #b97761;
  font-size: 0.95rem;
  font-weight: 800;
}

.financing-item strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 4.8vw, 4.4rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.financing-item small {
  display: block;
  margin-top: 0.6rem;
  color: rgba(88, 38, 70, 0.68);
  font-size: 0.95rem;
}

.cta-section {
  padding-top: 2rem;
}

.cta-card {
  width: var(--container);
  margin: 0 auto;
  padding: 2.1rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(88, 38, 70, 0.92), rgba(44, 21, 35, 0.94));
  color: #fff7ec;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  color: #fff7ec;
  margin-bottom: 0.9rem;
  width: 100%;
  max-width: none;
}

.cta-card p {
  color: rgba(255, 246, 234, 0.82);
}

.cta-copy {
  max-width: 50rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 17rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #0F424F;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
}

.footer-shell p {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.footer-logo {
  width: 12rem;
}

.footer-socials {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.footer-socials a {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-socials svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: #fff;
  font-weight: 700;
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(18, 12, 15, 0.82);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 30;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  width: min(100%, 72rem);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 1.25rem;
}

.lightbox figcaption {
  margin-top: 0.8rem;
  color: #fff1de;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .site-header {
    padding-inline: 1rem;
  }

  .hero-card,
  .intro-grid,
  .section-split,
  .section-showcase,
  .plans-grid,
  .financing-grid,
  .cta-card,
  .beach-club-shell,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .stack-main {
    width: 100%;
  }

  .stack-accent {
    width: 38%;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .financing-copy h2 {
    max-width: 100%;
  }

  .amenities-showcase {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item {
    flex-basis: calc((100% - 1rem) / 2.2);
  }

  .amenity-bridge {
    grid-column: 2;
  }

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

@media (max-width: 780px) {
  :root {
    --container: min(100vw - 1.4rem, 100rem);
  }

  .site-header {
    top: 0.7rem;
    border-radius: 1.35rem;
  }

  .nav-toggle {
    display: block;
    z-index: 1;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border-radius: 1.4rem;
    background: rgba(35, 19, 22, 0.94);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-content {
    padding-bottom: 7rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-card {
    width: var(--container);
    margin-top: -3.5rem;
  }

  .section {
    padding: 5.6rem 0;
  }

  .section h2 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 3.1rem);
  }

  .copy-panel,
  .showcase-copy {
    order: 1;
  }

  .media-panel,
  .showcase-stack {
    order: 2;
  }

  .media-panel img,
  .stack-main,
  .location-copy,
  .map-image-card img {
    min-height: 22rem;
  }

  .stack-accent {
    width: 44%;
    bottom: 1rem;
  }

  .beach-club-copy,
  .location-bullets {
    padding: 1.5rem;
  }

  .beach-club-media {
    min-height: 20rem;
  }

  .amenities-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-carousel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .gallery-viewport {
    margin-right: -0.7rem;
    padding-right: 0.7rem;
  }

  .gallery-arrow {
    width: 2.7rem;
    height: 2.7rem;
  }

  .gallery-arrow span {
    font-size: 1.55rem;
  }

  .gallery-item {
    flex-basis: 84%;
    aspect-ratio: 0.9;
  }

  .plan-hotspot {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.65rem;
  }

  .plan-tooltip {
    max-width: min(14rem, 78vw);
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    border-radius: 1rem;
  }

  .amenities-showcase::before,
  .amenities-showcase::after {
    display: none;
  }

  .amenity-bridge {
    grid-column: auto;
    margin-bottom: -5rem;
    min-height: 16rem;
  }

  .amenity-bridge-inner {
    width: 11rem;
    min-height: 17rem;
    padding-top: 1.4rem;
  }

  .amenity-bridge strong {
    font-size: 2.3rem;
  }

  .cta-card {
    padding: 1.4rem;
  }

  .financing-grid {
    padding: 1.3rem;
    gap: 1.4rem;
  }

  .financing-panel {
    padding: 1rem;
  }

  .financing-item {
    padding: 1.3rem 1.1rem;
  }
  .section.beach-club-section.reveal.is-visible

 {
    padding-top: 0rem;
}
}
