/* ============================================================
   WALLIRA ADVISORY PARTNERS — MAIN STYLESHEET
   styles.css | Version 2.0
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy: #0B1E3A;
  --navy-mid: #122850;
  --charcoal: #1C2939;
  --gold: #B8923A;
  --gold-light: #D4AE6A;
  --gold-pale: rgba(184,146,58,0.08);
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --grey-light: #EEECEA;
  --grey-mid: #C4BFB8;
  --grey-text: #6B6560;
  --teal: #2A7F7F;
  --success: #2E7D52;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Figtree', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1200px;
  --nav-height: 74px;
  --section-pad: 6rem 4rem;
  --transition: 0.28s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; border: none; }

/* ── Navigation ─────────────────────────────────────────────── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(11,30,58,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,146,58,0.18);
  display: flex; align-items: center; justify-content: space-between;
  direction: ltr; /* keep flex axis fixed; RTL reordering done via 'order' below */
  padding: 0 3.5rem;
  transition: box-shadow var(--transition);
}
#main-nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.35); }

.nav-logo { display: flex; align-items: center; cursor: pointer; }
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 1.8rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  cursor: pointer; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }

.nav-cta-btn {
  background: var(--gold); color: var(--navy);
  padding: 0.55rem 1.5rem;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: all var(--transition);
}
.nav-cta-btn:hover { background: transparent; color: var(--gold); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: rgba(11,30,58,0.99); z-index: 999;
  padding: 2rem; border-bottom: 1px solid rgba(184,146,58,0.2);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a {
  font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); cursor: pointer;
  display: block; padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu a:hover { color: var(--gold-light); }

/* ── Language Button ─────────────────────────────────────────── */
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid rgba(184,146,58,0.4);
  color: rgba(255,255,255,0.75); cursor: pointer;
  padding: 5px 10px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: all 0.2s; white-space: nowrap;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.lang-btn svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   NAV-RIGHT — groups [lang-selector] + [hamburger]
   HTML order:  <nav> .nav-logo | .nav-links | .nav-right </nav>

   LTR (default):
     [LOGO] ─────────── [nav-links] ─────────── [🌐 ☰]

   RTL (Arabic/Persian/Urdu):
     [☰ 🌐] ─────────── [nav-links] ─────────── [LOGO]

   We achieve RTL by changing the CSS `order` of the three
   direct children of #main-nav.  No flex-direction tricks,
   no direction: rtl on the nav — those cause side-effects.
   #main-nav always stays direction:ltr (explicit, stable).
══════════════════════════════════════════════════════════ */
.nav-right {
  display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0;
}

/* ── Language dropdown ─────────────────────────────────────
   Default (LTR): right:0  →  right-edge of button, opens leftward
   ─────────────────────────────────────────────────────── */
.lang-selector { position: relative; }
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px);
  right: 0; left: auto;
  background: var(--navy); border: 1px solid rgba(184,146,58,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); min-width: 180px; z-index: 1100;
}
.lang-dropdown.open { display: block; animation: langIn 0.18s ease; }
@keyframes langIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.lang-option {
  display: block; width: 100%; text-align: left;
  background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,0.72); font-size: 0.82rem;
  padding: 10px 14px; transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover  { background: rgba(184,146,58,0.12); color: var(--gold-light); }
