/* Bakhurji Law — Premium UI */
:root {
  --grey: #464849;
  --gold: #bb985d;
  --gold-l: #d4b07a;
  --gold-d: #9a7d4a;
  --grey-50: #f8f8f7;
  --grey-100: #f0efee;
  --grey-200: #e2e1e0;
  --grey-300: #c4c4c4;
  --grey-400: #8a8b8c;
  --grey-500: #464849;
  --grey-600: #3a3b3c;
  --grey-700: #2e2f30;
  --grey-800: #222324;
  --grey-900: #161718;
  --font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;
  --font-ar-display: "Amiri", "IBM Plex Sans Arabic", serif;
  --header-bg: #17181a;
  --header-border: rgba(212, 176, 122, 0.18);
  --header-text: #efece6;
  --header-text-2: #c7c2b8;
  --header-text-3: #8f8a7d;
  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
  --topbar-h: 0px;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-subtle: var(--grey-50);
  --bg-muted: var(--grey-100);
  --surface: #ffffff;
  --text: var(--grey-500);
  --text-2: var(--grey-600);
  --text-3: var(--grey-400);
  --border: rgba(70, 72, 73, 0.12);
  --glass: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 64px rgba(70, 72, 73, 0.1);
  --shadow-md: 0 12px 32px rgba(70, 72, 73, 0.08);
  --shadow-lg: 0 32px 80px rgba(70, 72, 73, 0.14);
  --shadow-gold: 0 12px 40px rgba(187, 152, 93, 0.2);
  --radius-sm: 4px;
  --hero-bg: var(--grey-900);
}

[data-theme="dark"] {
  --bg: var(--grey-900);
  --bg-subtle: var(--grey-800);
  --bg-muted: var(--grey-700);
  --surface: var(--grey-800);
  --text: #e8e7e6;
  --text-2: #c4c4c4;
  --text-3: var(--grey-300);
  --border: rgba(187, 152, 93, 0.15);
  --glass: rgba(34, 35, 36, 0.9);
  --hero-bg: #0a0b0c;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html[dir="rtl"] { text-align: right; }
html[dir="ltr"] { text-align: left; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); }
h1, h2, h3,
.sec-title, .hero-display, .hero-display-sm,
.home-firm, .home-sec__title, .home-intro__title, .home-panel__title,
.home-glass__title, .home-quote, .modal-head h2 {
  font-family: var(--font-ar-display);
  font-weight: 700;
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] .sec-title, html[lang="en"] .hero-display, html[lang="en"] .hero-display-sm,
html[lang="en"] .home-firm, html[lang="en"] .home-sec__title, html[lang="en"] .home-intro__title,
html[lang="en"] .home-panel__title, html[lang="en"] .home-glass__title, html[lang="en"] .home-quote,
html[lang="en"] .modal-head h2 {
  font-family: var(--font-en);
}
img:not(.logo-img-full):not(.loader-logo):not(.footer-logo):not(.modal-logo) {
  max-width: 100%;
  height: auto;
  display: block;
}
.logo-img-full,
.loader-logo,
.footer-logo,
.modal-logo {
  display: block;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.container { width: min(1280px, 92vw); margin-inline: auto; padding-inline: clamp(1rem, 4vw); }

/* Loader */
.page-loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-progress { width: 140px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 1.5rem; }
.loader-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-l)); animation: loadBar 1.2s ease forwards; }
.loader-logo { width: 160px; }
@keyframes loadBar { to { width: 100%; } }

/* Top bar */
.top-bar {
  background: var(--grey);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  height: var(--topbar-h);
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.top-bar-contacts { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.top-bar-contacts a { display: flex; align-items: center; gap: 0.35rem; opacity: 0.9; transition: opacity var(--ease); }
.top-bar-contacts a:hover { opacity: 1; }
.top-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.25); }
.top-bar-hours { opacity: 0.75; margin: 0; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: box-shadow 0.3s var(--ease);
}
[data-theme="dark"] .header {
  background: var(--header-bg);
  border-bottom-color: var(--header-border);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.header::before,
.header::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  pointer-events: none;
}
.header::before {
  inset-inline-start: 12px;
  border-top: 1px solid var(--gold);
  border-inline-start: 1px solid var(--gold);
}
.header::after {
  inset-inline-end: 12px;
  border-top: 1px solid var(--gold);
  border-inline-end: 1px solid var(--gold);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem;
}
.nav-logo .logo-img { height: 48px; width: auto; transition: transform var(--ease); }
.nav-logo:hover .logo-img { transform: scale(1.03); }

