/*
 * Al Arabia Law — unified minimal visual system
 * Style-only layer: preserves all existing page content and document structure.
 */

:root {
  --aal-navy: #1a365d;
  --aal-navy-deep: #0d1f3c;
  --aal-navy-soft: #2d4a6f;
  --aal-gold: #e2b979;
  --aal-gold-deep: #c7a35a;
  --aal-brown: #8b5a2b;
  --aal-ink: #1a202c;
  --aal-text: #333333;
  --aal-muted: #6c757d;
  --aal-white: #ffffff;
  --aal-surface: #f8f9fa;
  --aal-cream: #f8f6f1;
  --aal-line: rgba(26, 54, 93, 0.11);
  --aal-line-dark: rgba(255, 255, 255, 0.12);
  --aal-shadow-sm: 0 10px 30px rgba(13, 31, 60, 0.07);
  --aal-shadow-md: 0 24px 70px rgba(13, 31, 60, 0.10);
  --aal-shadow-lg: 0 36px 100px rgba(13, 31, 60, 0.16);
  --aal-radius-sm: 16px;
  --aal-radius: 24px;
  --aal-radius-lg: 32px;
  --aal-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Keep legacy variables aligned with the existing brand palette. */
  --primary-color: var(--aal-navy) !important;
  --secondary-color: var(--aal-gold) !important;
  --accent-color: var(--aal-brown) !important;
  --light-color: var(--aal-surface) !important;
  --dark-color: var(--aal-ink) !important;
  --text-color: var(--aal-text) !important;
  --text-light: var(--aal-muted) !important;
  --primary: var(--aal-navy) !important;
  --secondary: var(--aal-gold) !important;
  --accent: var(--aal-brown) !important;
  --shadow-sm: var(--aal-shadow-sm) !important;
  --shadow-md: var(--aal-shadow-md) !important;
  --shadow-lg: var(--aal-shadow-lg) !important;
  --shadow-xl: var(--aal-shadow-lg) !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--aal-white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--aal-white) !important;
  color: var(--aal-text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(226, 185, 121, 0.48);
  color: var(--aal-navy-deep);
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  text-underline-offset: 0.18em;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--aal-gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.contact-details-title,
.sf-heading {
  margin-top: 0;
  color: var(--aal-navy) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  line-height: 0.99;
}

h2,
.section-title {
  font-size: clamp(2.25rem, 4.5vw, 4.35rem) !important;
  line-height: 1.04 !important;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem) !important;
  line-height: 1.18 !important;
}

h4 {
  font-size: 1.08rem;
  line-height: 1.3;
}

p,
li,
td,
th {
  text-wrap: pretty;
}

p {
  margin-top: 0;
}

.container,
.sf-container {
  width: min(100% - 48px, 1240px) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

.container-narrow {
  width: min(100% - 48px, 880px) !important;
  max-width: 880px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

/* Header and navigation */
body > header,
header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  min-height: 76px;
  padding: 0 !important;
  color: var(--aal-white);
  background: rgba(13, 31, 60, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: none !important;
  -webkit-backdrop-filter: saturate(150%) blur(24px);
  backdrop-filter: saturate(150%) blur(24px);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: nowrap !important;
}

.logo {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  color: var(--aal-white) !important;
  text-decoration: none;
}

.logo-img {
  width: auto !important;
  height: 52px !important;
  max-height: 52px !important;
  object-fit: contain;
}

header nav > ul {
  display: flex;
  align-items: center;
  gap: 2px !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav > ul > li > a {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 10px 13px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease !important;
}

header nav > ul > li > a::after {
  display: none !important;
}

header nav > ul > li > a:hover,
header nav > ul > li > a:focus-visible {
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

.nav-arrow {
  color: var(--aal-gold);
  font-size: 0.58rem !important;
  opacity: 0.85;
}

.nav-dropdown {
  top: calc(100% + 12px) !important;
  left: 0;
  min-width: 248px !important;
  padding: 9px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid var(--aal-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--aal-shadow-md) !important;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.nav-dropdown li a {
  padding: 11px 13px !important;
  color: var(--aal-navy) !important;
  border: 0 !important;
  border-radius: 12px;
  font-size: 0.88rem !important;
  line-height: 1.35;
  transition: background-color 180ms ease, color 180ms ease !important;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
  padding-left: 13px !important;
  color: var(--aal-navy-deep) !important;
  background: var(--aal-cream) !important;
}

.hamburger {
  width: 44px;
  height: 44px;
  padding: 10px !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

.hamburger span {
  width: 20px !important;
  height: 1.5px !important;
  background: var(--aal-white) !important;
}

.mobile-nav {
  padding: 10px 16px 22px !important;
  max-height: calc(100vh - 76px) !important;
  overflow-y: auto;
  background: rgba(13, 31, 60, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.mobile-nav a,
.mobile-nav a.mob-sub {
  padding: 12px 14px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 12px;
  font-size: 0.94rem !important;
}

.mobile-nav a:hover {
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav a.mob-sub {
  padding-left: 30px !important;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.86rem !important;
}

.mob-label {
  padding: 18px 14px 5px !important;
  color: var(--aal-gold) !important;
  font-size: 0.69rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.12em !important;
}

/* Hero language */
.hero,
.page-header,
.article-hero,
.glossary-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--aal-white) !important;
  background:
    radial-gradient(circle at 78% 18%, rgba(226, 185, 121, 0.22), transparent 28%),
    radial-gradient(circle at 16% 90%, rgba(45, 74, 111, 0.70), transparent 35%),
    linear-gradient(145deg, var(--aal-navy-deep), var(--aal-navy)) !important;
}

.hero {
  min-height: clamp(520px, 72vh, 790px);
  display: grid !important;
  place-items: center;
  padding: clamp(7rem, 12vw, 11rem) 0 !important;
  text-align: center;
}

.hero::before,
.page-header::before,
.article-hero::before,
.glossary-header::before,
.risk-section::before,
.cta-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.045), transparent 42%);
}

.hero:has(.credentials) {
  min-height: min(880px, calc(100vh - 20px));
  background-image:
    linear-gradient(180deg, rgba(13, 31, 60, 0.54) 0%, rgba(13, 31, 60, 0.84) 70%, rgba(13, 31, 60, 0.96) 100%),
    url('damascus.webp') !important;
  background-position: center 48% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.hero > .container,
.page-header > .container,
.article-hero > .container,
.glossary-header > .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-header h1,
.article-hero h1,
.glossary-header h1 {
  max-width: 1080px;
  margin: 0 auto 26px !important;
  color: var(--aal-white) !important;
  font-size: clamp(3rem, 6.6vw, 6.4rem) !important;
  line-height: 0.98 !important;
  text-align: center !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.16);
}

.hero p,
.hero-subtitle,
.hero-description,
.page-header p,
.article-hero p,
.glossary-header p {
  max-width: 880px !important;
  margin: 0 auto 34px !important;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem) !important;
  font-weight: 400;
  line-height: 1.58 !important;
  text-align: center;
}

.page-header,
.article-hero,
.glossary-header {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 100px 0 !important;
  text-align: center;
}

.page-header h1,
.article-hero h1,
.glossary-header h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.3rem) !important;
}

.hero-badge,
.article-category,
.featured-tag,
.featured-card-tag,
.contact-badge,
.last-updated {
  display: inline-flex !important;
  align-items: center;
  width: auto;
  padding: 8px 14px !important;
  color: var(--aal-gold) !important;
  background: rgba(226, 185, 121, 0.10) !important;
  border: 1px solid rgba(226, 185, 121, 0.25) !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.055em !important;
  text-transform: uppercase;
}

.credentials {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px !important;
  max-width: 1160px;
  margin: 58px auto 0 !important;
  text-align: center !important;
}

.credential-item {
  flex: 1 1 190px;
  min-width: 0;
  padding: 18px 17px !important;
  color: rgba(255, 255, 255, 0.90) !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.credential-item strong {
  color: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 550 !important;
  line-height: 1.4;
}

/* Buttons */
body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
) {
  min-height: 52px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 25px !important;
  color: var(--aal-navy-deep) !important;
  background: var(--aal-gold) !important;
  border: 1px solid var(--aal-gold) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 0.96rem !important;
  font-weight: 650 !important;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: transform 250ms var(--aal-ease), background-color 250ms ease, border-color 250ms ease, box-shadow 250ms ease !important;
}

body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
):hover {
  color: var(--aal-navy-deep) !important;
  background: #d4a76a !important;
  border-color: #d4a76a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(13, 31, 60, 0.16) !important;
}

