/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0B0B0B;
  --navy:       #080C18;
  --navy-mid:   #0F1525;
  --navy-light: #161D35;
  --green-dark: #0F2E2A;
  --gray-dark:  #2A2A2A;
  --gold:       #C6A86B;
  --gold-light: #DFC49A;
  --gold-pale:  #F0E3C8;
  --ivory:      #F5F3EF;
  --sand:       #D4C5A9;
  --muted:      rgba(212,197,169,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--navy);
  color: var(--ivory);
  overflow-x: hidden;
}

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

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

section { position: relative; }

/* ─── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.34s; }
.reveal-d4 { transition-delay: 0.46s; }

/* ─── NAVIGATION ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(8,12,24,0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,168,107,0.08);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}
nav.scrolled {
  background: rgba(8,12,24,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.9rem 3rem;
  border-bottom-color: rgba(198,168,107,0.15);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  transition: color 0.3s ease;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(198,168,107,0.75);
  padding: 0.65rem 1.5rem;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 1px;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  line-height: 1;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
}
.mobile-menu li { margin: 1.5rem 0; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide[data-kb="in"] { animation: kbIn 9s ease-out both; }
.hero-slide[data-kb="out"] { animation: kbOut 9s ease-out both; }
.hero-slide[data-kb="pan"] { animation: kbPan 9s ease-out both; }
@keyframes kbIn  { from { transform: scale(1.1);  } to { transform: scale(1.0); } }
@keyframes kbOut { from { transform: scale(1.0);  } to { transform: scale(1.06); } }
@keyframes kbPan { from { transform: scale(1.06) translateX(2%); } to { transform: scale(1.02) translateX(-2%); } }

/* slide counter dots */
.hero-dots {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 18px; height: 1px;
  background: rgba(198,168,107,0.35);
  transition: background 0.4s, width 0.4s;
  cursor: pointer;
}
.hero-dot.active {
  background: var(--gold);
  width: 30px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,12,24,0.2) 0%, rgba(8,12,24,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  animation: fadeUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-title .line1 {
  display: block;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--ivory);
}
.hero-title .line2 {
  display: block;
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--ivory);
}

.hero-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  direction: rtl;
}

.hero-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.btn-ghost {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(198,168,107,0.6);
  padding: 1rem 2.5rem;
  transition: background 0.35s ease, color 0.35s ease;
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--navy);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(198,168,107,0.7), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ─── SECTION LABELS & COMMON ──────────────────────────────── */
.section-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}

.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--ivory);
  line-height: 1.2;
}

.section-subtext {
  font-size: 0.9rem;
  color: var(--sand);
  line-height: 1.85;
  max-width: 560px;
}

.arabic-text {
  font-family: 'Noto Naskh Arabic', serif;
  direction: rtl;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── PHILOSOPHY ───────────────────────────────────────────── */
#philosophy {
  background: var(--navy-mid);
  padding: 7rem 3rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
  align-items: center;
}

.philosophy-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.philosophy-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.philosophy-image:hover img { transform: scale(1.04); }

.philosophy-text {
  padding: 3rem 0 3rem 5rem;
}

.philosophy-body {
  font-size: 0.95rem;
  color: var(--sand);
  line-height: 1.85;
  margin: 1.5rem 0;
}

.philosophy-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  direction: rtl;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 1.5rem 0;
}

.philosophy-note {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 1.5rem;
}

/* ─── EXPERIENCES ──────────────────────────────────────────── */
#experiences {
  background: var(--navy);
  padding: 7rem 3rem;
}

.experiences-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.experience-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(198,168,107,0.1);
  transition: border-color 0.35s ease;
  cursor: pointer;
}
.experience-card:hover { border-color: rgba(198,168,107,0.45); }

.experience-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.experience-card:hover img { transform: scale(1.04); }

.card-num {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  z-index: 2;
}

.card-titles {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(8,12,24,0.85) 0%, transparent 100%);
  z-index: 2;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ivory);
  display: block;
}
html[data-lang="ar"] .card-title {
  font-family: 'Noto Naskh Arabic', serif;
  direction: rtl;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,12,24,0.82);
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
}
.experience-card:hover .card-overlay { opacity: 1; }
.card-desc {
  font-size: 0.85rem;
  color: var(--sand);
  line-height: 1.7;
}

/* Trust icons */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 1rem;
}
.trust-item {
  text-align: center;
}
.trust-item svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
  margin: 0 auto 0.75rem;
}
.trust-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  display: block;
}

