:root {
  --ivory: #f5f0e6;
  --ivory-strong: #fbf7ef;
  --sand: #d7c9ad;
  --gold: #bd9a5b;
  --gold-deep: #93743f;
  --forest: #1d4d45;
  --forest-deep: #112f2a;
  --ink: #1d2326;
  --slate: #4c5b63;
  --line: rgba(29, 35, 38, 0.12);
  --panel: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 60px rgba(20, 34, 31, 0.14);
  --radius: 28px;
  --radius-small: 18px;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(189, 154, 91, 0.2), transparent 24%),
    radial-gradient(circle at bottom right, rgba(29, 77, 69, 0.16), transparent 26%),
    linear-gradient(180deg, #f9f4ea 0%, #efe7d6 100%);
}

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

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

.page-shell {
  min-height: 100vh;
  overflow: clip;
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section--soft {
  position: relative;
}

.section--soft::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem;
  border: 1px solid rgba(147, 116, 63, 0.12);
  border-radius: calc(var(--radius) + 10px);
  pointer-events: none;
}

.section--dark {
  width: 100%;
  padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(135deg, rgba(189, 154, 91, 0.12), transparent 35%),
    linear-gradient(180deg, #182328 0%, #11191d 100%);
  color: var(--ivory);
}

.section--cta {
  padding-top: 4.5rem;
  padding-bottom: 6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(29, 35, 38, 0.08);
}

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

.brand__crest {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #e2cb98 100%);
  color: var(--forest-deep);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(17, 47, 42, 0.15);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__text strong,
.brand__text small {
  white-space: nowrap;
}

.brand__text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__text small {
  color: var(--slate);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
  color: var(--slate);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--ivory-strong) !important;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
  margin-top: 0.35rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2.5rem;
  padding-top: 4.75rem;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: -2rem -1.5rem -1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top left, rgba(189, 154, 91, 0.24), transparent 30%);
  border: 1px solid rgba(189, 154, 91, 0.18);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  z-index: -1;
}

.hero h1,
.section-heading h2,
.highlight-card h3,
.feature-panel h3,
.amenity-card h3,
.plan-panel h3,
.spec-card h3,
.location-card h3,
.legacy-card strong,
.contact-card h3 {
  font-family: "Cormorant Garamond", serif;
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(3.3rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  color: var(--forest);
}

.hero__lead,
.section-heading p,
.plan-panel__body > p,
.cta-panel__intro > p:last-of-type {
  color: rgba(29, 35, 38, 0.75);
  font-size: 1rem;
  line-height: 1.8;
}

.eyebrow {
  margin: 0;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 77, 69, 0.16);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(29, 35, 38, 0.12);
}

.button--solid {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--ivory-strong);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.55);
}

.button--whatsapp {
  background: linear-gradient(135deg, #1ea76d 0%, #10674b 100%);
  color: var(--ivory-strong);
  border-color: transparent;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.15rem 1.1rem;
  border: 1px solid rgba(29, 35, 38, 0.1);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.78);
}

.stat-card__value {
  display: block;
  color: var(--forest-deep);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
}

.stat-card__label {
  display: block;
  margin-top: 0.4rem;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero__media,
.framed-media,
.plan-panel__media,
.cta-panel,
.highlight-card,
.feature-panel,
.amenity-card,
.spec-card,
.location-card,
.legacy-card,
.contact-card,
.plan-panel {
  box-shadow: var(--shadow);
}

.hero__media {
  position: relative;
  padding: 1.1rem;
  border-radius: 38px;
  background:
    linear-gradient(150deg, rgba(17, 47, 42, 0.12), rgba(255, 255, 255, 0.6)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(189, 154, 91, 0.2);
}

.hero__media img {
  width: 100%;
  height: min(72vh, 45rem);
  object-fit: cover;
  border-radius: 28px;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin: 0.45rem 0 1rem;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-heading--light p,
.section-heading--light h2 {
  color: var(--ivory);
}

.highlight-grid,
.spec-grid,
.legacy-grid,
.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.highlight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight-card,
.feature-panel,
.amenity-card,
.spec-card,
.location-card,
.legacy-card,
.contact-card {
  padding: 1.5rem;
  border: 1px solid rgba(29, 35, 38, 0.08);
  border-radius: var(--radius-small);
  background: var(--panel);
  backdrop-filter: blur(8px);
}

.highlight-card h3,
.feature-panel h3,
.amenity-card h3,
.spec-card h3,
.location-card h3,
.contact-card h3 {
  margin: 0 0 0.7rem;
  font-size: 2rem;
}

.highlight-card p,
.feature-panel p,
.legacy-card p,
.location-card p,
.contact-card p {
  margin: 0;
  color: rgba(29, 35, 38, 0.72);
  line-height: 1.8;
}

.masterplan-layout,
.amenities-layout,
.location-layout {
  display: grid;
  gap: 1.4rem;
}

.masterplan-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.feature-stack,
.location-points {
  display: grid;
  gap: 1rem;
}

.framed-media {
  position: relative;
  padding: 1rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(226, 216, 197, 0.8));
  border: 1px solid rgba(189, 154, 91, 0.28);
}

.framed-media::after {
  content: "";
  position: absolute;
  inset: 0.8rem;
  border: 1px solid rgba(17, 47, 42, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.framed-media img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.framed-media--tall img {
  min-height: 35rem;
}

.amenities-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.amenities-media {
  display: grid;
  gap: 1rem;
}

.framed-media--offset {
  width: 76%;
  margin-left: auto;
  margin-top: -5rem;
}

.amenity-columns {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.amenity-card ul,
.spec-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(29, 35, 38, 0.78);
  line-height: 1.9;
}

.plan-switcher {
  display: grid;
  gap: 1.25rem;
}

.plan-switcher__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(29, 35, 38, 0.08);
  justify-self: start;
}

.plan-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  padding: 0.9rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.plan-button.is-active {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--ivory-strong);
}

.plan-panel {
  display: none;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.3rem;
  padding: 1rem;
  border: 1px solid rgba(29, 35, 38, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
}

.plan-panel.is-active {
  display: grid;
}

.plan-panel__media {
  position: relative;
  overflow: hidden;
  padding: 0.95rem;
  border-radius: 28px;
  border: 1px solid rgba(189, 154, 91, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(226, 216, 197, 0.82));
}

.plan-panel__media::before {
  content: attr(data-face);
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 47, 42, 0.84);
  color: var(--ivory-strong);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-panel__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
}

.plan-panel__body {
  padding: 0.6rem 0.4rem;
}

.plan-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.plan-metrics div {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(189, 154, 91, 0.12), rgba(255, 255, 255, 0.86));
  border: 1px solid rgba(189, 154, 91, 0.18);
}

.label,
.legacy-card__label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plan-metrics strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
}

