/* ==========================================================================
   dr-albar.com — design system v3 (educational platform redesign)
   ========================================================================== */

:root {
  /* neutrals */
  --ink:        #0b1d2e;
  --ink-2:      #2d4a5e;
  --ink-3:      #5f7e90;
  --line:       #d4e6ef;
  --line-2:     #eaf3f7;
  --bg:         #ffffff;
  --bg-2:       #f4f9fc;
  --bg-3:       #e6f2f7;

  /* brand — vibrant teal */
  --brand:      #009d8e;
  --brand-2:    #007a6d;
  --brand-3:    #005549;
  --brand-tint: #dcf3f0;

  /* accents */
  --amber:      #d4872c;
  --amber-tint: #fdf4e4;
  --violet:     #5b51d4;
  --violet-tint:#eceafd;
  --rose:       #c93856;
  --wa:         #25d366;

  /* shape */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --maxw: 1200px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(11,29,46,.05), 0 3px 10px rgba(11,29,46,.04);
  --sh-2: 0 2px 6px rgba(11,29,46,.06), 0 14px 36px rgba(11,29,46,.09);
  --sh-3: 0 4px 12px rgba(11,29,46,.07), 0 28px 64px rgba(11,29,46,.13);

  --ease: cubic-bezier(.22,.72,.24,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand, .stat-n, .step-n, .btn {
  font-family: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-2); }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.wrap    { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 780px;       margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { inset-inline-start: 0; color: #fff; }

/* ==========================================================================
   header
   ========================================================================== */

header.site {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
header.site.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11,29,46,.07);
}

.nav {
  display: flex; align-items: center; gap: 12px;
  height: 72px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.08rem; font-weight: 700; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 28px; height: 44px; flex: none; display: block;
  background: url(/assets/calligraphy-sig.jpg) center / contain no-repeat;
  /* إظهار الخط الأسود بلون العلامة التجارية */
  filter: saturate(0) contrast(2) brightness(.3) sepia(1) hue-rotate(150deg) saturate(3);
  transition: transform .25s ease, opacity .2s ease;
  opacity: .85;
}
.brand:hover .mark { transform: translateY(-2px) rotate(-2deg); opacity: 1; }

.brand b { font-weight: 700; color: var(--brand); }

.nav-links {
  margin-inline-start: auto;
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  color: var(--ink-2); font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 10px;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--brand-2); background: var(--brand-tint); font-weight: 600; }

.nav-cta { margin-inline-start: 12px; }

.burger {
  display: none; margin-inline-start: auto;
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; position: relative;
  width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0;
  width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .burger { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 16px 24px 28px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2);
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .22s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  font-size: .97rem; font-weight: 700; font-family: inherit;
  color: #fff; background: var(--brand);
  border: 1.5px solid transparent; border-radius: 12px;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--spring), box-shadow .2s var(--ease), background .2s var(--ease);
  box-shadow: 0 2px 8px rgba(0,157,142,.28);
}
.btn:hover { background: var(--brand-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,157,142,.35); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn.ghost {
  background: #fff; color: var(--ink); border-color: var(--line);
  box-shadow: var(--sh-1);
}
.btn.ghost:hover { background: var(--bg-2); color: var(--ink); border-color: #b8d2dc; box-shadow: var(--sh-2); }

.btn.light {
  background: rgba(255,255,255,.14); color: #fff;
  border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); box-shadow: none;
}
.btn.light:hover { background: rgba(255,255,255,.24); }


.btn.sm { padding: 9px 18px; font-size: .88rem; border-radius: 10px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.lnk {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .95rem;
}
.lnk::after {
  content: "‹"; font-size: 1.3em; line-height: 1;
  transition: transform .2s var(--ease);
}
.lnk:hover::after { transform: translateX(-4px); }

/* ==========================================================================
   hero — educational platform style
   ========================================================================== */

.hero {
  position: relative; isolation: isolate;
  padding: 110px 0 120px;
  background: #071929;
  color: #c8dde6;
  overflow: hidden;
}

/* Grid dot pattern overlay */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 900px 600px at 40% 50%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 900px 600px at 40% 50%, #000 0%, transparent 75%);
}

/* Radial glow effects */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 800px 500px at 75% 15%,  rgba(0,180,162,.3), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 85%, rgba(212,135,44,.18), transparent 60%),
    radial-gradient(ellipse 500px 300px at 85% 80%, rgba(91,81,212,.15), transparent 60%);
  pointer-events: none;
}

