/* ==========================================================================
   Balance — design system & styles
   Colors from "Balance Brand Color System" (official PDF).
   Logical properties (inline-start/end) make RTL and LTR work from one sheet.
   ========================================================================== */

:root {
  /* Brand palette (official) */
  --brand-blue: #1B5E8F;      /* dominant: headlines, identity, price numbers */
  --brand-green: #3A7D44;     /* supporting: icons, badges; CTA (AA contrast with white) */
  --deep-navy: #2B4B8C;
  --mid-green: #5E9E6A;
  --accent-green: #4CAF7D;    /* highlights, checkmarks, progress, promo */
  --dark-navy: #1A2E52;       /* body text — never pure black */
  --light-bg: #F5F7F9;
  --green-tint: #E8F4EC;
  --blue-tint: #C8DDEF;
  --warm-ivory: #F4F1EB;
  --gold: #E8B84B;            /* premium tier only */
  --white: #FFFFFF;

  /* Semantic tokens */
  --text: var(--dark-navy);
  --text-muted: #4A5B78;      /* 6.6:1 on white, 6.2:1 on light-bg */
  --heading: var(--dark-navy);
  --accent-text: var(--brand-blue);
  --surface: var(--white);
  --surface-alt: var(--light-bg);
  --line: rgba(26, 46, 82, 0.12);
  --line-strong: rgba(26, 46, 82, 0.22);
  --cta: var(--brand-green);
  --cta-hover: #2F6838;
  --cta-text: var(--white);
  --focus: #1B5E8F;

  /* Type */
  --font-display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  --fs-2xl: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  --fs-3xl: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
  --lh-tight: 1.25;
  --lh-body: 1.8;

  /* Spacing (4px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --maxw: 1200px;

  /* Shape & depth */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(26, 46, 82, 0.06), 0 2px 8px rgba(26, 46, 82, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 46, 82, 0.07), 0 16px 40px rgba(26, 46, 82, 0.08);
  --shadow-lg: 0 10px 30px rgba(26, 46, 82, 0.10), 0 30px 80px rgba(26, 46, 82, 0.12);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}
html[lang="en"] { --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --lh-body: 1.65; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh-body); color: var(--text); background: var(--surface-alt); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-text); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: var(--lh-tight); margin: 0 0 var(--s-4); font-weight: 700; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.4; }
h2 { font-size: var(--fs-2xl); }
h3, .h3 { font-size: var(--fs-lg); }
.h4 { font-size: var(--fs-md); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-tint); color: var(--dark-navy); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
html[dir="rtl"] .ico-dir { transform: scaleX(-1); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 200; background: var(--dark-navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.fine { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.7; }
[hidden] { display: none !important; }

/* ---------- Offer / after-offer toggling ---------- */
.after-only, .after-only-block { display: none !important; }
.bf-over .offer-only, .bf-over .offer-only-block, .bf-over .offer-only-cell { display: none !important; }
.bf-over .after-only { display: inline !important; }
.bf-over div.after-only { display: block !important; }
.bf-over .after-only-block { display: block !important; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--surface); --btn-fg: var(--dark-navy); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 48px; padding: 0.7rem 1.4rem;
  border-radius: var(--r-pill); border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--cta); --btn-fg: var(--cta-text); box-shadow: 0 6px 18px rgba(58, 125, 68, 0.28); }