.lang-option.active { color: var(--gold); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   RTL OVERRIDES — Arabic, Persian, Urdu
════════════════════════════════════════════════════════════ */
[dir="rtl"] body { font-family: 'Segoe UI', Tahoma, 'Arial Unicode MS', Arial, sans-serif; }

/* NAV: reorder the three direct flex children using `order`.
   #main-nav keeps direction:ltr so coordinates stay predictable.
   Default order is 0 for all — we just shift logo to the end.  */
[dir="rtl"] .nav-logo  { order: 3; }   /* logo moves to RIGHT  */
[dir="rtl"] .nav-links { order: 2; flex-direction: row-reverse; }   /* links stay in middle, reversed */
[dir="rtl"] .nav-right { order: 1; }   /* controls move to LEFT */

/* Inside nav-right the items stay in source order: [lang][☰]
   In RTL nav-right is on the LEFT side of the screen, so
   the dropdown must open RIGHTWARD (left:0) not leftward.  */
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-option   { text-align: right; }

/* Mobile menu */
[dir="rtl"] .mobile-menu ul { direction: rtl; }
[dir="rtl"] .mobile-menu a  { text-align: right; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* Content */
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-eyebrow { justify-content: flex-end; }
[dir="rtl"] .hero-stats { justify-content: flex-end; }
[dir="rtl"] .btn-group { justify-content: flex-end; }
[dir="rtl"] .section-eyebrow { text-align: right; flex-direction: row-reverse; }
[dir="rtl"] .section-eyebrow::before { display: none; }
[dir="rtl"] .section-eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
[dir="rtl"] .section-title { text-align: right; }
[dir="rtl"] .section-lead { text-align: right; }
[dir="rtl"] .prop-item { text-align: right; }
[dir="rtl"] .prop-icon { align-self: flex-end; }
[dir="rtl"] .grid-2, [dir="rtl"] .grid-3 { direction: rtl; }
[dir="rtl"] .grid-2 > *, [dir="rtl"] .grid-3 > * { direction: ltr; text-align: right; }

/* Forms */
[dir="rtl"] .form-label { text-align: right; display: block; }
[dir="rtl"] .form-group { direction: rtl; }
[dir="rtl"] .form-input, [dir="rtl"] .form-select, [dir="rtl"] .form-textarea { text-align: right; direction: rtl; }
[dir="rtl"] .form-hint { text-align: right; }
[dir="rtl"] .checkbox-row { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .form-panel-title, [dir="rtl"] .form-panel-sub { text-align: right; }

/* Footer */
[dir="rtl"] .footer-main { direction: rtl; }
[dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .footer-col ul { padding-right: 0; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }

/* Quote / service blocks */
[dir="rtl"] .quote-block { border-left: none; border-right: 3px solid var(--gold); padding-left: 0; padding-right: 1.5rem; text-align: right; }
[dir="rtl"] .service-card { text-align: right; }
[dir="rtl"] .page-banner-inner { text-align: right; }
[dir="rtl"] .sector-card, [dir="rtl"] .stat-block { text-align: right; }
[dir="rtl"] .split-section { direction: rtl; }
[dir="rtl"] .split-content { direction: ltr; text-align: right; }

/* Chat widget */
[dir="rtl"] .wc-panel  { right: auto; left: 28px; }
[dir="rtl"] .wc-btn    { right: auto; left: 28px; }
[dir="rtl"] .wc-nudge  { right: auto; left: 28px; }
[dir="rtl"] .wc-head-left { flex-direction: row-reverse; }
[dir="rtl"] .wc-msg--bot  { flex-direction: row-reverse; }
[dir="rtl"] .wc-msg--user { flex-direction: row; }
[dir="rtl"] .wc-msg--bot .wc-bubble { border-left: none; border-right: 2px solid var(--gold); text-align: right; }
[dir="rtl"] .wc-msg--user .wc-bubble { text-align: right; }
[dir="rtl"] .wc-input-row { direction: rtl; }
[dir="rtl"] .wc-input  { text-align: right; direction: rtl; }
[dir="rtl"] .wc-chips  { direction: rtl; }
[dir="rtl"] .wc-chip   { text-align: right; border-left: 1px solid rgba(184,146,58,0.4); border-right: 2px solid var(--gold); }
[dir="rtl"] .wc-foot   { direction: rtl; }

@media (max-width: 480px) {
  [dir="rtl"] .wc-panel  { left: 8px; right: auto; }
  [dir="rtl"] .wc-btn    { left: 16px; right: auto; }
  [dir="rtl"] .wc-nudge  { left: 8px; right: auto; }
}

/* ── Cookie Consent Banner ───────────────────────────────────── */
#cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy); border-top: 2px solid var(--gold);
  padding: 16px 3.5rem; display: flex; align-items: center;
  gap: 1.5rem; justify-content: space-between;
  transform: translateY(100%); transition: transform 0.4s ease;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.35);
}
#cookie-consent.show { transform: translateY(0); }
.cookie-text {
  font-size: 0.82rem; color: rgba(255,255,255,0.75);
  line-height: 1.55; flex: 1;
}
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--gold); color: var(--navy);
  border: none; cursor: pointer; padding: 8px 22px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; transition: background 0.2s;
}
.cookie-accept:hover { background: var(--gold-light); }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  padding: 8px 18px; font-size: 0.78rem; letter-spacing: 0.06em;
  text-transform: uppercase; transition: all 0.2s;
}
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
[dir="rtl"] #cookie-consent { direction: rtl; padding: 16px 3.5rem; }

