/* ==========================================================
   مكتب العصيدان للمحاماة — Site styles
   ========================================================== */
:root {
  --primary: #0f2a44;
  --accent: #b8925a;
  --primary-2: color-mix(in srgb, var(--primary) 82%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 8%, #fff);
  --accent-soft: color-mix(in srgb, var(--accent) 14%, #fff);
  --ink: #1b2430;
  --muted: #5d6b7a;
  --line: #e4e8ee;
  --bg-soft: #f6f4f0;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 8px 24px rgba(15, 42, 68, .08);
  --shadow-lg: 0 20px 50px rgba(15, 42, 68, .16);
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[lang="en"] {
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
  --f-head: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--f-body); color: var(--ink); background: var(--white); line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.4; margin: 0 0 .5em; color: var(--primary); font-weight: 700; }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
html[dir="rtl"] .arr { transform: scaleX(-1); }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt { margin-top: 2.5rem; }
.w100 { width: 100%; }
.skip { position: absolute; inset-inline-start: 10px; top: -60px; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 0 0 8px 8px; }
.skip:focus { top: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.5em; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .95em 1.9em; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); box-shadow: var(--shadow); }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: color-mix(in srgb, var(--accent) 85%, #000); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; margin-top: .6rem; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }

/* ---------- National bar ---------- */
.national-bar { background: var(--nb, #006c35); background: linear-gradient(90deg, color-mix(in srgb, var(--nb, #006c35) 85%, #000), var(--nb, #006c35) 30%, var(--nb, #006c35) 70%, color-mix(in srgb, var(--nb, #006c35) 85%, #000)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.national-bar::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 2l5 13 13 5-13 5-5 13-5-13L2 20l13-5z' fill='none' stroke='%23fff'/%3E%3C/svg%3E"); }
.national-bar > a, .national-bar .nb-in { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem .9rem; padding: .6rem 1rem; }
.nb-label { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); padding: .1rem .75rem; border-radius: 99px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.national-bar strong { font-family: var(--f-head); font-weight: 700; font-size: 1rem; letter-spacing: .01em; }
.nb-orn { width: 34px; height: 1.5px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85)); }
.nb-orn:last-child { transform: scaleX(-1); }
.national-bar a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .national-bar strong { font-size: .88rem; line-height: 1.7; } .nb-orn { display: none; } .nb-label { font-size: .75rem; } }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--primary-2); color: rgba(255, 255, 255, .8); font-size: .84rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; }
.topbar-info, .topbar-actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.topbar a:hover { color: var(--accent); }
.topbar .ic { color: var(--accent); width: 15px; height: 15px; }
.topbar .lang { border: 1px solid rgba(255, 255, 255, .2); padding: 2px 10px; border-radius: 99px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 42, 68, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .8rem; }
.logo-img { height: 60px; width: auto; max-width: 300px; object-fit: contain; }
.site-footer .logo-img { height: 66px; max-width: 320px; }
.logo-mark { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--accent); font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; position: relative; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.35; }
.logo-text strong { font-family: var(--f-head); color: var(--primary); font-size: 1.08rem; }
.logo-text small { color: var(--accent); font-size: .78rem; font-weight: 500; letter-spacing: .02em; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-mark { background: rgba(255, 255, 255, .06); }

.main-nav { display: flex; align-items: center; gap: .3rem; }
.main-nav a:not(.btn) { padding: .5em .85em; border-radius: 8px; font-weight: 500; color: var(--ink); position: relative; transition: color .2s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: .85em; bottom: .25em; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--primary); }
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-inline-start: .6rem; }
.nav-head, .nav-foot, .nav-ic, .m-actions, .header-tools .m-lang, .i-close { display: none; }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--primary); cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), linear-gradient(160deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; padding: 6rem 0 0; overflow: hidden; isolation: isolate; }
.hero.has-img::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover no-repeat; opacity: .18; z-index: -1; mix-blend-mode: luminosity; }
.hero-pattern { position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.hero-in { display: grid; grid-template-columns: 1.35fr .9fr; gap: 4rem; align-items: center; padding-bottom: 5rem; }
.kicker { display: inline-flex; align-items: center; gap: .7em; color: var(--accent); font-weight: 500; font-size: .92rem; margin-bottom: 1.2rem; }
.kicker span { width: 34px; height: 1.5px; background: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.35; margin-bottom: 1.2rem; }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 60ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-card { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; padding: 2.6rem 2.2rem 2.2rem; backdrop-filter: blur(6px); }
.hero-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 16px; pointer-events: none; }
.seal { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 1.4rem; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 20%, transparent); }
.seal .ic { width: 36px; height: 36px; }
.hero-card blockquote { margin: 0 0 1rem; font-family: var(--f-head); font-size: 1.25rem; line-height: 1.75; color: #fff; }
.hero-card cite { font-style: normal; color: var(--accent); font-weight: 600; font-size: .95rem; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-lg); position: relative; }
.stat { padding: 1.8rem 1.4rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: var(--f-head); font-size: 2.2rem; color: var(--primary); line-height: 1.2; direction: ltr; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.bg-soft { background: var(--bg-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .03em; margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.sec-head .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.sec-head p { color: var(--muted); }
.sec-head.row { display: flex; justify-content: space-between; align-items: end; text-align: start; max-width: none; gap: 1rem; flex-wrap: wrap; }
.sec-head.row .eyebrow::after { display: none; }
.sec-head.light h2 { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.media-ph { aspect-ratio: 4/5; border-radius: 20px; background: linear-gradient(150deg, var(--primary), var(--primary-2)); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.media-ph::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 3l7.5 19.5L57 30l-19.5 7.5L30 57l-7.5-19.5L3 30l19.5-7.5z' fill='none' stroke='%23fff'/%3E%3C/svg%3E"); }
.media-ph-in { position: absolute; inset: 22px; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem; color: var(--accent); text-align: center; padding: 2rem; }
.media-ph-in .ic { width: 90px; height: 90px; stroke-width: 1; }
.media-ph-in span { color: #fff; font-family: var(--f-head); font-size: 1.3rem; }
.media-badge { position: absolute; bottom: -22px; inset-inline-end: -22px; background: var(--accent); color: #fff; padding: 1rem 1.3rem; border-radius: 14px; display: flex; gap: .7rem; align-items: center; font-weight: 600; box-shadow: var(--shadow-lg); max-width: 260px; }
.media-badge .ic { width: 28px; height: 28px; }
.split-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.split-text > p { color: var(--muted); font-size: 1.05rem; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0 2rem; }
.vm > div { background: var(--bg-soft); border-radius: 12px; padding: 1.2rem 1.3rem; border-inline-start: 3px solid var(--accent); }
.vm h4 { display: flex; align-items: center; gap: .5em; font-size: 1rem; margin-bottom: .4rem; }
.vm h4 .ic { color: var(--accent); }
.vm p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.7; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.svc-card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform .35s var(--ease); }
html[dir="ltr"] .svc-card::after { --origin: left; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-ic, .feat-ic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 1.3rem; transition: background .3s, color .3s; flex: none; }
.svc-ic .ic, .feat-ic .ic { width: 28px; height: 28px; }
.svc-card:hover .svc-ic { background: var(--primary); color: var(--accent); }
.svc-card h3 { font-size: 1.15rem; }
.svc-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: .4em; color: var(--accent); font-weight: 600; font-size: .9rem; }
.more .ic { transition: transform .25s; }
.svc-card:hover .more .ic, .art-card:hover .more .ic { transform: translateX(4px); }
html[dir="rtl"] .svc-card:hover .more .ic, html[dir="rtl"] .art-card:hover .more .ic { transform: scaleX(-1) translateX(4px); }

/* Why */
.why { background: linear-gradient(160deg, var(--primary), var(--primary-2)); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); inset-inline-end: -160px; top: -180px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.feat { padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s var(--ease); }
.feat:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.feat .feat-ic { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.feat h3 { color: #fff; font-size: 1.1rem; }
.feat p { color: rgba(255, 255, 255, .7); font-size: .93rem; margin: 0; }

/* Team */
.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; justify-content: center; }
.tm-grid.count-1 { grid-template-columns: minmax(0, 360px); }
.tm-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.tm-grid.count-3 { grid-template-columns: repeat(3, minmax(0, 340px)); }
.tm-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); position: relative; }
.tm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tm-photo { aspect-ratio: 1/1.05; background: linear-gradient(160deg, var(--primary-soft), var(--accent-soft)); display: grid; place-items: center; overflow: hidden; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tm-card:hover .tm-photo img { transform: scale(1.04); }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-family: var(--f-head); font-size: 3rem; box-shadow: 0 0 0 8px rgba(255, 255, 255, .6); }
.tm-body { padding: 1.4rem 1.5rem 1.6rem; text-align: center; }
.tm-body h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.tm-role { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.tm-bio { color: var(--muted); font-size: .9rem; margin: 0; }
.tm-li { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow); }

/* Team profile */
.tm-body h3 a:hover { color: var(--accent); }
.tm-more { margin-top: .8rem; }
.mt-s { margin-top: .6rem; }
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
.profile-side { position: sticky; top: 110px; }
.profile-photo { aspect-ratio: 1/1.1; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--primary), var(--primary-2)); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: -40px 1rem 0; position: relative; text-align: center; box-shadow: var(--shadow); }
.profile-card h2 { font-size: 1.3rem; margin-bottom: .2rem; }
.profile-card .muted { font-size: .92rem; }
.cv h2 { font-size: 1.35rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); position: relative; margin-top: 2em; }
.cv h2:first-child { margin-top: 0; }
.cv h2::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 60px; height: 2px; background: var(--accent); }
.cv h3 { font-size: 1.08rem; margin: 1.2em 0 .2em; }
.cv h3 + p { color: var(--muted); font-size: .95rem; margin-bottom: .3em; }
@media (max-width: 960px) { .profile { grid-template-columns: 1fr; } .profile-side { position: static; max-width: 420px; } }