/* ─── GALLERY / INSTAGRAM OEMBED ──────────────────────────── */
#gallery {
  background: var(--black);
  padding: 5rem 3rem;
}

.gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}
.gallery-handle {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  display: block;
}

/* Post grid */
.ig-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.ig-post-card {
  background: var(--navy-light);
  border: 1px solid rgba(198,168,107,0.12);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.ig-post-card:hover {
  border-color: rgba(198,168,107,0.4);
  transform: translateY(-3px);
}

.ig-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(198,168,107,0.07);
}
.ig-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(198,168,107,0.45);
  background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ig-avatar svg { width: 14px; height: 14px; fill: var(--gold); }
.ig-username {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.ig-thumbnail {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--navy-mid);
}
.ig-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.ig-post-card:hover .ig-thumbnail img { transform: scale(1.05); }

.ig-thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.25s ease;
}
.ig-post-card:hover .ig-thumbnail-overlay { background: rgba(8, 12, 24, 0.75); }
.ig-view-btn {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(198,168,107,0.65);
  padding: 0.5rem 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ig-post-card:hover .ig-view-btn { opacity: 1; transform: translateY(0); }

.ig-caption {
  padding: 0.7rem 1rem 0.9rem;
}
.ig-caption-text {
  font-size: 0.76rem;
  color: var(--sand);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Skeleton shimmer */
.ig-skeleton {
  background: linear-gradient(90deg,
    var(--navy-light) 25%,
    var(--navy-mid)   50%,
    var(--navy-light) 75%);
  background-size: 200% 100%;
  animation: igShimmer 1.5s infinite;
}
@keyframes igShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Setup guide (shown when credentials are missing) */
.ig-setup-guide {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid rgba(198,168,107,0.15);
}
.ig-setup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--ivory);
  margin: 1.2rem 0 0.8rem;
}
.ig-setup-desc {
  font-size: 0.82rem;
  color: var(--sand);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.ig-setup-steps {
  text-align: left;
  padding-left: 1.2rem;
  margin: 0 0 1.5rem;
}
.ig-setup-steps li {
  font-size: 0.8rem;
  color: var(--sand);
  line-height: 1.9;
  list-style: decimal;
}
.ig-setup-steps code {
  font-family: monospace;
  background: rgba(198,168,107,0.1);
  padding: 0.1em 0.4em;
  color: var(--gold);
  font-size: 0.78rem;
}

/* iframe preview en el grid */
.ig-embed-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy-mid);
}
.ig-embed-preview iframe {
  position: absolute;
  top: -54px;
  left: 0;
  width: 100%;
  height: calc(100% + 54px);
  border: none;
  pointer-events: none;
  transform: translateZ(0);
}

/* Modal */
.ig-modal {
  position: fixed;
  inset: 0;
  background: rgba(8,12,24,0.96);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.ig-modal.open { opacity: 1; pointer-events: all; }
.ig-modal-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  line-height: 1;
  transition: color 0.25s;
}
.ig-modal-close:hover { color: var(--ivory); }
.ig-modal-content {
  width: min(400px, 92vw);
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
}
.ig-modal-content iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: none;
}

@media (max-width: 768px) {
  .ig-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
@media (max-width: 480px) {
  .ig-portfolio-grid { grid-template-columns: repeat(1, 1fr); }
}

/* ─── VILLAS ───────────────────────────────────────────────── */
#villas {
  background: var(--navy-mid);
  padding: 7rem 3rem;
}

.villas-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.villa-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto 4rem;
  gap: 0;
  align-items: center;
}
.villa-card:last-of-type { margin-bottom: 0; }
.villa-card.reverse { direction: rtl; }
.villa-card.reverse > * { direction: ltr; }

.villa-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.villa-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.villa-card:hover .villa-image img { transform: scale(1.04); }

.villa-badge {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(198,168,107,0.5);
  padding: 0.35rem 0.75rem;
  background: rgba(8,12,24,0.7);
}

.villa-details {
  padding: 3rem 4rem;
  background: var(--navy-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.villa-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ivory);
  margin-bottom: 0.3rem;
}

html[data-lang="ar"] .villa-name {
  font-family: 'Noto Naskh Arabic', serif;
  direction: rtl;
}

