/* ============================================================
   SHEGER REAL ESTATE — Futuristic Luxury Design System
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-2: #0a0f1e;
  --bg-3: #0d1428;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --gold: #d4af37;
  --gold-2: #f3dc8f;
  --gold-3: #9c7c1e;
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --muted-2: rgba(244, 241, 234, 0.4);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}

/* Prevent accidental horizontal panning on touch devices */
body { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: #0a0a0a; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-3), var(--gold));
  border-radius: 8px;
  border: 2px solid var(--bg);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s, color 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-3));
  color: #141005;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(212, 175, 55, 0.5);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold-2);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
  transition: filter 0.3s var(--ease);
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.04));
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.25), inset 0 0 14px rgba(212, 175, 55, 0.12);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--text);
}
.brand-text small {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--gold-2);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  position: relative;
  padding: 9px 15px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Dropdown menus */
.nav-dropdown {
  position: relative;
}
.nav-drop-trigger {
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-drop-trigger svg {
  transition: transform 0.3s;
}
.nav-dropdown:hover .nav-drop-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: rgba(10, 12, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 50px;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,12,20,1) 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  color: var(--muted-2);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu - Modern slide-in panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 7, 13, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.98) 0%, rgba(5, 7, 13, 0.99) 100%);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  min-height: 72px;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
.mobile-menu-brand span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}
.mobile-menu-close svg {
  width: 18px;
  height: 18px;
  color: var(--text);
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  flex: 1;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 16px 24px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s var(--ease);
  position: relative;
}
.mobile-menu nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
  transition: height 0.3s var(--ease);
}
.mobile-menu nav a:hover,
.mobile-menu nav a.active {
  color: var(--text);
  background: rgba(212, 175, 55, 0.05);
}
.mobile-menu nav a:hover::before,
.mobile-menu nav a.active::before {
  height: 60%;
}
.mobile-menu nav a svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.mobile-menu-footer .btn {
  width: 100%;
  text-align: center;
}

.mobile-menu-contact {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.mobile-menu-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.mobile-menu-contact a:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}
.mobile-menu-contact a svg {
  width: 20px;
  height: 20px;
}

/* Burger animation */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/webp/hero-b.webp");
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.14); }
  to { transform: scale(1.04); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.72) 0%, rgba(5, 7, 13, 0.45) 40%, var(--bg) 96%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.82) 0%, rgba(5, 7, 13, 0.25) 60%, rgba(5, 7, 13, 0.4) 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.orb-a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.5), transparent 70%);
  top: -120px; right: -80px;
  animation: floatA 12s ease-in-out infinite;
}
.orb-b {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(64, 110, 255, 0.32), transparent 70%);
  bottom: -140px; left: -100px;
  animation: floatB 14s ease-in-out infinite;
}
@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.12); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-2) 10%, var(--gold) 45%, #8a6d1f 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.35));
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 30px;
  max-width: 640px;
}
.stat {
  flex: 1;
  padding: 0 26px;
  border-left: 1px solid var(--border);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.scroll-line i {
  position: absolute;
  left: 0; top: -50%;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollDrop 2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { top: -50%; }
  100% { top: 110%; }
}

.hero-stamp {
  position: absolute;
  right: 6vw;
  bottom: 9vh;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(212, 175, 55, 0.55);
  transform: rotate(-14deg);
  opacity: 0.85;
  pointer-events: none;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.25);
}

/* ------------------------------------------------------------
   Marquee
   ------------------------------------------------------------ */
.marquee {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--text), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.marquee-track i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.9rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section {
  padding: 110px 0;
  position: relative;
}
.section-alt {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(212, 175, 55, 0.07), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 64px;
}
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 18px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-index::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------
   Residence cards
   ------------------------------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 175, 55, 0.08);
}

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

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #141005;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.card-body { padding: 26px 26px 28px; }

.card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.card-title h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.card-size {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-2);
  white-space: nowrap;
}

