/* ═══════════════════════════════════════════════════════════════
   Al Safar & Partners — Wills UAE Hub
   Shared stylesheet · Black & White theme (matches homepage tokens)
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black:   #1A1A1A;
  --black-d: #0D0D0D;
  --black-m: #2E2E2E;
  --gray:    #7A7A7A;
  --gray-m:  #ABABAB;
  --gray-l:  #E0E0E0;
  --off:     #F5F5F5;
  --white:   #FDFDFD;
  --pill:    50px;
  --card:    12px;
  --font:    "IBM Plex Sans", sans-serif;
  --serif:   "IBM Plex Serif", Georgia, serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--black); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--black); min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 12px 48px; }
.nav-logo { height: 53px; width: auto; max-width: 230px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500; padding: 6px 14px; border-radius: var(--pill); transition: .15s; display: block; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { background: #fff; color: var(--black); font-size: 11px; font-weight: 700; padding: 9px 22px; border-radius: var(--pill); letter-spacing: .05em; transition: .15s; display: flex; align-items: center; gap: 6px; }
.nav-cta:hover { background: var(--gray-l); }
.nav-burger { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
@media (max-width: 1023px) {
  .nav { padding: 12px 20px; }
  .nav-burger { display: block; }
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--black); flex-direction: column; padding: 16px 20px 24px; z-index: 10000; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 14px; }
  .nav-cta span { display: none; }
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 13px 30px; font-size: 12px; font-weight: 700; border-radius: var(--pill); border: none; cursor: pointer; font-family: var(--font); letter-spacing: .05em; transition: .15s; line-height: 1; }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: var(--gray-l); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.05); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--black-d); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-lg { padding: 16px 38px; font-size: 13px; }

/* ── HERO ────────────────────────────────────────── */
.pg-hero { position: relative; overflow: hidden; background: var(--black); padding: 90px 0 80px; }
.hero-wm { position: absolute; right: -20px; bottom: -30px; z-index: 0; font-size: clamp(110px, 15vw, 240px); font-weight: 700; line-height: 1; color: rgba(255,255,255,.03); letter-spacing: -.04em; pointer-events: none; white-space: nowrap; user-select: none; }
.hero-in { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gray-m); margin-bottom: 24px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.pg-hero h1 { font-size: clamp(36px, 5vw, 62px); font-weight: 700; color: #fff; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 24px; }
.pg-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--gray-m); }
.hero-desc { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.85; max-width: 580px; margin-bottom: 34px; font-weight: 300; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.hero-points span { font-size: 12px; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 7px; }
.hero-points .material-symbols-outlined { font-size: 16px; color: var(--gray-m); }

/* ── BREADCRUMB ──────────────────────────────────── */
.crumbs { background: var(--off); border-bottom: 1px solid var(--gray-l); padding: 12px 0; font-size: 11px; color: var(--gray); }
.crumbs a:hover { color: var(--black); text-decoration: underline; }
.crumbs .sep { margin: 0 8px; color: var(--gray-m); }

/* ── SECTIONS ────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec-off { background: var(--off); }
.sec-dark { background: var(--black); color: #fff; }
.sec-lbl { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.sec-lbl::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.sec-dark .sec-lbl { color: var(--gray-m); }
.sec-h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 18px; }
.sec-h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--gray); }
.sec-dark .sec-h2 em { color: var(--gray-m); }
.sec-sub { font-size: 15px; color: var(--gray); line-height: 1.85; max-width: 640px; margin-bottom: 48px; font-weight: 300; }
.sec-dark .sec-sub { color: rgba(255,255,255,.5); }

/* ── CARD GRIDS ──────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--gray-l); border-radius: var(--card); padding: 34px 30px; transition: .2s; }
.card:hover { border-color: var(--black); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.07); }
.card-ic { width: 48px; height: 48px; border-radius: 10px; background: var(--black); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-ic .material-symbols-outlined { font-size: 24px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { font-size: 13px; color: var(--gray); line-height: 1.8; font-weight: 300; }
.card .card-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--black); }
.card .card-link:hover { text-decoration: underline; }
.card .card-link .material-symbols-outlined { font-size: 15px; }

/* ── PROCESS STEPS ───────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--card); padding: 30px 26px; }
.step-num { font-size: 40px; font-weight: 700; color: rgba(255,255,255,.14); line-height: 1; margin-bottom: 16px; font-family: var(--serif); font-style: italic; }
.step h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step p { font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.8; font-weight: 300; }
.steps-light .step { background: #fff; border-color: var(--gray-l); }
.steps-light .step-num { color: var(--gray-l); }
.steps-light .step h3 { color: var(--black); }
.steps-light .step p { color: var(--gray); }

/* ── COMPARISON TABLE ────────────────────────────── */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--gray-l); border-radius: var(--card); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--gray-l); vertical-align: top; }
.cmp th { background: var(--black); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cmp th:first-child { width: 26%; }
.cmp td:first-child { font-weight: 700; font-size: 12.5px; }
.cmp td { color: var(--gray); line-height: 1.7; font-weight: 300; }
.cmp tr:last-child td { border-bottom: none; }
.cmp tr:nth-child(even) td { background: var(--off); }

/* ── LAWYER CARDS ────────────────────────────────── */
.lawyer-card { display: grid; grid-template-columns: 180px 1fr; gap: 30px; background: #fff; border: 1px solid var(--gray-l); border-radius: var(--card); padding: 34px; align-items: start; }
@media (max-width: 640px) { .lawyer-card { grid-template-columns: 1fr; } .lawyer-card img { max-width: 200px; } }
.lawyer-card img { border-radius: 10px; filter: grayscale(1); }
.lawyer-role { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.lawyer-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.lawyer-spec { font-size: 12px; color: var(--gray); margin-bottom: 14px; }
.lawyer-card p { font-size: 13px; color: var(--gray); line-height: 1.8; font-weight: 300; margin-bottom: 18px; }

/* ── FAQ ACCORDION ───────────────────────────────── */
.faq-item { border: 1px solid var(--gray-l); border-radius: var(--card); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 20px 24px; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: 'add'; font-family: 'Material Symbols Outlined'; font-size: 20px; color: var(--gray); flex-shrink: 0; transition: .2s; }
.faq-item[open] summary::after { content: 'remove'; }
.faq-item[open] summary { border-bottom: 1px solid var(--gray-l); }
.faq-a { padding: 20px 24px; font-size: 13px; color: var(--gray); line-height: 1.9; font-weight: 300; }
.faq-a a { font-weight: 600; color: var(--black); text-decoration: underline; }
.faq-a ul { margin: 10px 0 10px 20px; }
.faq-a li { margin-bottom: 6px; }

/* ── CTA BAND ────────────────────────────────────── */
.cta-band { background: var(--black); border-radius: 16px; padding: 60px 50px; text-align: center; position: relative; overflow: hidden; }
.cta-band .hero-wm { font-size: clamp(80px, 12vw, 170px); bottom: -25px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: #fff; letter-spacing: -.02em; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-band h2 em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--gray-m); }
.cta-band p { font-size: 14px; color: rgba(255,255,255,.5); max-width: 540px; margin: 0 auto 30px; line-height: 1.8; font-weight: 300; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-band { padding: 44px 24px; } }

/* ── CHECKLIST ───────────────────────────────────── */
.check-list { list-style: none; }
.check-list li { display: flex; gap: 12px; padding: 12px 0; font-size: 13.5px; color: var(--black-m); line-height: 1.7; border-bottom: 1px solid var(--gray-l); font-weight: 300; }
.check-list li:last-child { border-bottom: none; }
.check-list .material-symbols-outlined { font-size: 19px; flex-shrink: 0; margin-top: 1px; }
.check-list strong { font-weight: 600; }

/* ── ARTICLE / RESOURCE LINKS ────────────────────── */
.res-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; background: #fff; border: 1px solid var(--gray-l); border-radius: var(--card); margin-bottom: 12px; transition: .2s; }
.res-link:hover { border-color: var(--black); transform: translateX(4px); }
.res-link .res-t { font-size: 14px; font-weight: 600; }
.res-link .res-s { font-size: 12px; color: var(--gray); margin-top: 4px; font-weight: 300; }
.res-link .material-symbols-outlined { color: var(--gray); flex-shrink: 0; }

/* ── PROSE (long-form content) ───────────────────── */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.02em; margin: 48px 0 16px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.prose p { font-size: 14.5px; color: var(--black-m); line-height: 1.95; font-weight: 300; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { font-size: 14.5px; color: var(--black-m); line-height: 1.9; font-weight: 300; margin-bottom: 8px; }
.prose a { font-weight: 600; text-decoration: underline; }
.prose strong { font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────── */
footer { background: var(--black-d); color: #fff; padding: 72px 0 0; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ft-grid { grid-template-columns: 1fr; } }
.ft-logo { height: 48px; width: auto; margin-bottom: 16px; }
.ft-brand { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.ft-sub { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.8; font-weight: 300; }
.ft-socials { display: flex; gap: 10px; margin-top: 20px; }
.ft-socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: .15s; }
.ft-socials a:hover { border-color: #fff; color: #fff; }
.ft-socials .material-symbols-outlined { font-size: 17px; }
.ft-hd { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 18px; }
.ft-a { display: block; font-size: 13px; color: rgba(255,255,255,.6); padding: 5px 0; font-weight: 300; transition: .15s; }
.ft-a:hover { color: #fff; }
.ft-ci { display: flex; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 12px; line-height: 1.7; font-weight: 300; }
.ft-ci .material-symbols-outlined { font-size: 17px; color: rgba(255,255,255,.3); flex-shrink: 0; }
.ft-ci a:hover { color: #fff; text-decoration: underline; }
.ft-bar { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; color: rgba(255,255,255,.3); }

/* ── WIZARD (intake form) ────────────────────────── */
.wiz { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--gray-l); border-radius: 16px; overflow: hidden; }
.wiz-head { background: var(--black); padding: 28px 34px; }
.wiz-prog { display: flex; gap: 8px; margin-bottom: 16px; }
.wiz-prog span { height: 4px; flex: 1; border-radius: 2px; background: rgba(255,255,255,.15); transition: .3s; }
.wiz-prog span.done { background: #fff; }
.wiz-step-lbl { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-m); }
.wiz-head h2 { font-size: 22px; font-weight: 700; color: #fff; margin-top: 6px; letter-spacing: -.01em; }
.wiz-body { padding: 34px; }
.wiz-pane { display: none; }
.wiz-pane.active { display: block; animation: wizIn .25s ease; }
@keyframes wizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wiz-note { font-size: 12.5px; color: var(--gray); line-height: 1.8; margin-bottom: 24px; font-weight: 300; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f-group { margin-bottom: 18px; }
.f-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.f-group label .req { color: #c0392b; }
.f-group input, .f-group select, .f-group textarea { width: 100%; border: 1.5px solid var(--gray-l); border-radius: 8px; padding: 12px 14px; font-size: 14px; font-family: var(--font); background: #fff; color: var(--black); transition: .15s; }
.f-group input:focus, .f-group select:focus, .f-group textarea:focus { outline: none; border-color: var(--black); }
.f-group textarea { resize: vertical; min-height: 90px; }
.f-hint { font-size: 11px; color: var(--gray-m); margin-top: 5px; font-weight: 300; }
.f-radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .f-radio-grid { grid-template-columns: 1fr; } }
.f-radio { position: relative; }
.f-radio input { position: absolute; opacity: 0; }
.f-radio label { display: block; border: 1.5px solid var(--gray-l); border-radius: 10px; padding: 16px 18px; cursor: pointer; transition: .15s; font-size: 13px; font-weight: 600; }
.f-radio label small { display: block; font-weight: 300; color: var(--gray); font-size: 11.5px; margin-top: 4px; line-height: 1.6; }
.f-radio input:checked + label { border-color: var(--black); background: var(--off); box-shadow: 0 0 0 1px var(--black); }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--gray-l); }
.wiz-err { display: none; padding: 14px 18px; background: #fdf3f2; border: 1.5px solid #eccfcb; border-radius: 8px; margin-bottom: 18px; font-size: 12.5px; color: #7b2d24; }
.wiz-success { display: none; text-align: center; padding: 40px 20px; }
.wiz-success .material-symbols-outlined { font-size: 54px; margin-bottom: 16px; }
.wiz-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.wiz-success p { font-size: 13.5px; color: var(--gray); line-height: 1.85; max-width: 440px; margin: 0 auto; font-weight: 300; }

/* ── MISC ────────────────────────────────────────── */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.badge { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 8px 16px; border: 1px solid var(--gray-l); border-radius: var(--pill); color: var(--gray); }
.sec-dark .badge { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.45); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@keyframes spin { to { transform: rotate(360deg); } }
