/* Version arabe (RTL) de djadai.com. Toutes les marges utilisent des propriétés logiques. */
:root {
  --navy: #0B1F3A;
  --navy-2: #13294A;
  --gold: #C8A86B;
  --gold-dk: #7A5E2A;
  --ivory: #F7F4EC;
  --ivory-2: #EEE8DA;
  --white: #FFFFFF;
  --ink: #101418;
  --ink-2: #3B4655;
  --line: rgba(11, 31, 58, 0.14);
  --line-gold: rgba(200, 168, 107, 0.35);
  --serif: 'Amiri', 'Traditional Arabic', 'Times New Roman', serif;
  --body: 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.95; color: var(--ink); background: var(--ivory); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.35; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; z-index: 200; }
.skip:focus { top: 0.5rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== En-tête ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--line-gold); }
.header-in { max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; height: 76px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--gold); flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-txt b { font-family: var(--serif); font-size: 1.2rem; }
.brand-txt small { font-size: 0.72rem; color: rgba(247, 244, 236, 0.75); }
.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 1.15rem; }
.nav-contact { display: none; }
.nav-list > li { position: relative; }
.nav-list a { text-decoration: none; color: rgba(247, 244, 236, 0.88); font-size: 0.98rem; padding-block: 0.5rem; display: block; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold); }
.has-sub > a::after { content: ''; display: inline-block; width: 0.42em; height: 0.42em; border-block-end: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(-45deg); margin-inline-start: 0.5em; vertical-align: 0.15em; }
.sub { position: absolute; top: 100%; inset-inline-start: -1rem; min-width: 300px; background: var(--navy-2); border: 1px solid var(--line-gold); border-block-start: 2px solid var(--gold); padding: 0.5rem 1rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub li + li { border-block-start: 1px solid rgba(200, 168, 107, 0.14); }
.header-end { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.langs { display: flex; gap: 0.35rem; }
.langs a, .langs span { font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 0.74rem; line-height: 1; padding: 0.42rem 0.55rem; border: 1px solid var(--line-gold); color: rgba(247, 244, 236, 0.8); text-decoration: none; border-radius: 2px; }
.langs span { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.langs a:hover { color: var(--gold); border-color: var(--gold); }
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.5; padding: 0.7rem 1.6rem; border: 1px solid var(--gold); border-radius: 2px; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8BC85; }
.btn-line { background: transparent; color: var(--ivory); }
.btn-line:hover { background: rgba(200, 168, 107, 0.16); }
.header-cta { padding: 0.45rem 1.1rem; font-size: 0.92rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-gold); width: 44px; height: 44px; cursor: pointer; border-radius: 2px; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--gold); margin-block: 4px; }

/* ===== Accueil : bandeau ===== */
.hero { position: relative; background: var(--navy); color: var(--ivory); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, var(--navy) 38%, rgba(11, 31, 58, 0.82) 62%, rgba(11, 31, 58, 0.25) 100%); }
.hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin-inline: auto; padding: 6rem 1.5rem 6.5rem; }
.hero-txt { max-width: 660px; }
.eyebrow { color: var(--gold); font-weight: 600; font-size: 1rem; margin-block-end: 0.7rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.25; margin-block-end: 1.3rem; }
.hero p.lead { font-size: 1.16rem; color: rgba(247, 244, 236, 0.92); margin-block-end: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.facts { background: var(--navy-2); color: var(--ivory); border-block-start: 1px solid var(--line-gold); }
.facts ul { max-width: var(--wrap); margin-inline: auto; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.facts li { border-inline-start: 2px solid var(--gold); padding-inline-start: 1rem; line-height: 1.6; }
.facts b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--gold); }
.facts span { font-size: 0.93rem; color: rgba(247, 244, 236, 0.85); }

/* ===== Sections ===== */
.section { padding-block: 5rem; }
.section-alt { background: var(--white); }
.section-dark { background: var(--navy); color: var(--ivory); }
.sec-head { max-width: 760px; margin-block-end: 2.6rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); color: var(--navy); }
.section-dark .sec-head h2 { color: var(--ivory); }
.kicker { color: var(--gold-dk); font-weight: 600; margin-block-end: 0.3rem; }
.section-dark .kicker { color: var(--gold); }
.sec-head p:not(.kicker) { color: var(--ink-2); margin-block-start: 0.8rem; }
.section-dark .sec-head p:not(.kicker) { color: rgba(247, 244, 236, 0.86); }

