/* ==========================================================================
   بوابة الأزهر الإلكترونية — مجمع البحوث الإسلامية
   Design system derived from home-page.pdf (Clicks Technology, Draft 01)
   ========================================================================== */

/* ---------- Fonts: Thmanyah Serif Display (client-supplied) ---------- */
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah-light.woff2") format("woff2");   font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah-medium.woff2") format("woff2");  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah-bold.woff2") format("woff2");    font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Serif Display"; src: url("../fonts/thmanyah-black.woff2") format("woff2");   font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (sampled from the approved design) */
  --gold:        #97703b;
  --gold-600:    #7f5d30;
  --gold-700:    #6a4d27;
  --gold-100:    #efe6d8;
  --gold-50:     #f7f1e8;
  --olive:       #87764e;
  --brown:       #70604c;
  --brown-900:   #55493b;
  --cream:       #faf8f4;
  --cream-2:     #f5f1ea;
  --page:        #fbfaf8;
  --ink:         #2b2621;
  --ink-2:       #545454;
  --ink-3:       #7a746c;
  --line:        #e6dfd3;
  --line-2:      #d9d1c4;
  --white:       #ffffff;
  --success:     #2e7d4f;
  --danger:      #b3261e;

  /* Type */
  --font-display: "Thmanyah Serif Display", "Noto Naskh Arabic", "Amiri", serif;
  --font-body:    "Thmanyah Serif Display", "Noto Naskh Arabic", serif;
  --fs-xs: .8125rem;  /* 13 */
  --fs-sm: .9375rem;  /* 15 */
  --fs-md: 1.0625rem; /* 17 */
  --fs-lg: 1.25rem;   /* 20 */
  --fs-xl: 1.625rem;  /* 26 */
  --fs-2xl: clamp(1.9rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-3xl: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem);
  --fs-hero: clamp(2.6rem, 1.4rem + 3.6vw, 4.8rem);

  /* Space (density 4/10 – marketing) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem;  --s-7: 3rem;  --s-8: 4rem;   --s-9: 6rem;  --s-10: 8rem;

  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(43,38,33,.06), 0 1px 1px rgba(43,38,33,.04);
  --shadow:    0 6px 18px -6px rgba(43,38,33,.16), 0 2px 6px rgba(43,38,33,.06);
  --shadow-lg: 0 24px 48px -20px rgba(43,38,33,.28);
  --container: 1320px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: 160ms; --t: 260ms;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.25; margin: 0; font-weight: 700; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 120px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; inset-inline-start: 1rem; top:-4rem; background: var(--gold); color:#fff; padding:.6rem 1rem; border-radius: var(--radius-sm); z-index: 1000; }
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .6rem 1.4rem; border-radius: var(--radius-sm);
  font-weight: 700; font-size: var(--fs-md); line-height: 1.2; border: 1.5px solid transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t) var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-600) 100%); color: #fff; box-shadow: 0 8px 18px -8px rgba(151,112,59,.6); }
.btn--primary:hover { background: linear-gradient(135deg, var(--gold-600), var(--gold-700)); box-shadow: 0 10px 22px -8px rgba(151,112,59,.7); }
.btn--outline { background: transparent; color: var(--gold-700); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold-50); }
.btn--ghost { color: var(--gold-700); padding-inline: .5rem; }
.btn--ghost:hover { background: var(--gold-50); }
.btn--light { background: #fff; color: var(--gold-700); border-color: #fff; }
.btn--light:hover { background: var(--cream); }
.btn--sm { min-height: 40px; padding: .4rem 1rem; font-size: var(--fs-sm); }
.btn--pill { border-radius: var(--radius-pill); }
.btn--block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }

.link-more { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-700); font-weight: 700; transition: gap var(--t) var(--ease); }
.link-more:hover { gap: .8rem; text-decoration: underline; text-underline-offset: .3em; }

/* ---------- Top bar ---------- */
.topbar { background: #eee9e1; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; flex-wrap: wrap; }
.topbar__date { display: flex; gap: .75rem; align-items: center; }
.topbar__date .sep { color: var(--line-2); }
.topbar__links { display: flex; align-items: center; gap: .25rem; }
.topbar__links a { min-height: 40px; padding: .35rem .6rem; border-radius: 6px; transition: background var(--t-fast); display: inline-flex; align-items: center; gap: .4rem; }
.topbar__links a:hover { background: rgba(151,112,59,.08); color: var(--gold-700); }
.topbar__links .sep { color: var(--line-2); }
.topbar__lang { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .01em; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(247,243,236,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: var(--s-6); min-height: 96px; }
.brand { display: flex; align-items: center; gap: var(--s-4); padding-inline-end: var(--s-5); border-inline-end: 1px solid var(--line-2); }
.brand__logo { width: 42px; height: auto; flex: none; }
.brand__title { font-size: 1.45rem; font-weight: 900; color: var(--gold-700); line-height: 1.15; letter-spacing: -.01em; }
.brand__tag  { font-size: .95rem; color: var(--ink-2); font-weight: 500; }
.nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .9rem; border-radius: 8px;
  font-weight: 700; font-size: 1.1rem; color: var(--ink); position: relative; transition: color var(--t-fast), background var(--t-fast);
}
.nav > li > a::after { content:""; position:absolute; inset-inline: .9rem; bottom: .25rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease); border-radius: 2px; }
.nav > li > a:hover::after, .nav > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav > li > a:hover, .nav > li > button:hover { color: var(--gold-700); }
.nav > li > a[aria-current="page"], .nav > li > button.is-current { color: var(--gold-700); }
.nav__dd { position: absolute; inset-inline-start: 0; top: calc(100% + .5rem); min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
.nav > li:hover .nav__dd, .nav > li:focus-within .nav__dd, .nav > li.is-open .nav__dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__dd a { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 8px; font-weight: 500; }
.nav__dd a:hover { background: var(--gold-50); color: var(--gold-700); }
.nav__dd a .icon { color: var(--gold); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 10px; align-items: center; justify-content: center; margin-inline-start: auto; color: var(--ink); }
.nav-toggle:hover { background: var(--gold-50); }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(43,38,33,.45); opacity: 0; transition: opacity var(--t); }
.drawer__panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 360px); background: var(--cream); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform var(--t) var(--ease); overflow-y: auto; padding: 1rem 1rem 2rem; }
[dir="ltr"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.drawer__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.drawer__close:hover { background: var(--gold-50); }
.drawer__nav a { display: flex; align-items: center; gap: .7rem; padding: .8rem .6rem; border-radius: 10px; font-weight: 700; font-size: 1.1rem; }
.drawer__nav a:hover, .drawer__nav a[aria-current="page"] { background: var(--gold-50); color: var(--gold-700); }
.drawer__nav a .icon { color: var(--gold); }
.drawer__group { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-3); }
.drawer__group a { font-size: 1rem; font-weight: 500; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: #f9f6f1; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: left bottom; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center; gap: var(--s-6); min-height: clamp(560px, 44vw, 800px); padding-block: var(--s-7) var(--s-9); }
.hero__copy { max-width: none; }
.hero__kicker { font-size: var(--fs-xl); font-weight: 500; color: var(--gold-700); margin-bottom: var(--s-3); }
.hero__title { font-size: var(--fs-hero); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); margin-bottom: var(--s-4); }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: var(--fs-lg); color: var(--ink-2); max-width: 54ch; margin-bottom: var(--s-6); }
.hero__art { display: none; }

