/* ==========================================================================
   إرتواء الندى — Public website blocks
   (landing, services, order, about, auth)
   ========================================================================== */

/* ----------------------------------------------------------------- 1. Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #001E40 0%, #002B52 46%, #003366 100%);
  color: #fff;
  padding-block: 84px 92px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  inset-inline-end: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 206, 209, .26), transparent 66%);
}
.hero::after {
  inset-inline-start: -140px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 102, 204, .34), transparent 68%);
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  background: rgba(0, 206, 209, .14);
  border: 1px solid rgba(0, 206, 209, .4);
  color: var(--cyan-500);
  font-size: 12.5px;
  font-weight: 700;
}
.hero-eyebrow svg { width: 15px; height: 15px; }

.hero h1 {
  margin-top: 20px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--cyan-500); }

.hero-lead {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .78);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero-trust {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-trust .n {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--cyan-500);
}
.hero-trust .l { font-size: 12.5px; color: rgba(255, 255, 255, .68); margin-top: 2px; }

/* Hero side panel: the three services at a glance */
.hero-panel {
  padding: 12px;
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
}
.hero-svc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r-lg);
  transition: background .18s var(--ease);
}
.hero-svc + .hero-svc { border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-svc:hover { background: rgba(255, 255, 255, .07); }
.hero-svc .ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: var(--r-md);
  background: rgba(0, 206, 209, .16);
  color: var(--cyan-500);
}
.hero-svc .ico svg { width: 24px; height: 24px; }
.hero-svc .t { font-size: 15px; font-weight: 700; }
.hero-svc .d { font-size: 12.5px; color: rgba(255, 255, 255, .66); margin-top: 3px; line-height: 1.7; }
.hero-svc .go { color: var(--cyan-500); flex: none; }
.hero-svc .go svg { width: 18px; height: 18px; }

/* ------------------------------------------------------- 2. Section heads */
.section { padding-block: 78px; }
.section.is-alt { background: var(--surface); border-block: 1px solid var(--border); }

.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cyan-600);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--navy-900);
}
.section-head p { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--text-2); }

/* -------------------------------------------------------- 3. Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.svc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-400); }

.svc-media { position: relative; height: 186px; overflow: hidden; background: var(--navy-900); }
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 64, .68), rgba(0, 30, 64, .08));
}
.svc-media .ico {
  position: absolute;
  z-index: 1;
  inset-inline-start: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--cyan-500);
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(0, 30, 64, .35);
}
.svc-media .ico svg { width: 26px; height: 26px; }
.svc-media .tag {
  position: absolute;
  z-index: 1;
  inset-inline-end: 16px;
  top: 16px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy-700);
}

.svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.svc-body h3 { font-size: 19px; font-weight: 700; color: var(--navy-900); line-height: 1.4; }
.svc-body > p { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--text-2); }

.svc-features { margin-top: 18px; }
.svc-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
}
.svc-features li + li { margin-top: 9px; }
.svc-features svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--cyan-600); }

.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
}
.svc-price { font-size: 12.5px; color: var(--text-3); }
.svc-price strong {
  display: block;
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
}
.svc-price strong .u { font-family: var(--font-ar); font-size: 12px; font-weight: 600; color: var(--text-2); }

/* Wide service row (services page) */
.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
.svc-row + .svc-row { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border); }
.svc-row.is-flip .svc-row-media { order: 2; }

.svc-row-media {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.svc-row-media img { width: 100%; height: 340px; object-fit: cover; }
/* Sits on the inline-end so it never lands on a logo baked into the photo */
.svc-row-media .badge {
  position: absolute;
  inset-inline-end: 20px;
  top: 20px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy-700);
}

.svc-row h3 { font-size: 30px; font-weight: 700; color: var(--navy-900); line-height: 1.35; letter-spacing: -.015em; }
.svc-row > div > p { margin-top: 16px; font-size: 15px; line-height: 1.95; color: var(--text-2); }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.spec {
  padding: 16px 18px;
  background: var(--surface-2);
  border-radius: var(--r-md);
}
.spec .k { font-size: 12px; color: var(--text-3); }
.spec .v { font-size: 14.5px; font-weight: 700; color: var(--navy-900); margin-top: 3px; }

