:root {
  --deep-jungle: #082623;
  --sun-gold: #c5a059;
  --azure-glass: #e0f7fa;
  --pearl: #fcfcfc;
  --bg: #f3f7f6;
  --surface: #fcfcfc;
  --surface-soft: #f4f8f8;
  --text: #0f302b;
  --muted: #46645f;
  --accent: #c5a059;
  --accent-strong: #ad8a45;
  --border: #d9e7e6;
  --radius: 16px;
  --shadow: 0 22px 46px rgba(8, 38, 35, 0.1);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at 20% 0%, #ffffff 0%, var(--bg) 52%, #ebf3f2 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(5px);
  background: rgba(252, 252, 252, 0.88);
  border-bottom: 1px solid transparent;
  box-shadow: 0 8px 28px rgba(8, 38, 35, 0.08);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(8, 38, 35, 0.2));
}

.nav-toggle {
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 0.3rem 0.55rem;
  color: var(--text);
  box-shadow: 0 8px 18px rgba(8, 38, 35, 0.12);
}

.nav {
  position: absolute;
  inset: 68px 0 auto 0;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  box-shadow: 0 16px 34px rgba(8, 38, 35, 0.08);
  display: none;
}

.nav.open {
  display: block;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 1rem;
  display: grid;
  gap: 0.6rem;
}

.nav a {
  color: var(--muted);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.cta-btn.primary {
  background: var(--accent);
  color: #132a26;
  box-shadow: 0 12px 24px rgba(197, 160, 89, 0.35);
}

.cta-btn.primary:hover {
  background: var(--accent-strong);
  color: #fffdf7;
}

.cta-btn.secondary {
  border-color: transparent;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(8, 38, 35, 0.1);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  background:
    linear-gradient(130deg, rgba(16, 55, 50, 0.42) 0%, rgba(8, 38, 35, 0.5) 44%, rgba(19, 72, 66, 0.42) 100%),
    url("/assets/images/house-overview-1.webp") center / cover no-repeat;
}

.hero-video {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero.hero-video-ready .hero-video {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 38, 35, 0.28) 0%, rgba(8, 38, 35, 0.58) 72%, rgba(8, 38, 35, 0.82) 100%);
}

[data-parallax] {
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f7fffd;
  padding: 4.5rem 0 3rem;
}

.hero-video-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(224, 247, 250, 0.92);
  background: rgba(8, 38, 35, 0.34);
  border: 1px solid rgba(224, 247, 250, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
  .hero-video-note {
    right: 0.7rem;
    top: calc(5.1rem + env(safe-area-inset-top));
    bottom: auto;
    max-width: min(74vw, 320px);
    border-radius: 12px;
    padding: 0.34rem 0.52rem;
    font-size: 0.66rem;
    line-height: 1.28;
    white-space: normal;
    text-wrap: pretty;
  }
}

.kicker {
  display: inline-block;
  background: rgba(224, 247, 250, 0.15);
  border: 1px solid rgba(224, 247, 250, 0.42);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  margin: 0;
  letter-spacing: 0.01em;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  max-width: 18ch;
}

.hero p {
  margin: 1rem 0 1.4rem;
  max-width: 54ch;
  color: rgba(247, 255, 253, 0.94);
}

.micro-tagline {
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(224, 247, 250, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

#apartments .hero-actions {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: stretch;
}

#apartments .hero-actions .cta-btn {
  min-height: 56px;
  padding-inline: 1.45rem;
  width: 100%;
}

@media (max-width: 640px) {
  #apartments .hero-actions {
    grid-template-columns: 1fr;
  }
}

.section {
  padding: 4.5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 860px;
}


.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.bento-item {
  min-height: 100%;
}

