/* ============================================================
   التراضي — Embrace Design System
   شركة التراضي العالمية | altradi.ly
   لوحة مستخرجة من الشعار الرسمي (أم تحتضن طفلها):
   كحلي عميق × أزرق بنفسجي #5070E0 × وردي #E03070 على أبيض مزرق.
   خطوط: Tajawal (عناوين) + Noto Naskh Arabic (نصوص)
   التوقيع البصري: الاحتضان — أقواس دائرية ودفء عائلي.
   ============================================================ */

:root {
  --deep: #131B45;
  --deep-2: #232F6B;
  --deep-3: #0B1130;
  --sand: #A9BAF2;
  --sand-lit: #EAF0FE;
  --clay: #E03070;
  --clay-lit: #F0538C;
  --blue: #5070E0;
  --paper: #F8FAFF;
  --paper-2: #EDF1FB;
  --ink: #1A2350;
  --ink-soft: #525D85;
  --line: rgba(19, 27, 69, 0.13);
  --ok: #1E7D5D;
  --warn: #A8762B;
  --bad: #B4265C;
  --r: 10px;
  --r-lg: 18px;
  --shadow-1: 0 2px 10px rgba(19, 27, 69, 0.07);
  --shadow-2: 0 14px 40px -12px rgba(19, 27, 69, 0.22);
  --shadow-3: 0 30px 70px -20px rgba(11, 17, 48, 0.38);
  --f-display: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
  --f-body: 'Noto Kufi Arabic', 'Tajawal', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.7s;
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-2); text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--clay); color: var(--sand-lit); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--deep);
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }

/* Paper grain — atmospheric texture over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.13 0 0 0 0 0.32 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; position: relative; z-index: 2; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 250, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-1); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand svg { height: 52px; width: auto; }
#navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#navlinks a {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--deep);
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
#navlinks a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--clay);
  transition: inset-inline 0.3s var(--ease-out);
}
#navlinks a:hover::after, #navlinks a.active::after { inset-inline: 16px; }
#navlinks a:hover { color: var(--clay); }
#navlinks a.active { color: var(--deep-2); }
#navlinks a.nav-cta {
  background: var(--deep);
  color: var(--sand-lit);
  margin-inline-start: 8px;
  padding: 10px 20px;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.25s;
}
#navlinks a.nav-cta::after { display: none; }
#navlinks a.nav-cta:hover { background: var(--clay); transform: translateY(-2px); box-shadow: var(--shadow-2); }

.lang-btn {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--deep);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.lang-btn:hover { border-color: var(--clay); color: var(--clay); background: rgba(224, 48, 112, 0.06); }

#burger {
  display: none;
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  position: relative;
}
#burger span, #burger span::before, #burger span::after {
  content: "";
  position: absolute;
  inset-inline: 11px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--deep);
  transition: transform 0.35s var(--ease-out), opacity 0.25s, top 0.3s;
}
#burger span { top: 22px; }
#burger span::before { top: -8px; inset-inline: 0; }
#burger span::after { top: 8px; inset-inline: 0; }
#burger[aria-expanded="true"] span { background: transparent; }
#burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
#burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 720px) {
  .brand img, .brand svg { height: 40px; max-width: 44vw; object-fit: contain; object-position: right center; }
  html.lang-en .brand img, html.lang-en .brand svg { object-position: left center; }
  #burger { display: block; }
  #navlinks {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    padding: 10px 16px 18px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  #navlinks.open { transform: translateY(0); opacity: 1; visibility: visible; }
  #navlinks a { padding: 12px 14px; border-radius: var(--r); }
  #navlinks a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
  color: var(--sand-lit);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05);
  transform: scale(1.06);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.12) translateX(-1.5%); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 17, 48, 0.94) 0%, rgba(19, 27, 69, 0.72) 45%, rgba(19, 27, 69, 0.45) 100%),
    radial-gradient(90% 70% at 50% 110%, rgba(224, 48, 112, 0.28), transparent 60%);
}
.hero .container { position: relative; z-index: 3; padding-block: 110px 130px; text-align: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sand);
  border: 1px solid rgba(169, 186, 242, 0.4);
  background: rgba(19, 27, 69, 0.4);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-kicker::before, .hero-kicker::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand));
}
.hero-kicker::after { background: linear-gradient(270deg, transparent, var(--sand)); }
.hero h1 { color: var(--sand-lit); margin-inline: auto; max-width: 26ch; }
.hero h1 em { font-style: normal; color: var(--sand); position: relative; }
.hero h1 em::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  bottom: 4px;
  height: 10px;
  background: rgba(224, 48, 112, 0.55);
  z-index: -1;
  border-radius: 3px;
}
.hero-sub {
  max-width: 62ch;
  margin: 18px auto 34px;
  font-size: 1.1rem;
  color: rgba(234, 240, 254, 0.88);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Symmetric divider — the balance signature */
