/* ============================================
   شفاء · SHIFA — Pharmacy & Wellness
   Palette: Clinical White + Trust Blue + Mint Green
   ============================================ */

:root {
  --bg:          #f5f9fb;
  --bg-soft:     #eaf2f7;
  --bg-card:     #ffffff;
  --ink:         #11283b;
  --ink-soft:    #3a536a;
  --ink-mute:    #6b8197;
  --ink-faint:   #a6b8c6;
  --line:        #dfeaf1;
  --line-strong: #c2d6e2;

  --blue:        #1e72c8;   /* trust blue */
  --blue-soft:   #e2effb;
  --blue-deep:   #0f4f93;
  --mint:        #15a888;   /* health green */
  --mint-soft:   #d8f3ec;
  --coral:       #ef5b5b;   /* alert / urgent */
  --amber:       #f0a93b;

  --ff-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --ff-sans:    'Inter', system-ui, sans-serif;
  --ff-ar:      'IBM Plex Sans Arabic', 'Vazirmatn', system-ui, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, monospace;

  --t-eyebrow: 0.6875rem;
  --t-xs: 0.75rem; --t-sm: 0.875rem; --t-base: 1rem;
  --t-md: 1.125rem; --t-lg: 1.375rem; --t-xl: 1.75rem;
  --t-2xl: 2.25rem;
  --t-hero: clamp(2.25rem, 5vw, 3.75rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem;

  --header-h: 72px;
  --max-w: 1360px;
  --gutter: 1.25rem;
  --r: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(17,40,59,0.05);
  --shadow-md: 0 12px 32px -12px rgba(17,40,59,0.14);
  --safe-top:    env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-ar);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue-soft); color: var(--blue-deep); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: var(--r-pill); }

.shell { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { .shell { padding-inline: 2rem; } }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.mono { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }

/* ── Top bar ── */
.topbar {
  background: var(--blue-deep);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px var(--gutter);
  padding-top: calc(8px + var(--safe-top));
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  align-items: center;
}
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item svg { opacity: 0.85; }
@media (max-width: 640px) { .topbar__hide { display: none; } .topbar { justify-content: center; } }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
/* search in header */
.header__search {
  flex: 1;
  display: none;
  align-items: center;
  gap: var(--s-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 var(--s-5);
  min-height: 48px;
  max-width: 520px;
  transition: border-color 180ms, box-shadow 180ms;
}
@media (min-width: 900px) { .header__search { display: flex; } }
.header__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.header__search input { flex: 1; font-size: var(--t-sm); }
.header__search input::placeholder { color: var(--ink-faint); }
.header__actions { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s-2); }
.icon-btn {
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  position: relative;
  transition: background 180ms, color 180ms;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--blue); }