.card {
  background: linear-gradient(160deg, rgba(252, 252, 252, 0.94), rgba(224, 247, 250, 0.5));
  border: 1px solid transparent;
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(8, 38, 35, 0.12), inset 0 0 0 1px rgba(252, 252, 252, 0.6);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.apartment-photo {
  margin: 0.25rem 0 0.8rem;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 16px 30px rgba(8, 38, 35, 0.14);
  position: relative;
}

.apartment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.carousel-track > picture {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.carousel-track > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(8, 38, 35, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}

.card p,
.card li {
  color: var(--muted);
}

.badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.badge {
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  background: rgba(224, 247, 250, 0.45);
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
}

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

.local-map-layout {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.local-map-layout .card {
  margin: 0;
}

.local-map-canvas {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
}

.local-map-canvas .leaflet-control-attribution {
  font-size: 0.62rem;
}

.local-map-panel {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-height: 0;
}

.local-map-hint {
  margin: 0;
  color: #2b4c46;
  font-size: 0.9rem;
}

.local-map-list {
  display: grid;
  gap: 0.42rem;
  min-height: 0;
}

.local-map-point-btn {
  width: 100%;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.55rem;
  align-items: center;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(8, 38, 35, 0.14);
  background: rgba(252, 252, 252, 0.9);
  color: var(--text);
  font-size: 0.88rem;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
}

.local-map-point-btn.is-active {
  border-color: rgba(17, 80, 70, 0.65);
  background: rgba(224, 247, 250, 0.76);
}

.local-map-point-thumb {
  width: 54px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.local-map-point-title {
  display: block;
  font-weight: 600;
  line-height: 1.22;
}

.local-map-point-subtitle {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.76rem;
  color: #456a64;
}

.local-map-details {
  min-height: 238px;
  border-top: 1px solid rgba(8, 38, 35, 0.1);
  padding-top: 0.6rem;
  min-width: 0;
  min-height: 0;
}

.local-map-card {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.local-map-photo-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(8, 38, 35, 0.14);
}

.local-map-photo-btn img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.local-map-copy h3 {
  margin: 0;
}

.local-map-copy p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.local-map-distance {
  margin: 0.24rem 0 0;
  font-size: 0.84rem;
  color: #234f48;
}

.local-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.local-map-image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(7, 20, 18, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.local-map-image-modal.is-open {
  display: flex;
}

.local-map-image-wrap {
  position: relative;
  width: min(96vw, 760px);
  max-height: 90vh;
}

.local-map-image-wrap img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  background: #00110f;
}

.local-map-image-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(7, 20, 18, 0.74);
  color: #fcfcfc;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.house-showcase {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  isolation: isolate;
  align-items: stretch;
}

.house-showcase figure {
  margin: 0;
  position: relative;
  z-index: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 20px 38px rgba(8, 38, 35, 0.16);
}

.house-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.house-main,
.house-side {
  min-height: 280px;
  aspect-ratio: 16 / 10;
}

.house-showcase figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  background: rgba(8, 38, 35, 0.6);
  color: rgba(224, 247, 250, 0.95);
  border: 1px solid rgba(224, 247, 250, 0.3);
}

.gallery-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  min-height: 180px;
  background: linear-gradient(150deg, #fcfcfc, #e0f7fa);
}

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

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(150deg, #fcfcfc, #e0f7fa);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  color: #3a635b;
  font-size: 0.9rem;
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.14);
}

.list {
  margin: 0;
  padding-left: 1.15rem;
}

#faq .container {
  width: min(100% - 2rem, 860px);
}

.faq-heading {
  margin: 0;
}

.faq-item + .faq-item {
  margin-top: 0.48rem;
}

.faq-item {
  padding: 0.3rem;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(8, 38, 35, 0.08), inset 0 0 0 1px rgba(252, 252, 252, 0.58);
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border: 0;
  border-radius: 14px;
  background: rgba(252, 252, 252, 0.9);
  padding: 0.82rem 0.9rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
}

.faq-q::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(224, 247, 250, 0.92);
  color: #1b4c45;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item.open .faq-q::after {
  content: "−";
}

.faq-a {
  display: none;
  color: var(--muted);
  padding: 0.62rem 0.72rem 0.42rem;
  font-size: 1rem;
  line-height: 1.55;
}

.faq-item.open .faq-a {
  display: block;
}

.live-fallback-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-box {
  display: grid;
  gap: 0.7rem;
}

.pricing-grid {
  margin-top: 0.4rem;
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(197, 160, 89, 0.12), rgba(224, 247, 250, 0));
}

