/* =========================================================================
   LINDA VISTA PLAYA — SAN PEDRO
   Brand: burgundy · ivory sand · warm white
   Editorial · cinematic · trilingual (CS · EN · AR)
   ========================================================================= */

/* -------- 1. Reset & base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* -------- 2. Design tokens ------------------------------------------------ */
:root {
  --burgundy:   #7B1C2E;
  --wine:       #5A0F1E;
  --ivory:      #E8D5B0;
  --warm-white: #F9F6F2;
  --near-black: #1A1A1A;
  --soft-grey:  #8C8480;
  --line:       rgba(26, 26, 26, 0.12);

  --font-display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-body:    "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic:  "Noto Naskh Arabic", "Tajawal", "Be Vietnam Pro", serif;

  --container:   min(1400px, 92vw);
  --section-pad: clamp(4rem, 9vw, 9rem);
  --gutter:      clamp(1rem, 3vw, 2.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] body { font-family: var(--font-arabic); }
html[dir="rtl"] .display, html[dir="rtl"] .eyebrow { font-family: var(--font-arabic); font-style: normal; }

/* -------- 3. Typography --------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1vw + 0.4rem, 17px);
  line-height: 1.6;
  color: var(--near-black);
  background: var(--warm-white);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--near-black);
}
.display-xl { font-size: clamp(3rem, 9vw, 9rem); }
.display-l  { font-size: clamp(2.4rem, 6vw, 5.5rem); }
.display-m  { font-size: clamp(1.8rem, 4vw, 3.2rem); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.lead { font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.3rem); line-height: 1.55; max-width: 56ch; }

p + p { margin-top: 1rem; }

/* -------- 4. Layout primitives ------------------------------------------- */
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--gutter); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--gutter); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
}

/* -------- 5. Navigation -------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0) 100%);
  transition: background 0.4s var(--ease);
}
.nav.is-scrolled {
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled .nav-link,
.nav.is-scrolled .nav-brand,
.nav.is-scrolled .lang-switch button { color: var(--near-black); }

.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--warm-white);
  white-space: nowrap;
}
.nav-brand span { color: var(--ivory); }

.nav-links { display: none; gap: clamp(1.2rem, 2.5vw, 2.5rem); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-white);
  position: relative; padding-block: 0.4rem;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; inset: auto 0 0 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.lang-switch { display: flex; gap: 0.4rem; align-items: center; font-size: 0.72rem; }
.lang-switch button {
  font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-white); opacity: 0.55;
  padding: 0.4rem 0.5rem;
  transition: opacity 0.3s var(--ease);
}
.lang-switch button.is-active { opacity: 1; border-bottom: 1px solid currentColor; }
.lang-switch button:hover { opacity: 1; }
.lang-sep { opacity: 0.4; }

/* Mobile menu trigger */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 28px; padding: 4px 0;
  color: var(--warm-white);
}
.nav-toggle span { display: block; height: 1px; width: 100%; background: currentColor; transition: 0.3s var(--ease); }
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav.is-scrolled .nav-toggle { color: var(--near-black); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--warm-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(2rem, 7vw, 3rem); color: var(--near-black);
}

/* -------- 6. Hero -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(5rem, 9vw, 7rem);
  overflow: hidden;
  color: var(--warm-white);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  background: var(--near-black);
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(26,26,26,0.4) 0%,
    rgba(26,26,26,0.05) 30%,
    rgba(26,26,26,0.05) 55%,
    rgba(26,26,26,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1100px; width: 100%;
  margin-inline: auto;
}
.hero-eyebrow { color: var(--ivory); margin-bottom: 1.2rem; }
.hero-title { color: var(--warm-white); max-width: 16ch; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  margin-top: 2rem;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px; background: var(--burgundy); border-radius: 50%;
}
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--warm-white); opacity: 0.7;
  display: none; flex-direction: column; align-items: center; gap: 0.6rem;
}
@media (min-width: 700px) { .hero-scroll { display: flex; } }
.hero-scroll::after {
  content: ""; width: 1px; height: 40px; background: var(--warm-white);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -------- 7. Section: Location ------------------------------------------ */
.location {
  background: var(--warm-white);
  position: relative;
}
.location .grid-2 { align-items: start; }
.location-text { padding-block: 2rem; }
.location-image {
  aspect-ratio: 4/5;
  background: var(--ivory) center/cover no-repeat;
  overflow: hidden;
}
.location-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.location-image:hover img { transform: scale(1.04); }

.distances {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.distance { display: flex; flex-direction: column; gap: 0.4rem; }
.distance-value {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem); color: var(--burgundy); line-height: 1;
}
.distance-label {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft-grey);
}

/* -------- 8. Section: The villas ----------------------------------------- */
.villas {
  background: var(--near-black);
  color: var(--warm-white);
  padding-block: var(--section-pad);
}
.villas .eyebrow { color: var(--ivory); }
.villas .display { color: var(--warm-white); }
.villas-intro { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(3rem, 6vw, 6rem); }
.villas-intro .lead { margin-inline: auto; color: rgba(249, 246, 242, 0.78); }