.icon-btn__count {
  position: absolute;
  top: 5px; inset-inline-end: 5px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--mint);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.burger { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
@media (min-width: 1024px) { .burger { display: none; } }

/* ── Nav row (categories) ── */
.navrow {
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: none;
}
@media (min-width: 1024px) { .navrow { display: block; } }
.navrow__inner { display: flex; gap: var(--s-6); height: 52px; align-items: center; }
.navrow a {
  font-family: var(--ff-sans);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 180ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navrow a:hover { color: var(--blue); }
.navrow a.is-rx { color: var(--mint); }
.navrow__spacer { margin-inline-start: auto; }
.navrow__phone {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Buttons ── */
.btn {
  --bg: var(--blue);
  --fg: #fff;
  --bd: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0 var(--s-6);
  min-height: 50px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: var(--r-pill);
  font-family: var(--ff-sans);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 180ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { --bg: var(--blue-deep); --bd: var(--blue-deep); }
.btn:active { transform: scale(0.98); }
.btn--mint { --bg: var(--mint); --bd: var(--mint); }
.btn--mint:hover { --bg: #0d8a6f; --bd: #0d8a6f; }
.btn--light { --bg: #fff; --fg: var(--blue); --bd: var(--line-strong); }
.btn--light:hover { --bg: var(--blue-soft); --fg: var(--blue-deep); --bd: var(--blue-soft); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,0.6); }
.btn--ghost:hover { --bg: #fff; --fg: var(--blue); --bd: #fff; }
.btn--lg { min-height: 56px; padding-inline: var(--s-8); font-size: var(--t-md); }

.linkline {
  font-family: var(--ff-sans);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  transition: gap 180ms;
}
.linkline:hover { gap: var(--s-3); }
[dir="rtl"] .linkline svg { transform: scaleX(-1); }

/* ── HERO (split: message + service cards) ── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  padding-block: var(--s-12) var(--s-10);
  align-items: center;
}
@media (min-width: 1024px) { .hero { grid-template-columns: 1.1fr 1fr; gap: var(--s-16); } }
.hero__title {
  font-family: var(--ff-display);
  font-size: var(--t-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-block: var(--s-4) var(--s-4);
}
.hero__title span { color: var(--blue); }
.hero__sub {
  font-size: var(--t-md);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: var(--s-6);
}
/* big search */
.hero__search {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px var(--s-5);
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}
.hero__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.hero__search svg { color: var(--ink-mute); flex-shrink: 0; }
.hero__search input { flex: 1; font-size: var(--t-base); min-height: 48px; }
.hero__search input::placeholder { color: var(--ink-faint); }
.hero__suggest { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.hero__suggest span { font-size: var(--t-xs); color: var(--ink-mute); margin-inline-end: 4px; }
.hero__chip {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  transition: all 160ms;
}
.hero__chip:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-deep); }

/* hero side: service tiles */
.hero__services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform 250ms var(--ease), box-shadow 250ms;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.svc__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.svc--rx .svc__icon  { background: var(--mint-soft); color: var(--mint); }
.svc--del .svc__icon { background: var(--blue-soft); color: var(--blue); }
.svc--doc .svc__icon { background: #fdeede; color: var(--amber); }
.svc--lab .svc__icon { background: #fde4e4; color: var(--coral); }
.svc h3 { font-family: var(--ff-display); font-size: var(--t-md); font-weight: 700; }
.svc p { font-size: var(--t-sm); color: var(--ink-mute); line-height: 1.5; }

/* ── Trust badges row ── */
.assure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  padding: var(--s-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-block: var(--s-6);
}
@media (min-width: 768px) { .assure { grid-template-columns: repeat(4, 1fr); } }
.assure__item { display: flex; align-items: center; gap: var(--s-3); }
.assure__icon { width: 40px; height: 40px; border-radius: var(--r-pill); background: var(--mint-soft); color: var(--mint); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.assure__t strong { display: block; font-weight: 700; font-size: var(--t-sm); }
.assure__t span { font-size: var(--t-xs); color: var(--ink-mute); }

/* ── Section head ── */
.s-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-6); flex-wrap: wrap; }
.s-head__title { display: flex; flex-direction: column; gap: var(--s-2); }
.s-head__title h2 { font-family: var(--ff-display); font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.s-head__title h2 span { color: var(--blue); }

/* ── Category pills with icons ── */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
@media (min-width: 640px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(8, 1fr); } }
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  text-align: center;
  transition: all 200ms var(--ease);
}
.cat:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat__img {
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cat__img img { width: 100%; height: 100%; object-fit: cover; }
.cat__name { font-size: var(--t-sm); font-weight: 600; color: var(--ink); }

/* ── Product grid ── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (min-width: 640px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(5, 1fr); } }

.prod {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms, box-shadow 200ms, transform 250ms var(--ease);
}
.prod:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prod__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  overflow: hidden;
  padding: var(--s-4);
}
.prod__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 500ms var(--ease); }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__tags { position: absolute; top: var(--s-3); inset-inline-start: var(--s-3); display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.tag {
  font-family: var(--ff-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  line-height: 1;
  border-radius: var(--r-sm);
}
.tag--mint  { background: var(--mint); color: #fff; }
.tag--blue  { background: var(--blue); color: #fff; }
.tag--sale  { background: var(--coral); color: #fff; }
.tag--rx    { background: var(--amber); color: #fff; }
.prod__wish {
  position: absolute;
  top: var(--s-3);
  inset-inline-end: var(--s-3);
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  z-index: 2;
  transition: color 180ms, transform 180ms;
}
.prod__wish:hover { color: var(--coral); transform: scale(1.08); }
.prod__wish.is-active { color: var(--coral); }
.prod__body { padding: var(--s-4); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prod__brand { font-family: var(--ff-sans); font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.prod__name { font-size: var(--t-sm); font-weight: 600; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.prod__rating { display: inline-flex; align-items: center; gap: 4px; font-family: var(--ff-mono); font-size: var(--t-xs); color: var(--ink-mute); }
.prod__rating svg { fill: var(--amber); }
.prod__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-top: auto; padding-top: var(--s-3); }
.prod__price { display: flex; flex-direction: column; line-height: 1.2; }
.prod__price .now { font-family: var(--ff-display); font-size: var(--t-md); font-weight: 800; color: var(--ink); }
.prod__price .was { font-family: var(--ff-mono); font-size: var(--t-xs); color: var(--ink-faint); text-decoration: line-through; }
.prod__add {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms;
  flex-shrink: 0;
}
.prod__add:hover { background: var(--blue); color: #fff; transform: scale(1.08); }
.prod__oos { position: absolute; inset: 0; background: rgba(245,249,251,0.8); backdrop-filter: blur(1px); display: flex; align-items: center; justify-content: center; z-index: 3; font-size: var(--t-sm); font-weight: 700; color: var(--ink-mute); }

/* ── Upload Rx banner ── */
.rx {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  border-radius: var(--r);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-block: var(--s-16);
  color: #fff;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .rx { grid-template-columns: 1.2fr 1fr; } }
.rx::after {
  content: '';
  position: absolute;
  inset-inline-end: -60px; top: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(21,168,136,0.4), transparent 70%);
  pointer-events: none;
}
.rx__body { position: relative; z-index: 1; }
.rx__body h2 { font-family: var(--ff-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: var(--s-3); letter-spacing: -0.02em; }
.rx__body p { color: rgba(255,255,255,0.85); font-size: var(--t-md); margin-bottom: var(--s-6); max-width: 44ch; }
.rx__steps { display: flex; gap: var(--s-5); flex-wrap: wrap; }
.rx__step { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-sm); }
.rx__step b { width: 26px; height: 26px; border-radius: var(--r-pill); background: rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: var(--t-xs); }
.rx__drop {
  position: relative;
  z-index: 1;
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: var(--r);
  padding: var(--s-8);
  text-align: center;
  background: rgba(255,255,255,0.06);
}
.rx__drop svg { margin-inline: auto; margin-bottom: var(--s-3); }
.rx__drop p { font-size: var(--t-sm); color: rgba(255,255,255,0.8); margin-bottom: var(--s-4); }

/* ── Health tips / blog ── */
.tips { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 768px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow 200ms, transform 250ms var(--ease);
}
.tip:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tip__img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.tip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.tip:hover .tip__img img { transform: scale(1.05); }
.tip__body { padding: var(--s-5); }
.tip__cat { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }
.tip__title { font-family: var(--ff-display); font-size: var(--t-md); font-weight: 700; line-height: 1.35; margin-block: var(--s-2) var(--s-3); }
.tip__meta { font-size: var(--t-xs); color: var(--ink-mute); }

/* ── Newsletter ── */
.news {
  background: var(--mint);
  border-radius: var(--r);
  margin-block: var(--s-16);
  padding: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
  color: #fff;
}
@media (min-width: 768px) { .news { grid-template-columns: 1fr 1fr; } }
.news h2 { font-family: var(--ff-display); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: #fff; margin-bottom: var(--s-2); letter-spacing: -0.02em; }
.news p { color: rgba(255,255,255,0.9); }
.news__form { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--r-pill); padding: 6px; display: flex; gap: var(--s-2); }
.news__form input { flex: 1; padding: 0 var(--s-5); min-height: 46px; color: #fff; }
.news__form input::placeholder { color: rgba(255,255,255,0.6); }
.news__form button { padding: 0 var(--s-5); min-height: 46px; background: #fff; color: var(--mint); border-radius: var(--r-pill); font-family: var(--ff-sans); font-weight: 700; font-size: var(--t-sm); transition: background 180ms; }
.news__form button:hover { background: var(--ink); color: #fff; }

/* ── Footer ── */
.foot { background: var(--ink); color: rgba(255,255,255,0.7); padding-block: var(--s-16) var(--s-5); }
.foot__top { display: grid; grid-template-columns: 1fr; gap: var(--s-8); margin-bottom: var(--s-10); }
@media (min-width: 768px) { .foot__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot__brand { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: var(--s-4); }
.foot__brand .brand__mark { width: 36px; height: 36px; }
.foot__col p { font-size: var(--t-sm); line-height: 1.6; max-width: 34ch; margin-bottom: var(--s-4); }
.foot__col h4 { font-family: var(--ff-sans); font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: var(--s-4); }
.foot__col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.foot__col a { font-size: var(--t-sm); color: rgba(255,255,255,0.7); transition: color 180ms; }
.foot__col a:hover { color: #fff; }
.foot__social { display: flex; gap: var(--s-2); }
.foot__social a { width: 38px; height: 38px; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); transition: all 180ms; }
.foot__social a:hover { background: var(--blue); color: #fff; }
.foot__bottom { padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-3); font-size: var(--t-xs); color: rgba(255,255,255,0.5); }
.foot__seals { display: flex; gap: var(--s-2); align-items: center; }
.foot__seal { background: rgba(255,255,255,0.1); padding: 5px 10px; border-radius: var(--r-sm); font-family: var(--ff-mono); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.05em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* TK-DARK-INJECTED */
[data-theme="dark"] {
  --bg:          #0a141d;
  --bg-soft:     #11202d;
  --bg-card:     #152838;
  --ink:         #e8f1f8;
  --ink-soft:    #b6c8d8;
  --ink-mute:    #7a8ea2;
  --ink-faint:   #4e6075;
  --line:        #21384a;
  --line-strong: #324c63;
  --blue:        #4a9beb;
  --blue-soft:   #15324c;
  --blue-deep:   #2a7ec6;
  --mint:        #3ec7a4;
  --mint-soft:   #143b32;
  --coral:       #f47878;
  --amber:       #f3bf5b;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 32px -12px rgba(0,0,0,0.6);
}
html { color-scheme: dark; }
[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
