/* Lavoria Advisory — clean responsive stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --navy: #0b1626;
  --navy-2: #0f1e33;
  --navy-3: #141e2d;
  --gold: #c9984e;
  --gold-bright: #d5a75f;
  --white: #e9edf3;
  --muted: #91a0b6;
  --line: rgba(170, 184, 204, 0.16);
  --card: #101f32;
  --card-hover: #14263c;
  --max-width: 1240px;
  --page-gutter: clamp(22px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body, button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; }
::selection { background: rgba(201, 152, 78, .35); color: #fff; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid rgba(180, 190, 205, .08);
  background: rgba(11, 22, 38, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .25s ease, height .25s ease;
}
.site-header.scrolled { height: 78px; background: rgba(11, 22, 38, .97); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: #e4e9f1;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
}
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.main-nav > a:not(.nav-cta) {
  color: #a8b1c0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.main-nav > a:not(.nav-cta):hover { color: #fff; }
.nav-cta {
  padding: 12px 17px;
  border: 1px solid rgba(201, 152, 78, .6);
  color: var(--gold-bright);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--navy); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(850px, 100svh);
  padding: 170px var(--page-gutter) 110px;
  background:
    radial-gradient(ellipse at 16% 48%, rgba(201, 152, 78, .09), transparent 34%),
    linear-gradient(115deg, rgba(15, 30, 51, .32), transparent 60%),
    var(--navy);
}
.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 23%;
  width: min(28vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 152, 78, .10);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(201, 152, 78, .025), 0 0 0 76px rgba(201, 152, 78, .018);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: min(100%, var(--max-width)); margin: 0 auto; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 28px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow-line { width: 46px; height: 1px; background: var(--gold); flex: 0 0 auto; }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 7.1vw, 100px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 span { display: block; }
.hero h1 em { color: var(--gold-bright); font-style: italic; }
.hero-copy {
  max-width: 680px;
  margin: 30px 0 34px;
  color: #aab8ca;
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-bright); color: var(--navy); }
.button-primary:hover { background: #e2b970; }
.button-secondary { border-color: rgba(156, 174, 198, .35); color: #e7ebf1; }
.button-secondary:hover { border-color: var(--gold); background: rgba(255,255,255,.035); }
.scroll-label {
  position: absolute;
  right: var(--page-gutter);
  bottom: 28px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #637085;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.client-strip {
  position: relative;
  z-index: 2;
  min-height: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #121e30;
  border-top: 1px solid rgba(160,175,195,.09);
  border-bottom: 1px solid rgba(160,175,195,.09);
}
.client-track {
  display: flex;
  align-items: center;
  gap: clamp(30px, 6vw, 84px);
  width: max-content;
  padding: 0 28px;
  animation: marquee 32s linear infinite;
}
.client-track span {
  color: #8290a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  white-space: nowrap;
}
.client-strip:hover .client-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-35%); } }

.stats { padding: 76px var(--page-gutter); background: var(--navy); }
.stats-grid {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat { display: flex; flex-direction: column; justify-content: center; padding: 18px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.stat-label { color: #91a0b6; font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }

.main-container, .evidence-container, .cta-container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}
.main-container { padding: 95px var(--page-gutter); }
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-label::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--gold); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: clamp(30px, 7vw, 100px);
  margin-bottom: 55px;
}
.hero-heading, .evidence-title {
  margin: 0;
  color: #f0f4f8;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero-desc { max-width: 530px; margin: 0; color: #9aabc0; font-size: 15px; line-height: 1.85; }

.practices-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.practice-item {
  display: grid;
  grid-template-columns: 70px minmax(220px, 1fr) minmax(240px, 1fr) 24px;
  align-items: center;
  gap: 22px;
  padding: 28px 20px;
  color: inherit;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}
.practice-item:hover { padding-left: 26px; background: linear-gradient(90deg, rgba(201,152,78,.07), transparent 80%); }
.practice-number { color: var(--gold-bright); font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-style: italic; }
.practice-title { margin: 0; color: #e8edf5; font-family: "Playfair Display", Georgia, serif; font-size: clamp(21px, 2.1vw, 29px); font-weight: 400; line-height: 1.25; }
.practice-desc { margin: 0; color: #94a4b9; font-size: 13px; line-height: 1.75; }
.arrow-icon { justify-self: end; color: #65758b; font-size: 20px; transition: transform .2s ease, color .2s ease; }
.practice-item:hover .arrow-icon { color: var(--gold-bright); transform: translate(3px, -3px); }

.approach-section, .values-section { padding-top: 78px; padding-bottom: 78px; background: #0d1a2b; }
.approach-grid, .values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.approach-card, .value-card {
  min-height: 190px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.015);
}
.approach-number { display: block; margin-bottom: 24px; color: var(--gold-bright); font-family: "Playfair Display", Georgia, serif; font-size: 25px; }
.approach-card h3, .value-card h3 { margin: 0 0 10px; color: #edf1f7; font-size: 16px; font-weight: 600; }
.approach-card p, .value-card p { margin: 0; color: #93a3b8; font-size: 13px; line-height: 1.75; }
.values-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.value-card { min-height: 150px; padding: 22px 18px; }

.evidence-section { padding: 95px var(--page-gutter); background: var(--navy); }
.evidence-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.evidence-title { max-width: 780px; }
.case-studies-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-bright); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-studies-link:hover { opacity: .8; }
.case-studies-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.case-card { display: block; padding: clamp(25px, 4vw, 46px); border: 1px solid var(--line); background: linear-gradient(125deg, #122239, #0d1a2b 72%); transition: border-color .25s ease, transform .25s ease; }
.case-card:hover { border-color: rgba(201,152,78,.4); transform: translateY(-2px); }
.case-card h3 { margin: 0 0 8px; color: #f0f4f8; font-family: "Playfair Display", Georgia, serif; font-size: clamp(25px, 3vw, 36px); font-weight: 400; }
.case-card .case-category { margin: 0 0 22px; color: var(--gold-bright); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.case-card p { max-width: 900px; color: #a0afc2; font-size: 14px; line-height: 1.8; }
.case-card h4 { margin: 24px 0 10px; color: #e4eaf2; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.case-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 0; padding-left: 18px; color: #a0afc2; font-size: 13px; line-height: 1.7; }
.case-card li::marker { color: var(--gold); }

.cta-section {
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px var(--page-gutter);
  background: linear-gradient(110deg, #101f32, #0b1626 72%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-container { position: relative; }
.cta-accent-line { width: 46px; height: 2px; margin-bottom: 28px; background: var(--gold); }
.cta-title { max-width: 800px; margin: 0 0 20px; color: #f1f5f9; font-family: "Playfair Display", Georgia, serif; font-size: clamp(39px, 5.5vw, 68px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.cta-subtitle { max-width: 700px; margin: 0 0 30px; color: #a0afc2; font-size: 15px; line-height: 1.85; }
.cta-buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--gold-bright); color: var(--navy); }
.btn-primary:hover { background: #e2b970; transform: translateY(-2px); }
.btn-secondary { border: 1px solid rgba(255,255,255,.22); color: #e2e8f0; }
.btn-secondary:hover { border-color: var(--gold); transform: translateY(-2px); }

.site-footer { padding: 56px var(--page-gutter) 22px; background: #080f1b; }
.footer-columns {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand { margin-bottom: 15px; color: #f0f4f8; font-family: "Playfair Display", Georgia, serif; font-size: 24px; }
.site-footer p { max-width: 340px; margin: 0 0 10px; color: #8494aa; font-size: 12px; line-height: 1.8; }
.footer-column h3 { margin: 4px 0 18px; color: #e4eaf2; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-column a, .footer-column span { display: block; margin: 0 0 11px; color: #91a0b6; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.footer-column a:hover { color: var(--gold-bright); }
.footer-bottom {
  width: min(100%, var(--max-width));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6f7e92;
  font-size: 10px;
  line-height: 1.7;
}

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .site-header.scrolled { height: 72px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--page-gutter) 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(11,22,38,.98);
  }
  .main-nav.open { display: flex; flex-direction: column; }
  .main-nav > a:not(.nav-cta) { padding: 14px 0; }
  .nav-cta { margin-top: 10px; }
  .hero { min-height: 760px; padding-top: 150px; }
  .hero::after { right: -8%; top: 25%; opacity: .6; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .approach-grid, .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-item { grid-template-columns: 45px minmax(0, 1fr) 22px; gap: 15px; }
  .practice-desc { grid-column: 2 / 3; }
  .arrow-icon { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 600px) {
  :root { --page-gutter: 22px; }
  html { scroll-padding-top: 78px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; font-size: 17px; }
  .hero { min-height: 700px; padding-top: 135px; padding-bottom: 85px; }
  .hero h1 { font-size: clamp(46px, 12.5vw, 66px); letter-spacing: -.04em; }
  .hero-copy { margin: 24px 0 27px; font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .button { width: 100%; }
  .scroll-label { display: none; }
  .client-strip { min-height: 62px; }
  .client-track { gap: 30px; }
  .client-track span { font-size: 9px; letter-spacing: .12em; }
  .stats { padding-top: 45px; padding-bottom: 45px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 135px; padding: 22px 14px; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
  .stat:first-child { padding-left: 0; }
  .stat-value { font-size: 43px; }
  .stat-label { font-size: 9px; letter-spacing: .06em; }
  .main-container, .evidence-section { padding-top: 68px; padding-bottom: 68px; }
  .hero-heading, .evidence-title { font-size: clamp(34px, 9vw, 46px); }
  .practice-item { grid-template-columns: 34px minmax(0, 1fr) 18px; padding: 22px 4px; gap: 10px; }
  .practice-item:hover { padding-left: 8px; }
  .practice-number { font-size: 19px; }
  .practice-title { font-size: 21px; }
  .practice-desc { font-size: 12px; }
  .approach-grid, .values-grid { grid-template-columns: 1fr; }
  .approach-card, .value-card { min-height: auto; padding: 22px; }
  .approach-number { margin-bottom: 12px; }
  .evidence-header { align-items: flex-start; flex-direction: column; }
  .case-card { padding: 24px 20px; }
  .case-card ul { grid-template-columns: 1fr; }
  .cta-section { padding-top: 70px; padding-bottom: 70px; }
  .cta-title { font-size: clamp(36px, 10vw, 48px); }
  .cta-subtitle { font-size: 14px; }
  .cta-buttons { align-items: stretch; flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .footer-columns { grid-template-columns: 1fr; gap: 25px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 900px) {
  .menu-toggle {
    position: relative;
    z-index: 9999;
    pointer-events: auto;
    cursor: pointer;
  }

  .main-nav {
    z-index: 9998;
  }

  .main-nav.open {
    display: flex !important;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 0 !important;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-7px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translateY(0);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(7px);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }
}

/* LANGUAGE SWITCHER */
.language-switch { display:flex; align-items:center; gap:8px; flex:0 0 auto; color:rgba(201,152,78,.65); font-size:11px; }
.language-button { border:0; padding:7px 3px; background:transparent; color:#a8b1c0; cursor:pointer; font:700 11px "DM Sans",Arial,sans-serif; letter-spacing:.08em; }
.language-button:hover, .language-button.is-active { color:var(--gold-bright); }

/* ARABIC / RTL */
html[dir="rtl"] body { direction:rtl; font-family:"IBM Plex Sans Arabic","DM Sans",Arial,sans-serif; }
html[dir="rtl"] .brand, html[dir="rtl"] .main-nav, html[dir="rtl"] .language-switch { direction:rtl; }
html[dir="rtl"] .main-nav > a:not(.nav-cta), html[dir="rtl"] .nav-cta, html[dir="rtl"] .button, html[dir="rtl"] .btn-primary, html[dir="rtl"] .btn-secondary { letter-spacing:0; }
html[dir="rtl"] .hero-inner { align-items:flex-start; text-align:right; }
html[dir="rtl"] .hero::after { right:auto; left:8%; }
html[dir="rtl"] .scroll-label { right:auto; left:var(--page-gutter); }
html[dir="rtl"] .stat { border-left:0; border-right:1px solid var(--line); }
html[dir="rtl"] .stat:first-child { border-right:0; padding-right:0; padding-left:28px; }
html[dir="rtl"] .section-label { flex-direction:row; }
html[dir="rtl"] .section-label::before { order:2; }
html[dir="rtl"] .practice-item { direction:rtl; text-align:right; }
html[dir="rtl"] .practice-item:hover { padding-left:20px; padding-right:26px; }
html[dir="rtl"] .arrow-icon { justify-self:start; }
html[dir="rtl"] .case-card { text-align:right; }
html[dir="rtl"] .case-card ul { padding-left:0; padding-right:18px; }
html[dir="rtl"] .case-card li::marker { color:var(--gold); }
html[dir="rtl"] .cta-container, html[dir="rtl"] .footer-column, html[dir="rtl"] .footer-brand { text-align:right; }
html[dir="rtl"] .cta-accent-line { margin-right:0; margin-left:auto; }
html[dir="rtl"] .footer-bottom { direction:rtl; }
html[dir="rtl"] .client-track { animation-name:marquee-rtl; }
@keyframes marquee-rtl { from { transform:translateX(0); } to { transform:translateX(35%); } }
@media (max-width:900px) { .site-header { gap:12px; } .language-switch { margin-left:auto; } html[dir="rtl"] .language-switch { margin-left:0; margin-right:auto; } }
@media (max-width:600px) { html[dir="rtl"] .stat:nth-child(odd) { border-right:0; } html[dir="rtl"] .stat:first-child { padding-right:0; } html[dir="rtl"] .practice-item:hover { padding-right:8px; padding-left:4px; } }
