/* ═══ MILA — Concept C: Mediterranean warm (after lazambrahotel.com) ═══
   Blush cream ground, peach bands, caramel accents, dark-olive text.
   Light editorial serif headings, quiet grotesque UI, uppercase buttons. */
:root {
  --cream: #f8ede6;
  --peach: #edc8a3;
  --peach-soft: #f3ddc4;
  --caramel: #b58150;
  --caramel-deep: #9a6b3e;
  --olive: #373a36;
  --olive-soft: #6f6f68;
  --line: #decbb8;
  --white: #ffffff;
  --wa: #25d366;
  --font-display: "Spectral", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  --pad: clamp(1.2rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--olive); background: var(--cream); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--caramel); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.08; color: var(--olive); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .5em; }
em { font-style: italic; }
.hidden { display: none; }

.concept-note {
  position: fixed; bottom: 1.1rem; left: 50%; transform: translateX(-50%);
  z-index: 60; background: rgba(55, 58, 54, .92); color: var(--cream);
  padding: .5rem 1.2rem; border-radius: 999px; font-size: .8rem;
}
.concept-note a { color: var(--peach); }

/* ── nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem var(--pad); gap: 1rem;
  transition: background .3s, box-shadow .3s;
  color: var(--white);
}
.nav-solid { background: var(--cream); color: var(--olive); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; color: inherit; }
.brand-mila {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.4rem; letter-spacing: .34em; text-indent: .34em;
}
.brand-sub { font-size: .48rem; letter-spacing: .24em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: inherit; text-decoration: none; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; white-space: nowrap;
}
.nav-links a:hover { color: var(--caramel); }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; row-gap: .45rem; }
  .brand { flex: 1; }
  .brand-mila { font-size: 1.1rem; }
  .brand-sub { font-size: .4rem; letter-spacing: .17em; }
  .nav-book { padding: .5rem 1rem; font-size: .7rem; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 1.05rem; }
  .nav-links a { font-size: .68rem; }
}
/* legibility for the transparent nav over video */
.nav:not(.nav-solid) .nav-links a, .nav:not(.nav-solid) .brand { text-shadow: 0 1px 10px rgba(40, 34, 28, .55); }
.nav-book {
  background: var(--caramel); color: var(--white); text-decoration: none;
  padding: .6rem 1.4rem; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; border-radius: 2px; white-space: nowrap;
}
.nav-book:hover { background: var(--caramel-deep); }

/* the wave under the I */
.i-wave { position: relative; display: inline-block; }
.i-wave::after {
  content: ""; position: absolute;
  left: 50%; transform: translateX(-56%);
  bottom: -.02em; width: 1.5em; height: .28em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M2 6 Q16 -2 30 6 Q40 11.5 58 5.2 Q42 14 28 7.5 Q14 1.5 2 6 Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M2 6 Q16 -2 30 6 Q40 11.5 58 5.2 Q42 14 28 7.5 Q14 1.5 2 6 Z' fill='black'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── buttons ── */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  padding: .95rem 2rem; border-radius: 2px; border: 1px solid transparent;
  transition: background .2s, color .2s;
}
.btn-fill { background: var(--caramel); color: var(--white); }
.btn-fill:hover { background: var(--caramel-deep); }

/* ── hero ── */
.hero { position: relative; min-height: 96vh; min-height: 96svh; display: flex; align-items: center; }
/* Portrait drone footage in a landscape hero: bias the crop toward the
   lower band of the frame, where the villas and pool are. */
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 74%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(to right, rgba(40, 34, 28, .55) 0%, rgba(40, 34, 28, .18) 60%, transparent); }
.hero-copy { position: relative; z-index: 1; padding: 0 var(--pad); color: var(--white); max-width: 780px; }
.overline, .sec-overline {
  font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.overline { color: var(--peach); }
.sec-overline { color: var(--caramel); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); color: var(--white); margin-bottom: 1rem; }
.hero h1 em { color: var(--peach); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.15rem); opacity: .95; margin-bottom: 2rem; max-width: 32em; }

/* ── intro statement ── */
.statement { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); max-width: 880px; margin: 0 auto; text-align: center; }
.statement p:first-child {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.45;
}
.statement em { color: var(--caramel); }
.statement-body { color: var(--olive-soft); max-width: 46em; margin: 1.5rem auto 0; }
.statement-stats { display: flex; justify-content: center; gap: clamp(2rem, 6vw, 4.5rem); margin-top: 2.6rem; }
.statement-stats strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: 2.1rem; }
.statement-stats span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--olive-soft); }

/* ── sections ── */
.sec { padding: clamp(3rem, 7vw, 5.5rem) var(--pad); max-width: 1180px; margin: 0 auto; }
.sec-lede { color: var(--olive-soft); max-width: 46em; margin-bottom: 2.2rem; }

/* ── bands (peach full-width) ── */
.band { background: var(--peach-soft); }
.band-inner { padding: clamp(3rem, 7vw, 5.5rem) var(--pad); max-width: 1180px; margin: 0 auto; }

