/* ==========================================================================
   مكتب دبي القاهرة للمحاماة والاستشارات القانونية — approved design (design-reference/)
   Navy & gold from the logo. Square corners, thin rules, gold diamonds.
   ========================================================================== */
:root {
  --navy: #142131; --navy-2: #1E2F45; --gold: #AD8C53; --gold-text: #7A5E2C; --gold-display: #8C6B33;
  --ivory: #F7F4EE; --ivory-2: #F8F5EF; --line: #E8E2D6; --line-2: #E2D9C6; --muted: #5A6270; --ink: #0E1B2E; --body: #3B4453; --body-2: #2F3A4A;
  --on-navy: #C7CFDB; --footer: #0E1826;
  --wrap: 1200px; --gut: 40px; --hdr: 80px;
  --f-head: 'Cairo', 'Almarai', sans-serif; --f-body: 'Almarai', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.9 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2.5px solid var(--gold-text); outline-offset: 3px; }
.util :focus-visible, .sec--navy :focus-visible, .phead :focus-visible, .ftr :focus-visible, .svc--dark :focus-visible, .aud-c:not(.aud-c--light) :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
::selection { background: var(--navy); color: #fff; }
[id] { scroll-margin-top: calc(var(--hdr) + 12px); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(860px + 2 * var(--gut)); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 18px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ph { color: var(--muted); font-weight: 400 !important; }
.lead { font-size: 18px; color: var(--body); }
.dia { color: var(--gold); font-size: 10px; line-height: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1.5px solid transparent;
  font: 700 16px var(--f-body); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; font-weight: 800; }
.btn--block { width: 100%; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #BE9E66; border-color: #BE9E66; color: var(--navy); }
.btn svg { flex-shrink: 0; }
.link-gold { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; color: var(--gold); font-weight: 700; border-bottom: 1px solid var(--gold); }
.link-gold:hover { color: #CDB07A; border-color: #CDB07A; }

/* type + sections */
.eb { display: block; font-size: 14px; font-weight: 700; color: var(--gold-text); }
.eb--l { color: var(--gold); }
.h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.45; color: inherit; }
.h2--xl { font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); color: var(--navy); }
.h2--sm { font-size: clamp(28px, 3.4vw, 46px); }
.h2--mb { margin-bottom: 32px; }
.h3 { font-size: 24px; font-weight: 700; margin: 36px 0 14px; }
.acc { color: var(--gold-display); }
.sec { padding-block: 104px; }
.sec--tight { padding-block: 72px; }
.sec--white { background: #fff; }
.sec--ivory { background: var(--ivory-2); }
.sec--line { border-top: 1px solid #E7E0D2; }
.sec--navy { background: var(--navy); color: #fff; }
.sec-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.sec-top-a { display: flex; flex-direction: column; gap: 8px; }
.sec-top--c { justify-content: center; text-align: center; }
.sec-top--c .sec-top-a { align-items: center; }
.sec-intro { max-width: 440px; color: var(--muted); }
.sec-top--c .sec-intro, .sec-intro--wide { max-width: 560px; }
.sec--navy .sec-intro { color: var(--on-navy); }

/* ---------- utility bar + header ---------- */
.progress { position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--p, 0)); transform-origin: right; }
.util { background: var(--navy); color: #D7DCE4; font-size: 13.5px; }
.util-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.util-tels { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.util a { color: #D7DCE4; }
.util a:hover { color: var(--gold); }
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 12px 30px -22px rgba(20, 33, 49, .45); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; color: var(--navy); }
.brand img { height: 50px; width: auto; }
.brand-t { display: flex; flex-direction: column; line-height: 1.3; border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
.brand-n { font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--navy); }
.brand-a { color: var(--gold-display); }
.brand-s { font-size: 12px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-size: 15px; font-weight: 700; }
.nav a { color: var(--navy); padding: 10px 0; position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .nav-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; background: var(--navy); color: #fff; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--navy-2); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--navy); background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1100px) { .nav { gap: 0 18px; font-size: 14.5px; } }
@media (max-width: 1020px) { .nav { display: none; } .burger { display: inline-flex; } }

.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-bg { position: absolute; inset: 0; background: rgba(14, 24, 38, .55); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(380px, 90vw); background: #fff; padding: 18px 22px 26px; display: flex; flex-direction: column; gap: 10px;
  transform: translateX(-100%); transition: transform .4s var(--ease); overflow-y: auto; border-inline-start: 3px solid var(--gold); }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.drawer-top .brand img { height: 40px; }
.drawer-top .brand-n { font-size: 18px; }
.drawer-x { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.drawer-nav { display: flex; flex-direction: column; flex: 1; }
.drawer-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-family: var(--f-head); font-size: 18px; font-weight: 700; }
.drawer-foot { display: flex; flex-direction: column; gap: 10px; }
.drawer-foot .btn--line { justify-content: space-between; font-size: 15px; }
html.lock, html.lock body { overflow: hidden; }

/* ---------- hero ---------- */
.hero { background: var(--ivory); position: relative; overflow: hidden; }
.hero-in { max-width: calc(1240px + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.hero-copy { flex: 1.15 1 600px; min-width: 0; padding: 104px 0 112px; display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 1; }
.hero-eb { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; color: var(--gold-text); }
.hero-eb .bar { width: 44px; height: 2px; background: var(--gold); flex-shrink: 0; }
.hero-h { font-weight: 800; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.35; color: var(--navy); }
.hero-p { max-width: 560px; font-size: 19px; line-height: 1.95; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.hero-offices { display: flex; flex-wrap: wrap; margin-top: 18px; border-top: 1px solid #E2DACB; }
.hero-offices a { flex: 1 1 200px; padding: 20px 0 0; display: flex; flex-direction: column; color: var(--navy); }
.hero-offices a + a { border-inline-start: 1px solid #E2DACB; padding-inline-start: 24px; }
.hero-offices a:first-child { padding-inline-end: 24px; }
.ho-n { font-family: var(--f-head); font-weight: 800; font-size: 20px; }
.ho-s { font-size: 14px; color: var(--muted); }
.hero-offices a:hover .ho-n { color: var(--gold-display); }
.hero-art { flex: 1 1 480px; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.ring { position: absolute; aspect-ratio: 1 / 1; border-radius: 50%; }
.ring--a { width: 86%; border: 1px solid #E2DACB; background: #fff; }
.ring--b { width: 64%; border: 1px dashed #D8CCB4; }
.flags { position: relative; width: 100%; max-width: 700px; filter: drop-shadow(0 26px 28px rgba(20, 33, 49, .18)); }

/* services band */
.band { background: #fff; }
.band-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; padding: 26px 0; border-block: 1px solid var(--line); font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--navy); }

/* ---------- about ---------- */
.about { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.about-a { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 8px; border-top: 2px solid var(--navy); }
.mv > div { padding: 22px 0 0; display: flex; flex-direction: column; gap: 6px; }
.mv > div:first-child { padding-inline-end: 28px; }
.mv > div + div { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.mv h3 { font-weight: 800; font-size: 20px; color: var(--navy); }
.mv p { color: var(--muted); font-size: 15.5px; }
.logo-card { flex: 1 1 440px; min-width: 0; margin: 0; background: var(--ivory); padding: 56px 48px 40px; display: flex; flex-direction: column; align-items: center; gap: 26px; position: relative; }
.logo-card::before { content: ''; position: absolute; inset: 14px; border: 1px solid #E2DACB; pointer-events: none; }
.logo-card img { position: relative; width: 82%; max-width: 380px; }
.logo-card figcaption { position: relative; font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--navy); text-align: center; }

/* ---------- audiences (navy) ---------- */
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(173, 140, 83, .4); }
.aud-c { padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 20px; }
.aud-c--light { background: var(--ivory-2); color: var(--ink); }
.aud-h { display: flex; align-items: center; gap: 18px; }
.aud-h div { display: flex; flex-direction: column; }
.aud-h h3 { font-weight: 700; font-size: 30px; line-height: 1.4; }
.aud-h span { color: var(--on-navy); font-size: 15px; }
.aud-c--light .aud-h span { color: var(--muted); }
.aud-ic { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.aud-c--light .aud-ic { background: var(--navy); border-color: var(--navy); }
.aud-c--light .btn { align-self: flex-start; }
.dlist { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .14); }
.dlist li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.dlist .dia { font-size: 11px; flex-shrink: 0; }
.aud-c--light .dlist, .aud-c--light .dlist li, .dlist--light, .dlist--light li { border-color: var(--line-2); }
.dlist--light li { font-size: 17px; }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.svc { position: relative; padding: 36px 32px; background: #fff; display: flex; flex-direction: column; gap: 14px; transition: background .25s; }
.svc:hover { background: #FDFBF7; }
.svc-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold-text); }
.svc-n { font-family: var(--f-head); font-size: 18px; color: var(--gold-text); }
.svc-h { font-weight: 700; font-size: 25px; line-height: 1.5; }
.svc-h a { color: var(--ink); }
.svc-h a::after { content: ''; position: absolute; inset: 0; }
.svc p { color: var(--muted); font-size: 15.5px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--gold-text); opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .3s var(--ease); }
.svc:hover .svc-more, .svc:focus-within .svc-more { opacity: 1; transform: none; }
.svc--dark { background: var(--navy); color: #fff; }
.svc--dark:hover { background: var(--navy-2); }
.svc--dark .svc-top, .svc--dark .svc-n, .svc--dark .svc-more { color: var(--gold); }
.svc--dark .svc-h a { color: #fff; }
.svc--dark p { color: var(--on-navy); }
.svc--gold { grid-column: 1 / -1; padding: 36px 40px; background: var(--gold); color: var(--navy); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.svc--gold:hover { background: var(--gold); }
.svc-gold-a { display: flex; align-items: center; gap: 22px; flex: 1 1 520px; min-width: 0; }
.svc--gold .svc-n { color: var(--navy); font-weight: 700; }
.svc--gold .svc-h { font-size: 28px; }
.svc--gold .svc-h a { color: var(--navy); }
.svc--gold .svc-h a::after { display: none; }
.svc--gold p { color: #1E2A3A; font-size: 16px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tm { display: flex; flex-direction: column; gap: 16px; }
.tm-ph { aspect-ratio: 4 / 5; background: #EFEAE0; position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.tm-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.tm-sil { width: 70%; fill: #DCD3C2; }
.tm-phl { position: absolute; top: 50%; inset-inline: 0; text-align: center; font-size: 13px; color: var(--muted); transform: translateY(-50%); }
.tm-off { position: absolute; top: 14px; inset-inline-start: 14px; padding: 2px 12px; background: var(--navy); color: var(--gold); font-size: 12.5px; font-weight: 700; }
.tm-b { display: flex; flex-direction: column; gap: 2px; border-inline-start: 2px solid var(--gold); padding-inline-start: 14px; }
.tm-b h3 { font-weight: 700; font-size: 21px; line-height: 1.5; }
.tm-role { font-size: 14px; color: var(--gold-text); font-weight: 700; }
.tm-sp { font-size: 14px; color: var(--muted); }

/* ---------- principles ---------- */
.pr { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.pr-a { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pr-a .sec-intro { max-width: 360px; }
.pr-grid { flex: 2 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.pr-i { padding: 30px 0; border-bottom: 1px solid var(--line-2); display: flex; gap: 18px; }
.pr-i:nth-child(odd) { padding-inline-end: 32px; }
.pr-i:nth-child(even) { padding-inline-start: 32px; border-inline-start: 1px solid var(--line-2); }
.pr-ic { color: var(--gold-text); flex: 0 0 34px; }
.pr-i div { display: flex; flex-direction: column; gap: 4px; }
.pr-i h3 { font-weight: 700; font-size: 22px; line-height: 1.5; }
.pr-i p { color: var(--muted); font-size: 15.5px; }

/* ---------- offices (navy) ---------- */
.offs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.off { background: var(--navy-2); border: 1px solid rgba(173, 140, 83, .4); display: flex; flex-direction: column; }
.off-h { padding: 34px 36px 26px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid rgba(173, 140, 83, .25); }
.off-c { font-size: 13px; color: var(--gold); font-weight: 700; }
.off-h h3 { font-weight: 700; font-size: 34px; line-height: 1.45; }
.off-b { padding: 26px 36px 34px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.off-addr { display: flex; gap: 14px; align-items: flex-start; }
.off-addr svg { color: var(--gold); flex: 0 0 22px; margin-top: 6px; }
.off-addr address { font-size: 17px; line-height: 1.9; }
.off-hours { color: var(--on-navy); font-size: 15px; }
.off-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.off-tel { flex: 1 1 200px; display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.off-tel span:first-child { font-size: 12.5px; color: var(--on-navy); }
.off-tel span[dir] { font-weight: 800; font-size: 18px; text-align: right; }
.off-tel:hover { border-color: var(--gold); color: #fff; }
.off-wa { flex: 1 1 160px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; background: var(--gold); color: var(--navy); font-weight: 800; }
.off-wa:hover { background: #BE9E66; color: var(--navy); }
.off-maplink { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold); font-weight: 700; font-size: 15px; border-bottom: 1px solid rgba(173, 140, 83, .5); }
.off-maplink:hover { color: #CDB07A; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 0; }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 16px; position: relative; }
.steps li::before { content: ''; position: absolute; top: 32px; inset-inline: 0; height: 1px; background: var(--gold); }
.steps li:first-child::before { inset-inline-start: 50%; }
.steps li:last-child::before { inset-inline-end: 50%; }
.steps li:only-child::before { display: none; }
.st-n { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--f-head); font-size: 26px; font-weight: 700; }
.steps .is-last .st-n { background: var(--gold); color: var(--navy); }
.steps h3 { font-weight: 700; font-size: 21px; line-height: 1.5; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- articles ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button, .filters a { min-height: 44px; padding: 0 20px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font: 700 15px var(--f-body); cursor: pointer; display: inline-flex; align-items: center; }
.filters [aria-pressed="true"], .filters [aria-current="true"] { background: var(--navy); color: #fff; }
.filters button:hover, .filters a:hover { border-color: var(--gold); }
.filters--dark { margin-top: 22px; }
.filters--dark a { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.filters--dark a[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.acard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-2); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.acard:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(20, 33, 49, .55); }
.acard-top { height: 140px; background: var(--bg, var(--navy)); padding: 20px 24px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.acard-c { align-self: flex-start; padding: 2px 12px; border: 1px solid rgba(255, 255, 255, .5); font-size: 12.5px; font-weight: 700; }
.acard-w { font-family: var(--f-head); font-size: 30px; font-weight: 700; line-height: 1.3; color: #fff; }
.acard-w.is-gold { color: var(--gold); }
.acard-b { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.acard h3 { font-weight: 700; font-size: 21px; line-height: 1.55; }
.acard h3 a { color: var(--ink); }
.acard h3 a::after { content: ''; position: absolute; inset: 0; }
.acard p { color: var(--muted); font-size: 15px; }
.acard-f { margin-top: auto; padding-top: 12px; border-top: 1px solid #EFE8DA; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; min-height: 56px; }
.acard-f span:first-child { color: var(--muted); }
.acard-r { color: var(--gold-text); font-weight: 700; }
.agrid-more { margin-top: 40px; text-align: center; }

/* ---------- faq ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-a { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--hdr) + 30px); align-self: flex-start; }
.faq-a .sec-intro { max-width: 340px; }
.faq-list { flex: 2 1 620px; min-width: 0; border-top: 2px solid var(--navy); }
.faq-i { border-bottom: 1px solid #E7E0D2; }
.faq-i summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i h3 { font-weight: 700; font-size: 21px; line-height: 1.5; }
.faq-ic { width: 16px; height: 16px; position: relative; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; inset: 50% 0 auto; height: 2px; margin-top: -1px; background: var(--gold-text); transition: transform .3s var(--ease); }
.faq-ic::after { transform: rotate(90deg); }
.faq-i[open] .faq-ic::after { transform: rotate(0); }
.faq-i p { padding: 0 0 24px; color: var(--body-2); }

/* ---------- CTA (gold) ---------- */
.cta { background: var(--gold); color: var(--navy); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 72px; }
.cta-h { flex: 1 1 560px; font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.45; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn { min-height: 56px; font-weight: 800; }
.cta .btn--line:hover { background: var(--navy); color: #fff; }

/* ---------- contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-a { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-a .lead { color: var(--body-2); font-size: 17px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.rows > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.rows span { color: var(--muted); }
.rows strong { font-weight: 700; color: var(--ink); text-align: start; }
.rows a:hover strong { color: var(--gold-text); }
.cform { flex: 1 1 520px; min-width: 0; background: #fff; border-top: 4px solid var(--gold); padding: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; box-shadow: 0 20px 50px rgba(11, 31, 58, .08); }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f--wide { grid-column: 1 / -1; }
.f > span { font-size: 14px; font-weight: 700; }
.f input, .f select, .f textarea { height: 52px; padding: 0 16px; border: 1px solid #D6CDBB; background: #FBF9F5; font-size: 16px; color: var(--ink); border-radius: 0; width: 100%; }
.f select { padding: 0 12px; }
.f textarea { height: auto; padding: 12px 16px; resize: vertical; }
.f input[type=tel] { text-align: right; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(173, 140, 83, .25); background: #fff; }
.f input[aria-invalid="true"] { border-color: #B3412F; }
.f-msg { min-height: 1.5em; font-size: 15px; color: var(--navy); font-weight: 700; }
.f-msg:empty { display: none; }
.f-msg.is-err { color: #B3412F; }
.f-msg.is-ok { color: #1F5A3A; padding: 12px 14px; border: 1px solid rgba(31, 90, 58, .35); background: rgba(31, 90, 58, .07); }
.f-consent { font-size: 13px; color: var(--muted); text-align: center; }
.f-consent a { text-decoration: underline; text-underline-offset: 3px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-width: 86px; height: 42px; border: 1px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; font: 700 15px var(--f-body); }
.slot.is-on, .slot:hover { background: var(--navy); color: #fff; }
.slots-msg { color: var(--muted); font-size: 14.5px; }

/* ---------- footer ---------- */
.ftr { background: var(--footer); color: #AEB8C6; }
.ftr-in { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.ftr-top { display: flex; flex-wrap: wrap; gap: 40px; }
.ftr-brand { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ftr-brand img { width: 230px; }
.ftr-brand p { font-size: 15px; max-width: 360px; }
.ftr-col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.ftr-h { font-family: var(--f-head); font-weight: 700; color: #fff; padding-bottom: 8px; }
.ftr-col a { color: #D5DCE6; padding: 3px 0; width: max-content; max-width: 100%; }
.ftr-col a:hover { color: var(--gold); }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(173, 140, 83, .4); display: grid; place-items: center; color: var(--gold); }
.social a:hover { background: var(--gold); color: var(--navy); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; border-top: 1px solid rgba(173, 140, 83, .3); font-size: 13px; }
.credit a { color: var(--gold); font-weight: 700; letter-spacing: .06em; }

.wa-fab { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 40; width: 58px; height: 58px; display: none; place-items: center; background: var(--navy); color: var(--gold); border: 1px solid var(--gold); box-shadow: 0 14px 30px -10px rgba(14, 24, 38, .6); }
.wa-fab:hover { color: #fff; }
@media (max-width: 900px) { .wa-fab { display: grid; } }

/* ---------- inner pages ---------- */
.phead { background: var(--navy); color: #fff; padding: 56px 0 64px; border-bottom: 3px solid var(--gold); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--on-navy); margin-bottom: 20px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '◆'; font-size: 8px; color: var(--gold); }
.crumbs a { color: #E6E9EE; }
.crumbs a:hover { color: var(--gold); }
.h1p { font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1.45; }
.phead-lead { margin-top: 14px; font-size: 18px; color: var(--on-navy); max-width: 720px; }
.asearch { display: flex; gap: 8px; margin-top: 28px; max-width: 560px; }
.asearch input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .3); background: var(--navy-2); color: #fff; font-size: 16px; }
.asearch input::placeholder { color: var(--on-navy); }
.asearch input:focus { outline: none; border-color: var(--gold); }
.asearch-r { margin-bottom: 28px; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 48px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.svcp { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.svcp-side { position: sticky; top: calc(var(--hdr) + 24px); }
.svcp-card { background: var(--navy); color: #fff; padding: 30px; display: flex; flex-direction: column; gap: 14px; border-top: 4px solid var(--gold); }
.svcp-card h2 { font-size: 21px; font-weight: 700; line-height: 1.6; }
.svcp-off { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding: 14px 0; border-top: 1px solid rgba(173, 140, 83, .3); }
.svcp-off > span { font-family: var(--f-head); font-weight: 700; }
.svcp-off > a[dir] { color: #fff; font-weight: 800; font-size: 18px; }
.svcp-off > a[dir]:hover { color: var(--gold); }
.svcp-wa { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 14px; flex-basis: 100%; }
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: #fff; color: var(--ink); font-family: var(--f-head); font-weight: 700; font-size: 18px; line-height: 1.6; height: 100%; }
.others a:hover { background: var(--ivory); }
.others svg { color: var(--gold-text); flex-shrink: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { padding: 2px 12px; border: 1px solid rgba(255, 255, 255, .5); font-size: 13px; font-weight: 700; }
.tag--gold { border-color: var(--gold); color: var(--gold); }
.post-t { font-weight: 800; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.55; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 14px; color: var(--on-navy); }
.post-meta strong { color: #fff; }
.post-cover { margin: 40px auto 0; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.post-body { padding-top: 56px; }
.prose { font-size: 18px; line-height: 2; color: var(--body-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 700; margin-top: 1.8em; line-height: 1.6; color: var(--navy); }
.prose h3 { font-size: 22px; font-weight: 700; margin-top: 1.5em; color: var(--gold-text); }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-inline: 0; padding: 4px 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--gold); font-family: var(--f-head); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before { content: '◆'; position: absolute; inset-inline-start: -1.3em; font-size: 9px; color: var(--gold); top: .55em; }
.prose ol li { list-style: arabic-indic; }
.prose li + li { margin-top: .4em; }
.prose img { margin-block: 1.4em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.toc { margin-bottom: 40px; border: 1px solid var(--line-2); border-top: 3px solid var(--gold); background: var(--ivory); padding: 20px 26px; }
.toc-h { font-family: var(--f-head); font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.toc ol { padding-top: 12px; counter-reset: t; display: grid; gap: 6px; }
.toc li.toc-h2 { counter-increment: t; }
.toc-h2 a::before { content: counter(t, arabic-indic) ' — '; color: var(--gold-text); font-weight: 700; }
.toc-h3 { padding-inline-start: 26px; font-size: .95em; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--gold-text); }
.post-note { margin-top: 40px; padding: 16px 20px; border-inline-start: 3px solid var(--gold); background: var(--ivory); font-size: 15px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; margin-inline-end: 8px; }
.share a, .share button { height: 42px; min-width: 42px; border: 1px solid var(--navy); display: inline-grid; place-items: center; padding: 0 12px; color: var(--navy); background: #fff; cursor: pointer; font: 700 14px var(--f-body); }
.share button { padding: 0 18px; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; }
.back { display: inline-flex; align-items: center; gap: 10px; margin: 36px 0 90px; font-weight: 700; color: var(--navy); }
.back svg { transform: scaleX(-1); }
.pv-upd { color: var(--muted); font-size: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pv-bar { background: #FFF2D6; color: #6B4A0E; text-align: center; padding: 10px 16px; font-weight: 700; }

/* protected reader */
.book { margin-top: 56px; border: 1px solid var(--line-2); border-top: 3px solid var(--gold); background: #fff; }
.book-h { display: flex; gap: 18px; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.book-h h2 { font-size: clamp(19px, 2vw, 24px); }
.book-ic { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
.book-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 6px; }
.book-note { padding: 12px 26px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.reader { position: relative; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rd-bar { position: sticky; top: calc(var(--hdr) - 10px); z-index: 5; display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--navy); }
.rd-bar button { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; font-size: 20px; cursor: pointer; }
.rd-pg { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--on-navy); font-size: 14px; }
.rd-pg input { width: 56px; height: 38px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-align: center; font: inherit; }
.rd-sp { flex: 1; }
.rd-stage { position: relative; max-height: 82vh; overflow: auto; background: #1B2638; padding: 24px 14px; outline: none; overscroll-behavior: contain; }
.reader.is-full .rd-stage { max-height: none; height: calc(100vh - 61px); }
.rd-pages { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rd-page { position: relative; background: #fff; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .8); width: min(100%, calc(800px * var(--z, 1))); }
.rd-page canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.rd-page .rd-load { position: absolute; inset: 0; display: grid; place-items: center; color: #8a8478; font-size: 14px; background: #f3efe6; }
.rd-shield { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: rgba(20, 33, 49, .97); color: var(--gold); }
.rd-shield small { color: var(--on-navy); }
body.is-guarded .rd-pages { filter: blur(24px); }
.reader.rd-away .rd-pages { filter: blur(18px) saturate(.4); transition: filter .25s; }
.reader.rd-away .rd-stage::after { content: attr(data-hint); position: sticky; bottom: 45%; display: block; margin: -40vh auto 0; width: max-content; max-width: 90%; padding: 12px 22px; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 15px; z-index: 3; }
.rd-lensmask { position: absolute; inset-inline: 0; z-index: 6; pointer-events: none; -webkit-backdrop-filter: blur(10px) saturate(.5); backdrop-filter: blur(10px) saturate(.5); background: rgba(20, 33, 49, .35);
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(32% - 24px), transparent 32%, transparent 68%, #000 calc(68% + 24px), #000 100%); mask-image: linear-gradient(#000 0, #000 calc(32% - 24px), transparent 32%, transparent 68%, #000 calc(68% + 24px), #000 100%); }
.rd-bandbox { position: absolute; inset-inline: 0; z-index: 7; pointer-events: none; }
.rd-band { position: absolute; inset-inline: 0; top: 32%; height: 36%; border-block: 1px solid rgba(173, 140, 83, .7); }
.rd-lens .rd-pages { padding-block: 30%; }
.print-block { display: none; }
@media print {
  body.has-reader > *:not(.print-block) { display: none !important; }
  body.has-reader .print-block { display: block !important; padding: 40px; font: 20px/1.6 sans-serif; }
  .util, .hdr, .ftr, .wa-fab, .progress, .cform { display: none !important; }
}
.nf { padding-block: 120px; text-align: center; }
.nf-n { font-family: var(--f-head); font-weight: 800; font-size: clamp(100px, 16vw, 180px); line-height: 1; color: var(--line); margin-bottom: 10px; }
.nf .lead { margin: 12px auto 30px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- motion (enabled by motion.js only) ---------- */
.motion main { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .14em .02em .2em; margin: -.14em -.02em -.2em; }
.w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform 1s cubic-bezier(.16, 1, .3, 1) calc(var(--wi) * 55ms + 80ms); }
.motion .is-in .w > i, .motion .w-split.is-in .w > i { transform: none; }
html:not(.motion) .w > i { transform: none; }
.motion .stagger > * { opacity: 0; transform: translateX(14px); transition: opacity .7s, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--li) * 80ms + 160ms); }
.motion .is-in .stagger > *, .motion .stagger.is-in > * { opacity: 1; transform: none; }
.cwrap { display: block; position: relative; overflow: hidden; height: 100%; }
.motion .cwrap::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--navy); transform-origin: left; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1) .1s; pointer-events: none; }
.motion .cwrap.is-in::after { transform: scaleX(0); }
.motion .flags { animation: flagsIn 1.4s cubic-bezier(.16, 1, .3, 1) .2s both; }
@keyframes flagsIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.secdots { display: none; }
@media (min-width: 1360px) {
  .secdots { position: fixed; z-index: 40; top: 50%; inset-inline-end: 16px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
  .secdots a { position: relative; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
  .secdots span { width: 8px; height: 8px; border: 1px solid var(--gold-text); transform: rotate(45deg); transition: background .3s, transform .3s; }
  .secdots a.is-on span { background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.3); }
  .secdots b { position: absolute; inset-inline-end: 28px; white-space: nowrap; font-size: 12.5px; padding: 4px 12px; background: var(--navy); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .secdots a:hover b { opacity: 1; }
  .secdots.on-gold span { border-color: var(--gold); }
}

/* ---------- responsive (1280 / 768 / 375) ---------- */
@media (max-width: 1100px) {
  .svc-grid, .agrid, .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { gap: 48px; }
}
@media (max-width: 900px) {
  :root { --gut: 22px; --hdr: 72px; }
  .sec { padding-block: 80px; }
  .sec--tight { padding-block: 56px; }
  .util-in { flex-direction: column; align-items: flex-start; gap: 2px; }
  .util-in > span { display: none; }
  .hdr-in { padding-top: 10px; padding-bottom: 10px; }
  .hero-copy { flex-basis: 100%; padding: 56px 0 8px; gap: 22px; }
  .hero-art { flex-basis: 100%; padding: 8px 0 48px; }
  .aud, .offs { grid-template-columns: 1fr; }
  .aud-c { padding: 32px 26px; }
  .pr-grid { grid-template-columns: 1fr; }
  .pr-i:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::before { display: none; }
  .faq-a { position: static; }
  .svcp { grid-template-columns: 1fr; gap: 40px; }
  .svcp-side { position: static; }
  .cform { padding: 28px 22px; }
  .off-h, .off-b { padding-inline: 24px; }
  .logo-card { padding: 44px 28px 32px; }
  .phead { padding: 40px 0 48px; }
}
@media (max-width: 640px) {
  .svc-grid, .agrid, .others, .team, .steps, .cform { grid-template-columns: 1fr; }
  .svc { padding: 28px 24px; }
  .svc-more { opacity: 1; transform: none; }
  .svc--gold { padding: 28px 24px; }
  .svc-gold-a { flex-basis: 100%; }
  .hero-h { font-size: clamp(34px, 10vw, 44px); }
  .hero-p { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-offices a, .hero-offices a + a, .hero-offices a:first-child { padding-inline: 0; border-inline-start: 0; }
  .brand-n { font-size: 19px; }
  .brand img { height: 42px; }
  .brand-s { font-size: 11px; }
  .mv > div:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .aud-h h3 { font-size: 26px; }
  .off-h h3 { font-size: 28px; }
  .h2 { font-size: clamp(27px, 7.6vw, 36px); }
  .sec-top { margin-bottom: 32px; }
  .faq-i h3 { font-size: 18px; }
  .cta-btns .btn { flex: 1 1 100%; }
  .rows > div { flex-direction: column; align-items: flex-start; gap: 0; }
}