@media (max-width: 720px) {
  #cookie-consent { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 16px 1.5rem; }
  .cookie-btns { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}



/* ── Pages ──────────────────────────────────────────────────── */
.page { display: none; padding-top: var(--nav-height); }
.page.active { display: block; animation: pageIn 0.4s ease; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Section Layouts ────────────────────────────────────────── */
.section { padding: var(--section-pad); }
.section--white { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section--grey { background: var(--grey-light); }
.section--navy { background: var(--navy); }
.section--charcoal { background: var(--charcoal); }

.section-inner { max-width: var(--max-width); margin: 0 auto; }

.section-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 400; line-height: 1.18;
  color: var(--navy); margin-bottom: 1.1rem;
}
.section-title--white { color: var(--white); }
.section-title--gold { color: var(--gold-light); }

.section-lead {
  font-size: 1rem; font-weight: 300;
  color: var(--grey-text); max-width: 600px;
  line-height: 1.82;
}
.section-lead--white { color: rgba(255,255,255,0.62); }

/* ── Grid Utilities ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.grid-col-full { grid-column: 1 / -1; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.88rem 2.2rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-navy {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn-sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.72rem;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-group--center { justify-content: center; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 94vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=1800&q=80');
  background-size: cover; background-position: center;
  opacity: 0.14;
  transition: opacity 0.3s;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: 
    linear-gradient(120deg, rgba(11,30,58,0.98) 0%, rgba(11,30,58,0.85) 50%, rgba(11,30,58,0.7) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(184,146,58,0.05) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,146,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,146,58,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 3rem 4rem; width: 100%;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.8rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--white); max-width: 820px;
  margin-bottom: 1.8rem; letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.62); max-width: 560px;
  line-height: 1.78; margin-bottom: 2.8rem;
}
.hero-stats {
  display: flex; gap: 3rem;
  margin-top: 4.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 540px;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.1rem; font-weight: 300; color: var(--gold-light);
}
.hero-stat-label {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-top: 0.15rem;
}

/* ── Photo Sections ─────────────────────────────────────────── */
.photo-section {
  position: relative; overflow: hidden;
  min-height: 380px; display: flex; align-items: center;
}
.photo-section img.bg-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.photo-section .photo-overlay {
  position: absolute; inset: 0; background: rgba(11,30,58,0.82); z-index: 1;
}
.photo-section .photo-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 5rem 4rem; width: 100%;
}

/* ── Proposition Strip ──────────────────────────────────────── */
.prop-strip { background: var(--off-white); }
.prop-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--grey-light);
  max-width: var(--max-width); margin: 0 auto;
}
.prop-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--grey-light);
  transition: background var(--transition);
  position: relative; overflow: hidden;
}
.prop-item:last-child { border-right: none; }
.prop-item::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.35s ease;
}
.prop-item:hover { background: var(--white); }
.prop-item:hover::after { width: 100%; }
.prop-icon { font-size: 1.5rem; margin-bottom: 1rem; color: var(--gold); }
.prop-title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.5rem;
}
.prop-text { font-size: 0.84rem; color: var(--grey-text); line-height: 1.72; }

