/* AHS Properties — investor microsite
   Palette, type, base. Tokens per design brief §5. */

:root {
  --bg: #F5F2EA;
  --surface: #FFFFFF;
  --text: #1E1E22;
  --muted: #6D716F;
  --primary: #252526;
  --secondary: #5E7377;
  --accent: #A57B52;
  --accent-deep: #7D5D3D;
  --border: #D8D0C2;
  --focus: #2F6F73;
  --hero: #111114;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --arabic: 'IBM Plex Sans Arabic', 'Noto Naskh Arabic', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(20, 20, 24, 0.04), 0 1px 1px rgba(20, 20, 24, 0.03);
  --shadow-md: 0 12px 32px -8px rgba(20, 20, 24, 0.12), 0 4px 12px rgba(20, 20, 24, 0.05);
  --shadow-lg: 0 32px 80px -16px rgba(20, 20, 24, 0.25);

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body[dir="rtl"] { font-family: var(--arabic); }

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

button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

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

::selection { background: var(--accent); color: #fff; }

/* Type utilities */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }
.display-light { font-family: var(--serif); font-weight: 300; line-height: 1.06; letter-spacing: -0.005em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--muted);
}
.eyebrow-light { color: rgba(255,255,255,0.72); }
.body-lg { font-size: 18px; line-height: 1.62; color: var(--text); }
.body-md { font-size: 15px; line-height: 1.6; color: var(--muted); }
.label-sm { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.serif-md { font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 400; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(80px, 12vw, 160px); }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }

.hairline { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 220ms cubic-bezier(.2, .7, .2, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.9); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--text); padding-bottom: 6px; border-bottom: 1px solid var(--accent);
  transition: gap 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn-link:hover { gap: 16px; color: var(--accent); border-color: var(--accent-deep); }