/* Articles */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.art-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.art-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.art-cover { aspect-ratio: 16/9; background: linear-gradient(150deg, var(--primary), var(--primary-2)); display: grid; place-items: center; overflow: hidden; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-cover .ph { color: var(--accent); opacity: .7; }
.art-cover .ph .ic { width: 54px; height: 54px; stroke-width: 1.1; }
.art-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.art-body time { color: var(--accent); font-size: .85rem; font-weight: 600; }
.art-body h3 { font-size: 1.12rem; margin: .4rem 0 .6rem; }
.art-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.art-hero { border-radius: var(--radius); margin-bottom: 2rem; width: 100%; }
.meta { display: flex; align-items: center; gap: .5em; color: var(--muted); font-size: .9rem; }
.meta .ic { color: var(--accent); }

/* Training banner */
.training { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: center; padding: 3rem 3.2rem; border-radius: 24px; color: #fff; margin-bottom: 3.5rem;
  background: radial-gradient(700px 400px at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), linear-gradient(150deg, var(--primary), var(--primary-2)); box-shadow: var(--shadow-lg); }
.training::after { content: ""; position: absolute; inset: 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 16px; pointer-events: none; }
.training-pattern { position: absolute; inset: 0; z-index: -1; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z' fill='none' stroke='%23fff'/%3E%3C/svg%3E"); }
.training-kicker { display: inline-flex; align-items: center; gap: .5em; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); padding: .35em 1em; border-radius: 99px; font-weight: 600; font-size: .88rem; margin-bottom: 1rem; }
.training-kicker .ic { width: 20px; height: 20px; }
.training h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .7rem; }
.training-text { color: rgba(255, 255, 255, .78); font-size: 1.02rem; max-width: 62ch; }
.training-points { list-style: none; padding: 0; margin: 1.3rem 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.training-points li { display: flex; gap: .6em; align-items: flex-start; color: rgba(255, 255, 255, .9); font-size: .95rem; line-height: 1.7; }
.training-points .ic { color: var(--accent); flex: none; margin-top: .25em; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, transparent); }
.training-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.copy-link.done { border-color: #4ade80; color: #4ade80; }
.training-who { display: flex; align-items: center; gap: .5em; color: rgba(255, 255, 255, .6); font-size: .88rem; margin: 1.3rem 0 0; }
.training-who .ic { color: var(--accent); }
.training-qr { display: flex; flex-direction: column; align-items: center; gap: .9rem; background: #fff; border-radius: 20px; padding: 1.4rem 1.4rem 1.1rem; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); transform: rotate(-2deg); transition: transform .35s var(--ease); position: relative; z-index: 1; }
html[dir="ltr"] .training-qr { transform: rotate(2deg); }
.training-qr:hover { transform: rotate(0) scale(1.03); }
.qr-frame { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; outline: 3px solid var(--accent-soft); }
.qr-frame svg { width: 100%; height: 100%; display: block; }
.qr-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.qr-logo .ic { width: 28px; height: 28px; }
.qr-cap { display: flex; align-items: center; gap: .45em; color: var(--primary); font-weight: 600; font-size: .9rem; }
.qr-cap .ic { color: var(--accent); }
.training-sec { padding-bottom: 0; }
.training-sec .training { margin-bottom: 0; }
@media (max-width: 960px) {
  .training { grid-template-columns: 1fr; padding: 2.2rem 1.6rem; gap: 2rem; }
  .training-qr { max-width: 260px; margin-inline: auto; transform: none !important; }
  .training-points { grid-template-columns: 1fr; }
}

/* CTA */
.cta-band { background: var(--accent); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 92%, #000), var(--accent)); color: #fff; padding: 3.5rem 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-in p { margin: 0; color: rgba(255, 255, 255, .88); }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn-gold { background: var(--primary); }
.cta-band .btn-gold:hover { background: var(--primary-2); box-shadow: none; }

/* Page hero */
.page-hero { background: linear-gradient(160deg, var(--primary), var(--primary-2)); color: #fff; padding: 4.2rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z' fill='none' stroke='%23fff'/%3E%3C/svg%3E"); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 30ch; }
.page-hero p { color: rgba(255, 255, 255, .75); max-width: 65ch; margin: 0; font-size: 1.05rem; }
.crumbs { display: flex; gap: .5rem; font-size: .88rem; color: rgba(255, 255, 255, .6); margin-bottom: .8rem; }
.crumbs a:hover { color: var(--accent); }

/* Prose */
.prose { font-size: 1.06rem; line-height: 2; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; background: var(--bg-soft); border-inline-start: 4px solid var(--accent); border-radius: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 1.2em 0; }

/* Detail layout */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 3.5rem; align-items: start; }
.side { position: sticky; top: 110px; display: grid; gap: 1.4rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.side-cta { background: linear-gradient(160deg, var(--primary), var(--primary-2)); color: #fff; border: 0; }
.side-cta h3 { color: #fff; font-size: 1.2rem; }
.side-cta p { color: rgba(255, 255, 255, .75); font-size: .93rem; }
.side-cta .feat-ic { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent); }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list a { display: flex; align-items: center; gap: .7em; padding: .65em 0; border-bottom: 1px dashed var(--line); color: var(--ink); transition: color .2s, padding .2s; }
.side-list li:last-child a { border: 0; }
.side-list a:hover { color: var(--accent); padding-inline-start: .3em; }
.side-list .ic { color: var(--accent); }

/* About page */
.vm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem; border: 1px solid var(--line); }
.vm-card p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: .6em; align-items: center; padding: .25em 0; color: var(--muted); }
.checks .ic { color: var(--accent); }
.quote-sec .q { width: 54px; height: 54px; color: var(--accent); margin: 0 auto 1rem; stroke-width: 1; }
.quote-sec blockquote { font-family: var(--f-head); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--primary); margin: 0 0 1rem; line-height: 1.7; }
.quote-sec cite { color: var(--accent); font-style: normal; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: center; }
.info-list .feat-ic { margin: 0; width: 52px; height: 52px; }
.info-list small { display: block; color: var(--muted); font-size: .82rem; }
.info-list a, .info-list span { font-weight: 600; color: var(--primary); }
.form-card { background: #fff; border-radius: 20px; padding: 2.4rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); scroll-margin-top: 120px; }
.form-card h3 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card label { display: block; margin-bottom: 1rem; }
.form-card label > span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; background: #fbfbfc; transition: border-color .2s, box-shadow .2s, background .2s; color: var(--ink); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.form-card input[dir="ltr"] { text-align: end; }
html[dir="ltr"] .form-card input[dir="ltr"] { text-align: start; }
.note { display: flex; gap: .5em; align-items: center; font-size: .84rem; color: var(--muted); }
.note .ic { color: var(--accent); }
.hp { position: absolute; inset-inline-start: -9999px; height: 0; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; display: flex; gap: .6em; align-items: center; font-weight: 500; }
.alert.ok { background: #e9f6ef; color: #17623d; }
.alert.err { background: #fdecec; color: #9b1c1c; }
.map { position: relative; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.25); }
.map-open { position: absolute; bottom: 20px; inset-inline-start: 50%; transform: translateX(50%); box-shadow: var(--shadow-lg); }
html[dir="ltr"] .map-open { transform: translateX(-50%); }
.map-open:hover { transform: translateX(50%) translateY(-2px); }
html[dir="ltr"] .map-open:hover { transform: translateX(-50%) translateY(-2px); }
.big-num { font-family: var(--f-head); font-size: 6rem; color: var(--accent); line-height: 1; margin-bottom: .5rem; }

/* Social */
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, color .2s; }
.social a:hover { background: var(--accent); }
.social.dark a { background: var(--primary-soft); color: var(--primary); }
.social.dark a:hover { background: var(--primary); color: var(--accent); }

/* Footer */
.site-footer { background: #0a1c2e; background: color-mix(in srgb, var(--primary) 70%, #000); color: rgba(255, 255, 255, .7); padding-top: 4.5rem; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .7rem; }
.site-footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer ul a:hover { color: var(--accent); }
.f-about p { margin-top: 1.2rem; }
.license { font-size: .85rem; color: var(--accent); }
.f-contact li { display: flex; gap: .6em; align-items: flex-start; }
.f-contact .ic { color: var(--accent); margin-top: .35em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.3rem 0; font-size: .86rem; text-align: center; }

.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); z-index: 60; transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a:not(.btn) { padding: .5em .6em; }
  .feat-grid, .tm-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .nb-orn { display: none; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 80; }
  .nav-toggle.open { position: fixed; top: 16px; inset-inline-end: 16px; color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); }
  .nav-toggle.open .i-open { display: none; }
  .nav-toggle.open .i-close { display: inline-flex; }
  .header-tools .m-lang { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; color: var(--primary); font-size: .9rem; }
  html.nav-open .header-tools .m-lang { visibility: hidden; }
  .main-nav { position: fixed; inset: 0; z-index: 70; background: linear-gradient(165deg, var(--primary), var(--primary-2)); flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 1.1rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom)); gap: .15rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-head { display: flex; align-items: center; min-height: 44px; margin: .1rem 0 1.4rem; padding-inline-end: 0; padding-inline-start: 0; }
  html[dir="rtl"] .nav-head { padding-left: 60px; }
  html[dir="ltr"] .nav-head { padding-right: 60px; }
  .nav-head .logo-img { height: 44px; }
  .main-nav > a:not(.btn) { display: flex; align-items: center; gap: .9rem; color: #fff; font-size: 1.08rem; font-weight: 500; padding: .8rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .main-nav > a:not(.btn)::after { display: none; }
  .main-nav > a.active { color: var(--accent); }
  .nav-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--accent); flex: none; }
  .main-nav > a.active .nav-ic { background: var(--accent); color: #fff; }
  .nav-cta { margin: 1.3rem 0 0; padding: 1em; font-size: 1rem; }
  .nav-foot { display: block; margin-top: auto; padding-top: 1.5rem; }
  .nav-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .main-nav .nav-foot a::after { display: none; }
  .main-nav .nav-quick a { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .8rem .3rem; border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font-size: .82rem; }
  .nav-quick .ic { color: var(--accent); width: 22px; height: 22px; }
  .nav-meta { display: flex; justify-content: center; gap: 1.4rem; margin-top: 1.1rem; }
  .main-nav .nav-meta a { display: inline-flex; padding: .3rem 0; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .75); font-size: .88rem; }
  .nav-meta .ic { color: var(--accent); }
  .nav-foot .social { justify-content: center; }
  .hero-in, .split, .contact-grid, .detail { grid-template-columns: 1fr; gap: 3rem; }
  .hero { padding-top: 4rem; }
  .hero-card { display: none; }
  .split-media { max-width: 520px; }
  .side { position: static; }
  .svc-grid, .art-grid, .vm-cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .tm-grid.count-3 { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 4rem 0; }
  .hide-sm { display: none !important; }
  .topbar-info a:nth-child(2) { display: none; }
  .topbar { font-size: .78rem; }
  .topbar-in { gap: .6rem; }
  .topbar-info, .topbar-actions { gap: .7rem; flex-wrap: nowrap; }
  .header-in { min-height: 70px; }
  .logo-mark { width: 42px; height: 42px; font-size: 1.35rem; }
  .logo-text strong { font-size: .95rem; }
  .logo-img { height: 46px; max-width: 220px; }
  .svc-grid, .art-grid, .vm-cards, .feat-grid, .tm-grid, .tm-grid[class*="count-"], .footer-grid, .f-row, .vm { grid-template-columns: 1fr; }
  .media-badge { inset-inline-end: 10px; bottom: -18px; }
  .form-card { padding: 1.6rem; }
  .stat strong { font-size: 1.7rem; }
  .hero-actions .btn { flex: 1; }
}

