/* ==========================================================================
   المؤسسة الاستشارية القانونية للمحاماة والاستشارات القانونية والتحكيم
   بقيادة المستشار إيهاب أبوشافعي — Design System & Layout
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Institutional palette */
  --obsidian: #070c1c;
  --navy-950: #0a1126;
  --navy-900: #0b132b;
  --navy-850: #0e1730;
  --navy-800: #111827;
  --navy-700: #1c2541;
  --navy-600: #26314f;

  --gold-100: #f3e6bf;
  --gold-200: #e9d48f;
  --gold-300: #e2c564;
  --gold-400: #d4af37;
  --gold-500: #c5a059;
  --gold-600: #a8843f;
  --gold-700: #7d6230;

  --platinum: #f8fafc;
  --silver-200: #e2e8f0;
  --silver-300: #cbd5e1;
  --silver-400: #94a3b8;
  --silver-500: #64748b;

  --success: #34d399;
  --danger: #f87171;
  --whatsapp: #25d366;

  --gold-gradient: linear-gradient(135deg, #ecd27a 0%, #d4af37 38%, #c5a059 68%, #a8843f 100%);
  --gold-text: linear-gradient(120deg, #f3e6bf 0%, #e2c564 30%, #d4af37 55%, #c5a059 80%, #e9d48f 100%);
  --hairline: linear-gradient(90deg, transparent, rgba(212, 175, 55, .55), transparent);

  /* Surfaces */
  --glass-bg: rgba(17, 24, 39, .55);
  --glass-bg-strong: rgba(11, 19, 43, .82);
  --glass-border: rgba(212, 175, 55, .16);
  --line-soft: rgba(248, 250, 252, .08);

  /* Typography */
  --font: 'IBM Plex Sans Arabic', sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.25rem + 1.4vw, 2.35rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  --fs-hero: clamp(2.05rem, 1.25rem + 3.4vw, 4.1rem);

  /* Spacing & shape */
  --container: 1240px;
  --gutter: clamp(1.15rem, .6rem + 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 60px -28px rgba(0, 0, 0, .75);
  --shadow-gold: 0 14px 40px -14px rgba(212, 175, 55, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.9;
  color: var(--silver-200);
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1200px 700px at 85% -10%, rgba(212, 175, 55, .07), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(38, 49, 79, .55), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, picture, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--platinum);
  line-height: 1.35;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: 0;
}

p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: var(--font); font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
strong { color: var(--platinum); font-weight: 600; }

::selection { background: rgba(212, 175, 55, .35); color: var(--platinum); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Custom scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--gold-600) var(--obsidian); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  border: 2px solid var(--obsidian);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-400); }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 1000;
  padding: .75rem 1.25rem;
  background: var(--gold-400);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.text-gold {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { position: relative; padding-block: var(--section-y); }
.section--tint { background: linear-gradient(180deg, rgba(7, 12, 28, .55), rgba(7, 12, 28, .2)); }
.section--tint::before,
.section--tint::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1px;
  background: var(--hairline);
  opacity: .5;
}
.section--tint::before { top: 0; }
.section--tint::after { bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: .02em;
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold-400), transparent);
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}
.section-title { font-size: var(--fs-2xl); font-weight: 700; margin-bottom: .55em; }
.section-lead { font-size: var(--fs-md); color: var(--silver-300); line-height: 2; margin: 0; }

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold-400);
  margin: 1.4rem 0 0;
}
.divider-ornament::before,
.divider-ornament::after {
  content: "";
  height: 1px;
  width: 70px;
  background: var(--hairline);
}
.divider-ornament svg { width: 14px; height: 14px; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-pad-y: .95rem;
  --btn-pad-x: 1.75rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--gold {
  color: var(--navy-900);
  background: var(--gold-gradient);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 45%, transparent 70%);
  transform: translateX(120%);
  transition: transform .9s var(--ease-out);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -14px rgba(212, 175, 55, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--gold:hover::after { transform: translateX(-120%); }

.btn--outline {
  color: var(--platinum);
  border: 1px solid rgba(212, 175, 55, .55);
  background: rgba(11, 19, 43, .35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--outline:hover { border-color: var(--gold-400); background: rgba(212, 175, 55, .1); color: var(--gold-200); transform: translateY(-2px); }
.btn--outline .wa-icon { color: var(--whatsapp); }

.btn--ghost {
  --btn-pad-y: .6rem;
  --btn-pad-x: 1.1rem;
  font-size: var(--fs-sm);
  color: var(--silver-200);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .03);
}
.btn--ghost:hover { color: var(--gold-200); border-color: rgba(212, 175, 55, .4); }

.btn--block { width: 100%; }
.btn--lg { --btn-pad-y: 1.1rem; --btn-pad-x: 2.1rem; font-size: var(--fs-md); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--gold-400);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.link-arrow:hover { color: var(--gold-200); }
.link-arrow:hover svg { transform: translateX(-5px); }

/* Live pulsing indicator */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.pulse-dot::before,
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse 2.2s var(--ease) infinite;
}
.pulse-dot::after { animation-delay: 1.1s; }
.pulse-dot--wa { background: var(--whatsapp); }
.pulse-dot--gold { background: var(--gold-400); }
.pulse-dot--off { background: var(--silver-500); }
.pulse-dot--off::before, .pulse-dot--off::after { animation: none; }

@keyframes pulse {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: border-color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  transition: background-color .45s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled {
  --header-h: 72px;
  border-bottom-color: var(--glass-border);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
}
.site-header.is-scrolled::before {
  background: rgba(8, 13, 30, .85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { position: relative; z-index: 102; display: flex; align-items: center; gap: .85rem; min-width: 0; }
.brand__mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, .35));
  transition: transform .6s var(--ease-out), filter .4s var(--ease);
}
.brand:hover .brand__mark { transform: scale(1.06); filter: drop-shadow(0 6px 18px rgba(212, 175, 55, .55)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand__name {
  font-size: 1.02rem;
  font-weight: 700;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.brand__sub {
  font-size: .72rem;
  font-weight: 500;
  color: var(--silver-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__lead { font-size: .72rem; font-weight: 600; color: var(--platinum); }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .55rem .85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--silver-300);
  border-radius: 999px;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: .85rem;
  bottom: .3rem;
  height: 1px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: var(--platinum); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold-200); }

.header-actions { position: relative; z-index: 102; display: flex; align-items: center; gap: .6rem; }
.action-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .03);
  color: var(--platinum);
  white-space: nowrap;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease-out);
}
.action-chip svg { width: 18px; height: 18px; }
.action-chip:hover { transform: translateY(-1px); border-color: rgba(212, 175, 55, .45); background: rgba(212, 175, 55, .08); }
.action-chip--call svg { color: var(--gold-400); }
.action-chip--wa { border-color: rgba(37, 211, 102, .35); }
.action-chip--wa svg { color: var(--whatsapp); }
.action-chip--wa:hover { border-color: var(--whatsapp); background: rgba(37, 211, 102, .08); }
.action-chip .num { direction: ltr; unicode-bidi: isolate; letter-spacing: .02em; }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, .03);
}
.nav-toggle span {
  position: absolute;
  inset-inline-start: 12px;
  width: 22px;
  height: 1.5px;
  background: var(--gold-300);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease), width .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; width: 15px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__drawer-extra { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 22% 40%, rgba(212, 175, 55, .1), transparent 65%),
    radial-gradient(900px 700px at 90% 10%, rgba(38, 49, 79, .8), transparent 60%),
    linear-gradient(180deg, rgba(7, 12, 28, .2), var(--navy-900) 96%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse at 40% 45%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse at 40% 45%, #000 15%, transparent 70%);
}
.hero__lines path,
.hero__lines line,
.hero__lines circle {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 4.5s var(--ease-out) forwards;
}
.hero__lines > *:nth-child(2) { animation-delay: .3s; }
.hero__lines > *:nth-child(3) { animation-delay: .6s; }
.hero__lines > *:nth-child(4) { animation-delay: .9s; }
.hero__lines > *:nth-child(5) { animation-delay: 1.2s; }
.hero__lines > *:nth-child(6) { animation-delay: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .5rem 1.05rem .5rem 1.15rem;
  margin-bottom: 1.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-200);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(212, 175, 55, .06);
  backdrop-filter: blur(6px);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.4rem;
}
.hero__title .line { display: block; }
.hero__title .line--gold {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 640px;
  font-size: var(--fs-md);
  line-height: 2.05;
  color: var(--silver-300);
  margin-bottom: 2.3rem;
}
.hero__sub strong { color: var(--gold-200); font-weight: 600; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  max-width: 640px;
}
.hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-sm);
  color: var(--silver-300);
}
.hero__assurances svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; }

