:root,
[data-theme="dark"] {
  /* Master palette: Forest Charcoal, Cream Stone, Aged Brass + Villages Clay */
  --bg: #1a2620;
  --bg-deep: #121916;
  --cream: #ebe7df;
  --text: #ebe7df;
  --muted: rgba(235, 231, 223, 0.66);
  --copper: #9c7a4a;
  --copper-2: #b8925e;
  --clay: #b56e4a;
  --stone: #8a8275;
  --sage: #8a8275;
  --line: rgba(235, 231, 223, 0.12);
  --card: rgba(235, 231, 223, 0.04);
  --card-solid: #1e2b24;
  --nav-scrolled: rgba(26, 38, 32, 0.85);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: Inter, system-ui, sans-serif;
}

[data-theme="light"] {
  --bg: #ebe7df;
  --bg-deep: #e2ddd4;
  --text: #1a2620;
  --muted: rgba(26, 38, 32, 0.66);
  --line: rgba(26, 38, 32, 0.12);
  --card: rgba(26, 38, 32, 0.035);
  --card-solid: #f4f1ea;
  --nav-scrolled: rgba(235, 231, 223, 0.9);
  --shadow: 0 24px 60px rgba(26, 38, 32, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

::selection {
  background: rgba(156, 122, 74, 0.35);
  color: var(--text);
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 420px;
  height: 420px;
  left: -999px;
  top: -999px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156, 122, 74, 0.12) 0%, rgba(156, 122, 74, 0.03) 42%, transparent 70%);
  transform: translate(-50%, -50%);
  will-change: left, top;
}
[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(156, 122, 74, 0.16) 0%, transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--copper);
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.12;
}
.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}
.brand-lockup-master {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--copper);
}
.brand-lockup-venture {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #ebe7df;
}
.brand-lockup-rule {
  width: 3.5rem;
  height: 1px;
  background: var(--copper);
  opacity: 0.85;
}
.place {
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(156, 122, 74, 0.35);
}
[data-theme="light"] .place {
  text-shadow: 0 10px 24px rgba(26, 38, 32, 0.12);
}

/* NAV */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 4vw;
  color: #ebe7df;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s var(--ease-out-expo), border-color 0.45s, color 0.45s, backdrop-filter 0.45s;
}
.site-nav.scrolled {
  color: var(--text);
  background: var(--nav-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  z-index: 2;
}
.brand-mark {
  position: relative;
  display: block;
  line-height: 0;
}
.brand-mark > img {
  height: 112px;
  width: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.brand-birds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.brand-bird {
  position: absolute;
  height: auto;
  display: block;
  transform-origin: 50% 60%;
  animation: birdGlide 5.2s ease-in-out infinite;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.28));
}
.brand-bird:nth-child(1) {
  left: 11.32%;
  top: 12.46%;
  width: 17.61%;
  animation-duration: 4.6s;
}
.brand-bird:nth-child(2) {
  left: 36.79%;
  top: 1.58%;
  width: 18.4%;
  animation-duration: 5.8s;
  animation-delay: -1.7s;
}
.brand-bird:nth-child(3) {
  left: 65.57%;
  top: 0;
  width: 23.11%;
  animation-duration: 5s;
  animation-delay: -3.1s;
}
@keyframes birdGlide {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2.5deg); }
  50% { transform: translate3d(2px, -5px, 0) rotate(3deg); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  opacity: 0.82;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-expo);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] {
  opacity: 1;
  color: var(--copper);
}
.nav-villa { color: #e7d3ae; }
.site-nav.scrolled .nav-villa { color: inherit; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}
.icon-btn iconify-icon { font-size: 18px; }
.icon-btn {
  transition: color 0.35s var(--ease-out-expo), background 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}
.icon-btn:hover {
  color: #9c7a4a;
  border-color: #9c7a4a;
  background: rgba(173, 138, 94, 0.14);
  transform: translateY(-1px);
}
[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: rgba(26, 38, 32, 0.72);
  color: #ebe7df;
  box-shadow: inset 0 0 0 1px rgba(173, 138, 94, 0.7);
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  background: #9c7a4a;
  color: #1a2620;
  box-shadow: 0 14px 30px rgba(173, 138, 94, 0.32);
}
.nav-cta:hover .nav-cta-shimmer,
.nav-cta:focus-visible .nav-cta-shimmer {
  animation-duration: 0.9s;
}
.nav-cta:active { transform: translateY(0) scale(0.98); }
[data-theme="light"] .nav-cta {
  background: #1a2620;
  color: #ebe7df;
}
.nav-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 62%, #9c7a4a 78%, #ebe7df 88%, transparent 100%);
  animation: navBorderSpin 3.6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.nav-cta-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(235, 231, 223, 0.12) 48%, transparent 68%);
  animation: navShimmer 2.6s ease-in-out infinite;
  pointer-events: none;
}
.nav-cta span { position: relative; z-index: 1; }
@keyframes navBorderSpin { to { transform: rotate(360deg); } }
@keyframes navShimmer {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(130%); }
}

