/* ==========================================================================
   مكتب صلاح النجمي للمحاماة والاستشارات القانونية — approved design (design-reference/)
   Royal blue + ink, big rounded panels (36 / 28), pill buttons, outlined Arabic-Indic numerals.
   ========================================================================== */
:root {
  --blue: #1F3DB8; --blue-2: #2C4BCB; --ink: #0A0E1F; --ink-2: #141A30; --muted: #4E556B; --body: #2E3448;
  --blue-tint: #EEF2FF; --blue-soft: #DDE3FF; --blue-soft-2: #C9D3FF; --sky: #A9BBFF; --sky-2: #8FA4FF; --dim: #C9CFE2;
  --line: #E3E6EF; --dashed: #9AA8E6; --ph-bg: #EEF1FA;
  --wrap: 1240px; --gut: 40px; --hdr: 82px; --side: 16px;
  --r-sec: 36px; --r-card: 28px;
  --f-head: 'Rubik', 'Readex Pro', sans-serif; --f-body: 'Readex Pro', system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16.5px/1.85 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .2s; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.panel--blue :focus-visible, .panel--ink :focus-visible, .svc--big :focus-visible, .svc--blue :focus-visible, .br :focus-visible,
.ac--feat :focus-visible, .ac--blue :focus-visible, .proc-strip :focus-visible, .faq-box :focus-visible, .svcp-card :focus-visible, .lb :focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
[id] { scroll-margin-top: calc(var(--hdr) + 8px); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap--wide { max-width: calc(1272px + 2 * 24px); padding-inline: 24px; }
.wrap--narrow { max-width: calc(860px + 2 * var(--gut)); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ph { opacity: .85; font-weight: 400 !important; }
.muted { color: var(--muted); }
.gap { height: 16px; }
/* a link that makes its whole card clickable */
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretch { color: inherit; }

/* ---------- pills (buttons) ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 16px var(--f-body); cursor: pointer; white-space: nowrap; }
.pill b { font-family: var(--f-head); font-weight: 800; }
.pill--lg { min-height: 56px; padding: 0 26px; gap: 12px; }
.pill--xl { min-height: 64px; padding: 0 24px; justify-content: space-between; gap: 16px; font-family: var(--f-head); font-weight: 800; font-size: 18px; }
.pill--block, .pill--split { width: 100%; justify-content: space-between; }
.pill--center { width: 100%; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--ink:hover { background: var(--blue); color: #fff; }
.pill--blue { background: var(--blue); color: #fff; }
.pill--blue:hover { background: var(--ink); color: #fff; }
.pill--white { background: #fff; color: var(--ink); }
.pill--white:hover { background: var(--blue-soft); color: var(--ink); }
.pill--line { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.pill--line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pill--line-ink { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.pill--outline { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.pill--outline:hover { background: var(--ink); color: #fff; }
.pill--xl.pill--line { font-weight: 700; }
.pill svg { flex-shrink: 0; }

/* ---------- type ---------- */
.eb { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--blue); }
.eb--l { color: var(--blue-soft-2); }
.eb--sky { color: var(--sky); }
.h2 { font-weight: 900; line-height: 1.2; }
.h2--l { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.3; }
.h2--xl { font-size: clamp(34px, 3.8vw, 56px); }
.h2--xxl { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.1; }
.h2--m { font-size: clamp(28px, 3vw, 40px); }
.h2--mb { margin-bottom: 32px; }
.h3 { font-size: 24px; font-weight: 800; margin: 36px 0 18px; }
.acc { color: var(--sky-2); }
.lead { font-size: 18px; font-weight: 300; }
.lead--dim { color: var(--dim); max-width: 560px; }
.sh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.sh--c { justify-content: center; text-align: center; }
.sh--c .sh-a { align-items: center; }
.sh--end { justify-content: flex-end; }
.sh-a { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sh-p { margin-top: 4px; color: var(--muted); font-size: 17px; }
.sh-p--l { color: var(--blue-soft); max-width: 360px; }
.sh-side { max-width: 420px; font-size: 16px; color: var(--muted); }
/* outlined numerals (٠١ ٠٢ …) */
.onum { font-family: var(--f-head); font-weight: 900; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.onum--l { font-size: 40px; -webkit-text-stroke-color: rgba(255, 255, 255, .7); }
.onum--faq { font-size: 28px; flex: 0 0 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: 14px; }
.chips--sm li { padding: 5px 14px; font-size: 13.5px; }
.tag { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.7; }
.tag--blue { background: var(--blue); color: #fff; }
.tag--line { border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 400; }
.tag--white { background: #fff; color: var(--ink); }
.tag--ink { background: var(--ink); color: #fff; }

/* ---------- panels & sections ---------- */
.panel { margin-inline: var(--side); border-radius: var(--r-sec); position: relative; overflow: hidden; }
.panel--blue { background: var(--blue); color: #fff; }
.panel--ink { background: var(--ink); color: #fff; }
.sec { padding-block: 104px; }
.sec--tight { padding-block: 72px; }
.sec--pad0 { padding-block: 0 24px; }
.calli { position: absolute; pointer-events: none; height: auto; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .35s var(--ease), box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 6px 24px -18px rgba(10, 14, 31, .5); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { max-width: 1320px; margin: 0 auto; padding: 14px 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 54px; height: 54px; flex-shrink: 0; }
.brand-t { display: flex; flex-direction: column; line-height: 1.3; }
.brand-n { font-family: var(--f-head); font-weight: 800; font-size: 22px; }
.brand-s { font-size: 12.5px; color: var(--muted); }
.brand--big { gap: 16px; }
.brand--big img { width: 84px; height: 84px; }
.brand--big .brand-n { font-weight: 900; font-size: 30px; }
.brand--big .brand-s { font-size: 14px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 30px; font-size: 15px; font-weight: 500; }
.nav > a:not(.pill) { padding: 10px 0; position: relative; }
.nav > a:not(.pill)::after { content: ''; position: absolute; inset-inline: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav > a:not(.pill):hover::after, .nav > a.is-active::after, .nav > a[aria-current]::after { transform: none; }
.nav > a:not(.pill):hover { color: var(--blue); }
.nav-tel { min-height: 46px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; place-items: center; cursor: pointer; }
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 14, 31, .55); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 10px; bottom: 10px; inset-inline-end: 10px; width: min(380px, calc(100vw - 20px)); background: #fff; border-radius: 28px; padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px;
  transform: translateX(calc(-100% - 20px)); transition: transform .4s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-top .brand img { width: 44px; height: 44px; }
.drawer-top .brand-n { font-size: 19px; }
.drawer-x { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.drawer-nav { display: flex; flex-direction: column; flex: 1; }
.drawer-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 19px; font-weight: 700; }
.drawer-foot { display: flex; flex-direction: column; gap: 10px; }
html.lock, html.lock body { overflow: hidden; }

/* ---------- hero ---------- */
.calli--hero { top: 28px; left: 50%; width: 78%; max-width: 1080px; transform: translateX(-50%); opacity: .34; }
.hero-in { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 48px; display: flex; align-items: flex-end; gap: 24px; }
.hero-copy { flex: 1 1 340px; min-width: 0; padding: 88px 0 72px; align-self: center; display: flex; flex-direction: column; gap: 22px; }
.hero-eb { font-size: 14px; font-weight: 600; color: var(--blue-soft-2); }
.hero-h { font-weight: 800; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.3; }
.hero-p { font-size: 17px; font-weight: 300; color: var(--blue-soft); max-width: 380px; }
.hero-art { flex: 1.3 1 420px; min-width: 0; position: relative; display: flex; justify-content: center; align-items: flex-end; padding-top: 56px; }
.hero-disc { position: absolute; bottom: 0; width: 88%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); transform: translateY(18%); }
.hero-img { position: relative; width: 100%; max-width: 520px; }
.hero-act { flex: 1 1 300px; min-width: 0; padding: 88px 0 72px; align-self: center; display: flex; flex-direction: column; gap: 12px; }
.hero-br { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); }
.hero-br li + li { border-top: 1px solid rgba(255, 255, 255, .25); }
.hero-br a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: #fff; }
.hero-br b { font-weight: 600; }
.hero-br span { color: var(--blue-soft-2); font-size: 14px; }
.hero-br a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- keyword band ---------- */
.band { padding: 34px 40px; }
.band-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; font-family: var(--f-head); font-weight: 800; font-size: 26px; }
.band .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

/* ---------- about (ink) ---------- */
.about-in { max-width: calc(1260px); padding-block: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.about-a { flex: 1.15 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.facts { background: #fff; color: var(--ink); border-radius: var(--r-card); padding: 10px 28px; }
.facts > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { font-weight: 600; text-align: start; }
.facts > div:first-child dd { font-family: var(--f-head); font-weight: 800; font-size: 19px; }
.ph-pill { display: inline-block; padding: 2px 12px; border-radius: 999px; border: 1.5px dashed var(--dashed); font-size: 14px; font-weight: 400; }
.about-fig { flex: 1 1 420px; min-width: 0; position: relative; min-height: 640px; border-radius: var(--r-card); overflow: hidden; background: #1A2033; }
.about-fig > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.about-fig figcaption { position: absolute; inset-inline: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 20px; border-radius: 999px; background: #fff; color: var(--ink); }
.about-fig figcaption img { width: 48px; height: 48px; flex: 0 0 48px; }
.about-fig figcaption span { display: flex; flex-direction: column; line-height: 1.35; }
.about-fig figcaption b { font-family: var(--f-head); font-weight: 800; font-size: 17px; }
.about-fig figcaption small { font-size: 13px; color: var(--muted); text-align: start; }

/* ---------- gallery ---------- */
.gallery { padding-block: 64px 16px; }
.gallery .wrap { max-width: calc(1320px); display: flex; flex-direction: column; gap: 28px; }
.gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 16px; }
.gal-i { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; background: #1A2033; }
.gal-i--big { grid-column: span 2; grid-row: span 2; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.gal-i:hover img { transform: scale(1.04); }
a.gal-i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 rgba(31, 61, 184, 0); transition: box-shadow .3s; }
a.gal-i:hover::after { box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .7); }
.gal-i--ph { background: var(--ph-bg); border: 1.5px dashed var(--dashed); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); }
.gal-i--ph span { font-size: 14px; font-weight: 600; }
.gal-more { display: flex; justify-content: center; }
.gal-i[data-more]:not([hidden]) { animation: galIn .5s var(--ease) both; }
@keyframes galIn { from { opacity: 0; transform: translateY(14px); } }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(10, 14, 31, .94); display: flex; align-items: center; justify-content: center; padding: 64px 84px; opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb-fig { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; border-radius: 20px; object-fit: contain; }
.lb-fig figcaption { color: var(--dim); font-size: 15px; text-align: center; }
.lb-x, .lb-nav { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-x:hover, .lb-nav:hover { background: #fff; color: var(--ink); }
.lb-x { top: 18px; inset-inline-start: 18px; }
.lb-prev { inset-inline-start: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 18px; top: 50%; transform: translateY(-50%); }
.lb-n { position: absolute; top: 30px; inset-inline-end: 26px; color: var(--dim); font-size: 15px; }

/* ---------- practice ---------- */
.practice { padding-block: 112px; }
.practice .wrap { display: flex; flex-direction: column; gap: 44px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 14px; }
.svc { position: relative; border-radius: var(--r-card); background: var(--blue-tint); color: var(--ink); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease), box-shadow .3s; }
.svc:has(.stretch):hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(31, 61, 184, .55); }
.svc p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.svc-row { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.svc-h { margin-top: auto; font-weight: 800; font-size: 22px; line-height: 1.4; }
.svc--blue { background: var(--blue); color: #fff; }
.svc--blue p { color: var(--blue-soft); }
.svc--blue .svc-ic { background: rgba(255, 255, 255, .15); color: #fff; }
.svc--blue .onum { -webkit-text-stroke-color: #fff; }
.svc-cta { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; color: var(--blue-soft); }
.svc--big { grid-column: span 2; grid-row: span 2; border-radius: 32px; background: var(--ink); color: #fff; padding: 40px; gap: 16px; }
.svc--big p { font-size: 16.5px; color: var(--dim); max-width: 460px; line-height: 1.85; }
.svc-ic--lg { width: 68px; height: 68px; background: var(--blue); color: #fff; }
.svc-top { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--sky); }
.svc-h--big { margin-top: 0; font-weight: 900; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.2; }
.svc--big .chips { margin-top: 6px; position: relative; z-index: 2; }
.svc--big:has(.stretch):hover { box-shadow: 0 24px 50px -30px rgba(10, 14, 31, .9); }

/* ---------- why (blue) ---------- */
.why { margin-bottom: var(--side); }
.calli--why { bottom: -40px; left: -60px; width: 620px; opacity: .22; }
.why-in { position: relative; padding-block: 96px; display: flex; flex-wrap: wrap; gap: 48px; }
.why-a { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.why-a .pill { margin-top: 8px; }
.why-grid { flex: 2.2 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.why-c { border-radius: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.svc-ic--white { width: 50px; height: 50px; background: #fff; color: var(--blue); }
.why-c h3 { margin-top: 10px; font-weight: 800; font-size: 22px; line-height: 1.4; }
.why-c p { font-size: 15px; color: var(--blue-soft); }

/* ---------- branches ---------- */
.branches { padding-block: 72px 24px; }
.branches .wrap { max-width: 1320px; padding-inline: 24px; display: flex; flex-direction: column; gap: 36px; }
.branches .sh { padding-inline: 16px; }
.br-tels { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.br-tels > span { font-size: 14px; color: var(--muted); }
.br-tels a { font-family: var(--f-head); font-weight: 900; font-size: 30px; line-height: 1.3; }
.br-tels a.is-blue { color: var(--blue); }
.br-tels a:hover { color: var(--blue); }
.br-tels a.is-blue:hover { color: var(--ink); }
.br-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.br { position: relative; overflow: hidden; border-radius: var(--r-sec); background: var(--ink); color: #fff; padding: 20px 20px 36px; display: flex; flex-direction: column; gap: 22px; }
.br--blue { background: var(--blue); }
.br-map { position: relative; border-radius: 22px; overflow: hidden; height: 200px; background: var(--ink-2); }
.br--blue .br-map { background: var(--blue-2); }
.br-map svg { display: block; width: 100%; height: 100%; }
.br-map .pin-halo { fill: var(--sky-2); fill-opacity: .18; }
.br-map .pin { fill: var(--sky-2); }
.br-map .pin-hole { fill: var(--ink-2); }
.br--blue .br-map .pin-halo, .br--blue .br-map .pin { fill: #fff; }
.br--blue .br-map .pin-hole { fill: var(--blue-2); }
.br-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.br-badge { position: absolute; top: 16px; right: 16px; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; }
.br-b { padding: 0 20px; display: flex; flex-direction: column; gap: 12px; }
.br-b h3 { font-weight: 900; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.2; }
.br-b address { font-size: 18px; color: var(--dim); }
.br--blue .br-b address { color: #E8ECFF; }
.br-hours { font-size: 15px; color: var(--blue-soft); }
.br-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

/* ---------- process (tint) ---------- */
.proc { border-radius: var(--r-sec); background: var(--blue-tint); padding: 88px 40px 0; overflow: hidden; display: flex; flex-direction: column; gap: 56px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px 0; }
.steps::before { content: ''; position: absolute; top: 52px; right: calc(50% / var(--n, 4)); left: calc(50% / var(--n, 4)); border-top: 2px dashed var(--blue); opacity: .5; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 0 14px; }
.st-c { position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 50%; background: #fff; color: var(--blue); border: 2px solid var(--blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.st-c b { font-family: var(--f-head); font-weight: 800; font-size: 15px; }
.steps .is-last .st-c { background: var(--blue); color: #fff; }
.steps h3 { margin-top: 6px; font-weight: 800; font-size: 22px; line-height: 1.4; }
.steps p { font-size: 15px; color: var(--muted); max-width: 240px; }
.proc-strip { margin: 0 -40px; padding: 26px 40px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.proc-strip p { font-family: var(--f-head); font-weight: 800; font-size: 24px; }
.proc-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- articles ---------- */
.articles .wrap { display: flex; flex-direction: column; gap: 40px; }
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.agrid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac { position: relative; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 300px; background: var(--blue-tint); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.ac:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(31, 61, 184, .55); }
.ac .tag { align-self: flex-start; }
.ac h3 { margin-top: 6px; font-weight: 800; font-size: 22px; line-height: 1.45; }
.ac p { font-size: 15px; color: var(--muted); }
.ac-f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.ac-go { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.ac:hover .ac-go { transform: translateX(-4px); }
.ac--blue { background: var(--blue); color: #fff; }
.ac--blue p, .ac--blue .ac-f { color: var(--blue-soft); }
.ac--blue .ac-go { background: #fff; color: var(--ink); }
.ac--feat { grid-column: span 2; overflow: hidden; border-radius: 32px; background: var(--ink); color: #fff; padding: 44px; gap: 14px; }
.ac--feat:hover { box-shadow: 0 24px 50px -30px rgba(10, 14, 31, .9); }
.ac-hook { position: absolute; bottom: -36px; left: 20px; font-family: var(--f-head); font-weight: 900; font-size: 200px; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .1); white-space: nowrap; pointer-events: none; }
.ac-tags { position: relative; display: flex; gap: 8px; flex-wrap: wrap; }
.ac--feat h3 { position: relative; margin: auto 0 0; font-weight: 900; font-size: clamp(30px, 3vw, 42px); line-height: 1.3; max-width: 620px; }
.ac--feat h3 a { color: #fff; }
.ac--feat h3 a::after { content: ''; position: absolute; inset: -400px -60px -300px; z-index: 1; }
.ac--feat p { position: relative; font-size: 17px; color: var(--dim); max-width: 560px; }
.ac--feat .pill { position: relative; align-self: flex-start; margin-top: 6px; }
.ask { grid-column: span 2; border-radius: var(--r-card); border: 2px dashed #C7D0F2; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.ask b { font-family: var(--f-head); font-weight: 800; font-size: 22px; }
.ask span { font-size: 15px; color: var(--muted); }
.ask .pill { align-self: flex-start; min-height: 48px; margin-top: 4px; }

/* ---------- faq ---------- */
.faq { padding-block: 40px 104px; }
.faq-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.faq-a { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.faq-box { margin-top: 10px; border-radius: var(--r-card); background: var(--blue); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.faq-box > b { font-family: var(--f-head); font-weight: 800; font-size: 22px; }
.faq-box > span { font-size: 15px; color: var(--blue-soft); }
.faq-box .pill { min-height: 54px; }
.faq-list { flex: 1.6 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq-i { border-radius: 24px; background: var(--blue-tint); padding: 0 26px; }
.faq-i summary { display: flex; align-items: center; gap: 18px; padding: 22px 0; min-height: 44px; cursor: pointer; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i h3 { flex: 1 1 auto; font-weight: 800; font-size: 19px; line-height: 1.45; }
.faq-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: #fff; position: relative; transition: background .2s, transform .3s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2.4px; border-radius: 2px; background: var(--blue); transform: translate(-50%, -50%); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq-i[open] .faq-ic { background: var(--blue); }
.faq-i[open] .faq-ic::before, .faq-i[open] .faq-ic::after { background: #fff; }
.faq-i[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq-i summary:hover h3 { color: var(--blue); }
.faq-i p { padding: 0 58px 24px 0; color: var(--body); }

/* ---------- contact (blue) ---------- */
.contact-in { max-width: calc(1240px); padding-block: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.contact-a { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-a .h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.2; }
.big-tel { align-self: flex-start; font-family: var(--f-head); font-weight: 900; font-size: clamp(36px, 4vw, 56px); line-height: 1.3; color: #fff; }
.big-tel:hover { color: var(--blue-soft-2); }
.big-tel--outline { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.big-tel--outline:hover { color: rgba(255, 255, 255, .15); }
.hours { font-size: 15px; color: var(--blue-soft); }
.hours a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.cform { flex: 1 1 440px; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--r-card); padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f--wide { grid-column: 1 / -1; }
.f > span { font-size: 14px; font-weight: 600; }
.f input, .f select, .f textarea { height: 52px; padding: 0 18px; border: 2px solid transparent; border-radius: 16px; background: var(--blue-tint); font-size: 16px; color: var(--ink); width: 100%; }
.f select { padding: 0 14px; }
.f textarea { height: auto; padding: 14px 18px; resize: vertical; }
.f input[type=tel] { text-align: right; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.f input[aria-invalid="true"] { border-color: #C2392B; background: #FFF5F4; }
.pill--submit { min-height: 58px; font-size: 17px; }
.f-msg { min-height: 1.5em; font-size: 15px; color: var(--blue); font-weight: 600; }
.f-msg:empty { display: none; }
.f-msg.is-err { color: #B42318; }
.f-msg.is-ok { color: #11603A; padding: 12px 16px; border-radius: 16px; background: #E7F6EE; }
.f-consent { font-size: 13px; color: var(--muted); text-align: center; }
.f-consent a { text-decoration: underline; text-underline-offset: 3px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-width: 86px; height: 42px; border-radius: 999px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); cursor: pointer; font: 600 15px var(--f-body); }
.slot.is-on, .slot:hover { background: var(--blue); color: #fff; }
.slots-msg { color: var(--muted); font-size: 14.5px; }

/* ---------- footer ---------- */
.ftr-in { max-width: 1240px; margin: 0 auto; padding: 72px 40px 36px; display: flex; flex-direction: column; gap: 36px; }
.ftr-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.ftr-cols { display: flex; flex-wrap: wrap; gap: 32px; font-size: 15px; }
.ftr-col { display: flex; flex-direction: column; }
.ftr-h { font-family: var(--f-head); font-weight: 800; }
.ftr-tel { font-weight: 600; }
.ftr-tel:hover { color: var(--blue); }
.ftr-bottom { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-size: 13px; color: var(--muted); }
.ftr-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.ftr-links a { color: var(--muted); }
.ftr-links a:hover { color: var(--blue); }
.soc { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); }
.credit a { color: var(--ink); font-weight: 600; letter-spacing: .04em; }
.credit a:hover { color: var(--blue); }
.wa-fab { display: none; position: fixed; z-index: 70; bottom: 18px; inset-inline-start: 18px; width: 60px; height: 60px; border-radius: 50%; background: #1FAF5A; color: #fff; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); }

/* ---------- inner pages ---------- */
.phead { padding: 64px 0 72px; }
.calli--head { top: 50%; left: -40px; width: 620px; transform: translateY(-50%); opacity: .16; }
.phead-in { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--blue-soft-2); margin-bottom: 18px; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-soft-2); }
.crumbs a { color: #fff; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.h1p { font-weight: 900; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.2; }
.phead-lead { margin-top: 14px; font-size: 18px; font-weight: 300; color: var(--blue-soft); max-width: 720px; }
.asearch { display: flex; gap: 8px; margin-top: 28px; max-width: 560px; }
.asearch input { flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; font-size: 16px; }
.asearch input::placeholder { color: var(--blue-soft-2); }
.asearch input:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .16); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.filters a { padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; font-size: 14.5px; }
.filters a[aria-current="true"], .filters a:hover { background: #fff; color: var(--ink); }
.asearch-r { margin-bottom: 28px; color: var(--muted); }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 48px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.svcp { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.svcp-side { position: sticky; top: calc(var(--hdr) + 24px); }
.svcp-card { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.svcp-card h2 { font-size: 22px; font-weight: 800; line-height: 1.5; margin-bottom: 4px; }
.svcp-book { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--sky); font-weight: 600; }
.svcp-book:hover { color: #fff; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 18px; background: var(--blue-tint); font-weight: 500; }
.checks svg { color: var(--blue); flex-shrink: 0; margin-top: 4px; }
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 22px; background: var(--blue-tint); font-family: var(--f-head); font-weight: 800; font-size: 18px; line-height: 1.5; height: 100%; }
.others a:hover { background: var(--blue); color: #fff; }
.others svg { flex-shrink: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.post-t { font-weight: 900; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.35; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 14px; color: var(--blue-soft-2); }
.post-meta strong { color: #fff; font-weight: 600; }
.post-cover { margin: 40px auto 0; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-card); }
.post-body { padding-top: 56px; }
.prose { font-size: 18px; line-height: 2; color: var(--body); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 800; margin-top: 1.8em; line-height: 1.5; color: var(--ink); }
.prose h3 { font-size: 22px; font-weight: 800; margin-top: 1.5em; color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-inline: 0; padding: 18px 24px; border-radius: 20px; background: var(--blue-tint); font-family: var(--f-head); font-weight: 500; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul li { list-style: none; position: relative; }
.prose ul li::before { content: ''; position: absolute; inset-inline-start: -1.2em; top: .8em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.prose ol li { list-style: arabic-indic; }
.prose li + li { margin-top: .4em; }
.prose img { margin-block: 1.4em; border-radius: 20px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.toc { margin-bottom: 40px; border-radius: 24px; background: var(--blue-tint); padding: 22px 28px; }
.toc-h { font-family: var(--f-head); font-weight: 800; padding-bottom: 10px; border-bottom: 1px solid #D5DCF7; }
.toc ol { padding-top: 12px; counter-reset: t; display: grid; gap: 6px; }
.toc li.toc-h2 { counter-increment: t; }
.toc-h2 a::before { content: counter(t, arabic-indic) ' — '; color: var(--blue); font-weight: 700; }
.toc-h3 { padding-inline-start: 26px; font-size: .95em; }
.toc a:hover { color: var(--blue); }
.post-note { margin-top: 40px; padding: 16px 22px; border-radius: 20px; background: var(--blue-tint); font-size: 15px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.share > span { font-weight: 600; margin-inline-end: 8px; }
.share a, .share button { height: 44px; min-width: 44px; border-radius: 999px; border: 1.5px solid var(--ink); display: inline-grid; place-items: center; padding: 0 12px; color: var(--ink); background: #fff; cursor: pointer; font: 600 14px var(--f-body); }
.share button { padding: 0 18px; }
.share a:hover, .share button:hover { background: var(--ink); color: #fff; }
.back { display: inline-flex; align-items: center; gap: 10px; margin: 36px 0 90px; font-weight: 600; }
.back svg { transform: scaleX(-1); }
.back:hover { color: var(--blue); }
.pv-upd { color: var(--muted); font-size: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pv-bar { background: #FFF2D6; color: #6B4A0E; text-align: center; padding: 10px 16px; font-weight: 600; }
.nf { padding: 96px 0 104px; margin-top: 8px; text-align: center; }
.nf .phead-lead { margin-inline: auto; }
.nf-n { font-family: var(--f-head); font-weight: 900; font-size: clamp(100px, 16vw, 180px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .6); margin-bottom: 10px; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* protected reader */
.book { margin-top: 56px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.book-h { display: flex; gap: 18px; align-items: center; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.book-h h2 { font-size: clamp(19px, 2vw, 24px); }
.book-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }
.book-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-top: 6px; }
.book-note { padding: 12px 26px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.reader { position: relative; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.rd-bar { position: sticky; top: calc(var(--hdr) - 10px); z-index: 5; display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ink); }
.rd-bar button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; font-size: 20px; cursor: pointer; }
.rd-pg { display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--dim); font-size: 14px; }
.rd-pg input { width: 56px; height: 38px; border-radius: 12px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-align: center; font: inherit; }
.rd-sp { flex: 1; }
.rd-stage { position: relative; max-height: 82vh; overflow: auto; background: #1A2033; padding: 24px 14px; outline: none; overscroll-behavior: contain; }
.reader.is-full .rd-stage { max-height: none; height: calc(100vh - 61px); }
.rd-pages { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rd-page { position: relative; background: #fff; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .8); width: min(100%, calc(800px * var(--z, 1))); }
.rd-page canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.rd-page .rd-load { position: absolute; inset: 0; display: grid; place-items: center; color: #8a8fa3; font-size: 14px; background: #f1f3fa; }
.rd-shield { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; background: rgba(10, 14, 31, .97); color: #fff; }
.rd-shield small { color: var(--dim); }
.reader.rd-away .rd-pages { filter: blur(18px) saturate(.4); transition: filter .25s; }
.reader.rd-away .rd-stage::after { content: attr(data-hint); position: sticky; bottom: 45%; display: block; margin: -40vh auto 0; width: max-content; max-width: 90%; padding: 12px 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 15px; z-index: 3; }
.rd-lensmask { position: absolute; inset-inline: 0; z-index: 6; pointer-events: none; -webkit-backdrop-filter: blur(10px) saturate(.5); backdrop-filter: blur(10px) saturate(.5); background: rgba(10, 14, 31, .35); }
.rd-bandbox { position: absolute; inset-inline: 0; z-index: 7; pointer-events: none; }
.rd-band { position: absolute; inset-inline: 0; top: 32%; height: 36%; border-block: 1px solid rgba(143, 164, 255, .7); }
.rd-lens .rd-pages { padding-block: 30%; }
.print-block { display: none; }
@media print {
  body.has-reader > *:not(.print-block) { display: none !important; }
  body.has-reader .print-block { display: block !important; padding: 40px; font: 20px/1.6 sans-serif; }
  .hdr, .ftr, .wa-fab, .cform, .secdots { display: none !important; }
}

/* ---------- motion (enabled by motion.js only) ---------- */
.motion main { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .14em .02em .2em; margin: -.14em -.02em -.2em; }
.w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform 1s cubic-bezier(.16, 1, .3, 1) calc(var(--wi) * 55ms + 80ms); }
.motion .is-in .w > i, .motion .w-split.is-in .w > i { transform: none; }
html:not(.motion) .w > i { transform: none; }
.motion .stagger > * { opacity: 0; transform: translateX(14px); transition: opacity .7s, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--li) * 80ms + 160ms); }
.motion .is-in .stagger > *, .motion .stagger.is-in > * { opacity: 1; transform: none; }
.cwrap { display: block; position: relative; overflow: hidden; height: 100%; }
.motion .cwrap::after { content: ''; position: absolute; inset: 0; z-index: 2; background: var(--blue); transform-origin: left; transition: transform 1.1s cubic-bezier(.77, 0, .18, 1) .1s; pointer-events: none; }
.motion .cwrap.is-in::after { transform: scaleX(0); }
.motion .hero-img { animation: heroIn 1.3s cubic-bezier(.16, 1, .3, 1) .15s both; }
.motion .hero-disc { animation: discIn 1.6s cubic-bezier(.16, 1, .3, 1) both; }
.motion .calli--hero { animation: calliIn 2.2s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px); } }
@keyframes discIn { from { opacity: 0; transform: translateY(30%) scale(.85); } }
@keyframes calliIn { from { opacity: 0; transform: translateX(-50%) scale(1.04); } }
.secdots { display: none; }
@media (min-width: 1360px) {
  .secdots { position: fixed; z-index: 40; top: 50%; inset-inline-end: 22px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; }
  .secdots a { position: relative; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; }
  .secdots span { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--blue); transition: background .3s, transform .3s; }
  .secdots a.is-on span { background: var(--blue); transform: scale(1.35); }
  .secdots b { position: absolute; inset-inline-end: 28px; white-space: nowrap; font-size: 12.5px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .secdots a:hover b { opacity: 1; }
  .secdots.on-dark span { border-color: #fff; }
  .secdots.on-dark a.is-on span { background: #fff; }
}

/* ---------- responsive (1280 / 768 / 375) ---------- */
@media (max-width: 1200px) {
  .hero-in { padding: 0 36px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc--big { grid-row: span 2; }
  .agrid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  :root { --gut: 28px; --hdr: 74px; }
  .nav { display: none; }
  .burger { display: grid; }
  .hdr-in { padding: 12px 24px; }
  /* hero (tablet/phone): the portrait fills the top of the card as a backdrop, the copy + call buttons sit over it on a blue fade */
  .hero-in { flex-direction: column; align-items: stretch; padding: 0 32px 32px; gap: 0; }
  .hero-copy, .hero-act { position: relative; z-index: 2; }
  .hero-copy { order: 1; padding: 470px 0 0; gap: 14px; flex-basis: auto; align-self: stretch; }
  .hero-eb { align-self: flex-start; padding: 3px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; }
  .hero-h { font-size: clamp(38px, 7vw, 52px); line-height: 1.25; }
  .hero-p { max-width: 520px; font-size: 16.5px; }
  .hero-act { order: 2; padding: 24px 0 0; gap: 10px; flex-basis: auto; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-act .pill--xl { min-height: 58px; padding: 0 20px; font-size: 16.5px; }
  .hero-br { grid-column: 1 / -1; margin-top: 6px; border-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-br li + li { border-top: 0; }
  .hero-br a { flex-direction: column; justify-content: center; gap: 0; height: 100%; padding: 10px 16px; border-radius: 20px; background: rgba(255, 255, 255, .1); line-height: 1.5; }
  .hero-br span { font-size: 13px; }
  .hero-art { position: absolute; top: 0; inset-inline: 0; height: 600px; padding: 28px 0 0; align-items: flex-start; z-index: 1; }
  .hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 61, 184, 0) 42%, rgba(31, 61, 184, .85) 74%, var(--blue) 90%); pointer-events: none; }
  .hero-img { width: 100%; max-width: 500px; }
  .hero-disc { top: 70px; bottom: auto; width: min(80%, 460px); transform: none;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 62%); mask-image: linear-gradient(180deg, #000 35%, transparent 62%); }
  .calli--hero { display: none; }
  .motion .calli--hero { animation: none; }
  .about-in { padding-block: 64px; gap: 40px; }
  .about-fig { min-height: 520px; flex-basis: 100%; }
  .why-in { padding-block: 72px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-grid { grid-template-columns: 1fr; }
  .br-tels { text-align: right; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .steps::before { display: none; }
  .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-in { padding-block: 72px; }
  .svcp { grid-template-columns: 1fr; gap: 40px; }
  .svcp-side { position: static; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding-block: 80px; }
  .practice { padding-block: 88px; }
  .wa-fab { display: grid; }
  /* gallery → horizontal swipe row */
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .gal::-webkit-scrollbar { display: none; }
  .gal-i, .gal-i--big { flex: 0 0 min(72vw, 340px); height: 400px; scroll-snap-align: center; }
  .gal-i--big { flex-basis: min(84vw, 420px); }
}
@media (max-width: 640px) {
  :root { --gut: 20px; --side: 10px; --r-sec: 28px; --r-card: 24px; }
  body { font-size: 16px; }
  .hdr-in { padding: 10px 16px; }
  .brand img { width: 46px; height: 46px; }
  .brand-n { font-size: 19px; }
  .hero-in { padding: 0 20px 22px; }
  .hero-copy { padding-top: 330px; gap: 10px; }
  .hero-h { font-size: 36px; }
  .hero-p { font-size: 15px; line-height: 1.8; }
  .hero-act { padding-top: 20px; }
  .hero-act .pill { grid-column: 1 / -1; }
  .hero-art { height: 430px; padding-top: 18px; }
  .hero-img { max-width: 340px; }
  .hero-disc { top: 46px; width: 82%; }
  /* keyword band → one swipeable line */
  .band { padding: 22px 0; }
  .band-in { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 0 20px; font-size: 20px; gap: 16px; scrollbar-width: none; white-space: nowrap;
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 20px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(to left, transparent 0, #000 20px, #000 calc(100% - 40px), transparent 100%); }
  .band-in::-webkit-scrollbar { display: none; }
  .band .dot { width: 8px; height: 8px; flex-shrink: 0; }
  .facts { padding: 6px 20px; }
  .facts > div { flex-wrap: wrap; gap: 4px 12px; }
  .about-fig { min-height: 440px; }
  .about-fig figcaption { inset-inline: 12px; bottom: 12px; }
  .svc-grid, .why-grid, .agrid, .agrid--home, .others { grid-template-columns: 1fr; }
  .svc--big, .ac--feat, .ask { grid-column: auto; grid-row: auto; }
  .svc--big, .ac--feat { padding: 30px 24px; }
  /* compact horizontal cards: icon · title + line · outlined number */
  .svc-grid { grid-auto-rows: auto; gap: 10px; }
  .why-grid { gap: 10px; }
  .svc:not(.svc--big), .why-c { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ic h num" "ic p num"; align-items: center; gap: 2px 14px; padding: 18px 18px 18px 20px; min-height: 0; }
  .svc:not(.svc--big) .svc-row, .why-c .svc-row { display: contents; }
  .svc:not(.svc--big) .svc-ic, .why-c .svc-ic { grid-area: ic; width: 48px; height: 48px; }
  .svc:not(.svc--big) .onum, .why-c .onum { grid-area: num; font-size: 26px; align-self: start; }
  .svc:not(.svc--big) .svc-h, .why-c h3 { grid-area: h; margin: 0; font-size: 18.5px; line-height: 1.45; }
  .svc:not(.svc--big) > p, .svc-cta, .why-c p { grid-area: p; font-size: 14px; line-height: 1.7; }
  .svc-cta svg { width: 18px; height: 18px; }
  .h2--l { font-size: 30px; }
  .calli--head { display: none; }
  .br-btns .pill { flex: 1 1 100%; }
  .ftr-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  /* steps → vertical timeline */
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 76px 1fr; grid-template-areas: "c h" "c p"; text-align: start; align-items: start; gap: 2px 16px; padding: 0 0 26px; }
  .steps li::before { content: ''; position: absolute; top: 76px; bottom: 0; right: 37px; border-right: 2px dashed var(--blue); opacity: .4; }
  .steps li.is-last::before { display: none; }
  .st-c { grid-area: c; width: 76px; height: 76px; }
  .st-c svg { width: 22px; height: 22px; }
  .st-c b { font-size: 12px; }
  .steps h3 { grid-area: h; margin-top: 10px; font-size: 19px; }
  .steps p { grid-area: p; font-size: 14.5px; max-width: none; }
  .ac { min-height: 0; }
  .ac-hook { font-size: 140px; }
  .why-c { padding: 24px; }
  .calli--why { width: 420px; }
  .branches .wrap { padding-inline: 10px; }
  .branches .sh { padding-inline: 10px; }
  .br { padding: 12px 12px 28px; }
  .br-b { padding: 0 12px; }
  .br-tels a { font-size: 26px; }
  .proc { padding: 64px 20px 0; gap: 40px; }
  .proc-strip { margin: 0 -20px; padding: 24px 20px; }
  .proc-strip p { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .wrap--wide { padding-inline: 10px; }
  .faq-i { padding: 0 18px; }
  .faq-i summary { gap: 12px; }
  .faq-i h3 { font-size: 17px; }
  .onum--faq { font-size: 24px; flex-basis: 32px; }
  .faq-i p { padding: 0 0 20px; }
  .cform { grid-template-columns: 1fr; padding: 24px 20px; }
  .contact-in { gap: 36px; padding-block: 56px; }
  .ftr-in { padding: 56px 20px 96px; }
  .lb { padding: 64px 12px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .phead { padding: 48px 0 56px; }
  .sec { padding-block: 64px; }
  .sec--tight { padding-block: 48px; }
  .faq { padding-block: 24px 72px; }
}