/* Portrait composition */
.hero__visual { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  padding: 10px;
  background: linear-gradient(160deg, rgba(212, 175, 55, .55), rgba(212, 175, 55, .05) 45%, rgba(212, 175, 55, .35));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 175, 55, .1);
}
.portrait-frame__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 192px 192px calc(var(--radius-lg) - 6px) calc(var(--radius-lg) - 6px);
  background: var(--navy-800);
}
.portrait-frame__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(.92) contrast(1.04);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out);
}
.hero__visual:hover .portrait-frame__inner img { transform: scale(1.06); }
.portrait-frame__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 12, 28, .85) 100%);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -22px -22px 40px 40px;
  border: 1px solid rgba(212, 175, 55, .25);
  border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.portrait-caption {
  position: absolute;
  inset-inline: .75rem;
  bottom: .85rem;
  z-index: 2;
  text-align: center;
  line-height: 1.35;
}
.portrait-caption strong {
  display: block;
  font-size: clamp(.94rem, 2.5vw, 1.18rem);
  color: var(--platinum);
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}
.portrait-caption span {
  display: block;
  font-size: clamp(.72rem, 2vw, .82rem);
  color: var(--gold-200);
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  animation: float 7s ease-in-out infinite;
}
.floating-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(212, 175, 55, .12);
  color: var(--gold-300);
  flex-shrink: 0;
}
.floating-card__icon svg { width: 22px; height: 22px; }
.floating-card strong { display: block; font-size: var(--fs-sm); line-height: 1.4; }
.floating-card span { display: block; font-size: var(--fs-xs); color: var(--silver-400); line-height: 1.5; }
.floating-card--a { top: -4%; inset-inline-end: -10%; }
.floating-card--b { bottom: 27%; inset-inline-start: -12%; animation-delay: -3.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  color: var(--silver-400);
  letter-spacing: .08em;
}
.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold-400), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--platinum);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { to { top: 110%; } }

/* ---------- 7. Trust Metrics ---------- */
.metrics { position: relative; margin-top: -3rem; z-index: 5; }
.metrics__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.metric {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem) clamp(1.2rem, 1rem + 1vw, 2rem);
  text-align: center;
  transition: background-color .4s var(--ease);
}
.metric + .metric::before {
  content: "";
  position: absolute;
  inset-block: 22%;
  inset-inline-start: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, .35), transparent);
}
.metric:hover { background: rgba(212, 175, 55, .04); }
.metric__icon { width: 30px; height: 30px; margin: 0 auto .9rem; color: var(--gold-400); }
.metric__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .15rem;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  direction: ltr;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric__value small { font-size: .55em; font-weight: 600; }
.metric__label { margin: .6rem 0 0; font-size: var(--fs-sm); font-weight: 500; color: var(--silver-300); line-height: 1.7; }