.menu-toggle { display: none; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  padding: clamp(11rem, 18vh, 13rem) 6vw 4.5rem;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@keyframes heroZoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 25, 22, 0.28) 0%, rgba(18, 25, 22, 0.18) 38%, rgba(18, 25, 22, 0.78) 100%),
    radial-gradient(80% 60% at 70% 20%, transparent, rgba(18, 25, 22, 0.35));
}
.hero-blur {
  position: absolute;
  z-index: 1;
  width: 42vw;
  height: 42vw;
  right: -8vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(173, 138, 94, 0.22), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.hero-birds {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 56%;
  width: min(168px, 32vw);
  pointer-events: none;
  opacity: 0;
  transform: translate(-18%, 28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.hero-birds.is-in {
  opacity: 1;
  transform: translate(-18%, 0);
}
.hero-birds img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}
.hero-copy .eyebrow { color: #fff; }
.hero h1 {
  font-size: clamp(3.4rem, 8.4vw, 7.4rem);
  margin: 0 0 1.1rem;
  max-width: 11ch;
}
.hero p.lede {
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(247, 244, 238, 0.86);
  margin: 0 0 2rem;
}
.hero-stats {
  display: flex;
  gap: 2.2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(173, 138, 94, 0.55);
  margin-bottom: 1.8rem;
  max-width: 520px;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}
.hero-stats span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.7);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-hero-webgl {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(173, 138, 94, 0.7);
  background: rgba(26, 38, 32, 0.45);
  color: #ebe7df;
  border-radius: 999px;
  min-height: 54px;
  padding: 0 1.4rem 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s;
}
.btn-hero-webgl:hover,
.btn-hero-webgl:focus-visible {
  transform: translateY(-2px);
  background: #9c7a4a;
  color: #1a2620;
  border-color: #9c7a4a;
  box-shadow: 0 14px 30px rgba(173, 138, 94, 0.32);
}
.btn-hero-webgl:active { transform: translateY(0) scale(0.98); }
.btn-hero-webgl canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.btn-hero-webgl span,
.btn-hero-webgl iconify-icon { position: relative; z-index: 1; }

.search-glass {
  position: relative;
  z-index: 3;
  isolation: isolate;
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr auto;
  align-items: end;
  gap: 0.7rem;
  max-width: 980px;
  padding: 0.7rem;
  border-radius: 18px;
  background: rgba(18, 25, 22, 0.72);
  border: 1px solid rgba(247, 244, 238, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: none;
}
.search-glass input,
.search-glass select {
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  color: #ebe7df;
  font-size: 0.95rem;
  font-weight: 400;
  color-scheme: dark;
}
.search-glass input:focus,
.search-glass select:focus {
  outline: none;
  box-shadow: none;
}
.booking-quote.is-refreshing {
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.villa-pick-title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.villa-pick-hint {
  margin: 0 0 1rem;
  opacity: 0.75;
  font-size: 0.9rem;
}
.villa-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.villa-pick-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(173, 138, 94, 0.35);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  cursor: pointer;
  font: inherit;
  transition: transform 0.35s var(--ease-out-expo), border-color 0.35s ease, background 0.35s ease;
}
.villa-pick-card:hover,
.villa-pick-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(173, 138, 94, 0.85);
  background: rgba(0, 0, 0, 0.4);
  outline: none;
}
.villa-pick-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.villa-pick-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}
.villa-pick-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(231, 211, 174, 0.85);
}
.villa-pick-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 400;
}
.villa-pick-desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0.78;
  flex: 1;
}
.villa-pick-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.35rem;
}
.villa-pick-price span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.villa-pick-price strong {
  font-size: 1.15rem;
  color: #e7d3ae;
  font-weight: 500;
}
.villa-pick-meta {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.65;
}
.villa-pick-cta {
  margin-top: 0.55rem;
  align-self: flex-start;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: #9c7a4a;
  color: #1a2620;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.reserve-anchor {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.search-glass .btn-search {
  align-self: stretch;
  min-height: 100%;
}
.search-glass label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.62);
  padding: 0.35rem 0.7rem;
}
.search-glass option { color: #1a2620; }
.btn-search {
  border: 0;
  border-radius: 12px;
  background: #9c7a4a;
  color: #1a2620;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  line-height: 1.2;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.btn-search:hover,
.btn-search:focus-visible {
  background: #c4a574;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(173, 138, 94, 0.38);
}
.btn-search:active { transform: translateY(0) scale(0.98); }
.booking-note {
  min-height: 1.2em;
  margin: 0.8rem 0 0;
  max-width: 980px;
  color: #e7d3ae;
  font-size: 0.92rem;
}
.booking-quote {
  margin-top: 0.8rem;
  max-width: 980px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(18, 25, 22, 0.55);
  border: 1px solid rgba(173, 138, 94, 0.45);
  color: #ebe7df;
}
.booking-quote strong { font-weight: 500; }
.booking-quote p { margin: 0.25rem 0; }
.booking-quote .btn-search { margin-top: 0.8rem; }
.booking-confirm {
  margin: 1.75rem 0 1rem;
  max-width: 980px;
}
.booking-quote.is-success,
.booking-confirm.is-success {
  border-color: rgba(90, 168, 122, 0.65);
  background: rgba(24, 48, 36, 0.75);
}
.booking-quote .confirm-kicker {
  color: #b7e0c4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 0.55rem;
}
.booking-quote .confirm-sub {
  opacity: 0.78;
  font-size: 0.9rem;
  margin-top: 0.65rem;
}
.upsell-row {
  margin: 0.45rem 0;
}
.upsell-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
}
.upsell-qty {
  margin: 0.35rem 0 0.55rem 1.55rem;
}
.upsell-qty label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.72);
  max-width: 11rem;
}
.upsell-qty input {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: #ebe7df;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(247, 244, 238, 0.28);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  min-height: 2.5rem;
}
.guest-fields {
  margin: 0.85rem 0 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(173, 138, 94, 0.35);
}
.guest-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.guest-fields-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(247, 244, 238, 0.72);
}
.guest-fields-grid .guest-email { grid-column: 1 / -1; }
.guest-fields-grid input {
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
  color: #ebe7df;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(247, 244, 238, 0.28);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  min-height: 2.75rem;
}
.guest-fields-grid input::placeholder {
  color: rgba(247, 244, 238, 0.4);
}
.guest-fields-grid input:focus {
  outline: 2px solid rgba(173, 138, 94, 0.55);
  border-color: rgba(173, 138, 94, 0.8);
}
.guest-fields-hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 640px) {
  .guest-fields-grid { grid-template-columns: 1fr; }
  .guest-fields-grid .guest-email { grid-column: auto; }
}