/* Full wordmark logo (header) */
.nav-logo-full {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  text-decoration: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-logo-full:hover {
  opacity: 0.92;
  transform: scale(1.01);
}
.logo-img-full {
  height: 48px;
  width: auto;
  max-width: min(280px, 36vw);
  max-height: 48px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
html[dir="rtl"] .logo-img-full {
  object-position: right center;
}
html[dir="ltr"] .logo-img-full {
  object-position: left center;
}

/* Avoid duplicate booking link when CTA button is visible */
@media (min-width: 1025px) {
  .nav-links .nav-booking {
    display: none;
  }
}
.nav-links { display: flex; align-items: center; gap: 0.125rem; list-style: none; }
.nav-links .nav-item { list-style: none; }
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--header-text-2);
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  inset-inline: 1rem;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-drop-trigger:hover, .nav-drop-trigger.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; inset-inline: 20%; }
.nav-links a.nav-booking {
  color: var(--gold);
  font-weight: 600;
}
.nav-links a.nav-booking::after { width: 60%; inset-inline: 20%; background: var(--gold); }
.nav-book-cta { text-decoration: none; display: inline-flex; align-items: center; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Hide lang item if ever injected in nav-links — single #langToggle in nav-actions only */
.nav-links__lang {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--header-text-2);
  background: transparent;
  border: 1px solid var(--header-border);
  border-radius: var(--radius-md);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-ctrl-btn:hover {
  color: var(--gold);
  border-color: rgba(187, 152, 93, 0.45);
  background: rgba(187, 152, 93, 0.06);
}

.nav-ctrl-btn__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-ctrl-btn__icon--sun {
  display: none;
}

#themeToggle[data-theme-state="dark"] .nav-ctrl-btn__icon--moon {
  display: none;
}

#themeToggle[data-theme-state="dark"] .nav-ctrl-btn__icon--sun {
  display: block;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--gold); }
.btn-glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.5rem;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--header-text); border-radius: 1px; transition: var(--ease); }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 75% 25%, rgba(187,152,93,0.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 15% 60%, rgba(70,72,73,0.15) 0%, transparent 55%),
    linear-gradient(165deg, #0c0d0e 0%, var(--hero-bg) 35%, var(--grey-800) 70%, var(--bg) 100%);
  animation: meshShift 14s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 100%, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 0;
}
@keyframes meshShift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(2%, -1%); }
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-shine {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(187,152,93,0.06) 50%, transparent 60%);
  animation: shine 8s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
.hero-wrap {
  position: relative; z-index: 1;
  width: 100%;
  padding: 3rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-wrap { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .hero-stat-strip, .hero-metrics { align-self: center; }
}
.hero-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(187,152,93,0.12);
  border: 1px solid rgba(187,152,93,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.chip-pulse {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1.2); }
  50% { opacity: 0.5; transform: scale(1); }
}
.hero-h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
}
.hero-h1-accent {
  display: block;
  color: var(--gold);
  font-size: 0.55em;
  margin-bottom: 0.25rem;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 52ch;
  margin-bottom: 2rem;
  line-height: 1.9;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.metric-card {
  padding: 1.25rem 1.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(12px);
}
.metric-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.metric-label { font-size: 0.8rem; color: var(--text-3); margin-top: 0.25rem; }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll-hint span {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

/* Marquee */
.marquee {
  background: var(--grey);
  color: #fff;
  padding: 0.85rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 35s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
html[dir="rtl"] .marquee-track {
  animation-name: marqueeRtl;
}
@keyframes marqueeRtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}
.marquee-track span { font-size: 0.8125rem; font-weight: 500; opacity: 0.9; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--gold-l); font-size: 0.5rem; }

/* Sections */
.section { padding: 5rem 0; position: relative; }
.sec-head { margin-bottom: 3rem; max-width: 720px; }
.sec-head-light .sec-title, .sec-head-light .sec-tag { color: #fff; }
.sec-head-light .sec-desc { color: rgba(255,255,255,0.75); }
.sec-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.sec-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.sec-desc { font-size: 1.05rem; color: var(--text-3); line-height: 1.85; }
.prose { font-size: 1.05rem; color: var(--text-2); line-height: 2; text-align: justify; text-align-last: right; }
html[dir="ltr"] .prose { text-align: left; text-align-last: left; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 1rem;
  transition: gap var(--ease);
}
.link-arrow:hover { gap: 0.6rem; }

/* Identity */
.identity { background: var(--bg-subtle); }
.identity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .identity-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cert-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(187, 152, 93, 0.3);
}
.cert-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cert-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.cert-card p { font-size: 0.8rem; color: var(--text-3); line-height: 1.6; }

.certs-grid--logos {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .certs-grid--logos { grid-template-columns: repeat(3, 1fr); }
}
.cert-card--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.15rem;
}
.cert-card__img {
  width: auto;
  max-width: 120px;
  max-height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.cert-card--logo p strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
  color: var(--grey-700);
  font-variant-numeric: tabular-nums;
}