/* ---------- 8. Practice Areas ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.35rem;
}
.practice-card { grid-column: span 4; }
.practice-card:nth-child(1) { grid-column: span 7; }
.practice-card:nth-child(2) { grid-column: span 5; }
.practice-card:nth-child(6) { grid-column: span 4; }

.practice-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(28, 37, 65, .6), rgba(11, 19, 43, .55));
  border: 1px solid var(--line-soft);
  overflow: hidden;
  isolation: isolate;
  transition: transform .55s var(--ease-out), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(212, 175, 55, .13), transparent 45%);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.practice-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 2rem;
  height: 1px;
  background: var(--hairline);
  transform: scaleX(.25);
  opacity: .6;
  transition: transform .6s var(--ease-out), opacity .4s var(--ease);
}
.practice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, .3);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 175, 55, .06);
}
.practice-card:hover::before { opacity: 1; }
.practice-card:hover::after { transform: scaleX(1); opacity: 1; }

.practice-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.practice-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: var(--gold-300);
  background: linear-gradient(145deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .03));
  border: 1px solid rgba(212, 175, 55, .22);
  transition: transform .5s var(--ease-out), background-color .4s var(--ease);
}
.practice-card__icon svg { width: 28px; height: 28px; }
.practice-card:hover .practice-card__icon { transform: rotate(-6deg) scale(1.06); }
.practice-card__num {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, .28);
  font-variant-numeric: tabular-nums;
}
.practice-card__en {
  display: block;
  margin-bottom: .35rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gold-500);
  direction: ltr;
  text-align: right;
  text-transform: uppercase;
}
.practice-card h3 { font-size: var(--fs-lg); margin-bottom: .75rem; line-height: 1.55; }
.practice-card p { font-size: var(--fs-sm); color: var(--silver-300); line-height: 2; margin-bottom: 1.2rem; }
.practice-card__list { display: grid; gap: .5rem; margin-bottom: 1.6rem; }
.practice-card__list li {
  position: relative;
  padding-inline-start: 1.35rem;
  font-size: var(--fs-sm);
  color: var(--silver-200);
  line-height: 1.8;
}
.practice-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-400);
  transform: rotate(45deg);
}
.practice-card:nth-child(1) .practice-card__list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.practice-card .link-arrow { margin-top: auto; }

.practice-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding: 1.5rem 1.9rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(212, 175, 55, .3);
  background: rgba(212, 175, 55, .03);
}
.practice-note p { margin: 0; color: var(--silver-200); font-size: var(--fs-base); flex: 1 1 420px; }

/* ---------- 9. Counsel Profile ---------- */
.counsel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: start;
}
.counsel__media { position: sticky; top: calc(var(--header-h) + 2rem); }
.counsel__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}
.counsel__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.counsel__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 28, .9));
}
.counsel__photo figcaption {
  position: absolute;
  inset-inline: 1.5rem;
  bottom: 1.3rem;
  z-index: 2;
}
.counsel__photo figcaption strong { display: block; font-size: var(--fs-lg); }
.counsel__photo figcaption span { font-size: var(--fs-sm); color: var(--gold-200); }

.counsel__seal {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 4px;
  background: radial-gradient(circle, var(--navy-900) 60%, rgba(212, 175, 55, .35) 100%);
  border: 1px solid rgba(212, 175, 55, .55);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 0 24px rgba(212, 175, 55, .25);
  animation: float 6s ease-in-out infinite;
}
.counsel__seal img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}
@keyframes spin { to { transform: rotate(360deg); } }

.counsel__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: .9rem;
}
.counsel__gallery button {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: border-color .3s var(--ease), transform .4s var(--ease-out);
}
.counsel__gallery button:hover { border-color: rgba(212, 175, 55, .5); transform: translateY(-3px); }
.counsel__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s var(--ease); filter: grayscale(.35); }
.counsel__gallery button:hover img { transform: scale(1.08); filter: grayscale(0); }

.counsel__quote {
  position: relative;
  margin: 0 0 2.2rem;
  padding: 1.8rem 2rem 1.8rem 1.6rem;
  border-inline-start: 2px solid var(--gold-400);
  background: linear-gradient(270deg, rgba(212, 175, 55, .07), transparent 80%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.counsel__quote p {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--platinum);
  line-height: 1.95;
  margin: 0;
}
.counsel__quote svg {
  position: absolute;
  top: -16px;
  inset-inline-end: 1.4rem;
  width: 44px;
  height: 44px;
  color: rgba(212, 175, 55, .35);
}
.counsel__body p { color: var(--silver-300); line-height: 2.05; }

.pillars-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2.2rem 0;
}
.pillar-mini {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line-soft);
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.pillar-mini:hover { border-color: rgba(212, 175, 55, .3); background: rgba(212, 175, 55, .04); }
.pillar-mini svg { width: 26px; height: 26px; color: var(--gold-400); flex-shrink: 0; margin-top: .3rem; }
.pillar-mini h3 { font-size: var(--fs-base); margin-bottom: .3rem; }
.pillar-mini p { font-size: var(--fs-sm); margin: 0; line-height: 1.85; color: var(--silver-400); }