/* ── Service Cards ─────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--grey-light); margin-top: 2.5rem;
}
.service-card {
  background: var(--white); padding: 2.8rem 2.4rem;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--gold);
  transition: width 0.4s ease;
}
.service-card:hover { background: var(--off-white); }
.service-card:hover::after { width: 100%; }
.service-num {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 300;
  color: var(--grey-light); line-height: 1; margin-bottom: 0.8rem;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.75rem;
}
.service-text {
  font-size: 0.84rem; color: var(--grey-text);
  line-height: 1.75; margin-bottom: 1.3rem;
}
.service-link {
  font-size: 0.71rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  cursor: pointer;
}
.service-link:hover { color: var(--navy); }

/* ── Sector Cards ─────────────────────────────────────────── */
.sectors-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--grey-light); margin-top: 2.5rem;
}
.sector-card {
  background: var(--white); padding: 2rem 1.4rem;
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.sector-card:hover { background: var(--navy); }
.sector-icon { font-size: 1.8rem; margin-bottom: 0.75rem; display: block; transition: color var(--transition); }
.sector-name {
  font-family: var(--font-serif);
  font-size: 0.95rem; font-weight: 500;
  color: var(--navy); margin-bottom: 0.4rem;
  transition: color var(--transition);
}
.sector-desc {
  font-size: 0.73rem; color: var(--grey-text);
  line-height: 1.55; transition: color var(--transition);
}
.sector-card:hover .sector-name { color: var(--white); }
.sector-card:hover .sector-desc { color: rgba(255,255,255,0.55); }

/* ── Sector Full ─────────────────────────────────────────── */
.sector-full-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.sector-full {
  background: var(--white); border: 1px solid var(--grey-light);
  padding: 2.5rem;
  transition: border-color var(--transition);
  position: relative; overflow: hidden;
}
.sector-full::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--gold);
  transition: height 0.4s ease;
}
.sector-full:hover { border-color: rgba(184,146,58,0.4); }
.sector-full:hover::before { height: 100%; }
.sector-tag {
  font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.5rem;
}
.sector-full-title {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.75rem;
}
.sector-full-text {
  font-size: 0.84rem; color: var(--grey-text);
  line-height: 1.75; margin-bottom: 1.2rem;
}
.use-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.4rem; }
.use-tag {
  font-size: 0.71rem; background: var(--off-white);
  color: var(--charcoal); padding: 0.28rem 0.8rem;
  border: 1px solid var(--grey-light);
}

/* ── Service Full Page ──────────────────────────────────────── */
.service-full {
  padding: 3rem 0; border-bottom: 1px solid var(--grey-light);
}
.service-full:last-child { border-bottom: none; }
.service-full-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start;
}
.service-full-tag {
  font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.4rem;
}
.service-full-title {
  font-family: var(--font-serif);
  font-size: 1.55rem; font-weight: 400; color: var(--navy);
}
.service-full-body p {
  font-size: 0.9rem; color: var(--grey-text);
  line-height: 1.82; margin-bottom: 1rem;
}
.service-full-body strong { color: var(--charcoal); }
.service-points {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem; margin-top: 1.2rem;
}
.service-point {
  font-size: 0.84rem; color: var(--charcoal);
  display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5;
}
.service-point::before { content: '›'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── Use Cases ──────────────────────────────────────────────── */
.usecase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem;
}
.usecase-card {
  background: var(--off-white); padding: 2.5rem;
  position: relative; overflow: hidden;
  border-left: 3px solid transparent;
  transition: border-color var(--transition);
}
.usecase-card:hover { border-color: var(--gold); }
.uc-num {
  font-family: var(--font-serif);
  font-size: 3.2rem; font-weight: 300;
  color: var(--grey-light); line-height: 1; margin-bottom: 0.4rem;
}
.uc-title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 500; color: var(--navy);
  margin-bottom: 1rem; line-height: 1.35;
}
.uc-label {
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-top: 1rem; margin-bottom: 0.3rem;
}
.uc-text { font-size: 0.83rem; color: var(--grey-text); line-height: 1.7; }