/* Founder */
.founder-split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.founder-visual { position: relative; }
.founder-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--grey-600), var(--grey-700));
}
.founder-ph { width: 100%; height: 100%; }
.founder-badge {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  padding: 0.4rem 0.85rem;
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.founder-name { font-size: 1.35rem; color: var(--gold); margin: 1rem 0 0 0.5rem; }

/* Values bento */
.values { background: var(--bg-muted); }
.values-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.val-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.val-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  transform: scaleX(0);
  transition: transform var(--ease);
}
.val-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.val-card:hover::before { transform: scaleX(1); }
.val-n {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.val-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.val-card p { font-size: 0.9rem; color: var(--text-3); line-height: 1.75; }
@media (min-width: 768px) {
  .val-lg { grid-column: 1; grid-row: 1 / 3; }
}
.val-wide { grid-column: 1 / -1; }

/* Services swiper */
.services { background: var(--surface); border-block: 1px solid var(--border); }
.services-swiper { padding-bottom: 2rem; overflow: hidden; }
.svc-slide {
  padding: 2rem 1.5rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  height: auto;
  min-height: 220px;
  transition: all var(--ease);
}
.swiper-slide-active .svc-slide {
  background: var(--surface);
  border-color: rgba(187, 152, 93, 0.35);
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}
.svc-ico { font-size: 2rem; display: block; margin-bottom: 1rem; }
.svc-slide h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.svc-slide p { font-size: 0.85rem; color: var(--text-3); line-height: 1.7; }
.services-footer { text-align: center; margin-top: 2rem; }
.sectors-title { text-align: center; margin: 2rem 0 0 1rem; font-weight: 600; }
.sectors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.sector-pill {
  padding: 0.55rem 1.15rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--ease);
}
.sector-pill:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Achievements */
.achievements {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}
.achievements-bg {
  position: absolute;
  inset: 0;
  background: var(--grey-900);
  z-index: 0;
}
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.achieve-item {
  text-align: center;
  padding: 2rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.achieve-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold-l);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.achieve-lbl { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.35rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  padding: 2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(187,152,93,0.25); }
.team-featured { border-color: rgba(187, 152, 93, 0.35); }
.team-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--grey-600), var(--grey-700));
}
.team-avatar-lg {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
}
.team-role { display: block; font-size: 0.8rem; color: var(--text-3); margin-top: 0.25rem; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.branch-card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  border-inline-start: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.branch-logo { height: 52px; margin-bottom: 1.5rem; }
.branch-addr { font-size: 1.05rem; color: var(--text-2); line-height: 1.8; margin-bottom: 1.5rem; }
.branch-links { display: flex; flex-direction: column; gap: 0.6rem; }
.branch-links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--ease);
}
.branch-links a:hover { color: var(--gold); }

.contact-form {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

.form-field { margin-bottom: 1.15rem; }
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 0 3px rgba(187, 152, 93, 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row .form-field { margin-bottom: 0; }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--grey);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 48px; margin-bottom: 1rem; }
.footer-tagline {
  font-size: 1.1rem;
  color: var(--gold-l);
  margin-bottom: 1rem;
  font-style: italic;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-weight: 700;
  transition: background var(--ease);
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
}
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }

/* Modal */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: none;
  width: 100%;
  height: 100%;
}
.modal::backdrop { background: rgba(22, 23, 24, 0.75); backdrop-filter: blur(8px); }
.modal[open] { display: flex; align-items: center; justify-content: center; }
.modal-box {
  position: relative;
  width: min(440px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  margin: auto;
  padding: 2rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-x {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--text-3);
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: all var(--ease);
}
.modal-x:hover { background: var(--bg-muted); color: var(--text); }
.modal-head { text-align: center; margin-bottom: 1.5rem; }
.modal-head img { height: 52px; margin: 0 auto 1rem; }
.modal-head h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.modal-sub { color: var(--text-3); font-size: 0.9rem; }
.modal-form .form-field { margin-bottom: 1rem; }

/* FAB dock — WhatsApp + Book */
.fab-dock {
  position: fixed;
  bottom: calc(1.25rem + var(--safe-bottom, 0px));
  inset-inline-end: calc(1.25rem + var(--safe-right, 0px));
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.fab-dock .fab {
  position: static;
  pointer-events: auto;
  flex-shrink: 0;
}

body.nav-open .fab-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(187, 152, 93, 0.45);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease);
}

.fab--wa {
  background: linear-gradient(135deg, #25d366, #1da851);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.fab--wa:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.5);
}

.fab--book:hover {
  transform: scale(1.05);
}

.fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.fab__label {
  line-height: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  z-index: 10001;
  transition: width 0.1s linear;
}

.swiper-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.swiper-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  transition: all var(--ease);
  position: relative;
}
.swiper-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
}
.swiper-prev::after { transform: rotate(-135deg); }
html[dir="rtl"] .swiper-prev::after { transform: rotate(45deg); }
.swiper-next::after { transform: rotate(45deg); }
html[dir="rtl"] .swiper-next::after { transform: rotate(-135deg); }
.swiper-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--bg-muted); }
.swiper-pagination-bullet { background: var(--grey-300) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--gold) !important; width: 24px !important; border-radius: 4px !important; }

.whatsapp-fab {
  display: none;
}

