:root {
  --green-950: #13261b;
  --green-900: #1d3527;
  --green-800: #25432f;
  --green-700: #31553e;
  --gold: #b8915a;
  --gold-600: #a07a45;
  --gold-300: #d9c094;
  --gold-100: #f1e6d2;
  --marble: #f4f2ee;
  --marble-2: #ebe8e2;
  --white: #ffffff;
  --ink: #1f2a23;
  --muted: #5d675f;
  --line: rgba(29, 53, 39, 0.12);

  --f-head: "Alexandria", "Tajawal", system-ui, sans-serif;
  --f-body: "Tajawal", system-ui, sans-serif;
  --f-script: "Aref Ruqaa", "Tajawal", serif;
  --f-latin: "Cormorant Garamond", Georgia, serif;

  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(19, 38, 27, 0.35);
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--marble);
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 60%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 85%, rgba(220, 214, 204, 0.45), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: 1.3; color: var(--green-900); }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow-light { color: var(--gold-300); }

.script {
  font-family: var(--f-script);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.6;
  color: var(--gold);
  margin: 6px 0 22px;
}
.script-light { color: var(--gold-300); }

.section { padding: clamp(70px, 9vw, 120px) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
.section-head .script { margin-bottom: 0; }
.section-head-start { text-align: start; margin: 0; }
.section-head-start .eyebrow::after { display: none; }
.section-head-start .script { margin-bottom: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }

.btn-green { background: var(--green-900); color: var(--white); box-shadow: 0 12px 26px -12px rgba(29, 53, 39, 0.7); }
.btn-green:hover { background: var(--green-800); }

.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, var(--gold-600)); color: var(--green-950); box-shadow: 0 12px 26px -12px rgba(160, 122, 69, 0.8); }

.btn-outline { border-color: var(--green-900); color: var(--green-900); background: transparent; }
.btn-outline:hover { background: var(--green-900); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(244, 242, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(19, 38, 27, 0.35); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 70px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-en { font-family: var(--f-latin); font-weight: 600; font-size: 19px; color: var(--green-900); direction: ltr; text-align: right; }
.brand-ar { font-size: 12.5px; color: var(--gold-600); font-weight: 500; }

.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a {
  position: relative;
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--green-900);
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-inline-start: auto;
}
.nav-toggle span { display: block; height: 2px; background: var(--green-900); margin: 5px 0; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.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); }

/* ---------- Mirror frame (brand motif) ---------- */
.mirror {
  position: relative;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(160deg, #f7efe2, #d9c094 40%, #a07a45 60%, #e9d8b9);
  box-shadow: var(--shadow);
}
.mirror::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 38px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 35%);
  pointer-events: none;
}
.mirror img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy h1 {
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero-copy h1 .dr-title { margin-inline-end: 0.22em; }
.hero-copy .script { font-size: clamp(24px, 3vw, 34px); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }

.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-800);
  padding: 7px 16px;
  border: 1px solid rgba(184, 145, 90, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-visual { position: relative; height: clamp(460px, 52vw, 640px); }
.mirror-main { position: absolute; inset-block: 0; inset-inline-start: 6%; width: 64%; z-index: 2; }
.mirror-main img { object-position: center 20%; }
.mirror-side { position: absolute; inset-inline-end: 0; top: 12%; width: 40%; height: 72%; z-index: 1; opacity: 0.95; }
.mirror-side img { object-position: center top; }

.hero-card {
  position: absolute;
  z-index: 3;
  bottom: 8%;
  inset-inline-end: 4%;
  display: flex;
  flex-direction: column;
  padding: 16px 22px;
  border-radius: 16px;
  background: var(--green-900);
  color: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 192, 148, 0.35);
  max-width: 230px;
}
.hero-card-title { font-family: var(--f-head); font-weight: 700; color: var(--gold-300); font-size: 17px; }
.hero-card-sub { font-size: 14px; line-height: 1.6; opacity: 0.9; }