.axis-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  color: var(--clay);
}
.axis-divider::before, .axis-divider::after {
  content: "";
  height: 1px;
  width: min(120px, 18vw);
  background: linear-gradient(90deg, transparent, currentColor);
}
.axis-divider::after { background: linear-gradient(270deg, transparent, currentColor); }
.axis-divider svg { width: 26px; height: 26px; flex: none; }
.on-dark .axis-divider, .hero .axis-divider { color: var(--sand); }

/* Hero bottom curve */
.hero-curve {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  z-index: 4;
  pointer-events: none;
}
.hero-curve svg { width: 100%; height: 70px; display: block; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 84px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}
.scroll-hint span {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(234, 240, 254, 0.6);
  border-radius: 14px;
  position: relative;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  top: 7px;
  inset-inline: 50%;
  translate: -50% 0;
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--sand);
  animation: scrollDot 1.8s ease-in-out infinite;
}
html.lang-ar .scroll-hint span::after { translate: 50% 0; }
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s, background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-primary { background: var(--clay); color: #FFF5F9; box-shadow: 0 10px 26px -10px rgba(224, 48, 112, 0.65); }
.btn-primary:hover { background: var(--clay-lit); box-shadow: 0 16px 34px -10px rgba(224, 48, 112, 0.7); }
.btn-ghost { background: transparent; color: var(--sand-lit); border-color: rgba(234, 240, 254, 0.5); }
.btn-ghost:hover { border-color: var(--sand); background: rgba(234, 240, 254, 0.1); }
.btn-deep { background: var(--deep); color: var(--sand-lit); box-shadow: var(--shadow-1); }
.btn-deep:hover { background: var(--deep-2); box-shadow: var(--shadow-2); }
.btn-outline { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: var(--sand-lit); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.btn .spin {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Sections
   ============================================================ */
.section { padding-block: 88px; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-kicker {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--clay);
  display: block;
  margin-bottom: 10px;
}
.section-head p { color: var(--ink-soft); }

.on-dark {
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(35, 47, 107, 0.9), transparent 70%),
    var(--deep);
  color: rgba(234, 240, 254, 0.9);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--sand-lit); }
.on-dark .section-head p { color: rgba(234, 240, 254, 0.72); }
.on-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath d='M36 6 L40 32 L66 36 L40 40 L36 66 L32 40 L6 36 L32 32 Z' fill='none' stroke='rgba(169,186,242,0.05)' stroke-width='1'/%3E%3C/svg%3E");
}

.band-paper2 { background: var(--paper-2); }

/* ============================================================
   Cards — services / categories
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); border-color: rgba(224, 48, 112, 0.35); }
.card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clay), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
}
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--deep-2), var(--deep));
  color: var(--sand);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.08); background: linear-gradient(135deg, var(--clay), var(--clay-lit)); color: #FFE9F2; }
.card-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--clay);
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(-5px); }
html.lang-en .card:hover .card-link svg { transform: translateX(5px); }

/* Photo cards */
.photo-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-1);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
  filter: saturate(0.8);
}
.photo-card:hover img { transform: scale(1.07); filter: saturate(1); }
.photo-card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(to top, rgba(11, 17, 48, 0.9), transparent);
  color: var(--sand-lit);
  font-family: var(--f-display);
  font-weight: 700;
}

