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

:root {
  --color-page: #f6f0e7;
  --color-surface: #fffaf4;
  --color-surface-strong: #ffffff;
  --color-ink: #17211d;
  --color-muted: rgba(23, 33, 29, 0.68);
  --color-brand: #17382e;
  --color-brand-strong: #0f261f;
  --color-brand-soft: rgba(23, 56, 46, 0.1);
  --color-cream: #f8f1e6;
  --color-sand: #c49a61;
  --color-sand-strong: #a97f49;
  --color-line: rgba(23, 33, 29, 0.12);
  --color-line-light: rgba(255, 255, 255, 0.18);
  --font-base: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Prata", "Georgia", serif;
  --container-width: 1200px;
  --container-padding: 18px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-card: 0 18px 48px rgba(18, 31, 27, 0.1);
  --shadow-deep: 0 26px 80px rgba(9, 19, 16, 0.24);
  --section-space: 76px;
}

html {
  scroll-behavior: smooth;
}

#top {
  scroll-margin-top: 0;
}

.lead-form[id] {
  scroll-margin-top: 96px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(246, 240, 231, 0.98)),
    var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-base);
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--color-sand);
  color: var(--color-brand-strong);
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.layout-container {
  width: min(100%, var(--container-width));
  margin: 0 auto;
  padding-inline: var(--container-padding);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 14px;
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(calc(100% - 24px), 1180px);
  min-height: 64px;
  padding: 8px 18px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(15, 38, 31, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  color: #fffaf4;
  transform: translateX(-50%);
}

.brand,
.site-nav,
.hero-actions,
.center-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  justify-self: start;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.1);
  color: #fffaf4;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.site-nav {
  grid-column: 2;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.92rem;
}

.site-nav a,
.primary-button,
.secondary-button {
  text-decoration: none;
}

.page-shell {
  overflow: clip;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  padding: 112px 0 48px;
  overflow: hidden;
  background: var(--color-brand-strong);
  color: #fffaf4;
}

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

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) brightness(0.78);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 13, 0.9) 0%, rgba(7, 16, 13, 0.66) 42%, rgba(7, 16, 13, 0.26) 70%, rgba(7, 16, 13, 0.56) 100%),
    linear-gradient(180deg, rgba(7, 16, 13, 0.28) 0%, rgba(7, 16, 13, 0.74) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.hero-copy {
  min-width: 0;
  max-width: 860px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-sand-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: rgba(236, 196, 137, 0.92);
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: clamp(34px, 9vw, 64px);
  line-height: 1.02;
}

h2 {
  max-width: 760px;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1.04;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.hero-subtitle {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 250, 244, 0.84);
  font-size: clamp(17px, 3.2vw, 22px);
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.primary-button {
  background: var(--color-sand);
  color: var(--color-brand-strong);
  box-shadow: 0 14px 34px rgba(117, 80, 36, 0.18);
}

.primary-button--sand {
  background: var(--color-sand);
  color: var(--color-brand-strong);
}

.primary-button--full {
  width: 100%;
}

.primary-button--dark {
  background: var(--color-brand);
  color: #fffaf4;
}

.secondary-button {
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.64);
  color: var(--color-brand);
}

.secondary-button--light {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 250, 244, 0.1);
  color: #fffaf4;
}

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

.primary-button:focus-visible,
.secondary-button:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible,
.brand:focus-visible,
.site-footer__links a:focus-visible {
  outline: 3px solid rgba(196, 154, 97, 0.42);
  outline-offset: 3px;
}

.hero-facts,
.metric-grid,
.investment-cards,
.feature-list,
.gallery-grid,
.amenity-grid,
.distance-list,
.trust-grid,
.smart-list,
.scenario-grid,
.purchase-grid,
.faq-list {
  display: grid;
  gap: 14px;
}

.metric-grid,
.scenario-grid,
.purchase-grid,
.amenity-grid,
.trust-grid {
  grid-auto-rows: 1fr;
}

.hero-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  max-width: 100%;
  margin-top: 28px;
}

.hero-facts article,
.metric-card,
.lead-form,
.investment-cards article,
.amenity-grid article,
.trust-grid article,
.scenario-grid article,
.purchase-grid article,
.faq-list details {
  height: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 244, 0.82);
  box-shadow: var(--shadow-card);
}

.hero-facts article {
  padding: 18px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 250, 244, 0.1);
  backdrop-filter: blur(16px);
}

.hero-facts strong,
.metric-card strong,
.investment-cards strong {
  display: block;
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-facts strong {
  white-space: nowrap;
}

.hero-facts span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 244, 0.78);
  font-size: 0.9rem;
}