.credentials {
  margin-top: 2.2rem;
  padding: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, rgba(17, 24, 39, .78), rgba(11, 19, 43, .65));
  box-shadow: var(--shadow-card);
}
.credentials h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: var(--fs-md);
  margin-bottom: 1.25rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line-soft);
}
.credentials h3 svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; }
.credentials ul { display: grid; gap: .9rem; }
.credentials li {
  position: relative;
  padding-inline-start: 1.5rem;
  padding-bottom: .9rem;
  border-bottom: 1px dashed rgba(248, 250, 252, .07);
  font-size: var(--fs-sm);
  color: var(--silver-200);
  line-height: 1.95;
  text-align: start;
}
.credentials li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.credentials li strong {
  color: var(--gold-200);
  font-weight: 600;
}
.credentials li::before {
  content: "";
  position: absolute;
  inset-inline-start: .1rem;
  top: .7em;
  width: 8px;
  height: 8px;
  background: var(--gold-gradient);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212, 175, 55, .45);
}

.signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
}
.signature__name { font-size: var(--fs-lg); font-weight: 700; margin: 0; }
.signature__role { font-size: var(--fs-sm); color: var(--gold-400); margin: 0; }

/* ---------- 10. Strategic Pillars (Methodology) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  counter-reset: pillar;
  position: relative;
}
.pillars::before {
  content: "";
  position: absolute;
  top: 46px;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .35) 15%, rgba(212, 175, 55, .35) 85%, transparent);
}
.pillar {
  position: relative;
  padding: 0 1.2rem 1.8rem;
  text-align: center;
}
.pillar__badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--navy-700), var(--navy-900));
  border: 1px solid rgba(212, 175, 55, .35);
  box-shadow: 0 0 0 8px rgba(11, 19, 43, 1), 0 20px 40px -18px rgba(0, 0, 0, .8);
  color: var(--gold-300);
  transition: transform .5s var(--ease-out), border-color .4s var(--ease);
}
.pillar__badge svg { width: 34px; height: 34px; }
.pillar__badge::after {
  counter-increment: pillar;
  content: "0" counter(pillar);
  position: absolute;
  top: -4px;
  inset-inline-end: -6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--gold-gradient);
}
.pillar:hover .pillar__badge { transform: translateY(-6px); border-color: var(--gold-400); }
.pillar h3 { font-size: var(--fs-md); margin-bottom: .6rem; }
.pillar p { font-size: var(--fs-sm); color: var(--silver-400); line-height: 1.95; margin: 0; }

.commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.commitment {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(212, 175, 55, .08), rgba(17, 24, 39, .4) 55%);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.commitment__k {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: .5rem;
  display: block;
}
.commitment h3 { font-size: var(--fs-md); margin-bottom: .6rem; }
.commitment p { margin: 0; font-size: var(--fs-sm); color: var(--silver-300); line-height: 1.95; }
.commitment svg.bg {
  position: absolute;
  inset-inline-end: -18px;
  bottom: -18px;
  width: 120px;
  height: 120px;
  color: rgba(212, 175, 55, .07);
}

/* ---------- 11. Insights Hub ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.35rem;
}
.insight {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: rgba(17, 24, 39, .55);
  border: 1px solid var(--line-soft);
  transition: transform .5s var(--ease-out), border-color .4s var(--ease), background-color .4s var(--ease);
}
.insight:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, .3); background: rgba(28, 37, 65, .55); }
.insight--featured {
  grid-row: span 3;
  padding: clamp(2rem, 1.6rem + 1.4vw, 2.8rem);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(212, 175, 55, .12), transparent 60%),
    linear-gradient(170deg, rgba(28, 37, 65, .8), rgba(11, 19, 43, .7));
  border-color: var(--glass-border);
  overflow: hidden;
}
.insight--featured::after {
  content: "";
  position: absolute;
  inset-inline-start: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(212, 175, 55, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(212, 175, 55, .025), 0 0 0 60px rgba(212, 175, 55, .02);
}
.insight__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  color: var(--silver-400);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  font-size: .74rem;
  font-weight: 600;
  color: var(--gold-200);
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 999px;
  background: rgba(212, 175, 55, .06);
}
.insight h3 { font-size: var(--fs-md); line-height: 1.65; margin-bottom: .7rem; }
.insight--featured h3 { font-size: var(--fs-xl); line-height: 1.5; }
.insight p { font-size: var(--fs-sm); color: var(--silver-300); line-height: 1.95; }
.insight--featured p { font-size: var(--fs-base); }
.insight__keys { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 1.6rem; }
.insight__keys li {
  font-size: .74rem;
  color: var(--silver-400);
  padding: .2rem .65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
}
.insight .link-arrow { margin-top: auto; position: relative; z-index: 1; }
.insight__open::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Dialog (articles & gallery) */
.dialog {
  width: min(860px, calc(100% - 2rem));
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--navy-850), var(--navy-900));
  color: var(--silver-200);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .95);
  overflow: hidden;
}
.dialog[open] { animation: dialogIn .5s var(--ease-out); display: flex; flex-direction: column; }
.dialog::backdrop { background: rgba(4, 7, 18, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 12, 28, .6);
}
.dialog__head span { font-size: var(--fs-xs); color: var(--gold-400); font-weight: 600; }
.dialog__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  color: var(--silver-200);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease-out);
}
.dialog__close:hover { border-color: var(--gold-400); color: var(--gold-300); transform: rotate(90deg); }
.dialog__close svg { width: 18px; height: 18px; }
.dialog__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); overflow-y: auto; overscroll-behavior: contain; }
.dialog__body h2 { font-size: var(--fs-xl); line-height: 1.5; }
.dialog__body h3 { font-size: var(--fs-md); color: var(--gold-200); margin-top: 1.8rem; }
.dialog__body p, .dialog__body li { color: var(--silver-300); line-height: 2.05; }
.dialog__body ul { display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.dialog__body ul li { position: relative; padding-inline-start: 1.3rem; }
.dialog__body ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .85em; width: 6px; height: 6px; background: var(--gold-400); transform: rotate(45deg); }
.dialog__cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(212, 175, 55, .05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.dialog__cta p { margin: 0; color: var(--platinum); font-weight: 500; }
.article-source { display: none; }

.dialog--media { width: min(1000px, calc(100% - 2rem)); background: var(--obsidian); }
.dialog--media .dialog__body { padding: 0; display: grid; place-items: center; background: #000; }
.dialog--media img { max-height: calc(100dvh - 9rem); width: auto; object-fit: contain; }

/* ---------- 12. Contact Fortress ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}
.form-card {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 2vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 12%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 0 0 4px 4px;
}
.form-card__head { margin-bottom: 1.8rem; }
.form-card__head h3 { font-size: var(--fs-xl); margin-bottom: .4rem; }
.form-card__head p { margin: 0; color: var(--silver-400); font-size: var(--fs-sm); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.field { position: relative; display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--silver-200); }
.field label .req { color: var(--gold-400); margin-inline-start: .15rem; }
.field label .opt { color: var(--silver-500); font-size: .78rem; font-weight: 400; margin-inline-start: .3rem; }
.control {
  width: 100%;
  padding: .95rem 1.1rem;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--platinum);
  background: rgba(7, 12, 28, .6);
  border: 1px solid rgba(248, 250, 252, .1);
  border-radius: 12px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.control::placeholder { color: var(--silver-500); }
.control:hover { border-color: rgba(212, 175, 55, .3); }
.control:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(7, 12, 28, .85);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .12);
}
.control[type="tel"] { direction: ltr; text-align: right; }
.control[type="tel"]::placeholder { direction: rtl; }
select.control {
  cursor: pointer;
  padding-inline-start: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: left 1rem center;
}
select.control option { background: var(--navy-900); color: var(--platinum); }
textarea.control { min-height: 150px; resize: vertical; }
.field.has-error .control { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(248, 113, 113, .1); }
.field.is-valid .control { border-color: rgba(52, 211, 153, .45); }
.field__error {
  min-height: 1.2em;
  font-size: .8rem;
  color: var(--danger);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.field.has-error .field__error { opacity: 1; transform: none; }
.field__counter { position: absolute; bottom: 1.85rem; inset-inline-start: .9rem; font-size: .72rem; color: var(--silver-500); direction: ltr; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: var(--fs-sm);
  color: var(--silver-300);
  line-height: 1.8;
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: .3rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, .5);
  background: rgba(7, 12, 28, .6);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.consent input::after {
  content: "";
  width: 10px;
  height: 6px;
  border-inline-start: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
  transition: transform .25s var(--ease-out);
}
.consent input:checked { background: var(--gold-400); border-color: var(--gold-400); }
.consent input:checked::after { transform: rotate(-45deg) scale(1); }
.field.has-error .consent input { border-color: var(--danger); }

.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-direction: column; gap: .9rem; margin-top: .4rem; }
.form-hint { display: flex; align-items: center; gap: .55rem; font-size: .8rem; color: var(--silver-400); margin: 0; }
.form-hint svg { width: 16px; height: 16px; color: var(--gold-400); flex-shrink: 0; }

.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__label { opacity: .4; }
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 19, 43, .3);
  border-top-color: var(--navy-900);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }

.form-status {
  display: none;
  align-items: flex-start;
  gap: .9rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  font-size: var(--fs-sm);
  line-height: 1.85;
}
.form-status.is-visible { display: flex; animation: dialogIn .45s var(--ease-out); }
.form-status--success { background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .35); color: #bbf7d0; }
.form-status--error { background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: .15rem; }

/* Contact channels */
.channels { display: grid; gap: 1rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, .6);
  border: 1px solid var(--line-soft);
  transition: border-color .35s var(--ease), transform .45s var(--ease-out), background-color .35s var(--ease);
}
a.channel:hover { border-color: rgba(212, 175, 55, .4); transform: translateX(-4px); background: rgba(28, 37, 65, .6); }
.channel__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(212, 175, 55, .1);
  border: 1px solid rgba(212, 175, 55, .2);
  color: var(--gold-300);
  flex-shrink: 0;
}
.channel__icon svg { width: 22px; height: 22px; }
.channel--wa .channel__icon { background: rgba(37, 211, 102, .1); border-color: rgba(37, 211, 102, .3); color: var(--whatsapp); }
.channel__text { min-width: 0; flex: 1; }
.channel__label { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--silver-400); margin-bottom: .1rem; }
.channel__value { display: block; font-size: var(--fs-base); font-weight: 600; color: var(--platinum); line-height: 1.6; }
.channel__value.ltr { direction: ltr; text-align: right; unicode-bidi: isolate; }
.channel__chev { width: 18px; height: 18px; color: var(--silver-500); transition: color .3s var(--ease), transform .35s var(--ease-out); }
a.channel:hover .channel__chev { color: var(--gold-400); transform: translateX(-4px); }