/* ── Process ─────────────────────────────────────────────────── */
.process-diagram-wrap {
  margin-top: 3rem; overflow-x: auto;
  background: transparent; padding: 1rem 0;
}
.process-diagram-wrap img { max-width: 100%; height: auto; }

/* ── Why Fail Section ────────────────────────────────────────── */
.fail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2.5rem; }
.fail-list { list-style: none; }
.fail-list li {
  padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.9rem; color: rgba(255,255,255,0.68);
  display: flex; align-items: flex-start; gap: 1rem; line-height: 1.6;
}
.fail-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; font-weight: 600; }
.fail-right h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem; font-weight: 400; color: var(--white);
  margin-bottom: 1.2rem; line-height: 1.3;
}
.fail-right p {
  font-size: 0.88rem; color: rgba(255,255,255,0.58);
  line-height: 1.82; margin-bottom: 1.4rem;
}

/* ── About Page ─────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-text p {
  font-size: 0.94rem; color: var(--grey-text);
  line-height: 1.85; margin-bottom: 1.4rem;
}
.about-sidebar { background: var(--off-white); padding: 3rem; }
.stage-list { list-style: none; margin-top: 1.2rem; }
.stage-list li {
  padding: 0.85rem 0; border-bottom: 1px solid var(--grey-light);
  font-size: 0.87rem; color: var(--charcoal);
  display: flex; align-items: center; gap: 1rem;
}
.stage-list li::before {
  content: ''; width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; flex-shrink: 0;
}
.capability-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.capability-pill {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.38rem 0.9rem;
  border: 1px solid var(--grey-mid); color: var(--charcoal);
  background: var(--white);
}

/* ── Quote Block ─────────────────────────────────────────────── */
.quote-block {
  border-left: 3px solid var(--gold); padding: 1.5rem 2rem;
  background: var(--off-white); margin: 2rem 0;
}
.quote-block p {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-style: italic; font-weight: 400;
  color: var(--navy); line-height: 1.5;
}
.quote-block--white { background: rgba(255,255,255,0.06); }
.quote-block--white p { color: rgba(255,255,255,0.85); }

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--gold); padding: 5rem 4rem;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400; color: var(--navy);
  margin-bottom: 0.75rem;
}
.cta-banner p { color: var(--navy); opacity: 0.72; margin-bottom: 2.2rem; }
.cta-banner .section-inner { max-width: var(--max-width); margin: 0 auto; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.form-panel { background: var(--white); padding: 3rem; }
.form-panel-title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 500; color: var(--navy); margin-bottom: 0.4rem;
}
.form-panel-sub { font-size: 0.82rem; color: var(--grey-text); margin-bottom: 2rem; line-height: 1.65; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--charcoal);
}
.form-input, .form-select, .form-textarea {
  padding: 0.82rem 1rem;
  border: 1px solid var(--grey-mid);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.88rem; color: var(--charcoal);
  outline: none; width: 100%;
  transition: border-color var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6560'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.checkbox-row {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.83rem; color: var(--grey-text); line-height: 1.6;
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--gold); cursor: pointer; }
.form-hint { font-size: 0.74rem; color: var(--grey-text); margin-top: 0.25rem; }