.hero :is(.btn-secondary, .btn-outline),
.cta-section :is(.btn-secondary, .btn-outline),
.risk-section :is(.btn-secondary, .btn-outline) {
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero :is(.btn-secondary, .btn-outline):hover,
.cta-section :is(.btn-secondary, .btn-outline):hover,
.risk-section :is(.btn-secondary, .btn-outline):hover {
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.hero-cta,
.hero-buttons,
.cta-buttons {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px !important;
}

/* Breadcrumbs */
.breadcrumb {
  padding: 14px 0 !important;
  color: var(--aal-muted) !important;
  background: rgba(248, 249, 250, 0.92) !important;
  border-bottom: 1px solid var(--aal-line) !important;
  font-size: 0.82rem !important;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb a {
  color: var(--aal-navy) !important;
  text-decoration: none;
}

/* Spacious, editorial sections */
section,
.section {
  position: relative;
}

body > section:not(.hero):not(.page-header):not(.article-hero):not(.glossary-header),
main > section,
.main-content > section {
  padding-block: clamp(5.8rem, 9vw, 8.2rem) !important;
}

.section-light,
.section-cream,
.section-white,
.testimonials,
.faq-section,
.categories-section,
.services-section,
.sectors-section,
.clients-section,
.trust-section,
.why-section,
.why-syria-section,
.related-section,
.sources-section,
.terms-section,
.location-section,
.about-section,
.experience-section {
  background: var(--aal-surface) !important;
}

.section-white {
  background: var(--aal-white) !important;
}

.section-header {
  max-width: 920px;
  margin: 0 auto 56px !important;
  text-align: center;
}

section > .container > h2,
section > .container-narrow > h2,
.section-title {
  max-width: 1000px;
  margin-inline: auto !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}

.intro-text,
.section-subtitle,
.section-intro {
  max-width: 840px !important;
  margin: 0 auto 56px !important;
  color: var(--aal-muted) !important;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important;
  line-height: 1.68 !important;
  text-align: center;
}

.main-content {
  padding: clamp(5.5rem, 9vw, 8.5rem) 0 !important;
  background: var(--aal-white) !important;
}

.content-section {
  padding: 0 !important;
  margin: 0 0 clamp(4.8rem, 8vw, 7rem) !important;
  background: transparent !important;
}

.content-section:last-child {
  margin-bottom: 0 !important;
}

.content-section h2,
.article-body h2,
.article-content h2,
.policy-section h2,
.glossary-body h2 {
  max-width: 900px;
  margin: 0 0 26px !important;
  font-size: clamp(2rem, 3.6vw, 3.3rem) !important;
  text-align: left !important;
}

.content-section h3,
.article-body h3,
.article-content h3,
.policy-section h3,
.glossary-body h3 {
  margin-top: 42px !important;
  margin-bottom: 16px !important;
}

.content-section .section-intro {
  max-width: none !important;
  margin: 0 0 28px !important;
  color: var(--aal-navy) !important;
  font-size: clamp(1.18rem, 2vw, 1.48rem) !important;
  font-weight: 520;
  line-height: 1.56 !important;
  text-align: left;
}

.content-section p,
.article-body p,
.article-content p,
.policy-section p,
.glossary-body p,
.legal-wrap p {
  margin-bottom: 1.35em;
  color: #4a5568;
  font-size: 1.03rem;
  line-height: 1.82;
}

.content-section ul,
.content-section ol,
.article-body ul,
.article-body ol,
.article-content ul,
.article-content ol,
.policy-section ul,
.policy-section ol,
.glossary-body ul,
.glossary-body ol {
  margin: 24px 0 32px;
  padding-left: 1.35rem;
}

.content-section li,
.article-body li,
.article-content li,
.policy-section li,
.glossary-body li {
  margin-bottom: 10px;
  color: #4a5568;
  line-height: 1.72;
}

/* Grid rhythm */
body :is(
  .advantage-grid,
  .services-grid,
  .testimonial-grid,
  .risk-grid,
  .why-grid,
  .benefits-grid,
  .entity-cards,
  .contract-cards,
  .license-cards,
  .sector-cards,
  .sectors-grid,
  .investment-grid,
  .project-grid,
  .related-grid,
  .categories-grid,
  .glossary-grid,
  .clients-grid,
  .highlights-grid,
  .key-highlights,
  .links-grid,
  .trust-grid,
  .stats-grid,
  .facts-grid,
  .key-stats-grid,
  .contact-grid,
  .contact-info-grid
) {
  gap: 24px !important;
}

/* Unified cards */
body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card,
  .stats-card,
  .highlight-item,
  .key-stat,
  .sidebar-card,
  .sidebar-box,
  .contact-box,
  .term-card,
  .calendar-item,
  .location-item,
  .ministry-item,
  .obligation,
  .process-step,
  .timeline-item,
  .column-box,
  .court-level,
  .why-item
) {
  padding: clamp(1.65rem, 3vw, 2.45rem) !important;
  color: var(--aal-text);
  background: var(--aal-white) !important;
  border: 1px solid var(--aal-line) !important;
  border-left: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius) !important;
  box-shadow: none !important;
  transition: transform 350ms var(--aal-ease), border-color 250ms ease, box-shadow 350ms var(--aal-ease) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card,
  .stats-card,
  .highlight-item,
  .key-stat,
  .sidebar-card,
  .sidebar-box,
  .contact-box,
  .term-card,
  .calendar-item,
  .location-item,
  .ministry-item,
  .obligation,
  .process-step,
  .timeline-item,
  .column-box,
  .court-level,
  .why-item
):hover {
  transform: translateY(-4px) !important;
  border-color: rgba(199, 163, 90, 0.50) !important;
  box-shadow: var(--aal-shadow-md) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card
) h3 {
  margin-bottom: 16px !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card
) p {
  color: var(--aal-muted) !important;
  line-height: 1.7 !important;
}

.service-link,
.category-link,
.law-card-link,
.related-link,
.glossary-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: var(--aal-navy) !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

.service-link::after,
.category-link::after,
.law-card-link::after,
.related-link::after,
.glossary-link::after {
  color: var(--aal-gold-deep);
  transition: transform 220ms ease;
}

.service-link:hover::after,
.category-link:hover::after,
.law-card-link:hover::after,
.related-link:hover::after,
.glossary-link:hover::after {
  transform: translateX(3px);
}

/* Icon containers */
body :is(
  .benefit-icon,
  .category-icon,
  .client-icon,
  .contract-icon,
  .entity-icon,
  .highlight-icon,
  .legal-card-icon,
  .license-icon,
  .location-icon,
  .sector-card-icon,
  .service-icon,
  .trust-icon,
  .why-icon,
  .service-bar-icon
) {
  width: 58px !important;
  height: 58px !important;
  display: grid !important;
  place-items: center;
  margin-bottom: 22px !important;
  color: var(--aal-navy) !important;
  background: rgba(226, 185, 121, 0.20) !important;
  border: 1px solid rgba(199, 163, 90, 0.25) !important;
  border-radius: 18px !important;
  font-size: 1.45rem !important;
}

/* Elevated fact and trust bars */
body :is(.key-facts, .stats-banner, .stats-bar, .trust-bar, .services-bar, .key-stats-box) {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: -48px auto 92px !important;
  padding: 30px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius-lg) !important;
  box-shadow: var(--aal-shadow-md) !important;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

body :is(.fact-item, .stat-item, .trust-item, .service-bar-item, .key-stat) {
  min-width: 0;
  padding: 15px 18px !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body :is(.fact-number, .stat-number, .stats-card-number, .key-stat-value, .project-value, .sector-card-stat) {
  color: var(--aal-navy) !important;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem) !important;
  font-weight: 750 !important;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

body :is(.fact-label, .stat-label, .stats-card-label, .key-stat-label, .service-bar-label) {
  margin-top: 8px;
  color: var(--aal-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 550 !important;
  line-height: 1.4;
  letter-spacing: 0.015em;
}

/* Editorial layouts */
.content-grid,
.content-area,
.article-content,
.intro-grid,
.about-grid,
.location-grid,
.two-columns,
.hero-grid {
  gap: clamp(2.5rem, 6vw, 5.5rem) !important;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px) !important;
  align-items: start;
}

.article-body,
.legal-wrap,
.glossary-body,
.policy-section {
  max-width: 880px;
}

.article-meta,
.legal-meta,
.term-reference,
.deadline,
.step-duration,
.timeline-duration,
.timeline-date,
.article-excerpt {
  color: var(--aal-muted) !important;
  font-size: 0.84rem !important;
}

.toc,
.quick-links,
.internal-links,
.related-links,
.sources-list,
.contact-sidebar,
.cta-sidebar {
  padding: clamp(1.5rem, 3vw, 2rem) !important;
  background: var(--aal-surface) !important;
  border: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius) !important;
  box-shadow: none !important;
}

.sidebar {
  position: sticky;
  top: 104px;
}

.toc-list,
.quick-links,
.internal-links,
.related-links,
.sources-list {
  list-style: none;
}

.toc a,
.quick-links a,
.internal-links a,
.related-links a,
.sources-list a {
  color: var(--aal-navy) !important;
  text-decoration: none;
}

/* Images */
.image-block,
.about-image,
.article-image,
.sector-image,
.location-map,
.media-shot,
.photo-placeholder,
.media-placeholder,
.contact-map-col {
  overflow: hidden !important;
  background: var(--aal-surface);
  border: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius-lg) !important;
  box-shadow: var(--aal-shadow-md) !important;
}

.image-block {
  margin: clamp(3.5rem, 7vw, 6rem) 0 !important;
}

.image-block img {
  width: 100% !important;
  height: clamp(340px, 54vw, 660px) !important;
  display: block;
  object-fit: cover !important;
  transition: transform 900ms var(--aal-ease);
}

.image-block:hover img {
  transform: scale(1.015);
}

.about-image img,
.article-image img,
.sector-image img,
.location-map img,
.media-shot img,
.related-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.related-card {
  padding: 0 !important;
  overflow: hidden;
}

.related-card-body {
  padding: 26px !important;
}

.related-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--aal-surface);
}

/* Dark editorial moments */
.risk-section,
section.cta-section,
.contact-info-section,
.contact-bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--aal-white) !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(226, 185, 121, 0.19), transparent 28%),
    linear-gradient(145deg, var(--aal-navy-deep), var(--aal-navy)) !important;
}

.risk-section,
section.cta-section {
  padding: clamp(6rem, 10vw, 9rem) 0 !important;
}

.risk-section h2,
.risk-section h3,
section.cta-section h2,
section.cta-section h3,
.contact-info-section h2,
.contact-info-section h3,
.contact-bar h2,
.contact-bar h3 {
  color: var(--aal-white) !important;
}

.risk-section .intro-text,
section.cta-section p,
.contact-info-section p,
.contact-bar p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.risk-item {
  padding: clamp(1.7rem, 3vw, 2.35rem) !important;
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: var(--aal-radius) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.risk-item h3 {
  color: var(--aal-gold) !important;
}

.risk-item p {
  color: rgba(255, 255, 255, 0.69) !important;
}

div.cta-section,
.cta-box,
.inline-cta,
.cta-inline,
.incentive-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: clamp(3.5rem, 7vw, 6rem) !important;
  padding: clamp(2.4rem, 6vw, 5rem) !important;
  color: var(--aal-white) !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(226, 185, 121, 0.19), transparent 32%),
    var(--aal-navy-deep) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: var(--aal-radius-lg) !important;
  box-shadow: var(--aal-shadow-lg) !important;
  text-align: center;
}

div.cta-section h2,
div.cta-section h3,
.cta-box h2,
.cta-box h3,
.inline-cta h2,
.inline-cta h3,
.cta-inline h2,
.cta-inline h3,
.incentive-box h2,
.incentive-box h3 {
  color: var(--aal-white) !important;
}

div.cta-section p,
.cta-box p,
.inline-cta p,
.cta-inline p,
.incentive-box p {
  color: rgba(255, 255, 255, 0.70) !important;
}

/* Quotes, callouts, and notices */
body :is(
  .highlight-box,
  .context-box,
  .quote-block,
  .important-note,
  .warning-box,
  .danger-box,
  .success-box,
  .info-box,
  .about-highlight,
  .tariff-box
) {
  margin-block: 32px !important;
  padding: clamp(1.5rem, 3vw, 2.25rem) !important;
  background: var(--aal-cream) !important;
  border: 1px solid rgba(199, 163, 90, 0.28) !important;
  border-left: 4px solid var(--aal-gold-deep) !important;
  border-radius: 0 var(--aal-radius) var(--aal-radius) 0 !important;
  box-shadow: none !important;
}

body :is(.highlight-box-title, .info-box-title, .warning-box-title) {
  color: var(--aal-navy) !important;
  font-weight: 700 !important;
}

/* FAQs */
.faq-container {
  max-width: 920px !important;
  margin-top: 54px !important;
}

.faq-grid {
  gap: 16px !important;
}

.faq-item {
  margin-bottom: 14px !important;
  overflow: hidden;
  background: var(--aal-white) !important;
  border: 1px solid var(--aal-line) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
}

.faq-question {
  min-height: 72px;
  padding: 22px 26px !important;
  color: var(--aal-navy) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 1.03rem !important;
  font-weight: 650 !important;
  line-height: 1.4;
}

.faq-question::after {
  flex: 0 0 auto;
  margin-left: 20px;
  color: var(--aal-gold-deep) !important;
  font-size: 1.35rem !important;
  font-weight: 450 !important;
}

.faq-answer {
  padding: 0 26px 25px !important;
  color: var(--aal-muted) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 0.98rem;
  line-height: 1.72 !important;
}

