/* ========== ROOT & RESET ========== */
:root {
  --bg: #0b1e1a;
  --bg2: #0f2620;
  --surface: #17352d;
  --surface2: #1d4138;
  --ink: #eef6f2;
  --muted: #a9c7bc;
  --gold: #d3a767;
  --gold-soft: rgba(211, 167, 103, .16);
  --teal: #4fa393;
  --teal-soft: rgba(79, 163, 147, .15);
  --line: rgba(255, 255, 255, 0.10);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 40px -12px rgba(0,0,0,.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, .display { font-family: 'Markazi Text', 'Tajawal', serif; font-weight: 700; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ========== KEYFRAMES ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.animate-on-scroll-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 30, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}
header.scrolled {
  background: rgba(11, 30, 26, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1140px;
  margin: 0 auto;
}

/* SVG Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  flex: none;
}
.brand-logo svg {
  width: 100%;
  height: 100%;
}
.brand-text strong {
  display: block;
  font-size: 17px;
  color: #fff;
  line-height: 1.3;
}
.brand-text span {
  display: block;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .5px;
}

nav.links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: var(--muted);
}
nav.links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
nav.links a:hover { color: var(--gold); }
nav.links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
nav.links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gold);
  color: #16302a;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(211, 167, 103, .3);
}
.nav-cta:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 163, 147, .4);
}

.burger {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 74px;
  left: 0; right: 0;
  background: rgba(11, 30, 26, 0.98);
  backdrop-filter: blur(12px);
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  animation: fadeIn 0.25s ease;
  z-index: 99;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
  font-size: 15px;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 16px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 150px 0 100px;
  background:
    radial-gradient(ellipse 900px 560px at 85% -10%, rgba(79, 163, 147, .22), transparent 60%),
    linear-gradient(180deg, #0b1e1a 0%, #0f2620 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(120deg, transparent 0 78px, rgba(211, 167, 103, .04) 78px 79px);
  opacity: .7;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: 56px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #16302a;
  padding: 16px 34px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(211, 167, 103, .25);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(79, 163, 147, .35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  color: #fff;
  padding: 16px 30px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-stats div strong {
  display: block;
  font-family: 'Markazi Text', serif;
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
}
.hero-stats div span {
  font-size: 13px;
  color: var(--muted);
}

/* Hero Portrait - professional image cropping */
.hero-portrait {
  position: relative;
  animation: fadeIn 1s ease 0.3s both;
}
.portrait-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--surface2), var(--bg2));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.55),
    0 0 0 1px rgba(211, 167, 103, .3),
    0 0 40px rgba(211, 167, 103, .12),
    inset 0 0 80px rgba(211, 167, 103, .08);
  border: 3px solid var(--gold);
  transition: box-shadow 0.5s ease;
}
.portrait-frame:hover {
  box-shadow:
    0 35px 70px -20px rgba(0,0,0,.6),
    0 0 0 2px rgba(211, 167, 103, .4),
    0 0 60px rgba(211, 167, 103, .18),
    inset 0 0 80px rgba(211, 167, 103, .08);
}
.portrait-frame::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(211, 167, 103, .08) 45%,
    rgba(211, 167, 103, .15) 50%,
    rgba(211, 167, 103, .08) 55%,
    transparent 65%
  );
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.4) 100%);
  z-index: 2;
  pointer-events: none;
  border-radius: 25px;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 25px;
  position: relative;
  z-index: 1;
  filter: contrast(1.02) saturate(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.portrait-frame:hover img {
  transform: scale(1.03);
  filter: contrast(1.05) saturate(1.08);
}
.portrait-frame .placeholder-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(11,30,26,.6) 80%, rgba(11,30,26,.9) 100%);
  z-index: 1;
  pointer-events: none;
  border-radius: 25px;
}
.portrait-badge {
  position: absolute;
  bottom: -22px;
  right: -20px;
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  animation: slideInRight 0.6s ease 0.8s both;
  z-index: 3;
}
.portrait-badge .dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.portrait-badge strong { display: block; font-size: 14px; color: #fff; }
.portrait-badge span { font-size: 12px; color: var(--muted); }

/* ========== SECTION HEADING ========== */
.section-head {
  max-width: 650px;
  margin-bottom: 54px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow {
  margin-bottom: 14px;
  justify-content: center;
}
.section-head .eyebrow::before { display: none; }
.section-head h2 {
  font-size: 38px;
  color: #fff;
}
.section-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 16px;
}

section { padding: 100px 0; }

/* ========== ABOUT ========== */
.about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.about-card h3 {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 12px;
}
.about-card p {
  color: var(--muted);
  font-size: 15px;
}
.about-card + .about-card { margin-top: 24px; }

.about-text p {
  margin-bottom: 18px;
  color: #d7e7e1;
  font-size: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill {
  background: var(--surface2);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.pill:hover {
  background: var(--gold);
  color: #16302a;
}

/* ========== SERVICES ========== */
.services { background: var(--bg); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -16px rgba(0,0,0,.45);
  border-color: var(--gold);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 22px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: #16302a;
}
.service-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  background: linear-gradient(180deg, #0b1e1a, #0f2620);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
  z-index: 0;
  opacity: .4;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: 'Markazi Text', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(211, 167, 103, .3);
}
.step-card:hover .step-num {
  background: var(--gold);
  color: #16302a;
  box-shadow: 0 0 0 12px rgba(211, 167, 103, 0);
  animation: pulse 1.5s ease infinite;
}
.step-card h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 14px;
  color: var(--muted);
  max-width: 200px;
  margin: 0 auto;
}

/* ========== TRUST / CREDIBILITY ========== */
.trust {
  background: var(--bg2);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.stat-card .stat-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 10px;
}
.stat-card strong {
  display: block;
  font-family: 'Markazi Text', serif;
  font-size: 36px;
  color: #fff;
}
.stat-card span {
  font-size: 14px;
  color: var(--muted);
}

/* Testimonials */
.testimonials-section {
  margin-top: 20px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.test-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
}
.test-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.test-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 3px;
}
.test-card > p {
  font-size: 15px;
  color: #dcebe5;
  margin-bottom: 18px;
  line-height: 1.8;
}
.test-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 2px solid var(--gold);
}
.test-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.test-avatar-fallback {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--surface2));
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.test-person strong { display: block; font-size: 14px; color: #fff; }
.test-person span { font-size: 12px; color: var(--muted); }

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.trust-badge i {
  font-size: 28px;
  color: var(--gold);
}

/* ========== FINAL CTA ========== */
.cta-final {
  background: linear-gradient(160deg, #0f2a23 0%, #143d33 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(211, 167, 103, .08), transparent 60%);
  animation: gradientShift 8s ease infinite;
  pointer-events: none;
}
.cta-final .wrap {
  position: relative;
  z-index: 1;
}
.cta-final h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 16px;
}
.cta-final p {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 34px;
}
.cta-final .btn-primary {
  font-size: 18px;
  padding: 18px 44px;
  animation: pulse 2s ease infinite;
}
.cta-final .btn-primary:hover {
  animation: none;
}

/* ========== CONTACT / BOOKING ========== */
.contact {
  background: linear-gradient(160deg, #0f2a23, #143d33);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact h2 {
  font-size: 34px;
  margin-bottom: 18px;
  color: #fff;
}
.contact .lead {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 440px;
}
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info .item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-info .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--gold);
  font-size: 18px;
}
.contact-info strong { display: block; font-size: 14px; }
.contact-info span { font-size: 13px; color: var(--muted); }