.hours {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, .6);
  border: 1px solid var(--line-soft);
}
.hours__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.hours__head h3 { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-base); margin: 0; }
.hours__head h3 svg { width: 20px; height: 20px; color: var(--gold-400); }
.office-status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem .8rem;
  font-size: .76rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(52, 211, 153, .08);
  border: 1px solid rgba(52, 211, 153, .3);
  color: #a7f3d0;
}
.office-status.is-closed { background: rgba(148, 163, 184, .08); border-color: rgba(148, 163, 184, .25); color: var(--silver-300); }
.hours__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  font-size: var(--fs-sm);
  border-bottom: 1px dashed var(--line-soft);
}
.hours__list li:last-child { border-bottom: 0; }
.hours__list li span:first-child { color: var(--silver-300); }
.hours__list li span:last-child { color: var(--platinum); font-weight: 500; }
.hours__list li.is-today span { color: var(--gold-200); }

.map-wrap {
  position: relative;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 21 / 8;
  min-height: 320px;
  background: var(--navy-800);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(.92) hue-rotate(180deg) saturate(.55) brightness(.92) contrast(.95);
}
.map-wrap__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(400px 220px at 50% 50%, rgba(212, 175, 55, .1), transparent 70%),
    repeating-linear-gradient(0deg, rgba(212, 175, 55, .04) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(212, 175, 55, .04) 0 1px, transparent 1px 42px),
    var(--navy-850);
}
.map-wrap__placeholder svg { width: 44px; height: 44px; color: var(--gold-400); margin-inline: auto; }
.map-wrap__placeholder p { margin: 0; color: var(--silver-300); font-size: var(--fs-sm); }
.map-wrap__card {
  position: absolute;
  top: 1.25rem;
  inset-inline-start: 1.25rem;
  z-index: 2;
  max-width: 320px;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.map-wrap__card strong { display: block; font-size: var(--fs-sm); margin-bottom: .2rem; }
.map-wrap__card p { margin: 0 0 .6rem; font-size: var(--fs-xs); color: var(--silver-300); line-height: 1.8; }

/* ---------- 13. Final CTA Band ---------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, .3);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212, 175, 55, .16), transparent 70%),
    linear-gradient(160deg, var(--navy-700), var(--navy-950));
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: var(--fs-2xl); max-width: 820px; margin-inline: auto; }
.cta-band p { max-width: 640px; margin: 0 auto 2rem; color: var(--silver-300); font-size: var(--fs-md); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background: linear-gradient(180deg, transparent, var(--obsidian) 22%);
  border-top: 1px solid var(--line-soft);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 0;
  height: 1px;
  background: var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand p { font-size: var(--fs-sm); color: var(--silver-400); line-height: 2; max-width: 380px; }
.footer-col h3 {
  position: relative;
  font-size: var(--fs-base);
  margin-bottom: 1.3rem;
  padding-bottom: .8rem;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 34px;
  height: 2px;
  background: var(--gold-gradient);
}
.footer-links { display: grid; gap: .65rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: var(--silver-400);
  transition: color .3s var(--ease), transform .35s var(--ease-out);
}
.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold-600);
  transform: rotate(45deg);
  transition: background-color .3s var(--ease);
}
.footer-links a:hover { color: var(--gold-200); transform: translateX(-3px); }
.footer-links a:hover::before { background: var(--gold-400); }
.footer-contact li { display: flex; align-items: flex-start; gap: .7rem; font-size: var(--fs-sm); color: var(--silver-400); margin-bottom: .8rem; line-height: 1.8; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-400); flex-shrink: 0; margin-top: .3rem; }
.footer-contact a:hover { color: var(--gold-200); }
.footer-contact .ltr { direction: ltr; unicode-bidi: isolate; }

.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  color: var(--silver-300);
  background: rgba(255, 255, 255, .02);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease-out), background-color .3s var(--ease);
}
.socials a:hover { color: var(--navy-900); background: var(--gold-gradient); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

.disclaimer {
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .015);
}
.disclaimer h3 { display: flex; align-items: center; gap: .55rem; font-size: var(--fs-sm); color: var(--gold-300); margin-bottom: .5rem; }
.disclaimer h3 svg { width: 18px; height: 18px; }
.disclaimer p { margin: 0; font-size: .82rem; color: var(--silver-500); line-height: 2; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--silver-500);
}
.footer-bottom p { margin: 0; }
.footer-bottom .en { direction: ltr; unicode-bidi: isolate; }

/* ---------- 15. Floating Elements ---------- */
.mobile-dock {
  position: fixed;
  inset-inline: .75rem;
  bottom: .75rem;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .5rem;
  padding: .5rem;
  border-radius: 20px;
  background: rgba(8, 13, 30, .9);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  transform: translateY(140%);
  transition: transform .55s var(--ease-out);
}
.mobile-dock.is-visible { transform: none; }
.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .55rem .25rem;
  border-radius: 14px;
  font-size: .74rem;
  font-weight: 600;
  color: var(--silver-200);
}
.mobile-dock a svg { width: 21px; height: 21px; }
.mobile-dock a.dock-call svg { color: var(--gold-400); }
.mobile-dock a.dock-wa { position: relative; }
.mobile-dock a.dock-wa svg { color: var(--whatsapp); }
.mobile-dock a.dock-book { background: var(--gold-gradient); color: var(--navy-900); }
.mobile-dock .pulse-dot { position: absolute; top: .45rem; inset-inline-end: 30%; width: 7px; height: 7px; }