/* SECTIONS */
section { position: relative; z-index: 1; }
.wrap {
  width: min(1180px, calc(100% - 8vw));
  margin: 0 auto;
}
.section-label { position: relative; z-index: 1; }
.section-pad { padding: 7.5rem 0; }

/* PHILOSOPHY */
.philosophy {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(173, 138, 94, 0.08), transparent 60%),
    var(--bg);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}
.philosophy-frame {
  position: relative;
  z-index: 2;
  min-height: 560px;
  border-radius: 28px;
  overflow: hidden;
}
.philosophy-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 560px;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}
.philosophy-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(155deg, rgba(173, 138, 94, 0.95), rgba(173, 138, 94, 0.05) 42%, rgba(138, 154, 123, 0.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.philosophy h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin: 0.8rem 0 1.2rem;
}
.philosophy h2 em {
  font-style: italic;
  color: var(--copper);
}
.feature-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.8rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.feature-list iconify-icon {
  color: var(--copper);
  font-size: 26px;
  margin-top: 0.1rem;
  width: 1em;
  height: 1em;
}
.feature-list strong {
  display: block;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.feature-list span { color: var(--muted); font-size: 0.92rem; }

/* SERVICES */
.services { background: var(--bg-deep); }
.services h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0.6rem 0 2.4rem;
  max-width: 12ch;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-card {
  --mouse-x: 50%;
  --mouse-y: 40%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 240px;
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mouse-x) var(--mouse-y), rgba(173, 138, 94, 0.28), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out-expo);
  pointer-events: none;
}
.svc-card.is-lit::after { opacity: 1; }
.svc-card .card-icon,
.feature-list .card-icon,
.fact-icon.card-icon {
  display: inline-flex;
  color: var(--copper);
}
.svc-card .card-icon {
  width: 36px;
  height: 36px;
}
.feature-list .card-icon {
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.fact-icon.card-icon {
  width: 34px;
  height: 34px;
  display: flex;
  margin: 0 auto 0.85rem;
}
.card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.svc-card iconify-icon {
  font-size: 36px;
  color: var(--copper);
  width: 1em;
  height: 1em;
}
.fact-icon {
  font-size: 34px;
  color: var(--copper);
  width: 1em;
  height: 1em;
  display: block;
  margin: 0 auto 0.35rem;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 1.4rem 0 0.45rem;
}
.svc-card p { margin: 0; color: var(--muted); }

/* TICKER */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 1.15rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  align-items: center;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7d3ae, #9c7a4a 45%, #8a6a3e);
  box-shadow: 0 0 0 4px rgba(173, 138, 94, 0.15);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* LAYOUTS */
.layouts .wrap { text-align: center; }
.layouts .eyebrow { justify-content: center; }
.layouts h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0.55rem auto 0.6rem;
}
.layout-intro {
  max-width: 38rem;
  color: var(--muted);
  margin: 0 auto 2.2rem;
}
.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.layout-card {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
}
.layout-pad { padding: 1.35rem; }
.layout-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 14px;
}
.layout-card img.face {
  object-position: center 68%;
}
.layout-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0.9rem 0 0.25rem;
}
.kicker {
  color: var(--copper);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 500;
}
.layout-card p { color: var(--muted); margin: 0.45rem 0 0; font-size: 0.95rem; }
.layout-card .nav-cta {
  margin: 1.15rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.villa-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
}
.villa-open:hover h3 { color: var(--copper); }
.layout-card.featured {
  background:
    linear-gradient(180deg, rgba(173, 138, 94, 0.14), transparent 42%),
    var(--card-solid);
  border-color: rgba(173, 138, 94, 0.55);
}
.badge {
  position: static;
  z-index: 2;
  margin: 0.2rem auto 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #9c7a4a;
  color: #1a2620;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}
.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.meta-row iconify-icon { color: var(--copper); }

/* GALLERY */
.gallery { background: var(--bg-deep); }
.gallery h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0.5rem 0 1.8rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 0.8rem;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
  z-index: 2;
}
.gallery-grid figure a { display: block; height: 100%; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.gallery-grid img.face { object-position: center 62%; }
  transition: transform 1.2s var(--ease-out-expo);
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figure:first-child { grid-row: 1 / span 2; }

/* CTA */
.cta-band {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 6rem 6vw;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 25, 22, 0.55), rgba(18, 25, 22, 0.82));
}
.cta-card {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  text-align: center;
  padding: 2.4rem 2rem;
  border-radius: 28px;
  background: rgba(18, 25, 22, 0.46);
  border: 1px solid rgba(247, 244, 238, 0.16);
  backdrop-filter: blur(18px);
  color: #ebe7df;
}
.cta-card h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0.4rem 0 0.6rem;
}
.whatsapp-cta {
  margin-top: 1.5rem;
}
.wa-number {
  margin: 0.9rem 0 0;
  letter-spacing: 0.08em;
}
.wa-number a { color: #e7d3ae; }
.glass-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
  text-align: left;
}
.glass-form input,
.glass-form textarea,
.glass-form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(247, 244, 238, 0.18);
  background: rgba(247, 244, 238, 0.08);
  padding: 0.9rem 1rem;
  outline: none;
  color: #ebe7df;
}
.glass-form textarea { min-height: 110px; resize: vertical; }
.glass-form input:focus,
.glass-form textarea:focus {
  border-color: #9c7a4a;
}
.btn-glow {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  background: #1a2620;
  color: #ebe7df;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out-expo), background 0.4s var(--ease-out-expo), color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.btn-glow:hover,
.btn-glow:focus-visible {
  transform: translateY(-2px);
  background: #9c7a4a;
  color: #1a2620;
  box-shadow: 0 14px 30px rgba(173, 138, 94, 0.32);
}
.btn-glow:active { transform: translateY(0) scale(0.98); }
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0 55%, #9c7a4a 75%, #f3e6cf 88%, transparent 100%);
  animation: glowSpin 3.2s linear infinite;
  z-index: -1;
}
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes glowSpin { to { --angle: 360deg; } }
.form-note { min-height: 1.2em; font-size: 0.85rem; color: #e7d3ae; }

/* FOOTER */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 2rem;
}
.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 0.8rem;
}
.site-footer p,
.site-footer li,
.site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a:hover { color: var(--text); }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: color 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo), background 0.35s var(--ease-out-expo), transform 0.35s var(--ease-out-expo);
}
.socials a:hover {
  color: #1a2620;
  background: #9c7a4a;
  border-color: #9c7a4a;
  transform: translateY(-2px);
}
.footer-form { display: grid; gap: 0.55rem; }
.footer-form input,
.footer-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.75rem 0.85rem;
  outline: none;
}
.legal {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(15, 15, 14, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}
.modal.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  background: var(--card-solid);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.45s var(--ease-out-expo);
}
.modal.open .modal-panel {
  transform: scale(1);
  opacity: 1;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0.2rem 0 0.3rem;
  font-weight: 500;
}
.modal .glass-form input,
.modal .glass-form textarea {
  background: var(--bg-deep);
  color: var(--text);
  border-color: var(--line);
}