/* Process and timelines */
.process-steps,
.steps-list,
.timeline,
.compliance-calendar,
.ministry-list,
.checklist,
.doc-checklist,
.icon-list,
.contract-features,
.entity-features {
  gap: 16px !important;
}

.process-step,
.timeline-item {
  align-items: flex-start;
}

.step-number,
.step-marker,
.timeline-marker,
.why-number {
  display: grid !important;
  place-items: center;
  flex: 0 0 auto;
  color: var(--aal-navy) !important;
  background: var(--aal-gold) !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(199, 163, 90, 0.22) !important;
}

/* Tables */
.data-table-wrapper {
  margin: 36px 0 !important;
  overflow-x: auto;
  border: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius) !important;
  box-shadow: none !important;
}

body :is(.data-table, .comparison-table, .process-table, .laws-table, .tax-table) {
  width: 100%;
  margin: 36px 0 !important;
  overflow: hidden;
  border: 1px solid var(--aal-line) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: var(--aal-radius) !important;
  background: var(--aal-white) !important;
  box-shadow: none !important;
}

body :is(.data-table, .comparison-table, .process-table, .laws-table, .tax-table) th {
  padding: 18px 20px !important;
  color: var(--aal-navy) !important;
  background: var(--aal-cream) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--aal-line) !important;
  font-size: 0.79rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body :is(.data-table, .comparison-table, .process-table, .laws-table, .tax-table) td {
  padding: 18px 20px !important;
  color: #4a5568 !important;
  background: var(--aal-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--aal-line) !important;
  line-height: 1.55;
}

body :is(.data-table, .comparison-table, .process-table, .laws-table, .tax-table) tr:last-child td {
  border-bottom: 0 !important;
}

/* Glossary and legal document refinements */
.glossary-category,
.term-header {
  padding: 18px 22px !important;
  color: var(--aal-white) !important;
  background: var(--aal-navy) !important;
  border-radius: 16px !important;
}

.term-header h2,
.term-header h3,
.glossary-category h2,
.glossary-category h3 {
  color: var(--aal-white) !important;
}

.term-definition,
.term-english,
.term-arabic,
.term-en,
.term-ar,
.term-transliteration {
  color: #4a5568 !important;
  line-height: 1.72 !important;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 20px !important;
  margin: 52px 0 !important;
  padding: 28px !important;
  background: var(--aal-surface) !important;
  border: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius) !important;
}

.author-avatar {
  overflow: hidden;
  border: 3px solid var(--aal-white) !important;
  border-radius: 50% !important;
  box-shadow: var(--aal-shadow-sm);
}

/* Contact */
.contact-info-section {
  padding: clamp(5.5rem, 9vw, 8rem) 0 !important;
}

.contact-info-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr) !important;
  align-items: center !important;
  gap: clamp(3rem, 7vw, 6rem) !important;
}

.contact-details-title {
  margin-bottom: 8px !important;
  color: var(--aal-gold) !important;
  font-size: clamp(2.3rem, 4vw, 3.8rem) !important;
}

.contact-details-sub {
  margin-bottom: 34px !important;
  color: rgba(255, 255, 255, 0.56) !important;
  font-size: 0.95rem !important;
}

.contact-detail-list {
  gap: 14px !important;
}

.contact-detail-list li {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.96rem !important;
}

.cd-icon {
  width: 42px !important;
  height: 42px !important;
  color: var(--aal-gold) !important;
  background: rgba(226, 185, 121, 0.10) !important;
  border: 1px solid rgba(226, 185, 121, 0.22) !important;
}

.contact-map-col {
  min-height: 390px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25) !important;
}

.contact-map-col iframe,
.map-placeholder {
  width: 100% !important;
  height: 390px !important;
  border: 0 !important;
}

.contact-bar {
  padding: 48px 0 !important;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.66) !important;
  background: var(--aal-navy-deep) !important;
  font-family: inherit !important;
}

.sf-top {
  padding: 78px 0 62px !important;
}

.sf-top > .sf-container {
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(180px, 1fr)) !important;
  gap: clamp(2.5rem, 6vw, 6rem) !important;
}

.sf-logo {
  height: 56px !important;
  margin-bottom: 24px !important;
  filter: none !important;
}

.sf-brand-desc {
  max-width: 400px !important;
  margin-bottom: 28px !important;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 0.9rem !important;
  line-height: 1.72 !important;
}

