/* =====================================================================
   PMA public site — hand-written CSS, RTL-first with logical properties
   ===================================================================== */
@font-face { font-family: "Iwan"; src: url("../fonts/iwan-zaza-personal-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }

:root {
  --gold: #cea157; --gold-2: #9b7941; --gold-3: #b9a779; --gold-hover: #b88f45; --gold-soft: #f7efdd;
  --green: #002623; --green-2: #094239; --green-3: #0d5a4d;
  --ink: #260f14; --muted: #6b6352; --line: #dcd9c6; --line-soft: rgba(38,15,20,.08);
  --charcoal: #191919; --line-2: #c9c9c9; --surface-2: #efefef;
  --bg: #ffffff; --bg-warm: #fffdf8; --ivory: #eeeadf; --surface: #ffffff;
  --err: #d5040f; --ok: #428177; --warn: #988561; --info: #2b5c7a;
  --radius: 14px; --radius-sm: 8px; --shadow: 0 1px 2px rgba(38,15,20,.05), 0 8px 24px rgba(155,121,65,.12);
  --shadow-lg: 0 20px 50px rgba(38,15,20,.14);
  --font: "Iwan", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --font-latin: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --container: 1240px; --fs: 16px;
}
html.ltr, body.ltr { --font: var(--font-latin); }
html[data-contrast="high"] { --gold: #8a6420; --gold-2: #6e4f16; --muted: #333; --line: #555; --ivory: #f2f2f2; --bg-warm: #fff; }

/* Dark/night mode (the actual "night/day" toggle — separate from High Contrast above, which
   only nudges a few colors and keeps a light background). This flips the light surface/text
   variables and brightens the accent colors so they stay legible on a dark background.
   --charcoal and --line-2 are deliberately left alone: they already ARE the site's dark
   accent color (hero/footer/navbar gradients with hardcoded white text), used the same way
   in both themes, so they don't need to flip here. */
html[data-theme="dark"] {
  --gold: #e2b86f; --gold-2: #cea157; --gold-3: #8f7650; --gold-hover: #f0c687; --gold-soft: #2a2316;
  --green: #bfe8df; --green-2: #5fcab3; --green-3: #3a9c87;
  --ink: #f1ebe0; --muted: #b8ad99; --line: #3a3225; --line-soft: rgba(255,255,255,.08);
  --surface-2: #241e15;
  --bg: #121009; --bg-warm: #15120c; --ivory: #1d1811; --surface: #1a150f;
  --err: #ff6b6b; --ok: #5ec9b8; --warn: #e0b46a; --info: #6fb3d9;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg-warm); line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; position: relative; }
body.ltr { font-family: var(--font-latin); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url("../img/pattern.svg") center/640px repeat; opacity: .18; }
html[data-contrast="high"] body::before, html[data-theme="dark"] body::before { display: none; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 3vw, 2.6rem); } h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); } h3 { font-size: 1.15rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.container { width: calc(100% - 16px); margin-inline: auto; }
.site-main { flex: 1; }
.muted { color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--green); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 999; }
.skip-link:focus { top: 8px; }
.icon { flex: none; vertical-align: middle; }
.rtl .icon--dir { transform: scaleX(-1); }
bdi { unicode-bidi: isolate; font-family: var(--font-latin); font-variant-numeric: tabular-nums; }

/* ---------- buttons / chips / alerts ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; transition: .2s; white-space: nowrap; background: var(--ivory); color: var(--ink); }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--ink); } .btn--gold:hover { background: var(--gold-hover); color: #fff; }
.btn--dark { background: var(--green); color: #fff; } .btn--dark:hover { background: var(--green-2); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--green-2); } .btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--outline-light { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; } .btn--outline-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn--sm { padding: .45rem .95rem; font-size: .9rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--danger { background: #fbe9ea; color: var(--err); }
.btn:disabled { opacity: .5; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .65rem; border-radius: 999px; background: var(--ivory); color: var(--muted); font-size: .78rem; font-weight: 600; }
.chip--gold { background: var(--gold-soft); color: var(--gold-2); }
.chip--green { background: #e3efec; color: var(--green-2); }
.chip--red { background: #fbe9ea; color: var(--err); }
.chip--xs { padding: 0 .4rem; font-size: .7rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin: 1rem 0; border: 1px solid; }
.alert--success { background: #e6f3f0; color: var(--green-2); border-color: #b9dbd3; }
.alert--error { background: #fdecec; color: var(--err); border-color: #f4c2c5; }
.alert--info { background: #e9f1f6; color: var(--info); border-color: #c5d9e6; }
.eyebrow { display: inline-block; color: var(--gold-2); font-weight: 700; font-size: .85rem; letter-spacing: .02em; margin-bottom: .3rem; }
.eyebrow--gold { color: var(--gold); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb37b; display: inline-block; box-shadow: 0 0 0 0 rgba(47,179,123,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,179,123,.6);} 70% { box-shadow: 0 0 0 8px rgba(47,179,123,0);} 100% { box-shadow: 0 0 0 0 rgba(47,179,123,0);} }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--green); color: #fff; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; flex-wrap: wrap; }
.topbar__contact, .topbar__actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .35rem; color: #fff; opacity: .9; }
.topbar__item--muted { opacity: .7; }
.topbar__btn { background: transparent; border: 0; padding: .2rem .4rem; border-radius: 6px; }
.topbar__btn:hover, .topbar__lang:hover { background: rgba(255,255,255,.12); }
.topbar__lang { font-family: var(--font-latin); font-weight: 600; padding: .2rem .6rem; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); }
.navbar { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 55%, var(--charcoal) 130%); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.navbar__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .8rem; color: #fff; }
.brand__logo { height: 32px; width: auto; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__text strong { font-size: 1.05rem; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.brand__text small { opacity: .92; font-size: .78rem; font-weight: 600; letter-spacing: .01em; }
.mainnav { flex: 1; display: flex; justify-content: center; }
.mainnav > ul { display: flex; gap: .2rem; align-items: center; }
.mainnav a { display: block; padding: .6rem .85rem; color: #fff; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.mainnav > ul > li > a:hover, .mainnav > ul > li > a.is-active { background: rgba(255,255,255,.14); }
.navbar__tools { margin-inline-start: auto; }
.has-menu { position: relative; }
.has-menu > a { display: flex; align-items: center; gap: .35rem; }
.has-menu > a::after { content: ''; width: 8px; height: 8px; margin-top: -3px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .85; transition: transform .15s ease; }
.has-menu:hover > a::after, .has-menu:focus-within > a::after { transform: rotate(225deg); margin-top: 3px; }
.submenu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 240px; background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); padding: .5rem; display: none; z-index: 60; }
.submenu a { color: var(--ink); padding: .55rem .8rem; border-radius: 8px; font-weight: 500; }
.submenu a:hover { background: var(--gold-soft); color: var(--gold-2); }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { display: block; }
.navbar__tools { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff; border: 0; position: relative; }
.icon-btn:hover { background: rgba(255,255,255,.25); color: #fff; }
.badge-dot { position: absolute; top: -2px; inset-inline-end: -2px; background: var(--err); color: #fff; font-size: .65rem; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; font-family: var(--font-latin); }
.user-menu { position: relative; }
.user-menu__btn { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 0; color: #fff; padding: .25rem .8rem .25rem .3rem; border-radius: 999px; }
.rtl .user-menu__btn { padding: .25rem .3rem .25rem .8rem; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.user-menu__panel { display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: var(--surface); color: var(--ink); min-width: 220px; border-radius: 12px; box-shadow: var(--shadow-lg); padding: .5rem; z-index: 60; }
.user-menu.is-open .user-menu__panel { display: block; }
.user-menu__panel a, .user-menu__panel button { display: block; width: 100%; text-align: start; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); background: none; border: 0; }
.user-menu__panel a:hover, .user-menu__panel button:hover { background: var(--gold-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.14); border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }

/* ---------- ticker ---------- */
.ticker { background: var(--ivory); border-bottom: 1px solid var(--line); }
.ticker__inner { display: flex; align-items: center; gap: 1rem; min-height: 40px; overflow: hidden; }
.ticker__label { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; font-size: .85rem; color: var(--green-2); white-space: nowrap; }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.ticker__move { display: inline-flex; gap: 3rem; white-space: nowrap; animation: ticker 40s linear infinite; padding-inline-start: 100%; }
.ticker__move:hover { animation-play-state: paused; }
.ticker__move > * { color: var(--ink); font-size: .92rem; }
@keyframes ticker { to { transform: translateX(var(--ticker-dir, -100%)); } }
.rtl .ticker__move { --ticker-dir: 100%; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--charcoal) 0%, var(--line-2) 100%); color: #fff; padding: 20px 0 4rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") center/900px repeat; opacity: .05; pointer-events: none; }
/* Hero: centered single-column layout (was a two-column grid before the local bulletin
   was temporarily suppressed — centering keeps it balanced with the board narrower now). */
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; position: relative; z-index: 1; }
.hero__text { display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.hero__ministry { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-bottom: .8rem; }
.hero__ministry-emblem { height: 96px; width: auto; }
.hero__ministry-name { color: var(--gold); font-size: 1.5rem; font-weight: 600; }
.hero__eyebrow { color: var(--gold); font-weight: 700; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; justify-content: center; }
.hero__badges { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: .88rem; color: rgba(255,255,255,.85); justify-content: center; }
.hero__badges li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__board { background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 1.1rem; width: 100%; max-width: 480px; margin: 0 auto; }
.hero__board .prices-board { box-shadow: none; padding: 0; }
.hero__board-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line-soft); font-weight: 600; }
.hero__board-links a { display: inline-flex; align-items: center; gap: .3rem; }
.intl-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; margin-top: .8rem; padding: .6rem .8rem; background: var(--gold-soft); border-radius: 10px; font-size: .88rem; text-decoration: none; color: inherit; transition: box-shadow .15s, background .15s; }
.intl-strip:hover, .intl-strip:focus-visible { background: var(--gold-soft-2, var(--gold-soft)); box-shadow: 0 0 0 2px var(--gold-2) inset; }
.intl-strip__label { font-weight: 700; color: var(--gold-2); }
.up { color: #1f8a5b; } .down { color: var(--err); }

/* ---------- prices ---------- */
.prices-board { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; }
.prices-board__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.prices-board__title { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--green-2); }
.prices-board__date { font-size: .82rem; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.prices-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; }
.prices-table th, .prices-table td { padding: .65rem .8rem; text-align: center; border-bottom: 1px solid var(--line-soft); }
.prices-table thead th { background: var(--gold-2); color: #fff; font-weight: 700; }
.prices-table thead tr:first-child th:first-child { border-start-start-radius: 10px; }
.prices-table thead tr:first-child th:last-child { border-start-end-radius: 10px; }
.prices-table thead tr:nth-child(2) th { background: var(--gold); color: var(--ink); font-size: .8rem; }
.prices-table th small { opacity: .85; font-weight: 500; }
.prices-table tbody th { text-align: start; font-weight: 700; }
.prices-table tbody tr.is-main { background: var(--gold-soft); }
.prices-table tbody tr:hover { background: #faf6ec; }
.prices-table td bdi { font-weight: 600; }
.ptr { font-size: .7rem; margin-inline-start: .2rem; } .ptr--up { color: #1f8a5b; } .ptr--down { color: var(--err); } .ptr--flat { color: var(--muted); }
.prices-hero { background: linear-gradient(180deg, var(--charcoal) 0%, var(--line-2) 100%); color: #fff; padding: 2.5rem 0; }
.prices-hero h1 { color: #fff; }
.intl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.intl-card { background: var(--surface); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
a.intl-card:hover, a.intl-card:focus-visible { box-shadow: 0 4px 16px rgba(0,0,0,.12); transform: translateY(-2px); }
.intl-card strong { font-size: 1.6rem; font-family: var(--font-latin); }

/* ---------- sections & grids ---------- */
.section { padding: 3.5rem 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: linear-gradient(180deg, var(--charcoal) 0%, var(--line-2) 100%); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head--sm h2 { font-size: 1.35rem; }
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
/* Register form: back to two fields per row (the panel itself is wider now that
   the side column shrank to ~1/3, so each field is still bigger than the original
   layout even at two-per-row). */
.grid--register { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.link-more { font-weight: 700; color: var(--gold-2); }

.quick-access { margin-top: -2.2rem; position: relative; z-index: 2; }
.quick-access__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.quick-card { background: var(--surface); border-radius: 14px; padding: 1rem .9rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .3rem; color: var(--ink); border: 1px solid transparent; transition: .2s; }
.quick-card:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--ink); }
.quick-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .3rem; }
.quick-card small { color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* ---------- cards ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: .2s; border: 1px solid transparent; }
.card:hover { transform: translateY(-3px); border-color: var(--gold-soft); }
.card__media { display: block; aspect-ratio: 16/9; background: var(--ivory); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold-2); background: linear-gradient(135deg, var(--ivory), var(--gold-soft)); }
.card__ribbon { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--gold); color: var(--ink); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__meta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.card__meta time { display: inline-flex; align-items: center; gap: .3rem; }
.card__title { font-size: 1.05rem; margin: 0; } .card__title a { color: var(--ink); } .card__title a:hover { color: var(--gold-2); }
.card__text { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.card__more { font-weight: 700; color: var(--gold-2); display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; }
.card--horizontal { flex-direction: row; } .card--horizontal .card__media { width: 40%; aspect-ratio: auto; flex: none; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.media-grid > :first-child { grid-column: span 2; grid-row: span 2; }
.media-grid > :first-child .card__media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.media-grid > :first-child .card__title { font-size: 1.4rem; }
.list-cards li a { display: flex; gap: 1rem; padding: .9rem; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); margin-bottom: .7rem; color: var(--ink); transition: .2s; }
.list-cards li a:hover { transform: translateX(var(--nudge, -4px)); } .rtl .list-cards li a:hover { --nudge: 4px; }
.list-cards__date { flex: none; width: 58px; height: 58px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; font-family: var(--font-latin); }
.list-cards__date strong { font-size: 1.3rem; } .list-cards__date small { font-size: .7rem; }
.list-cards__body { display: flex; flex-direction: column; gap: .2rem; } .list-cards__body small { color: var(--muted); }
.doc-list li a { display: flex; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.doc-list li a:hover strong { color: var(--gold-2); }
.doc-list .icon { color: var(--gold-2); }
.doc-list span { display: flex; flex-direction: column; } .doc-list small { color: var(--muted); font-size: .8rem; }
.tabs { display: flex; gap: .4rem; border-bottom: 2px solid var(--line-soft); margin-bottom: 1rem; }
.tab { background: none; border: 0; padding: .6rem 1rem; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab.is-active { color: var(--gold-2); border-color: var(--gold); }
.tab-panel { display: none; } .tab-panel.is-active { display: block; }

.service-card { display: flex; gap: 1rem; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; border: 1px solid transparent; transition: .2s; }
.service-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.service-card__icon { flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.service-card h3 { margin: 0; font-size: 1.05rem; } .service-card h3 a { color: var(--ink); }
.service-card p { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }
.service-card__meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.service-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }

.stamp__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.stamp p { color: rgba(255,255,255,.85); }
.stamp__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stamp-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 1.2rem; }
.stamp-card__head { display: flex; gap: .5rem; align-items: center; margin-bottom: .8rem; }
.stamp-card--authentic .stamp-card__head { color: #7fd4a8; } .stamp-card--fake .stamp-card__head { color: #f2a7a7; }
.stamp-card .chip { background: rgba(255,255,255,.12); color: #fff; margin-inline-start: auto; }
.stamp-card li { font-size: .9rem; color: rgba(255,255,255,.85); padding: .35rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.stamp-card li strong { color: #fff; }

.voice { background: var(--gold-soft); }
.voice__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stats li { background: var(--surface); border-radius: 14px; padding: 1.2rem 1rem; text-align: center; box-shadow: var(--shadow); }
.stats strong { display: block; font-size: 1.6rem; color: var(--gold-2); font-family: var(--font-latin); }
.stats span { font-size: .85rem; color: var(--muted); }
.value-card { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.value-card img, .value-card .icon { color: var(--gold-2); }
.value-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.value-card .btn--block { width: 100%; justify-content: center; }
.faq-home { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.accordion__item { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: .7rem; }
.accordion__item summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item[open] summary { color: var(--gold-2); } .accordion__item[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 1.2rem 1.2rem; color: var(--muted); }

/* ---------- page hero & content pages ---------- */
.page-hero { background: linear-gradient(180deg, var(--charcoal) 0%, var(--line-2) 100%); color: #fff; padding: 2.4rem 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") center/700px repeat; opacity: .06; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { color: #fff; margin: .4rem 0 0; }
.page-hero__sub { color: rgba(255,255,255,.85); margin: .5rem 0 0; max-width: 70ch; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.8); display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a { color: #fff; } .crumbs__sep { opacity: .5; }
.page { padding: 2.5rem 0 3.5rem; }
.page--narrow .container { max-width: 900px; }
/* /prices page: compact the content column to 60% width, centered — only once the
   viewport is wide enough that 60% is still comfortably readable; on phones/tablets
   it stays full width like every other page, so the price cards and filters don't
   get cramped. */
@media (min-width: 900px) {
  .page--prices .container { max-width: 60%; }
}
.filters { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.6rem; background: var(--surface); padding: .9rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.filters .field { margin: 0; flex: 1; min-width: 180px; }
.filters .field input, .filters .field select { padding: .55rem .8rem; }
.results-count { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.pagination { display: flex; gap: .3rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination__btn { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; font-family: var(--font-latin); }
.pagination__btn.is-current { background: var(--gold); }
.pagination__dots { align-self: center; color: var(--muted); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; }
.article__main { min-width: 0; }
.article__cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.article__cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article__meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.article__meta time { display: inline-flex; align-items: center; gap: .3rem; }
.article__actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-inline-start: auto; }
.prose { font-size: 1.05rem; line-height: 1.9; }
.prose img { border-radius: 12px; margin: 1rem 0; } .prose h2, .prose h3 { margin-top: 1.6em; }
.prose blockquote { border-inline-start: 4px solid var(--gold); padding: .5rem 1rem; margin: 1rem 0; background: var(--gold-soft); border-radius: 8px; color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; } .prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; }
.aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; }
.aside-box h3 { font-size: 1rem; color: var(--gold-2); margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-soft); }
.aside-list li a { display: flex; gap: .7rem; padding: .55rem 0; color: var(--ink); border-bottom: 1px dashed var(--line-soft); }
.aside-list li a:hover { color: var(--gold-2); }
.aside-list img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.aside-list span { display: flex; flex-direction: column; font-size: .9rem; } .aside-list small { color: var(--muted); font-size: .78rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--ivory); display: block; box-shadow: var(--shadow); }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-item__cap { position: absolute; inset: auto 0 0; padding: .6rem .8rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .85rem; }
.gallery-item__play { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--green); display: flex; align-items: center; justify-content: center; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 200; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.is-open { display: flex; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; background: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; }

/* ---------- legal / docs ---------- */
.doc-card { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.2rem; margin-bottom: .9rem; border: 1px solid transparent; }
.doc-card:hover { border-color: var(--gold-soft); }
.doc-card__icon { width: 72px; height: 72px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; gap: .2rem; }
.doc-card h3 { margin: 0 0 .25rem; font-size: 1.05rem; } .doc-card h3 a { color: var(--ink); }
.doc-card__meta { display: flex; gap: .8rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.doc-card__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.pdf-frame { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; margin: 1rem 0 1.5rem; }
.info-grid div { background: var(--gold-soft); border-radius: 10px; padding: .7rem .9rem; }
.info-grid small { display: block; color: var(--muted); font-size: .75rem; } .info-grid strong { font-size: .95rem; }
.steps { counter-reset: step; }
.steps li { position: relative; padding: .8rem 0 .8rem 3rem; border-inline-start: 2px solid var(--gold-soft); margin-inline-start: 1.2rem; }
.rtl .steps li { padding: .8rem 3rem .8rem 0; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; inset-inline-start: -19px; top: .9rem; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-latin); }
.steps li strong { display: block; } .steps li p { color: var(--muted); margin: .2rem 0 0; font-size: .92rem; }
.req-list li { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px dashed var(--line-soft); }
.req-list .icon, .req-list img { color: var(--gold-2); flex: none; width: 22px; height: 22px; }

/* ---------- forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .92rem; }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(206,161,87,.45); border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { color: var(--muted); font-size: .8rem; margin-top: .3rem; }
.field .error, .field.has-error .hint { color: var(--err); font-size: .82rem; margin-top: .3rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1rem; }
.radio-row { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.form-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.form-card h2 { font-size: 1.3rem; }
.form-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.choice-card { border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; cursor: pointer; display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); }
.choice-card input { margin-top: .3rem; }
.choice-card strong { display: block; } .choice-card small { color: var(--muted); }
.choice-card:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.dropzone { border: 2px dashed var(--line); border-radius: 12px; padding: 1.3rem; text-align: center; color: var(--muted); background: var(--surface); }
.dropzone input { display: none; }
.dropzone.is-drag { border-color: var(--gold); background: var(--gold-soft); }
.dropzone__files { text-align: start; margin-top: .6rem; font-size: .85rem; }

/* ---- multi-step wizard (complaints / suggestions) ------------------- */
.wizard__steps { display: flex; align-items: center; justify-content: center; margin-bottom: 1.6rem; flex-wrap: wrap; }
.wizard__step { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.wizard__step:not(:last-child)::after { content: ''; width: 34px; height: 2px; background: var(--line); margin: 0 .6rem; }
.wizard__num { width: 26px; height: 26px; border-radius: 50%; background: var(--ivory); color: var(--muted); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: .8rem; flex: none; }
.wizard__step.is-active { color: var(--ink); }
.wizard__step.is-active .wizard__num { background: var(--gold); color: #fff; border-color: var(--gold); }
.wizard__step.is-done .wizard__num { background: var(--green); color: #fff; border-color: var(--green); }
.wizard__step.is-done:not(:last-child)::after { background: var(--green-3); }
.highlight-note { display: inline-block; background: var(--gold-soft); color: var(--gold-2); font-weight: 700; font-size: 1.05rem; padding: .5rem .9rem; border-radius: 10px; margin-top: .5rem; }
.tracking-number { display: inline-block; background: var(--surface); color: var(--green-2); font-weight: 800; font-size: 1.6rem; letter-spacing: .04em; padding: .4rem 1.2rem; border-radius: 10px; font-family: var(--font-latin); }
.track-result { padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.track-result:last-child { border-bottom: 0; padding-bottom: 0; }
.char-counter { font-size: .8rem; color: var(--muted); margin-top: .3rem; text-align: end; }
.char-counter.is-short { color: var(--err); font-weight: 600; }
.wizard__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.wizard__actions .btn--gold { flex: 2; justify-content: center; }
.wizard__actions .btn--danger { flex: 1; justify-content: center; }
.wizard__actions--top { justify-content: flex-start; }
.wizard__actions--top .btn { flex: none; }
.rules-box { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; }
.rules-box p { margin: .5rem 0; font-size: .92rem; }
.input-group { display: flex; gap: .5rem; }
.input-group__prefix { display: flex; align-items: center; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); font-weight: 600; white-space: nowrap; }
.input-group input { flex: 1; }
@media (max-width: 560px) {
  .wizard__step span:last-child { display: none; }
  .wizard__step:not(:last-child)::after { width: 20px; }
}
.result-box { text-align: center; padding: 2rem; background: #e6f3f0; border-radius: var(--radius); border: 1px solid #b9dbd3; }
.result-box .number { font-size: 2rem; font-weight: 800; letter-spacing: .06em; color: var(--green-2); font-family: var(--font-latin); background: var(--surface); display: inline-block; padding: .3rem 1.2rem; border-radius: 10px; margin: .6rem 0; }
.status-badge { display: inline-flex; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.status-under_review, .status-pending { background: #fff3d6; color: #8a6420; }
.status-action_taken { background: #e3edf7; color: var(--info); }
.status-approved, .status-resolved { background: #e3efec; color: var(--green-2); }
.status-rejected { background: #fbe9ea; color: var(--err); }
.status-draft { background: var(--ivory); color: var(--muted); } .status-published { background: #e3efec; color: var(--green-2); } .status-expired { background: #fbe9ea; color: var(--err); }
.turnstile-wrap { margin: 1rem 0; }

/* ---------- auth layout ---------- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 2fr; }
.auth-side { background: linear-gradient(180deg, var(--charcoal) 0%, var(--line-2) 100%); color: #fff; padding: 2.4rem 2rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") center/800px repeat; opacity: .07; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side strong { font-size: 1.2rem; }
/* Heading is sized (not simply +20% of the old 1.9rem) so it still reads well now that
   the panel is ~1/3 of the page instead of half; tighter line-height keeps longer
   Arabic titles from feeling cramped in the narrower column. */
.auth-side h1 { color: #fff; font-size: 1.7rem; line-height: 1.35; }
.auth-side p { color: rgba(255,255,255,.85); font-size: 1.2rem; }
.auth-side ul li { display: flex; gap: .6rem; align-items: center; padding: .4rem 0; color: rgba(255,255,255,.9); font-size: 1.2rem; }
.auth-side .topbar__actions { font-size: 1.2rem; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--bg-warm); position: relative; overflow: hidden; }
/* Register only: the rest of the public site shows the watermark pattern (see
   body::before), but here the opaque auth-main panel sits on top and hides it —
   add the same pattern back in, faint, just for this screen. */
.auth-main--pattern::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") center/700px repeat; opacity: .06; pointer-events: none; z-index: 0; }
.auth-card { width: 100%; max-width: 460px; position: relative; z-index: 1; }
/* Register only: ~40% wider than the standard 460px card, so its two-per-row
   fields end up noticeably bigger than the site's other auth forms. */
.auth-card--wide { max-width: 640px; }
.auth-card h2 { margin-bottom: .2rem; } .auth-card .sub { color: var(--muted); margin-bottom: 1.6rem; }
.auth-links { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; margin-top: 1rem; flex-wrap: wrap; }
.required { color: var(--err); font-weight: 700; }
.otp-input { letter-spacing: .5em; text-align: center; font-size: 1.6rem; font-family: var(--font-latin); }
.brand--dark { color: var(--ink); } .brand--dark strong, .brand--dark small { color: var(--ink); }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.profile__nav { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; align-self: start; position: sticky; top: 90px; }
.profile__user { display: flex; gap: .8rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--line-soft); margin-bottom: .6rem; }
.profile__user .avatar { width: 44px; height: 44px; font-size: 1.2rem; }
.profile__user strong { display: block; } .profile__user small { color: var(--muted); }
.profile__nav a { display: flex; gap: .6rem; align-items: center; padding: .6rem .7rem; border-radius: 10px; color: var(--ink); font-weight: 600; }
.profile__nav a:hover, .profile__nav a.is-active { background: var(--gold-soft); color: var(--gold-2); }
.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 1.5rem; }
.stat-tile { background: var(--surface); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: var(--shadow); border-inline-start: 4px solid var(--gold); }
.stat-tile strong { display: block; font-size: 1.6rem; font-family: var(--font-latin); }
.stat-tile span { color: var(--muted); font-size: .85rem; }
.stat-tile--ok { border-color: var(--ok); } .stat-tile--warn { border-color: var(--warn); } .stat-tile--err { border-color: var(--err); }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: .8rem .9rem; text-align: start; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.data-table th { background: var(--ivory); font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: var(--surface-2); }
.notif { display: flex; gap: .9rem; padding: 1rem; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: .7rem; border-inline-start: 4px solid transparent; }
.notif.is-unread { border-color: var(--gold); background: #fffaf0; }
.notif__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); display: flex; align-items: center; justify-content: center; flex: none; }
.notif__body { flex: 1; } .notif__body strong { display: block; } .notif__body p { margin: .2rem 0; color: var(--muted); font-size: .9rem; }
.notif__time { font-size: .78rem; color: var(--muted); }
.notif__actions { display: flex; gap: .3rem; flex-direction: column; }
.notif__actions button { background: none; border: 0; color: var(--muted); padding: .2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.85); margin-top: 3rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; padding: 3rem 0 2rem; }
.footer__col h3 { color: #fff; font-size: 1.1rem; } .footer__col h4 { color: var(--gold); margin-bottom: 1rem; }
.footer__col ul li { padding: .25rem 0; } .footer__col a { color: rgba(255,255,255,.85); } .footer__col a:hover { color: var(--gold); }
.footer__brand img { margin-bottom: .8rem; }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; } .footer__contact .icon { color: var(--gold); margin-top: .2rem; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { background: var(--gold); color: var(--ink); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem 0; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__links { display: flex; gap: 1.2rem; flex-wrap: wrap; } .footer__links a { color: rgba(255,255,255,.75); }
.to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .2s; z-index: 80; font-size: 1.2rem; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.cookie-banner { position: fixed; bottom: 0; inset-inline: 0; background: var(--surface); box-shadow: 0 -8px 30px rgba(0,0,0,.12); z-index: 90; padding: 1rem 0; }
.cookie-banner__inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.cookie-banner__btns { display: flex; gap: .6rem; }
.toast { position: fixed; bottom: 80px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--green); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 300; font-size: .9rem; animation: fade .25s; }
@keyframes fade { from { opacity: 0; transform: translate(-50%, 8px);} }

/* ---------- charts ---------- */
.chart-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.chart-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: 1rem; }
.chart-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.kpi { background: var(--gold-soft); border-radius: 12px; padding: .8rem 1rem; }
.kpi small { display: block; color: var(--muted); font-size: .78rem; } .kpi strong { font-size: 1.3rem; font-family: var(--font-latin); }
.chart-svg { width: 100%; height: 360px; display: block; }
.chart-legend { display: flex; gap: 1.2rem; font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.chart-legend i { width: 14px; height: 3px; display: inline-block; border-radius: 2px; margin-inline-end: .3rem; vertical-align: middle; }
.chart-download { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: flex-end; }
.chart-download .btn svg { vertical-align: middle; margin-inline-end: .3rem; }
.presets { display: flex; gap: .4rem; flex-wrap: wrap; }
.presets button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; }
.presets button.is-active { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.chart-tip { position: absolute; background: var(--ink); color: #fff; padding: .4rem .6rem; border-radius: 8px; font-size: .8rem; pointer-events: none; transform: translate(-50%, -110%); white-space: nowrap; display: none; }

/* ---------- misc ---------- */
.download-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; margin-bottom: 1rem; }
.download-card__links { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.app-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: linear-gradient(180deg, var(--charcoal) 0%, var(--line-2) 100%); color: #fff; border-radius: 20px; padding: 2.5rem; }
.app-card h2 { color: #fff; } .app-card p { color: rgba(255,255,255,.85); }
.app-release { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.search-groups h2 { font-size: 1.1rem; color: var(--gold-2); margin: 1.5rem 0 .6rem; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.sitemap-grid h3 { color: var(--gold-2); font-size: 1rem; border-bottom: 2px solid var(--gold-soft); padding-bottom: .4rem; }
.sitemap-grid li { padding: .3rem 0; }
.dataset { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; margin-bottom: .9rem; flex-wrap: wrap; }
.dataset h3 { margin: 0 0 .2rem; } .dataset p { margin: 0; color: var(--muted); font-size: .9rem; }
.dataset__btns { display: flex; gap: .5rem; }
.sector-row { display: flex; gap: 1rem; align-items: center; background: var(--surface); border-radius: 12px; padding: 1rem; box-shadow: var(--shadow); }
.sector-row .bar { flex: 1; height: 8px; background: var(--ivory); border-radius: 4px; overflow: hidden; } .sector-row .bar i { display: block; height: 100%; background: var(--gold); }
.print-only { display: none; }
@media print { .site-header, .site-footer, .to-top, .cookie-banner, .article__actions, .aside, .page-hero .crumbs { display: none !important; } .article { grid-template-columns: 1fr; } }

/* Prices page: "Print / Save as PDF" isolates just the bulletin — everything else on the
   page (hero banner, currency/fullscreen/share filter bar, the international section, the
   open-data footnote) is hidden so the printed page (or PDF from the browser's print dialog)
   shows exactly the price list, matching the on-screen bulletin's colors and layout. */
@media print {
  @page { margin: 8mm; }
  .prices-hero, .page--prices .filters, .page--prices .prices-extra, .page--prices .crumbs { display: none !important; }
  .page--prices .container { max-width: 100% !important; padding: 0 !important; }
  .page--prices .print-only { display: block; text-align: center; color: var(--muted); font-size: .75rem; margin-top: .6rem; }
  .bulletin, .bulletin * { -webkit-print-color-adjust: exact; print-color-adjust: exact; color-adjust: exact; }
  /* Squeeze every bit of vertical whitespace out (starting with the gap above the emblem)
     so a typical bulletin fits on a single printed page/PDF instead of spilling to a second. */
  .bulletin { max-width: 100% !important; padding: .2rem 1rem .6rem !important; }
  .report-header { margin-bottom: .3rem !important; }
  .report-header__emblem, .report-header__logo { width: 34px !important; height: 34px !important; }
  .report-header__title { font-size: 1rem !important; }
  .bulletin__title { font-size: 1.15rem !important; margin: .3rem 0 .4rem !important; }
  .bulletin__meta { margin-bottom: .6rem !important; padding: .3rem .2rem !important; }
  .bulletin-rows { gap: .7rem !important; }
  .bulletin-row { padding: 1.15rem .7rem .5rem !important; break-inside: avoid; page-break-inside: avoid; }
  .bulletin-row__name { font-size: 1rem !important; padding: .18rem 1rem !important; top: -12px !important; }
  .bulletin-row__cur { font-size: .85rem !important; padding: .22rem .8rem !important; }
  .bulletin-row__lbl { font-size: .8rem !important; }
  .bulletin-row__val { font-size: 1.2rem !important; }
  .bulletin-row__vals { gap: 1.2rem !important; }
}

/* Gold price archive (/prices/archive): same "isolate the result, print exactly what's shown"
   treatment as the prices page above — the compacting .bulletin rules there apply here too. */
@media print {
  .page--gold-archive .page-hero, .page--gold-archive .archive-search, .page--gold-archive .print-hide { display: none !important; }
  .page--gold-archive .container { max-width: 100% !important; padding: 0 !important; }
  /* The price/border use a transparent, gradient-filled background-clip:text effect for screen —
     print can't be trusted to render that gradient (background graphics are often stripped even
     with -webkit-print-color-adjust), which left the price text literally invisible (transparent
     on a white page) when actually printed. Force a plain, solid, dark-on-light look instead. */
  .gold-archive-box__price { background: #f4e6c4 !important; border: 2px solid #8a6d1f !important; }
  .gold-archive-box__value { background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; color: #2c2013 !important; }
  .gold-archive-box__unit { color: #2c2013 !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stamp__inner, .voice__inner, .faq-home { grid-template-columns: 1fr; }
  .quick-access__grid { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; } .profile__nav { position: static; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mainnav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--green-2); padding: .8rem; box-shadow: var(--shadow-lg); }
  .mainnav.is-open { display: block; }
  .mainnav > ul { flex-direction: column; align-items: stretch; }
  .submenu { position: static; display: block; box-shadow: none; background: rgba(255,255,255,.06); margin: .2rem 0 .5rem; }
  .submenu a { color: #fff; }
  .nav-toggle { display: flex; }
  .navbar__inner { min-height: 66px; }
  .brand__text strong { font-size: .88rem; } .brand__text small { display: none; }
  .user-menu__name { display: none; }
  .grid--3, .grid--2, .media-grid, .two-col, .stamp__cards, .choice-cards, .app-card { grid-template-columns: 1fr; }
  .media-grid > :first-child { grid-column: auto; grid-row: auto; }
  .card--horizontal { flex-direction: column; } .card--horizontal .card__media { width: 100%; aspect-ratio: 16/9; }
  .auth-page { grid-template-columns: 1fr; } .auth-side { display: none; }
  .doc-card { grid-template-columns: 56px 1fr; } .doc-card__actions { grid-column: 1 / -1; }
  .topbar__contact .topbar__item--muted, .topbar__item span { display: none; } .topbar__lang { display: inline-flex; }
  .topbar__lang, .topbar__btn { font-size: .8rem; }
}
@media (max-width: 600px) {
  .quick-access__grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .stats, .stat-tiles { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 3rem; }
  .section { padding: 2.4rem 0; }
  .prices-table { font-size: .82rem; } .prices-table th, .prices-table td { padding: .5rem .4rem; }
  .form-card { padding: 1.2rem; }
}

/* ---------------------------------------------------------------------------
   Floating "AI help" chat widget (site + admin) — see app/Core/OpenAi,
   app/Core/HelpKnowledge, app/Views/site/partials/ai-help.php, assets/js/ai-help.js
--------------------------------------------------------------------------- */
.ai-help { position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 500; }
.ai-help__bubble {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg, 0 6px 20px rgba(0,0,0,.2)); transition: transform .15s;
}
.ai-help__bubble:hover { transform: scale(1.06); }
.ai-help.is-open .ai-help__bubble { background: var(--charcoal, #2b2b2b); }
.ai-help__panel {
  position: absolute; inset-block-end: 72px; inset-inline-end: 0;
  width: min(360px, calc(100vw - 32px)); max-height: min(520px, calc(100vh - 120px));
  background: var(--surface); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,.25));
  display: flex; flex-direction: column; overflow: hidden;
}
.ai-help__header {
  display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%); color: #fff;
}
.ai-help__close { background: none; border: none; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 .2rem; }
.ai-help__messages { flex: 1; overflow-y: auto; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .6rem; }
.ai-help__msg { max-width: 88%; padding: .55rem .75rem; border-radius: 12px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; }
.ai-help__msg--bot { align-self: flex-start; background: var(--gold-soft); color: var(--ink); border-end-start-radius: 3px; }
.ai-help__msg--user { align-self: flex-end; background: var(--gold-2); color: #fff; border-end-end-radius: 3px; }
.ai-help__msg.is-thinking { opacity: .65; font-style: italic; }
.ai-help__msg.is-error { background: #fdeaea; color: #a12b2b; }
.ai-help__form { display: flex; align-items: center; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line); }
.ai-help__input { flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: .5rem .9rem; font: inherit; min-width: 0; }
.ai-help__mic, .ai-help__send { border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-help__mic { width: 36px; height: 36px; background: var(--gold-soft); color: var(--gold-2); }
.ai-help__mic.is-listening { background: #a12b2b; color: #fff; animation: pulse 1.4s infinite; }
.ai-help__send { height: 36px; padding: 0 1rem; border-radius: 18px; background: var(--gold); color: var(--ink); font-weight: 700; }
.ai-help__send:hover { background: var(--gold-hover); color: #fff; }
.ai-help__send:disabled { opacity: .6; cursor: default; }
@media (max-width: 480px) {
  .ai-help { inset-block-end: 14px; inset-inline-end: 14px; }
  .ai-help__panel { inset-inline-end: -6px; inset-block-end: 68px; }
}

/* Compact "pick a date range, then download" widget embeddable in admin-authored
   service content via [[PRICE_HISTORY_DOWNLOAD]] — see price-history-download.php */
.ph-download { background: var(--ivory); border-radius: var(--radius); padding: 1.1rem; margin: 1.2rem 0; }
.ph-download__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; }
.ph-download__row .field { margin-bottom: 0; flex: 1; min-width: 140px; }
.ph-download__row .ph-download-btn { flex-shrink: 0; white-space: nowrap; }
.ph-download__hint { display: block; margin-top: .6rem; }

/* ---------------------------------------------------------------------------
   Price bulletin — card-per-item redesign (replaces the old single wide table;
   see app/Views/site/partials/prices-table.php). Used on both the homepage
   (compact) and the full /prices page.
--------------------------------------------------------------------------- */
.price-cards { display: flex; flex-direction: column; gap: .9rem; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-card.is-main { border-color: var(--gold); }
.price-card__head {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%); color: #fff;
  text-align: center; font-weight: 700; font-size: 2.04rem; padding: .6rem 1rem;
}
.price-card__star { color: #fff; opacity: .9; }
.price-card__body { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; padding: 1rem 1.2rem; gap: .3rem 0; }
.price-card__cur { flex: 1 1 170px; min-width: 150px; text-align: center; padding: 0 .8rem; }
.price-card__cur:not(:first-child) { position: relative; }
.price-card__cur:not(:first-child)::before {
  content: "◆"; position: absolute; inset-inline-start: -.15rem; top: 50%; transform: translate(-50%, -50%);
  color: var(--gold); font-size: .85rem;
}
.price-card__cur-name { font-weight: 700; color: var(--gold-2); font-size: 1.76rem; margin-bottom: .55rem; }
.price-card__row { display: flex; justify-content: center; gap: 1.6rem; }
.price-card__cell { display: flex; flex-direction: column; align-items: center; gap: .25rem; min-width: 62px; }
.price-card__lbl { font-size: 1.52rem; color: var(--muted); font-weight: 600; }
.price-card__val { font-weight: 700; font-size: 1.4rem; color: var(--ink); font-family: var(--font-latin); }
.price-card__val bdi { font-weight: 700; }
/* Compact (homepage hero widget): tighter everywhere so it still fits a narrow board. Pinned
   back to the original (pre-enlargement) sizes explicitly, since the /prices page's full-size
   board above was doubled (text) / +30% (prices) and would otherwise leak into this shared
   partial's compact variant too. */
.price-cards--compact .price-card__head { padding: .45rem .8rem; font-size: .92rem; }
.price-cards--compact .price-card__body { padding: .75rem .6rem; }
.price-cards--compact .price-card__cur { min-width: 130px; padding: 0 .5rem; }
.price-cards--compact .price-card__cur-name { font-size: .78rem; margin-bottom: .4rem; }
.price-cards--compact .price-card__row { gap: 1.1rem; }
.price-cards--compact .price-card__lbl { font-size: .76rem; }
.price-cards--compact .price-card__val { font-size: .96rem; }

/* Daily bulletin card (/prices page): styled to match the workshop's printed/shared daily
   price bulletin — logo + org name header, bold title, a day/date/time bar, then one row per
   metal with its currencies split by a small gold diamond, instead of separate boxed cards. */
.bulletin { max-width: 640px; margin: 0 auto; }
/* Reusable "report header" (site/partials/report-header.php): emblem — title — PMA mark.
   Shared by any printable/report-style page; keep this in sync with that partial's classes. */
.report-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.report-header__emblem, .report-header__logo { width: 96px; height: 96px; flex-shrink: 0; object-fit: contain; }
.report-header__title { flex: 1; text-align: center; color: var(--green-2); font-weight: 800; font-size: 1.5rem; }
@media (max-width: 480px) {
  .report-header { gap: .5rem; }
  .report-header__emblem, .report-header__logo { width: 52px; height: 52px; }
  .report-header__title { font-size: 1.1rem; }
}
/* Gold price archive (/prices/archive): a "لوحة" search card — pick a date, get the SYP
   price that was recorded on it, for gram-21 gold only (the one item/currency Hani wants shown
   here). The result is one card (.gold-archive-box): title centered at top, a solid gold
   box with the price + unit stacked inside it, then the "based on recorded data" note centered
   at the bottom — all per Hani's exact layout instructions, rather than the full multi-item
   .bulletin table used on /prices. */
.archive-search { display: flex; align-items: flex-end; gap: 1.2rem; flex-wrap: wrap; background: linear-gradient(160deg, #1c1710 0%, #2c2013 100%); border: 1px solid var(--gold-3); border-radius: 16px; padding: 1.4rem 1.6rem; margin: 1.6rem 0; }
.archive-search__field { display: flex; flex-direction: column; gap: .4rem; flex: 1 1 220px; }
.archive-search__field label { display: flex; align-items: center; gap: .4rem; color: var(--gold); font-weight: 700; font-size: .9rem; }
.archive-search__field input[type="date"] { background: var(--surface); border: 1px solid var(--gold-3); border-radius: 10px; padding: .65rem .8rem; font-family: var(--font-latin); font-size: 1rem; color: var(--ink); }
.archive-search__btn { display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%); color: #fff; border: none; border-radius: 10px; padding: .75rem 1.8rem; font-weight: 700; font-size: 1rem; cursor: pointer; white-space: nowrap; }
.archive-search__btn:hover { filter: brightness(1.06); }
.archive-result { margin-top: 2rem; }
.archive-result__actions { display: flex; justify-content: center; margin-top: 1.2rem; }
.archive-empty { margin-top: 2rem; text-align: center; }
/* The result card itself used to share the same dark brown gradient as the search bar above it.
   Hani: "change background surrounding the price from brown to white or creamy" — he meant this
   outer card (not the price box inside it, which stays as-is), so it's now a light/creamy card
   (var(--ivory), which also stays theme-correct in dark mode) with dark-gold/ink text instead of
   the light gold/tan that only read well against the old dark fill. */
.gold-archive-box { max-width: 420px; margin: 0 auto; text-align: center; background: var(--ivory); border: 1px solid var(--gold-3); border-radius: 18px; padding: 1.6rem 1.4rem; }
.gold-archive-box__title { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--gold-2); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
/* Price box: black inside, a 2px border using the same white→gold gradient as the price text
   (border-image can't be done with just border-color, so it's built from two stacked
   backgrounds — a solid black fill on the padding-box, the gradient showing through on the
   border-box). direction:ltr forces the photo to sit on the visual left no matter the page's
   RTL flow; the price/unit text inside is set back to rtl so the Arabic unit label reads right.
   Hani confirmed this inner black box should stay exactly as it was — only the card around it
   (.gold-archive-box, above) changed from brown to cream. */
.gold-archive-box__price { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; direction: ltr; border: 2px solid transparent; border-radius: 14px; padding: 1rem 1.3rem; background: linear-gradient(#000, #000) padding-box, linear-gradient(to bottom, #ffffff 20%, var(--gold) 80%) border-box; }
.gold-archive-box__photo { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.gold-archive-box__price-text { direction: rtl; text-align: center; }
.gold-archive-box__value { font-size: 2rem; font-weight: 800; background: linear-gradient(to bottom, #ffffff 20%, var(--gold) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-archive-box__unit { color: var(--gold); font-weight: 600; font-size: 1rem; margin-top: .2rem; }
.gold-archive-box__date { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.gold-archive-box__note { color: var(--muted); font-size: .8rem; margin: .8rem 0 0; }
@media (max-width: 600px) {
  .archive-search { flex-direction: column; align-items: stretch; }
  .archive-search__btn { justify-content: center; }
}
.bulletin__title { text-align: center; color: var(--green); font-weight: 800; font-size: 1.55rem; margin: .7rem 0 .9rem; }
.bulletin__meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-top: 1px solid var(--gold-3); border-bottom: 1px solid var(--gold-3); padding: .55rem .2rem; margin-bottom: 1.6rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.bulletin__time { font-family: var(--font-latin); }

/* Per-metal "framed" card — reproduces the reference bulletin row exactly: a rounded
   outline frame with two gradient currency tabs hanging off its top corners, a white
   name pill overlapping the frame at top-center, small gold diamond accents at the
   frame's left/right edges, and a diamond separating the two currency groups below. */
.bulletin-rows { display: flex; flex-direction: column; gap: 1.9rem; }
.bulletin-row {
  position: relative; background: var(--ivory); border: 1.5px solid var(--gold-3); border-radius: 14px;
  padding: 1.6rem .9rem 1rem;
}
.bulletin-row::before, .bulletin-row::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; background: var(--gold);
  transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.bulletin-row::before { inset-inline-start: -5px; }
.bulletin-row::after { inset-inline-end: -5px; }
.bulletin-row__name {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--gold-3); border-radius: 999px; white-space: nowrap;
  padding: .25rem 1.5rem; font-weight: 800; color: var(--ink); font-size: 1.25rem; box-shadow: 0 1px 3px rgba(38,15,20,.06);
}
.bulletin-row__tabs { position: absolute; top: -14px; inset-inline-start: 10px; inset-inline-end: 10px; display: flex; justify-content: space-between; pointer-events: none; }
.bulletin-row__cur {
  display: inline-block; font-weight: 700; color: var(--ink); font-size: 1.1rem;
  padding: .32rem 1.1rem; border-radius: 10px 10px 0 0; border: 1px solid var(--gold-3); border-bottom: none;
}
.bulletin-row__tabs .bulletin-row__cur:first-child { background: linear-gradient(180deg, #f3e6cf 0%, #e2c99f 100%); }
.bulletin-row__tabs .bulletin-row__cur:last-child { background: linear-gradient(180deg, #e9c98f 0%, #cfa25d 100%); }
.bulletin-row__cols { display: flex; align-items: center; justify-content: center; }
.bulletin-row__sep { color: var(--gold); display: flex; align-items: center; font-size: 1.1rem; padding: 0 1rem; align-self: center; }
.bulletin-row__vals { display: flex; justify-content: center; align-items: center; gap: 1.7rem; }
.bulletin-row__cell { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.bulletin-row__lbl { font-size: 1.05rem; color: var(--muted); font-weight: 600; }
.bulletin-row__val { font-weight: 800; font-size: 1.55rem; color: var(--ink); font-family: var(--font-latin); }
@media (max-width: 480px) {
  .bulletin__title { font-size: 1.3rem; }
  .bulletin-row { padding: 1.6rem .6rem 1rem; }
  .bulletin-row__name { font-size: 1.05rem; padding: .22rem 1.1rem; }
  .bulletin-row__cur { font-size: .94rem; padding: .26rem .7rem; }
  .bulletin-row__cols { flex-direction: column; gap: 1.1rem; }
  .bulletin-row__sep { display: none; }
  .bulletin-row__vals:not(:first-child) { padding-top: .9rem; border-top: 1px dashed var(--line-soft); }
  .bulletin-row__vals { gap: 1.1rem; }
  .bulletin-row__lbl { font-size: .96rem; }
}
@media (max-width: 480px) {
  .price-card__body { flex-direction: column; gap: .9rem; padding: .9rem; }
  .price-card__cur:not(:first-child) { padding-top: .9rem; border-top: 1px dashed var(--line-soft); }
  .price-card__cur:not(:first-child)::before { inset-inline-start: 50%; top: -.05rem; transform: translate(-50%, -50%); background: var(--surface); padding: 0 .4rem; }
}