/* ============================================================
   Stats — animated counters
   ============================================================ */
.stats-band { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center;
  padding: 30px 14px;
  border-radius: var(--r-lg);
  background: rgba(234, 240, 254, 0.06);
  border: 1px solid rgba(169, 186, 242, 0.16);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.stat:hover { background: rgba(234, 240, 254, 0.1); border-color: rgba(169, 186, 242, 0.35); transform: translateY(-4px); }
.stat b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--sand);
  line-height: 1.1;
}
.stat b .plus { color: var(--clay-lit); }
.stat span { font-size: 0.95rem; color: rgba(234, 240, 254, 0.75); }

/* ============================================================
   About split
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split-media { position: relative; }
.split-media .main-img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: -20px 40% 40% -20px;
  border: 2px solid var(--sand);
  border-radius: var(--r-lg);
  z-index: -1;
}
.split-media .float-badge {
  position: absolute;
  bottom: -22px;
  inset-inline-start: -14px;
  background: var(--deep);
  color: var(--sand-lit);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  font-family: var(--f-display);
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBob 5s ease-in-out infinite;
}
.split-media .float-badge b { font-size: 1.6rem; color: var(--sand); }
.split-media .float-badge svg { width: 30px; height: 30px; color: var(--clay-lit); }
@keyframes floatBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--clay); margin-top: 4px; }
.checklist b { font-family: var(--f-display); color: var(--deep); }

/* ============================================================
   Timeline (journey) + Ticket status timeline
   ============================================================ */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-inline-start: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  inset-block: 6px;
  inset-inline-start: 10px;
  width: 2px;
  background: linear-gradient(var(--sand), var(--clay));
  border-radius: 2px;
}
.tl-item { position: relative; padding-block-end: 34px; }
.tl-item:last-child { padding-block-end: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -30px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--clay);
  box-shadow: 0 0 0 5px rgba(224, 48, 112, 0.14);
}
.tl-item.done::before { background: var(--clay); }
.tl-item h4 { margin-bottom: 4px; }
.tl-item .tl-time { font-size: 0.85rem; color: var(--ink-soft); font-family: var(--f-display); }

/* ============================================================
   Partners marquee
   ============================================================ */