.language-gateway {
  min-height: 100vh;
  padding: 2rem 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(224, 247, 250, 0.9), transparent 35%),
    radial-gradient(circle at bottom right, rgba(197, 160, 89, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f9f5 0%, #eef7f4 100%);
}

.language-gateway-card {
  width: min(100% - 2rem, 780px);
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
}

.language-gateway-logo {
  width: 68px;
  height: 68px;
  display: block;
  margin: 0 auto 1rem;
}

.language-gateway .kicker {
  justify-content: center;
}

.language-gateway h1 {
  margin-bottom: 0.85rem;
}

.language-gateway p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.language-gateway-actions {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.gateway-option {
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.38rem;
  padding: 1.15rem 1.2rem;
}

.gateway-option strong,
.gateway-option span {
  display: block;
}

.gateway-option strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.gateway-option span {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.3;
}

.pricing-card h3 {
  position: relative;
  z-index: 1;
}

.price {
  position: relative;
  z-index: 1;
  margin: 0.55rem 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 4.6vw, 2rem);
  color: var(--accent-strong);
}

.season-pricing {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.8rem 0 1rem;
}

.season-pricing-card {
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: rgba(252, 252, 252, 0.88);
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
}

.season-pricing-card h4 {
  margin: 0;
  font-size: 0.98rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.season-pricing-window {
  margin: 0.24rem 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.season-pricing-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.42rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.season-pricing-line strong {
  color: var(--text);
  white-space: nowrap;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.stay-estimator {
  position: relative;
  overflow: hidden;
}

.stay-estimator::before {
  content: "";
  position: absolute;
  inset: -40px auto auto -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 182, 166, 0.18) 0%, rgba(43, 182, 166, 0) 72%);
  pointer-events: none;
}

.stay-estimator::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, rgba(197, 160, 89, 0) 72%);
  pointer-events: none;
}

.stay-estimator-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.stay-estimator-panel,
.stay-estimator-result {
  border-radius: 18px;
  background: rgba(252, 252, 252, 0.82);
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
  padding: 1rem;
}

.stay-estimator-label {
  margin: 0 0 0.3rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
}

.stay-estimator-copy {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 58ch;
}

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

.stay-estimator-field {
  display: grid;
  gap: 0.35rem;
}

.stay-estimator-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #234b45;
}

.stay-estimator-field select,
.stay-estimator-field input {
  width: 100%;
  border: 1px solid rgba(8, 38, 35, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  box-shadow: 0 10px 18px rgba(8, 38, 35, 0.05);
}

.stay-estimator-help {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.stay-estimator-result {
  display: grid;
  gap: 0.85rem;
}

.stay-estimator-kicker {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #2f5f58;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 800;
}

.stay-estimator-total {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: #174a42;
}

.stay-estimator-meta {
  display: grid;
  gap: 0.42rem;
}

.stay-estimator-meta p,
.stay-estimator-note {
  margin: 0;
  color: var(--muted);
}

.stay-estimator-note {
  font-size: 0.9rem;
  line-height: 1.55;
}

.stay-estimator-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stay-estimator-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  background: rgba(224, 247, 250, 0.78);
  color: #1d4d46;
  font-size: 0.84rem;
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
}

.stay-estimator-message {
  margin: 0;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 253, 245, 0.86), rgba(224, 247, 250, 0.72));
  color: #284c46;
  font-size: 0.92rem;
  line-height: 1.6;
}

.stay-estimator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 940px) {
  .stay-estimator-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .season-pricing {
    grid-template-columns: 1fr;
  }

  .stay-estimator-fields {
    grid-template-columns: 1fr;
  }

  .stay-estimator-panel,
  .stay-estimator-result {
    padding: 0.92rem;
  }
}

.location-capsule {
  position: relative;
  overflow: hidden;
}

.location-capsule::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0) 72%);
  pointer-events: none;
}

.location-label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  font-weight: 700;
}

.location-copy {
  max-width: 58ch;
}

.location-map-embed {
  margin: 0.8rem 0 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(8, 38, 35, 0.1);
  box-shadow: 0 10px 24px rgba(8, 38, 35, 0.1);
}

.location-map-embed iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 0.95rem;
}