/* Liste des domaines : rangées éditoriales */
.domains { border-block-start: 1px solid var(--line); }
.domains li { border-block-end: 1px solid var(--line); }
.domains a { display: grid; grid-template-columns: 3rem minmax(0, 18rem) minmax(0, 1fr) 2rem; gap: 1.5rem; align-items: center; padding: 1.5rem 0.5rem; text-decoration: none; transition: background 0.2s; }
.domains a:hover { background: var(--ivory-2); }
.domains .num { font-family: var(--serif); color: var(--gold-dk); font-size: 1.25rem; }
.domains h3 { font-size: 1.45rem; color: var(--navy); }
.domains p { color: var(--ink-2); line-height: 1.75; }
.domains .arr { color: var(--gold-dk); font-size: 1.4rem; line-height: 1; }

/* Blocs portrait et texte */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4rem; align-items: center; }
.portrait { position: relative; isolation: isolate; max-width: 400px; }
.portrait img { width: 100%; background: var(--ivory-2); }
.portrait::after { content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--gold); z-index: -1; }
.split-body { position: relative; }
.split-body h2 { font-size: clamp(1.8rem, 3.3vw, 2.5rem); color: var(--navy); margin-block-end: 1rem; }
.split-body p + p { margin-block-start: 0.9rem; }
.link-more { display: inline-block; margin-block-start: 1.2rem; color: var(--gold-dk); font-weight: 600; text-underline-offset: 5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: st; }
.steps li { counter-increment: st; border-block-start: 2px solid var(--gold); padding-block-start: 1rem; }
.steps li::before { content: counter(st); font-family: var(--serif); font-size: 1.5rem; color: var(--gold); display: block; }
.steps h3 { font-size: 1.3rem; margin-block-end: 0.3rem; }
.steps p { color: rgba(247, 244, 236, 0.86); font-size: 1rem; line-height: 1.85; }

/* ===== Pages intérieures ===== */
.page-head { background: var(--navy); color: var(--ivory); }
.page-head-in { max-width: var(--wrap); margin-inline: auto; padding: 2rem 1.5rem 3.5rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.crumbs { max-width: var(--wrap); margin-inline: auto; padding: 1.2rem 1.5rem 0; font-size: 0.9rem; color: rgba(247, 244, 236, 0.72); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.crumbs li + li::before { content: '/'; margin-inline-end: 0.5rem; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.3; margin-block-end: 1rem; }
.page-head p.lead { font-size: 1.14rem; color: rgba(247, 244, 236, 0.92); }
.page-head-img { border: 1px solid var(--line-gold); padding: 0.5rem; }
.page-head-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-head-img.tall { max-width: 340px; justify-self: center; }
.page-head-img.tall img { aspect-ratio: 4 / 5; object-position: top; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
.article h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); color: var(--navy); margin-block: 2.6rem 0.9rem; }
.article h2:first-child { margin-block-start: 0; }
.article h3 { font-size: 1.3rem; color: var(--navy); margin-block: 1.6rem 0.4rem; }
.article p + p { margin-block-start: 0.9rem; }
.article ul.list { margin-block: 1rem; }
.article ul.list li { position: relative; padding-inline-start: 1.5rem; margin-block-end: 0.55rem; line-height: 1.8; }
.article ul.list li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.78em; width: 0.5rem; height: 0.5rem; background: var(--gold); transform: rotate(45deg); }
.article a { color: var(--gold-dk); font-weight: 600; text-underline-offset: 4px; }
.note { margin-block-start: 2.4rem; padding: 1.1rem 1.3rem; background: var(--ivory-2); border-inline-start: 3px solid var(--gold); font-size: 0.98rem; line-height: 1.85; color: var(--ink-2); }
.faq { margin-block-start: 0.5rem; border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary { cursor: pointer; padding-block: 1rem; padding-inline-end: 1.8rem; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--navy); list-style: none; position: relative; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; inset-inline-end: 0; top: 0.9rem; color: var(--gold-dk); font-size: 1.4rem; line-height: 1.2; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding-block-end: 1.1rem; color: var(--ink-2); }
.side { position: sticky; top: 100px; display: grid; gap: 1.5rem; }
.side-card { background: var(--navy); color: var(--ivory); padding: 1.6rem; }
.side-card h2 { font-size: 1.35rem; color: var(--gold); margin-block-end: 0.5rem; }
.side-card p { font-size: 0.98rem; line-height: 1.8; margin-block-end: 1.1rem; }
.side-card .btn { display: block; text-align: center; }
.side-links { background: var(--white); border: 1px solid var(--line); padding: 1.4rem 1.6rem; }
.side-links h2 { font-size: 1.2rem; color: var(--navy); margin-block-end: 0.5rem; }
.side-links li + li { border-block-start: 1px solid var(--line); }
.side-links a { display: block; padding-block: 0.55rem; text-decoration: none; color: var(--ink-2); line-height: 1.6; }
.side-links a:hover { color: var(--gold-dk); }
.bars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-block: 1.4rem; }
.bars div { border: 1px solid var(--line); background: var(--white); padding: 1rem 1.2rem; line-height: 1.6; }
.bars b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }

/* ===== Contact ===== */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3.5rem; align-items: start; }
.coords h3 { font-size: 1.25rem; color: var(--navy); margin-block: 1.4rem 0.2rem; }
.coords h3:first-child { margin-block-start: 0; }
.coords p { line-height: 1.8; color: var(--ink-2); }
.coords a { color: var(--ink); text-decoration: none; }
.coords a:hover { color: var(--gold-dk); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours th, .hours td { padding-block: 0.3rem; font-weight: 400; color: var(--ink-2); text-align: start; }
.hours td { text-align: end; }
.form { background: var(--ivory); border-block-start: 3px solid var(--gold); padding: 2rem; }
.form h3 { font-size: 1.5rem; color: var(--navy); }
.form .sub-txt { font-size: 0.96rem; color: var(--ink-2); margin-block-end: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-block-end: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-block-end: 0.25rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--body); font-size: 1rem; line-height: 1.5; padding: 0.6rem 0.75rem; background: var(--white); border: 1px solid var(--line); border-radius: 2px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-dk); box-shadow: 0 0 0 2px rgba(200, 168, 107, 0.3); }
.field input[type="email"], .field input[type="tel"] { direction: ltr; text-align: right; }
.field textarea { min-height: 130px; resize: vertical; }
.honey { display: none; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }
.form-note { font-size: 0.86rem; line-height: 1.7; color: var(--ink-2); margin-block-start: 0.9rem; }
.form-note a { color: var(--gold-dk); }
.msg { display: none; margin-block-start: 1rem; padding: 0.8rem 1rem; font-size: 0.96rem; line-height: 1.7; border-inline-start: 3px solid; }
.msg-ok { background: #EEF7F0; color: #1E6B39; }
.msg-err { background: #FAEFEE; color: #A32D21; }

/* ===== Pied de page ===== */
.site-footer { background: var(--navy); color: rgba(247, 244, 236, 0.84); font-size: 0.97rem; }
.foot-top { max-width: var(--wrap); margin-inline: auto; padding: 3.5rem 1.5rem 2.5rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.foot-top h2 { font-family: var(--serif); font-size: 1.2rem; color: var(--gold); margin-block-end: 0.6rem; }
.foot-top a { color: inherit; text-decoration: none; }
.foot-top a:hover { color: var(--gold); }
.foot-top li { margin-block-end: 0.3rem; }
.foot-logo { width: 170px; margin-block-end: 0.8rem; }
.foot-bottom { border-block-start: 1px solid var(--line-gold); }
.foot-bottom-in { max-width: var(--wrap); margin-inline: auto; padding: 1.1rem 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.88rem; }
.foot-bottom a { color: inherit; }
.disclaimer { max-width: var(--wrap); margin-inline: auto; padding: 0 1.5rem 1.5rem; font-size: 0.84rem; line-height: 1.75; color: rgba(247, 244, 236, 0.66); }

.wa { position: fixed; inset-inline-end: 1.2rem; bottom: 1.2rem; width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; z-index: 90; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ===== Pages complètes : expertise, honoraires, international, publications, légal ===== */
.narrow { max-width: 820px; }
.narrow > p + p { margin-block-start: 0.9rem; }
.page-head-in.single { grid-template-columns: minmax(0, 1fr); }
.page-head-in.single > div { max-width: 820px; }
.article-head h1 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); }
.article-meta { color: rgba(247, 244, 236, 0.82); font-size: 0.98rem; }
.intro { font-size: 1.16rem; color: var(--navy); font-weight: 600; margin-block-end: 1.3rem; }
.article blockquote { margin-block: 1.8rem; padding: 1.1rem 1.4rem; border-inline-start: 3px solid var(--gold); font-family: var(--serif); font-size: 1.28rem; line-height: 1.7; color: var(--navy); background: var(--white); }
.article strong { color: var(--navy); }
.author { display: flex; align-items: center; gap: 1rem; margin-block-start: 2rem; padding-block-start: 1.4rem; border-block-start: 1px solid var(--line); line-height: 1.6; }
.author img { width: 72px; background: var(--navy); padding: 0.4rem; }
.author b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.author span { font-size: 0.93rem; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--line); border-block-start: 2px solid var(--gold); padding: 1.4rem 1.5rem; display: block; text-decoration: none; }
.section-alt .card { background: var(--ivory); }
.card h3 { font-size: 1.3rem; color: var(--navy); margin-block-end: 0.3rem; }
.card p { font-size: 0.98rem; line-height: 1.85; color: var(--ink-2); }
.card-link:hover { border-color: var(--gold-dk); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.values div { border-inline-start: 2px solid var(--gold); padding-inline-start: 1rem; }
.values h2 { font-size: 1.35rem; color: var(--navy); }
.values p { color: var(--ink-2); line-height: 1.8; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; }
.prose-grid h3 { font-size: 1.4rem; color: var(--navy); margin-block-end: 0.4rem; }
.prose-grid p + p { margin-block-start: 0.7rem; }
.table-wrap { overflow-x: auto; margin-block: 1.2rem; }
.data { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--white); font-size: 0.98rem; line-height: 1.7; }
.data th, .data td { padding: 0.75rem 0.9rem; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.data thead th { background: var(--navy); color: var(--ivory); font-weight: 600; }
.data tbody th { font-weight: 600; color: var(--navy); }
.table-note { margin-block-start: 1rem; color: var(--ink-2); }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; align-items: start; }
.h2-big { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); margin-block-end: 0.9rem; }
.framed { border: 1px solid var(--line-gold); padding: 0.5rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block-start: 1.2rem; }
.pills li { border: 1px solid var(--gold-dk); color: var(--gold-dk); padding: 0.2rem 0.9rem; font-size: 0.95rem; }
.quote-big { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.5; color: var(--gold); margin-block-end: 1.6rem; }
.more-links { margin-block-start: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.more-links a { color: var(--gold-dk); font-weight: 600; text-underline-offset: 5px; }
.pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; }
.pubs-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.pub { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); padding: 1.5rem; text-decoration: none; }
.section-alt .pub { background: var(--ivory); }
.pub:hover { border-color: var(--gold-dk); }
.pub-tag { color: var(--gold-dk); font-size: 0.9rem; font-weight: 600; }
.pub h3 { font-size: 1.3rem; color: var(--navy); margin-block: 0.3rem 0.5rem; }
.pub p { font-size: 0.97rem; line-height: 1.8; color: var(--ink-2); margin-block-end: 0.9rem; }
.pub-meta { margin-block-start: auto; font-size: 0.86rem; color: var(--ink-2); }
.foot-h2-2 { margin-block-start: 1.4rem; }