/* ==========================================================
   نسخة الجوال — Mobile refinements
   ========================================================== */
@media (max-width: 640px) {
  :root { --radius: 12px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 32px); }
  .narrow { width: calc(100% - 32px); }
  .section { padding: 3.2rem 0; }
  .topbar { display: none; }
  .national-bar .nb-in, .national-bar > a { padding: .45rem .8rem; gap: .25rem .5rem; }
  .national-bar strong { font-size: .8rem; line-height: 1.65; font-weight: 600; }
  .nb-label { font-size: .7rem; padding: 0 .6rem; }
  .header-in { min-height: 64px; gap: .6rem; }
  .logo-img { height: 42px; max-width: 200px; }
  .nav-toggle, .header-tools .m-lang { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; }

  /* Hero */
  .hero { padding-top: 2.6rem; }
  .hero-in { padding-bottom: 2.4rem; gap: 0; }
  .kicker { font-size: .78rem; margin-bottom: .9rem; gap: .5em; }
  .kicker span { width: 20px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.5; margin-bottom: .9rem; }
  .hero .lead { font-size: .98rem; line-height: 1.9; margin-bottom: 1.6rem; }
  .hero-actions { gap: .6rem; }
  .hero-actions .btn { padding: .85em 1em; font-size: .95rem; }
  .stats { grid-template-columns: repeat(2, 1fr); border-radius: 16px 16px 0 0; }
  .stat { padding: 1.1rem .6rem; }
  .stat strong { font-size: 1.55rem; }
  .stat span { font-size: .8rem; line-height: 1.5; display: block; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  /* Section heads */
  .sec-head { margin-bottom: 1.8rem; }
  .sec-head h2, .split-text h2 { font-size: 1.45rem; }
  .sec-head p { font-size: .93rem; }
  .sec-head.row { align-items: center; flex-wrap: nowrap; }
  .sec-head.row .btn { padding: .55em .9em; font-size: .82rem; }

  /* About */
  .split { gap: 2rem; }
  .split-media { max-width: 100%; }
  .split-media img, .media-ph { aspect-ratio: 16/11; border-radius: 16px; }
  .split-media img { object-fit: contain; background: var(--primary); }
  .media-ph-in .ic { width: 56px; height: 56px; }
  .media-badge { display: none; }
  .split-text > p { font-size: .97rem; }
  .vm { gap: .7rem; margin: 1.2rem 0 1.5rem; }
  .vm > div { padding: .9rem 1rem; }

  /* Services: compact list */
  .svc-grid { gap: .7rem; }
  .svc-card { display: grid; grid-template-columns: 48px 1fr 18px; grid-template-rows: auto auto; column-gap: .9rem; row-gap: .15rem; align-items: center; padding: 1rem 1rem; }
  .svc-card::after { display: none; }
  .svc-card:hover { transform: none; }
  .svc-ic { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 12px; }
  .svc-ic .ic { width: 24px; height: 24px; }
  .svc-card h3 { font-size: 1rem; margin: 0; grid-column: 2; }
  .svc-card p { grid-column: 2; font-size: .84rem; line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .svc-card .more { grid-column: 3; grid-row: 1 / span 2; font-size: 0; color: var(--accent); }
  .svc-card .more .ic { width: 18px; height: 18px; font-size: 1rem; }

  /* Why */
  .feat-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .feat { padding: 1.1rem .9rem; }
  .feat .feat-ic { width: 44px; height: 44px; margin-bottom: .8rem; border-radius: 12px; }
  .feat .feat-ic .ic { width: 22px; height: 22px; }
  .feat h3 { font-size: .95rem; margin-bottom: .3rem; }
  .feat p { font-size: .8rem; line-height: 1.7; }

  /* Team: horizontal card */
  .tm-grid, .tm-grid[class*="count-"] { grid-template-columns: 1fr; gap: .8rem; }
  .tm-card { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
  .tm-card:hover { transform: none; }
  .tm-photo { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .tm-photo > a { display: contents; }
  .avatar { width: 64px; height: 64px; font-size: 1.7rem; box-shadow: 0 0 0 5px rgba(255, 255, 255, .6); }
  .tm-body { text-align: start; padding: 1rem 1.1rem; }
  .tm-body h3 { font-size: 1rem; }
  .tm-role { font-size: .82rem; margin-bottom: .3rem; }
  .tm-bio { font-size: .82rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tm-more { margin-top: .4rem; font-size: .82rem; }
  .tm-li { top: 8px; inset-inline-end: 8px; width: 32px; height: 32px; }
  .mt { margin-top: 1.5rem; }

  /* Articles: horizontal compact */
  .art-grid { gap: .8rem; }
  .art-card { display: grid; grid-template-columns: 104px 1fr; }
  .art-card:hover { transform: none; }
  .art-cover { aspect-ratio: auto; height: 100%; min-height: 120px; }
  .art-cover .ph .ic { width: 34px; height: 34px; }
  .art-body { padding: .9rem 1rem; }
  .art-body time { font-size: .76rem; }
  .art-body h3 { font-size: .95rem; margin: .2rem 0 .3rem; line-height: 1.6; }
  .art-body p { display: none; }
  .art-body .more { font-size: .8rem; }

  /* Training */
  .training { padding: 1.8rem 1.2rem 1.4rem; border-radius: 18px; margin-bottom: 2rem; gap: 1.5rem; }
  .training::after { inset: 7px; border-radius: 13px; }
  .training h2 { font-size: 1.35rem; }
  .training-text { font-size: .92rem; }
  .training-points { margin: 1rem 0 1.3rem; gap: .5rem; }
  .training-points li { font-size: .88rem; }
  .training-actions .btn { flex: 1; padding: .85em .8em; font-size: .92rem; }
  .training-qr { max-width: 220px; padding: 1rem 1rem .8rem; }
  .qr-logo { width: 38px; height: 38px; }
  .qr-cap { font-size: .8rem; }

  /* CTA */
  .cta-band { padding: 2.2rem 0; text-align: center; }
  .cta-in { justify-content: center; gap: 1.2rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }

  /* Page hero */
  .page-hero { padding: 2.2rem 0 2.1rem; }
  .page-hero h1 { font-size: 1.55rem; }
  .page-hero p { font-size: .92rem; }
  .crumbs { font-size: .78rem; margin-bottom: .5rem; }

  /* Detail & profile */
  .prose { font-size: 1rem; line-height: 1.95; }
  .detail { gap: 2rem; }
  .side-card { padding: 1.3rem; }
  .profile { gap: 0; }
  .profile-side { max-width: none; display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: center; margin-bottom: 2rem; }
  .profile-photo { aspect-ratio: 1; border-radius: 16px; }
  .profile-photo .avatar { width: 70px; height: 70px; font-size: 1.8rem; }
  .profile-card { margin: 0; padding: 0; border: 0; box-shadow: none; text-align: start; background: none; }
  .profile-card h2 { font-size: 1.15rem; }
  .profile-card .muted { display: none; }
  .profile-card .btn { padding: .65em 1em; font-size: .88rem; }
  .cv h2 { font-size: 1.2rem; }

  /* Contact */
  .contact-grid { gap: 2rem; }
  .contact-info h2 { font-size: 1.35rem; }
  .info-list { margin: 1.2rem 0; gap: .8rem; }
  .info-list .feat-ic { width: 44px; height: 44px; }
  .form-card { padding: 1.4rem 1.1rem; border-radius: 16px; }
  .form-card input, .form-card select, .form-card textarea { font-size: 16px; }
  .map iframe { height: 300px; }

  /* Footer */
  .site-footer { padding-top: 2.8rem; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-bottom: 2rem; }
  .f-about, .f-contact { grid-column: 1 / -1; }
  .f-about .logo { justify-content: center; }
  .site-footer .logo-img { height: 54px; }
  .f-about p { font-size: .88rem; }
  .social { justify-content: center; }
  .site-footer h4::after { inset-inline-start: 50%; transform: translateX(50%); }
  html[dir="ltr"] .site-footer h4::after { transform: translateX(-50%); }
  .site-footer ul { gap: .45rem; font-size: .88rem; }
  .f-contact ul { justify-items: center; }
  .footer-bottom { font-size: .78rem; padding: 1rem 0; }

  /* Bottom action bar */
  .wa-float { display: none; }
  .m-actions { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 42, 68, .08); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
  .m-actions a { display: flex; align-items: center; justify-content: center; gap: .4rem; height: 50px; border-radius: 12px; font-weight: 600; font-size: .85rem; color: var(--primary); background: var(--primary-soft); }
  .m-actions .ic { width: 19px; height: 19px; }
  .m-actions a.wa { background: #e8f8ee; color: #128c4a; }
  .m-actions a.book { background: var(--accent); color: #fff; }
  html.nav-open .m-actions { display: none; }
}