.beach-story {
  margin: 0.9rem 0 1rem;
  padding: 0.9rem 0.95rem 0.9rem 1rem;
  border-left: 3px solid rgba(197, 160, 89, 0.9);
  background: linear-gradient(110deg, rgba(255, 253, 245, 0.82), rgba(224, 247, 250, 0.45));
  border-radius: 10px;
  scroll-margin-top: 110px;
}

.beach-story p {
  margin: 0;
  color: #2b4c46;
  font-size: 0.98rem;
  line-height: 1.55;
}

.beach-story p + p {
  margin-top: 0.62rem;
}

.beach-story strong {
  font-family: "Playfair Display", Georgia, serif;
  color: #174a42;
  font-weight: 700;
}

.yanui-live-grid {
  display: grid;
  gap: 0.62rem;
  grid-template-columns: 1fr;
}

.yanui-live-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.78rem 0.8rem 0.74rem;
  border-radius: 14px;
}

.yanui-live-card::before {
  content: "";
  position: absolute;
  inset: auto -45px -80px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.14) 0%, rgba(197, 160, 89, 0) 74%);
  pointer-events: none;
}

.yanui-live-label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #2e5750;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.yanui-live-temp {
  margin: 0.2rem 0 0.32rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.45rem, 8.4vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #174a42;
}

.yanui-live-summary {
  margin: 0;
  font-size: clamp(0.94rem, 1.45vw, 1.02rem);
  line-height: 1.1;
  color: #355f58;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 600;
}

.yanui-live-kpis {
  margin-top: 0.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.55rem;
  align-content: start;
  width: 100%;
}

.yanui-live-kpis > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.yanui-live-kpis span {
  display: block;
  font-size: 0.75rem;
  line-height: 1;
  color: #4c736d;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 500;
}

.yanui-live-kpis strong {
  display: block;
  margin-top: 0.06rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.18rem, 1.95vw, 1.45rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #103c36;
}

.yanui-live-bigline {
  margin: 0.28rem 0 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: #4c736d;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 600;
  width: 100%;
}

.yanui-live-bigline strong {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.16rem, 2vw, 1.38rem);
  line-height: 1;
  color: #143f39;
}

.yanui-live-clock {
  margin: 0.14rem 0 0.02rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(1.62rem, 3.3vw, 2.05rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #123d37;
}

.yanui-live-tz {
  margin: 0;
  font-size: 0.8rem;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 600;
  color: #527972;
}

.yanui-live-note {
  margin: 0.24rem 0 0;
  color: #2f5952;
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 1.26;
  font-family: "Playfair Display", Georgia, serif;
}

.yanui-live-updated {
  margin: 0.36rem 0 0;
  font-size: 0.76rem;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 500;
  color: #4d746d;
}

.yanui-live-rates {
  margin-top: 0.28rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.yanui-live-rates div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  padding: 0.26rem 0.3rem;
  background: rgba(224, 247, 250, 0.34);
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.08);
}

.yanui-live-rates span {
  font-size: 0.72rem;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  color: #416861;
  line-height: 1;
}

.yanui-live-rates strong {
  margin-top: 0.1rem;
  font-size: 1rem;
  line-height: 1;
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: #123d37;
}


.glass-strong {
  background: linear-gradient(160deg, rgba(252, 252, 252, 0.8), rgba(224, 247, 250, 0.4));
  backdrop-filter: none;
}

/* Safari memory-safe mode: reduce expensive compositing effects */
.safari-memory-safe .card,
.safari-memory-safe .glass-strong,
.safari-memory-safe .hero-video-note,
.safari-memory-safe .kicker,
.safari-memory-safe .site-header {
  backdrop-filter: none !important;
}

.safari-memory-safe .glass-strong {
  background: rgba(252, 252, 252, 0.9);
}

.site-footer {
  border-top: 1px solid transparent;
  color: #d2e7e3;
  padding: 1.5rem 0 2rem;
  background: var(--deep-jungle);
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  border-top: 1px solid transparent;
  background: rgba(252, 252, 252, 0.96);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -14px 30px rgba(8, 38, 35, 0.1);
}

.sticky-mobile-cta .cta-btn {
  width: 100%;
}