.marquee { overflow: hidden; position: relative; padding-block: 8px; }
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.marquee::after { inset-inline-end: 0; background: linear-gradient(270deg, var(--paper-2), transparent); }
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
html.lang-en .marquee-track { animation-name: marqueeLtr; }
@keyframes marqueeLtr { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-soft);
  opacity: 0.75;
  transition: opacity 0.3s, color 0.3s;
  white-space: nowrap;
}
.marquee-item:hover { opacity: 1; color: var(--deep-2); }
.marquee-item svg { width: 22px; height: 22px; color: var(--clay); }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-1);
}
.on-dark .form-card { background: rgba(248, 250, 255, 0.04); border-color: rgba(169, 186, 242, 0.18); box-shadow: none; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--deep);
  margin-bottom: 7px;
}
.on-dark .field label { color: var(--sand-lit); }
.field label .req { color: var(--clay); }
.field label .opt { color: var(--ink-soft); font-weight: 400; font-size: 0.8rem; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 5px; }
.on-dark .field .hint { color: rgba(234, 240, 254, 0.55); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--paper);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  background: rgba(11, 17, 48, 0.5);
  border-color: rgba(169, 186, 242, 0.25);
  color: var(--sand-lit);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(224, 48, 112, 0.14);
  background: #fff;
}
.on-dark .field input:focus, .on-dark .field select:focus, .on-dark .field textarea:focus { background: rgba(11, 17, 48, 0.8); }
.field textarea { min-height: 130px; resize: vertical; }
.field .err {
  color: var(--bad);
  font-size: 0.85rem;
  font-family: var(--f-display);
  margin: 6px 0 0;
  animation: errIn 0.3s var(--ease-out);
}
.on-dark .field .err { color: #F2A9C4; }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--bad); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
[data-result] { display: none; }
[data-result].note {
  display: block;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: rgba(30, 125, 93, 0.1);
  border: 1px solid rgba(30, 125, 93, 0.3);
  color: var(--ok);
  font-family: var(--f-display);
  font-weight: 600;
  animation: errIn 0.35s var(--ease-out);
}
[data-result].note.error { background: rgba(180, 38, 92, 0.08); border-color: rgba(180, 38, 92, 0.3); color: var(--bad); }
/* honeypot */
.hp-field { position: absolute !important; inset-inline-start: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* ============================================================
   Contact info blocks
   ============================================================ */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding-block: 14px; }
.contact-item .ci-icon {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(224, 48, 112, 0.12);
  color: var(--clay);
}
.on-dark .contact-item .ci-icon { background: rgba(169, 186, 242, 0.12); color: var(--sand); }
.contact-item .ci-icon svg { width: 24px; height: 24px; }
.contact-item b { font-family: var(--f-display); display: block; color: var(--deep); }
.on-dark .contact-item b { color: var(--sand-lit); }
.contact-item a { color: inherit; }
.contact-item a:hover { color: var(--clay); }

/* ============================================================
   Ticket / support center
   ============================================================ */
.ticket-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  width: max-content;
  margin: 0 auto 42px;
  max-width: 100%;
}
.ticket-tabs button {
  border: 0;
  background: transparent;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding: 11px 26px;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.ticket-tabs button.active { background: var(--deep); color: var(--sand-lit); box-shadow: var(--shadow-1); }
.ticket-pane { display: none; }
.ticket-pane.active { display: block; animation: paneIn 0.45s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(12px); } }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
@media (max-width: 720px) { .steps-row { grid-template-columns: 1fr; } }
.step-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
}
.step-chip .n {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--sand);
  font-family: var(--f-display);
  font-weight: 800;
}
.step-chip p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.step-chip b { font-family: var(--f-display); color: var(--deep); display: block; }

/* Ticket status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 999px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.b-new { background: rgba(35, 47, 107, 0.1); color: var(--deep-2); }
.badge.b-open { background: rgba(168, 118, 43, 0.13); color: var(--warn); }
.badge.b-progress { background: rgba(224, 48, 112, 0.13); color: var(--clay); }
.badge.b-waiting { background: rgba(82, 93, 133, 0.12); color: var(--ink-soft); }
.badge.b-resolved { background: rgba(30, 125, 93, 0.12); color: var(--ok); }
.badge.b-closed { background: rgba(26, 35, 80, 0.1); color: var(--ink); }
.badge.b-urgent { background: rgba(180, 38, 92, 0.12); color: var(--bad); }

/* Ticket result card (tracking) */
.ticket-result { margin-top: 34px; }
.ticket-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 22px;
}
.ticket-code {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--deep);
  letter-spacing: 0.03em;
}
.ticket-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.ticket-meta .tm {
  background: var(--paper-2);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 0.9rem;
}
.ticket-meta .tm b { display: block; font-family: var(--f-display); font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.reply {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-bottom: 14px;
  background: #FFFFFF;
}
.reply.from-team { background: rgba(35, 47, 107, 0.05); border-color: rgba(35, 47, 107, 0.18); }
.reply .r-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-display); font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 6px; }
.reply .r-head b { color: var(--deep); }
.reply p { margin: 0; font-size: 0.96rem; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #FFFFFF;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq details[open] { border-color: rgba(224, 48, 112, 0.4); box-shadow: var(--shadow-1); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--clay);
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.98rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(100% 140% at 85% 0%, rgba(224, 48, 112, 0.5), transparent 55%),
    linear-gradient(135deg, var(--deep-2), var(--deep-3));
  color: var(--sand-lit);
  padding: 62px 40px;
  text-align: center;
  box-shadow: var(--shadow-3);
}
.cta-band h2 { color: var(--sand-lit); }
.cta-band p { color: rgba(234, 240, 254, 0.8); max-width: 56ch; margin-inline: auto; }
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px solid rgba(169, 186, 242, 0.2);
}
.cta-band::before { top: -110px; inset-inline-start: -60px; }
.cta-band::after { bottom: -120px; inset-inline-end: -70px; border-color: rgba(224, 48, 112, 0.3); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--deep-3);
  color: rgba(234, 240, 254, 0.78);
  padding: 70px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clay), var(--sand), var(--clay), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--sand); font-size: 1.05rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(234, 240, 254, 0.78); transition: color 0.25s, padding 0.25s; }