.sf-heading {
  margin-bottom: 20px !important;
  padding: 0 !important;
  color: var(--aal-gold) !important;
  border: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.sf-links {
  gap: 11px !important;
}

.sf-links li a {
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.87rem !important;
}

.sf-links li a:hover {
  padding-left: 0 !important;
  color: var(--aal-white) !important;
}

.sf-social a {
  width: 42px !important;
  height: 42px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.sf-social a:hover {
  color: var(--aal-navy-deep) !important;
  background: var(--aal-gold) !important;
  border-color: var(--aal-gold) !important;
}

.sf-nap-bar {
  padding: 24px 0 20px !important;
  background: rgba(255, 255, 255, 0.028) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.sf-nap-items {
  gap: 10px 34px !important;
}

.sf-nap-items span,
.sf-nap-items a {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.82rem !important;
}

.sf-bottom {
  padding: 22px 0 !important;
}

.sf-copy,
.sf-tagline {
  color: rgba(255, 255, 255, 0.34) !important;
}

.sf-attmata-btn {
  padding: 8px 15px !important;
  color: rgba(255, 255, 255, 0.46) !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
}

/* Floating contact control — deliberately compact and quiet. */
body .floating-contact {
  right: 24px !important;
  bottom: 24px !important;
  z-index: 9999 !important;
}

body .floating-main {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  color: var(--aal-navy-deep) !important;
  background: var(--aal-gold) !important;
  border: 1px solid rgba(255, 255, 255, 0.44) !important;
  border-radius: 50% !important;
  box-shadow: 0 14px 35px rgba(13, 31, 60, 0.22) !important;
  transition: transform 260ms var(--aal-ease), box-shadow 260ms ease !important;
}

body .floating-main:hover {
  transform: translateY(-2px) scale(1.025) !important;
  box-shadow: 0 18px 42px rgba(13, 31, 60, 0.27) !important;
}

body .floating-options {
  right: 0 !important;
  bottom: 70px !important;
  gap: 10px !important;
}

body .floating-option {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 12px 28px rgba(13, 31, 60, 0.22) !important;
}

body .floating-option.email {
  background: var(--aal-navy) !important;
  border: 1px solid rgba(226, 185, 121, 0.55) !important;
}

/* 404 page */
.page-wrap,
.err-main {
  background:
    radial-gradient(circle at 75% 20%, rgba(226, 185, 121, 0.16), transparent 30%),
    var(--aal-surface) !important;
}

.err-card {
  padding: clamp(2rem, 6vw, 5rem) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--aal-line) !important;
  border-radius: var(--aal-radius-lg) !important;
  box-shadow: var(--aal-shadow-md) !important;
}

.err-number {
  color: var(--aal-gold-deep) !important;
  font-size: clamp(5rem, 18vw, 11rem) !important;
  font-weight: 760 !important;
  line-height: 0.8 !important;
  letter-spacing: -0.07em !important;
}

/* Responsive refinements */
@media (max-width: 1100px) {
  .header-content {
    gap: 16px;
  }

  header nav > ul > li > a {
    padding-inline: 9px !important;
    font-size: 0.82rem !important;
  }

  .hero h1,
  .page-header h1,
  .article-hero h1,
  .glossary-header h1 {
    max-width: 930px;
  }
}

@media (max-width: 900px) {
  header nav > ul {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hero {
    min-height: 620px;
  }

  .hero:has(.credentials) {
    min-height: auto;
  }

  .content-grid,
  .content-area,
  .contact-info-grid,
  .intro-grid,
  .about-grid,
  .location-grid,
  .two-columns,
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .sidebar {
    position: static;
  }

  .sf-top > .sf-container {
    grid-template-columns: 1fr 1fr !important;
  }

  .sf-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container,
  .container-narrow,
  .sf-container {
    width: min(100% - 32px, 1240px) !important;
  }

  body > header,
  header,
  .header-content {
    min-height: 68px;
  }

  .logo-img {
    height: 45px !important;
    max-height: 45px !important;
  }

  .hero {
    min-height: auto;
    padding: 90px 0 78px !important;
  }

  .hero:has(.credentials) {
    background-position: 43% center !important;
  }

  .hero h1,
  .page-header h1,
  .article-hero h1,
  .glossary-header h1 {
    margin-bottom: 21px !important;
    font-size: clamp(2.55rem, 12vw, 4.2rem) !important;
    line-height: 1.02 !important;
  }

  .hero p,
  .hero-subtitle,
  .hero-description,
  .page-header p,
  .article-hero p,
  .glossary-header p {
    margin-bottom: 28px !important;
    font-size: 1rem !important;
  }

  .page-header,
  .article-hero,
  .glossary-header {
    min-height: 330px;
    padding: 78px 0 !important;
  }

  .credentials {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
    margin-top: 42px !important;
  }

  .credential-item {
    padding: 15px 13px !important;
  }

  .credential-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body > section:not(.hero):not(.page-header):not(.article-hero):not(.glossary-header),
  main > section,
  .main-content > section {
    padding-block: 5rem !important;
  }

  .main-content {
    padding: 5rem 0 !important;
  }

  h2,
  .section-title {
    font-size: clamp(2rem, 10vw, 3.1rem) !important;
  }

  .content-section h2,
  .article-body h2,
  .article-content h2,
  .policy-section h2,
  .glossary-body h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem) !important;
  }

  body :is(
    .advantage-card,
    .featured-card,
    .service-card,
    .testimonial-card,
    .why-card,
    .benefit-item,
    .entity-card,
    .contract-card,
    .license-card,
    .sector-card,
    .investment-card,
    .project-card,
    .related-card,
    .category-card,
    .client-card,
    .info-card,
    .law-card,
    .legal-card,
    .stats-card,
    .highlight-item,
    .key-stat,
    .sidebar-card,
    .sidebar-box,
    .contact-box,
    .term-card,
    .calendar-item,
    .location-item,
    .ministry-item,
    .obligation,
    .process-step,
    .timeline-item,
    .column-box,
    .court-level,
    .why-item
  ) {
    border-radius: 20px !important;
  }

  .image-block,
  .about-image,
  .article-image,
  .sector-image,
  .location-map,
  .media-shot,
  .contact-map-col,
  div.cta-section,
  .cta-box,
  .inline-cta,
  .cta-inline,
  .incentive-box {
    border-radius: 24px !important;
  }

  .image-block img {
    height: 300px !important;
  }

  body :is(.key-facts, .stats-banner, .stats-bar, .trust-bar, .services-bar, .key-stats-box) {
    margin: -32px auto 68px !important;
    padding: 18px !important;
    border-radius: 24px !important;
  }

  body :is(.facts-grid, .stats-grid, .trust-grid, .services-bar-grid, .key-stats-grid) {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .contact-info-grid {
    gap: 42px !important;
  }

  .contact-map-col,
  .contact-map-col iframe,
  .map-placeholder {
    min-height: 300px;
    height: 300px !important;
  }

  .sf-top {
    padding: 58px 0 44px !important;
  }

  .sf-top > .sf-container {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .sf-brand {
    grid-column: auto;
  }

  .sf-bottom > .sf-container {
    align-items: flex-start !important;
  }

  body .floating-contact {
    right: 16px !important;
    bottom: 16px !important;
  }
}

@media (max-width: 420px) {
  .credentials {
    grid-template-columns: 1fr;
  }

  .credential-item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  body :is(.facts-grid, .stats-grid, .trust-grid, .services-bar-grid, .key-stats-grid) {
    grid-template-columns: 1fr !important;
  }

  body :is(
    .btn,
    .cta-button,
    .cta-btn,
    .cta-btn-primary,
    .cta-btn-secondary,
    .btn-primary,
    .btn-secondary,
    .btn-outline
  ) {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Version 3 — spacing and interaction polish
 * Compact navigation, calmer spacing and upload-safe
 * interaction states. This remains a style-only layer over the original pages.
 */

:root {
  --aal-action-blue: #1a365d;
  --aal-action-blue-deep: #0d1f3c;
  --aal-action-blue-soft: #eef1f5;
  --aal-sky: #f8f9fa;
  --aal-sky-strong: #f1f4f8;
  --aal-line: rgba(26, 54, 93, 0.13);
  --aal-shadow-sm: 0 8px 24px rgba(13, 31, 60, 0.08);
  --aal-shadow-md: 0 22px 58px rgba(13, 31, 60, 0.13);
  --aal-shadow-lg: 0 32px 90px rgba(13, 31, 60, 0.17);
}

body {
  background: var(--aal-white) !important;
  color: #263b55 !important;
}

/* Bright, compact navigation with an always-visible brand mark. */
body > header,
header {
  min-height: 86px;
  color: var(--aal-navy) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(26, 54, 93, 0.10) !important;
  box-shadow: 0 5px 22px rgba(13, 31, 60, 0.07) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

.header-content {
  min-height: 86px;
  gap: 24px;
}

.logo {
  min-width: 74px;
  min-height: 68px;
  justify-content: center;
  padding: 4px 7px !important;
  color: var(--aal-white) !important;
  background: linear-gradient(145deg, var(--aal-navy), var(--aal-navy-deep));
  border: 1px solid rgba(226, 185, 121, 0.35);
  border-radius: 17px;
  box-shadow: 0 10px 24px rgba(13, 31, 60, 0.16);
}

.logo-img {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

header nav > ul {
  gap: 3px !important;
}

header nav > ul > li > a {
  padding: 11px 13px !important;
  color: #274566 !important;
  font-size: 0.88rem !important;
  font-weight: 650 !important;
}

header nav > ul > li > a:hover,
header nav > ul > li > a:focus-visible,
header nav > ul > li.has-dropdown:focus-within > a {
  color: var(--aal-action-blue-deep) !important;
  background: var(--aal-action-blue-soft) !important;
}

.nav-arrow {
  color: var(--aal-action-blue) !important;
}

/*
 * The vertical padding becomes a real hover bridge. The pointer can move from
 * the navigation label into the menu without ever leaving the parent item.
 */
header nav > ul > li.has-dropdown {
  position: relative !important;
  margin-block: -13px !important;
  padding-block: 13px !important;
}

header nav > ul > li.has-dropdown::after {
  content: "";
  position: absolute;
  top: calc(100% - 4px);
  right: -8px;
  left: -8px;
  height: 12px;
}

.nav-dropdown {
  top: 100% !important;
  margin-top: 0 !important;
  min-width: 254px !important;
  padding: 10px !important;
  overflow: visible !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: rgba(255, 255, 255, 0.99) !important;
  border: 1px solid rgba(26, 54, 93, 0.15) !important;
  border-top: 4px solid var(--aal-action-blue) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 65px rgba(13, 31, 60, 0.18) !important;
  transform: translateY(8px) !important;
  transition: opacity 160ms ease, transform 180ms var(--aal-ease), visibility 0s linear 180ms !important;
}

header nav > ul > li.has-dropdown:hover > .nav-dropdown,
header nav > ul > li.has-dropdown:focus-within > .nav-dropdown,
.nav-dropdown:hover {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  transition-delay: 0s !important;
}

header nav > ul > li.has-dropdown:hover .nav-arrow,
header nav > ul > li.has-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg) !important;
}

.nav-dropdown li a {
  padding: 12px 14px !important;
  color: #244669 !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 560 !important;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
  color: var(--aal-action-blue-deep) !important;
  background: var(--aal-action-blue-soft) !important;
}

.hamburger {
  display: none !important;
  border-color: rgba(26, 54, 93, 0.16) !important;
  background: var(--aal-action-blue-soft) !important;
}

.hamburger span {
  background: var(--aal-navy) !important;
}

.mobile-nav {
  background: rgba(255, 255, 255, 0.99) !important;
  border-top-color: rgba(26, 54, 93, 0.10) !important;
  box-shadow: 0 18px 40px rgba(13, 31, 60, 0.12) !important;
}

.mobile-nav a,
.mobile-nav a.mob-sub {
  color: #294b70 !important;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--aal-action-blue-deep) !important;
  background: var(--aal-action-blue-soft) !important;
}

.mobile-nav a.mob-sub {
  color: #607791 !important;
}

.mob-label {
  color: var(--aal-action-blue) !important;
}

/* Light, image-led home hero in the visual language of modern payment sites. */
.hero:has(.credentials) {
  min-height: auto;
  padding: clamp(6.8rem, 10vw, 9.5rem) 0 clamp(4.5rem, 7vw, 6rem) !important;
  background-image:
    linear-gradient(90deg, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0.98) 44%, rgba(248, 249, 250, 0.84) 64%, rgba(13, 31, 60, 0.18) 100%),
    url('damascus.webp') !important;
  background-position: right center !important;
  background-size: cover !important;
}

.hero:has(.credentials)::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(26, 54, 93, 0.10), transparent 30%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.35), transparent 44%) !important;
}

.hero:has(.credentials) > .container {
  text-align: left !important;
}

.hero:has(.credentials) h1 {
  max-width: 860px;
  margin: 0 0 26px !important;
  color: var(--aal-navy-deep) !important;
  font-size: clamp(3.15rem, 6.2vw, 5.9rem) !important;
  line-height: 0.98 !important;
  text-align: left !important;
  text-shadow: none !important;
}

.hero:has(.credentials) p {
  max-width: 760px !important;
  margin: 0 0 34px !important;
  color: #49647f !important;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem) !important;
  text-align: left !important;
}

.hero:has(.credentials) .credentials {
  justify-content: flex-start;
  max-width: none;
  margin-top: 56px !important;
}

.hero:has(.credentials) .credential-item {
  flex: 1 1 190px;
  padding: 18px 17px !important;
  color: #294b70 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(26, 54, 93, 0.13) !important;
  box-shadow: 0 10px 26px rgba(13, 31, 60, 0.09) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero:has(.credentials) .credential-item strong {
  color: inherit !important;
}

.page-header,
.article-hero,
.glossary-header {
  background:
    radial-gradient(circle at 78% 12%, rgba(26, 54, 93, 0.45), transparent 32%),
    radial-gradient(circle at 18% 88%, rgba(226, 185, 121, 0.16), transparent 28%),
    linear-gradient(135deg, var(--aal-navy-deep), var(--aal-navy)) !important;
}

/* PayPal-like action hierarchy: blue primary controls, gold as brand detail. */
body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
) {
  color: var(--aal-white) !important;
  background: var(--aal-action-blue) !important;
  border-color: var(--aal-action-blue) !important;
  box-shadow: 0 8px 20px rgba(26, 54, 93, 0.18) !important;
}

body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
):hover {
  color: var(--aal-white) !important;
  background: var(--aal-action-blue-deep) !important;
  border-color: var(--aal-action-blue-deep) !important;
  box-shadow: 0 13px 30px rgba(26, 54, 93, 0.25) !important;
}