.villa-stats {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.villa-desc {
  font-size: 0.92rem;
  color: var(--sand);
  line-height: 1.85;
  margin-bottom: 1.8rem;
}

.villa-cta {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(198,168,107,0.3);
  padding-bottom: 0.3rem;
  display: inline-block;
  transition: border-color 0.3s, color 0.3s;
}
.villa-cta:hover { border-color: var(--gold); color: var(--gold-light); }

/* ─── VILLA SLIDER ─────────────────────────────────────────── */
.villa-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.villa-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.villa-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Override the inherited hover-zoom from .villa-image img */
.villa-slider .villa-slide { transition: opacity 0.55s ease; }
.villa-card:hover .villa-slider .villa-slide { transform: none; }

.villa-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(8, 12, 24, 0.55);
  border: 1px solid rgba(198, 168, 107, 0.3);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  padding: 0;
  user-select: none;
}
.villa-slider-prev { left: 12px; }
.villa-slider-next { right: 12px; }

/* Desktop (hover-capable): hide by default, reveal on image hover */
@media (hover: hover) and (min-width: 1025px) {
  .villa-slider-btn {
    opacity: 0;
    pointer-events: none;
  }
  .villa-image:hover .villa-slider-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Mobile & tablet (≤1024px): always visible */
@media (max-width: 1024px) {
  .villa-slider-btn {
    opacity: 1;
    pointer-events: auto;
    width: 44px;
    height: 44px;
  }
}

.villa-slider-btn:hover {
  background: rgba(8, 12, 24, 0.88);
  border-color: var(--gold);
}

.villa-slider-counter {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: rgba(245, 243, 239, 0.65);
  z-index: 10;
  pointer-events: none;
}

/* ─── MAP ──────────────────────────────────────────────────── */
#map {
  background: var(--navy);
  padding: 7rem 3rem;
}

.map-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.map-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(198,168,107,0.15);
}

#ibiza-map {
  width: 100%;
  height: 62vh;
  min-height: 400px;
}

.map-filter {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(8,12,24,0.88);
  border: 1px solid rgba(198,168,107,0.2);
  padding: 0.9rem 1rem;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.map-filter-title {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}
.map-filter-btns { display: flex; flex-direction: column; gap: 0.4rem; }
.map-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  background: none;
  border: 1px solid rgba(198,168,107,0.2);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.map-filter-btn .ficon { display: inline-flex; align-items: center; font-size: 0.9rem; line-height: 1; }
.map-filter-btn .ficon svg { width: 1em; height: 1em; }
.map-filter-toggle { display: none; }
.map-filter-btn.active { border-color: rgba(198,168,107,0.75); color: var(--gold-light); }
.map-filter-btn:not(.active) { opacity: 0.45; }
.map-filter-note {
  font-style: italic;
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 0.7rem;
  line-height: 1.5;
  max-width: 165px;
}

.villa-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(198,168,107,0.18);
  border: 1.5px solid rgba(198,168,107,0.75);
  border-radius: 50%;
  cursor: pointer;
  animation: markerPulse 2.8s infinite;
}
.villa-icon-wrap svg { width: 16px; height: 16px; }
.poi-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: rgba(198,168,107,0.12);
  border: 1px solid rgba(198,168,107,0.5);
  border-radius: 50%;
  cursor: pointer;
}
.poi-icon-wrap svg { width: 12px; height: 12px; }
.beach-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(198,168,107,0.12);
  border: 1px solid rgba(198,168,107,0.5);
  border-radius: 50%;
  cursor: pointer;
}
.beach-icon-wrap svg { width: 13px; height: 13px; }
@keyframes markerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(198,168,107,0.45); }
  60%  { box-shadow: 0 0 0 12px rgba(198,168,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,168,107,0); }
}
.leaflet-popup-content-wrapper {
  background: #1a1a2e !important;
  border: 1px solid rgba(198,168,107,0.45) !important;
  border-radius: 3px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25) !important;
  color: #F5F3EF !important;
  font-family: 'Jost', sans-serif !important;
  font-weight: 300 !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
}
.leaflet-popup-tip { background: #1a1a2e !important; }
.leaflet-popup-close-button { color: #C6A86B !important; top: 6px !important; right: 8px !important; }

/* ─── PRIVACY ──────────────────────────────────────────────── */
#privacy {
  background: var(--green-dark);
  padding: 7rem 3rem;
}

.privacy-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.privacy-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.privacy-item svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}
.privacy-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--ivory);
}
.privacy-item-desc {
  font-size: 0.85rem;
  color: var(--sand);
  line-height: 1.75;
}