.btn-primary:hover { --btn-bg: var(--cta-hover); box-shadow: 0 8px 22px rgba(58, 125, 68, 0.34); }
.btn-dark { --btn-bg: var(--dark-navy); --btn-fg: #fff; }
.btn-dark:hover { --btn-bg: var(--brand-blue); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--brand-blue); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--brand-blue); --btn-bg: rgba(27, 94, 143, 0.05); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--dark-navy); --btn-bd: var(--line-strong); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--dark-navy); }
.btn-light:hover { --btn-bg: var(--green-tint); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.5); }
.btn-ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, 0.08); }
.btn-sm { min-height: 42px; padding: 0.5rem 1.1rem; font-size: var(--fs-sm); }
.btn-lg { min-height: 56px; padding: 0.9rem 1.8rem; font-size: var(--fs-md); }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.2rem 0.7rem; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; line-height: 1.6; white-space: nowrap; }
.tag-green { background: var(--green-tint); color: #24592D; }
.tag-soft { background: var(--light-bg); color: var(--brand-blue); }
.tag-gold { background: #FBF0D4; color: #6B4E0B; }
.tag-xs { padding: 0 0.45rem; font-size: 0.72rem; }

/* ---------- Section heads ---------- */
section { position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { color: var(--text-muted); }
.lead { font-size: var(--fs-md); line-height: 1.75; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--brand-green); margin-bottom: var(--s-3); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-pill::before, .eyebrow.light::before { display: none; }
.section-head.light h2, .section-head.light .eyebrow { color: #fff; }
.section-head.light .eyebrow { color: #9FD9B8; }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--dark-navy); color: #fff; font-size: var(--fs-sm); }
.ribbon a { display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 40px; padding: 0.35rem var(--gutter); color: #fff; text-decoration: none; text-align: center; }
.ribbon a:hover span:nth-child(2) { text-decoration: underline; }
.ribbon .ico { color: var(--gold); }
.ribbon-count { font-variant-numeric: tabular-nums; color: #CFE6D7; font-weight: 600; }
.cd-time { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(26, 46, 82, 0.06); }
.header-inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }
.brand { flex: none; display: flex; }
.brand-logo { height: 46px; width: auto; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: clamp(0.6rem, 0.2rem + 1.2vw, 1.6rem); list-style: none; }
.main-nav a { color: var(--dark-navy); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); padding: 0.5rem 0.1rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0.15rem; height: 2px; background: var(--accent-green); transform: scaleX(0); transition: transform .25s var(--ease); border-radius: 2px; }
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.lang-switch { display: inline-flex; align-items: center; min-height: 42px; padding: 0 0.9rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong); color: var(--dark-navy); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.lang-switch[lang="ar"] { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.lang-switch:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + var(--ribbon-h, 0px)) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: var(--s-4) var(--gutter) var(--s-6); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 0.9rem 0; font-size: var(--fs-md); border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-cta-mobile { display: flex; margin-top: var(--s-5); width: 100%; }
  .main-nav { margin-inline-start: 0; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 420px) { .brand-logo { height: 38px; } .lang-switch { padding: 0 0.7rem; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; background: var(--surface); }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(200, 221, 239, 0.65), transparent 70%),
    radial-gradient(45% 55% at 5% 95%, rgba(232, 244, 236, 0.9), transparent 70%); }
html[dir="rtl"] .hero-bg { transform: scaleX(-1); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.eyebrow-pill { padding: 0.4rem 0.95rem; border-radius: var(--r-pill); background: var(--green-tint); color: #24592D; font-size: var(--fs-sm); }
.eyebrow-pill .ico { color: var(--brand-green); }
.hero h1 { font-size: var(--fs-3xl); margin-bottom: var(--s-5); }
.hero h1 span { display: block; }
.h1-a { color: var(--dark-navy); }
.h1-b { color: var(--brand-blue); }
.h1-b::after { content: ""; display: block; width: 84px; height: 5px; border-radius: 4px; margin-top: 0.9rem; background: linear-gradient(90deg, var(--brand-blue), var(--accent-green)); }
html[dir="rtl"] .h1-b::after { background: linear-gradient(-90deg, var(--brand-blue), var(--accent-green)); }
.hero-text { font-size: var(--fs-md); color: var(--text-muted); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-block: var(--s-6) var(--s-4); }
.hero-price { color: var(--text-muted); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hero-price strong { color: var(--brand-blue); font-family: var(--font-display); font-size: var(--fs-md); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; font-size: var(--fs-sm); font-weight: 500; }
.hero-trust .ico { color: var(--accent-green); width: 1.15em; height: 1.15em; stroke-width: 2.4; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden; background: linear-gradient(160deg, var(--blue-tint), var(--green-tint)); box-shadow: var(--shadow-lg); position: relative; }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); pointer-events: none; }
.arch picture, .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.arch-placeholder { width: 100%; height: 100%; display: grid; place-items: center; }
.arch-placeholder img { width: 46%; height: auto; opacity: 0.9; }
.hero-visual::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--brand-blue); opacity: 0.25; }
html[dir="rtl"] .hero-visual::before { inset: -18px auto auto -18px; }
.float-card { position: absolute; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); backdrop-filter: blur(10px); }
.float-card strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--dark-navy); line-height: 1.3; }
.float-card span:not(.fc-icon) { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.4; }
.fc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(27, 94, 143, 0.1); color: var(--brand-blue); flex: none; }
.fc-green { background: var(--green-tint); color: var(--brand-green); }
.float-card-a { bottom: 12%; inset-inline-start: -10%; }
.float-card-b { top: 14%; inset-inline-end: -8%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(78%, 360px); margin-top: var(--s-4); }
  .float-card-a { inset-inline-start: -6%; } .float-card-b { inset-inline-end: -6%; }
  .hero-copy { text-align: start; }
}
@media (max-width: 520px) {
  .hero-visual { width: 74%; }
  .float-card { padding: 0.55rem 0.7rem; gap: 0.5rem; }
  .fc-icon { width: 32px; height: 32px; border-radius: 10px; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Campaign ---------- */
.campaign { padding-block: clamp(1rem, 0.5rem + 2vw, 2rem) var(--section-y); background: var(--surface); }
.campaign-card { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  background: linear-gradient(135deg, var(--dark-navy) 0%, #1F4775 55%, var(--brand-blue) 100%); box-shadow: var(--shadow-lg); }
.campaign-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -220px; background: radial-gradient(closest-side, rgba(76, 175, 125, 0.45), transparent); pointer-events: none; }
.campaign-live { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.campaign h2 { color: #fff; font-size: var(--fs-2xl); }
.campaign .eyebrow { color: #9FD9B8; font-size: var(--fs-md); }
.campaign-text { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-md); }
.campaign-deadline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-md); background: rgba(232, 184, 75, 0.14); border: 1px solid rgba(232, 184, 75, 0.45); color: #FBE7B5; font-weight: 600; margin: 0; }
.campaign-side { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); text-align: center; }
.campaign-upto { font-family: var(--font-display); font-size: var(--fs-md); margin-bottom: var(--s-4); color: rgba(255, 255, 255, 0.9); }
.campaign-upto strong { display: block; font-size: clamp(2.8rem, 2rem + 3vw, 4rem); line-height: 1; color: var(--gold); margin-top: 0.35rem; }
.cd-caption { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.75); margin-bottom: var(--s-3); }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 0.35rem; direction: ltr; margin-bottom: var(--s-3); }
html[dir="rtl"] .countdown { flex-direction: row-reverse; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.cd-num { display: block; width: 100%; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; padding: 0.7rem 0.3rem; border-radius: 14px; background: rgba(255, 255, 255, 0.95); color: var(--dark-navy); }
.cd-label { margin-top: 0.45rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.78); }
.cd-sep { font-family: var(--font-display); font-size: 1.6rem; line-height: 2.6; color: rgba(255, 255, 255, 0.45); }
.cd-foot { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.7); margin-bottom: var(--s-5); }
.campaign-over { position: relative; text-align: center; max-width: 640px; margin-inline: auto; }
.campaign-over h2 { color: #fff; }
.campaign-over p { color: rgba(255, 255, 255, 0.86); }
@media (max-width: 860px) { .campaign-live { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .cd-unit { min-width: 0; flex: 1; } .cd-sep { display: none; } .countdown { gap: 0.4rem; } .campaign-side { padding: 1rem; } .campaign-deadline { font-size: var(--fs-sm); } }

/* ---------- Packages ---------- */
.packages { padding-block: var(--section-y); background: var(--surface-alt); }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 0.6rem + 1vw, 1.5rem); align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5) var(--s-5); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg-name { font-size: 1.35rem; letter-spacing: 0.06em; color: var(--brand-blue); margin-bottom: 0.2rem; direction: ltr; text-align: start; }
html[dir="rtl"] .pkg-name { text-align: right; }
.pkg-duration { font-weight: 600; color: var(--dark-navy); margin-bottom: var(--s-2); }
.pkg-emphasis { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--green-tint); color: #24592D; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); padding: 0.35rem 0.8rem; border-radius: var(--r-sm); margin-bottom: var(--s-2); }
.pkg-emphasis .ico { color: var(--brand-green); }
.price { padding-block: var(--s-4); margin-block: var(--s-2) var(--s-4); border-block: 1px dashed var(--line-strong); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.7rem; }
.price-now { font-family: var(--font-display); color: var(--brand-blue); line-height: 1; }
.price-now .num { font-size: clamp(2.1rem, 1.7rem + 1.2vw, 2.6rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.price-now .cur { font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
.price-was { color: var(--text-muted); font-size: var(--fs-sm); }
.price-was s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(26, 46, 82, 0.55); }
.price-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--s-3); }
.per-month { font-size: var(--fs-xs); color: var(--text-muted); margin: var(--s-2) 0 0; }
.price-request { font-family: var(--font-display); font-weight: 600; color: var(--brand-blue); margin: 0; }
.pkg-summary { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.75; }
.pkg-list { list-style: none; display: grid; gap: 0.55rem; margin-bottom: var(--s-5); font-size: var(--fs-sm); line-height: 1.55; }
.pkg-list li { display: flex; gap: 0.55rem; align-items: flex-start; }
.pkg-list .ico { color: var(--accent-green); stroke-width: 2.4; width: 1.1em; height: 1.1em; margin-top: 0.2em; }
.pkg .btn { margin-top: auto; white-space: normal; text-align: center; font-size: var(--fs-sm); padding-inline: 1rem; }
.pkg-badge { position: absolute; top: -14px; inset-inline-start: var(--s-5); margin: 0; padding: 0.3rem 0.9rem; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); background: var(--accent-green); color: var(--dark-navy); box-shadow: var(--shadow-sm); white-space: nowrap; }
/* Featured: BUILD */
.pkg-featured { border: 2px solid var(--accent-green); box-shadow: 0 12px 40px rgba(76, 175, 125, 0.18); }
.pkg-featured::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(232, 244, 236, 0.75), rgba(255, 255, 255, 0) 45%); pointer-events: none; }
.pkg-featured > * { position: relative; }
/* Premium: BEST VALUE (gold, per brand guide) */
.pkg-premium { background: linear-gradient(170deg, var(--dark-navy), #203A66 60%, #24467A); color: #fff; border: 1px solid rgba(232, 184, 75, 0.5); box-shadow: 0 16px 50px rgba(26, 46, 82, 0.28); }
.pkg-premium .pkg-badge { background: var(--gold); color: #3B2A05; }
.pkg-premium .pkg-name, .pkg-premium .price-now { color: var(--gold); }
.pkg-premium .pkg-duration, .pkg-premium .pkg-list { color: #fff; }
.pkg-premium .pkg-summary, .pkg-premium .price-was, .pkg-premium .per-month, .pkg-premium .price-now .cur { color: rgba(255, 255, 255, 0.78); }
.pkg-premium .price-was s { text-decoration-color: rgba(255, 255, 255, 0.6); }
.pkg-premium .price { border-color: rgba(255, 255, 255, 0.22); }
.pkg-premium .tag-green { background: rgba(76, 175, 125, 0.2); color: #BFE8D0; }
.pkg-premium .tag-soft { background: rgba(255, 255, 255, 0.1); color: #fff; }
.pkg-premium .pkg-list .ico { color: var(--gold); }
.pkg-premium .price-request { color: var(--gold); }
@media (max-width: 1100px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } }
@media (max-width: 620px) { .pkg-grid { grid-template-columns: 1fr; } .pkg-featured { order: -1; } }

.pkg-compare { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--s-3); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
th, td { padding: 0.85rem 0.75rem; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font-family: var(--font-display); font-weight: 600; color: var(--text-muted); font-size: var(--fs-xs); }
tbody th { font-family: var(--font-display); color: var(--brand-blue); direction: ltr; }
html[dir="rtl"] tbody th { text-align: right; }
tbody tr.hl { background: var(--green-tint); }
td s { color: var(--text-muted); margin-inline-start: 0.35rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.pkg-help { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--s-3) var(--s-4); margin-top: var(--s-6); text-align: center; }
.pkg-help p { margin: 0; font-weight: 600; }

/* ---------- Included ---------- */
.included { padding-block: var(--section-y); background: var(--green-tint); }
.inc-grid { list-style: none; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.9rem, 0.5rem + 1vw, 1.4rem); counter-reset: inc; }
.inc { grid-column: span 3; position: relative; background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6) var(--s-5) var(--s-5); border: 1px solid rgba(58, 125, 68, 0.12); transition: transform .3s var(--ease), box-shadow .3s; }
.inc:nth-child(5), .inc:nth-child(6), .inc:nth-child(7) { grid-column: span 4; }
.inc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.inc-num { position: absolute; top: var(--s-4); inset-inline-end: var(--s-5); font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: rgba(27, 94, 143, 0.35); }
.inc-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg, var(--brand-blue), var(--deep-navy)); color: #fff; margin-bottom: var(--s-4); }
.inc-icon .ico { width: 26px; height: 26px; }
.inc:nth-child(even) .inc-icon { background: linear-gradient(145deg, var(--brand-green), var(--mid-green)); }
.inc h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.inc p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; line-height: 1.75; }
@media (max-width: 1000px) { .inc, .inc:nth-child(5), .inc:nth-child(6), .inc:nth-child(7) { grid-column: span 6; } .inc:nth-child(7) { grid-column: span 12; } }
@media (max-width: 560px) { .inc, .inc:nth-child(n) { grid-column: span 12; } }

/* ---------- How it works ---------- */
.how { padding-block: var(--section-y); background: var(--surface); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-tint) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding-inline: var(--s-2); }
.step-num { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto var(--s-4); border-radius: 50%; background: #fff; border: 2px solid var(--brand-blue); color: var(--brand-blue); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; box-shadow: 0 0 0 8px #fff; }
.step:last-child .step-num { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.step h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.step p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.center-cta { display: flex; justify-content: center; margin-top: var(--s-7); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: var(--s-5); }
  .steps::before { top: 28px; bottom: 28px; inset-inline-start: 27px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-tint) 0 10px, transparent 10px 18px); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--s-4); text-align: start; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 0.7rem; }
}

