/* Cairo (SIL OFL 1.1) - self-hosted variable font, works offline. Files + license in ../fonts/ */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(../fonts/cairo-arabic-wght-normal.woff2) format('woff2');
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(../fonts/cairo-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ===== Theme tokens (from professional_..._campaign.html) ===== */
:root {
  --bg: #FFFCF7;
  --surface: #FFFFFF;
  --surface-2: #FFF7EB;
  --text: #141210;
  --text-muted: #7A746C;
  --line: #F0E6D6;
  --red: #C91C2C;
  --red-deep: #A11622;
  --gold: #C8A951;
  --gold-light: #F6E9C6;
  --black: #121212;
  --green: #0E7A4C;
  --radius: 24px;
  --max: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121010;
    --surface: #1C1917;
    --surface-2: #24211E;
    --text: #F5EFE6;
    --text-muted: #A8A29A;
    --line: #2E2A26;
    --gold-light: #3A3118;
  }
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.container { max-width: var(--max); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }
.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 80px; } }
.muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Buttons / chips ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 800; font-size: 14px;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--black); color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.btn-dark:hover { background: #000; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-wa { background: #25D366; color: #000; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em;
  background: var(--gold-light); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
[hidden] { display: none !important; }

/* ===== Header ===== */
.topbar {
  background: var(--black); color: #fff; border-bottom: 3px solid var(--gold);
  font-size: 13px; font-weight: 700;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.topbar .pill { background: var(--gold); color: #000; font-size: 11px; font-weight: 900; padding: 3px 12px; border-radius: 999px; letter-spacing: .08em; }
.topbar span.t { color: rgba(255,255,255,.75); }
@media (max-width: 600px) {
  .topbar span.t { display: none; }
  .stat b { font-size: 17px; }
  .brand small { display: none; }
}

header.site {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
header.site .container { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; background: #fff; }
.brand b { display: block; font-size: 15px; font-weight: 900; line-height: 1.2; }
.brand small { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); letter-spacing: .06em; }
nav.main { display: none; gap: 24px; font-size: 14px; font-weight: 800; }
nav.main a:hover { color: var(--red); }
@media (min-width: 768px) { nav.main { display: flex; } }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--surface-2), var(--bg) 55%, color-mix(in srgb, var(--gold-light) 60%, transparent)); }
.hero::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--black), var(--gold)); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 60px solid var(--line); opacity: .6; inset-inline-start: -220px; top: -180px; pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; padding-block: 48px 64px; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.1fr .9fr; padding-block: 72px 88px; } }
.hero h1 { font-weight: 900; line-height: 1.3; letter-spacing: -.01em; font-size: clamp(36px, 7vw, 68px); margin-top: 18px; }
.hero h1 small { display: block; font-size: clamp(16px, 2.5vw, 22px); font-weight: 700; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--red); position: relative; display: inline-block; }
.hero h1 em::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -4px; width: 120px; height: 6px; background: var(--gold); border-radius: 999px; }
.hero .role { margin-top: 28px; font-size: clamp(16px, 2vw, 19px); font-weight: 700; color: var(--text-muted); max-width: 56ch; }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 460px; }
.stat { background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-align: center; }
.stat b { display: block; font-size: 22px; font-weight: 900; line-height: 1.2; }
.stat span { font-size: 12px; font-weight: 700; color: var(--text-muted); }