.card-feats { margin-bottom: 24px; }
.card-feats li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--muted);
  border-bottom: 1px dashed var(--border);
}
.card-feats li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  flex-shrink: 0;
}
.card-feats li:last-child { border-bottom: 0; }

.card-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}
.card-price span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.card-price strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}
.card-price small {
  font-size: 0.72rem;
  color: var(--muted-2);
}
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wa-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.wa-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.9);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.wa-link:hover { color: #86efac; }

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-media { position: relative; }
.about-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.about-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(200deg, transparent 55%, rgba(5, 7, 13, 0.85));
  pointer-events: none;
}
.about-frame img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about-media:hover .about-frame img { transform: scale(1.05); }

.about-frame::after {
  content: "SHEGER";
  position: absolute;
  bottom: 22px;
  left: 26px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.3em;
  color: var(--text);
}

.about-stamp {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: var(--gold-2);
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.35), inset 0 0 20px rgba(212, 175, 55, 0.12);
  transform: rotate(8deg);
  animation: stampSpin 22s linear infinite;
}
@keyframes stampSpin {
  from { transform: rotate(8deg); }
  50% { transform: rotate(-6deg); }
  to { transform: rotate(8deg); }
}

.about-text h2 { margin-bottom: 22px; }
.about-text > p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 38px;
}
.about-values > div {
  padding: 22px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.about-values > div:hover {
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-4px);
}
.val-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1.1;
}
.about-values span:last-child {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

blockquote {
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.07), transparent);
  border-radius: 0 14px 14px 0;
}
blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 8px;
}
blockquote cite {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold-2);
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   H.E.A.L.T.H. Values
   ------------------------------------------------------------ */
.values-heading {
  font-size: 1.15rem;
  margin: 30px 0 8px;
  color: var(--text);
}
.values-heading em { color: var(--gold); }
.health-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 20px;
}
.health-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s;
}
.health-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.health-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--bg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.health-word {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  padding: 36px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  color: var(--gold);
  margin-bottom: 20px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted-2);
}

