/* ============================================================
   أغنيك - Public Site Styles
   Design: premium medical-tech, blue/turquoise from logo
   RTL-first, responsive, performance-friendly
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette derived from the shield/wave logo */
  --ink:         #0B1D33;
  --ink-2:      #0B3A5C;
  --ink-3:      #123E63;
  --brand:      #1E7FA8;
  --brand-2:    #2AB0C4;
  --brand-3:    #6ED3E0;
  --brand-soft: rgba(30, 127, 168, 0.10);
  --teal-glow:  rgba(42, 176, 196, 0.18);

  --bg:         #F6F9FC;
  --bg-2:       #EDF3F8;
  --white:      #FFFFFF;
  --line:       #DBE4EC;
  --muted:      #5A6B7A;
  --text:       #1B2A3A;
  --text-soft:  #405161;

  --success:    #0F8A5F;
  --warn:       #B9760D;
  --danger:     #C2413A;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(11,29,51,.05), 0 2px 8px rgba(11,29,51,.06);
  --shadow-2: 0 8px 24px rgba(11,29,51,.10);
  --shadow-3: 0 24px 60px rgba(11,29,51,.16);

  --container: 1200px;

  --nav-h: 74px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
button { font-family: inherit; cursor: pointer; }

.skip-link { position: absolute; right: -9999px; top: -9999px; }
.skip-link:focus { right: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 9999; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(219,228,236,0.6);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.nav-logo { height: 44px; width: 44px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.nav-brand-tag  { font-size: 0.72rem; color: var(--muted); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.is-active { color: var(--ink); background: var(--brand-soft); }
.nav-links .nav-cta {
  margin-inline-start: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  padding: 10px 20px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(30,127,168,.28);
}
.nav-links .nav-cta:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-brand-tag { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-top: 1px solid var(--line);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow-2);
    max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
    transition: max-height .28s ease, padding .28s ease;
  }
  .nav-links.is-open { max-height: 480px; padding-top: 12px; padding-bottom: 20px; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links .nav-cta { text-align: center; margin: 6px 0 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 90px 0 100px;
  background:
    radial-gradient(1200px 500px at 100% -10%, var(--teal-glow) 0%, transparent 60%),
    radial-gradient(900px 400px at 0% 100%, rgba(30,127,168,.08) 0%, transparent 60%),
    linear-gradient(180deg, #F6FAFD 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 500;
  box-shadow: var(--shadow-1);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2); box-shadow: 0 0 0 4px var(--teal-glow);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hero h1 .brand-mark {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-message {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  transition: transform .18s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(30,127,168,.32);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(30,127,168,.42); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--brand-2); }
.btn svg { width: 18px; height: 18px; }

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.hero-shield {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(110,211,224,.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(30,127,168,.28) 0%, transparent 55%),
    linear-gradient(155deg, #E9F4FA 0%, #FFFFFF 60%);
  box-shadow: var(--shadow-3);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.hero-shield img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(11,58,92,.18)); }
.hero-badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  animation: badgePulse 4s ease-in-out infinite;
}
.hero-badge svg { width: 22px; height: 22px; color: var(--brand-2); }
.hero-badge-1 { top: 6%; right: -14px; }
.hero-badge-2 { bottom: 12%; left: -14px; animation-delay: 1.2s; }
@keyframes badgePulse {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}

@media (max-width: 900px) {
  .hero { padding: 60px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 300px; }
  .hero-shield { max-width: 320px; }
}

/* ============================================================
   SECTIONS shell
   ============================================================ */
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; margin-bottom: 56px; max-width: 780px; margin-inline: auto; padding: 0 16px; }
.section-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  line-height: 1.25;
}
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-align: start;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  opacity: 0; transition: opacity .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-3);
  box-shadow: var(--shadow-2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-soft), var(--teal-glow));
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; }
.service-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-weight: 600; font-size: 0.9rem;
  color: var(--brand);
}
.service-more svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .service-more svg { transform: translateX(-4px); }

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

