/* Allsopp & Allsopp — Darren Murphy microsite styles */

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

:root {
  --navy: #002E53;
  --navy-2: #1B4A70;
  --accent: #002E53;
  --accent-2: #1B4A70;
  --paper: #FFFFFF;
  --stone: #F5F6F7;
  --ink: #14181C;
  --ink-2: #3a4250;
  --line: #E3E6EA;
  --warm: #F2EDE4;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --section-y: 112px;
  --container-x: 40px;
  --headline-size: clamp(2.8rem, 5.5vw, 5.6rem);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20,24,28,0.04), 0 2px 8px rgba(20,24,28,0.04);
  --shadow-md: 0 4px 16px rgba(20,24,28,0.06), 0 12px 36px rgba(20,24,28,0.08);
  --shadow-lg: 0 12px 40px rgba(20,24,28,0.14), 0 30px 80px rgba(20,24,28,0.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* RTL adjustments */
html[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', var(--font-body); }
html[dir="rtl"] .hero-headline,
html[dir="rtl"] .section-h,
html[dir="rtl"] .mag-name,
html[dir="rtl"] .val-h { font-family: 'Tajawal', 'IBM Plex Sans Arabic', var(--font-display); font-weight: 600; }
html[dir="rtl"] .eyebrow-line { transform: scaleX(-1); }
html[dir="rtl"] .icon-flip { transform: scaleX(-1); }

button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--container-x);
}

.section { padding: var(--section-y) 0; }

/* =================== Top nav =================== */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, background 200ms;
}
.top-nav-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.94);
}
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px var(--container-x);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo { display: flex; align-items: center; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
html[dir="rtl"] .nav-links { margin-left: 0; margin-right: 32px; }
.nav-links a {
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 150ms;
}
.nav-links a:hover { color: var(--navy); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
html[dir="rtl"] .nav-actions { margin-left: 0; margin-right: auto; }
.nav-lang {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 150ms;
}
.nav-lang:hover { border-color: var(--navy); color: var(--navy); }
.nav-lang .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); display: inline-block; }
.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: all 150ms;
}
.nav-icon-btn:hover { border-color: var(--navy); color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  transition: background 150ms, transform 150ms;
}
.nav-cta:hover { background: var(--navy-2); transform: translateY(-1px); }
.nav-cta.wide { width: 100%; justify-content: center; padding: 14px 18px; }
.nav-lang.wide { width: 100%; justify-content: center; padding: 14px 18px; }
.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center; justify-content: center;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 100;
  display: flex; flex-direction: column;
}
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--container-x);
  border-bottom: 1px solid var(--line);
}
.drawer-head button { border: 0; background: transparent; padding: 8px; }
.drawer-links { display: flex; flex-direction: column; padding: 24px var(--container-x); gap: 4px; font-family: var(--font-display); font-size: 36px; line-height: 1.2; }
.drawer-links a { color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: auto; padding: 24px var(--container-x); display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); }

/* =================== Buttons =================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 0;
  transition: all 180ms;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,46,83,0.25); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebd5b; transform: translateY(-1px); }
.btn.wide { width: 100%; justify-content: center; padding: 16px 22px; }

/* =================== Hero — common =================== */
.hero { padding-top: 104px; padding-bottom: 80px; position: relative; overflow: hidden; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow-line { width: 36px; height: 1px; background: var(--navy); display: inline-block; }
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--headline-size);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 28px 0 24px;
  font-weight: 400;
  text-wrap: pretty;
}
.headline-soft { color: var(--ink); font-style: italic; font-weight: 300; }
.headline-name { color: var(--navy); display: inline-block; }
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-honour {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  background: var(--warm);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
}
.hero-honour svg { color: var(--navy); flex-shrink: 0; }
.hero-honour strong { font-weight: 600; }
.hero-honour .muted { color: var(--ink-2); }
.hero-honour.boxed {
  border-radius: 10px;
  padding: 16px 18px;
  align-items: flex-start;
  background: rgba(0,46,83,0.04);
  border: 1px solid rgba(0,46,83,0.1);
}