/* ------------------------------------------------------------- 4. Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.step .n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 800;
}
.step h4 { margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--navy-900); }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--text-2); }

/* -------------------------------------------------------- 5. Levels ribbon */
.levels-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.level-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.level-tile:hover { border-color: var(--cyan-500); background: #F7FDFD; }
.level-tile .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--cyan-050);
  color: var(--blue-600);
}
.level-tile .ico svg { width: 21px; height: 21px; }
.level-tile .t { font-size: 14px; font-weight: 700; color: var(--navy-900); }
.level-tile .s { font-size: 11.5px; color: var(--text-3); }

/* ------------------------------------------------------------ 6. CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border-radius: var(--r-2xl);
  background: linear-gradient(120deg, #001E40, #003366);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset-inline-end: -90px;
  top: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 206, 209, .3), transparent 68%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: 30px; font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.cta-band p { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .76); max-width: 54ch; line-height: 1.85; }

/* ----------------------------------------------------------------- 7. FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item[open] summary { color: var(--blue-600); }
.faq-item .answer {
  padding: 0 24px 22px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-2);
}

/* ------------------------------------------------------- 8. Page sub-hero */
.page-hero {
  background: linear-gradient(180deg, #EAF4FB 0%, var(--bg) 100%);
  padding-block: 64px 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero .crumbs { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.page-hero .crumbs a:hover { color: var(--blue-600); }
.page-hero .crumbs svg { width: 14px; height: 14px; }
.page-hero h1 {
  margin-top: 16px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--navy-900);
}
.page-hero p { margin-top: 14px; max-width: 66ch; font-size: 15.5px; line-height: 1.9; color: var(--text-2); }

/* --------------------------------------------------------- 9. Order form */
.svc-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-option { position: relative; }
.svc-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.svc-option .box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.svc-option .box:hover { border-color: var(--blue-400); }
.svc-option input:checked + .box {
  border-color: var(--cyan-500);
  background: #F5FDFD;
  box-shadow: 0 8px 22px rgba(0, 206, 209, .16);
}
.svc-option input:focus-visible + .box { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.svc-option .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--navy-700);
}
.svc-option input:checked + .box .ico { background: var(--cyan-500); color: var(--navy-900); }
.svc-option .ico svg { width: 22px; height: 22px; }
.svc-option .t { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.svc-option .d { font-size: 12.5px; line-height: 1.75; color: var(--text-3); }

.summary-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 26px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-navy);
}
.summary-card h3 { font-size: 18px; font-weight: 700; }
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 13px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .74);
}
.summary-row + .summary-row { border-top: 1px solid rgba(255, 255, 255, .12); }
.summary-row .v { font-weight: 700; color: #fff; text-align: end; }

/* ---------------------------------------------------------------- 10. Auth */
.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--header-h));
}
.auth-form { display: grid; place-items: center; padding: 56px 24px; }
.auth-form-inner { width: 100%; max-width: 430px; }
.auth-form h1 { font-size: 30px; font-weight: 700; color: var(--navy-900); letter-spacing: -.015em; }
.auth-form > .auth-form-inner > p { margin-top: 10px; font-size: 14px; color: var(--text-2); }

.auth-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px;
  background: var(--navy-900);
  color: #fff;
}
.auth-aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.auth-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 64, .95) 10%, rgba(0, 30, 64, .55) 70%, rgba(0, 51, 102, .4));
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h2 { font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
.auth-aside p { margin-top: 14px; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .78); max-width: 44ch; }

.auth-roles { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.auth-roles span {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
  font-weight: 600;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 26px;
  font-size: 12.5px;
  color: var(--text-3);
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ------------------------------------------------------------ 11. Coverage */
.coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coverage-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.coverage-card svg { width: 20px; height: 20px; flex: none; color: var(--cyan-600); }
.coverage-card .t { font-size: 14.5px; font-weight: 700; color: var(--navy-900); }
.coverage-card .s { font-size: 12px; color: var(--text-3); }

/* ------------------------------------------------------------ 11. Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--blue-400); }
.article-card-media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--surface-2); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-card-media img { transform: scale(1.04); }
/* No cover image: the logo sits whole on a tinted panel instead of being cropped */
.article-card-media.is-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-tint), var(--blue-050)); }
.article-card-media.is-placeholder img { width: 46%; height: 70%; object-fit: contain; }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.article-card-title { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--navy-900); }
.article-card-title a { transition: color .16s var(--ease); }
.article-card-title a:hover { color: var(--blue-600); }
.article-card-excerpt { margin-top: 10px; font-size: 13.5px; line-height: 1.9; color: var(--text-2); }
.article-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-600);
}
.article-card-more svg { width: 16px; height: 16px; }