/* Form notification */
.form-notification {
  padding: 1rem 1.5rem; margin-bottom: 1.5rem;
  font-size: 0.88rem; display: none;
}
.form-notification.success { background: #e8f5ee; color: var(--success); border-left: 3px solid var(--success); display: block; }
.form-notification.error { background: #fde8e8; color: #c0392b; border-left: 3px solid #c0392b; display: block; }

/* ── Insights ────────────────────────────────────────────────── */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.insight-card {
  border-top: 2px solid var(--grey-light); padding-top: 1.5rem;
  cursor: pointer; transition: border-color var(--transition);
}
.insight-card:hover { border-color: var(--gold); }
.insight-tag {
  font-size: 0.67rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.75rem;
}
.insight-title {
  font-family: var(--font-serif);
  font-size: 1.12rem; font-weight: 500; color: var(--navy);
  line-height: 1.35; margin-bottom: 0.8rem;
}
.insight-preview {
  font-size: 0.83rem; color: var(--grey-text);
  line-height: 1.7; margin-bottom: 1rem;
}
.insight-read {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s, opacity 0.2s;
}
.insight-read:hover { gap: 8px; opacity: 0.8; }
.insight-card { cursor: pointer; }

/* ── Contact Page ────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 500; color: var(--navy);
  margin-bottom: 0.5rem; margin-top: 2rem;
}
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info p, .contact-info a {
  font-size: 0.88rem; color: var(--grey-text); line-height: 1.7;
}
.contact-info a:hover { color: var(--navy); }
.contact-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: var(--white);
  padding: 0.5rem 1.2rem; margin-top: 0.4rem;
  font-size: 0.82rem; font-weight: 500;
}
.contact-note {
  margin-top: 2.5rem; padding: 1.5rem;
  border: 1px solid var(--grey-light); background: var(--off-white);
}
.contact-note p { font-size: 0.81rem; color: var(--grey-text); line-height: 1.72; }

/* ── Page Banners ────────────────────────────────────────────── */
.page-banner {
  background: var(--navy); padding: 5.5rem 4rem 4.5rem;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,146,58,0.06) 0%, transparent 70%);
}
.page-banner-inner { max-width: var(--max-width); margin: 0 auto; }
.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; color: var(--white);
  max-width: 700px; line-height: 1.18; margin-top: 0.5rem;
}
.page-banner p {
  color: rgba(255,255,255,0.58);
  max-width: 560px; line-height: 1.82;
  margin-top: 1rem; font-size: 0.95rem; font-weight: 300;
}

/* ── Image Panels ────────────────────────────────────────────── */
.img-panel {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; position: relative;
}
.img-panel img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.img-panel:hover img { transform: scale(1.02); }
.img-panel-tall { aspect-ratio: 3/4; }
.img-panel-sq { aspect-ratio: 1; }

/* ── Two-tone split ────────────────────────────────────────── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 480px;
}
.split-img {
  position: relative; overflow: hidden;
}
.split-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.split-content {
  padding: 5rem 4rem; display: flex; flex-direction: column; justify-content: center;
}

/* ── Value Highlight ─────────────────────────────────────────── */
.value-items { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.value-item {
  padding: 2.2rem; background: var(--white);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}
.value-item:hover { border-color: var(--gold); }
.value-item-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 500; color: var(--navy); margin-bottom: 0.6rem;
}
.value-item-text { font-size: 0.85rem; color: var(--grey-text); line-height: 1.75; }