.hero .arcs {
  position: absolute; z-index: 1;
  inset-inline-end: -60px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; opacity: .3;
  pointer-events: none;
}

/* الختم القديم — مخفي الآن لصالح calligraphy-sig */
.hero-seal { display: none; }

/* التوقيع الخطّي الحقيقي للدكتور */
.hero-calligraphy {
  position: absolute; z-index: 1; pointer-events: none;
  inset-inline-end: 80px; top: 50%; transform: translateY(-50%);
  width: 230px; height: auto;
  filter: invert(1) drop-shadow(0 0 30px rgba(61,217,184,.35));
  mix-blend-mode: screen;
  opacity: .75;
  animation: sigIn 1.4s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes sigIn {
  from { opacity: 0; transform: translateY(-48%) scale(.88) rotate(-4deg); }
  to   { opacity: .75; transform: translateY(-50%) scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-calligraphy { animation: none; } }
@media (max-width: 1100px) { .hero-calligraphy, .hero .arcs { display: none; } }

.hero .wrap { position: relative; z-index: 2; }

/* Subject tag pill */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 12px;
  font-size: .83rem; font-weight: 600;
  color: #7ddec9;
  background: rgba(0,180,162,.1);
  border: 1px solid rgba(0,180,162,.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3dd9b8; flex: none;
  box-shadow: 0 0 0 4px rgba(61,217,184,.2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(61,217,184,.22); }
  50%      { box-shadow: 0 0 0 9px rgba(61,217,184,0); }
}

.hero h1 {
  margin: 28px 0 22px;
  max-width: 18ch;
  font-size: clamp(2.3rem, 6.5vw, 4.2rem);
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(110deg, #3dd9b8 0%, #e8c257 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero .sub {
  max-width: 56ch; margin: 0 0 38px;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.9;
  color: #8fb8c4;
}

/* Stats strip */
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.hero-stats .s {
  flex: 1 1 160px;
  padding: 20px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.hero-stats .s:hover {
  background: rgba(0,180,162,.12);
  border-color: rgba(0,180,162,.28);
}
.hero-stats .s .stat-n {
  display: block; font-size: 1.6rem; color: #fff; line-height: 1.15;
  margin-bottom: 5px; font-weight: 800;
}
.hero-stats .s .stat-l { font-size: .84rem; color: #7da8b4; line-height: 1.65; }

/* ==========================================================================
   band sections
   ========================================================================== */

.band { padding: 96px 0; position: relative; }
.band.soft { background: var(--bg-2); }
.band.tint { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); }
.band.tight { padding: 60px 0; }
.band.dark {
  background: #071929;
  background-image:
    radial-gradient(ellipse 700px 400px at 80% 20%, rgba(0,157,142,.2), transparent 55%),
    radial-gradient(ellipse 500px 300px at 15% 85%, rgba(91,81,212,.15), transparent 55%);
  color: #a8c8d4;
}

.sec-head { max-width: 64ch; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block; width: 18px; height: 2px;
  background: var(--brand); border-radius: 2px;
  flex: none;
}
.band.dark .eyebrow { color: #3dd9b8; }
.band.dark .eyebrow::before { background: #3dd9b8; }

h2.sec {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 4.4vw, 2.5rem);
  letter-spacing: -.03em; font-weight: 800;
}
.band.dark h2.sec { color: #fff; }
p.sec-sub { margin: 0; font-size: 1.07rem; color: var(--ink-3); line-height: 1.9; }
.band.dark p.sec-sub { color: #7da8b4; }

/* ==========================================================================
   section cards — course/path style
   ========================================================================== */

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid.two   { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.four  { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Base card */
.card {
  position: relative; display: block;
  padding: 32px 28px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink-2);
  transition: transform .26s var(--spring), box-shadow .26s var(--ease), border-color .22s var(--ease);
}
.card h3 { margin: 0 0 10px; font-size: 1.16rem; }
.card p  { margin: 0; font-size: .95rem; color: var(--ink-3); line-height: 1.82; }

/* Hover arrow indicator */
a.card { color: var(--ink-2); }
a.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-3);
  border-color: #b4d4dc;
  color: var(--ink-2);
}
a.card::after {
  content: "‹";
  position: absolute; inset-inline-start: 26px; bottom: 22px;
  font-size: 1.5rem; line-height: 1; color: var(--brand);
  opacity: 0; transform: translateX(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
a.card:hover::after { opacity: 1; transform: none; }
a.card { padding-bottom: 54px; }

/* Feature card — colored top stripe */
.card.feat { overflow: hidden; }
.card.feat::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0; transition: opacity .26s var(--ease);
}
a.card.feat:hover::before { opacity: 1; }
.card.feat.c-teal::before   { background: linear-gradient(90deg, #009d8e, #3dd9b8); }
.card.feat.c-violet::before { background: linear-gradient(90deg, #5b51d4, #8b82f0); }
.card.feat.c-amber::before  { background: linear-gradient(90deg, #d4872c, #f0b464); }
.card.feat.c-slate::before  { background: linear-gradient(90deg, #4a6e7e, #7da8b4); }

/* Card icon */
.ico {
  width: 52px; height: 52px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--brand-tint); color: var(--brand-2);
  transition: transform .2s var(--spring);
}
a.card:hover .ico { transform: scale(1.08); }
.ico svg { width: 24px; height: 24px; }
.ico.amber  { background: var(--amber-tint);  color: var(--amber); }
.ico.violet { background: var(--violet-tint); color: var(--violet); }
.ico.slate  { background: var(--bg-3);        color: var(--ink-2); }

/* Tags */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; margin-bottom: 14px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  border-radius: 999px;
  background: var(--brand-tint); color: var(--brand-2);
}
.tag.soon  { background: var(--amber-tint);  color: #7a520c; }
.tag.daily { background: var(--violet-tint); color: #3e38a4; }
.tag.live  { background: #e4f7ed; color: #1a6e42; }
.tag::before { content: "●"; font-size: .55em; opacity: .7; }

/* ==========================================================================
   educational learning path — numbered steps
   ========================================================================== */

.steps {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: s;
  position: relative;
}

/* Connector line between steps (desktop) */
@media (min-width: 700px) {
  .steps::before {
    content: ""; position: absolute;
    inset-inline-start: calc(50% - 1px); top: 36px; bottom: 36px;
    width: 0; border-inline-start: 2px dashed var(--line);
    z-index: 0;
  }
  .grid.four + .steps::before { display: none; }
}

.step {
  position: relative; z-index: 1;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: box-shadow .22s var(--ease);
}
.step:hover { box-shadow: var(--sh-2); }
.step-n {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 20px;
  font-size: 1rem; font-weight: 800; color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--brand-3));
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,157,142,.28);
}
.step h3 { margin: 0 0 9px; font-size: 1.1rem; }
.step p  { margin: 0; font-size: .94rem; color: var(--ink-3); }

/* ==========================================================================
   split layout — text + preview panel
   ========================================================================== */

.split {
  display: grid; gap: 56px; align-items: center;
  grid-template-columns: 1.1fr .9fr;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Research feed preview */
.panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
  font-size: .86rem; color: var(--ink-3);
}
.panel-head .d { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.panel-head .d.g { background: #3dd9b8; box-shadow: 0 0 0 4px rgba(61,217,184,.18); }

.feed-item {
  display: block; padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  transition: background .18s var(--ease);
}
.feed-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.feed-item .meta { font-size: .74rem; font-weight: 800; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }
.feed-item h4 { margin: 6px 0 5px; font-size: .98rem; line-height: 1.55; font-weight: 700; }
.feed-item p  { margin: 0; font-size: .87rem; color: var(--ink-3); line-height: 1.72; }

/* Feature check list */
.checks { list-style: none; margin: 28px 0 0; padding: 0; }
.checks li {
  position: relative; padding-inline-start: 36px; margin-bottom: 16px;
  font-size: 1rem; color: var(--ink-2);
}
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .4em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a6d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checks li b { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   featured highlight band — credentials / trust
   ========================================================================== */

.trust-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.trust-card {
  padding: 30px 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  transition: background .22s var(--ease), border-color .22s var(--ease);
}
.trust-card:hover {
  background: rgba(0,157,142,.12);
  border-color: rgba(0,157,142,.3);
}
.trust-card .ico {
  background: rgba(0,157,142,.18); color: #3dd9b8;
  width: 50px; height: 50px; margin-bottom: 18px;
}
.trust-card .ico.amber  { background: rgba(212,135,44,.18); color: #f0b464; }
.trust-card .ico.violet { background: rgba(91,81,212,.18);  color: #a099f0; }
.trust-card h3 { color: #fff; margin: 0 0 9px; font-size: 1.1rem; }
.trust-card p  { margin: 0; color: #7da8b4; font-size: .94rem; line-height: 1.8; }

/* ==========================================================================
   CTA section
   ========================================================================== */

.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 80px 0;
  background: #071929;
  background-image:
    radial-gradient(ellipse 600px 300px at 80% 0%, rgba(37,211,102,.2), transparent 60%),
    radial-gradient(ellipse 500px 350px at 10% 100%, rgba(0,157,142,.2), transparent 60%);
  color: #a8c8d4;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 700px 400px at 50% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 700px 400px at 50% 50%, #000 0%, transparent 80%);
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2  { color: #fff; font-size: clamp(1.55rem, 4.2vw, 2.2rem); margin: 0 0 16px; letter-spacing: -.03em; }
.cta p   { margin: 0 0 32px; max-width: 58ch; color: #8fb8c4; font-size: 1.04rem; }
.cta .fine { margin: 24px 0 0; font-size: .84rem; color: #6a9298; line-height: 1.8; }

/* ==========================================================================
   inner pages
   ========================================================================== */

.page { padding: 0 0 96px; }
.page-head {
  padding: 62px 0 48px;
  margin-bottom: 48px;
  background: linear-gradient(180deg, var(--bg-3) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 5vw, 2.8rem); letter-spacing: -.04em; }
.page .lede { max-width: 64ch; margin: 0; font-size: clamp(1.02rem, 2.4vw, 1.15rem); color: var(--ink-3); line-height: 1.9; }
.page .wrap > h2 { margin: 58px 0 16px; font-size: clamp(1.3rem, 3.4vw, 1.65rem); letter-spacing: -.025em; }
.page .wrap > h2:first-child { margin-top: 0; }
.page h3 { font-size: 1.1rem; margin: 32px 0 10px; }
.page p  { margin: 0 0 16px; max-width: 72ch; }
.page ul, .page ol { padding-inline-start: 24px; max-width: 72ch; }
.page li { margin-bottom: 10px; }

.note {
  position: relative; margin: 30px 0; padding: 20px 26px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--brand); border-radius: var(--r);
  font-size: .97rem; max-width: 76ch;
}
.note strong { color: var(--brand-3); }
.note.warn { background: var(--amber-tint); border-color: #f0e0c0; border-inline-start-color: var(--amber); }
.note.warn strong { color: #7a520c; }

table.tbl {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 26px 0; font-size: .95rem;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
table.tbl th, table.tbl td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--line-2); }
table.tbl tr:last-child th, table.tbl tr:last-child td { border-bottom: 0; }
table.tbl thead th { background: var(--bg-2); font-weight: 700; color: var(--ink); font-size: .87rem; }
table.tbl tbody tr:hover td { background: #f8fcfd; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ==========================================================================
   forms
   ========================================================================== */

.interest {
  max-width: 560px; margin: 36px 0; padding: 32px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-2);
}
.interest h3 { margin: 0 0 20px; font-size: 1.2rem; }
.interest label { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.interest input, .interest select, .interest textarea {
  width: 100%; margin-bottom: 18px; padding: 13px 15px;
  font: inherit; font-size: .98rem;
  color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.interest input:focus, .interest select:focus, .interest textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,157,142,.12);
}
.interest input::placeholder, .interest textarea::placeholder { color: #a2b8c4; }
.interest textarea { min-height: 150px; resize: vertical; line-height: 1.75; }
.interest .hint { margin: -12px 0 18px; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.interest .ok { padding: 4px 0; }
.form-msg { min-height: 1.3em; margin-top: 14px; font-size: .93rem; font-weight: 500; }

/* ==========================================================================
   floating contact button
   ========================================================================== */

.fab {
  position: fixed; z-index: 80;
  inset-inline-end: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  font-size: .93rem; font-weight: 700;
  font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
  color: #fff; background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(0,157,142,.38), 0 2px 8px rgba(0,0,0,.14);
  transition: transform .22s var(--spring), box-shadow .22s var(--ease);
}
.fab:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(0,157,142,.46); }
.fab svg { width: 23px; height: 23px; flex: none; }
@media (max-width: 560px) {
  .fab { inset-inline-end: 14px; bottom: 14px; padding: 14px; }
  .fab .t { display: none; }
}

/* ==========================================================================
   footer
   ========================================================================== */

footer.site {
  padding: 68px 0 36px;
  background: #071929;
  color: #7da8b4;
  font-size: .94rem;
}
footer.site .cols {
  display: grid; gap: 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding-bottom: 40px;
}
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer.site .cols { grid-template-columns: 1fr; gap: 28px; } }

footer.site .brand { color: #fff; font-size: 1.1rem; }
footer.site .brand .mark { background: linear-gradient(160deg, #5ee7c8 0%, #e8c257 100%); }
footer.site .brand b { color: #3dd9b8; }
footer.site .about { margin: 16px 0 0; max-width: 34ch; font-size: .9rem; line-height: 1.9; color: #6a9298; }
footer.site h4 { margin: 0 0 14px; font-size: .8rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: #3dd9b8; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 10px; }
footer.site a { color: #8fb8c4; }
footer.site a:hover { color: #fff; }

.disclaimer {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .83rem; line-height: 1.9; color: #5c8490;
}

/* ==========================================================================
   reveal animation
   ========================================================================== */

/* content is visible by default; only the `js` class (set by an inline
   script in <head>) opts into the fade-in. A JS failure can never blank
   the page. */
html.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
html.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pill .dot { animation: none; }
}

/* ==========================================================================
   utility
   ========================================================================== */

.rule   { height: 1px; background: var(--line); border: 0; margin: 0; }
.en     { direction: ltr; text-align: start; unicode-bidi: isolate; }
.muted  { color: var(--ink-3); }
.center { text-align: center; }
.mt0    { margin-top: 0; }
.nowrap { white-space: nowrap; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 74px 0 84px; }
  .hero-stats { margin-top: 44px; }
  .band { padding: 68px 0; }
  .card { padding: 26px 22px; }
  a.card { padding-bottom: 48px; }
  .interest { padding: 26px 20px; }
  .page-head { padding: 44px 0 36px; margin-bottom: 36px; }
}