/* ---------- Philosophy ---------- */
.philosophy { padding-block: var(--section-y); background: var(--warm-ivory); }
.philo-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.display { font-size: var(--fs-3xl); color: var(--brand-blue); margin-bottom: var(--s-5); }
.philo-line { font-size: var(--fs-md); line-height: 1.85; color: var(--dark-navy); max-width: 34em; }
.philo-line:first-of-type { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); }
.philo-quote { margin: var(--s-6) 0 0; padding-inline-start: var(--s-5); border-inline-start: 4px solid var(--accent-green); }
.philo-quote p { font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.6; color: var(--text-muted); margin: 0; }
.philo-quote strong { color: var(--brand-green); font-weight: 700; }
.pillars { list-style: none; display: grid; gap: var(--s-4); }
.pillar { display: flex; gap: var(--s-4); align-items: flex-start; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--brand-blue); flex: none; box-shadow: var(--shadow-sm); }
.pillar h3 { font-size: var(--fs-md); margin-bottom: 0.25rem; }
.pillar p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .philo-grid { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { padding-block: var(--section-y); background: var(--surface); }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.founder-photo { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.founder-photo picture, .founder-placeholder { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.founder-photo img.founder-img, .founder-photo picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.founder-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--r-xl); background: var(--green-tint); z-index: -1; }
html[dir="rtl"] .founder-photo::before { inset: 22px 22px -22px -22px; }
.founder-placeholder { display: grid; place-items: center; align-content: center; gap: var(--s-4); background: linear-gradient(160deg, var(--blue-tint), var(--green-tint)); }
.founder-placeholder img { width: 40%; }
.founder-placeholder span { font-family: var(--font-display); font-weight: 600; color: var(--brand-blue); }
.founder-sign { position: absolute; bottom: 20px; inset-inline: 20px; padding: 0.8rem 1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-md); backdrop-filter: blur(8px); }
.founder-sign strong { display: block; font-family: var(--font-display); color: var(--dark-navy); }
.founder-sign span { font-size: var(--fs-xs); color: var(--text-muted); }
.founder-hello { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: var(--brand-blue); }
.founder-copy > p:not(.eyebrow) { color: var(--text-muted); }
.founder-copy > p.founder-hello { color: var(--brand-blue); }
.cred-title { font-size: var(--fs-sm); color: var(--text-muted); font-weight: 600; margin-top: var(--s-6); margin-bottom: var(--s-3); }
.creds { list-style: none; display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.cred { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--line); background: linear-gradient(90deg, rgba(200, 221, 239, 0.25), rgba(255, 255, 255, 0)); }
html[dir="rtl"] .cred { background: linear-gradient(-90deg, rgba(200, 221, 239, 0.25), rgba(255, 255, 255, 0)); }
.cred-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--brand-blue); color: #fff; }
.cred-type { display: block; font-size: var(--fs-xs); color: var(--brand-green); font-weight: 600; }
.cred strong { display: block; font-weight: 600; line-height: 1.55; font-size: var(--fs-sm); color: var(--dark-navy); }
@media (max-width: 900px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 360px; } }