.floor-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.floor-grid article {
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(29, 35, 38, 0.08);
  background: rgba(255, 255, 255, 0.86);
}

.floor-grid article h3 {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
}

.floor-grid article strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--forest);
}

.floor-grid article p {
  margin: 0;
  color: rgba(29, 35, 38, 0.76);
  line-height: 1.75;
}

.spec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: start;
}

.location-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legacy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legacy-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ivory);
}

.legacy-card strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.legacy-card p {
  color: rgba(245, 240, 230, 0.78);
}

.cta-panel {
  position: relative;
  padding: 2rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(29, 77, 69, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 231, 217, 0.9));
  border: 1px solid rgba(189, 154, 91, 0.28);
}

.cta-panel__intro {
  max-width: 45rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  margin-top: 1.75rem;
  align-items: start;
}

.contact-form-panel {
  padding: 1.6rem;
  border-radius: 26px;
  border: 1px solid rgba(29, 35, 38, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 243, 234, 0.88));
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  color: var(--forest-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(29, 35, 38, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
  padding: 0.95rem 1rem;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(29, 77, 69, 0.48);
  box-shadow: 0 0 0 4px rgba(29, 77, 69, 0.08);
  transform: translateY(-1px);
}

.field textarea {
  resize: vertical;
  min-height: 9rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__footer {
  align-items: flex-start;
}

.contact-form__note {
  margin: 0.9rem 0 0;
  color: rgba(29, 35, 38, 0.68);
  line-height: 1.7;
}

.contact-form__note a {
  color: var(--forest);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.contact-layout .contact-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.contact-card a {
  color: var(--forest);
  font-weight: 600;
}

.contact-card p + p {
  margin-top: 0.6rem;
}

.form-status {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.7;
}

.form-status.is-success {
  color: #0f5c42;
  background: rgba(30, 167, 109, 0.12);
  border-color: rgba(30, 167, 109, 0.2);
}

.form-status.is-error {
  color: #8a2d2d;
  background: rgba(190, 54, 54, 0.1);
  border-color: rgba(190, 54, 54, 0.18);
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem 0.8rem 0.82rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1ea76d 0%, #10674b 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(16, 103, 75, 0.35);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px);
}

.whatsapp-float__icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.whatsapp-float__text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .hero,
  .masterplan-layout,
  .amenities-layout,
  .location-layout,
  .plan-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .highlight-grid,
  .amenity-columns,
  .spec-grid,
  .legacy-grid,
  .contact-grid,
  .location-points,
  .floor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .framed-media--offset {
    width: 68%;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding: 0.85rem 0.9rem;
  }

  .js-enabled .nav-toggle {
    display: inline-block;
  }

  .js-enabled .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(245, 240, 230, 0.97);
    border: 1px solid rgba(29, 35, 38, 0.08);
    box-shadow: 0 22px 50px rgba(29, 35, 38, 0.14);
  }

  .js-enabled .site-header.is-open .site-nav {
    display: flex;
  }

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

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

  .brand__text small {
    display: none;
  }

  .hero,
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero__stats,
  .highlight-grid,
  .amenity-columns,
  .spec-grid,
  .legacy-grid,
  .location-points,
  .floor-grid,
  .plan-metrics,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .plan-switcher__buttons {
    width: 100%;
    justify-content: stretch;
  }

  .plan-button {
    flex: 1 1 100%;
  }

  .framed-media--offset {
    width: 100%;
    margin-top: 0;
  }

  .framed-media--tall img {
    min-height: 20rem;
  }

  .whatsapp-float {
    right: 0.9rem;
    bottom: 0.9rem;
    padding-right: 0.88rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(calc(100% - 1rem), var(--max-width));
    margin-top: 0.5rem;
  }

  .section {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-heading h2 {
    font-size: 2.4rem;
  }

  .brand__text strong {
    font-size: 1.18rem;
  }

  .plan-panel__media::before {
    top: 1rem;
    left: 1rem;
    font-size: 0.68rem;
  }

  .cta-panel,
  .plan-panel,
  .hero__media,
  .highlight-card,
  .feature-panel,
  .amenity-card,
  .spec-card,
  .location-card,
  .legacy-card,
  .contact-card {
    border-radius: 22px;
  }

  .whatsapp-float__text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-enabled [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