/* REVEALS */
.reveal-clip-left {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.15s var(--ease-out-expo);
}
.reveal-clip-left.visible { clip-path: inset(0 0 0 0); }
.reveal-slide-right,
.reveal-pop,
.reveal-zoom,
.stagger-scale {
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal-slide-right { opacity: 0; transform: translateX(42px); }
.reveal-slide-right.visible { opacity: 1; transform: none; }
.reveal-pop { opacity: 0; transform: translateY(18px) scale(0.94); }
.reveal-pop.visible { opacity: 1; transform: none; }
.reveal-zoom { opacity: 0; transform: scale(1.08); }
.reveal-zoom.visible { opacity: 1; transform: none; }
.stagger-scale { opacity: 0; transform: scale(0.92); }
.stagger-scale.visible { opacity: 1; transform: none; }

.mobile-panel {
  display: none;
}

@media (max-width: 1240px) {
  .nav-links a[data-i18n="navGallery"],
  .nav-links a[data-i18n="navVillas"] { display: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .brand-mark > img { height: 84px; }
  .philosophy-grid,
  .svc-grid,
  .layout-grid,
  .footer-grid,
  .search-glass {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 180px 180px;
  }
  .gallery-grid figure:first-child { grid-row: auto; grid-column: 1 / -1; height: 260px; }
  .hero h1 { max-width: none; }
  .mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--bg);
    padding: 7rem 8vw 2rem;
    flex-direction: column;
    gap: 1.2rem;
    font-family: var(--font-display);
    font-size: 2rem;
  }
  .mobile-panel.open { display: flex; }
  .mobile-panel .nav-villa { font-size: 1.45rem; color: var(--copper); }
  .villa-grid,
  .villa-switch { grid-template-columns: 1fr; }
  .villa-grid button:first-child { grid-column: auto; }
  .villa-grid button:first-child img,
  .villa-grid img { height: 220px; }
  .legal { flex-direction: column; }
}