.lead-form {
  display: grid;
  gap: 12px;
  height: auto;
  padding: 18px;
}

.hero-form {
  display: none;
  align-self: center;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 250, 244, 0.94);
  color: var(--color-ink);
  backdrop-filter: blur(18px);
}

.form-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-sand-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-title {
  font-family: var(--font-base);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.lead-form__field {
  display: grid;
  gap: 7px;
}

.lead-form__field span {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.lead-form__field input,
.lead-form__field select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(23, 33, 29, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-ink);
}

.lead-form__field input:focus,
.lead-form__field select:focus {
  border-color: var(--color-sand);
  background: #ffffff;
  outline: 3px solid rgba(196, 154, 97, 0.24);
  outline-offset: 2px;
}

.lead-form__status,
.lead-form__note {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.lead-form__status:empty {
  display: none;
}

.lead-form__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.section {
  padding: var(--section-space) 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.section-head p,
.project-copy p,
.location-panel p,
.final-copy p {
  max-width: 640px;
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.section-head--split {
  gap: 22px;
}

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

.section-head--center p {
  margin: 0 auto;
}

.section-head .primary-button,
.section-head .secondary-button,
.purchase-layout > .primary-button {
  justify-self: start;
}

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

.metric-card {
  padding: 22px;
}

.metric-card strong {
  color: var(--color-brand);
}

.metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--color-muted);
  line-height: 1.45;
}

.investment-section,
.location-section,
.mid-cta-section,
.final-section {
  background:
    linear-gradient(135deg, rgba(15, 38, 31, 0.98), rgba(31, 70, 58, 0.94)),
    var(--color-brand);
  color: #fffaf4;
}

.investment-layout,
.project-layout,
.location-layout,
.management-layout,
.smart-layout,
.purchase-layout,
.final-panel {
  display: grid;
  gap: 28px;
}

.investment-section .section-head p,
.location-panel p,
.final-copy p {
  color: rgba(255, 250, 244, 0.78);
}

.investment-cards article {
  display: grid;
  align-content: start;
  min-height: 176px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 250, 244, 0.08);
  box-shadow: none;
}

.investment-cards span,
.investment-cards small {
  display: block;
  color: rgba(255, 250, 244, 0.72);
}

.investment-cards span {
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.investment-cards small {
  margin-top: 8px;
  font-size: 0.92rem;
}

.project-layout {
  align-items: center;
}

.project-copy {
  display: grid;
  gap: 22px;
}

.feature-list {
  grid-template-columns: 1fr;
}

.feature-list span,
.smart-list span {
  min-height: 48px;
  padding: 13px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--color-brand);
  font-weight: 800;
}

.image-card,
.gallery-card,
.map-card {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.image-card {
  aspect-ratio: 16 / 11;
}

.image-card--portrait {
  aspect-ratio: 4 / 5;
}

.image-card img,
.gallery-card img,
.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-card:nth-child(5) img {
  object-position: center top;
}

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

.gallery-card {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.gallery-card picture {
  display: block;
  height: 100%;
}

.map-card picture {
  display: block;
  height: 100%;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(8, 19, 16, 0.7));
}

.gallery-card figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  color: #fffaf4;
  font-size: 1.05rem;
  font-weight: 800;
}

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

.amenity-grid article,
.trust-grid article {
  display: grid;
  align-items: center;
  min-height: 86px;
  padding: 22px;
  color: var(--color-brand);
  font-weight: 800;
}

.amenity-grid article {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  min-height: 92px;
  padding: 16px;
}

.amenity-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-sand-strong);
  font-size: 0.86rem;
  font-weight: 900;
}

.location-layout {
  align-items: stretch;
}

.location-panel {
  display: grid;
  align-content: center;
  gap: 22px;
}

.distance-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.08);
  color: rgba(255, 250, 244, 0.82);
}

.location-panel .primary-button {
  justify-self: start;
}

.distance-list strong {
  color: #fffaf4;
  font-size: 1.18rem;
  white-space: nowrap;
}

.map-card {
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-deep);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 19, 16, 0.08), rgba(9, 19, 16, 0.32)),
    radial-gradient(circle at 48% 46%, rgba(196, 154, 97, 0.18), transparent 20%);
}

.map-pin {
  position: absolute;
  z-index: 1;
  max-width: 150px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.92);
  color: var(--color-brand);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.map-pin--home {
  left: 44%;
  top: 42%;
  background: var(--color-sand);
  color: var(--color-brand-strong);
}

.map-pin--beach {
  right: 10%;
  bottom: 18%;
}

.map-pin--park {
  left: 10%;
  top: 18%;
}

