:root {
  --bg: #f6f1ea;
  --bg-soft: #efe7db;
  --card: rgba(255, 249, 241, 0.84);
  --card-strong: rgba(255, 252, 247, 0.92);
  --text: #1d2425;
  --muted: #65706f;
  --line: rgba(29, 36, 37, 0.12);
  --sea: #0f7c83;
  --sea-deep: #0b4c58;
  --sand: #c88c4b;
  --ink-soft: #283638;
  --shadow: 0 24px 80px rgba(15, 38, 42, 0.14);
  --radius-xl: 36px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(65, 160, 178, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(200, 140, 75, 0.16), transparent 26%),
    linear-gradient(180deg, #fcfaf6 0%, #f2ece3 42%, #f7f3ed 100%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(20, 36, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 124, 131, 0.95), rgba(11, 76, 88, 0.86)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.brand-mark::after {
  inset: 16px 14px 10px;
}

.brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(29, 36, 37, 0.78);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--sea-deep);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(15, 124, 131, 0.1);
}

.lang-button {
  min-width: 48px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-button.is-active {
  background: linear-gradient(135deg, var(--sea), var(--sea-deep));
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 124, 131, 0.1);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--sea-deep);
}

.section,
.page-section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
}

.hero {
  min-height: 92vh;
  align-items: end;
  padding: 124px 0 42px;
}

.page-hero {
  min-height: 78vh;
  align-items: end;
  padding: 124px 0 36px;
}

.hero-media {
  position: absolute;
  inset: 22px 0 0;
  border-radius: clamp(24px, 3vw, 36px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 21, 24, 0.82) 0%, rgba(6, 21, 24, 0.62) 34%, rgba(6, 21, 24, 0.2) 64%, rgba(6, 21, 24, 0.04) 100%),
    linear-gradient(180deg, rgba(9, 28, 30, 0.12), rgba(9, 28, 30, 0.68)),
    linear-gradient(120deg, rgba(252, 246, 236, 0.04), transparent 55%);
}

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

.hero-content,
.page-hero-copy {
  width: min(760px, 100%);
  padding: 0 36px 20px;
  color: #fff9f1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero-panel,
.page-hero-card {
  width: min(340px, calc(100% - 36px));
  justify-self: end;
  margin: 40px 36px 12px 0;
  padding: 22px;
  border-radius: 24px;
  background: rgba(12, 28, 32, 0.48);
  color: #fff9f1;
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.86;
}

.display,
.page-title,
.section-heading h2,
.intro-copy h2,
.contact-copy h2,
.page-intro h2,
.content-block h2 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  line-height: 0.95;
}

.display {
  font-size: clamp(3.6rem, 8vw, 7rem);
  max-width: 11ch;
}

.page-title {
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  max-width: 13ch;
}

.hero-text,
.page-lead {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 249, 241, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sea), var(--sea-deep));
}

.button-secondary {
  color: #fff9f1;
  border: 1px solid rgba(255, 249, 241, 0.44);
  background: rgba(255, 249, 241, 0.12);
}

.button-outline {
  color: var(--sea-deep);
  border: 1px solid rgba(15, 124, 131, 0.22);
  background: rgba(255, 255, 255, 0.52);
}

.panel-label {
  margin: 0 0 18px;
  color: rgba(255, 249, 241, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.hero-stat + .hero-stat {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 249, 241, 0.16);
}

.hero-stat span,
.spec-strip span,
.contact-link span,
.stat-card span {
  display: block;
  opacity: 0.7;
  font-size: 0.85rem;
}

.hero-stat strong,
.spec-strip strong,
.contact-link strong,
.stat-card strong,
.price {
  display: block;
  margin-top: 4px;
  font-size: 1.06rem;
}

.intro,
.featured-listings,
.contact,
.stats-band,
.page-intro,
.page-content,
.media-band {
  padding: 78px 0 10px;
}

.intro-copy,
.page-intro {
  max-width: 820px;
}

.intro-copy h2,
.section-heading h2,
.contact-copy h2,
.page-intro h2,
.content-block h2 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.intro-grid,
.stats-grid,
.contact-panel,
.listing-panel,
.gallery-grid,
.page-grid,
.feature-grid,
.detail-split,
.media-split,
.condo-layout {
  display: grid;
  gap: 22px;
}

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

.intro-card,
.listing-panel,
.stat-card,
.contact-panel,
.contact-form,
.content-block,
.side-card,
.video-panel,
.condo-card,
.lightbox {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.intro-card,
.listing-panel,
.stat-card,
.contact-panel,
.contact-form,
.content-block,
.side-card,
.video-panel,
.condo-card {
  border-radius: var(--radius-lg);
}

.intro-card,
.stat-card,
.content-block,
.side-card,
.video-panel,
.condo-card {
  padding: 26px;
}

.intro-card span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 124, 131, 0.12);
  color: var(--sea-deep);
  font-weight: 800;
}