/* ── villas (markup generated by js/main.js) — alternating split rows ── */
.villas { display: flex; flex-direction: column; gap: clamp(1.6rem, 4vw, 3rem); }
.villas-property { font-size: 1.5rem; }
.villa-card {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center;
  background: var(--white); border-radius: 3px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(55, 58, 54, .08);
}
.villa-card:nth-child(even) { direction: rtl; }
.villa-card:nth-child(even) .villa-body { direction: ltr; }
.villa-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; direction: ltr; }
.villa-body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; gap: .55rem; }
.villa-body h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.villa-meta { font-size: .9rem; color: var(--olive-soft); }
.villa-note { font-size: .82rem; color: var(--olive-soft); opacity: .9; }
.villa-rating { font-size: .86rem; color: var(--olive-soft); }
.villa-book {
  margin-top: 1rem; align-self: flex-start;
  background: var(--caramel); color: var(--white); border: none; cursor: pointer;
  padding: .85rem 1.8rem; border-radius: 2px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
}
.villa-book:hover { background: var(--caramel-deep); }
.villa-soon {
  margin-top: 1rem; align-self: flex-start; font-style: italic;
  color: var(--olive-soft); border: 1px solid var(--line);
  padding: .7rem 1.4rem; border-radius: 2px; font-size: .86rem;
}
@media (max-width: 760px) {
  .villa-card, .villa-card:nth-child(even) { display: block; direction: ltr; }
  .villa-card img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ── gallery ── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.g-item {
  aspect-ratio: 4 / 3; width: 100%; height: 100%;
  object-fit: cover; display: block; border-radius: 3px;
}
.g-wide { grid-column: span 2; aspect-ratio: auto; min-height: 0; }
.g-video { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } .g-wide { aspect-ratio: 4 / 3; } .g-video { aspect-ratio: 16 / 9; } }

/* ── film walk-through: sticky stage, scroll-driven crossfade ── */
.vwalk { position: relative; height: 650vh; background: var(--olive); }
.vwalk-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.vwalk-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .8s ease; cursor: zoom-in;
}
.vwalk-video.is-active { opacity: 1; }
.vwalk-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(40, 34, 28, .55) 0%, transparent 38%);
}
.vwalk-caps { position: absolute; left: var(--pad); bottom: 2.6rem; z-index: 2; color: var(--white); pointer-events: none; }
.vwalk-caps .overline { color: var(--peach); margin-bottom: .6rem; }
.vwalk-capstack { position: relative; min-height: 3.2em; min-width: min(70vw, 26em); }
.vwalk-cap {
  position: absolute; left: 0; bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 300; color: var(--white);
  opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease;
  white-space: nowrap;
}
.vwalk-cap em { color: var(--peach); }
.vwalk-cap.is-active { opacity: 1; transform: none; }
.vwalk-dots {
  position: absolute; right: clamp(1rem, 3vw, 2.2rem); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .65rem; z-index: 2;
}
.vwalk-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: rgba(255, 255, 255, .35); transition: background .3s, transform .3s;
}
.vwalk-dot:hover { background: rgba(255, 255, 255, .7); }
.vwalk-dot.is-active { background: var(--peach); transform: scale(1.35); }
@media (max-width: 640px) { .vwalk { height: 540vh; } .vwalk-cap { white-space: normal; } }

/* ── house ── */
.house-photo { width: 100%; border-radius: 3px; box-shadow: 0 8px 30px rgba(55,58,54,.08); }

.house-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.6rem; align-items: start; }
@media (max-width: 800px) { .house-grid { grid-template-columns: 1fr; } }
.amenity-list { list-style: none; columns: 2; gap: 2.5rem; }
@media (max-width: 560px) { .amenity-list { columns: 1; } }
.amenity-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; break-inside: avoid; }
.house-video { width: 100%; aspect-ratio: 9 / 16; max-height: 560px; object-fit: cover; border-radius: 3px; background: var(--peach-soft); }

/* ── beach interlude ── */
.interlude { position: relative; height: 60vh; overflow: hidden; }
.interlude video { width: 100%; height: 100%; object-fit: cover; }
.interlude-caption {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  color: var(--white); font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.6rem); text-shadow: 0 2px 18px rgba(40, 34, 28, .5);
  white-space: nowrap;
}
.interlude-caption em { color: var(--peach); }

/* ── guest words ── */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.4rem; }
.quote { background: var(--white); border-radius: 3px; padding: 1.2rem 1.8rem 1.6rem; box-shadow: 0 6px 24px rgba(55,58,54,.07); }
.quote::before { content: "\201C"; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--caramel); display: block; }
.quote p { font-family: var(--font-display); font-weight: 300; font-size: 1.15rem; line-height: 1.5; }
.quote footer { margin-top: 1.1rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-soft); }