.villa-cards { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 900px) {
  .villa-cards { grid-template-columns: repeat(3, 1fr); }
}
.villa-card {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 213, 176, 0.18);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
  text-decoration: none;
}
.villa-card:hover { transform: translateY(-6px); border-color: var(--ivory); }
.villa-card-image {
  aspect-ratio: 4/3;
  background: var(--wine) center/cover no-repeat;
  position: relative; overflow: hidden;
}
.villa-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.villa-card:hover .villa-card-image img { transform: scale(1.05); }
.villa-card-image.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--wine) 0%, var(--near-black) 100%);
  color: var(--ivory);
  font-family: var(--font-display); font-style: italic; font-size: 2rem;
}
.villa-card-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.8rem; flex: 1;
}
.villa-card-letter {
  font-family: var(--font-display); font-style: italic;
  font-size: 3rem; line-height: 1;
  color: var(--ivory);
}
.villa-card-title {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.6rem; line-height: 1.1;
}
.villa-card-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(232, 213, 176, 0.7);
  padding-top: 1rem;
  margin-top: auto;
}
.villa-card-price {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.5rem; color: var(--ivory);
  padding-top: 1rem; margin-top: 1rem;
  border-top: 1px solid rgba(232, 213, 176, 0.18);
}
.villa-card-cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory);
}
.villa-card-cta::after {
  content: "→"; transition: transform 0.4s var(--ease);
}
html[dir="rtl"] .villa-card-cta::after { content: "←"; }
.villa-card:hover .villa-card-cta::after { transform: translateX(6px); }
html[dir="rtl"] .villa-card:hover .villa-card-cta::after { transform: translateX(-6px); }

/* -------- 9. Section: Architecture & spec -------------------------------- */
.architecture { background: var(--warm-white); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.spec-list dt { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft-grey); margin-bottom: 0.2rem; }
.spec-list dd { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--near-black); }

.brands {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; letter-spacing: 0.08em;
  color: var(--soft-grey);
}
.brands strong { color: var(--near-black); font-weight: 500; }

/* -------- 10. Agent (Tereza) section ------------------------------------ */
.agent {
  background: var(--ivory);
  color: var(--near-black);
}
.agent-portrait {
  aspect-ratio: 4/5;
  background: var(--wine) center/cover no-repeat;
  position: relative; overflow: hidden;
}
.agent-portrait img { width: 100%; height: 100%; object-fit: cover; }
.agent-portrait.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--wine) 100%);
  color: var(--ivory);
  font-family: var(--font-display); font-style: italic;
  text-align: center; padding: 2rem;
}
.agent-placeholder-text {
  max-width: 30ch;
  font-size: 1.2rem; line-height: 1.4;
}
.agent-credentials {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-top: 2rem;
}
.credential {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--burgundy);
  padding: 0.5rem 1rem;
  border: 1px solid var(--burgundy);
}
.agent-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.3;
  color: var(--wine);
  margin: 2rem 0;
  padding-inline-start: 1.5rem;
  border-inline-start: 2px solid var(--burgundy);
}

/* -------- 11. Contact / form -------------------------------------------- */
.contact {
  background: var(--wine);
  color: var(--warm-white);
}
.contact .eyebrow { color: var(--ivory); }
.contact .display { color: var(--warm-white); }
.contact-channels {
  display: flex; flex-direction: column; gap: 1.2rem;
  margin-top: 2rem;
}
.contact-channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(232, 213, 176, 0.08);
  border: 1px solid rgba(232, 213, 176, 0.18);
  color: var(--warm-white);
  font-size: 1rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-channel:hover { background: rgba(232, 213, 176, 0.16); border-color: var(--ivory); }
.contact-channel-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--burgundy);
  border-radius: 50%;
  font-size: 1rem;
}
.contact-channel-label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ivory); display: block; margin-bottom: 0.2rem;
}

.form {
  background: var(--warm-white);
  color: var(--near-black);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.form .eyebrow { color: var(--burgundy); }
.form .display-m { color: var(--near-black); margin-top: 0.6rem; }
.form-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
  margin-top: 2rem;
}
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft-grey);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit; color: var(--near-black);
  background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  padding: 0.6rem 0;
  transition: border-color 0.3s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--burgundy); }
.form-field textarea { resize: vertical; min-height: 100px; }

.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--burgundy); color: var(--warm-white);
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--burgundy);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { background: var(--wine); }
.btn-ghost { background: transparent; color: var(--burgundy); }
.btn-ghost:hover { background: var(--burgundy); color: var(--warm-white); }
.btn-light { background: var(--ivory); color: var(--wine); border-color: var(--ivory); }
.btn-light:hover { background: var(--warm-white); }