/* ===== Adaptatif ===== */
@media (max-width: 1240px) {
  .brand-txt small { display: none; }
  .nav-list { gap: 0.85rem; }
  .nav-list a { font-size: 0.92rem; }
}
@media (max-width: 1120px) {
  .nav-contact { display: list-item; }
  .brand-txt small { display: none; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { order: 3; margin-inline-start: 0; }
  .header-end { margin-inline-start: auto; }
  .nav-list { display: none; position: absolute; top: 76px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-2); border-block-end: 2px solid var(--gold); padding: 0.5rem 1.5rem 1rem; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-list.open { display: flex; }
  .nav-list > li + li { border-block-start: 1px solid rgba(200, 168, 107, 0.16); }
  .nav-list a { padding-block: 0.75rem; }
  .has-sub > a::after { display: none; }
  .sub { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 1rem 0.5rem 0; transition: none; }
  .sub li + li { border: 0; }
  .sub a { padding-block: 0.45rem; font-size: 0.95rem; color: rgba(247, 244, 236, 0.74); }
  .split, .article-grid, .contact-grid, .split-even, .prose-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .portrait { margin-inline: auto; }
  .side { position: static; }
  .page-head-in { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .domains a { grid-template-columns: 2.4rem minmax(0, 1fr) 1.6rem; gap: 0.3rem 0.9rem; }
  .domains .num { grid-row: 1 / span 2; align-self: start; }
  .domains p { grid-column: 2; grid-row: 2; }
  .domains .arr { grid-column: 3; grid-row: 1 / span 2; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .wrap, .header-in, .hero-in, .facts ul, .page-head-in, .crumbs, .foot-top, .foot-bottom-in, .disclaimer { padding-inline: 1rem; }
  .brand img { height: 34px; }
  .brand-txt b { font-size: 1.05rem; }
  .header-in { gap: 0.6rem; }
  .header-end { gap: 0.5rem; }
  .langs a, .langs span { padding: 0.38rem 0.42rem; font-size: 0.7rem; }
  .hero::after { background: linear-gradient(to top, var(--navy) 55%, rgba(11, 31, 58, 0.72) 100%); }
  .hero-in { padding-block: 3.5rem 3.8rem; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .facts ul, .steps, .field-row, .bars, .values { grid-template-columns: minmax(0, 1fr); }
  .facts ul { gap: 0.9rem; }
  .section { padding-block: 3.4rem; }
  .form { padding: 1.3rem 1rem; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .portrait::after { inset: 0.6rem -0.6rem -0.6rem 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