/* ─── EXCLUSIVITY ──────────────────────────────────────────── */
#exclusivity {
  background: var(--navy-mid);
  padding: 8rem 3rem;
}

.exclusivity-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.exclusivity-quote-bg {
  position: absolute;
  top: -4rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 12rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.exclusivity-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 2rem;
  position: relative;
}

.exclusivity-body {
  font-size: 0.95rem;
  color: var(--sand);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.exclusivity-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  direction: rtl;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.exclusivity-rule {
  width: 60px;
  height: 1px;
  background: rgba(198,168,107,0.4);
  margin: 0 auto 3rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  line-height: 1.6;
}

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials {
  background: var(--navy);
  padding: 7rem 3rem;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(198,168,107,0.15);
  padding: 2.5rem 2rem;
  transition: border-color 0.35s ease;
}
.testimonial-card:hover { border-color: rgba(198,168,107,0.35); }

.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 0.6;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ivory);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--sand);
  letter-spacing: 0.1em;
}

/* ─── CONTACT ──────────────────────────────────────────────── */
#contact {
  background: var(--navy);
  padding: 7rem 3rem;
  border-top: 1px solid rgba(198,168,107,0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-left { padding-top: 1rem; }

.contact-body {
  font-size: 0.92rem;
  color: var(--sand);
  line-height: 1.85;
  margin: 1.5rem 0;
}

.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.contact-whatsapp:hover { color: var(--gold-light); }
.contact-whatsapp svg {
  width: 20px; height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.contact-note {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

.form-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(198,168,107,0.18);
  color: var(--ivory);
  padding: 0.85rem 1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.35s ease;
  width: 100%;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: rgba(198,168,107,0.55); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C6A86B' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--navy-mid); }

.form-textarea { resize: vertical; min-height: 100px; }

/* Checkboxes */
.checkboxes-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.5rem;
  display: block;
}
.checkboxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border: 1px solid rgba(198,168,107,0.3);
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s;
}
.checkbox-item input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 4px; height: 7px;
  border: 1.5px solid var(--navy);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.checkbox-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  color: var(--sand);
  letter-spacing: 0.05em;
}

.form-submit {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(198,168,107,0.5);
  color: var(--gold);
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1.1rem;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: var(--gold);
  color: var(--navy);
}

