/* حكيم — تصميم الموقع. الألوان من هوية حكيم (marketing/brand/README.md) */
:root {
  --navy: #16264A;
  --navy-deep: #0F1B36;
  --navy-up: #1D3160;
  --teal: #2DB8AA;
  --teal-press: #26A396;
  --green: #1F9E92;
  --ink: #16264A;
  --text: #2B3650;
  --muted: #5A6580;
  --bg: #FFFFFF;
  --bg-alt: #F3F6FA;
  --line: rgba(22, 38, 74, .12);
  --on-navy: #FFFFFF;
  --on-navy-soft: rgba(255, 255, 255, .74);
  --line-navy: rgba(255, 255, 255, .14);
  --device: #0E1526;
  --wa: #25D366;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --nav-h: 68px;
  --gut: 24px;
  --sec-y: 112px;
  --font: 'Tajawal', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; --gut: 18px; --sec-y: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(en) body, html:lang(en) body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.25; font-weight: 800; }
h2 { font-size: clamp(30px, 2.4vw + 14px, 46px); letter-spacing: -.01em; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--xs { width: 14px; height: 14px; }
.wrap { width: min(100% - 2 * var(--gut), 1200px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; inset-inline-start: 12px; top: 10px; z-index: 50;
  background: var(--teal); color: var(--navy); font-weight: 700; padding: 10px 16px; border-radius: 10px;
  transform: translateY(-160%); transition: transform .15s;
}
.skip:focus { transform: none; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--teal); color: var(--navy); box-shadow: 0 8px 24px -12px rgba(45, 184, 170, .7); }
.btn--primary:hover { background: #3CC6B8; }
.btn--primary:active { background: var(--teal-press); }
.btn--ghost { color: var(--on-navy); border-color: rgba(255, 255, 255, .34); background: transparent; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .wa-logo { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- الشريط العلوي ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h);
  background: var(--navy); border-bottom: 1px solid var(--line-navy); color: var(--on-navy);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-navy); flex: none; }
.mark { width: 34px; height: 34px; color: #fff; }
.brand__name { font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-inline-start: 12px; }
.nav__links a {
  color: var(--on-navy-soft); text-decoration: none; font-size: 15.5px; font-weight: 500;
  padding: 10px 12px; border-radius: 10px; transition: color .15s, background-color .15s;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__links .nav__lang, .nav__links .nav__sheet-cta { display: none; }
.nav__end { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.nav__lang--bar {
  color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 15px;
  min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-navy); transition: border-color .15s, background-color .15s;
}
.nav__lang--bar:hover { border-color: rgba(255, 255, 255, .5); }
.nav__lang--bar:lang(ar) { font-family: var(--font); }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-navy);
  background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav__toggle .ico--close { display: none; }
.nav__toggle[aria-expanded="true"] .ico--open { display: none; }
.nav__toggle[aria-expanded="true"] .ico--close { display: block; }

@media (max-width: 1060px) {
  .nav__links {
    display: none; position: fixed; inset: var(--nav-h) 0 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px var(--gut) 32px; overflow-y: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { font-size: 20px; padding: 0 4px; min-height: 60px; display: flex; align-items: center; border-bottom: 1px solid var(--line-navy); border-radius: 0; color: #fff; }
  .nav__links .nav__sheet-cta { display: inline-flex; margin-top: 24px; border: 0; border-radius: 999px; justify-content: center; color: var(--navy); font-size: 17px; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .nav__cta { display: none; }
  .mark { width: 30px; height: 30px; }
  .brand__name { font-size: 22px; }
}

/* ---------- الواجهة ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy);
  padding: calc(var(--nav-h) + 72px) 0 96px; min-height: min(100svh, 980px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 15% 40%, rgba(45, 184, 170, .13), transparent 70%);
}
html[dir="ltr"] .hero::before { background: radial-gradient(60% 70% at 85% 40%, rgba(45, 184, 170, .13), transparent 70%); }
.hero__pulse { position: absolute; inset-inline: 0; bottom: 2%; width: 100%; height: 160px; pointer-events: none; }
.hero__pulse path { fill: none; stroke: var(--teal); stroke-width: 2; opacity: .22; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 2.4s .5s var(--ease) forwards; }
html[dir="rtl"] .hero__pulse { transform: scaleX(-1); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 11fr 13fr; gap: 56px; align-items: center; }
.hero__eyebrow { color: var(--teal); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(44px, 4vw + 14px, 78px); line-height: 1.12; letter-spacing: -.015em; }
.hero h1 span { display: block; }
.hero__accent { color: var(--teal); }
.hero__lead { color: var(--on-navy-soft); font-size: 19px; line-height: 1.75; margin: 22px 0 32px; max-width: 34em; }
.hero__facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-navy-soft); font-size: 15px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .ico { width: 18px; height: 18px; color: var(--teal); stroke-width: 2.4; }
.hero__art { position: relative; padding-bottom: 6%; padding-inline-end: 6%; }
.phone--hero { position: absolute; inset-inline-end: 0; bottom: 0; width: 24%; }

[data-enter] { animation: enter .9s var(--ease) both; }
.hero__art[data-enter] { animation-delay: .12s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero { min-height: 0; padding: calc(var(--nav-h) + 44px) 0 64px; display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__lead { font-size: 18px; }
  .hero__pulse { bottom: 34%; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .btn-row .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 8px; }
  .hero__art { padding-bottom: 10%; padding-inline-end: 4%; }
  .phone--hero { width: 27%; }
}

/* ---------- الأجهزة ---------- */
.laptop { width: 100%; filter: drop-shadow(0 30px 40px rgba(5, 12, 30, .35)); }
.laptop__screen { background: var(--device); padding: 1.4%; border-radius: 14px 14px 4px 4px; }
.laptop__screen img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 5px; background: #fff; }
.laptop__base {
  position: relative; height: 0; padding-bottom: 2.4%; margin-inline: -6%;
  background: linear-gradient(#e3e7ef, #aeb7c7); border-radius: 2px 2px 14px 14px;
}
.laptop__base::before { content: ""; position: absolute; top: 0; left: 42%; right: 42%; height: 40%; background: #98a2b4; border-radius: 0 0 8px 8px; }
.phone { background: var(--device); padding: 3.2%; border-radius: 15% / 7%; filter: drop-shadow(0 24px 30px rgba(5, 12, 30, .4)); }
.phone__screen { border-radius: 12% / 5.6%; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.sheet { background: #fff; padding: 0; border-radius: 6px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -20px rgba(22, 38, 74, .35); overflow: hidden; }
.sheet img { width: 100%; aspect-ratio: 1120 / 820; object-fit: cover; object-position: top; }
.day__frame.device--paper .sheet { width: 440px; }

/* ---------- الأقسام ---------- */
.section { padding: var(--sec-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.head { max-width: 760px; margin-bottom: 56px; }
.head__lead { margin-top: 16px; font-size: 19px; color: var(--muted); }
@media (max-width: 640px) { .head { margin-bottom: 36px; } .head__lead { font-size: 17px; } }

/* لماذا حكيم */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 14px 30px; }
.pillar h3 { margin: 26px 14px 10px; }
.pillar p { margin: 0 14px; color: var(--text); }
.pillar__visual { height: 200px; border-radius: var(--r-md); background: var(--bg-alt); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 14px; overflow: hidden; }
.status { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.status span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.35; flex: 1; }
.status b { color: var(--ink); font-size: 16px; }
.status small { color: var(--muted); font-size: 13.5px; }
.status .ico { color: var(--muted); }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31, 158, 146, .5); animation: ping 2.8s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 158, 146, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(31, 158, 146, 0); } }
.lockline { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: var(--navy); }
.lockline__bar { height: 8px; flex: 1; border-radius: 4px; background: repeating-linear-gradient(90deg, #d5dbe6 0 10px, transparent 10px 14px); }
.lockline__bar--short { flex: .5; }
.pillar__visual--icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-content: center; }
.pillar__visual--icons span { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--navy); transition: color .2s, transform .2s var(--ease); }
.pillar__visual--icons span:nth-child(3n+1) { color: var(--green); }
.pillar:hover .pillar__visual--icons span { transform: translateY(-2px); }
.pillar__visual--queue { gap: 8px; }
.q { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 14.5px; }
.q__num { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.q__name { flex: 1; color: var(--ink); font-weight: 700; }
.q__state { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.q__state--on { color: var(--green); border-color: rgba(31, 158, 146, .45); }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; max-width: 560px; } }

/* الاختصاصات */
.sp { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: start; }
.sp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp__btn {
  display: flex; align-items: center; gap: 10px; text-align: start; min-height: 56px; padding: 8px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink);
  font: 500 15px/1.3 var(--font); cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .15s var(--ease);
}
.sp__btn .ico { color: var(--green); }
.sp__btn:hover { border-color: rgba(22, 38, 74, .35); transform: translateY(-1px); }
.sp__btn[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.sp__btn[aria-selected="true"] .ico { color: var(--teal); }
.sp__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 32px 28px; }
.sp__panel .laptop { width: 86%; margin-inline: auto; filter: drop-shadow(0 20px 28px rgba(5, 12, 30, .22)); }
.sp__copy { margin-top: 24px; }
.sp__copy h3 { font-size: 26px; }
.sp__copy p { margin-top: 8px; font-size: 18px; max-width: 40em; }
.sp__panel img { transition: opacity .25s; }
.sp__panel.is-loading img { opacity: .35; }
@media (max-width: 960px) {
  .sp { grid-template-columns: 1fr; gap: 24px; }
  .sp__panel { padding: 22px 18px 24px; order: 2; }
}
@media (max-width: 400px) { .sp__btn { font-size: 14px; padding: 8px 10px; gap: 8px; } }

/* يوم في العيادة */
.day { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.day__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: s; }
.day__btn {
  width: 100%; text-align: start; display: grid; gap: 2px; padding: 16px 20px; cursor: pointer;
  background: transparent; border: 0; border-inline-start: 3px solid var(--line); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font: inherit; color: inherit; transition: background-color .18s, border-color .18s;
}
html[dir="rtl"] .day__btn { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.day__btn:hover { background: var(--bg-alt); }
.day__time { color: var(--green); font-weight: 700; font-size: 14.5px; }
.day__title { color: var(--ink); font-weight: 700; font-size: 20px; line-height: 1.4; }
.day__text { color: var(--text); font-size: 16.5px; display: none; margin-top: 4px; }
.day__btn[aria-selected="true"] { background: var(--bg-alt); border-inline-start-color: var(--teal); }
.day__btn[aria-selected="true"] .day__text { display: block; }
.day__inline { display: none; }
.day__stage { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--bg-alt); border-radius: var(--r-lg); height: 600px; display: grid; place-items: center; padding: 40px; overflow: hidden; }
.day__frame { width: 100%; display: grid; place-items: center; animation: fade .35s var(--ease); }
.day__frame[hidden] { display: none; }
.day__frame.device--phone .phone { width: 250px; }
.day__frame.device--paper .sheet { width: 360px; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .day { grid-template-columns: 1fr; }
  .day__stage { display: none; }
  .day__steps { gap: 44px; }
  .day__btn { cursor: default; padding: 4px 16px; background: none !important; border-inline-start-color: var(--teal); pointer-events: none; }
  .day__text { display: block; }
  .day__inline { display: grid; place-items: center; margin-top: 18px; background: var(--bg-alt); border-radius: var(--r-lg); padding: 28px 18px; }
  .day__inline.device--phone .phone { width: min(62%, 250px); }
  .day__inline.device--paper .sheet { width: min(78%, 320px); }
}

/* الأمان */
.sec { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.sec__quote { margin-top: 18px; font-size: clamp(21px, 1vw + 14px, 26px); line-height: 1.6; color: var(--teal); font-weight: 700; max-width: 26em; }
.sec__points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.sec__points li { display: flex; gap: 14px; }
.sec__points .ico { width: 26px; height: 26px; color: var(--teal); margin-top: 3px; }
.sec__points h3 { font-size: 19px; }
.sec__points p { color: var(--on-navy-soft); font-size: 16px; margin-top: 4px; }
.dg { position: relative; aspect-ratio: 1; border: 1.5px dashed rgba(45, 184, 170, .45); border-radius: 32px; }
.dg__net { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--teal); font-size: 14px; font-weight: 700; padding: 0 14px; white-space: nowrap; line-height: 28px; }
.dg__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dg__lines path { stroke: rgba(45, 184, 170, .5); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.dg__pulse { fill: var(--teal); }
.dg__node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: var(--navy-up); border: 1px solid var(--line-navy); border-radius: 18px; padding: 14px 16px; font-size: 14.5px; font-weight: 500; color: #fff; width: 32%; line-height: 1.35; }
.dg__node .ico { width: 28px; height: 28px; color: var(--teal); }
.dg__node--center { left: 50%; top: 50%; width: 42%; background: #fff; color: var(--navy); border: 0; padding: 20px 14px; box-shadow: 0 0 0 8px rgba(45, 184, 170, .16); }
.dg__node--center .ico { color: var(--navy); width: 34px; height: 34px; }
.dg__node--center b { font-size: 17px; }
.dg__node--center small { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 13px; font-weight: 700; }
.dg__node--center small .ico { color: var(--green); width: 14px; height: 14px; }
.dg__node--a { left: 17.5%; top: 17.5%; }
.dg__node--b { left: 82.5%; top: 17.5%; }
.dg__node--c { left: 50%; top: 85%; }
.dg__off { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px auto 0; width: fit-content; color: var(--on-navy-soft); font-size: 15px; border: 1px solid var(--line-navy); border-radius: 999px; padding: 8px 16px; }
.dg__off .ico { width: 18px; height: 18px; }
.sec__diagram { position: relative; }
@media (max-width: 960px) {
  .sec { grid-template-columns: 1fr; gap: 56px; }
  .sec__diagram { max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .sec__points { grid-template-columns: 1fr; gap: 22px; }
  .dg__node { font-size: 12.5px; padding: 10px 6px; border-radius: 14px; }
  .dg__node .ico { width: 22px; height: 22px; }
  .dg__node--center b { font-size: 15px; }
  .dg__node--center small { font-size: 11.5px; }
}

/* الأسئلة */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq__list { margin: 0; }
.faq__item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq__item:first-child { padding-top: 6px; }
.faq__item dt { color: var(--ink); font-weight: 700; font-size: 20px; line-height: 1.45; }
.faq__item dd { margin: 8px 0 0; font-size: 17px; max-width: 46em; }
@media (max-width: 960px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* الختام والتذييل */
.closing { background: var(--navy-deep); color: var(--on-navy); padding: var(--sec-y) 0 40px; }
.closing h2 { color: #fff; }
.close { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; }
.close__lead { margin-top: 16px; color: var(--on-navy-soft); font-size: 18.5px; max-width: 32em; }
.close__wa { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wa-card {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-navy); border-radius: 16px; padding: 12px 18px 12px 22px;
  transition: border-color .18s, background-color .18s, transform .15s var(--ease);
}
html[dir="rtl"] .wa-card { padding: 12px 22px 12px 18px; }
.wa-card:hover { border-color: rgba(37, 211, 102, .7); background: rgba(37, 211, 102, .08); transform: translateY(-2px); }
.wa-card .wa-logo { width: 30px; height: 30px; color: var(--wa); }
.wa-card span { display: flex; flex-direction: column; line-height: 1.3; }
.wa-card small { color: var(--on-navy-soft); font-size: 13.5px; }
.wa-card b { font-size: 19px; letter-spacing: .02em; }
.close__mail { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--on-navy-soft); }
.close__mail a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-navy); padding: 6px 0; }
.close__mail a:hover { border-bottom-color: var(--teal); }
.close__mail .ico { color: var(--teal); }
.close__social { margin-top: 26px; }
.close__label { display: block; font-size: 14px; color: var(--on-navy-soft); margin-bottom: 10px; }
.close__social ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.close__social a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-navy); color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.close__social a:hover { border-color: var(--teal); background: rgba(45, 184, 170, .08); }

.form { background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 34px 32px 28px; }
.form h3 { font-size: 23px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 52px; border: 1.5px solid #CCD3DF; border-radius: 12px; padding: 0 14px;
  font: 400 16px var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #8A93A8; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
html[dir="rtl"] .field input[dir="ltr"]:placeholder-shown { direction: rtl; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 184, 170, .25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #C2413A; }
.field__error { color: #B3342D; font-size: 14px; margin-top: 5px; min-height: 0; }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form .btn { margin-top: 8px; }
.form__status { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.form__status.is-ok { color: var(--green); font-weight: 700; }
.form__status.is-bad { color: #B3342D; }
.form__status:empty { display: none; }
@media (max-width: 960px) { .close { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 640px) { .form { padding: 26px 18px 22px; } .field-row { grid-template-columns: 1fr; gap: 0; } .wa-card { flex: 1 1 100%; } }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line-navy); }
.brand--foot .brand__name { font-size: 18px; font-weight: 700; }
.brand--foot .mark { width: 28px; height: 28px; }
.foot__rights { color: var(--on-navy-soft); font-size: 14px; }

/* زر واتساب الثابت */
.wa-float {
  position: fixed; z-index: 15; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 18px;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45);
  transition: transform .15s var(--ease), opacity .25s, visibility .25s;
}
.wa-float .wa-logo { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px) scale(1.03); }
.wa-float:active { transform: scale(.96); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(10px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__pulse path { stroke-dashoffset: 0; }
  .dg__pulse { display: none; }
}
@media (max-width: 960px) { .hero__pulse { display: none; } }