/* Booking */
.booking {
  position: relative;
  background: var(--bg-subtle);
  overflow: hidden;
}
.booking-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(187, 152, 93, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(70, 72, 73, 0.06), transparent 45%);
  pointer-events: none;
}
.booking .container { position: relative; z-index: 1; }
.booking-shell {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 2rem;
  align-items: start;
}
.booking-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 1.5rem);
}
.booking-trust h3 {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}
.booking-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-3);
}
.booking-trust-list li::before {
  content: "✓";
  color: var(--gold);
  margin-inline-end: 0.5rem;
  font-weight: 700;
}
.booking-location {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.booking-location strong { display: block; color: var(--text-2); margin-bottom: 0.25rem; }
.booking-location p { color: var(--text-3); line-height: 1.5; }
.booking-payments span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 0.5rem;
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.pay-badges span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.booking-help {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}
.booking-help a {
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}
.booking-wizard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
}
.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--text-3);
  transition: color 0.25s, background 0.25s;
}
.booking-step:disabled { cursor: default; opacity: 0.5; }
.booking-step .step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--border);
  transition: all 0.25s var(--ease);
}
.booking-step .step-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
}
.booking-step.active .step-num,
.booking-step.done .step-num {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}
.booking-step.active { color: var(--gold); }
.booking-step.done { color: var(--text-2); }
.booking-progress {
  height: 3px;
  background: var(--bg-muted);
  border-radius: 99px;
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.booking-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--gold-d), var(--gold));
  border-radius: 99px;
  transition: width 0.45s var(--ease);
}
.panel-title {
  font-size: 1.15rem;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.panel-hint {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.service-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.service-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.service-pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.service-pick:has(input:checked) {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  background: rgba(187, 152, 93, 0.06);
}
.service-pick:hover { border-color: var(--gold-l); transform: translateY(-2px); }
.sp-icon { font-size: 1.5rem; }
.sp-title { font-weight: 600; font-size: 0.9rem; color: var(--text-2); }
.sp-meta { font-size: 0.75rem; color: var(--text-3); }
.meeting-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio span {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.chip-radio:has(input:checked) span {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.date-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.25rem;
}
.date-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.6rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: all 0.2s var(--ease);
}
.date-cell:not(:disabled):hover { border-color: var(--gold-l); }
.date-cell.active {
  border-color: var(--gold);
  background: rgba(187, 152, 93, 0.12);
  box-shadow: var(--shadow-gold);
}
.date-cell:disabled { opacity: 0.35; cursor: not-allowed; }
.date-dow { font-size: 0.65rem; color: var(--text-3); text-transform: uppercase; }
.date-num { font-size: 1.1rem; font-weight: 700; color: var(--text-2); }
.date-mon { font-size: 0.6rem; color: var(--text-3); }
.time-section h4 {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}
.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.time-slot {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  background: var(--bg);
  transition: all 0.2s;
}
.time-slot:hover { border-color: var(--gold-l); }
.time-slot.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.time-hint { font-size: 0.85rem; color: var(--text-3); }
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}
.review-row {
  display: grid;
  grid-template-columns: minmax(100px, 140px) 1fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.review-row:last-child { border-bottom: none; }
.review-key { color: var(--text-3); font-weight: 500; }
.review-val { color: var(--text-2); font-weight: 600; }
.review-note {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.6;
}
.booking-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.booking-nav .btn-primary { margin-inline-start: auto; }
.booking-success {
  text-align: center;
  padding: 2rem 1rem;
}
.booking-success .success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}
.ref-code {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin: 0.5rem 0 1rem;
  font-family: var(--font-en);
}
.success-follow { color: var(--text-3); font-size: 0.9rem; margin-bottom: 1.5rem; }
.form-field .req { color: var(--gold); }

@media (max-width: 1024px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    inset-inline-end: 0;
    bottom: 0;
    width: min(320px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0 calc(1.5rem + var(--safe-bottom, 0px));
    background: var(--surface);
    border-inline-start: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 10050;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
  }
  html[dir="rtl"] .nav-links { transform: translateX(-100%); }
  .nav-links.open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links > li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-2);
    -webkit-tap-highlight-color: rgba(187, 152, 93, 0.2);
    touch-action: manipulation;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-item--hasdrop .nav-drop-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
  }
  .nav-drop-panel {
    padding-inline: 0.75rem 1rem;
    padding-bottom: 0.5rem;
  }
  .nav-drop-link {
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
  }
  .nav-drop-all {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0.35rem 0.75rem 0.5rem;
    padding: 0.65rem 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: rgba(187, 152, 93, 0.08);
  }
  .hero-metrics { grid-template-columns: 1fr; }
  .values-bento { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .booking-shell { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .achieve-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-wrap { padding-top: 2rem; }
  .founder-split { grid-template-columns: 1fr; padding: 1.5rem; }
  .modal-box { margin: 1rem; padding: 1.5rem; }
  .service-pick-grid { grid-template-columns: 1fr; }
  .booking-steps { gap: 0.25rem; }
  .booking-step .step-label { display: none; }
  .review-row { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* —— Government footer strip (all pages) —— */
.footer-gov {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 100%);
  border-top: 1px solid rgba(187, 152, 93, 0.2);
}

.footer-gov::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 10% 50%, rgba(91, 45, 138, 0.12), transparent 55%),
    radial-gradient(ellipse 45% 70% at 90% 50%, rgba(13, 92, 63, 0.12), transparent 55%);
  pointer-events: none;
}

.footer-gov__inner {
  position: relative;
  z-index: 1;
}

.footer-gov__head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.footer-gov__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-l);
}

.footer-gov__head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #fff;
}

.footer-gov__grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .footer-gov__grid {
    grid-template-columns: 1fr 1fr 0.85fr;
    gap: 1.5rem;
  }
}

.footer-gov__card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.footer-gov__card:hover {
  transform: translateY(-4px);
  border-color: rgba(187, 152, 93, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.footer-gov__card--moc {
  border-inline-start: 3px solid #5b2d8a;
}

.footer-gov__card--moj {
  border-inline-start: 3px solid #0d5c3f;
}

.footer-gov__logo-wrap {
  flex-shrink: 0;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.footer-gov__logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-gov__body h4 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.footer-gov__en {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
}

.footer-gov__dl {
  margin: 0;
}

.footer-gov__dl div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-gov__dl dt {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(187, 152, 93, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-gov__dl dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-l);
  font-variant-numeric: tabular-nums;
}

.footer-gov__regs {
  padding: 1.35rem 1.25rem;
  background: linear-gradient(145deg, rgba(187, 152, 93, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(187, 152, 93, 0.25);
  border-radius: var(--radius-xl);
}

.footer-gov__regs h4 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-l);
}

.footer-gov__reg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-gov__reg-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-gov__reg-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.footer-gov__reg-list span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.footer-gov__reg-list strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 899px) {
  .footer-gov__card {
    flex-direction: row;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-mesh, .hero-shine, .marquee-track { animation: none; }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}