.hero :is(.btn-secondary, .btn-outline),
.cta-section :is(.btn-secondary, .btn-outline),
.risk-section :is(.btn-secondary, .btn-outline) {
  color: var(--aal-white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow: none !important;
}

.hero:has(.credentials) :is(.btn-secondary, .btn-outline) {
  color: var(--aal-action-blue-deep) !important;
  border-color: rgba(26, 54, 93, 0.45) !important;
}

/* Quieter sections, lightly elevated cards and blue interaction feedback. */
.section-light,
.section-cream,
.testimonials,
.faq-section,
.categories-section,
.services-section,
.sectors-section,
.clients-section,
.trust-section,
.why-section,
.why-syria-section,
.related-section,
.sources-section,
.terms-section,
.location-section,
.about-section,
.experience-section {
  background: var(--aal-sky) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card,
  .stats-card,
  .highlight-item,
  .key-stat,
  .sidebar-card,
  .sidebar-box,
  .contact-box,
  .term-card,
  .calendar-item,
  .location-item,
  .ministry-item,
  .obligation,
  .process-step,
  .timeline-item,
  .column-box,
  .court-level,
  .why-item
) {
  border-color: rgba(26, 54, 93, 0.12) !important;
  border-radius: 21px !important;
  box-shadow: 0 7px 22px rgba(13, 31, 60, 0.055) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card
):hover {
  border-color: rgba(26, 54, 93, 0.34) !important;
  box-shadow: 0 18px 44px rgba(13, 31, 60, 0.12) !important;
}

.service-link,
.category-link,
.law-card-link,
.related-link,
.glossary-link,
.breadcrumb a,
.toc a,
.quick-links a,
.internal-links a,
.related-links a,
.sources-list a {
  color: var(--aal-action-blue) !important;
}

body :is(
  .benefit-icon,
  .category-icon,
  .client-icon,
  .contract-icon,
  .entity-icon,
  .highlight-icon,
  .legal-card-icon,
  .license-icon,
  .location-icon,
  .sector-card-icon,
  .service-icon,
  .trust-icon,
  .why-icon,
  .service-bar-icon
) {
  color: var(--aal-action-blue-deep) !important;
  background: var(--aal-action-blue-soft) !important;
  border-color: rgba(26, 54, 93, 0.18) !important;
}

.image-block,
.about-image,
.article-image,
.sector-image,
.location-map,
.media-shot,
.contact-map-col {
  border-color: rgba(26, 54, 93, 0.12) !important;
  border-radius: 30px !important;
  box-shadow: 0 24px 60px rgba(13, 31, 60, 0.13) !important;
}

.risk-section,
section.cta-section,
.contact-info-section,
.contact-bar {
  background:
    radial-gradient(circle at 82% 8%, rgba(26, 54, 93, 0.55), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(226, 185, 121, 0.14), transparent 27%),
    linear-gradient(135deg, var(--aal-navy-deep), var(--aal-navy)) !important;
}

.faq-item {
  border-color: rgba(26, 54, 93, 0.13) !important;
  border-radius: 18px !important;
  box-shadow: 0 5px 18px rgba(13, 31, 60, 0.05) !important;
}

.faq-question::after {
  color: var(--aal-action-blue) !important;
}

body .floating-main {
  color: var(--aal-white) !important;
  background: var(--aal-action-blue) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 14px 34px rgba(26, 54, 93, 0.30) !important;
}

body .floating-main:hover {
  background: var(--aal-action-blue-deep) !important;
  box-shadow: 0 18px 42px rgba(26, 54, 93, 0.34) !important;
}

@media (max-width: 1120px) {
  header nav > ul {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .mobile-nav.open {
    display: flex !important;
  }
}

@media (min-width: 1121px) {
  .mobile-nav,
  .mobile-nav.open {
    display: none !important;
  }
}

@media (max-width: 760px) {
  body > header,
  header,
  .header-content {
    min-height: 76px;
  }

  .logo {
    min-width: 64px;
    min-height: 58px;
    border-radius: 14px;
  }

  .logo-img {
    width: 51px !important;
    height: 51px !important;
    max-width: 51px !important;
    max-height: 51px !important;
  }

  .hero:has(.credentials) {
    padding: 5.7rem 0 4rem !important;
    background-image:
      linear-gradient(180deg, rgba(248, 249, 250, 0.97) 0%, rgba(248, 249, 250, 0.92) 62%, rgba(248, 249, 250, 0.88) 100%),
      url('damascus.webp') !important;
    background-position: center !important;
  }

  .hero:has(.credentials) h1,
  .hero:has(.credentials) p,
  .hero:has(.credentials) > .container {
    text-align: center !important;
  }

  .hero:has(.credentials) h1,
  .hero:has(.credentials) p {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .hero:has(.credentials) .credentials {
    justify-content: center;
    margin-top: 42px !important;
  }

  .image-block,
  .about-image,
  .article-image,
  .sector-image,
  .location-map,
  .media-shot,
  .contact-map-col {
    border-radius: 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Version 4 — original navy identity + scroll-driven editorial motion
 * Keeps the existing content and layout structure while replacing the bright
 * payment-blue treatment with Al Arabia Law's established navy and gold.
 */

:root {
  --aal-action-blue: #1a365d;
  --aal-action-blue-deep: #0d1f3c;
  --aal-action-blue-soft: rgba(26, 54, 93, 0.08);
  --aal-sky: #f8f9fa;
  --aal-sky-strong: #f1f4f8;
  --aal-line: rgba(26, 54, 93, 0.12);
  --aal-shadow-sm: 0 9px 28px rgba(13, 31, 60, 0.07);
  --aal-shadow-md: 0 24px 64px rgba(13, 31, 60, 0.11);
  --aal-shadow-lg: 0 38px 100px rgba(13, 31, 60, 0.17);
}

body {
  color: var(--aal-text) !important;
}

/* Return the navigation to the firm's original dark navy identity. */
body > header,
header {
  min-height: 82px;
  color: var(--aal-white) !important;
  background: rgba(13, 31, 60, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 8px 30px rgba(5, 16, 33, 0.14) !important;
  -webkit-backdrop-filter: saturate(145%) blur(22px);
  backdrop-filter: saturate(145%) blur(22px);
}

.header-content {
  min-height: 82px;
}

.logo {
  min-width: 70px;
  min-height: 64px;
  padding: 3px 6px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(226, 185, 121, 0.32) !important;
  border-radius: 16px;
  box-shadow: none !important;
}

header nav > ul > li > a {
  color: rgba(255, 255, 255, 0.78) !important;
}

header nav > ul > li > a:hover,
header nav > ul > li > a:focus-visible,
header nav > ul > li.has-dropdown:focus-within > a {
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

.nav-arrow {
  color: var(--aal-gold) !important;
}

.nav-dropdown {
  border-color: rgba(26, 54, 93, 0.12) !important;
  border-top-color: var(--aal-gold) !important;
  box-shadow: 0 26px 70px rgba(5, 16, 33, 0.22) !important;
}

.nav-dropdown li a {
  color: var(--aal-navy) !important;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
  color: var(--aal-navy-deep) !important;
  background: rgba(26, 54, 93, 0.07) !important;
}

.hamburger {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

.hamburger span {
  background: var(--aal-white) !important;
}

.mobile-nav {
  background: rgba(13, 31, 60, 0.985) !important;
  border-top-color: rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 20px 46px rgba(5, 16, 33, 0.22) !important;
}

.mobile-nav a,
.mobile-nav a.mob-sub {
  color: rgba(255, 255, 255, 0.80) !important;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--aal-white) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav a.mob-sub {
  color: rgba(255, 255, 255, 0.60) !important;
}

.mob-label {
  color: var(--aal-gold) !important;
}

/* Dark, image-led hero using only the original navy and gold palette. */
.hero:has(.credentials) {
  min-height: min(880px, calc(100vh - 16px));
  padding: clamp(7rem, 11vw, 10rem) 0 clamp(5rem, 8vw, 7rem) !important;
  background-image:
    linear-gradient(90deg, rgba(13, 31, 60, 0.97) 0%, rgba(13, 31, 60, 0.88) 52%, rgba(13, 31, 60, 0.60) 100%),
    url('damascus.webp') !important;
  background-position: center 48% !important;
}

.hero:has(.credentials)::before {
  background:
    radial-gradient(circle at 14% 16%, rgba(226, 185, 121, 0.13), transparent 30%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.045), transparent 44%) !important;
}

.hero:has(.credentials) h1 {
  color: var(--aal-white) !important;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.22) !important;
}

.hero:has(.credentials) p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero:has(.credentials) .credential-item {
  color: rgba(255, 255, 255, 0.90) !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 12px 34px rgba(5, 16, 33, 0.15) !important;
}

.page-header,
.article-hero,
.glossary-header,
.risk-section,
section.cta-section,
.contact-info-section,
.contact-bar {
  background:
    radial-gradient(circle at 78% 12%, rgba(226, 185, 121, 0.17), transparent 31%),
    radial-gradient(circle at 16% 90%, rgba(45, 74, 111, 0.58), transparent 34%),
    linear-gradient(140deg, var(--aal-navy-deep), var(--aal-navy)) !important;
}

/* Navy controls on light backgrounds; gold is reserved for dark hero moments. */
body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
) {
  color: var(--aal-white) !important;
  background: var(--aal-navy) !important;
  border-color: var(--aal-navy) !important;
  box-shadow: 0 9px 22px rgba(13, 31, 60, 0.18) !important;
}

body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
):hover {
  color: var(--aal-white) !important;
  background: var(--aal-navy-deep) !important;
  border-color: var(--aal-navy-deep) !important;
  box-shadow: 0 14px 32px rgba(13, 31, 60, 0.25) !important;
}

.hero:has(.credentials) .cta-button {
  color: var(--aal-navy-deep) !important;
  background: var(--aal-gold) !important;
  border-color: var(--aal-gold) !important;
  box-shadow: 0 12px 30px rgba(5, 16, 33, 0.24) !important;
}

.hero:has(.credentials) .cta-button:hover {
  color: var(--aal-navy-deep) !important;
  background: #ebc98d !important;
  border-color: #ebc98d !important;
}

.hero :is(.btn-secondary, .btn-outline),
.cta-section :is(.btn-secondary, .btn-outline),
.risk-section :is(.btn-secondary, .btn-outline) {
  color: var(--aal-white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.60) !important;
  box-shadow: none !important;
}

.section-light,
.section-cream,
.testimonials,
.faq-section,
.categories-section,
.services-section,
.sectors-section,
.clients-section,
.trust-section,
.why-section,
.why-syria-section,
.related-section,
.sources-section,
.terms-section,
.location-section,
.about-section,
.experience-section {
  background: var(--aal-surface) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card,
  .stats-card,
  .highlight-item,
  .key-stat,
  .sidebar-card,
  .sidebar-box,
  .contact-box,
  .term-card,
  .calendar-item,
  .location-item,
  .ministry-item,
  .obligation,
  .process-step,
  .timeline-item,
  .column-box,
  .court-level,
  .why-item
) {
  border-color: rgba(26, 54, 93, 0.11) !important;
  box-shadow: 0 8px 25px rgba(13, 31, 60, 0.055) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card
):hover {
  border-color: rgba(199, 163, 90, 0.34) !important;
  box-shadow: 0 20px 48px rgba(13, 31, 60, 0.12) !important;
}

.service-link,
.category-link,
.law-card-link,
.related-link,
.glossary-link,
.breadcrumb a,
.toc a,
.quick-links a,
.internal-links a,
.related-links a,
.sources-list a {
  color: var(--aal-navy) !important;
}

/* A single professional icon language replaces the mixed emoji set. */
body :is(
  .benefit-icon,
  .category-icon,
  .client-icon,
  .contract-icon,
  .entity-icon,
  .highlight-icon,
  .legal-card-icon,
  .law-card-icon,
  .license-icon,
  .location-icon,
  .sector-card-icon,
  .service-icon,
  .trust-icon,
  .why-icon,
  .service-bar-icon
) {
  width: 56px !important;
  height: 56px !important;
  color: var(--aal-gold) !important;
  background: linear-gradient(145deg, var(--aal-navy), var(--aal-navy-deep)) !important;
  border: 1px solid rgba(226, 185, 121, 0.34) !important;
  border-radius: 17px !important;
  box-shadow: 0 12px 26px rgba(13, 31, 60, 0.16) !important;
  font-size: 1.15rem !important;
  transition: transform 320ms var(--aal-ease), box-shadow 320ms var(--aal-ease) !important;
}

body :is(
  .benefit-icon,
  .category-icon,
  .client-icon,
  .contract-icon,
  .entity-icon,
  .highlight-icon,
  .legal-card-icon,
  .law-card-icon,
  .license-icon,
  .location-icon,
  .sector-card-icon,
  .service-icon,
  .trust-icon,
  .why-icon,
  .service-bar-icon
) > i {
  display: block;
  line-height: 1;
}

body :is(
  .advantage-card,
  .service-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .category-card,
  .client-card,
  .law-card,
  .highlight-item
):hover :is(
  .benefit-icon,
  .category-icon,
  .client-icon,
  .contract-icon,
  .entity-icon,
  .highlight-icon,
  .law-card-icon,
  .license-icon,
  .sector-card-icon,
  .service-icon,
  .trust-icon,
  .why-icon
) {
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 16px 32px rgba(13, 31, 60, 0.22) !important;
}

.photo-placeholder-icon {
  color: var(--aal-gold) !important;
}

.sector-image:has(> i),
.related-card-image:has(> i) {
  display: grid !important;
  place-items: center !important;
  color: var(--aal-gold) !important;
  background:
    radial-gradient(circle at 72% 24%, rgba(226, 185, 121, 0.16), transparent 32%),
    linear-gradient(145deg, var(--aal-navy), var(--aal-navy-deep)) !important;
}

.sector-image:has(> i) > i,
.related-card-image:has(> i) > i {
  font-size: clamp(2rem, 4vw, 3rem);
  filter: drop-shadow(0 8px 18px rgba(5, 16, 33, 0.24));
}

.image-block,
.about-image,
.article-image,
.sector-image,
.location-map,
.media-shot,
.contact-map-col {
  border-color: rgba(26, 54, 93, 0.12) !important;
  box-shadow: 0 26px 68px rgba(13, 31, 60, 0.13) !important;
}

.faq-item {
  border-color: rgba(26, 54, 93, 0.12) !important;
}

.faq-question::after {
  color: var(--aal-navy) !important;
}

body .floating-main,
body .floating-main:hover {
  color: var(--aal-navy-deep) !important;
  background: var(--aal-gold) !important;
  border-color: rgba(255, 255, 255, 0.68) !important;
  box-shadow: 0 15px 36px rgba(13, 31, 60, 0.28) !important;
}

/* Scroll-linked zoom: a restrained version for editorial imagery. */
.aal-scroll-zoom {
  --aal-frame-scale: 1;
  --aal-frame-opacity: 1;
  --aal-frame-radius: 30px;
  --aal-image-scale: 1;
  --aal-image-shift: 0px;
  position: relative;
  isolation: isolate;
  opacity: var(--aal-frame-opacity) !important;
  border-radius: var(--aal-frame-radius) !important;
  transform: scale(var(--aal-frame-scale));
  transform-origin: center center;
  will-change: transform, opacity, border-radius;
}

.aal-scroll-zoom > img,
.aal-scroll-zoom picture > img {
  transform: translate3d(0, var(--aal-image-shift), 0) scale(var(--aal-image-scale)) !important;
  transform-origin: center center;
  will-change: transform;
}

.image-block.aal-scroll-zoom:hover > img,
.image-block.aal-scroll-zoom:hover picture > img {
  transform: translate3d(0, var(--aal-image-shift), 0) scale(var(--aal-image-scale)) !important;
}

/* The first homepage image receives the more pronounced PayPal-like expansion. */
.image-placeholder:has(> .aal-scroll-zoom-featured) {
  min-height: clamp(610px, 106vh, 940px);
  display: flow-root;
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
}

.image-placeholder > .aal-scroll-zoom-featured {
  position: sticky;
  top: 108px;
  width: 100%;
  margin: 0 !important;
}

.image-placeholder > .aal-scroll-zoom-featured img {
  height: clamp(380px, 55vw, 670px) !important;
}

@media (max-width: 760px) {
  body > header,
  header,
  .header-content {
    min-height: 74px;
  }

  .logo {
    min-width: 62px;
    min-height: 56px;
  }

  .hero:has(.credentials) {
    padding: 6rem 0 4.5rem !important;
    background-image:
      linear-gradient(180deg, rgba(13, 31, 60, 0.91) 0%, rgba(13, 31, 60, 0.84) 100%),
      url('damascus.webp') !important;
    background-position: center !important;
  }

  .hero:has(.credentials) h1,
  .hero:has(.credentials) p,
  .hero:has(.credentials) > .container {
    text-align: center !important;
  }

  .image-placeholder:has(> .aal-scroll-zoom-featured) {
    min-height: clamp(490px, 84vh, 680px);
  }

  .image-placeholder > .aal-scroll-zoom-featured {
    top: 92px;
  }

  .image-placeholder > .aal-scroll-zoom-featured img {
    height: clamp(310px, 72vw, 480px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aal-scroll-zoom,
  .aal-scroll-zoom > img,
  .aal-scroll-zoom picture > img {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  .image-placeholder:has(> .aal-scroll-zoom-featured) {
    min-height: 0;
  }

  .image-placeholder > .aal-scroll-zoom-featured {
    position: relative;
    top: auto;
  }
}

/*
 * Version 5 — private-banking restraint, Damascus authority
 * A stronger premium layer built from the same original navy and gold.
 */

:root {
  --aal-navy: #1a365d;
  --aal-navy-deep: #07172c;
  --aal-navy-black: #04101f;
  --aal-gold: #e2b979;
  --aal-gold-deep: #c79b50;
  --aal-paper: #f6f7f9;
  --aal-line: rgba(26, 54, 93, 0.115);
  --aal-radius-sm: 12px;
  --aal-radius: 18px;
  --aal-radius-lg: 26px;
  --aal-shadow-sm: 0 12px 34px rgba(7, 23, 44, 0.07);
  --aal-shadow-md: 0 28px 72px rgba(7, 23, 44, 0.13);
  --aal-shadow-lg: 0 44px 120px rgba(4, 16, 31, 0.22);
}

body {
  background: var(--aal-white) !important;
}

/* Navigation: quieter at rest, more architectural after the first scroll. */
body > header,
header {
  min-height: 90px;
  background: rgba(7, 23, 44, 0.88) !important;
  border-bottom: 1px solid rgba(226, 185, 121, 0.12) !important;
  box-shadow: none !important;
  transition: background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease !important;
}

body > header::after,
header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, rgba(226, 185, 121, 0.52) 50%, transparent 95%);
  opacity: 0.62;
}

body > header.aal-header-scrolled,
header.aal-header-scrolled {
  background: rgba(7, 23, 44, 0.975) !important;
  border-bottom-color: rgba(226, 185, 121, 0.20) !important;
  box-shadow: 0 18px 48px rgba(4, 16, 31, 0.20) !important;
}

.header-content {
  min-height: 90px;
}

.logo {
  min-width: 72px;
  min-height: 70px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

.logo-img {
  width: 68px !important;
  height: 68px !important;
  max-width: 68px !important;
  max-height: 68px !important;
  filter: drop-shadow(0 9px 18px rgba(4, 16, 31, 0.24));
}

header nav > ul {
  gap: 5px !important;
}

header nav > ul > li > a {
  padding: 12px 14px !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.87rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}

header nav > ul > li > a:hover,
header nav > ul > li > a:focus-visible,
header nav > ul > li.has-dropdown:focus-within > a {
  color: var(--aal-gold) !important;
  background: rgba(255, 255, 255, 0.065) !important;
}

.nav-dropdown {
  min-width: 266px !important;
  padding: 9px !important;
  background: rgba(255, 255, 255, 0.985) !important;
  border: 1px solid rgba(26, 54, 93, 0.11) !important;
  border-top: 3px solid var(--aal-gold-deep) !important;
  border-radius: 14px !important;
  box-shadow: 0 32px 82px rgba(4, 16, 31, 0.25) !important;
}

.nav-dropdown li a {
  border-radius: 8px !important;
}

/* Hero: cinematic navy, hard editorial type and restrained gold detail. */
.hero:has(.credentials) {
  --aal-hero-bg-shift: 0px;
  --aal-hero-content-shift: 0px;
  --aal-hero-content-opacity: 1;
  min-height: min(940px, calc(100svh - 8px));
  padding: clamp(8rem, 12vw, 11.5rem) 0 clamp(5.5rem, 8vw, 7.5rem) !important;
  background-image:
    linear-gradient(90deg, rgba(4, 16, 31, 0.985) 0%, rgba(7, 23, 44, 0.88) 48%, rgba(13, 31, 60, 0.44) 100%),
    url('damascus.webp') !important;
  background-position: center calc(48% + var(--aal-hero-bg-shift)) !important;
  box-shadow: inset 0 -1px 0 rgba(226, 185, 121, 0.18);
}

.hero:has(.credentials)::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(226, 185, 121, 0.12), transparent 27%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.035), transparent 42%) !important;
}

.hero:has(.credentials)::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 16, 31, 0.42) 100%);
}