form.booking {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
}
form.booking h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }
form.booking .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; display: block; }
form.booking label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
form.booking .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.booking input, form.booking textarea, form.booking select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  background: var(--bg2);
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form.booking input:focus, form.booking textarea:focus, form.booking select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
form.booking input::placeholder, form.booking textarea::placeholder { color: #7fa098; }
form.booking textarea { resize: none; height: 80px; }
form.booking button {
  width: 100%;
  background: var(--gold);
  color: #16302a;
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Tajawal', sans-serif;
}
form.booking button:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 163, 147, .35);
}
.booking-success {
  display: none;
  margin-top: 14px;
  background: var(--teal-soft);
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: #cdeee5;
}

/* ========== FOOTER ========== */
footer {
  background: #081814;
  color: #7fa098;
  padding: 50px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.social { display: flex; gap: 12px; }
.social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  color: var(--muted);
}
.social a::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}
.social a:hover::before { width: 100%; height: 100%; }
.social a span { position: relative; z-index: 1; }
.social a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  nav.links { display: none; }
  .burger { display: block; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 40px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-portrait { order: -1; max-width: 320px; margin: 0 auto 30px; }

  .about-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  form.booking .row { grid-template-columns: 1fr; }

  .cta-final h2 { font-size: 32px; }
  .section-head h2 { font-size: 30px; }
}