/* ------------------------------------------------------------
   News & Insights
   ------------------------------------------------------------ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.news-card {
  padding: 30px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.35s, transform 0.35s;
}
.news-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.news-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.news-card p {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted-2);
}
.news-card strong {
  color: var(--text);
}

/* ------------------------------------------------------------
   Price Calculator
   ------------------------------------------------------------ */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
}
.calc-left, .calc-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-sub {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.04em;
}
.calc-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.calc-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 12px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  color: var(--text);
}
.calc-unit:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
}
.calc-unit.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}
.calc-unit-bed {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}
.calc-unit-name {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.calc-unit-area {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}
.calc-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.calc-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.85rem;
}
.calc-detail-row span { color: var(--muted-2); }
.calc-detail-row strong { color: var(--text); font-weight: 500; }
.calc-detail-row + .calc-detail-row {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.calc-divider {
  background: rgba(255,255,255,0.03);
}
.calc-save { color: #4ade80 !important; }
.calc-total {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent);
  border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
}
.calc-total strong {
  color: var(--gold) !important;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Discount Toggle */
.calc-discount {
  padding: 0;
}
.calc-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08), rgba(74, 222, 128, 0.02));
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 14px;
  transition: all 0.3s;
}
.calc-toggle:hover {
  border-color: rgba(74, 222, 128, 0.5);
}
.calc-toggle input { display: none; }
.calc-toggle-slider {
  width: 48px;
  height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 13px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.3s;
}
.calc-toggle-slider::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
}
.calc-toggle input:checked + .calc-toggle-slider {
  background: #4ade80;
}
.calc-toggle input:checked + .calc-toggle-slider::after {
  transform: translateX(22px);
}
.calc-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-toggle-text strong {
  font-size: 0.88rem;
  color: var(--text);
}
.calc-toggle-text small {
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* Financing */
.calc-finance-note {
  font-size: 0.85rem;
  color: var(--muted-2);
  line-height: 1.6;
}
.calc-finance-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.calc-range-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-range-row input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  outline: none;
}
.calc-range-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}
.calc-range-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  min-width: 48px;
  text-align: right;
}
.calc-range-amount {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

/* Term Buttons */
.calc-term-btns {
  display: flex;
  gap: 8px;
}
.calc-term {
  flex: 1;
  padding: 10px 8px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.calc-term:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.calc-term.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  color: var(--gold);
}

/* Finance Summary */
.calc-finance-summary {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.calc-finance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 0.85rem;
}
.calc-finance-row span { color: var(--muted-2); }
.calc-finance-row strong { color: var(--text); font-weight: 500; }
.calc-finance-row + .calc-finance-row {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.calc-monthly {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent);
  border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
}
.calc-monthly strong {
  color: var(--gold) !important;
  font-size: 1.15rem;
  font-weight: 700;
}
.calc-cta {
  margin-top: 4px;
}

/* Payment Schedule Table */
.calc-schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 16px;
}
.calc-schedule th {
  text-align: left;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.calc-schedule td {
  padding: 8px 6px;
  color: var(--muted-1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.calc-schedule tbody tr:hover {
  background: rgba(212,175,55,0.04);
}
.calc-schedule td:nth-child(2),
.calc-schedule th:nth-child(2) {
  text-align: center;
  color: var(--gold);
  font-weight: 600;
}
.calc-schedule td:nth-child(3) {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}
.calc-schedule tfoot td {
  border-top: 2px solid var(--gold);
  font-weight: 700;
  color: var(--gold);
  padding-top: 10px;
}
.calc-schedule tfoot td:last-child {
  text-align: right;
  font-size: 0.92rem;
}

.calc-fine {
  font-size: 0.7rem;
  color: var(--muted-2);
  line-height: 1.5;
  text-align: center;
}

/* 3-Bed Variant Selector */
.calc-variants {
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.06), rgba(212, 175, 55, 0.02));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
}
.calc-variant-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.calc-variant-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.calc-variant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  color: var(--text);
}
.calc-variant:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
}
.calc-variant.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
}
.calc-var-size {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
}
.calc-var-type {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Calculator Responsive */
@media (max-width: 768px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }
  .calc-unit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .calc-unit { padding: 14px 8px; }
  .calc-unit-bed { font-size: 0.95rem; }
  .calc-variant-btns { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (max-width: 480px) {
  .calc-unit-grid {
    grid-template-columns: 1fr;
  }
  .calc-unit {
    flex-direction: row;
    gap: 12px;
    padding: 14px 16px;
  }
  .calc-term-btns {
    flex-wrap: wrap;
  }
  .calc-term {
    flex: 0 0 calc(50% - 4px);
  }
}

/* ------------------------------------------------------------
   Amenities
   ------------------------------------------------------------ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.amenity {
  padding: 30px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s var(--ease), background 0.4s;
  position: relative;
  overflow: hidden;
}
.amenity::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s;
}
.amenity:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  background: var(--panel-2);
}
.amenity:hover::before { opacity: 1; }

.amenity svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
  transition: transform 0.45s var(--ease);
}
.amenity:hover svg { transform: scale(1.15) rotate(-4deg); }

.amenity h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.amenity p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Gallery
   ------------------------------------------------------------ */
/* Swipe hint — hidden by default */
.swipe-hint {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}
.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
}
.g-tall { grid-row: span 2; }

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s;
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 13, 0.85));
  opacity: 0.6;
  transition: opacity 0.5s;
}
.g-item:hover img { transform: scale(1.1); filter: saturate(1.15); }
.g-item:hover::after { opacity: 1; }

.g-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s;
}
.g-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* ------------------------------------------------------------
   Location
   ------------------------------------------------------------ */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.loc-text p {
  color: var(--muted);
  margin: 20px 0 30px;
  max-width: 520px;
}

.loc-list { display: flex; flex-direction: column; gap: 4px; }
.loc-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--border);
}
.loc-list svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex-shrink: 0;
}
.loc-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}
.loc-list span {
  font-size: 0.88rem;
  color: var(--muted);
}