.intro-card h3,
.listing-copy h3,
.condo-copy h3 {
  margin: 18px 0 10px;
  font-size: 1.35rem;
}

.intro-card p,
.listing-copy p,
.content-block p,
.side-card p,
.condo-copy p,
.contact-copy p,
.page-intro p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 13ch;
}

.listing-stack {
  display: grid;
  gap: 22px;
}

.listing-panel {
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.listing-panel-reverse .listing-media {
  order: 2;
}

.listing-panel-reverse .listing-copy {
  order: 1;
}

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

.listing-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--sea-deep);
}

.property-meta {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.property-meta li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--sea));
}

.property-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.property-footer a {
  color: var(--sea-deep);
  font-weight: 700;
  text-decoration: none;
}

.stats-grid {
  margin-top: 0;
}

.stat-card {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(245, 238, 229, 0.86));
}

.contact-panel {
  grid-template-columns: 1.05fr 1fr;
  padding: 28px;
  align-items: start;
  margin-bottom: 72px;
}

.contact-actions {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-link {
  display: block;
  padding: 18px 20px;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 124, 131, 0.08);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(15, 124, 131, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

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

.hp-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto 32px;
  padding: 20px 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer a {
  color: inherit;
}

.page-intro {
  max-width: 760px;
}

.page-intro p {
  margin-top: 14px;
}

.page-grid,
.detail-split {
  grid-template-columns: 1.65fr minmax(280px, 0.75fr);
}

.content-block h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 16px;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.spec-strip div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(15, 124, 131, 0.08);
}

.side-card {
  align-self: start;
}

.price {
  font-size: 1.55rem;
  color: var(--sea-deep);
}

.alma-logo {
  width: 108px;
  margin-bottom: 14px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

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

.gallery-card,
.wide-media {
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
  cursor: pointer;
}

.gallery-card img,
.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-card:hover img,
.wide-media:hover img {
  transform: scale(1.03);
}

.gallery-card img {
  aspect-ratio: 1.06;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--card-strong);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.media-split,
.condo-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.video-panel video {
  width: 100%;
  border-radius: 20px;
  background: #0d1114;
}

.video-panel p {
  margin: 12px 4px 2px;
  color: var(--muted);
}

.condo-card {
  overflow: hidden;
}

.condo-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 18px;
}

.mini-cta {
  margin-top: 24px;
}

.lightbox {
  width: min(90vw, 1120px);
  padding: 18px;
  border: 0;
  border-radius: 28px;
}

.lightbox::backdrop {
  background: rgba(10, 17, 20, 0.72);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  background: #101517;
}

.lightbox p {
  margin: 12px 6px 2px;
  color: var(--text);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

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

.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  .intro-grid,
  .stats-grid,
  .contact-panel,
  .listing-panel,
  .page-grid,
  .detail-split,
  .feature-grid,
  .media-split,
  .condo-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-panel,
  .page-hero-card {
    justify-self: start;
    margin-left: 36px;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 24px;
    align-items: start;
    flex-wrap: wrap;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 247, 236, 0.94);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 138px;
  }

  .hero-content,
  .hero-panel,
  .page-hero-copy,
  .page-hero-card {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-panel,
  .page-hero-card {
    width: calc(100% - 48px);
    margin: 28px 24px 0;
  }

  .display {
    font-size: clamp(2.9rem, 17vw, 4.9rem);
  }

  .page-title,
  .section-heading h2,
  .intro-copy h2,
  .contact-copy h2,
  .page-intro h2,
  .content-block h2 {
    font-size: clamp(2rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .contact-form,
  .spec-strip,
  .gallery-grid,
  .gallery-grid.gallery-grid-compact {
    grid-template-columns: 1fr;
  }

  .listing-media img {
    min-height: 300px;
  }

  .site-footer {
    flex-direction: column;
  }
}