.hero:has(.credentials) > .container {
  opacity: var(--aal-hero-content-opacity);
  transform: translate3d(0, var(--aal-hero-content-shift), 0);
  will-change: transform, opacity;
}

.hero:has(.credentials) h1 {
  max-width: 1020px;
  margin-bottom: 30px !important;
  color: var(--aal-white) !important;
  font-size: clamp(3.6rem, 7.1vw, 7rem) !important;
  font-weight: 780 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.28) !important;
}

.hero:has(.credentials) h1::before,
.page-header h1::before,
.article-hero h1::before,
.glossary-header h1::before {
  content: "";
  width: 64px;
  height: 3px;
  display: block;
  margin: 0 0 28px;
  background: linear-gradient(90deg, var(--aal-gold-deep), var(--aal-gold));
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(226, 185, 121, 0.24);
}

.page-header h1::before,
.article-hero h1::before,
.glossary-header h1::before {
  margin-right: auto;
  margin-left: auto;
}

.hero:has(.credentials) p {
  max-width: 790px !important;
  margin-bottom: 38px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: clamp(1.08rem, 1.48vw, 1.25rem) !important;
  line-height: 1.68 !important;
}

.hero:has(.credentials) .cta-button {
  min-height: 58px;
  padding: 17px 30px !important;
  color: var(--aal-navy-black) !important;
  background: linear-gradient(135deg, #efd098, var(--aal-gold)) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 13px !important;
  box-shadow: 0 16px 38px rgba(4, 16, 31, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.36) !important;
  font-weight: 720 !important;
}

.hero:has(.credentials) .cta-button:hover {
  color: var(--aal-navy-black) !important;
  background: linear-gradient(135deg, #f4dbac, #e8c486) !important;
  box-shadow: 0 22px 48px rgba(4, 16, 31, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
  transform: translateY(-3px) !important;
}

/* One continuous glass authority bar instead of five template-like boxes. */
.hero:has(.credentials) .credentials {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 !important;
  max-width: 1240px;
  margin-top: 68px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(226, 185, 121, 0.20) !important;
  border-radius: 18px;
  box-shadow: 0 24px 65px rgba(4, 16, 31, 0.22) !important;
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
}

.hero:has(.credentials) .credential-item {
  min-height: 88px;
  display: grid !important;
  place-items: center;
  padding: 19px 18px !important;
  color: rgba(255, 255, 255, 0.86) !important;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.105) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero:has(.credentials) .credential-item:last-child {
  border-right: 0 !important;
}

.hero:has(.credentials) .credential-item strong {
  font-size: 0.84rem !important;
  font-weight: 610 !important;
  line-height: 1.45;
}

/* Internal hero panels inherit the same gravitas without becoming oversized. */
.page-header,
.article-hero,
.glossary-header {
  min-height: 440px;
  background:
    radial-gradient(circle at 78% 14%, rgba(226, 185, 121, 0.18), transparent 28%),
    linear-gradient(137deg, var(--aal-navy-black), var(--aal-navy)) !important;
  box-shadow: inset 0 -1px 0 rgba(226, 185, 121, 0.16);
}

.page-header h1,
.article-hero h1,
.glossary-header h1 {
  font-size: clamp(3.15rem, 6vw, 5.9rem) !important;
  letter-spacing: -0.055em !important;
}

/* Editorial rhythm and distinctive section headings. */
body > section:not(.hero):not(.page-header):not(.article-hero):not(.glossary-header),
main > section,
.main-content > section {
  padding-block: clamp(6.5rem, 10vw, 9.5rem) !important;
}

section > .container > h2,
.section-header h2,
.content-section > h2,
.about-content > h2 {
  position: relative;
}

section > .container > h2::after,
.section-header h2::after,
.content-section > h2::after,
.about-content > h2::after {
  content: "";
  width: 52px;
  height: 2px;
  display: block;
  margin: 25px auto 0;
  background: linear-gradient(90deg, var(--aal-gold-deep), var(--aal-gold));
  border-radius: 999px;
}

.content-section > h2::after,
.about-content > h2::after {
  margin-right: 0;
  margin-left: 0;
}

.intro-text,
.section-header p {
  max-width: 830px !important;
}

/* Cards: flatter geometry, precise gold edge and deeper hover elevation. */
body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card,
  .stats-card,
  .highlight-item,
  .key-stat,
  .sidebar-card,
  .sidebar-box,
  .contact-box,
  .term-card,
  .calendar-item,
  .location-item,
  .ministry-item,
  .obligation,
  .process-step,
  .timeline-item,
  .column-box,
  .court-level,
  .why-item
) {
  border-radius: 18px !important;
  box-shadow: inset 0 2px 0 rgba(226, 185, 121, 0.16), 0 12px 34px rgba(7, 23, 44, 0.055) !important;
  transition: transform 420ms var(--aal-ease), border-color 300ms ease, box-shadow 420ms var(--aal-ease) !important;
}

body :is(
  .advantage-card,
  .featured-card,
  .service-card,
  .testimonial-card,
  .why-card,
  .benefit-item,
  .entity-card,
  .contract-card,
  .license-card,
  .sector-card,
  .investment-card,
  .project-card,
  .related-card,
  .category-card,
  .client-card,
  .info-card,
  .law-card,
  .legal-card
):hover {
  transform: translateY(-8px) !important;
  border-color: rgba(199, 155, 80, 0.44) !important;
  box-shadow: inset 0 2px 0 rgba(226, 185, 121, 0.34), 0 30px 72px rgba(7, 23, 44, 0.14) !important;
}

/* Testimonials become a deliberate dark editorial moment. */
.testimonials .testimonial-card {
  color: var(--aal-white) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(226, 185, 121, 0.13), transparent 32%),
    linear-gradient(145deg, var(--aal-navy), var(--aal-navy-deep)) !important;
  border-color: rgba(226, 185, 121, 0.18) !important;
  box-shadow: 0 24px 58px rgba(7, 23, 44, 0.16) !important;
}

.testimonials .testimonial-card p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1.02rem !important;
  line-height: 1.78 !important;
}