.villa-page { padding-top: 6.5rem; }
.villa-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 6vw 3.5rem;
}
.villa-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.villa-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 25, 22, 0.28), rgba(18, 25, 22, 0.82));
}
.villa-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #ebe7df;
}
.villa-hero-copy .eyebrow { color: #fff; }
.villa-hero-copy h1 {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.4rem 0 0.8rem;
}
.villa-hero-copy p { max-width: 38rem; color: rgba(247, 244, 238, 0.86); }
.villa-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
  align-items: center;
}
.villa-hero-actions .text-link {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #fff;
}
.villa-gallery h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0.4rem 0 1.4rem;
}
.villa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.villa-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
}
.villa-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}
.villa-grid button:hover img { transform: scale(1.04); }
.villa-grid button:first-child { grid-column: span 2; }
.villa-grid button:first-child img { height: 420px; }
.villa-switch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.villa-switch a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-solid);
}
.villa-switch img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.villa-switch span {
  display: block;
  padding: 0.75rem 0.9rem 0.95rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 14, 12, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .ticker-track,
  .nav-cta::before,
  .nav-cta-shimmer,
  .btn-glow::before,
  .brand-bird {
    animation: none;
  }
  .hero-birds {
    opacity: 1;
    transform: translate(-18%, 0);
    transition: none;
  }
  .reveal-clip-left,
  .reveal-slide-right,
  .reveal-pop,
  .reveal-zoom,
  .stagger-scale {
    clip-path: none;
    opacity: 1;
    transform: none;
  }
}