/* Latest article on page one: image beside the text */
.article-card.is-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.article-card.is-featured .article-card-media { aspect-ratio: auto; min-height: 320px; }
.article-card.is-featured .article-card-body { justify-content: center; padding: 36px 40px; }
.article-card.is-featured .article-card-title { font-size: 28px; line-height: 1.4; }
.article-card.is-featured .article-card-excerpt { font-size: 15px; }
.article-card.is-featured .article-card-more { margin-top: 0; padding-top: 22px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 12.5px;
  color: var(--text-3);
}
.article-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 15px; height: 15px; flex: none; }

.article-hero h1 { max-width: 30ch; font-size: 38px; }
.page-hero .article-meta { margin-top: 22px; max-width: none; font-size: 13px; line-height: 1.6; color: var(--text-3); }

.article-preview-bar {
  padding-block: 10px;
  border-bottom: 1px solid #FDE68A;
  background: var(--amber-050);
  font-size: 13.5px;
  color: #92400E;
}

.article-section { padding-block: 56px 72px; }
.article-layout { max-width: 780px; margin-inline: auto; }
.article-layout.has-toc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: start;
  max-width: none;
}
.article-layout.has-toc .article-main { grid-column: 1; grid-row: 1; max-width: 780px; }
.article-layout.has-toc .article-toc  { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 20px); }

.article-toc { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.article-toc-title { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--navy-900); }
.article-toc ol { counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 13.5px; line-height: 1.6; color: var(--text-2); transition: color .16s var(--ease); }
.article-toc a::before { content: counter(toc); min-width: 14px; font-family: var(--font-en); font-weight: 700; color: var(--cyan-600); }
.article-toc a:hover { color: var(--blue-600); }

.article-cover { aspect-ratio: 1200 / 630; margin-bottom: 34px; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Article body */
.prose { font-size: 16.5px; line-height: 2; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy-900);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h3 { margin-top: 1.6em; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--navy-800); }
.prose > :first-child { margin-top: 0; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { font-weight: 600; color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { color: var(--blue-700); }
.prose strong { font-weight: 700; color: var(--navy-900); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--cyan-600); }
.prose blockquote {
  margin: 0;
  padding: 18px 22px;
  border-inline-start: 4px solid var(--cyan-500);
  border-radius: var(--r-md);
  background: var(--bg-tint);
  font-weight: 500;
  color: var(--navy-700);
}
.prose figure { margin-block: 1.8em; }
.prose figure img { width: 100%; border-radius: var(--r-lg); }
.prose figcaption { margin-top: 10px; font-size: 13px; text-align: center; color: var(--text-3); }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-share .lbl { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: 6px; font-size: 14px; font-weight: 700; color: var(--navy-900); }
.article-share .lbl svg { width: 18px; height: 18px; color: var(--cyan-600); }

.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding-inline: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.pager a:hover { border-color: var(--blue-400); color: var(--blue-600); }
.pager a.is-active { border-color: var(--navy-700); background: var(--navy-700); color: #fff; }
.pager svg { width: 16px; height: 16px; }

/* --------------------------------------------------------- 12. Responsive */
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout.has-toc { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 780px; }
  .article-layout.has-toc .article-main,
  .article-layout.has-toc .article-toc { grid-column: auto; grid-row: auto; position: static; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 40px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svc-row.is-flip .svc-row-media { order: 0; }
  .auth { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth-aside { order: 2; padding: 40px 24px; min-height: 320px; }
  .coverage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero { padding-block: 52px 60px; }
  .hero h1 { font-size: 30px; }
  .hero-trust { gap: 26px; }
  .section { padding-block: 52px; }
  .section-head h2 { font-size: 26px; }
  .section-head { margin-bottom: 30px; }
  .svc-grid, .steps, .levels-grid, .svc-picker, .coverage-grid, .spec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cta-band { padding: 32px 24px; }
  .cta-band h2 { font-size: 23px; }
  .page-hero { padding-block: 40px 34px; }
  .page-hero h1 { font-size: 29px; }
  .svc-row-media img { height: 240px; }
  .summary-card { position: static; }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card.is-featured { grid-template-columns: minmax(0, 1fr); }
  .article-card.is-featured .article-card-media { aspect-ratio: 1200 / 630; min-height: 0; }
  .article-card.is-featured .article-card-body { padding: 22px 24px 24px; }
  .article-card.is-featured .article-card-title { font-size: 21px; }
  .article-hero h1 { font-size: 27px; }
  .article-section { padding-block: 36px 52px; }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 21px; }
  .prose h3 { font-size: 18px; }
}