/* ── Who Engages ─────────────────────────────────────────────── */
.who-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.who-list li {
  font-size: 0.88rem; color: var(--grey-text);
  display: flex; align-items: flex-start; gap: 0.8rem; line-height: 1.55;
}
.who-list li::before { content: '›'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.5); }
.footer-main {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 4rem; padding: 5rem 4rem 4rem;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.83rem; line-height: 1.78; margin-bottom: 1.4rem; }
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic; font-size: 0.92rem; color: var(--gold-light);
}
.footer-col h4 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 1.3rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul li a {
  font-size: 0.83rem; color: rgba(255,255,255,0.52);
  cursor: pointer; transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact-item {
  font-size: 0.82rem; color: rgba(255,255,255,0.52); margin-bottom: 0.5rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem 4rem;
  max-width: 100%; margin: 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.76rem; color: rgba(255,255,255,0.38);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --section-pad: 5rem 3rem; }
  #main-nav { padding: 0 2.5rem; }
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 900px) {
  :root { --section-pad: 4rem 2rem; }
  .hero-content { padding: 3rem 2rem; }
  .grid-2, .about-grid, .fail-grid, .contact-layout,
  .form-layout, .split-section, .value-items,
  .service-full-layout { grid-template-columns: 1fr; gap: 2rem; }
  .split-img { min-height: 300px; position: relative; }
  .split-img img { position: relative; width: 100%; height: 300px; object-fit: cover; }
  .usecase-grid { grid-template-columns: 1fr; }
  .sector-full-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .service-points { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem 2rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 4rem 2rem 3rem; }
  .photo-section .photo-content { padding: 4rem 2rem; }
}

/* ── File Upload ─────────────────────────────────────────────── */
.file-upload-btn {
  cursor: pointer; background: var(--navy); color: #fff;
  padding: 0.5rem 1.2rem; font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-block; flex-shrink: 0;
  transition: background var(--transition);
}
.file-upload-btn:hover { background: var(--charcoal); }

/* ══════════════════════════════════════════════════════════════
   INSIGHT DRAWER
══════════════════════════════════════════════════════════════ */
.insight-drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(3px);
}
.insight-drawer-overlay.open { display: block; }

.insight-drawer {
  position: fixed; top: 0; right: -100%; width: min(680px,100%);
  height: 100%; z-index: 2001; overflow-y: auto;
  background: var(--off-white); box-shadow: -8px 0 60px rgba(0,0,0,0.35);
  transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
.insight-drawer.open { right: 0; }

[dir="rtl"] .insight-drawer { right: auto; left: -100%; transition: left 0.38s cubic-bezier(0.4,0,0.2,1); }
[dir="rtl"] .insight-drawer.open { left: 0; right: auto; }

.insight-drawer-header {
  background: var(--navy); padding: 2rem 2.5rem 1.5rem;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  position: sticky; top: 0; z-index: 1;
}
.insight-drawer-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.insight-drawer-title { font-family: 'Cormorant Garamond',serif; font-size: 1.55rem;
  font-weight: 600; color: #fff; line-height: 1.3; }
.insight-drawer-close {
  background: transparent; border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7); cursor: pointer; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 1.1rem; transition: all 0.2s; margin-top: 2px;
}
.insight-drawer-close:hover { border-color: var(--gold); color: var(--gold); }

.insight-drawer-body { padding: 2.5rem; flex: 1; }
.insight-drawer-body h3 {
  font-family: 'Cormorant Garamond',serif; font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin: 1.8rem 0 0.6rem;
}
.insight-drawer-body h3:first-child { margin-top: 0; }
.insight-drawer-body p { color: var(--charcoal); line-height: 1.75; margin-bottom: 1rem; font-size: 0.97rem; }
.insight-drawer-body ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.insight-drawer-body ul li { color: var(--charcoal); line-height: 1.7; margin-bottom: 0.35rem; font-size: 0.95rem; }
[dir="rtl"] .insight-drawer-body { text-align: right; }
[dir="rtl"] .insight-drawer-body ul { padding-left: 0; padding-right: 1.4rem; }
[dir="rtl"] .insight-drawer-header { flex-direction: row-reverse; }

.insight-drawer-footer {
  padding: 1.5rem 2.5rem; border-top: 1px solid var(--grey-light);
  background: #fff; display: flex; gap: 1rem; flex-wrap: wrap;
}

/* ── Social Icons ─────────────────────────────────────────────── */
.footer-social {
  display: flex; gap: 0.75rem; margin-top: 1.5rem; align-items: center;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(184,146,58,0.35);
  color: rgba(255,255,255,0.55);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,146,58,0.08);
}
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
