/* Smart Therapy Center — site styles */

:root {
  --green-50: #f3f9ec;
  --green-100: #e3f1d2;
  --green-400: #8cc63e;
  --green-600: #5a9a2a;
  --green-700: #3f7a1f;
  --green-900: #1f3d14;
  --amber-100: #fff1d9;
  --amber-400: #fcb040;
  --amber-600: #d98a12;
  --cream: #fbf8f1;
  --ink: #1b221c;
  --body: #3d4740;
  --muted: #66716a;
  --line: #e7e3d8;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(27, 34, 28, 0.06), 0 2px 8px rgba(27, 34, 28, 0.04);
  --shadow: 0 10px 30px -12px rgba(27, 34, 28, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(31, 61, 20, 0.28);

  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

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

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 0.98rem; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: 0 8px 20px -8px rgba(63, 122, 31, 0.6); }
.btn-primary:hover { background: var(--green-900); color: var(--white); }
.btn-amber { background: var(--amber-400); color: var(--ink); }
.btn-amber:hover { background: #ffc261; color: var(--ink); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-light { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn-light:hover { background: rgba(255, 255, 255, 0.2); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0.6rem 1.1rem; font-size: 0.92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; color: var(--green-700); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Utility bar + header ---------- */

.utility {
  background: var(--green-900); color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
}
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.utility a { color: var(--white); text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility-list { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; align-items: center; }
.utility-list li { display: inline-flex; align-items: center; gap: 0.45rem; }
.utility svg { width: 15px; height: 15px; opacity: 0.8; }
.lang-link { font-weight: 700; font-family: "Tajawal", var(--font); font-size: 0.95rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 80px; }
.brand { flex: none; display: block; }
.brand img { width: 220px; height: auto; }

.nav { margin-inline-start: auto; }
.nav-list { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block; padding: 0.55rem 0.9rem; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 0.97rem; text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: var(--green-50); color: var(--green-700); }
.nav-list a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }
.header-cta { display: flex; gap: 0.6rem; }
.nav-mobile-extra { display: none; }

.menu-toggle {
  display: none; margin-inline-start: auto;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform 0.25s, background-color 0.25s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green-50); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--amber-400); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-head-row .section-head { margin-bottom: 0; }

.lead { font-size: 1.2rem; color: var(--body); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(140, 198, 62, 0.16), transparent 60%),
    radial-gradient(700px 400px at 5% 90%, rgba(252, 176, 64, 0.14), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--green-700); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em; height: 0.28em; z-index: -1;
  background: rgba(252, 176, 64, 0.45); border-radius: 4px;
}
.hero .lead { max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 0; padding: 0; list-style: none; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--green-600); flex: none; }

.hero-media { position: relative; padding: 0 0 3rem; padding-inline-start: 3rem; }
.hero-photo-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-small {
  position: absolute; inset-inline-start: 0; bottom: 0; width: 44%;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--white); box-shadow: var(--shadow);
  aspect-ratio: 1 / 1;
}
.hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; inset-inline-end: -0.5rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--white); padding: 0.9rem 1.1rem; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 250px;
}
.hero-badge-icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--amber-100); color: var(--amber-600);
}
.hero-badge-icon svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.3; }
.hero-badge span { font-size: 0.85rem; color: var(--muted); line-height: 1.3; display: block; }
.hero-shape {
  position: absolute; top: -1.5rem; inset-inline-end: -1.5rem; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(var(--green-400) 2px, transparent 2.5px);
  background-size: 16px 16px; opacity: 0.6;
}

/* ---------- Quick actions ---------- */

.quick { position: relative; z-index: 2; margin-top: -3rem; }
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.quick-item {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.6rem 1.5rem;
  text-decoration: none; color: inherit; border-inline-end: 1px solid var(--line);
  transition: background-color 0.2s;
}
.quick-item:last-child { border-inline-end: 0; }
a.quick-item:hover { background: var(--green-50); color: inherit; }
.quick-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--green-50); color: var(--green-700);
}
.quick-icon svg { width: 22px; height: 22px; }
.quick-item strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 0.15rem; }
.quick-item div span { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }

/* ---------- Service cards ---------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.8rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
a.service-card:hover { border-color: var(--green-400); box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1.25rem;
  display: grid; place-items: center; background: var(--green-50); color: var(--green-700);
}
.service-card:nth-child(3n + 2) .service-icon { background: var(--amber-100); color: var(--amber-600); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 0.4rem; }
.service-card p { font-size: 0.97rem; color: var(--muted); margin-bottom: 1.2rem; }
.service-card .link-arrow { margin-top: auto; font-size: 0.93rem; }

/* ---------- Journey ---------- */

.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.journey::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-400) 0 8px, transparent 8px 16px);
  opacity: 0.6;
}
.step { position: relative; text-align: center; padding: 0 0.5rem; }
.step-icon {
  position: relative; width: 88px; height: 88px; margin: 0 auto 1.3rem;
  border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--green-700);
}
.step:nth-child(even) .step-icon { color: var(--amber-600); }
.step-icon svg { width: 34px; height: 34px; }
.step-icon::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -4px; inset-inline-end: -4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--amber-400); color: var(--ink); font-size: 0.85rem; font-weight: 800;
  display: grid; place-items: center; border: 3px solid var(--cream);
}
.step p { font-size: 0.96rem; color: var(--muted); margin: 0; }