.form-success {
  display: none;
  padding: 1.5rem; margin-top: 1.5rem;
  background: var(--ivory); color: var(--wine);
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem;
}
.form-success.is-shown { display: block; }

/* -------- 12. Footer ---------------------------------------------------- */
.footer {
  background: var(--near-black); color: var(--warm-white);
  padding: 3rem clamp(1rem, 4vw, 3rem);
  font-size: 0.82rem;
}
.footer-inner {
  width: var(--container); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center;
  color: rgba(249, 246, 242, 0.6);
}
.footer-brand {
  font-family: var(--font-display); font-style: italic;
  color: var(--ivory); font-size: 1rem;
}

/* -------- 13. Detail page (villa A / B / C) ----------------------------- */
.detail-hero {
  position: relative;
  min-height: 78vh; min-height: 78svh;
  display: flex; align-items: flex-end;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--warm-white);
  background: var(--near-black);
}
.detail-hero-media { position: absolute; inset: 0; z-index: 0; }
.detail-hero-media img,
.detail-hero-media video { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.15) 40%, rgba(26,26,26,0.85) 100%);
}
.detail-hero-content {
  position: relative; z-index: 1;
  width: var(--container); margin-inline: auto;
}
.detail-hero .display-xl { color: var(--warm-white); }
.detail-hero .eyebrow { color: var(--ivory); }

.breadcrumb {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ivory); opacity: 0.8;
  margin-bottom: 1.5rem;
}
.breadcrumb a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.price-tag {
  display: inline-flex; flex-direction: column; gap: 0.3rem;
  margin-top: 2rem;
  padding: 1.2rem 1.6rem;
  background: rgba(232, 213, 176, 0.12);
  border: 1px solid var(--ivory);
}
.price-tag-label { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ivory); }
.price-tag-value { font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--warm-white); line-height: 1; }
.price-tag-note { font-size: 0.78rem; color: rgba(249, 246, 242, 0.7); margin-top: 0.4rem; }

/* Gallery */
.gallery {
  background: var(--warm-white);
}
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 0.6rem;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
}
.gallery-item {
  aspect-ratio: 4/3; overflow: hidden; background: var(--ivory);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall { aspect-ratio: 3/4; }
.gallery-item.wide { aspect-ratio: 16/9; grid-column: span 2; }
@media (max-width: 699px) { .gallery-item.wide { grid-column: span 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: var(--warm-white); font-size: 1.5rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(249,246,242,0.4);
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--warm-white); font-size: 2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,26,26,0.5);
}
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }

/* Floor plans */
.floorplans { background: var(--warm-white); }
.floorplan { background: var(--warm-white); border: 1px solid var(--line); padding: 1.5rem; }
.floorplan h3 {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.6rem; margin-bottom: 1rem;
}
.floorplan img { width: 100%; height: auto; }

/* Description block */
.description {
  background: var(--warm-white);
  font-size: clamp(1rem, 1vw + 0.4rem, 1.1rem);
}
.description p { max-width: 65ch; color: rgba(26,26,26,0.78); }

/* Soon block (Villa C) */
.soon {
  background: var(--ivory); color: var(--wine);
  text-align: center;
  padding-block: clamp(5rem, 12vw, 12rem);
}
.soon .display-xl { color: var(--wine); }
.soon .lead { margin-inline: auto; margin-top: 1.5rem; max-width: 50ch; color: var(--wine); opacity: 0.85; }
.soon .form { margin-top: 3rem; max-width: 600px; margin-inline: auto; }

/* -------- 14. Reveal on scroll ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* -------- 15. RTL adjustments ------------------------------------------- */
html[dir="rtl"] .hero-scroll { letter-spacing: 0; }
html[dir="rtl"] .breadcrumb { letter-spacing: 0; }
html[dir="rtl"] .eyebrow { letter-spacing: 0.05em; }
html[dir="rtl"] .nav-link,
html[dir="rtl"] .credential,
html[dir="rtl"] .distance-label,
html[dir="rtl"] .villa-card-meta,
html[dir="rtl"] .price-tag-label,
html[dir="rtl"] .form-field label,
html[dir="rtl"] .contact-channel-label,
html[dir="rtl"] .hero-meta { letter-spacing: 0; }
html[dir="rtl"] .btn { letter-spacing: 0.05em; }

/* -------- 16. Reduced motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -------- 17. Multi-view (single-page router) -------------------------- */
[data-view] { display: none; }
[data-view].is-active { display: block; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: var(--near-black); overflow: hidden; }
.video-wrap img, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-wrap video { opacity: 1; }
.video-sound {
  position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(26,26,26,0.6); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  border: 1px solid rgba(232,213,176,0.4);
  transition: background 0.3s var(--ease);
}
.video-sound:hover { background: var(--wine); }
.video-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.1), rgba(26,26,26,0.4));
  pointer-events: none;
}

/* -------- 18. Utilities ------------------------------------------------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.opacity-70 { opacity: 0.7; }