@media (max-width: 520px) {
  .service-grid, .steps-grid, .stats-row { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 16px; }

  .btn-primary, .btn-ghost { width: 100%; text-align: center; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  .portrait-badge { right: 50%; transform: translateX(50%); }
  section { padding: 64px 0; }
  .cta-final h2 { font-size: 28px; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ========== CERTIFICATES GALLERY ========== */
.certificates { background: var(--bg2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.35s ease;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  border-color: var(--gold);
}
.gallery-item .gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--surface2), var(--surface));
  color: var(--gold);
  font-size: 42px;
  gap: 12px;
}
.gallery-item .gallery-placeholder span {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Tajawal', sans-serif;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span {
  color: var(--gold);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gallery-zoom {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: var(--gold);
  color: #16302a;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  z-index: 2;
}
.gallery-item:hover .gallery-zoom { transform: translate(-50%, -50%) scale(1); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: scaleIn 0.3s ease;
}
.lightbox-close {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--surface);
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}
.lightbox-close:hover {
  background: var(--gold);
  color: #16302a;
  transform: rotate(90deg);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.lightbox-nav:hover { background: var(--gold); color: #16302a; }
.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { right: 10px; }
  .lightbox-next { left: 10px; }
}

/* ========== TESTIMONIAL CAROUSEL ========== */
.test-carousel {
  position: relative;
  overflow: hidden;
}
.test-carousel-track {
  display: flex;
  direction: ltr;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.test-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 10px;
}
.test-slide-image {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
  position: relative;
}
.test-slide-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,30,26,.4) 100%);
  pointer-events: none;
}
.test-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.test-slide:hover .test-slide-image img { transform: scale(1.05); }
.test-slide-content {
  padding: 10px 0;
}
.test-slide-content .test-quote-icon {
  font-size: 40px;
  color: var(--gold);
  font-family: 'Markazi Text', serif;
  line-height: 1;
  margin-bottom: 10px;
  opacity: .6;
}
.test-slide-content p {
  font-size: 17px;
  color: #dcebe5;
  line-height: 1.9;
  margin-bottom: 22px;
}
.test-slide-content .test-person {
  display: flex;
  align-items: center;
  gap: 14px;
}
.test-slide-content .test-person .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 2px solid var(--gold);
}
.test-slide-content .test-person .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.test-slide-content .test-person strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.test-slide-content .test-person span {
  font-size: 13px;
  color: var(--muted);
}
.test-slide-content .stars {
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

/* Tab strip for testimonials */
.test-tab-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.test-tab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: .55;
  flex: none;
}
.test-tab:hover { opacity: .85; border-color: var(--gold); }
.test-tab.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft), 0 0 20px rgba(211, 167, 103, .25);
  transform: scale(1.1);
}
.test-tab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-carousel-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.test-carousel-arrows button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}
.test-carousel-arrows button:hover {
  background: var(--gold);
  color: #16302a;
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .test-slide { grid-template-columns: 1fr; gap: 24px; }
  .test-slide-image { height: 320px; }
}
@media (max-width: 520px) {
  .test-slide-image { height: 250px; }
  .test-slide-content p { font-size: 15px; }
  .test-tab { width: 38px; height: 38px; }
}
/* ========== CHATBOT ========== */
.chat-btn {
  position: fixed; bottom: 24px; left: 24px; z-index: 9999;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b8913e);
  color: #0b1e1a; border: none; cursor: pointer;
  font-size: 26px; box-shadow: 0 6px 24px rgba(211,167,103,.4);
  transition: transform .3s, box-shadow .3s;
  display: flex; align-items: center; justify-content: center;
}
.chat-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(211,167,103,.55); }
.chat-btn .pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--gold); animation: chatPulse 2s infinite;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.35); opacity: 0; }
}
.chat-panel {
  position: fixed; bottom: 96px; left: 24px; z-index: 9998;
  width: 360px; height: 520px; max-height: calc(100vh - 140px);
  background: var(--surface); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line);
  animation: chatSlideUp .35s ease;
}
.chat-panel.open { display: flex; }
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
  background: linear-gradient(135deg, var(--bg2), var(--surface2));
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
}
.chat-header .avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--gold);
}
.chat-header .avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-header .info { flex: 1; }
.chat-header .info strong { font-size: 14px; color: var(--gold); display: block; }
.chat-header .info span { font-size: 11px; color: var(--muted); }
.chat-header .close-btn {
  background: none; border: none; color: var(--muted); font-size: 18px; cursor: pointer; padding: 4px;
}
.chat-header .close-btn:hover { color: var(--ink); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 4px; }
.chat-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.6;
  animation: msgIn .3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
  background: var(--bg2); color: var(--ink); align-self: flex-start;
  border-bottom-right-radius: 4px;
}
.chat-msg.user {
  background: var(--gold); color: #0b1e1a; align-self: flex-end;
  border-bottom-left-radius: 4px; font-weight: 500;
}
.chat-msg.bot a { color: var(--gold); text-decoration: underline; }
.chat-msg.bot a:hover { color: #e0c080; }
.chat-quick {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 4px;
  border-top: 1px solid var(--line);
}
.chat-quick button {
  background: var(--bg2); color: var(--muted); border: 1px solid var(--line);
  border-radius: 50px; padding: 6px 14px; font-size: 11px; cursor: pointer;
  font-family: inherit; transition: all .25s; white-space: nowrap;
}
.chat-quick button:hover {
  background: var(--gold); color: #0b1e1a; border-color: var(--gold);
}
.chat-input-wrap {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-top: 1px solid var(--line);
  background: var(--bg2);
}
.chat-input-wrap input {
  flex: 1; background: var(--surface); border: 1px solid var(--line);
  border-radius: 50px; padding: 10px 14px; color: var(--ink); font-size: 13px;
  font-family: inherit; outline: none; transition: border .25s;
}
.chat-input-wrap input:focus { border-color: var(--gold); }
.chat-input-wrap input::placeholder { color: var(--muted); opacity: .6; }
.chat-input-wrap button {
  background: var(--gold); color: #0b1e1a; border: none;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  font-size: 16px; transition: transform .25s;
  display: flex; align-items: center; justify-content: center;
}
.chat-input-wrap button:hover { transform: scale(1.08); }
@media (max-width: 480px) {
  .chat-panel { left: 10px; right: 10px; width: auto; bottom: 88px; height: 65vh; }
  .chat-btn { bottom: 16px; left: 16px; width: 52px; height: 52px; font-size: 22px; }
}