/* ---------- Split feature ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media .floating {
  position: absolute; inset-inline-end: -1rem; bottom: -1.5rem; width: 42%;
  border: 6px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 1 / 1; object-fit: cover;
}
.check-list { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.check-list .check {
  flex: none; width: 28px; height: 28px; border-radius: 50%; margin-top: 2px;
  background: var(--green-100); color: var(--green-700); display: grid; place-items: center;
}
.check-list .check svg { width: 16px; height: 16px; }
.check-list strong { display: block; color: var(--ink); }
.check-list span { display: block; color: var(--muted); font-size: 0.97rem; }

/* ---------- Team / specialties ---------- */

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.team-card {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); transition: box-shadow 0.25s, transform 0.25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-card div { padding: 1.1rem 1.2rem 1.3rem; }
.team-card h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.team-card p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Trust ---------- */

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; gap: 2.5rem; }
.trust-label { flex: none; max-width: 200px; font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.trust-logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.trust-logos img {
  height: 54px; width: auto; max-width: 160px; object-fit: contain;
  filter: saturate(0.85); opacity: 0.9; transition: filter 0.25s, opacity 0.25s;
}
.trust-logos img:hover { filter: none; opacity: 1; }

/* ---------- Gallery ---------- */

.gallery-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 220px); gap: 1rem; }
.gallery-strip a { border-radius: var(--radius); overflow: hidden; display: block; }
.gallery-strip a:first-child { grid-row: span 2; }
.gallery-strip img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-strip a:hover img, .gallery-grid a:hover img { transform: scale(1.04); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--green-50); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 4rem 1rem;
  background: rgba(15, 22, 16, 0.92);
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(1100px, 100%); border-radius: var(--radius-sm); }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); color: var(--white); display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open] { border-color: var(--green-400); box-shadow: var(--shadow-sm); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.2rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 700; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-50); color: var(--green-700);
  font-size: 1.2rem; font-weight: 600; transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: rgba(255, 255, 255, 0.85);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(252, 176, 64, 0.18);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: stretch; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .quick-icon { width: 42px; height: 42px; border-radius: 12px; }
.contact-list strong { display: block; color: var(--ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.15rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.hours td { padding: 0.15rem 0; }
.hours td:last-child { text-align: end; color: var(--ink); font-weight: 600; }
.map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  min-height: 420px; background: var(--green-50);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(140, 198, 62, 0.16), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 0.8rem; }
.page-hero p { max-width: 680px; font-size: 1.15rem; color: var(--muted); margin: 0; }
.breadcrumb { display: flex; gap: 0.5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: 0.9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); }

/* ---------- Service detail rows ---------- */

.service-detail { display: grid; gap: 1.25rem; }
.service-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); scroll-margin-top: 110px;
}
.service-row:target { border-color: var(--green-400); box-shadow: var(--shadow); }
.service-row .service-icon { margin: 0; }
.service-row h2 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.service-row p { margin: 0; color: var(--muted); font-size: 0.99rem; }

.aside-note {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.5rem; border-radius: var(--radius); background: var(--amber-100);
  color: var(--ink); font-size: 0.97rem;
}
.aside-note svg { flex: none; width: 22px; height: 22px; color: var(--amber-600); margin-top: 2px; }
.aside-note p { margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding: 4.5rem 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 200px; background: var(--white); padding: 0.6rem 0.8rem; border-radius: 12px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.4rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.86rem;
}

/* ---------- Arabic / right-to-left ---------- */

[dir="rtl"] body { font-family: "Tajawal", system-ui, sans-serif; line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .eyebrow, [dir="rtl"] .contact-list strong, [dir="rtl"] .site-footer h3 { letter-spacing: 0; font-size: 0.95rem; }
[dir="rtl"] .lang-link { font-family: var(--font); }
[dir="rtl"] .i-arrow { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .i-arrow { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .lb-close { right: auto; left: 1rem; }
[dir="rtl"] .lb-prev { left: auto; right: 1rem; }
[dir="rtl"] .lb-next { right: auto; left: 1rem; }
[dir="rtl"] .lb-prev svg, [dir="rtl"] .lb-next svg { transform: scaleX(-1); }

/* ---------- Mobile action bar ---------- */

.mobile-bar { display: none; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .header-cta .btn-outline { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .utility-list .hide-md { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    height: calc(100vh - 80px); height: calc(100dvh - 80px);
    background: var(--white); border-top: 1px solid var(--line); padding: 1.5rem 1.25rem 7rem;
    overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0.25rem; }
  .nav-list a { font-size: 1.2rem; padding: 0.9rem 1rem; border-radius: 12px; }
  .nav-mobile-extra { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
  .nav-mobile-extra .btn { width: 100%; }

  .hero-grid, .split, .faq-grid, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .hero-media { max-width: 620px; }
  .cta-actions { justify-content: flex-start; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-inline-end: 0; }
  .quick-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .journey::before { display: none; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .trust-label { max-width: none; }
  .trust-logos { justify-content: flex-start; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .split-media .floating { inset-inline-end: 0.5rem; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 72px; }
  .utility .container { justify-content: center; }
  .utility-list .hide-sm { display: none; }
  .header-inner { min-height: 70px; }
  .nav { height: calc(100vh - 70px); height: calc(100dvh - 70px); }
  .brand img { width: 176px; }
  .hero-media { padding: 0 0 2rem; }
  .hero-photo-small, .hero-shape { display: none; }
  .hero-badge { inset-inline-end: 1rem; bottom: 0; padding: 0.7rem 0.9rem; max-width: 240px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quick { margin-top: -2rem; }
  .quick-grid, .service-grid, .team-grid { grid-template-columns: 1fr; }
  .quick-item { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { border-bottom: 0; }
  .journey { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery-strip a:first-child { grid-column: span 2; grid-row: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .service-row { grid-template-columns: 1fr; gap: 1rem; padding: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .map, .map iframe { min-height: 320px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
    padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -12px rgba(27, 34, 28, 0.25);
  }
  .mobile-bar .btn { width: 100%; }
}