.management-layout {
  align-items: start;
}

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

.smart-layout {
  align-items: center;
}

.smart-copy {
  display: grid;
  gap: 22px;
}

.scenario-grid article,
.purchase-grid article {
  display: grid;
  align-content: start;
  min-height: 172px;
  padding: 24px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-sand-strong);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scenario-grid h3,
.purchase-grid h3 {
  color: var(--color-brand);
}

.scenario-grid p {
  margin-top: 12px;
  color: var(--color-muted);
  line-height: 1.6;
}

.center-action {
  justify-content: center;
  margin-top: 28px;
}

.purchase-grid ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--color-muted);
  line-height: 1.7;
}

.purchase-grid li + li {
  margin-top: 8px;
}

.purchase-grid li strong {
  color: var(--color-brand);
}

.mid-cta-section {
  padding: 64px 0;
}

.cta-panel {
  display: grid;
  gap: 26px;
  align-items: center;
}

.cta-panel h2 {
  max-width: 760px;
  font-size: clamp(28px, 6vw, 48px);
}

.mid-cta-section .section-head {
  margin-bottom: 0;
}

.mid-cta-section .section-head p,
.mid-cta-section .scenario-grid p {
  color: rgba(255, 250, 244, 0.74);
}

.goal-grid article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 250, 244, 0.08);
  box-shadow: none;
}

.goal-grid h3 {
  color: #fffaf4;
}

.goal-grid .secondary-button {
  align-self: end;
  width: 100%;
  margin-top: 20px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  color: var(--color-brand);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-sand-strong);
  font-size: 1.3rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  padding: 0 20px 18px;
  color: var(--color-muted);
  line-height: 1.65;
}

.final-panel {
  align-items: center;
}

.final-form {
  background: rgba(255, 250, 244, 0.94);
  color: var(--color-ink);
}

.site-footer {
  padding: 34px 0 88px;
  background: var(--color-brand-strong);
  color: rgba(255, 250, 244, 0.74);
}

.site-footer__inner {
  display: grid;
  gap: 18px;
}

.site-footer p {
  line-height: 1.55;
}

.site-footer span {
  display: block;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-footer__links a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (min-width: 640px) {
  :root {
    --container-padding: 24px;
    --section-space: 90px;
  }

  body {
    padding-bottom: 0;
  }

  .hero-facts,
  .metric-grid,
  .amenity-grid,
  .trust-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-list,
  .smart-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .gallery-card--large {
    grid-column: span 2;
  }

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

}

@media (min-width: 900px) {
  :root {
    --section-space: 108px;
  }

  h1 {
    font-size: clamp(48px, 5vw, 68px);
  }

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

  .section-head--split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: end;
  }

  .metric-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .investment-layout,
  .project-layout,
  .location-layout,
  .management-layout,
  .smart-layout,
  .final-panel {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  }

  .investment-cards,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-card {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }

  .gallery-card--large {
    grid-column: span 1;
    grid-row: span 2;
  }

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

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

  .site-footer {
    padding-bottom: 34px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
  }

  .site-footer__links {
    justify-content: flex-end;
  }

}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 132px;
    padding-bottom: 70px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.24fr) minmax(320px, 380px);
    align-items: center;
    min-height: calc(100svh - 202px);
  }

  .hero-form {
    display: grid;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-facts article {
    min-width: 0;
  }

  .hero-facts strong {
    font-size: clamp(32px, 4.8vw, 40px);
  }
}

@media (max-width: 899px) {
  .lead-form[id] {
    scroll-margin-top: 104px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 10px 8px 12px;
    border-radius: 999px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    grid-column: 1 / -1;
    display: grid;
    visibility: hidden;
    grid-template-columns: 1fr;
    width: auto;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(15, 38, 31, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
    backdrop-filter: blur(18px);
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 250, 244, 0.08);
    text-align: center;
    white-space: nowrap;
  }

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

  .menu-toggle {
    display: block;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    max-width: calc(100vw - 132px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

}

@media (max-width: 639px) {
  .site-header {
    top: 10px;
    width: calc(100% - 16px);
    min-height: 58px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 34px;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-form {
    margin-top: 8px;
  }

  .hero-facts {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-facts article {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-facts span {
    font-size: 0.82rem;
  }

  .gallery-card {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

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

  .amenity-grid article {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 112px;
    align-content: start;
    padding: 14px;
    font-size: 0.88rem;
  }

  .location-panel .primary-button {
    justify-self: stretch;
  }

  .map-card {
    min-height: 330px;
  }

  .map-pin {
    max-width: 118px;
    font-size: 0.72rem;
  }

}