.back-to-top {
  position: fixed;
  bottom: 1.6rem;
  left: 1.6rem;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--gold-300);
  background: rgba(11, 19, 43, .85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .45s var(--ease-out), visibility .4s, border-color .3s var(--ease);
}
.back-to-top svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.back-to-top .progress { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.back-to-top .progress circle { fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-linecap: round; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { border-color: var(--gold-400); }

.wa-float {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .55rem .55rem 1.2rem;
  border-radius: 999px;
  background: rgba(11, 19, 43, .9);
  border: 1px solid rgba(37, 211, 102, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8);
  color: var(--platinum);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform .45s var(--ease-out), border-color .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); border-color: var(--whatsapp); }
.wa-float__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
}
.wa-float__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulse 2.4s var(--ease) infinite;
}
.wa-float__icon svg { width: 24px; height: 24px; }
.wa-float__text { display: flex; flex-direction: column; line-height: 1.35; order: -1; }
.wa-float__text small { font-size: .7rem; font-weight: 500; color: var(--silver-400); }

/* ---------- 16. Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.hero [data-intro] { opacity: 0; transform: translateY(22px); animation: intro 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1240px) {
  .action-chip--call .num { display: none; }
  .nav__link { padding-inline: .65rem; }
}

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr 380px; }
  .floating-card--a { inset-inline-end: -6%; }
  .floating-card--b { inset-inline-start: -8%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .practice-card,
  .practice-card:nth-child(n) { grid-column: span 6; }
  .practice-card:nth-child(1) .practice-card__list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: inline-block; }
  .header-actions .action-chip { display: none; }
  .nav {
    position: fixed;
    top: 0;
    inset-inline: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(212, 175, 55, .12), transparent 60%),
      linear-gradient(180deg, #070c1c 0%, #0b132b 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .95rem .5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--platinum);
    border-radius: 0;
    border-bottom: 1px solid var(--line-soft);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color .3s;
  }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .04s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .08s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .12s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .16s; }
  .nav.is-open li:nth-child(6) .nav__link { transition-delay: .2s; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--gold-300); }
  .nav__drawer-extra { display: grid; gap: .75rem; margin-top: 1.5rem; padding-top: .5rem; }
  .nav__drawer-extra .btn { width: 100%; }
  .site-header.is-scrolled { --header-h: 68px; }
  body.is-locked .mobile-dock,
  body.is-locked .back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(140%) !important;
  }

  .counsel { grid-template-columns: 1fr; }
  .counsel__media { position: relative; top: 0; max-width: 520px; margin-inline: auto; width: 100%; }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .pillars::before { display: none; }
  .contact { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .insight--featured { grid-column: 1 / -1; grid-row: auto; }
  .wa-float { display: none; }
  .mobile-dock { display: grid; }
  .back-to-top { bottom: 6.2rem; left: 1rem; width: 44px; height: 44px; }
  body { padding-bottom: 5rem; }
}

@media (max-width: 860px) {
  :root {
    --section-y: clamp(3.25rem, 2.5rem + 4vw, 5rem);
  }
  .section-head { margin-bottom: 2rem; }
  .section-title { font-size: clamp(1.5rem, 5.2vw, 2.15rem); line-height: 1.4; }
  .section-lead { font-size: .95rem; line-height: 1.85; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.35rem); padding-bottom: 4.25rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__visual {
    order: -1;
    width: 100%;
    max-width: min(360px, 92vw);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }
  .hero__visual .portrait-frame {
    order: -1;
    grid-column: 1 / -1;
    width: min(290px, 78vw);
    margin: 0 auto 1.1rem;
  }
  .portrait-frame::before {
    inset: -10px;
    border-radius: 210px 210px calc(var(--radius-lg) + 6px) calc(var(--radius-lg) + 6px);
  }
  .portrait-frame__inner::after {
    background: linear-gradient(180deg, transparent 55%, rgba(7, 12, 28, .94) 95%);
  }
  /* Floating cards become a tidy 2-up row below the portrait on mobile */
  .floating-card,
  .floating-card--a,
  .floating-card--b {
    position: static;
    inset: auto;
    animation: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .4rem;
    padding: .75rem .55rem;
    border-radius: 14px;
    text-align: center;
    min-width: 0;
  }
  .floating-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .floating-card__icon svg { width: 17px; height: 17px; }
  .floating-card strong { font-size: .76rem; line-height: 1.45; white-space: normal; }
  .floating-card span { font-size: .66rem; line-height: 1.45; white-space: normal; }
  .hero__content { text-align: center; }
  .hero__badge { font-size: .74rem; padding: .42rem .9rem; margin-bottom: 1rem; }
  .hero__title { font-size: clamp(1.62rem, 5.8vw, 2.35rem); line-height: 1.38; margin-bottom: .9rem; }
  .hero__sub { margin-inline: auto; font-size: .96rem; line-height: 1.85; margin-bottom: 1.5rem; }
  .hero__ctas { justify-content: center; margin-inline: auto; gap: .7rem; margin-bottom: 1.5rem; }
  .hero__assurances {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    padding-top: 1.15rem;
    margin-inline: auto;
    width: 100%;
  }
  .hero__assurances li {
    width: 100%;
    padding: .6rem .9rem;
    border-radius: 11px;
    background: rgba(17, 24, 39, .55);
    border: 1px solid rgba(212, 175, 55, .14);
    justify-content: flex-start;
    text-align: start;
    font-size: .86rem;
  }
  .scroll-cue { display: none; }
  .metrics { margin-top: -2.2rem; }
  .metrics__panel { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 1.3rem .9rem; }
  .metric__icon { width: 25px; height: 25px; margin-bottom: .55rem; }
  .metric__value { font-size: clamp(1.7rem, 5.8vw, 2.25rem); }
  .metric__label { font-size: .8rem; line-height: 1.55; margin-top: .4rem; }
  .metric:nth-child(3)::before { display: none; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .commitments { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.2rem; }
  .commitment { padding: 1.45rem 1.3rem; }
}