/* ---------- Credentials ---------- */
.creds { padding: 0 0 20px; }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-900);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cred { display: flex; align-items: center; gap: 16px; padding: 28px 30px; color: var(--white); }
.cred + .cred { border-inline-start: 1px solid rgba(217, 192, 148, 0.18); }
.cred-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 192, 148, 0.5);
}
.cred-icon svg { width: 24px; height: 24px; fill: var(--gold-300); }
.cred strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 16px; color: var(--gold-300); }
.cred span { font-size: 14.5px; opacity: 0.85; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-visual { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.mirror-about { aspect-ratio: 3 / 4.2; }
.mirror-about img { object-position: center 30%; }
.about-stamp {
  position: absolute;
  bottom: -26px;
  inset-inline-start: -26px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--marble);
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.about-stamp span { font-family: var(--f-latin); font-style: italic; font-size: 18px; color: var(--green-900); }
.about-stamp strong { font-family: var(--f-latin); font-size: 30px; color: var(--gold-600); }
.about-stamp small { font-size: 12px; color: var(--muted); margin-top: 4px; }

.about-copy h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.about-copy p:not(.script) { color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-inline-start: 34px; font-weight: 500; color: var(--green-900); }
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 30%, rgba(255, 255, 255, 0.55) 70%, transparent); }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -14px 0 40px; }
.tab {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: 14.5px;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green-900);
  cursor: pointer;
  transition: all 0.25s ease;
}
.tab:hover { border-color: var(--gold); }
.tab.is-active { background: var(--green-900); color: var(--gold-300); border-color: var(--green-900); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 28px;
  width: 44px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(184, 145, 90, 0.45); }
.service h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 15.5px; margin: 0; }
.service.featured { background: var(--green-900); border-color: var(--green-900); }
.service.featured h3 { color: var(--gold-300); }
.service.featured p { color: rgba(255, 255, 255, 0.82); }
.service-tag { display: none; }
.service.is-hidden { display: none; }