.form-privacy {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* ─── INQUIRY POPUP ────────────────────────────────────────── */
.inquiry-popup {
  position: fixed;
  inset: 0;
  background: rgba(8,12,24,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.inquiry-popup.open {
  opacity: 1;
  pointer-events: all;
}
.inquiry-popup-card {
  background: var(--navy-mid);
  border: 1px solid rgba(198,168,107,0.3);
  padding: 3.5rem 3rem;
  max-width: 480px;
  width: 90vw;
  text-align: center;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.inquiry-popup.open .inquiry-popup-card {
  transform: translateY(0) scale(1);
}
.inquiry-check {
  width: 64px; height: 64px;
  margin: 0 auto 2rem;
}
.inquiry-check circle {
  fill: none;
  stroke: rgba(198,168,107,0.18);
  stroke-width: 1.5;
}
.inquiry-check path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.inquiry-popup.open .inquiry-check path {
  stroke-dashoffset: 0;
}
.inquiry-popup-label {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.inquiry-popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--ivory);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.inquiry-popup-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.75rem;
  direction: rtl;
}
.inquiry-popup-body {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.82rem;
  color: var(--sand);
  line-height: 1.85;
  letter-spacing: 0.04em;
  margin-bottom: 2.25rem;
}
.inquiry-popup-body strong {
  color: var(--gold-light);
  font-weight: 300;
}
.inquiry-popup-divider {
  width: 40px;
  height: 1px;
  background: rgba(198,168,107,0.3);
  margin: 1.5rem auto;
}
.inquiry-popup-close {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid rgba(198,168,107,0.4);
  padding: 0.7rem 2rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.inquiry-popup-close:hover {
  background: var(--gold);
  color: var(--navy);
}
.form-submit.loading {
  opacity: 0.6;
  pointer-events: none;
  letter-spacing: 0.35em;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(198,168,107,0.1);
  padding: 4rem 3rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  align-items: center;
}

.footer-brand { }
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}
.footer-tagline {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  font-style: italic;
}

.footer-center {
  text-align: center;
}
.footer-arabic-calligraphy {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1.4rem;
  color: var(--gold);
  direction: rtl;
  opacity: 0.7;
  display: block;
}
.footer-year {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin-top: 0.4rem;
  display: block;
}

.footer-links {
  text-align: right;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  list-style: none;
  margin-bottom: 0.75rem;
}
.footer-nav a {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(198,168,107,0.07);
  text-align: center;
}
.footer-copy {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ─── LANGUAGE SELECTOR (nav) ───────────────────────────────── */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.6rem;
}
.nav-lang-btn {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(212,197,169,0.38);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.22rem 0.38rem;
  transition: color 0.25s ease, border-color 0.25s ease;
  line-height: 1;
}
.nav-lang-btn:hover,
.nav-lang-btn.active {
  color: var(--gold);
  border-color: rgba(198,168,107,0.35);
}
.nav-lang-sep {
  color: rgba(212,197,169,0.18);
  font-size: 0.52rem;
  user-select: none;
}

/* ─── LANGUAGE SELECTOR (footer) ───────────────────────────── */
.footer-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.2rem;
}
.footer-lang-btn {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,197,169,0.4);
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.3rem 0.55rem;
  transition: color 0.3s ease, border-color 0.3s ease;
  line-height: 1;
}
.footer-lang-btn:hover,
.footer-lang-btn.active {
  color: var(--gold);
  border-color: rgba(198,168,107,0.4);
}
.footer-lang-sep {
  color: rgba(212,197,169,0.2);
  font-size: 0.6rem;
  user-select: none;
}

/* ─── ARABIC LAYOUT ──────────────────────────────────────────── */
html[data-lang="ar"] nav          { direction: rtl; }
html[data-lang="ar"] .mobile-menu { direction: rtl; }
html[data-lang="ar"] .philosophy-text { padding: 3rem 5rem 3rem 0; }
html[data-lang="ar"] .contact-form    { direction: rtl; }
html[data-lang="ar"] .form-label      { font-family: 'Noto Naskh Arabic', serif; }
html[data-lang="ar"] .checkboxes-label{ font-family: 'Noto Naskh Arabic', serif; }
html[data-lang="ar"] .form-input,
html[data-lang="ar"] .form-select,
html[data-lang="ar"] .form-textarea   {
  text-align: right;
  font-family: 'Noto Naskh Arabic', serif;
}

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .experience-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(n) { aspect-ratio: 4/3; }
}

@media (max-width: 768px) {

  nav { padding: 1.25rem 1.5rem; }
  nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-lang { display: none; }
  .hamburger { display: flex; }

  #hero { }

  .philosophy-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .philosophy-text { padding: 2rem 0 0; }

  .experience-grid { grid-template-columns: repeat(2, 1fr); }
  .card-titles { padding: 0.75rem; }
  .card-title { font-size: 0.8rem; }

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

  .villa-card,
  .villa-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .villa-card.reverse > * { direction: ltr; }
  .villa-details { padding: 2rem 1.5rem; }

  #ibiza-map { height: 50vh; }
  .map-wrapper { width: 100%; max-width: 100%; border-left: none; border-right: none; }
  .map-filter { padding: 0; min-width: 0; }
  .map-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: 'Jost', sans-serif;
    font-weight: 200;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    width: 100%;
  }
  .map-filter-toggle svg { width: 12px; height: 12px; transition: transform 0.25s ease; }
  .map-filter.open .map-filter-toggle svg { transform: rotate(180deg); }
  .map-filter-body { display: none; padding: 0 0.85rem 0.75rem; }
  .map-filter.open .map-filter-body { display: block; }
  .map-filter-title { display: none; }
  .map-filter-note { max-width: none; }

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

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

  .stat-grid { grid-template-columns: 1fr; gap: 2rem; }

  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-links { text-align: center; }
  .footer-nav { justify-content: center; }

  section { padding-left: 1.5rem; padding-right: 1.5rem; }
  #philosophy, #experiences, #gallery, #villas, #map, #privacy,
  #exclusivity, #testimonials, #contact { padding-left: 1.5rem; padding-right: 1.5rem; }
  footer { padding-left: 1.5rem; padding-right: 1.5rem; }

  .trust-row { flex-direction: column; gap: 2rem; align-items: center; }
}

@media (max-width: 480px) {
  section { padding-top: 4rem; padding-bottom: 4rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .checkboxes-grid { grid-template-columns: 1fr; }
}