.portrait { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.portrait .frame { border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 30px 60px -25px rgba(0,0,0,.35); position: relative; aspect-ratio: 4/5; }
.portrait .frame::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 6px; z-index: 2; background: linear-gradient(90deg, var(--red), var(--gold)); }
.portrait img.photo { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait .logo-badge { position: absolute; bottom: -18px; inset-inline-start: -12px; width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); box-shadow: 0 12px 28px -8px rgba(0,0,0,.4); overflow: hidden; z-index: 3; }
.portrait .logo-badge img { width: 100%; height: 100%; object-fit: cover; }
.portrait .tag { position: absolute; bottom: 24px; inset-inline-end: -8px; z-index: 3; background: var(--black); color: #fff; border: 1px solid var(--gold); border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 13px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }

/* ===== Section heading ===== */
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
@media (min-width: 768px) { .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.2; margin-top: 12px; }
.sec-head p { max-width: 46ch; color: var(--text-muted); font-weight: 700; font-size: 14px; }

/* ===== About ===== */
.about-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .9fr 1.1fr; } }
.card-dark { position: relative; overflow: hidden; background: var(--black); color: #fff; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) { .card-dark { padding: 40px; } }
.card-dark::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--gold); }
.card-dark .eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .12em; font-size: 12px; }
.card-dark h3 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; line-height: 1.3; }
.card-dark p { color: rgba(255,255,255,.85); font-weight: 600; font-size: 16px; }
.card-dark .suit { margin-top: auto; border-radius: 20px; overflow: hidden; max-height: 360px; border: 1px solid rgba(255,255,255,.12); background: #fff; }
.card-dark .suit img { width: 100%; height: 360px; object-fit: cover; object-position: top; }
.values { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .values { grid-template-columns: 1fr 1fr; } }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.value .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--red) 10%, transparent); color: var(--red); display: grid; place-items: center; }
.value:nth-child(even) .ico { background: var(--gold-light); color: var(--black); }
@media (prefers-color-scheme: dark) { .value:nth-child(even) .ico { color: var(--gold); } }
.value h4 { font-weight: 900; font-size: 16px; line-height: 1.4; }
.value p { font-size: 13px; color: var(--text-muted); font-weight: 700; }
.value svg { width: 24px; height: 24px; }
.value.wide { grid-column: 1 / -1; }

/* ===== Program ===== */
.program { background: var(--surface); border-block: 1px solid var(--line); }
.prog-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .prog-grid { grid-template-columns: 340px 1fr; align-items: start; } }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .tabs { flex-direction: column; overflow: visible; position: sticky; top: 92px; padding: 0; } }
.tab { flex: none; display: flex; align-items: center; gap: 12px; text-align: start; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 800; font-size: 14px; line-height: 1.3; transition: all .15s; min-width: 220px; }
@media (min-width: 1024px) { .tab { min-width: 0; } }
.tab:hover { background: var(--surface); border-color: var(--gold); }
.tab .n { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-weight: 900; font-size: 17px; }
.tab small { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); margin-top: 2px; }
.tab[aria-selected="true"] { background: var(--black); color: #fff; border-color: var(--black); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.tab[aria-selected="true"] .n { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: var(--gold); }
.tab[aria-selected="true"] small { color: rgba(255,255,255,.65); }

.panel { position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 768px) { .panel { padding: 32px; } }
.panel::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--black), var(--gold)); }
.panel-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.panel-head .l { display: flex; gap: 16px; align-items: flex-start; }
.panel-head .num { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 24px; }
.panel-head h3 { font-size: clamp(17px, 2.4vw, 22px); font-weight: 900; line-height: 1.45; }
.panel-head p { color: var(--text-muted); font-weight: 700; font-size: 14px; margin-top: 4px; }
.count { flex: none; background: var(--gold); color: #000; font-size: 12px; font-weight: 900; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.items { margin-top: 24px; display: grid; gap: 12px; list-style: none; padding: 0; }
.item { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.item .b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-light); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.item p { font-size: 15px; font-weight: 600; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.panel-nav { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note { margin-top: 24px; background: var(--black); color: #fff; border-radius: 16px; padding: 16px 20px; font-size: 13px; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.note b { color: var(--gold); }

/* ===== Share ===== */
.share { display: grid; gap: 24px; }
@media (min-width: 900px) { .share { grid-template-columns: 1fr 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.box h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.box p { color: var(--text-muted); font-weight: 700; font-size: 14px; }
.box .btns { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.box.slogan { background: var(--black); color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.box.slogan::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--gold); }
.box.slogan .big { font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: var(--gold); line-height: 1.3; }
.box.slogan p { color: rgba(255,255,255,.7); margin-top: 10px; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--line); background: var(--surface); }
footer .container { padding-block: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer .brand img { width: 52px; height: 52px; }
footer .copy { width: 100%; text-align: center; font-size: 12px; font-weight: 700; color: var(--text-muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 24px; inset-inline: 0; margin-inline: auto; width: fit-content; max-width: calc(100% - 32px); z-index: 100; background: var(--black); color: #fff; border: 1px solid var(--gold); padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .25s; }
.toast.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Print: the whole program on paper ===== */
@media print {
  .no-print, .topbar, header.site, .tabs, .panel-nav, .note, .share-section { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { background: #fff; }
  .panel[hidden], .print-all { display: block !important; }
}