.testimonials .testimonial-author {
  color: var(--aal-gold) !important;
}

.risk-item {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: inset 0 1px 0 rgba(226, 185, 121, 0.20) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* Icons: crisper silhouette with a fine inner gold rim. */
body :is(
  .benefit-icon,
  .category-icon,
  .client-icon,
  .contract-icon,
  .entity-icon,
  .highlight-icon,
  .legal-card-icon,
  .law-card-icon,
  .license-icon,
  .location-icon,
  .sector-card-icon,
  .service-icon,
  .trust-icon,
  .why-icon,
  .service-bar-icon
) {
  width: 60px !important;
  height: 60px !important;
  color: #edca8e !important;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.10), transparent 34%),
    linear-gradient(145deg, var(--aal-navy), var(--aal-navy-black)) !important;
  border: 1px solid rgba(226, 185, 121, 0.42) !important;
  border-radius: 15px !important;
  box-shadow: inset 0 0 0 3px rgba(226, 185, 121, 0.045), 0 14px 32px rgba(7, 23, 44, 0.21) !important;
  font-size: 1.18rem !important;
}

/* Media: less card-like, more cinematic. */
.image-block,
.about-image,
.article-image,
.media-shot,
.contact-map-col {
  border: 1px solid rgba(226, 185, 121, 0.18) !important;
  border-radius: 22px !important;
  box-shadow: 0 34px 90px rgba(7, 23, 44, 0.18) !important;
}

.aal-scroll-zoom {
  --aal-frame-radius: 32px;
  border-radius: var(--aal-frame-radius) !important;
  box-shadow: 0 34px 100px rgba(7, 23, 44, 0.20) !important;
}

.aal-scroll-zoom > img,
.aal-scroll-zoom picture > img {
  filter: saturate(0.88) contrast(1.045);
}

.image-placeholder:has(> .aal-scroll-zoom-featured) {
  min-height: clamp(720px, 124vh, 1120px);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.image-placeholder > .aal-scroll-zoom-featured {
  top: 112px;
  box-shadow: 0 42px 120px rgba(7, 23, 44, 0.25) !important;
}

.image-placeholder > .aal-scroll-zoom-featured img {
  height: clamp(430px, 61vw, 720px) !important;
}

/* Buttons elsewhere follow the sharper premium geometry. */
body :is(
  .btn,
  .cta-button,
  .cta-btn,
  .cta-btn-primary,
  .cta-btn-secondary,
  .btn-primary,
  .btn-secondary,
  .btn-outline
) {
  min-height: 54px;
  padding: 15px 27px !important;
  border-radius: 12px !important;
  font-weight: 680 !important;
}

.hero:has(.credentials) .cta-button {
  min-height: 58px;
  padding: 17px 30px !important;
  border-radius: 13px !important;
  font-weight: 720 !important;
}

.faq-item {
  border-radius: 14px !important;
  box-shadow: 0 10px 30px rgba(7, 23, 44, 0.065) !important;
}

.site-footer,
footer {
  border-top: 1px solid rgba(226, 185, 121, 0.18) !important;
  background: var(--aal-navy-black) !important;
}

/* Progressive reveal is enabled only after JavaScript has initialized. */
.aal-motion-enhanced .aal-reveal {
  opacity: 0;
  transform: translate3d(0, 38px, 0) scale(0.988);
  transition:
    opacity 820ms var(--aal-ease) var(--aal-reveal-delay, 0ms),
    transform 920ms var(--aal-ease) var(--aal-reveal-delay, 0ms) !important;
  will-change: transform, opacity;
}

.aal-motion-enhanced .aal-reveal.aal-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.aal-motion-enhanced :is(
  .hero:has(.credentials),
  .page-header,
  .article-hero,
  .glossary-header
) h1,
.aal-motion-enhanced .hero:has(.credentials) p,
.aal-motion-enhanced .hero:has(.credentials) .cta-button,
.aal-motion-enhanced .hero:has(.credentials) .credentials {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 900ms var(--aal-ease), transform 1050ms var(--aal-ease) !important;
}

.aal-motion-enhanced.aal-page-ready :is(
  .hero:has(.credentials),
  .page-header,
  .article-hero,
  .glossary-header
) h1,
.aal-motion-enhanced.aal-page-ready .hero:has(.credentials) p,
.aal-motion-enhanced.aal-page-ready .hero:has(.credentials) .cta-button,
.aal-motion-enhanced.aal-page-ready .hero:has(.credentials) .credentials {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.aal-motion-enhanced .hero:has(.credentials) p {
  transition-delay: 100ms !important;
}

.aal-motion-enhanced .hero:has(.credentials) .cta-button {
  transition-delay: 180ms !important;
}

.aal-motion-enhanced .hero:has(.credentials) .credentials {
  transition-delay: 270ms !important;
}

@media (max-width: 1120px) {
  .hero:has(.credentials) .credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero:has(.credentials) .credential-item {
    border-right: 1px solid rgba(255, 255, 255, 0.105) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.105) !important;
  }

  .hero:has(.credentials) .credential-item:nth-child(2n) {
    border-right: 0 !important;
  }

  .hero:has(.credentials) .credential-item:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-bottom: 0 !important;
  }
}

@media (max-width: 760px) {
  body > header,
  header,
  .header-content {
    min-height: 78px;
  }

  .logo {
    min-width: 60px;
    min-height: 58px;
  }

  .logo-img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }

  .hero:has(.credentials) {
    min-height: auto;
    padding: 7rem 0 5rem !important;
    background-image:
      linear-gradient(180deg, rgba(4, 16, 31, 0.91) 0%, rgba(7, 23, 44, 0.87) 100%),
      url('damascus.webp') !important;
    background-position: center calc(50% + var(--aal-hero-bg-shift)) !important;
  }

  .hero:has(.credentials) h1 {
    font-size: clamp(3rem, 15vw, 4.8rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.048em !important;
  }

  .hero:has(.credentials) h1::before {
    margin-right: auto;
    margin-left: auto;
  }

  .hero:has(.credentials) .credentials {
    grid-template-columns: 1fr;
    margin-top: 50px !important;
  }

  .hero:has(.credentials) .credential-item,
  .hero:has(.credentials) .credential-item:nth-child(2n),
  .hero:has(.credentials) .credential-item:last-child {
    grid-column: auto;
    min-height: 68px;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.105) !important;
  }

  .hero:has(.credentials) .credential-item:last-child {
    border-bottom: 0 !important;
  }

  .image-placeholder:has(> .aal-scroll-zoom-featured) {
    min-height: clamp(540px, 94vh, 760px);
  }

  .image-placeholder > .aal-scroll-zoom-featured {
    top: 94px;
  }

  .image-placeholder > .aal-scroll-zoom-featured img {
    height: clamp(330px, 78vw, 510px) !important;
  }

  .aal-motion-enhanced .aal-reveal {
    transform: translate3d(0, 26px, 0) scale(0.992);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aal-motion-enhanced .aal-reveal,
  .aal-motion-enhanced :is(
    .hero:has(.credentials),
    .page-header,
    .article-hero,
    .glossary-header
  ) h1,
  .aal-motion-enhanced .hero:has(.credentials) p,
  .aal-motion-enhanced .hero:has(.credentials) .cta-button,
  .aal-motion-enhanced .hero:has(.credentials) .credentials {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}
/*
 * Version 9 — contained editorial homepage feature
 * The existing heading, introduction and gavel image form a refined split
 * composition with restrained scroll depth and no full-screen takeover.
 */

body > section.aal-feature-section:not(.hero):not(.page-header):not(.article-hero):not(.glossary-header) {
  position: relative;
  padding: clamp(7rem, 10vw, 10rem) 24px !important;
  overflow: clip;
  background:
    radial-gradient(circle at 78% 30%, rgba(226, 185, 121, 0.14), transparent 29%),
    linear-gradient(180deg, #f7f9fc 0%, var(--aal-white) 58%, var(--aal-paper) 100%) !important;
}

.aal-feature-section > .container {
  width: min(100%, 1240px) !important;
  max-width: 1240px !important;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  grid-template-rows: auto auto;
  column-gap: clamp(2.5rem, 5.5vw, 5rem);
  row-gap: 0;
  align-items: center;
  margin: 0 auto !important;
  padding: 0 !important;
}

.aal-feature-section .aal-feature-copy {
  width: 100%;
  min-width: 0;
  max-width: 560px;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.aal-feature-section .aal-feature-title {
  width: 100%;
  min-width: 0;
  max-width: 560px !important;
  margin: 0 !important;
  color: var(--aal-navy) !important;
  font-size: clamp(2.9rem, 4.65vw, 5.25rem) !important;
  font-weight: 760 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.05em !important;
  text-align: left !important;
  text-wrap: balance;
}

.aal-feature-section .aal-feature-title::after {
  width: 68px;
  height: 3px;
  margin: 28px 0 0 !important;
  background: linear-gradient(90deg, var(--aal-gold-deep), var(--aal-gold));
  box-shadow: 0 10px 28px rgba(190, 139, 66, 0.20);
}

.aal-feature-section .aal-feature-intro {
  width: 100%;
  min-width: 0;
  max-width: 500px !important;
  margin: 30px 0 0 !important;
  color: var(--aal-muted) !important;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem) !important;
  font-weight: 430 !important;
  line-height: 1.78 !important;
  text-align: left !important;
}

.aal-feature-section .image-placeholder {
  width: 100%;
  min-height: 0 !important;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
  margin: 0 !important;
  overflow: visible;
  background: transparent;
}

.aal-feature-section .image-placeholder > .image-block {
  width: 100%;
  height: clamp(460px, 48vw, 650px);
  min-height: 0;
  position: relative;
  top: auto;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(190, 139, 66, 0.24) !important;
  border-radius: var(--aal-frame-radius, 28px) !important;
  background: var(--aal-navy-black) !important;
  box-shadow:
    0 42px 100px rgba(7, 23, 44, 0.22),
    0 10px 28px rgba(7, 23, 44, 0.10) !important;
  transform-origin: 50% 58%;
}

.aal-feature-section .image-placeholder > .image-block::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 23, 44, 0.03) 48%, rgba(7, 23, 44, 0.34) 100%),
    linear-gradient(90deg, rgba(7, 23, 44, 0.15), transparent 45%);
}