/* Modal for service detail */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,29,51,.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop.is-open { display: flex; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal {
  background: #fff;
  max-width: 620px; width: 100%;
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  position: relative;
  max-height: 90vh; overflow-y: auto;
  animation: modalUp .25s ease;
}
@keyframes modalUp { from { transform: translateY(20px); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-close {
  position: absolute; top: 14px; left: 14px;
  width: 36px; height: 36px;
  border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--bg-2); }
.modal-icon {
  width: 66px; height: 66px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-soft), var(--teal-glow));
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 18px;
}
.modal-icon svg { width: 34px; height: 34px; }
.modal h3 { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.modal .modal-body { color: var(--text-soft); white-space: pre-line; line-height: 1.85; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .2s, box-shadow .2s;
}
.why-card:hover { border-color: var(--brand-3); box-shadow: var(--shadow-1); }
.why-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.why-card p { color: var(--text-soft); font-size: 0.92rem; line-height: 1.7; }

/* ============================================================
   SAUDI STATEMENT
   ============================================================ */
.saudi-section {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, var(--ink-3) 100%);
  color: #fff;
  padding: 110px 0;
  overflow: hidden;
}
.saudi-section::before,
.saudi-section::after {
  content: '';
  position: absolute;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 65%);
  pointer-events: none;
}
.saudi-section::before { top: -240px; right: -140px; }
.saudi-section::after  { bottom: -260px; left: -140px; background: radial-gradient(circle, rgba(110,211,224,.14) 0%, transparent 65%); }
.saudi-inner {
  position: relative; z-index: 1;
  max-width: 1000px; margin: 0 auto; padding: 0 24px;
  text-align: center;
}
.saudi-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 4px;
  color: var(--brand-3);
  margin-bottom: 26px;
}
.saudi-statement {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -0.3px;
  color: #fff;
}
.saudi-statement .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  margin: 0 3px;
}
.saudi-statement.is-in .word { opacity: 1; transform: none; }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
}
.client-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 100px;
  transition: transform .2s, box-shadow .2s;
}
.client-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.client-cell img { max-height: 60px; max-width: 100%; object-fit: contain; filter: grayscale(20%); transition: filter .2s; }
.client-cell:hover img { filter: none; }

/* ============================================================
   BOOKING CTA STRIP (homepage)
   ============================================================ */
.booking-cta {
  background: linear-gradient(135deg, #E9F4FA 0%, #F6FAFD 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 70px 0;
  text-align: center;
}
.booking-cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--ink); margin-bottom: 10px; font-weight: 700; }
.booking-cta p { color: var(--muted); margin-bottom: 24px; }

/* ============================================================
   BOOKING PAGE
   ============================================================ */