/* ── map ── */
.map-embed { border-radius: 3px; overflow: hidden; box-shadow: 0 8px 30px rgba(55,58,54,.08); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ── rates ── */
.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.rate { background: var(--white); border-radius: 3px; padding: 2rem 1.6rem; text-align: center; box-shadow: 0 6px 24px rgba(55,58,54,.07); }
.rate h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.rate-price { font-family: var(--font-display); font-weight: 300; font-size: 2.4rem; color: var(--caramel); }
.rate-price span { font-family: var(--font-body); font-size: .82rem; color: var(--olive-soft); }
.rate-when { font-size: .85rem; color: var(--olive-soft); margin-top: .3rem; }
.rates-note { margin-top: 1.4rem; font-size: .9rem; color: var(--olive-soft); max-width: 46em; }

/* ── booking ── */
.booking { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.booking-cal, .booking-form { background: var(--white); border-radius: 3px; padding: 1.5rem; box-shadow: 0 8px 30px rgba(55,58,54,.08); }

.villa-tabs { display: flex; gap: 1.4rem; margin-bottom: 1.1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.villa-tab {
  border: none; background: none; padding: .4rem 0 .7rem; cursor: pointer;
  font-family: var(--font-body); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--olive-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.villa-tab:hover { color: var(--olive); }
.villa-tab.is-active { color: var(--caramel); border-bottom-color: var(--caramel); }

.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 600; }
.cal-nav button {
  border: 1px solid var(--line); background: var(--white); border-radius: 2px;
  width: 34px; height: 34px; font-size: 1.2rem; cursor: pointer; color: var(--olive);
}
.cal-nav button:hover { background: var(--cream); }
.calendars { display: flex; gap: 1.6rem; }
.cal-month { flex: 1; }
.cal-month-name { text-align: center; font-size: .9rem; font-weight: 600; margin-bottom: .5rem; color: var(--olive-soft); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: .7rem; color: var(--olive-soft); padding: .2rem 0; font-weight: 600; }
.cal-day {
  aspect-ratio: 1; border: none; background: var(--cream); border-radius: 2px;
  font-size: .85rem; cursor: pointer; color: var(--olive); font-family: var(--font-body);
}
.cal-day:hover:not(:disabled) { background: var(--caramel); color: var(--white); }
.cal-day.is-past { background: transparent; color: #c9bcab; cursor: default; }
.cal-day.is-busy { background: repeating-linear-gradient(45deg, #f0d5d0, #f0d5d0 4px, #e8c5be 4px, #e8c5be 8px); color: #b08a80; cursor: default; text-decoration: line-through; }
.cal-day.is-selected { background: var(--caramel-deep); color: var(--white); font-weight: 600; }
.cal-legend { display: flex; gap: 1.1rem; margin-top: .9rem; font-size: .78rem; color: var(--olive-soft); align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: .35rem; vertical-align: -1px; }
.dot-free { background: var(--cream); border: 1px solid var(--line); }
.dot-busy { background: #eccbc4; }
.dot-sel { background: var(--caramel-deep); }

.date-summary { background: var(--cream); border-radius: 2px; padding: .9rem 1rem; font-size: .92rem; font-weight: 500; margin-bottom: 1.1rem; min-height: 3.2em; display: flex; align-items: center; }
.btn-wa { display: block; background: var(--wa); color: #fff; text-decoration: none; text-align: center; padding: .9rem; font-weight: 600; border-radius: 2px; }
.btn-wa:hover { filter: brightness(.94); }
.or-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--olive-soft); font-size: .8rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.booking-form form { display: flex; flex-direction: column; gap: .9rem; }
.booking-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; font-weight: 600; }
.booking-form input, .booking-form select, .booking-form textarea {
  border: 1px solid var(--line); border-radius: 2px; padding: .7rem .8rem;
  font-family: var(--font-body); font-size: .95rem; background: var(--cream);
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: 2px solid var(--caramel); border-color: transparent; }
.btn-submit { width: 100%; border: none; }

/* ── shop ── */
.page-shop .shop-head { padding-top: clamp(6rem, 12vw, 9rem); min-height: 72vh; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.shop-card {
  background: var(--white); border-radius: 3px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(55, 58, 54, .08); display: flex; flex-direction: column;
}
.shop-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; }
.shop-body { padding: 1.2rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.shop-body h3 { font-size: 1.45rem; }
.shop-desc { font-size: .88rem; color: var(--olive-soft); flex: 1; }
.shop-price { font-family: var(--font-display); font-weight: 300; font-size: 1.35rem; color: var(--caramel); }
.shop-order { align-self: flex-start; margin-top: .4rem; padding: .8rem 1.5rem; }
.shop-note { margin-top: 2.2rem; font-size: .9rem; color: var(--olive-soft); max-width: 46em; }

/* ── FAQ ── */
#faq details { border-bottom: 1px solid var(--line); padding: 1.05rem .2rem; }
#faq details:first-of-type { border-top: 1px solid var(--line); }
#faq summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
#faq details p { margin-top: .7rem; color: var(--olive-soft); font-size: .93rem; max-width: 50em; }

/* ── footer ── */
.footer { background: var(--olive); color: #c8c4ba; text-align: center; padding: 3rem 1rem 2.5rem; font-size: .9rem; }
.footer a { color: var(--peach); }
.footer-logo { display: block; width: min(280px, 70vw); margin: 0 auto 1rem; mix-blend-mode: screen; }
.footer-fine { margin-top: .9rem; font-size: .75rem; opacity: .6; }