/* ---------- Results (education) ---------- */
.results {
  background: var(--green-900);
  background-image:
    radial-gradient(ellipse 60% 60% at 0% 0%, rgba(217, 192, 148, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 100%, rgba(49, 85, 62, 0.9), transparent 70%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.results-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.results h2 { color: var(--white); font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
.results-copy p:not(.script) { color: rgba(255, 255, 255, 0.82); margin-bottom: 30px; }

.factors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.factor {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 192, 148, 0.2);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.factor:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(217, 192, 148, 0.45); }
.factor-num { font-family: var(--f-latin); font-size: 34px; font-weight: 600; color: var(--gold); line-height: 1; }
.factor h3 { color: var(--gold-300); font-size: 17.5px; margin-bottom: 6px; }
.factor p { color: rgba(255, 255, 255, 0.78); font-size: 15px; margin: 0; line-height: 1.75; }

/* ---------- Journey ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  inset-inline: 12%;
  height: 1px;
  background: repeating-linear-gradient(to left, var(--gold) 0 8px, transparent 8px 16px);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--marble);
  border: 1.5px solid var(--gold);
  font-family: var(--f-latin);
  font-size: 30px;
  font-weight: 600;
  color: var(--green-900);
  position: relative;
  box-shadow: 0 0 0 8px var(--marble);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 250px; margin-inline: auto; }

/* ---------- Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  justify-content: center;
  gap: 28px;
}
.case {
  margin: 0;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -28px rgba(19, 38, 27, 0.55);
}
.case img { width: 100%; height: auto; }
.case figcaption {
  padding: 14px 18px 16px;
  text-align: center;
  font-family: var(--f-head);
  font-weight: 600;
  color: var(--green-900);
  border-top: 1px solid var(--line);
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.g-item { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; background: var(--marble-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(184, 145, 90, 0.35); pointer-events: none; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.gallery-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-grid .section-head-start { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq-item[open] { border-color: rgba(184, 145, 90, 0.55); box-shadow: 0 14px 34px -22px rgba(19, 38, 27, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-600);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--gold-100); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Branches ---------- */
.branches-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.branch { background: var(--white); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(19, 38, 27, 0.5); }
.branch-map { aspect-ratio: 16 / 9; background: var(--marble-2); }
.branch-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.35) sepia(0.15); }
.branch-body { padding: 26px 28px 30px; }
.branch-body h3 { font-size: 22px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.branch-body h3::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b8915a'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.branch-body p { color: var(--muted); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(70px, 9vw, 110px); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px);
  border-radius: 30px;
  background: var(--green-900);
  background-image: radial-gradient(ellipse 50% 90% at 100% 50%, rgba(217, 192, 148, 0.16), transparent 70%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 192, 148, 0.25);
}
.cta h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.cta .script { margin: 4px 0 0; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.cta-phone { font-family: var(--f-head); font-weight: 700; font-size: 26px; color: var(--gold-300); letter-spacing: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, 0.78); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-logo { height: 78px; }
.footer-brand strong { display: block; font-family: var(--f-latin); font-size: 21px; color: var(--white); direction: ltr; text-align: right; }
.footer-brand span { font-size: 14px; color: var(--gold-300); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: var(--gold-300); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.footer-col a { font-size: 15px; transition: color 0.25s ease; width: fit-content; }
.footer-col a:hover { color: var(--gold-300); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(217, 192, 148, 0.35);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; fill: var(--gold-300); }
.socials a:hover svg { fill: var(--green-950); }

/* ---------- M2 signature ---------- */
.m2-signature {
  --m2-sig-text: #f5f0e6;
  --m2-sig-accent: #c9a36a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  letter-spacing: 0.2px;
  text-align: center;
}
.m2-signature__logo { display: inline-flex; align-items: center; line-height: 0; transition: opacity 0.25s ease, transform 0.25s ease; }
.m2-signature__logo:hover { opacity: 0.85; transform: translateY(-2px); }
.m2-signature__logo img { height: 18px; width: auto; max-width: 52px; object-fit: contain; }
.m2-signature__mark {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--m2-sig-accent);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--m2-sig-accent) 55%, transparent));
  animation: m2-sig-pulse 3.4s ease-in-out infinite;
}
.m2-signature__mark svg { width: 100%; height: 100%; display: block; }
@keyframes m2-sig-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.12) rotate(45deg); opacity: 1; }
}
.m2-signature__tag,
.m2-signature__tag strong { color: var(--m2-sig-text); font-size: 13px; font-family: var(--f-body); }
.m2-signature__year { color: color-mix(in srgb, var(--m2-sig-text) 78%, transparent); font-size: 13px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s ease;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ring 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before, .m2-signature__mark { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13.5px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand-logo { height: 56px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 24px;
    background: var(--marble);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(19, 38, 27, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { font-size: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }

  .hero-grid,
  .about-grid,
  .results-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }

  .creds-grid { grid-template-columns: 1fr; }
  .cred + .cred { border-inline-start: 0; border-top: 1px solid rgba(217, 192, 148, 0.18); }

  .about-visual { max-width: 380px; }
  .faq-grid .section-head-start { position: static; text-align: center; }
  .faq-grid .section-head-start .eyebrow::after { display: inline-block; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .cases-grid,
  .branches-grid { grid-template-columns: 1fr; }
  .cases-grid { max-width: 460px; margin-inline: auto; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-en { font-size: 16px; }
  .brand-ar { font-size: 11.5px; }
  .brand-logo { height: 50px; }
  .footer-brand .brand-logo { height: 64px; }
  .hero-visual { height: 470px; }
  .mirror { border-radius: 34px; padding: 7px; }
  .mirror::after { inset: 7px; border-radius: 28px; }
  .mirror img { border-radius: 28px; }
  .hero-card { bottom: 4%; inset-inline-end: 0; padding: 12px 16px; max-width: 190px; }
  .hero-card-title { font-size: 15px; }
  .hero-card-sub { font-size: 12.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .services-grid, .factors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-stamp { width: 112px; height: 112px; inset-inline-start: -8px; bottom: -20px; }
  .about-stamp strong { font-size: 24px; }
  .about-stamp span { font-size: 15px; }
  .gallery-grid { grid-auto-rows: 160px; gap: 10px; }
  .g-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