.sticky-note {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

.lang-switch {
  display: inline-flex;
  gap: 0.45rem;
}

.lang-switch a {
  font-size: 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px rgba(8, 38, 35, 0.12);
}

.lang-switch .active {
  background: rgba(224, 247, 250, 0.55);
  color: var(--text);
}

@media (min-width: 720px) {
  .local-map-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .local-map-layout > .card {
    height: 440px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .local-map-canvas {
    height: 100%;
  }

  .local-map-panel {
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 210px);
    height: 100%;
    overflow: hidden;
  }

  .local-map-list {
    overflow: auto;
    padding-right: 0.15rem;
  }

  .local-map-details {
    overflow: auto;
  }

  .local-map-photo-btn img {
    max-height: 140px;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }

  .nav ul {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 1.1rem;
  }

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

  .bento-grid {
    grid-template-columns: 1.25fr 1fr;
  }

.bento-grid .bento-item.tall {
  grid-row: span 2;
}

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

  .yanui-live-card.lead {
    grid-column: span 1;
  }

  .yanui-live-card.metrics {
    grid-column: span 1;
  }

  .yanui-live-card.sun {
    grid-column: span 1;
  }

  .yanui-live-card.time {
    grid-column: span 1;
  }

  .yanui-live-card.note {
    grid-column: span 1;
  }

  .yanui-live-card.rates {
    grid-column: 1 / -1;
  }

.attractions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.attraction-card {
  padding: 0.85rem 0.85rem 0.9rem;
  position: relative;
}

.attraction-kicker {
  margin: 0 0 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.attraction-distance {
  position: absolute;
  top: 0.68rem;
  right: 0.72rem;
  font-size: 0.88rem;
  line-height: 1;
  font-weight: 800;
  color: #0f8b7a;
  background: rgba(224, 247, 250, 0.92);
  border: 1px solid rgba(15, 139, 122, 0.25);
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  box-shadow: 0 4px 12px rgba(8, 38, 35, 0.08);
}

.attraction-card h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 4.2vw, 1.45rem);
}

.attraction-card p:last-child {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

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

  .house-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    column-gap: 0.85rem;
  }

  .attractions-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(90px, auto);
    gap: 0.8rem;
  }

  .attraction-card {
    grid-column: span 4;
    padding: 0.95rem 0.95rem 1rem;
  }

  .attraction-large {
    grid-column: span 7;
  }

  .attraction-tall {
    grid-column: span 5;
    grid-row: span 1;
  }

  .attraction-wide {
    grid-column: span 8;
  }

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

  .attraction-large h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
  }

  .attraction-tall h3 {
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  }

  .attraction-wide h3 {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
  }

  .house-main,
  .house-side {
    min-height: 420px;
    aspect-ratio: 16 / 10;
  }

  .sticky-mobile-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    transform: none !important;
  }

}

@media (max-width: 520px) {
  .language-gateway-actions {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero-content {
    padding: 4rem 0 2.6rem;
  }

  h1 {
    max-width: 14ch;
    font-size: clamp(1.8rem, 8.6vw, 2.4rem);
  }

  .hero p {
    margin: 0.85rem 0 1.2rem;
    font-size: 0.97rem;
  }

  .micro-tagline {
    font-size: 0.82rem;
  }

  .hero-video-note {
    max-width: min(68vw, 260px);
    font-size: 0.62rem;
    padding: 0.3rem 0.48rem;
  }

  .yanui-live-temp {
    font-size: clamp(1.95rem, 9.6vw, 2.7rem);
  }

  .yanui-live-kpis strong {
    font-size: clamp(1.08rem, 5.6vw, 1.3rem);
  }

  .yanui-live-clock {
    font-size: clamp(1.55rem, 8.5vw, 2rem);
  }

  .yanui-live-note {
    font-size: clamp(0.88rem, 4.3vw, 0.98rem);
  }

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

  .local-map-layout > .card {
    height: 460px;
  }

  .local-map-canvas {
    height: 100%;
  }

  .local-map-panel {
    grid-template-rows: auto minmax(0, 1fr) minmax(0, 238px);
    height: 100%;
    overflow: hidden;
  }

  .local-map-list {
    overflow: auto;
    padding-right: 0.15rem;
  }

  .local-map-details {
    overflow: auto;
  }
}