.btn-link.on-dark { color: #fff; border-color: var(--accent); }
.btn-link.on-dark:hover { color: #fff; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-size: 15px;
  color: var(--text);
  font-family: var(--sans);
  border-radius: 0;
  appearance: none;
  outline: none;
  transition: border-color 200ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--focus);
}
.field input::placeholder, .field textarea::placeholder { color: #B2AC9D; }
.field-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #fff;
  transition: background 280ms ease, color 280ms ease, padding 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(245, 242, 234, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: var(--text);
  padding-block: 12px;
  border-bottom-color: var(--border);
}
.nav-logo { font-family: var(--serif); font-size: 22px; letter-spacing: 0.32em; font-weight: 500; }
.nav-links { display: flex; gap: 36px; justify-content: center; align-items: center; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500;
  position: relative; padding: 6px 0;
  opacity: 0.86;
  transition: opacity 200ms ease;
}
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; gap: 18px; justify-content: flex-end; align-items: center; }
.nav-lang {
  display: flex; gap: 0; font-size: 10.5px; letter-spacing: 0.24em; font-weight: 500;
  border: 1px solid currentColor; padding: 0; opacity: 0.7;
}
.nav-lang button {
  padding: 6px 9px; opacity: 0.7; transition: opacity 180ms ease, background 180ms ease, color 180ms ease;
  border-right: 1px solid currentColor;
}
.nav-lang button:last-child { border-right: 0; }
.nav-lang button.active { opacity: 1; background: currentColor; }
.nav-lang button.active span { color: var(--bg); }
.nav.solid .nav-lang button.active span { color: var(--bg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
}

/* Hero */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: var(--hero);
  color: #fff;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  filter: brightness(0.78);
  will-change: transform;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.hero-inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(56px, 7vw, 96px);
  max-width: var(--container);
  margin-inline: auto;
  gap: 32px;
}
.hero-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.45);
  padding: 8px 16px;
  font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500;
}
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-chip.sold .dot { background: #d4af7a; }
.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(54px, 8.5vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.012em;
  max-width: 14ch;
  margin: 0;
}
.hero-title em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.92); }
.hero-sub { max-width: 56ch; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  right: var(--gutter); bottom: 56px;
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-counter {
  position: absolute;
  left: var(--gutter); top: calc(100svh - 200px);
  display: flex; align-items: baseline; gap: 14px;
  color: rgba(255,255,255,0.86);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
}
.hero-counter .num { font-family: var(--serif); font-size: 56px; letter-spacing: 0; line-height: 1; font-weight: 300; }

/* Sticky project pills (rail under hero) */
.project-rail {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.project-rail-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 22px var(--gutter); max-width: var(--container); margin-inline: auto;
  flex-wrap: wrap;
}
.project-rail .crumbs { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.project-rail .crumbs .sep { opacity: 0.5; }
.project-rail .crumbs .here { color: var(--text); }
.project-rail .quick { display: flex; gap: 28px; align-items: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.project-rail .quick a { color: var(--text); opacity: 0.7; transition: opacity 200ms ease; }
.project-rail .quick a:hover { opacity: 1; }
.project-rail .quick a.cta { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* Overview */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.overview-grid .left { position: sticky; top: 120px; }
.overview-grid h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04; letter-spacing: -0.01em;
  margin: 16px 0 0;
}
.overview-grid h2 em { font-style: italic; color: var(--accent); }
.overview-grid p { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 60ch; }
.overview-grid p + p { margin-top: 24px; }
.overview-grid .lead { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--text); font-weight: 400; }

/* Fact strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--border);
  margin-top: 56px;
}
.fact { padding: 28px 24px; border-right: 1px solid var(--border); }
.fact:last-child { border-right: 0; }
.fact .k { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.fact .v { font-family: var(--serif); font-size: 36px; line-height: 1.05; font-weight: 400; margin-top: 10px; }
.fact .v small { font-size: 14px; font-family: var(--sans); color: var(--muted); margin-left: 6px; letter-spacing: 0.06em; }
.fact .note { font-size: 11px; color: var(--muted); margin-top: 8px; }

@media (max-width: 800px) {
  .overview-grid { grid-template-columns: 1fr; }
  .overview-grid .left { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact { border-bottom: 1px solid var(--border); }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Location */
.location { background: var(--surface); }
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: stretch;
}
.location-map {
  position: relative;
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, #DDE5E5 0%, #BCC9CB 50%, #8FA5A8 100%);
  overflow: hidden;
  border: 1px solid var(--border);
}
.location-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.location-pin {
  position: absolute; left: 52%; top: 48%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
}
.location-pin::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px rgba(165, 123, 82, 0.18), 0 0 0 14px rgba(165, 123, 82, 0.08);
}
.location-pin::after {
  content: ''; position: absolute; inset: -28px;
  border-radius: 50%; border: 1px solid rgba(165,123,82,0.35);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.location-list { display: flex; flex-direction: column; gap: 0; }
.location-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.location-item:first-child { border-top: 1px solid var(--border); }
.location-item .name { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.location-item .dist { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }

/* Partners */
.partners { text-align: center; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 56px;
  border-block: 1px solid var(--border);
}
.partner-cell {
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1) brightness(0.6) contrast(1.2);
  opacity: 0.6;
  transition: filter 300ms ease, opacity 300ms ease, background 300ms ease;
  min-height: 120px;
  position: relative;
}
.partner-cell:last-child { border-right: 0; }
.partner-cell img { max-width: 130px; max-height: 56px; object-fit: contain; }
.partner-cell:hover { filter: none; opacity: 1; background: var(--surface); }
.partner-cell .role {
  position: absolute; left: 0; right: 0; bottom: 10px;
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity 300ms ease;
}
.partner-cell:hover .role { opacity: 1; }

@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-cell { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .partner-cell:nth-child(even) { border-right: 0; }
  .partner-cell:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Residences */
.residences { background: var(--surface); }
.residences-header {
  display: flex; align-items: end; justify-content: space-between; gap: 40px;
  margin-bottom: 56px;
}
.residences-header h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin: 12px 0 0; max-width: 18ch; letter-spacing: -0.005em; }
.residence-list { display: flex; flex-direction: column; }
.residence {
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  transition: background 280ms ease, padding 280ms ease;
  cursor: pointer;
}
.residence:last-child { border-bottom: 1px solid var(--border); }
.residence:hover { background: var(--bg); padding-inline: 24px; }
.residence .index { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.residence .name { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.15; }
.residence .desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.residence .meta { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text); text-align: right; }
.residence .meta small { display: block; color: var(--muted); font-size: 10.5px; margin-top: 4px; letter-spacing: 0.18em; }

@media (max-width: 800px) {
  .residence { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .residence .meta { text-align: left; }
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.amenity {
  position: relative;
  overflow: hidden;
  background-size: cover; background-position: center;
  color: #fff;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.amenity::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
}
.amenity:hover { transform: scale(1.01); }
.amenity .label {
  position: absolute; left: 24px; bottom: 22px; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.amenity .label .name { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.amenity .label .sub { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.86; }

.a-1 { grid-column: span 7; grid-row: span 2; }
.a-2 { grid-column: span 5; grid-row: span 1; }
.a-3 { grid-column: span 5; grid-row: span 1; }
.a-4 { grid-column: span 4; grid-row: span 2; }
.a-5 { grid-column: span 4; grid-row: span 1; }
.a-6 { grid-column: span 4; grid-row: span 1; }

@media (max-width: 900px) {
  .amenities-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .a-1, .a-2, .a-3, .a-4, .a-5, .a-6 { grid-column: span 1; grid-row: span 1; }
  .a-1 { grid-column: span 2; grid-row: span 2; }
}

/* Founder */
.founder { background: #1A1A1D; color: #fff; }
.founder-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.founder-portrait {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center top;
  background-color: #2a2a2f;
  position: relative;
}
.founder-portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}
.founder-text h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.06; letter-spacing: -0.005em; margin: 16px 0 32px;
}
.founder-text blockquote {
  margin: 0;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; font-weight: 300;
  color: rgba(255,255,255,0.92);
  border-left: 1px solid var(--accent); padding-left: 28px;
}
.founder-text .attr { margin-top: 24px; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.founder-text p { color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 56ch; margin: 28px 0 0; }

@media (max-width: 800px) { .founder-grid { grid-template-columns: 1fr; } }

/* Press */
.press-row {
  display: flex; gap: 64px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 32px 0;
  border-block: 1px solid var(--border);
  font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--muted); letter-spacing: 0.04em;
}
.press-row span { transition: color 220ms ease; }
.press-row span:hover { color: var(--text); }

/* CTA band */
.cta-band {
  background: var(--primary); color: #fff;
  padding-block: clamp(80px, 10vw, 140px);
}
.cta-grid {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}
.cta-band h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.04;
  margin: 16px 0 24px; letter-spacing: -0.005em;
}
.cta-band h2 em { font-style: italic; color: var(--accent); }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 48ch; }
.cta-card {
  border: 1px solid rgba(255,255,255,0.16);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: background 240ms ease, border-color 240ms ease;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
}
.cta-card:hover { background: rgba(255,255,255,0.06); border-color: var(--accent); }
.cta-card .num { font-family: var(--serif); color: var(--accent); font-size: 20px; }
.cta-card .title { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.15; }
.cta-card .desc { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; flex: 1; }
.cta-card .go {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #fff;
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 6px; border-bottom: 1px solid var(--accent); align-self: flex-start;
  transition: gap 220ms ease;
}
.cta-card:hover .go { gap: 18px; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: #0E0E10; color: rgba(255,255,255,0.7); padding-block: 80px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer h4 {
  font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.5); margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { transition: color 200ms ease; font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer .brand-block .word { font-family: var(--serif); font-size: 26px; letter-spacing: 0.32em; color: #fff; }
.footer .brand-block p { margin: 20px 0; max-width: 36ch; line-height: 1.65; font-size: 13.5px; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}

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

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab::after {
  content: ''; position: absolute; inset: -8px;
  border-radius: 50%; border: 1px solid rgba(37,211,102,0.4);
  animation: pulse 2.6s ease-out infinite;
}

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 14, 12, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn 280ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal {
  background: var(--bg);
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  position: relative;
  animation: slideUp 360ms cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow-lg);
}
.modal-lg { width: min(880px, 100%); }
.modal-head {
  padding: 36px 44px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: start; gap: 24px;
}
.modal-head h3 { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1.1; margin: 12px 0 8px; letter-spacing: -0.005em; }
.modal-head .sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 52ch; }
.modal-close {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.modal-body { padding: 28px 44px 36px; }
.modal-body > * + * { margin-top: 24px; }
.modal-foot { padding: 24px 44px 36px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.modal-foot .small { font-size: 11.5px; color: var(--muted); max-width: 36ch; line-height: 1.5; }

@media (max-width: 600px) {
  .modal-head, .modal-body, .modal-foot { padding-inline: 24px; }
}

/* Stepper / progress for multi-step form */
.stepper { display: flex; gap: 6px; margin-top: 12px; }
.stepper .step { flex: 1; height: 2px; background: var(--border); }
.stepper .step.done { background: var(--accent); }
.stepper .step.active { background: var(--text); }

/* Date picker grid */
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal .head { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 8px 0; }
.cal button {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: var(--surface);
  font-size: 14px;
  font-family: var(--serif);
  display: grid; place-items: center;
  transition: all 180ms ease;
}
.cal button:hover:not(:disabled) { border-color: var(--text); }
.cal button:disabled { color: #C8C2B3; background: transparent; cursor: not-allowed; }
.cal button.selected { background: var(--text); color: var(--bg); border-color: var(--text); }
.cal button.today { color: var(--accent); }

.timeslots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.timeslots button {
  padding: 12px 8px; border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; transition: all 180ms ease;
}
.timeslots button:hover { border-color: var(--text); }
.timeslots button.selected { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Lightbox */
.lb-backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(0,0,0,0.92);
  display: grid; place-items: center;
  animation: fadeIn 240ms ease;
}
.lb-img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb-close, .lb-nav {
  position: absolute; color: #fff; border: 1px solid rgba(255,255,255,0.3);
  width: 48px; height: 48px; display: grid; place-items: center;
  transition: background 180ms ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.12); }
.lb-close { top: 24px; right: 24px; }
.lb-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-meta { position: absolute; left: 32px; bottom: 28px; color: rgba(255,255,255,0.8); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }

/* Success state */
.success-screen {
  text-align: center; padding: 48px 24px;
}
.success-screen .seal {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  animation: pop 480ms cubic-bezier(.2,.7,.2,1);
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.success-screen h3 { font-family: var(--serif); font-weight: 300; font-size: 36px; margin: 8px 0; line-height: 1.1; }
.success-screen p { color: var(--muted); max-width: 44ch; margin: 16px auto 0; line-height: 1.6; }

/* Gallery */
.gallery-wrap { background: var(--bg); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  grid-auto-rows: 200px;
}
.gallery-tile {
  background-size: cover; background-position: center;
  cursor: zoom-in; overflow: hidden; position: relative;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.gallery-tile:hover { transform: scale(1.01); }
.gallery-tile::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(20,20,24,0); transition: background 300ms ease;
}
.gallery-tile:hover::after { background: rgba(20,20,24,0.15); }
.g-1 { grid-column: span 3; grid-row: span 2; }
.g-2 { grid-column: span 3; grid-row: span 1; }
.g-3 { grid-column: span 3; grid-row: span 1; }
.g-4 { grid-column: span 2; grid-row: span 2; }
.g-5 { grid-column: span 2; grid-row: span 1; }
.g-6 { grid-column: span 2; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6 { grid-column: span 1; grid-row: span 1; }
  .g-1 { grid-column: span 2; grid-row: span 2; }
}

/* RTL adjustments */
body[dir="rtl"] .eyebrow,
body[dir="rtl"] .label-sm,
body[dir="rtl"] .btn,
body[dir="rtl"] .btn-link {
  letter-spacing: 0.04em;
}
body[dir="rtl"] .hero-scroll { writing-mode: vertical-lr; transform: rotate(0deg); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Other smaller bits */
.dividend { display: flex; align-items: center; gap: 16px; }
.dividend::before, .dividend::after { content: ''; flex: 1; height: 1px; background: var(--border); }