/* Hero — editorial split */
.hero-editorial { background: var(--paper); }
.hero-editorial .hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--container-x);
}
.hero-portrait .portrait-wrap {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--stone);
  border-radius: 4px;
  overflow: hidden;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-badge {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(0,46,83,0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 14px;
}
html[dir="rtl"] .portrait-badge { left: auto; right: 18px; }
.pb-name { font-weight: 600; font-size: 15px; }
.pb-role { font-size: 12.5px; opacity: 0.85; }

.hero-stats-wrap, .hero-cine-stats, .mag-stats {
  max-width: 1320px;
  margin: 80px auto 0;
  padding: 32px var(--container-x) 0;
  border-top: 1px solid var(--line);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num span { font-size: 0.6em; color: var(--accent-2); }
.stat-label { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; }

/* Hero — cinematic */
.hero-cinematic {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 200px;
  padding-bottom: 0;
  color: #fff;
}
.hero-cine-bg { position: absolute; inset: 0; z-index: -1; }
.hero-cine-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-cine-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,46,83,0.65) 0%, rgba(0,46,83,0.15) 35%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
}
.hero-cine-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--container-x) 64px;
  width: 100%;
}
.hero-cinematic .hero-eyebrow { color: #fff; }
.hero-cinematic .eyebrow-line { background: #fff; }
.hero-cinematic .headline-soft { color: rgba(255,255,255,0.85); }
.hero-cinematic .headline-name { color: #fff; }
.hero-cinematic .hero-sub { color: rgba(255,255,255,0.88); max-width: 620px; }
.hero-cinematic .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-cinematic .btn-ghost:hover { color: #fff; border-color: #fff; }
.hero-cinematic .hero-honour { background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); }
.hero-cinematic .hero-honour svg { color: #fff; }
.hero-cinematic .hero-honour .muted { color: rgba(255,255,255,0.75); }
.hero-cine-stats { border-top-color: rgba(255,255,255,0.2); margin-top: 56px; padding-bottom: 32px; }
.hero-cinematic .stat-num { color: #fff; }
.hero-cinematic .stat-label { color: rgba(255,255,255,0.75); }

/* Hero — magazine */
.hero-magazine { background: var(--warm); padding-top: 132px; padding-bottom: 72px; }
.mag-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--container-x);
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 32px;
  align-items: start;
}
.mag-meta { grid-column: 1; grid-row: 1; }
.mag-runner {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}
.mag-title { grid-column: 1; grid-row: 2; padding-top: 0; }
.mag-pre {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.2;
}
.mag-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--navy);
  margin: 0;
}
.mag-tagline {
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  max-width: 280px;
}
.mag-portrait {
  grid-column: 2; grid-row: 1 / span 2;
  position: relative;
  align-self: stretch;
}
.mag-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}
.mag-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 10px;
  text-align: center;
}
.mag-side {
  grid-column: 3; grid-row: 1 / span 2;
  display: flex; flex-direction: column;
  gap: 24px;
  align-self: end;
}
.mag-side .hero-sub { font-size: 16px; margin: 0; }
.mag-side .hero-ctas { margin: 0; flex-direction: column; align-items: stretch; }
.mag-side .btn { justify-content: center; }
.mag-stats { background: transparent; }

/* =================== Section heads =================== */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-eyebrow.light { color: #fff; }
.section-eyebrow.light .eyebrow-line { background: #fff; }
.section-h {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.section-sub {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0;
  line-height: 1.55;
}
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* =================== About =================== */
.about-section { background: var(--stone); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.about-bio { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 8px 0 32px; max-width: 540px; }
.about-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.meta-k { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.meta-v { font-size: 14px; font-weight: 500; color: var(--ink); }
.about-right { display: flex; flex-direction: column; gap: 18px; }
.approach-card {
  background: var(--paper);
  padding: 28px 32px;
  border-radius: 10px;
  border: 1px solid var(--line);
  position: relative;
}
.approach-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-2);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.approach-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 8px; color: var(--navy); letter-spacing: -0.01em; }
.approach-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* =================== Listings =================== */
.listings-section { background: var(--paper); }
.filter-chips { display: flex; gap: 6px; background: var(--stone); padding: 4px; border-radius: 999px; }
.chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 180ms;
}
.chip:hover { color: var(--navy); }
.chip-active { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.listing-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: all 250ms;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--stone);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms ease;
}
.listing-card:hover .card-media img { transform: scale(1.04); }
.card-sample {
  position: absolute; top: 12px; left: 12px;
  background: rgba(20,24,28,0.78);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
html[dir="rtl"] .card-sample { left: auto; right: 12px; }
.card-status {
  position: absolute; top: 12px; right: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
html[dir="rtl"] .card-status { right: auto; left: 12px; }
.card-body { padding: 22px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.card-loc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.card-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin: 0 0 10px; color: var(--ink); letter-spacing: -0.01em; }
.card-price { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.card-price .price-q { font-weight: 400; color: var(--ink-2); font-size: 13px; margin-left: 6px; }
.card-specs { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.card-specs span { display: inline-flex; align-items: center; gap: 6px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-tag { font-size: 11px; padding: 3px 9px; background: var(--stone); border-radius: 999px; color: var(--ink-2); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-ref { font-size: 11.5px; color: var(--ink-2); font-family: 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: 0.04em; }
.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
  border: 0;
  padding: 0;
}
.card-cta:hover { color: var(--accent-2); }

.feed-note {
  margin-top: 36px;
  padding: 16px 22px;
  background: var(--stone);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}
.feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2EA84F;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(46,168,79,0.15);
  animation: feedPulse 2s ease-in-out infinite;
}
@keyframes feedPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46,168,79,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(46,168,79,0.05); }
}

/* =================== Communities =================== */
.communities-section { background: var(--stone); }
.communities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.community-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.community-img { position: absolute; inset: 0; }
.community-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms; }
.community-card:hover .community-img img { transform: scale(1.06); }
.community-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%);
}
.community-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 1;
  color: #fff;
}
.community-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}
.community-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.community-cta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 250ms;
}
.community-card:hover .community-cta { opacity: 1; transform: translateY(0); }