.loc-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  aspect-ratio: 4 / 3.4;
  filter: grayscale(0.2) contrast(1.02);
}
.loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
}
.map-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}
.map-card span:last-child {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.map-pin {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
}
.map-pin svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.contact-side { display: flex; flex-direction: column; gap: 20px; }

.contact-card {
  display: flex;
  gap: 20px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s var(--ease);
  cursor: pointer;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}
.contact-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.contact-avatar {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
  border: 2px solid var(--gold);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.contact-avatar:hover {
  transform: scale(1.06);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.55);
}
.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-role {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.3s, transform 0.3s;
}
.contact-info a:hover { color: var(--gold-2); transform: translateX(4px); }
.contact-info a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

/* Form */
.contact-form {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: rgba(5, 7, 13, 0.85);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.form-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted-2);
  text-align: center;
}

.form-success {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: #86efac;
  font-size: 0.92rem;
  text-align: center;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: linear-gradient(180deg, var(--bg), #03040a);
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.footer-brand .brand {
  margin-bottom: 28px;
}
.footer-brand .brand-logo {
  height: 52px;
  display: block;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0 0 10px;
  max-width: 340px;
}
.footer-amharic {
  font-size: 0.9rem !important;
  color: var(--gold-2) !important;
  letter-spacing: 0.02em;
}



.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col a,
.footer-col p {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.3s, transform 0.3s;
}
.footer-col a:hover { color: var(--gold-2); transform: translateX(4px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* ------------------------------------------------------------
   Floating WhatsApp
   ------------------------------------------------------------ */
.wa-float {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #4ade80, #22c55e 55%, #16a34a);
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: waPulse 2.6s infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(34, 197, 94, 0.45), 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 12px 34px rgba(34, 197, 94, 0.45), 0 0 0 16px rgba(74, 222, 128, 0); }
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
.wa-float-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 14px;
  background: rgba(5, 7, 13, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}
.wa-float:hover .wa-float-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 480px) {
  .wa-float-tip { display: none; }
}

/* ------------------------------------------------------------
   Back to top
   ------------------------------------------------------------ */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: rgba(5, 7, 13, 0.85);
  backdrop-filter: blur(10px);
  color: var(--gold-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--gold);
  color: #141005;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
}
.to-top svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cards-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .loc-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-frame img { height: 440px; }
  .hero-stamp { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-burger { display: flex; padding: 10px; }
  .brand-logo { height: 56px; }
  .footer .brand-logo { height: 52px; }

  /* Center the logo on mobile */
  .nav-inner { position: relative; }
  .nav-inner .brand { position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; }
  .nav-actions { margin-left: auto; }

  /* Use the lighter, mobile-sized hero image on phones/tablets */
  .hero-bg { background-image: url("assets/webp/hero-mobile.webp"); }

  .section { padding: 76px 0; }
  .hero { min-height: 100svh; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 18px; }
  .stat { padding: 0; border-left: 0; border-top: 1px solid var(--border); padding-top: 16px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .hero-scroll { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; align-items: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-brand .brand-logo { height: 42px; }
  .footer-brand p { margin-inline: auto; max-width: 100%; }
  .footer-amharic { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-stamp { right: -8px; top: -16px; width: 104px; height: 104px; font-size: 0.9rem; }
  .health-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .health-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 42px; }
  .hero { min-height: 100svh; }
  .hero h1 { letter-spacing: 0.01em; }
  .hero-content { padding-top: calc(var(--nav-h) + 8px); }

  .card-body { padding: 22px; }
  .amenity { padding: 24px 22px; }

  /* Carousel on mobile */
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 16px;
    margin: 0 calc(-50vw + 50%);
    padding-left: max(20px, calc(50vw - 46vw));
    padding-right: max(20px, calc(50vw - 46vw));
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .g-item {
    flex: 0 0 78%;
    min-width: 280px;
    scroll-snap-align: center;
    grid-row: auto !important;
    border-radius: 16px;
  }
  .g-item figcaption {
    opacity: 1;
    transform: translateY(0);
  }

  /* Swipe hint */
  .swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
  }
  .swipe-hint span {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--muted-2);
  }
  .swipe-hint span:first-child {
    background: var(--gold);
    width: 32px;
  }
  .swipe-hint em {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-left: 8px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .map-card { left: 12px; right: 12px; bottom: 12px; }

  /* 16px prevents iOS Safari auto-zoom when focusing inputs */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }

  /* Notch-safe floating buttons */
  .wa-float {
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
  .to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ==================== APARTMENT DETAIL PAGES ==================== */
.apt-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.apt-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.apt-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,7,13,0.85) 0%, rgba(5,7,13,0.4) 18%, transparent 35%),
    linear-gradient(to top, var(--bg) 0%, rgba(12,12,14,0.5) 40%, rgba(12,12,14,0.15) 100%);
}
.apt-hero-content {
  position: relative; z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
}
.apt-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  margin: 12px 0 8px;
}
.apt-hero-content h1 em { color: var(--gold); font-style: italic; font-family: var(--font-accent); }
.apt-hero-sub { color: var(--muted-1); font-size: 1rem; letter-spacing: 0.04em; }