/* ---------- Story / timeline ---------- */
.story { padding-block: var(--section-y); background: linear-gradient(180deg, var(--warm-ivory), #FBF9F5); }
.story-wrap { max-width: 900px; }
.story .section-head h2 { font-size: var(--fs-xl); }
.timeline { list-style: none; position: relative; padding-inline-start: 44px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 13px; width: 2px; background: linear-gradient(180deg, var(--blue-tint), var(--accent-green)); }
.tl-item { position: relative; padding-bottom: var(--s-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; inset-inline-start: -44px; top: 4px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-blue); color: var(--accent-green); }
.tl-item:last-child .tl-dot { width: 34px; height: 34px; inset-inline-start: -47px; background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.tl-dot .ico { width: 18px; height: 18px; }
.tl-label { font-size: var(--fs-xs); font-weight: 600; color: var(--brand-green); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.06em; }
html[lang="ar"] .tl-label { letter-spacing: 0; }
.tl-item h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.tl-item p:last-child { font-size: var(--fs-md); line-height: 1.9; color: #34466A; margin: 0; }
.story-sign { font-family: var(--font-display); font-weight: 600; color: var(--brand-blue); font-size: var(--fs-md); margin-top: var(--s-6); padding-inline-start: 44px; }
.story-note { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-muted); }
.story-note .ico { color: var(--brand-blue); margin-top: 0.25em; }

/* ---------- About ---------- */
.about { padding-block: var(--section-y); background: var(--surface-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.about-intro h2 { color: var(--brand-blue); }
.mv { display: grid; gap: var(--s-4); }
.mv-card { background: #fff; border-radius: var(--r-lg); padding: var(--s-5); border: 1px solid var(--line); }
.mv-card h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); display: inline-block; }
.mv-card p { margin: 0; color: var(--text-muted); font-size: var(--fs-sm); }
.mv-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green-tint); color: var(--brand-green); margin-bottom: var(--s-3); }
.diff { grid-column: 1 / -1; background: var(--dark-navy); color: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.diff h3 { color: #fff; font-size: var(--fs-lg); }
.diff ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-6); }
.diff li { display: flex; gap: 0.7rem; align-items: flex-start; color: rgba(255, 255, 255, 0.9); }
.diff .ico { color: var(--accent-green); stroke-width: 2.4; margin-top: 0.25em; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .diff ul { grid-template-columns: 1fr; } }

/* ---------- Impact ---------- */
.impact { padding-block: var(--section-y); background: linear-gradient(135deg, var(--dark-navy), var(--brand-blue)); color: #fff; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stat { text-align: center; padding: var(--s-6) var(--s-4); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; margin-bottom: var(--s-2); direction: ltr; }
.stat-pending .stat-num { font-size: var(--fs-sm); font-family: ui-monospace, monospace; color: var(--gold); padding: 0.9rem 0; border: 1px dashed rgba(232, 184, 75, 0.6); border-radius: var(--r-sm); }
.stat-label { color: rgba(255, 255, 255, 0.82); font-size: var(--fs-sm); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Success stories ---------- */
.stories { padding-block: var(--section-y); background: var(--surface); }
.story-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-bottom: var(--s-5); }
.story-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--line); }
.ba figure { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--light-bg); }
.ba picture, .ba img { width: 100%; height: 100%; object-fit: cover; }
.ba figcaption { position: absolute; bottom: 10px; inset-inline-start: 10px; padding: 0.15rem 0.7rem; border-radius: var(--r-pill); background: #fff; color: var(--dark-navy); font-weight: 700; font-size: var(--fs-xs); box-shadow: var(--shadow-sm); }
.ba figcaption.after { background: var(--accent-green); color: var(--dark-navy); }
.story-body { padding: var(--s-5); }
.story-metric { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--brand-green); margin-bottom: var(--s-2); }
.story-metric span { font-size: var(--fs-sm); color: var(--text-muted); font-weight: 500; }
.story-body blockquote { margin: 0 0 var(--s-3); padding-inline-start: var(--s-3); border-inline-start: 3px solid var(--accent-green); color: var(--text-muted); font-style: italic; }
.story-who { font-size: var(--fs-xs); color: var(--text-muted); margin: 0; }
.story-placeholder .ba-empty { aspect-ratio: 8 / 5; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: transparent; padding: var(--s-4) var(--s-4) 0; }
.ba-empty span { display: grid; place-items: center; border-radius: var(--r-md); border: 2px dashed var(--line-strong); color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm); background: var(--light-bg); }
.story-placeholder h3 { font-size: var(--fs-md); direction: ltr; text-align: start; }
html[dir="rtl"] .story-placeholder h3 { text-align: right; }
.story-placeholder p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
@media (max-width: 960px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section-y); background: var(--surface-alt); }
.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-more { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-3); justify-items: start; }
.faq-more p { margin: 0; font-weight: 600; }
.link-wa { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--brand-green); font-weight: 600; text-decoration: none; }
.link-wa:hover { text-decoration: underline; }
.faq-list { display: grid; gap: var(--s-3); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: rgba(27, 94, 143, 0.35); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 1.05rem 1.25rem; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--dark-navy); min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { color: var(--brand-blue); transition: transform .25s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 1.25rem 1.15rem; color: var(--text-muted); }
.faq-a p { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- Final CTA (Navy → Accent Green, per brand guide) ---------- */
.final-cta { padding-block: var(--section-y); background: linear-gradient(120deg, var(--dark-navy) 0%, #1D4A6E 55%, #2E7D61 100%); color: #fff; text-align: center; overflow: hidden; }
.final-inner { max-width: 760px; }
.final-mark { margin: 0 auto var(--s-4); background: #fff; border-radius: 50%; padding: 10px; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, 0.85); font-size: var(--fs-md); }
.final-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }

/* ---------- Footer ---------- */
.site-footer { background: #13223F; color: rgba(255, 255, 255, 0.78); padding-block: var(--s-8) var(--s-6); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr; gap: var(--s-6); }
.footer-brand img { height: 52px; width: auto; margin-bottom: var(--s-4); }
.footer-h { color: #fff; font-size: var(--fs-sm); margin-bottom: var(--s-3); margin-top: 0; }
.footer-h + .share { margin-bottom: 0; }
.footer-links { list-style: none; display: grid; gap: 0.55rem; margin-bottom: var(--s-5); }
.footer-links a, .footer-links button { color: rgba(255, 255, 255, 0.82); text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; }
.footer-links a:hover, .footer-links button:hover { color: #fff; text-decoration: underline; }
.social { list-style: none; display: flex; gap: var(--s-2); }
.social a, .share a, .share button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; background: transparent; transition: background .2s, border-color .2s; }
.social a:hover, .share a:hover, .share button:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.share { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.share button { width: auto; padding-inline: 0.9rem; border-radius: var(--r-pill); display: inline-flex; gap: 0.4rem; font-size: var(--fs-xs); }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: var(--s-2); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(26, 46, 82, 0.08); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta-text { font-size: var(--fs-xs); line-height: 1.4; color: var(--text-muted); }
.sticky-cta-text strong { display: block; color: var(--dark-navy); font-size: var(--fs-sm); font-family: var(--font-display); }
.sticky-cta [data-countdown-inline] { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .sticky-cta { display: flex; } body.page-home { padding-bottom: 72px; } }

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 45; inset-inline-start: 20px; bottom: 20px; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: var(--s-5); font-size: var(--fs-sm); }
.consent p { margin-bottom: var(--s-4); }
.consent-actions { display: flex; gap: var(--s-2); justify-content: flex-end; }
@media (max-width: 760px) { .consent { inset-inline: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: none; } }

/* ---------- Legal pages ---------- */
.legal { padding-block: var(--s-8); }
.legal-doc { max-width: 780px; margin-inline: auto; background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border: 1px solid var(--line); }
.legal-doc h1 { font-size: var(--fs-2xl); color: var(--brand-blue); }
.legal-doc h2 { font-size: var(--fs-md); margin-top: var(--s-6); }
.legal-doc ul { padding-inline-start: 1.25rem; display: grid; gap: 0.4rem; margin-bottom: var(--s-4); }
.legal-updated { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--s-10); text-align: center; }
.nf-code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 700; color: var(--blue-tint); line-height: 1; margin: 0; }
.nf-en { color: var(--text-muted); }
.notfound .hero-ctas { justify-content: center; }

/* ---------- Reveal animation (subtle, respects reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Admin dashboard ---------- */
.page-admin { background: var(--light-bg); }
.admin-head { background: #fff; border-bottom: 1px solid var(--line); }
.admin-head .container { display: flex; align-items: center; gap: var(--s-4); min-height: 72px; }
.admin-head h1 { font-size: var(--fs-md); margin: 0; }
.admin { padding-block: var(--s-6) var(--s-8); }
.admin .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); margin-bottom: var(--s-4); }
.admin label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.admin input { width: 100%; max-width: 420px; min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0 0.8rem; font: inherit; }
.admin .row { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; margin-top: var(--s-3); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-3); margin-bottom: var(--s-4); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4); }
.kpi span { display: block; font-size: var(--fs-xs); color: var(--text-muted); }
.kpi strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-4); }
.bars { list-style: none; display: grid; gap: 0.55rem; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 0.75rem; font-size: var(--fs-sm); }
.bars .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--light-bg); overflow: hidden; }
.bars .bar i { display: block; height: 100%; border-radius: 4px; background: var(--brand-blue); }
.bars .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .val { font-variant-numeric: tabular-nums; font-weight: 600; }
.demo-banner { background: #FBF0D4; color: #5B430B; border: 1px solid rgba(232, 184, 75, 0.6); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); font-weight: 700; margin-bottom: var(--s-4); }
.admin .muted { color: var(--text-muted); font-size: var(--fs-sm); }
.admin code { background: var(--light-bg); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.9em; }

/* ---------- Print ---------- */
@media print { .site-header, .ribbon, .sticky-cta, .consent, .final-cta { display: none !important; } body { background: #fff; } }