/* =================== Valuation =================== */
.val-section { background: var(--navy); color: #fff; }
.val-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}
.val-h {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
}
.val-sub { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 540px; margin: 0 0 28px; }
.val-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.val-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,0.9); }
.val-list svg { color: var(--accent-2); background: rgba(255,255,255,0.1); padding: 4px; border-radius: 50%; width: 22px; height: 22px; }

.val-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.val-form .field { color: #fff; }
.val-form .field:first-child { grid-column: 1 / -1; }
.val-form .field span { color: rgba(255,255,255,0.7); }
.val-form .field input, .val-form .field select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.val-form .field input:focus, .val-form .field select:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}
.val-form .field select option { color: var(--ink); }
.val-success { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); padding: 28px; border-radius: 10px; text-align: center; }
.val-success h3 { font-family: var(--font-display); font-size: 24px; margin: 16px 0 8px; font-weight: 500; }
.val-success p { color: rgba(255,255,255,0.8); margin: 0 0 18px; }
.val-success a { color: #fff; text-decoration: underline; }

/* =================== Press =================== */
.press-section { background: var(--paper); }
.press-list { margin-top: 48px; border-top: 1px solid var(--line); }
.press-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1.2fr 2fr 110px;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 200ms;
}
.press-row:hover { background: var(--stone); padding-left: 12px; padding-right: 12px; margin-left: -12px; margin-right: -12px; }
.press-year { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--accent-2); letter-spacing: -0.02em; }
.press-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.press-issuer { font-size: 14px; color: var(--ink); font-weight: 500; }
.press-note { font-size: 13px; color: var(--ink-2); }
.press-verified { font-size: 11.5px; color: #2EA84F; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.press-verified svg { color: #2EA84F; }
.press-foot { margin-top: 32px; font-size: 13px; color: var(--ink-2); }
.press-foot code { background: var(--stone); padding: 2px 8px; border-radius: 4px; font-size: 12.5px; }

/* =================== Testimonials =================== */
.testimonials-section { background: var(--warm); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.testimonial {
  background: var(--paper);
  padding: 36px 32px 32px;
  border-radius: 10px;
  position: relative;
  margin: 0;
  border: 1px solid rgba(20,24,28,0.06);
}
.quote-mark { position: absolute; top: -6px; left: 24px; font-family: var(--font-display); font-size: 100px; line-height: 1; color: var(--navy); opacity: 0.15; }
html[dir="rtl"] .quote-mark { left: auto; right: 24px; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.testimonial figcaption strong { font-weight: 600; color: var(--ink); }
.testimonial figcaption .muted { color: var(--ink-2); font-size: 12.5px; }

/* =================== Modal =================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,24,28,0.5);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn 200ms;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border-radius: 14px;
  width: 100%;
  max-width: 940px;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 320ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.modal-close:hover { background: #fff; }
.modal-left {
  position: relative;
  background: var(--navy);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-left img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.modal-left::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,46,83,0.3) 0%, rgba(0,46,83,0.95) 80%);
}
.modal-left-card {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: 28px 24px 24px;
  color: #fff;
}
.modal-left-card .ml-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-top: 10px; }
.modal-left-card .ml-role { font-size: 12.5px; opacity: 0.8; margin-bottom: 14px; }
.modal-left-card .ml-honour { font-size: 11.5px; padding: 8px 12px; background: rgba(255,255,255,0.12); border-radius: 6px; display: flex; align-items: center; gap: 8px; }
.modal-left-card .ml-honour svg { color: #fff; flex-shrink: 0; }
.modal-left-card .ml-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 18px 0 14px; }
.modal-left-card .ml-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; opacity: 0.9; padding: 4px 0; }
.modal-right { padding: 36px 40px 32px; overflow-y: auto; }
.modal-step-indicator {
  display: flex; gap: 4px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.modal-step-indicator span { flex: 1; padding: 8px 0; border-top: 2px solid var(--line); }
.modal-step-indicator span.on { color: var(--navy); border-top-color: var(--navy); }
.modal-step-indicator em { font-style: normal; font-weight: 500; opacity: 0.8; margin-left: 4px; }
.modal-h { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin: 0 0 8px; color: var(--ink); letter-spacing: -0.01em; }
.modal-sub { color: var(--ink-2); font-size: 14.5px; margin: 0 0 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field-full { grid-column: 1 / -1; }
.field span { font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  outline: 0;
  transition: border 150ms, box-shadow 150ms;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,46,83,0.1);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #DC3545;
}
.field .err { font-style: normal; font-size: 11.5px; color: #DC3545; }
.modal-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }

.modal-success { text-align: center; padding: 8px 0; }
.success-tick { width: 56px; height: 56px; border-radius: 50%; background: #E4F4EA; color: #2EA84F; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.success-tick svg { width: 28px; height: 28px; }
.success-card { background: var(--stone); border-radius: 8px; padding: 20px 24px; margin: 24px 0; text-align: left; }
html[dir="rtl"] .success-card { text-align: right; }
.sc-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sc-row:last-child { border: 0; }
.sc-row span { color: var(--ink-2); }
.muted { color: var(--ink-2); }
.muted.small { font-size: 12.5px; }

/* =================== WhatsApp FAB =================== */
.wa-fab {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 50;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 200ms, box-shadow 200ms;
}
html[dir="rtl"] .wa-fab { right: auto; left: 24px; }
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.wa-hint {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  animation: hintPop 240ms cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
html[dir="rtl"] .wa-hint { right: auto; left: 64px; }
.wa-hint::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--ink);
}
html[dir="rtl"] .wa-hint::after { right: auto; left: -5px; border-left-color: transparent; border-right-color: var(--ink); }
@keyframes hintPop { from { opacity: 0; transform: translateY(-50%) translateX(8px); } to { opacity: 1; transform: translateY(-50%) translateX(0); } }

/* =================== Sticky mobile bar =================== */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px;
  gap: 8px;
  z-index: 50;
}
.sb-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.sb-btn svg { width: 18px; height: 18px; }
.sb-btn.sb-wa { background: #25D366; color: #fff; }
.sb-btn.sb-book { background: var(--navy); color: #fff; }

/* =================== Footer =================== */
.footer { background: var(--ink); color: #fff; padding: 80px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-tag { color: rgba(255,255,255,0.65); font-size: 14px; margin: 20px 0; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  transition: all 150ms;
}
.footer-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.footer-col h4 { font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 18px; }
.footer-col a, .footer-col > span { display: block; color: rgba(255,255,255,0.78); font-size: 13.5px; padding: 5px 0; transition: color 150ms; }
.footer-col a:hover { color: #fff; }
.office { margin-bottom: 18px; }
.office strong { display: block; color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.office span { display: block; color: rgba(255,255,255,0.6); font-size: 12.5px; padding: 1px 0; }
.office.muted-block strong { color: rgba(255,255,255,0.7); }
.footer-legal { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: rgba(255,255,255,0.55); flex-wrap: wrap; }
.footer-legal .muted { color: rgba(255,255,255,0.4); }

/* =================== Responsive =================== */
@media (max-width: 1100px) {
  .listings-grid, .communities-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .hero-editorial .hero-grid { gap: 48px; }
  .about-grid { gap: 48px; }
  .val-card { gap: 48px; }
  .mag-grid { grid-template-columns: 1fr 1fr; }
  .mag-meta { grid-column: 1 / -1; grid-row: 1; }
  .mag-title { grid-column: 1; grid-row: 2; }
  .mag-portrait { grid-column: 2; grid-row: 2 / span 2; }
  .mag-side { grid-column: 1 / -1; grid-row: 3; }
}

@media (max-width: 760px) {
  :root { --section-y: 72px; --container-x: 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta span, .nav-lang { display: none; }
  .nav-cta { padding: 10px 14px; }
  .nav-icon-btn { display: none; }
  .hero-editorial .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-headline { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .about-grid { grid-template-columns: 1fr; }
  .about-meta { grid-template-columns: 1fr 1fr; }
  .listings-grid, .communities-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .val-card { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .press-row { grid-template-columns: 60px 1fr; gap: 12px; padding: 18px 0; }
  .press-row > *:nth-child(n+3) { grid-column: 2; }
  .press-year { grid-row: 1 / span 5; font-size: 26px; }
  .modal { grid-template-columns: 1fr; max-height: 96vh; }
  .modal-left { display: none; }
  .modal-right { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .sticky-bar { display: flex; }
  .wa-fab { bottom: 84px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mag-grid { grid-template-columns: 1fr; }
  .mag-meta, .mag-title, .mag-portrait, .mag-side { grid-column: 1; grid-row: auto; }
  .hero-cinematic { min-height: auto; padding-top: 180px; }
}