/* Tags */
.apt-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.apt-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.apt-tag-sale { background: var(--gold); color: var(--bg); }
.apt-tag-type { background: rgba(255,255,255,0.1); color: var(--text); border: 1px solid rgba(255,255,255,0.15); }
.apt-tag-status { background: rgba(52,199,89,0.15); color: #34c759; border: 1px solid rgba(52,199,89,0.2); }

/* Stats Bar */
.apt-stats-bar {
  background: var(--card);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.apt-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.apt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.apt-stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.apt-stat-label {
  font-size: 0.72rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.apt-stat-price .apt-stat-num { color: var(--gold); font-size: 1.1rem; }

/* Grid Layout */
.apt-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.apt-main h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.apt-main h2 em, .apt-main h3 em { color: var(--gold); font-style: italic; font-family: var(--font-accent); }
.apt-main p {
  color: var(--muted-1);
  line-height: 1.7;
  margin-bottom: 12px;
}
.apt-main h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* Features Grid */
.apt-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.apt-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--card);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.apt-feature-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.apt-feature strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; }
.apt-feature span { font-size: 0.75rem; color: var(--muted-2); line-height: 1.4; }

/* Price Card Sidebar */
.apt-price-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
  position: sticky;
  top: 100px;
}
.apt-price-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}
.apt-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.apt-price-row span { font-size: 0.85rem; color: var(--muted-2); }
.apt-price-row strong { font-size: 0.9rem; color: var(--text); }
.apt-price-save strong { color: #34c759; }
.apt-price-total {
  border-bottom: none;
  border-top: 2px solid var(--gold);
  padding-top: 14px;
  margin-top: 4px;
}
.apt-price-total strong { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
.apt-price-note { font-size: 0.7rem; color: var(--muted-2); text-align: center; margin-top: 12px; line-height: 1.5; }

/* Payment Schedule */
.apt-schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.apt-schedule th {
  text-align: left;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 4px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.apt-schedule td {
  padding: 6px 4px;
  color: var(--muted-1);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.apt-schedule td:nth-child(2) { text-align: center; color: var(--gold); font-weight: 600; }
.apt-schedule td:nth-child(3) { text-align: right; font-weight: 500; color: var(--text); font-size: 0.76rem; }
.apt-schedule tfoot td { border-top: 2px solid var(--gold); font-weight: 700; color: var(--gold); padding-top: 8px; }
.apt-schedule tfoot td:last-child { text-align: right; font-size: 0.85rem; }

/* Floor Plan */
.apt-floorplan {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  padding: 20px;
}
.apt-floorplan img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.apt-floorplan-caption {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.apt-floorplan-caption span {
  font-size: 0.82rem;
  color: var(--muted-1);
}
.apt-floorplan-caption strong { color: var(--gold); }
.apt-floorplans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Variant Cards */
.apt-variants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.apt-variant-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.apt-variant-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.apt-variant-header {
  padding: 24px 20px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.apt-variant-featured {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.02) 100%);
}
.apt-variant-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.08);
  color: var(--muted-1);
  margin-bottom: 8px;
}
.apt-variant-badge-featured { background: var(--gold); color: var(--bg); }
.apt-variant-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.apt-variant-header p {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 4px;
}
.apt-variant-body {
  padding: 20px;
}
.apt-variant-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.apt-variant-specs div {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-1);
}
.apt-variant-specs strong { color: var(--text); display: block; font-size: 0.72rem; margin-bottom: 2px; }
.apt-variant-rooms {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.apt-variant-rooms span {
  font-size: 0.78rem;
  color: var(--muted-1);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 8px;
}
.apt-variant-features {
  margin-bottom: 16px;
}
.apt-variant-features p {
  font-size: 0.8rem;
  color: var(--muted-2);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.apt-variant-features strong { color: var(--muted-1); }
.apt-variant-price {
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .apt-hero { height: 300px; }
  .apt-stats { gap: 12px; }
  .apt-stat-num { font-size: 1.1rem; }
  .apt-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .apt-price-card { position: static; }
  .apt-features-grid { grid-template-columns: 1fr; }
  .apt-variant-card { border-radius: 12px; }
  .apt-floorplans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .apt-variants-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .apt-variant-specs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .apt-grid {
    grid-template-columns: 1fr 300px;
    gap: 24px;
  }
}

/* ==================== ENHANCED MOBILE RESPONSIVENESS ==================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .health-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .apt-variants-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Typography */
  h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }
  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .section {
    padding: 64px 0;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }
  .hero-content {
    padding-top: calc(var(--nav-h) + 20px);
  }
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.05;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .stat:first-child {
    border-top: 0;
    padding-top: 0;
  }

  /* Cards Grid */
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
    gap: 20px;
  }
  .card {
    border-radius: 14px;
  }
  .card-media {
    aspect-ratio: 16 / 10;
  }
  .card-body {
    padding: 20px;
  }
  .card-title h3 {
    font-size: 1.2rem;
  }
  .card-feats li {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  /* Amenities */
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .amenity {
    padding: 24px 20px;
  }
  .amenity h3 {
    font-size: 1rem;
  }
  .amenity p {
    font-size: 0.82rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 14px;
  }
  .g-item {
    min-height: 200px;
  }
  .g-tall {
    grid-row: span 1;
  }
  .g-item figcaption {
    font-size: 0.8rem;
    padding: 12px 14px;
    opacity: 1;
    transform: translateY(0);
  }

  /* Location */
  .loc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .loc-text h2 {
    font-size: 1.6rem;
  }
  .loc-list li {
    padding: 12px 0;
  }
  .loc-list strong {
    font-size: 0.95rem;
  }
  .loc-list span {
    font-size: 0.82rem;
  }
  .loc-map {
    aspect-ratio: 16 / 10;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .contact-form h3 {
    font-size: 1.3rem;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .footer-brand p {
    font-size: 0.88rem;
    max-width: 280px;
    margin-inline: auto;
  }
  .footer-col h4 {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  .footer-col a,
  .footer-col p {
    font-size: 0.82rem;
    line-height: 1.6;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.78rem;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border);
  }

  /* Floating buttons */
  .wa-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    left: 16px;
  }
  .wa-float svg {
    width: 24px;
    height: 24px;
  }
  .to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 16px;
  }

  /* Buttons */
  .btn {
    padding: 14px 24px;
    font-size: 0.85rem;
  }
  .btn-sm {
    padding: 10px 18px;
    font-size: 0.78rem;
  }

  /* Apartment Pages */
  .apt-hero {
    height: 300px;
  }
  .apt-hero-content {
    padding-top: 60px;
  }
  .apt-hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.15;
  }
  .apt-hero-sub {
    font-size: 0.88rem;
  }
  .apt-tags {
    gap: 6px;
  }
  .apt-tag {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  .apt-stats-bar {
    padding: 16px 0;
  }
  .apt-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }
  .apt-stat {
    padding: 6px 8px;
    min-width: 60px;
  }
  .apt-stat-num {
    font-size: 0.95rem;
  }
  .apt-stat-label {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }
  .apt-stat-price {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 12px;
    margin-top: 4px;
  }
  .apt-stat-price .apt-stat-num {
    font-size: 1.1rem;
  }
  .apt-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .apt-main h2 {
    font-size: 1.4rem;
  }
  .apt-main p {
    font-size: 0.92rem;
  }
  .apt-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .apt-feature {
    padding: 10px 12px;
  }
  .apt-price-card {
    position: static;
    padding: 20px;
  }
  .apt-schedule {
    font-size: 0.72rem;
  }
  .apt-schedule th,
  .apt-schedule td {
    padding: 6px 3px;
  }
  .apt-variants-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .apt-variant-header h3 {
    font-size: 1.4rem;
  }
  .apt-variant-body {
    padding: 16px;
  }
  .apt-variant-specs {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .apt-variant-specs div {
    font-size: 0.72rem;
  }
  .apt-variant-rooms {
    gap: 6px;
  }
  .apt-variant-rooms span {
    font-size: 0.72rem;
    padding: 4px 8px;
  }
  .apt-variant-features p {
    font-size: 0.75rem;
  }
  .apt-floorplans-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .apt-floorplan {
    padding: 16px;
  }
  .apt-floorplan-caption {
    flex-direction: column;
    gap: 8px;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .section {
    padding: 52px 0;
  }
  .hero {
    min-height: 85vh;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
    letter-spacing: 0.01em;
  }
  .hero-sub {
    font-size: 0.88rem;
  }
  .hero-stats {
    gap: 12px;
  }
  .stat-num {
    font-size: 1.4rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }
  .section-head h2 {
    font-size: 1.5rem;
  }
  .section-head p {
    font-size: 0.92rem;
  }
  .amenity {
    padding: 20px 16px;
  }
  .amenity svg {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
  }
  .amenity h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .amenity p {
    font-size: 0.78rem;
    line-height: 1.5;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col a {
    display: block;
    padding: 4px 0;
  }
  .apt-hero {
    height: 260px;
  }
  .apt-hero-content {
    padding-top: 52px;
    padding-bottom: 20px;
  }
  .apt-hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  .apt-hero-sub {
    font-size: 0.82rem;
  }
  .apt-stats {
    gap: 6px 12px;
  }
  .apt-stat {
    min-width: 55px;
    padding: 4px 6px;
  }
  .apt-stat-num {
    font-size: 0.88rem;
  }
  .apt-stat-label {
    font-size: 0.52rem;
  }
  .apt-variant-header {
    padding: 16px 14px 12px;
  }
  .apt-variant-header h3 {
    font-size: 1.2rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .amenity:hover,
  .health-card:hover,
  .mv-card:hover {
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .wa-float {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .to-top {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox[aria-hidden="false"] .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}
.lightbox-close svg {
  width: 24px;
  height: 24px;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(212, 175, 55, 0.4);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev svg,
.lightbox-next svg {
  width: 26px;
  height: 26px;
}
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
/* Gallery items cursor */
.gallery-grid figure {
  cursor: pointer;
}
/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }
  .lightbox-caption {
    font-size: 0.95rem;
    bottom: 16px;
    max-width: 80vw;
    white-space: normal;
  }
  .lightbox-img {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: 4px;
  }
}
@media (max-width: 480px) {
  .lightbox-prev,
  .lightbox-next {
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.4);
  }
  .lightbox-prev svg,
  .lightbox-next svg {
    width: 20px;
    height: 20px;
  }
}