/* Search bar */
.search { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow); padding: .35rem; gap: .25rem; max-width: 620px; }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .5rem 1.1rem; font-size: var(--fs-md); }
.search__input::placeholder { color: var(--ink-3); }
.search__select { position: relative; display: flex; align-items: center; border-inline-start: 1px solid var(--line); }
.search__select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: .5rem 2rem .5rem 1rem; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.search__select .icon { position: absolute; inset-inline-end: .6rem; pointer-events: none; color: var(--ink-3); width: 1rem; height: 1rem; }
.search__btn { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; flex: none; transition: background var(--t-fast), transform var(--t-fast); }
.search__btn:hover { background: var(--gold-600); }
.search__btn:active { transform: scale(.97); }
.search__btn .icon { width: 22px; height: 22px; }
.search-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-2); }
.search-tags strong { color: var(--ink); }
.search-tags a { padding: .15rem .4rem; border-radius: 6px; transition: background var(--t-fast), color var(--t-fast); }
.search-tags a:hover { background: var(--gold-50); color: var(--gold-700); }
.search-tags .sep { color: var(--line-2); }

/* ---------- Quick actions ---------- */
.quick { position: relative; margin-top: -3.25rem; z-index: 2; }
.quick__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
.qcard {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1rem 1.15rem;
  box-shadow: var(--shadow-sm); position: relative; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-100); }