.aal-feature-section .image-placeholder > .image-block img {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: 60% center !important;
  filter: saturate(0.88) contrast(1.06) brightness(0.94);
}

.aal-feature-section .advantage-grid {
  width: 100%;
  grid-column: 1 / -1;
  grid-row: 2;
  margin: clamp(5.5rem, 8vw, 8rem) auto 0 !important;
}

@media (max-width: 980px) {
  .aal-feature-section > .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
  }

  .aal-feature-section .aal-feature-copy {
    max-width: 780px;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .aal-feature-section .aal-feature-title,
  .aal-feature-section .aal-feature-intro {
    width: 100%;
    max-width: 780px !important;
    text-align: center !important;
  }

  .aal-feature-section .aal-feature-title {
    font-size: clamp(3rem, 8vw, 5.1rem) !important;
  }

  .aal-feature-section .aal-feature-title::after {
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .aal-feature-section .aal-feature-intro {
    margin-top: 28px !important;
  }

  .aal-feature-section .image-placeholder {
    grid-column: 1;
    grid-row: 2;
    margin-top: clamp(3rem, 7vw, 4.5rem) !important;
  }

  .aal-feature-section .image-placeholder > .image-block {
    height: clamp(420px, 66vw, 610px);
  }

  .aal-feature-section .advantage-grid {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 600px) {
  body > section.aal-feature-section:not(.hero):not(.page-header):not(.article-hero):not(.glossary-header) {
    padding: 6rem 18px !important;
  }

  .aal-feature-section .aal-feature-title {
    font-size: clamp(2.6rem, 10.4vw, 4rem) !important;
    line-height: 1.04 !important;
  }

  .aal-feature-section .aal-feature-intro {
    font-size: 1rem !important;
    line-height: 1.68 !important;
  }

  .aal-feature-section .image-placeholder {
    margin-top: 2.75rem !important;
  }

  .aal-feature-section .image-placeholder > .image-block {
    height: clamp(310px, 88vw, 440px);
    border-radius: var(--aal-frame-radius, 24px) !important;
    box-shadow: 0 28px 70px rgba(7, 23, 44, 0.21) !important;
  }

  .aal-feature-section .advantage-grid {
    margin-top: 5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aal-feature-section .image-placeholder > .image-block {
    opacity: 1 !important;
    transform: none !important;
  }
}

/*
 * Editorial v9.1 — polish of the approved v9 identity.
 * Preserve its wide city hero, bold sans-serif type, glass proof bar and navy cards.
 */
body.aal-editorial .hero:has(.credentials) p {
  color: rgba(255, 255, 255, 0.84) !important;
}

body.aal-editorial .hero:has(.credentials) .credentials {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 26px 65px rgba(4, 16, 31, 0.23) !important;
}

body.aal-editorial .hero:has(.credentials) .credential-item {
  min-height: 112px;
  padding-block: 22px !important;
}

body.aal-editorial .hero:has(.credentials) .credential-item strong {
  font-size: 0.9rem !important;
  line-height: 1.55;
}

body.aal-editorial .aal-proof-value {
  display: block;
  color: var(--aal-gold);
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

body.aal-editorial .aal-proof-label {
  display: block;
  margin-top: 7px;
  font-size: 0.875rem;
  font-weight: 500;
}

body.aal-editorial .aal-feature-title::after {
  content: none !important;
  display: none !important;
}

body.aal-editorial :is(.aal-feature-copy, .service-card, .advantage-card, .testimonial-card) {
  min-width: 0;
}

body.aal-editorial :is(h1, h2, h3) {
  overflow-wrap: break-word;
}

body.aal-editorial :is(.service-card, .advantage-card) {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, #fff 64%, #f7f9fc) !important;
  border-radius: 20px !important;
  border-color: rgba(26, 54, 93, 0.12) !important;
  box-shadow: inset 0 2px 0 rgba(226, 185, 121, 0.2), 0 14px 36px rgba(7, 23, 44, 0.065) !important;
}

/* Decorative, local SVG icons: no webfont request or JavaScript dependency. */
body.aal-editorial :is(.service-card, .advantage-card)::before {
  content: "";
  display: block;
  position: static;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  margin: 0 0 28px;
  border: 1px solid rgba(226, 185, 121, 0.45);
  border-radius: 16px;
  background-color: var(--aal-navy);
  background-image: var(--aal-card-icon), linear-gradient(145deg, var(--aal-navy-soft), var(--aal-navy-deep));
  background-position: center;
  background-size: 29px 29px, cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 3px rgba(226, 185, 121, 0.035), 0 12px 26px rgba(7, 23, 44, 0.16);
  transition: transform 280ms var(--aal-ease), box-shadow 280ms var(--aal-ease);
}

body.aal-editorial .services-grid > .service-card:nth-child(1) { --aal-card-icon: url('editorial-icons/company.svg'); }
body.aal-editorial .services-grid > .service-card:nth-child(2) { --aal-card-icon: url('editorial-icons/contract.svg'); }
body.aal-editorial .services-grid > .service-card:nth-child(3) { --aal-card-icon: url('editorial-icons/property.svg'); }
body.aal-editorial .services-grid > .service-card:nth-child(4) { --aal-card-icon: url('editorial-icons/mergers.svg'); }
body.aal-editorial .services-grid > .service-card:nth-child(5) { --aal-card-icon: url('editorial-icons/trademark.svg'); }
body.aal-editorial .services-grid > .service-card:nth-child(6) { --aal-card-icon: url('editorial-icons/tax.svg'); }
body.aal-editorial .advantage-grid > .advantage-card:nth-child(1) { --aal-card-icon: url('editorial-icons/presence.svg'); }
body.aal-editorial .advantage-grid > .advantage-card:nth-child(2) { --aal-card-icon: url('editorial-icons/value.svg'); }
body.aal-editorial .advantage-grid > .advantage-card:nth-child(3) { --aal-card-icon: url('editorial-icons/bilingual.svg'); }

body.aal-editorial :is(.service-card, .advantage-card) h3 {
  line-height: 1.23 !important;
  margin-bottom: 20px !important;
}

body.aal-editorial :is(.service-card, .advantage-card) p {
  color: #566579 !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
}

body.aal-editorial .service-card .service-link {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 54, 93, 0.11);
  font-size: 0.95rem;
  line-height: 1.5;
}

body.aal-editorial .service-card p { margin-bottom: 28px; }

body.aal-editorial :is(.service-card, .advantage-card):hover {
  transform: translateY(-6px) !important;
  border-color: rgba(199, 155, 80, 0.5) !important;
  box-shadow: inset 0 2px 0 rgba(226, 185, 121, 0.45), 0 28px 64px rgba(7, 23, 44, 0.14) !important;
}

body.aal-editorial :is(.service-card, .advantage-card):hover::before {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 3px rgba(226, 185, 121, 0.08), 0 16px 30px rgba(7, 23, 44, 0.22);
}

body.aal-editorial .testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px !important;
  border-color: rgba(226, 185, 121, 0.3) !important;
}

body.aal-editorial .testimonials .testimonial-card::before {
  content: "";
  position: static;
  display: block;
  flex: 0 0 34px;
  width: 38px;
  height: 34px;
  margin-bottom: 24px;
  background: url('editorial-icons/quote.svg') center / contain no-repeat;
}

body.aal-editorial .testimonials .testimonial-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.0625rem !important;
  font-style: normal;
}

body.aal-editorial .testimonials .testimonial-author {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 185, 121, 0.2);
  font-size: 0.9rem;
  line-height: 1.5;
}

body.aal-editorial .risk-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)) !important;
  border-radius: 18px;
}

body.aal-editorial .risk-item p { color: rgba(255, 255, 255, 0.86) !important; }

body.aal-editorial .faq-question { cursor: default; font-size: 1.1rem !important; }
body.aal-editorial .faq-question::after { content: none !important; }
body.aal-editorial .faq-answer { font-size: 1rem; line-height: 1.8 !important; }

body.aal-editorial .cta-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 100%;
}

body.aal-editorial .cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.26) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 720ms ease;
  pointer-events: none;
}

body.aal-editorial .cta-button:hover::before,
body.aal-editorial .cta-button:focus-visible::before { transform: translateX(130%); }

body.aal-editorial .nav-dropdown li a:focus-visible {
  outline-offset: -3px;
}

/* Scroll position controls the media directly; CSS easing must not lag behind it. */
.aal-scroll-zoom,
.aal-scroll-zoom > img,
.aal-scroll-zoom picture > img { transition: none !important; }

@media (max-width: 760px) {
  body.aal-editorial .hero:has(.credentials) .credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.aal-editorial .hero:has(.credentials) .credential-item {
    min-height: 72px;
    padding-block: 18px !important;
  }
  body.aal-editorial .hero:has(.credentials) .credential-item:nth-child(n+3) {
    grid-column: 1 / -1;
  }
  body.aal-editorial .hero:has(.credentials) .credential-item:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.105) !important;
  }
  body.aal-editorial .aal-proof-value { font-size: 1.8rem; }
  body.aal-editorial .aal-proof-label { font-size: 0.875rem; }
  body.aal-editorial :is(.service-card, .advantage-card)::before {
    margin-bottom: 24px;
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}

@media (hover: none) {
  body.aal-editorial :is(.service-card, .advantage-card, .testimonial-card):hover {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.aal-editorial :is(.service-card, .advantage-card)::before,
  body.aal-editorial .cta-button::before { transition: none !important; transform: none !important; }
  body.aal-editorial .cta-button::before { display: none; }
}