.booking-wrap {
  max-width: 900px; margin: 0 auto; padding: 60px 24px 80px;
}
.booking-title { font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; text-align: center; }
.booking-subtitle { color: var(--muted); text-align: center; margin-bottom: 40px; }
.booking-steps {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.booking-step {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-weight: 500; font-size: 0.92rem;
}
.booking-step .n {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-2); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.booking-step.is-current { color: var(--ink); }
.booking-step.is-current .n { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.booking-step.is-done .n { background: var(--success); color: #fff; }
.booking-step-sep { width: 40px; height: 2px; background: var(--line); }

.dates-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.date-cell {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 8px; text-align: center;
  cursor: pointer; transition: all .18s;
}
.date-cell:hover { border-color: var(--brand-2); }
.date-cell.is-active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; }
.date-cell .dow { font-size: 0.78rem; color: var(--muted); }
.date-cell.is-active .dow { color: rgba(255,255,255,.85); }
.date-cell .day { font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 4px 0; }
.date-cell.is-active .day { color: #fff; }
.date-cell .mon { font-size: 0.78rem; color: var(--muted); }
.date-cell.is-active .mon { color: rgba(255,255,255,.85); }

.times-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}
.time-cell {
  background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; text-align: center;
  cursor: pointer; transition: all .18s;
  font-weight: 500; color: var(--ink);
}
.time-cell:hover { border-color: var(--brand-2); }
.time-cell.is-active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; }
.time-cell.is-disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.no-slots {
  padding: 40px; text-align: center;
  background: var(--bg); border-radius: var(--radius);
  color: var(--muted);
}

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form-field small { color: var(--muted); font-size: 0.8rem; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 0.98rem;
  padding: 12px 14px;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px var(--teal-glow);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-start; margin-top: 8px; }

.alert {
  padding: 14px 16px; border-radius: 12px;
  font-size: 0.95rem; margin-bottom: 20px;
  border: 1px solid;
}
.alert-info    { background: #EAF3FA; border-color: #B5D4E8; color: #1B4E6E; }
.alert-success { background: #E9F6F0; border-color: #B4DEC7; color: #0F6042; }
.alert-error   { background: #FBEDEC; border-color: #EDBEBB; color: #8B231D; }
.alert-warn    { background: #FDF2DF; border-color: #F0CE94; color: #7A4D06; }

/* Confirmation */
.confirm-card {
  text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-2);
}
.confirm-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #0F8A5F, #3AB983);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 20px;
}
.confirm-icon svg { width: 42px; height: 42px; }
.confirm-card h2 { color: var(--ink); font-size: 1.6rem; margin-bottom: 8px; }
.confirm-card .muted { color: var(--muted); margin-bottom: 20px; }
.confirm-meta {
  display: inline-flex; gap: 30px; flex-wrap: wrap; justify-content: center;
  background: var(--bg); border-radius: 12px; padding: 18px 24px;
  margin-bottom: 24px;
}
.confirm-meta .item { text-align: center; }
.confirm-meta .label { font-size: 0.78rem; color: var(--muted); }
.confirm-meta .val { font-size: 1.05rem; font-weight: 600; color: var(--ink); }

/* ============================================================
   ABOUT / CONTACT pages
   ============================================================ */
.page-hero {
  padding: 70px 0 40px;
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, var(--teal-glow) 0%, transparent 60%),
    linear-gradient(180deg, #F6FAFD 0%, #FFFFFF 100%);
}
.page-hero h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--ink); margin-bottom: 10px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.about-text {
  max-width: 800px; margin: 40px auto 60px; padding: 0 24px;
  color: var(--text-soft); font-size: 1.05rem; line-height: 1.9;
  text-align: start;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 80px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.team-photo {
  width: 110px; height: 110px; margin: 0 auto 16px;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), var(--teal-glow));
  border: 3px solid var(--white);
  box-shadow: var(--shadow-1);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; font-weight: 700;
  color: var(--brand);
}
.team-card h3 { color: var(--ink); font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.team-title { color: var(--brand); font-size: 0.88rem; font-weight: 500; margin-bottom: 12px; }
.team-bio { color: var(--text-soft); font-size: 0.9rem; line-height: 1.8; text-align: start; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  max-width: var(--container); margin: 0 auto; padding: 40px 24px 80px;
}
.contact-cell {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px;
}
.contact-cell .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-cell .ic svg { width: 22px; height: 22px; }
.contact-cell .label { font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }
.contact-cell .val a { color: var(--ink); font-weight: 600; }
.contact-cell .val a:hover { color: var(--brand); }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 60px 0 0; margin-top: 40px; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 320px; color: rgba(255,255,255,.6); }
.footer-logo { height: 44px; width: 44px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: 16px; }
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.7); font-size: 0.92rem; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--brand-3); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 44px; padding: 20px 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: var(--container); margin-inline: auto;
  font-size: 0.82rem; color: rgba(255,255,255,.45);
}
.staff-link { color: rgba(255,255,255,.35); font-size: 0.78rem; }
.staff-link:hover { color: rgba(255,255,255,.7); }
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .saudi-statement .word { opacity: 1; transform: none; }
}