.site-footer a:hover { color: var(--sand); padding-inline-start: 4px; }
.footer-brand img, .footer-brand svg { height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(169, 186, 242, 0.3);
  background: rgba(248, 250, 255, 0.06);
  color: var(--sand-lit);
}
.newsletter-form input::placeholder { color: rgba(234, 240, 254, 0.45); }
.newsletter-form input:focus { outline: none; border-color: var(--sand); }
.newsletter-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--clay);
  color: #FFF5F9;
  font-family: var(--f-display);
  font-weight: 700;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}
.newsletter-form button:hover { background: var(--clay-lit); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(169, 186, 242, 0.14);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-bottom .made-by { color: rgba(234, 240, 254, 0.5); }
.footer-bottom .made-by a { color: var(--sand); font-family: var(--f-display); font-weight: 700; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-start: 26px;
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep-2);
  color: #EAF0FE;
  box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease-spring), background 0.3s;
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); background: var(--clay); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--deep-2);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.55); opacity: 0; }
}

/* ============================================================
   Reveal-on-scroll animations (main.js contract)
   .lift / .drift / .slide / .rise  →  .in
   ============================================================ */
html.js .lift, html.js .drift, html.js .slide, html.js .rise {
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  will-change: opacity, transform;
}
html.js .lift { transform: translateY(34px); }
html.js .drift { transform: translateX(-40px); }
html.lang-en.js .drift { transform: translateX(40px); }
html.js .slide { transform: translateX(40px); }
html.lang-en.js .slide { transform: translateX(-40px); }
html.js .rise { transform: translateY(50px) scale(0.96); }
html.js .in { opacity: 1; transform: none; }
/* Stagger children */
html.js .stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* Page enter */
@keyframes pageIn { from { opacity: 0; } }
body { animation: pageIn 0.5s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(35, 47, 107, 0.85), transparent 70%),
    var(--deep);
  color: var(--sand-lit);
  text-align: center;
  padding: 84px 0 66px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--sand-lit); }
.page-hero p { color: rgba(234, 240, 254, 0.78); max-width: 60ch; margin-inline: auto; }
.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: 0.85rem;
  color: rgba(234, 240, 254, 0.6);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--sand); }
.breadcrumbs span::before { content: "‹"; margin-inline-end: 8px; opacity: 0.5; }
html.lang-en .breadcrumbs span::before { content: "›"; }

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.muted { color: var(--ink-soft); }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid rgba(224, 48, 112, 0.55); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute;
  top: -60px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--deep);
  color: var(--sand-lit);
  padding: 10px 18px;
  border-radius: 0 0 var(--r) var(--r);
  font-family: var(--f-display);
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* LTR flips that logical properties don't cover */
html.lang-en body { font-family: 'Noto Kufi Arabic', system-ui, sans-serif; }

/* Print */
@media print {
  .site-header, .site-footer, .wa-float, .hero-actions, #burger { display: none !important; }
  body::before { display: none; }
}