.qcard__icon { width: 48px; height: 48px; display: grid; place-items: center; }
.qcard__icon img, .qcard__icon svg { width: 44px; height: 44px; object-fit: contain; }
.qcard__title { font-size: 1.45rem; font-weight: 900; color: var(--ink); line-height: 1.2; }
.qcard__sub { font-size: var(--fs-sm); color: var(--ink-2); }
.qcard:hover, .qcard:focus-visible { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-600) 100%); color: #fff; border-color: transparent; box-shadow: 0 16px 30px -14px rgba(151,112,59,.75); }
.qcard:hover .qcard__title, .qcard:hover .qcard__sub, .qcard:focus-visible .qcard__title, .qcard:focus-visible .qcard__sub { color: #fff; }
.qcard:hover .qcard__icon img, .qcard:focus-visible .qcard__icon img { filter: brightness(0) invert(1); }
.qcard__arrow { position: absolute; inset-inline-start: .9rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity var(--t) var(--ease), background var(--t-fast); }
.qcard:hover .qcard__arrow, .qcard:focus-visible .qcard__arrow { opacity: 1; }
.qcard__icon img { transition: filter var(--t) var(--ease); }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--alt { background: var(--cream-2); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.section__title { font-size: var(--fs-2xl); font-weight: 900; display: flex; align-items: center; gap: var(--s-4); line-height: 1.2; }
.section__title::after { content: ""; width: 56px; height: 2px; background: var(--ink-2); flex: none; }
.section__title--nodash::after { display: none; }
.section__sub { color: var(--ink-2); font-size: var(--fs-lg); max-width: 60ch; margin-top: .5rem; }

/* Geometric decoration (replaces the empty pattern.svg) */
.geo { position: relative; overflow: clip; }
.geo::before, .geo::after { content: ""; position: absolute; width: 220px; height: 420px; background: url("../img/geo-pattern.svg") repeat; background-size: 110px; opacity: .5; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%); }
.geo::before { inset-inline-end: -40px; top: -40px; }
.geo::after  { inset-inline-start: -40px; top: 40px; }

/* ---------- Fatwa banner ---------- */
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: grid; place-items: center; text-align: center; padding: var(--s-8) var(--s-5); isolation: isolate; box-shadow: var(--shadow-lg); }
.banner__bg { position: absolute; inset: 0; z-index: -2; }
.banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 50%, rgba(250,248,244,.94) 0%, rgba(250,248,244,.86) 45%, rgba(250,248,244,.35) 100%); }
.banner__inner { max-width: 640px; }
.banner__title { font-size: var(--fs-3xl); font-weight: 900; color: var(--gold-700); margin-bottom: var(--s-3); }
.banner__tag { font-size: var(--fs-xl); font-weight: 700; color: var(--ink); margin-bottom: var(--s-3); }
.banner__text { color: var(--ink-2); font-size: var(--fs-md); margin-bottom: var(--s-5); }
.banner__cta { display: flex; justify-content: center; gap: var(--s-3); flex-wrap: wrap; margin-bottom: var(--s-6); }
.stats-inline { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.stats-inline > li { display: flex; align-items: center; gap: .8rem; padding: .25rem 1.5rem; border-inline-start: 1px solid var(--line-2); }
.stats-inline > li:first-child { border-inline-start: 0; }
.stats-inline img { width: 38px; height: 38px; }
.stats-inline .num { font-size: 1.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
.stats-inline .lbl { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- Section cards (home) ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.scard { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard__media { aspect-ratio: 16/9; overflow: hidden; background: var(--gold-100); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.scard:hover .scard__media img { transform: scale(1.04); }
.scard__body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 1.35rem; }
.scard__title { font-size: 1.5rem; font-weight: 900; line-height: 1.2; }
.scard__sub { color: var(--ink-2); font-size: var(--fs-sm); margin-top: .15rem; }
.circle-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; flex: none; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.scard:hover .circle-btn, .circle-btn:hover { background: var(--gold); color: #fff; }
.circle-btn--outline { background: transparent; border: 1.5px solid var(--gold); }

/* ---------- News + Library promo ---------- */
.news-layout { display: grid; grid-template-columns: 1fr 2.2fr; gap: var(--s-5); align-items: stretch; }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; padding: var(--s-6) var(--s-5); color: #fff; isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,38,33,.15) 0%, rgba(43,38,33,.25) 45%, rgba(43,38,33,.82) 100%); }
.promo__title { font-size: var(--fs-2xl); font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.promo__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.promo__foot p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
.promo__foot strong { display: block; font-size: 1.25rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.ncard { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--gold-100); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__badge { position: absolute; top: .75rem; inset-inline-end: .75rem; background: rgba(250,248,244,.94); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; padding: .3rem .7rem; border-radius: var(--radius-pill); }
.ncard__body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.ncard__date { font-size: var(--fs-xs); color: var(--ink-3); }
.ncard__title { font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.ncard__title a:hover { color: var(--gold-700); }
.ncard__text { font-size: var(--fs-sm); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__more { margin-top: auto; font-size: var(--fs-sm); }
.carousel-nav { display: flex; align-items: center; gap: .5rem; }
.carousel-nav .circle-btn { width: 40px; height: 40px; }

/* ---------- Stats strip ---------- */
.stats-section { position: relative; overflow: hidden; text-align: center; }
.stats-section__bg { position: absolute; inset: 0; z-index: 0; background: url("../img/bg-skyline.webp") center bottom / cover no-repeat; opacity: .9; }
.stats-section .container { position: relative; z-index: 1; }
.stats-section__title { font-size: var(--fs-2xl); font-weight: 900; margin-bottom: var(--s-7); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats > li { padding: 1rem 1rem 1.25rem; border-inline-start: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.stats > li:first-child { border-inline-start: 0; }
.stats img { width: 50px; height: 50px; object-fit: contain; }
.stats .num { font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--ink); }
.stats .lbl { color: var(--ink-2); font-size: var(--fs-md); }

/* ---------- Footer ---------- */
.footer { position: relative; color: #fff; background: var(--brown) url("../img/footer-pattern.webp") center / cover no-repeat; }
.footer__inner { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: var(--s-7); padding-block: var(--s-8); align-items: center; }
.footer__brand { text-align: center; }
.footer__brand img { width: 110px; margin-inline: auto; margin-bottom: var(--s-4); filter: brightness(0) invert(1); }
.footer__brand .t { font-size: 1.7rem; font-weight: 900; }
.footer__brand .s { font-size: 1.1rem; opacity: .9; }
.footer__mid { border-inline: 1px solid rgba(255,255,255,.18); padding-inline: var(--s-6); }
.footer__lead { font-size: 1.55rem; font-weight: 900; line-height: 1.3; margin-bottom: var(--s-4); }
.newsletter { display: flex; border: 1.5px solid rgba(255,255,255,.7); border-radius: var(--radius-sm); overflow: hidden; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: .7rem 1rem; color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,.75); }
.newsletter button { width: 58px; background: var(--gold); color: #fff; display: grid; place-items: center; transition: background var(--t-fast); }
.newsletter button:hover { background: var(--gold-600); }
.footer__follow { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.footer__follow .t { font-size: 1.6rem; font-weight: 900; }
.social { display: flex; gap: .35rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; transition: background var(--t-fast); }
.social a:hover { background: rgba(255,255,255,.14); }
.social .icon { width: 24px; height: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: var(--s-4); font-size: var(--fs-sm); }
.footer__links a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer__tag { font-size: 1.7rem; font-weight: 900; line-height: 1.35; text-align: start; }
.footer__bottom { background: var(--brown-900); font-size: var(--fs-xs); }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; flex-wrap: wrap; }
.footer__bottom a:hover { text-decoration: underline; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(43,38,33,.86) 0%, rgba(43,38,33,.62) 55%, rgba(43,38,33,.38) 100%); }
.page-hero__inner { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; padding-block: var(--s-7) var(--s-6); }
.page-hero__title { font-size: var(--fs-3xl); font-weight: 900; }
.page-hero__lead { font-size: var(--fs-lg); max-width: 60ch; opacity: .95; margin: 0; }
.page-hero--light { color: var(--ink); background: linear-gradient(180deg, #f7f3ec, #fbfaf8); }
.page-hero--light::before { display: none; }
.page-hero--light .page-hero__inner { min-height: 220px; }
.page-hero--light .page-hero__lead { color: var(--ink-2); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: var(--fs-sm); opacity: .9; }
.breadcrumb a { padding: .35rem .15rem; display: inline-block; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: .6; }
.page-hero--light .breadcrumb { color: var(--ink-2); }

/* ---------- Content layouts ---------- */
.prose { max-width: 72ch; font-size: var(--fs-md); }
.prose h2 { font-size: var(--fs-xl); margin: var(--s-6) 0 var(--s-3); color: var(--gold-700); }
.prose h3 { font-size: var(--fs-lg); margin: var(--s-5) 0 var(--s-2); }
.prose ul { list-style: disc; padding-inline-start: 1.4rem; margin-bottom: var(--s-4); }
.prose li { margin-bottom: .35rem; }
.prose blockquote { position: relative; margin: var(--s-5) 0; padding: var(--s-5) var(--s-6); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-lg); color: var(--gold-700); }
.prose blockquote::before { content: "\201D"; position: absolute; top: -.1em; inset-inline-start: .5rem; font-size: 4rem; line-height: 1; color: var(--gold-100); font-weight: 900; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.sidebar-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--s-7); align-items: start; }
.sidebar-layout--reverse { grid-template-columns: 340px 1fr; }
.sticky { position: sticky; top: 112px; }

.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); box-shadow: var(--shadow-sm); }
.card--hover { transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gold-50); color: var(--gold-700); display: grid; place-items: center; margin-bottom: var(--s-4); }
.card__icon .icon { width: 28px; height: 28px; }
.card__icon img { width: 32px; height: 32px; object-fit: contain; }
.card__title { font-size: 1.3rem; font-weight: 900; margin-bottom: .35rem; }
.card__text { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }
.card--brown { background: var(--brown); color: #fff; border-color: transparent; }
.card--brown .card__text { color: rgba(255,255,255,.85); }
.card--gold { background: linear-gradient(135deg, var(--gold), var(--gold-600)); color: #fff; border-color: transparent; }
.card--gold .card__text { color: rgba(255,255,255,.9); }

.step-list { counter-reset: step; display: grid; gap: var(--s-4); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: start; padding: var(--s-4); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { counter-increment: step; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 1.4rem; font-weight: 900; }
.step__num::before { content: counter(step, arabic-indic); }
.step__title { font-size: 1.2rem; font-weight: 900; margin-bottom: .2rem; }
.step__text { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }

/* Numbered badge (no counter) */
.num-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1rem; flex: none; }

/* Journey (horizontal steps, RTL flows right → left) */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-4); counter-reset: j; }
.journey > li { position: relative; text-align: center; padding: var(--s-4) var(--s-3); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
.journey > li::before { counter-increment: j; content: counter(j, arabic-indic); display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto var(--s-3); border-radius: 50%; background: var(--gold-100); color: var(--gold-700); font-weight: 900; font-size: 1.15rem; }
.journey > li strong { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.journey > li span { font-size: var(--fs-xs); color: var(--ink-2); }

/* Tabs / filters */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .35rem 1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line-2); background: #fff; font-weight: 700; font-size: var(--fs-sm); color: var(--ink-2); transition: all var(--t-fast); cursor: pointer; }
.chip:hover { border-color: var(--gold); color: var(--gold-700); }
.chip.is-active, .chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); overflow: hidden; }
.acc + .acc { margin-top: .75rem; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; font-weight: 700; font-size: 1.1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { color: var(--gold); transition: transform var(--t) var(--ease); }
.acc[open] summary .icon { transform: rotate(180deg); }
.acc__body { padding: 0 1.25rem 1.25rem; color: var(--ink-2); font-size: var(--fs-md); }
.acc__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: var(--fs-xs); color: var(--ink-3); margin-top: .75rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.field { display: grid; gap: .35rem; }
.field label, .field__label { font-weight: 700; font-size: var(--fs-sm); }
.field .req { color: var(--danger); margin-inline-start: .2rem; }
.field .hint { font-size: var(--fs-xs); color: var(--ink-3); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .6rem .9rem; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(151,112,59,.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: var(--fs-xs); }
.field.is-invalid .error { display: block; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--gold); flex: none; }
.radio-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-card { display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; background: #fff; font-weight: 700; font-size: var(--fs-sm); transition: all var(--t-fast); min-height: 48px; }
.radio-card input { accent-color: var(--gold); width: 18px; height: 18px; }
.radio-card:has(input:checked) { border-color: var(--gold); background: var(--gold-50); color: var(--gold-700); }
.file-drop { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: var(--s-5); text-align: center; color: var(--ink-2); background: #fff; font-size: var(--fs-sm); transition: border-color var(--t-fast), background var(--t-fast); cursor: pointer; }
.file-drop:hover, .file-drop.is-over { border-color: var(--gold); background: var(--gold-50); }
.file-drop input { display: none; }
.file-drop .icon { width: 32px; height: 32px; margin: 0 auto .5rem; color: var(--gold); }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); border: 1px solid; }
.alert .icon { flex: none; margin-top: .15rem; }
.alert--info { background: var(--gold-50); border-color: var(--gold-100); color: var(--gold-700); }
.alert--success { background: #edf7f0; border-color: #cfe8d8; color: var(--success); }
.alert--danger { background: #fdf0ef; border-color: #f3cfcc; color: var(--danger); }
.ref-box { text-align: center; padding: var(--s-6); background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ref-box .ref { font-size: 2.2rem; font-weight: 900; color: var(--gold-700); letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; font-family: var(--font-display); }
.status-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; counter-reset: st; margin-top: var(--s-5); }
.status-track > li { text-align: center; font-size: var(--fs-xs); color: var(--ink-3); position: relative; padding-top: 34px; }
.status-track > li::before { content: ""; position: absolute; top: 12px; inset-inline: 0; height: 2px; background: var(--line-2); }
.status-track > li::after { content: ""; position: absolute; top: 6px; inset-inline-start: 50%; transform: translateX(50%); width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.status-track > li.is-done { color: var(--ink); font-weight: 700; }
.status-track > li.is-done::before, .status-track > li.is-done::after { background: var(--gold); border-color: var(--gold); }
.status-track > li.is-current::after { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(151,112,59,.2); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid var(--line); }
.table th { background: var(--cream-2); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }

/* Book cards */
.book { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.book:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.book__cover { aspect-ratio: 3/4; border-radius: 8px; background: linear-gradient(160deg, var(--brown), var(--brown-900)); color: #fff; display: grid; place-items: center; text-align: center; padding: .6rem; font-size: var(--fs-xs); font-weight: 700; box-shadow: inset 0 0 0 2px rgba(151,112,59,.6), inset 0 0 0 4px rgba(255,255,255,.08); line-height: 1.4; }
.book__title { font-size: 1.1rem; font-weight: 900; line-height: 1.3; }
.book__meta { font-size: var(--fs-xs); color: var(--ink-3); margin: .25rem 0 .5rem; }
.book__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }

/* Person cards */
.person { text-align: center; }
.person__avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto var(--s-3); background: var(--gold-100); color: var(--gold-700); display: grid; place-items: center; font-size: 1.6rem; font-weight: 900; }
.person__name { font-size: 1.15rem; font-weight: 900; }
.person__role { font-size: var(--fs-sm); color: var(--ink-2); }

/* Timeline */
.timeline { position: relative; padding-inline-start: 2rem; }
.timeline::before { content: ""; position: absolute; inset-inline-start: .5rem; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.timeline > li { position: relative; padding-bottom: var(--s-5); }
.timeline > li::before { content: ""; position: absolute; inset-inline-start: -2rem; top: .45rem; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid var(--page); box-shadow: 0 0 0 2px var(--gold); }
.timeline .y { font-weight: 900; color: var(--gold-700); font-size: 1.2rem; }
.timeline p { margin: .2rem 0 0; color: var(--ink-2); font-size: var(--fs-sm); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .35rem; margin-top: var(--s-7); }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 700; background: #fff; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-700); }
.pagination .is-active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Contact info */
.info-list { display: grid; gap: 1rem; }
.info-list > li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-50); color: var(--gold-700); display: grid; place-items: center; flex: none; }
.info-list strong { display: block; }
.info-list span { color: var(--ink-2); font-size: var(--fs-sm); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); aspect-ratio: 16/9; display: grid; place-items: center; color: var(--ink-3); }

/* CTA band */
.cta-band { background: var(--brown) url("../img/footer-pattern.webp") center / cover no-repeat; color: #fff; border-radius: var(--radius-lg); padding: var(--s-7) var(--s-6); display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.cta-band h2 { font-size: var(--fs-2xl); font-weight: 900; }
.cta-band p { margin: .35rem 0 0; opacity: .9; }

/* Article */
.article { max-width: 860px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--ink-3); font-size: var(--fs-sm); margin-bottom: var(--s-5); }
.article__hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--s-6); box-shadow: var(--shadow); }
.article__hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article .prose { max-width: none; font-size: 1.15rem; }
.share { display: flex; align-items: center; gap: .5rem; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.share .social a { color: var(--gold-700); background: var(--gold-50); }
.share .social a:hover { background: var(--gold); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Back to top */
.to-top { position: fixed; inset-inline-start: 1.25rem; bottom: 1.25rem; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--t) var(--ease); z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-600); }
.to-top .icon { transform: rotate(180deg); width: 24px; height: 24px; }

/* Toast */
.toast { position: fixed; bottom: 1.5rem; inset-inline-end: 1.5rem; background: var(--ink); color: #fff; padding: .9rem 1.2rem; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: var(--fs-sm); z-index: 300; opacity: 0; transform: translateY(10px); transition: all var(--t) var(--ease); max-width: min(90vw, 380px); }
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav > li > a, .nav > li > button { padding-inline: .6rem; font-size: 1rem; }
  .brand__title { font-size: 1.25rem; }
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > li:nth-child(4) { border-inline-start: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__tag { grid-column: 1 / -1; text-align: center; }
  .footer__mid { border-inline: 0; padding-inline: 0; }
}
@media (max-width: 992px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__inner { min-height: 80px; }
  .hero__bg { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: var(--s-6); }
  .hero__art { display: block; order: -1; margin-inline: auto; width: 100%; max-width: 720px; }
  .hero__art img { aspect-ratio: 16/10; object-fit: cover; object-position: 35% center; border-radius: var(--radius); }
  .hero__copy { max-width: none; }
  .news-layout { grid-template-columns: 1fr; }
  .promo { min-height: 300px; }
  .sidebar-layout, .sidebar-layout--reverse { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: var(--s-8); }
}
@media (max-width: 768px) {
  .topbar__inner { justify-content: center; text-align: center; font-size: var(--fs-xs); }
  .topbar__date { display: none; }
  .brand { border-inline-end: 0; padding-inline-end: 0; }
  .brand__tag { display: none; }
  .quick { margin-top: var(--s-5); }
  .quick__grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .qcard { padding: 1rem .75rem; }
  .qcard__title { font-size: 1.15rem; }
  .news-grid { grid-template-columns: 1fr; }
  .cards-4, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > li { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .stats > li:nth-child(-n+2) { border-top: 0; }
  .stats-inline > li { border: 0; padding: .5rem .75rem; }
  .banner { min-height: 0; padding: var(--s-6) var(--s-4); }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand img { width: 90px; }
  .newsletter { margin-inline: auto; }
  .footer__follow { justify-content: center; flex-wrap: wrap; }
  .footer__links { justify-content: center; }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .status-track { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .cta-band { padding: var(--s-6) var(--s-5); }
  .section__title::after { width: 32px; }
  .search { flex-wrap: wrap; border-radius: var(--radius); }
  .search__input { flex-basis: 100%; }
  .search__select { border: 0; flex: 1; }
  .to-top { inset-inline-start: .9rem; bottom: .9rem; }
  .book { grid-template-columns: 90px 1fr; }
}
@media (max-width: 420px) {
  .quick__grid { grid-template-columns: 1fr; }
  .status-track { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  .topbar, .header, .footer, .to-top, .nav-toggle, .drawer { display: none !important; }
  body { background: #fff; }
}