@media (max-width: 640px) {
  .brand { gap: .65rem; }
  .brand__mark { width: 45px; height: 45px; }
  .brand__name { font-size: .88rem; }
  .brand__sub { font-size: .64rem; max-width: 58vw; }
  .brand__lead { display: block; font-size: .62rem; color: var(--gold-200); }

  .hero__ctas .btn { width: 100%; --btn-pad-y: .9rem; --btn-pad-x: 1.35rem; font-size: .95rem; }

  /* Practice cards mobile luxury polish */
  .practice-grid { gap: 1.05rem; }
  .practice-card,
  .practice-card:nth-child(n) {
    grid-column: 1 / -1;
    padding: 1.45rem 1.25rem;
    border-color: rgba(212, 175, 55, .18);
    background: linear-gradient(165deg, rgba(28, 37, 65, .72), rgba(11, 19, 43, .82));
    box-shadow: var(--shadow-card);
  }
  .practice-card::after { transform: scaleX(.65); opacity: .85; }
  .practice-card__top { margin-bottom: 1rem; }
  .practice-card__icon { width: 48px; height: 48px; border-radius: 13px; }
  .practice-card__icon svg { width: 24px; height: 24px; }
  .practice-card__num { font-size: 2.1rem; }
  .practice-card h3 { font-size: 1.15rem; margin-bottom: .55rem; }
  .practice-card p { font-size: .9rem; line-height: 1.85; margin-bottom: 1rem; }
  .practice-card__list { gap: .4rem; margin-bottom: 1.15rem; }
  .practice-card__list li { font-size: .86rem; line-height: 1.7; }
  .practice-card .link-arrow {
    width: 100%;
    justify-content: space-between;
    padding-top: .9rem;
    border-top: 1px solid var(--line-soft);
  }
  .practice-note {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.3rem 1.2rem;
    margin-top: 1.5rem;
  }
  .practice-note p { flex: none; font-size: .92rem; }

  /* Counsel section mobile luxury polish */
  .counsel { gap: 2rem; }
  .counsel__media { max-width: 340px; }
  .counsel__seal { width: 74px; height: 74px; top: 10px; inset-inline-start: 10px; }
  .counsel__gallery img { filter: none; }
  .counsel__quote { padding: 1.25rem 1.25rem 1.25rem 1rem; margin-bottom: 1.5rem; }
  .counsel__quote p { font-size: 1.02rem; line-height: 1.85; }
  .pillars-mini { grid-template-columns: 1fr; gap: .75rem; margin: 1.6rem 0; }
  .pillar-mini {
    padding: 1.05rem 1.1rem;
    background: rgba(17, 24, 39, .65);
    border-inline-start: 2px solid rgba(212, 175, 55, .45);
  }
  .credentials { padding: 1.3rem 1.15rem; margin-top: 1.6rem; }
  .signature {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
  }
  .signature .btn { width: 100%; }

  /* Strategic pillars 2x2 Bento grid on mobile */
  .pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
  }
  .pillar {
    padding: 1.25rem .85rem;
    border-radius: var(--radius);
    background: linear-gradient(165deg, rgba(28, 37, 65, .55), rgba(11, 19, 43, .65));
    border: 1px solid var(--glass-border);
  }
  .pillar__badge {
    width: 66px;
    height: 66px;
    margin-bottom: 1rem;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .8);
  }
  .pillar__badge svg { width: 26px; height: 26px; }
  .pillar__badge::after { width: 24px; height: 24px; font-size: .66rem; }
  .pillar h3 { font-size: .98rem; margin-bottom: .4rem; }
  .pillar p { font-size: .8rem; line-height: 1.75; }

  /* Insights mobile polish */
  .insights-grid { grid-template-columns: 1fr; gap: 1rem; }
  .insight,
  .insight--featured { padding: 1.4rem 1.25rem; }
  .insight--featured h3 { font-size: 1.2rem; }
  .insight .link-arrow {
    width: 100%;
    justify-content: space-between;
    padding-top: .85rem;
    border-top: 1px solid var(--line-soft);
  }

  /* Contact & Map mobile polish (no overlapping card on map!) */
  .form-card { padding: 1.45rem 1.2rem; }
  .form-grid { grid-template-columns: 1fr; gap: 1rem; }
  .channel { padding: 1rem 1.1rem; }
  .channel__icon { width: 44px; height: 44px; border-radius: 12px; }
  .hours { padding: 1.2rem 1.1rem; }
  .hours__head { flex-wrap: wrap; gap: .6rem; }
  .map-wrap {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 0;
  }
  .map-wrap__card {
    position: relative;
    top: auto;
    inset-inline: auto;
    max-width: none;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.15rem 1.2rem;
  }
  .map-wrap__card .btn { width: 100%; }
  .map-wrap iframe { height: 270px; width: 100%; }

  /* CTA Band & Footer 2-column mobile grid */
  .cta-band { padding: 2rem 1.25rem; }
  .cta-band h2 { font-size: 1.4rem; }
  .cta-band p { font-size: .95rem; margin-bottom: 1.5rem; }
  .cta-band__actions .btn { width: 100%; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.15rem;
    padding-bottom: 2.2rem;
  }
  .footer-brand,
  .footer-col:last-child { grid-column: 1 / -1; }
  .disclaimer { padding: 1.2rem 1.15rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .dialog__cta .btn { width: 100%; }
}

@media (max-width: 380px) {
  .brand__sub { display: none; }
  .hero__visual { max-width: 260px; }
  .floating-card strong { font-size: .64rem; }
  .floating-card span { font-size: .56rem; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 18. Accessibility & Motion Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal, .hero [data-intro] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .mobile-dock, .wa-float, .back-to-top, .hero__bg, .map-wrap, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  h1, h2, h3, h4, strong { color: #000; }
  .text-gold, .hero__title .line--gold, .brand__name { -webkit-text-fill-color: #000; color: #000; background: none; }
  .reveal { opacity: 1; transform: none; }
}
