:root {
  --navy: #102e4e;
  --navy-deep: #0a2037;
  --navy-soft: #1a466f;
  --gold: #b98a2f;
  --gold-light: #e8cf94;
  --ink: #152333;
  --muted: #627083;
  --line: #dce4ec;
  --surface: #ffffff;
  --wash: #f4f7fa;
  --warm: #fbf7ee;
  --success: #1f7a52;
  --radius: 20px;
  --shadow: 0 18px 55px rgba(16, 46, 78, 0.1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Tajawal", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, .brand strong { font-family: "Noto Kufi Arabic", "Tajawal", sans-serif; }
h1, h2, h3 { color: var(--navy); line-height: 1.45; }

.section-shell {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 236, 0.85);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
  box-shadow: 0 5px 18px rgba(16, 46, 78, 0.18);
}

.brand span { display: flex; flex-direction: column; line-height: 1.35; }
.brand strong { color: var(--navy); font-size: 0.88rem; }
.brand small { color: var(--muted); font-size: 0.7rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a,
.text-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.text-link:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.whatsapp-offer-link {
  color: var(--navy);
  padding-inline-end: 0.9rem;
  border-inline-end: 1px solid var(--line);
}

.lang-button {
  min-width: 82px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-top: 1.35rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  box-shadow: 0 12px 28px rgba(16, 46, 78, 0.22);
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover { border-color: var(--gold); }
.button-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(4, 20, 35, 0.18); }

.micro-proof {
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 1rem;
}

.profile-card {
  position: relative;
  border-radius: 30px;
  padding: 1rem;
  background: linear-gradient(160deg, #fff, var(--warm));
  border: 1px solid #eadfc7;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}

[dir="ltr"] .profile-card { transform: rotate(1.5deg); }

.portrait-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.03;
  border-radius: 22px;
  background: var(--wash);
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.availability {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--success);
  box-shadow: 0 8px 22px rgba(16, 46, 78, 0.16);
  font-size: 0.75rem;
  font-weight: 700;
}

.availability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-inline-end: 0.45rem;
}

.profile-card-copy { padding: 1.1rem 0.55rem 0.4rem; }
.profile-card-copy strong { display: block; color: var(--navy); font-family: "Noto Kufi Arabic", sans-serif; font-size: 0.95rem; }
.profile-card-copy p { color: var(--muted); font-size: 0.86rem; margin-top: 0.35rem; }

.proof-strip {
  width: min(980px, calc(100% - 2rem));
  margin: -1.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 20px 45px rgba(16, 46, 78, 0.2);
  overflow: hidden;
}

.proof-strip div {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-strip div:first-child { border-inline-start: 0; }
.proof-strip strong { color: var(--gold-light); font-size: 1.8rem; line-height: 1.1; }
.proof-strip span { font-size: 0.82rem; margin-top: 0.35rem; opacity: 0.9; }

.content-section { padding-block: clamp(5rem, 9vw, 8rem); }

.section-heading { max-width: 700px; margin-bottom: 2.2rem; }
.section-heading h2,
.about-grid h2,
.contact-section h2,
.whatsapp-spotlight h2 { font-size: clamp(1.55rem, 3.5vw, 2.5rem); }
.section-heading > p:last-child,
.about-lead,
.contact-section p,
.whatsapp-spotlight p { color: var(--muted); margin-top: 0.7rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover { transform: translateY(-5px); border-color: var(--gold-light); box-shadow: var(--shadow); }
.card-index { color: var(--gold); font-size: 0.78rem; font-weight: 700; }
.service-card h3 { font-size: 1.05rem; margin-top: auto; }
.service-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.65rem; }

.section-tint {
  position: relative;
  width: min(1200px, calc(100% - 1rem));
  padding-inline: clamp(1rem, 4vw, 3rem);
  border-radius: 34px;
  background: var(--wash);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.6fr);
  align-items: end;
  gap: 2rem;
}

.split-heading > p { margin: 0; }

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.work-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.work-card-featured {
  background: linear-gradient(145deg, var(--navy), var(--navy-soft));
  border: none;
}

.work-label {
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--warm);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.work-card h3 { font-size: 1.12rem; margin-top: auto; }
.work-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }
.work-card-featured h3 { color: #fff; }
.work-card-featured p { color: rgba(255, 255, 255, 0.76); }

.inline-link {
  width: fit-content;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.86rem;
  margin-top: 1rem;
  text-decoration: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.process-list { list-style: none; display: grid; gap: 0.8rem; }

.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.process-list li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 700;
}

.process-list strong { color: var(--navy); font-family: "Noto Kufi Arabic", sans-serif; font-size: 0.9rem; }
.process-list p { color: var(--muted); font-size: 0.88rem; margin-top: 0.2rem; }

.whatsapp-spotlight {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  background: linear-gradient(135deg, #102e4e, #0f5b58);
  color: #fff;
  overflow: hidden;
}

.whatsapp-spotlight .eyebrow { color: #95e0bb; }
.whatsapp-spotlight h2 { color: #fff; max-width: 720px; }
.whatsapp-spotlight p { color: rgba(255, 255, 255, 0.75); max-width: 700px; }

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.contact-section > div:first-child { max-width: 680px; }
.contact-actions { flex: 0 0 auto; margin: 0; }

.site-footer { border-top: 1px solid var(--line); padding-block: 1.4rem; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; direction: ltr; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

[dir="ltr"] .eyebrow { letter-spacing: 0.08em; }
[dir="ltr"] .hero h1 { letter-spacing: -0.035em; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr 330px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card-featured { grid-column: 1 / -1; min-height: 270px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .header-inner { min-height: 68px; }
  .brand small, .whatsapp-offer-link { display: none; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 3.5rem 2.5rem;
  }
  .hero-copy { text-align: start; }
  .hero h1 { font-size: clamp(1.8rem, 9vw, 2.55rem); }
  .profile-card { max-width: 420px; margin-inline: auto; transform: none; }
  [dir="ltr"] .profile-card { transform: none; }
  .proof-strip { margin-top: 1rem; grid-template-columns: 1fr; }
  .proof-strip div { min-height: 92px; border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .proof-strip div:first-child { border-top: 0; }
  .services-grid, .work-grid, .about-grid, .split-heading { grid-template-columns: 1fr; }
  .work-card-featured { grid-column: auto; }
  .service-card { min-height: 220px; }
  .section-tint { width: calc(100% - 1rem); border-radius: 24px; }
  .whatsapp-spotlight, .contact-section { flex-direction: column; align-items: flex-start; }
  .contact-actions { width: 100%; }
  .contact-actions .button { flex: 1; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 460px) {
  .section-shell { width: min(100% - 1.25rem, 1140px); }
  .header-inner { width: calc(100% - 1.25rem); }
  .brand strong { font-size: 0.78rem; }
  .brand-photo { width: 40px; height: 40px; }
  .lang-button { min-width: 74px; height: 38px; }
  .hero-actions, .contact-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero-lead { font-size: 1rem; }
  .profile-card-copy { padding-inline: 0.25rem; }
  .process-list li { grid-template-columns: 40px 1fr; padding: 0.9rem; }
  .process-list li > span { width: 36px; height: 36px; }
}
