/* ===========================================
   Al-Afya Medical Center — Stylesheet
   Brand: Purple #6B46C1 + Green #4A9D5B + Trust Blue #1F6FB2
   =========================================== */

:root {
  --brand-purple: #6B46C1;
  --brand-purple-dark: #553597;
  --brand-purple-light: #8B66E0;
  --brand-green: #4A9D5B;
  --brand-green-dark: #357A45;
  --brand-blue: #1F6FB2;
  --brand-blue-dark: #14528A;
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-300: #CBD5E1;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;
  --bg-card: #FFFFFF;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --max-width: 1240px;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-purple); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }
@media (max-width: 480px) { .container { padding: 0 18px; } }

/* ---------- TOP BAR ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; opacity: .92; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-lang { display: flex; gap: 12px; font-weight: 600; }
@media (max-width: 768px) {
  .topbar { padding: 6px 0; font-size: 12px; }
  .topbar .container { justify-content: center; gap: 10px; }
  .topbar-info { gap: 12px; justify-content: center; }
  .topbar-info span:nth-child(1) { display: none; } /* hide "Open Daily" text on mobile to keep clean */
  .topbar-lang { font-size: 12px; }
}

/* ---------- NAV ---------- */
.nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid var(--ink-100);
  flex-shrink: 0;
}
.brand-mark img { width: 80%; height: 80%; object-fit: contain; }
.brand-text { line-height: 1.1; min-width: 0; }
.brand-text .ar { font-family: var(--font-arabic); font-size: 14px; color: var(--brand-green); display: block; font-weight: 700;}
.brand-text .en { font-family: var(--font-display); font-size: 18px; color: var(--brand-purple); font-weight: 800; display: block; letter-spacing: -0.01em; white-space: nowrap; }
.brand-text .tag { font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.12em; }
@media (max-width: 600px) {
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; border-width: 1.5px; }
  .brand-text .tag { display: none; }
  .brand-text .en { font-size: 15px; }
  .brand-text .ar { font-size: 12px; }
}
@media (max-width: 380px) {
  .brand-text .ar { display: none; }
  .nav-mobile-cta { padding: 7px 12px; font-size: 12px; }
  .nav-mobile-cta span { display: none; } /* icon-only on tiny screens */
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-purple); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(107, 70, 193, 0.28);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  line-height: 1.2;
  margin-left: 6px;
}
.nav-cta i { font-size: 13px; }
.nav-cta::after { display: none; }
.nav-cta:hover {
  transform: translateY(-1px);
  color: #fff !important;
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(107, 70, 193, 0.42);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 2px 10px rgba(107, 70, 193, 0.28);
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 3px auto; transition: .2s; border-radius: 2px; }
.nav-mobile-cta {
  display: none;
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-purple-dark));
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  align-items: center; gap: 6px;
  box-shadow: 0 2px 10px rgba(107, 70, 193, 0.25);
  flex-shrink: 0;
}
.nav-mobile-actions { display: flex; align-items: center; gap: 8px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile-cta { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--ink-100);
  }
  .nav-links.open .nav-cta { width: 100%; justify-content: center; padding: 12px 20px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(107, 70, 193, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 28px rgba(107, 70, 193, 0.45); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 2px solid var(--ink-300);
}
.btn-outline:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.btn-light {
  background: rgba(255,255,255,0.96);
  color: var(--brand-purple);
}
.btn-light:hover { background: #fff; color: var(--brand-purple-dark); transform: translateY(-2px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 80px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 30, 0.92) 0%, rgba(15, 23, 42, 0.78) 35%, rgba(31, 111, 178, 0.55) 65%, rgba(107, 70, 193, 0.55) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(0,0,0,0.45) 0%, transparent 60%);
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 60px 0 72px; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(8, 12, 30, 0.85) 0%, rgba(15, 23, 42, 0.80) 50%, rgba(107, 70, 193, 0.75) 100%);
  }
}
.hero-content {
  color: #fff;
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; box-shadow: 0 0 12px #4ADE80; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #FBBF24, #4ADE80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.05;
  margin-bottom: 4px;
}
.hero-meta-item .label {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero-meta { gap: 22px 28px; margin-top: 36px; }
  .hero-meta-item .num { font-size: 1.6rem; }
  .hero-meta-item .label { font-size: 11px; }
  .hero-cta .btn { padding: 13px 22px; font-size: 14px; }
}

/* ---------- SECTION HEADERS ---------- */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--ink-500); font-size: 1.05rem; }

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--ink-50);
  padding: 36px 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item .icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}
.trust-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--ink-900);
}
.trust-item p { font-size: 14px; color: var(--ink-500); }
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.20), transparent 50%);
}
.service-card-body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-purple-light), var(--brand-purple));
  display: grid; place-items: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
  margin-top: -42px;
  border: 3px solid #fff;
  position: relative;
  z-index: 1;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--ink-900); }
.service-card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand-purple);
  font-size: 14px;
}
.service-card .link:hover { gap: 10px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- DOCTORS ---------- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.doctor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  transition: transform .3s ease, box-shadow .3s ease;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doctor-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #E0E7FF, #DBEAFE);
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-info { padding: 20px 22px 24px; }
.doctor-info .specialty {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 8px;
}
.doctor-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.doctor-info p { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 14px; }
.doctor-langs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.doctor-langs span {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--ink-100);
  color: var(--ink-700);
  border-radius: 999px;
  font-weight: 500;
}
.doctor-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--whatsapp);
}
@media (max-width: 960px) { .doctors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .doctors-grid { grid-template-columns: 1fr; } }

/* ---------- PACKAGES ---------- */
.packages-section {
  background:
    linear-gradient(135deg, rgba(31,111,178,0.06), rgba(107,70,193,0.04)),
    var(--ink-50);
  position: relative;
  overflow: hidden;
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.package-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.package-card.featured {
  border: 2px solid var(--brand-purple);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-card.featured:hover { transform: translateY(-6px) scale(1.04); }
.package-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-green));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}
.package-card h3 { margin-bottom: 6px; }
.package-tagline { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 22px; }
.package-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-purple);
  margin-bottom: 4px;
}
.package-price .currency { font-size: 1.1rem; color: var(--ink-500); margin-right: 6px; font-weight: 600; }
.package-price .period { font-size: 0.9rem; color: var(--ink-500); font-weight: 500; }
.package-features {
  list-style: none;
  margin: 26px 0;
  flex: 1;
}
.package-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-700);
  border-bottom: 1px dashed var(--ink-100);
}
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
  line-height: 1;
}
@media (max-width: 960px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .package-card.featured { transform: scale(1); }
  .package-card.featured:hover { transform: translateY(-6px); }
}

/* ---------- ABOUT SPLIT ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  position: relative;
}
.about-split-img img { width: 100%; height: 100%; object-fit: cover; }
.about-floating {
  position: absolute;
  bottom: 30px; left: 30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.about-floating .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--brand-purple); }
.about-floating .label { font-size: 13px; color: var(--ink-700); }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 18px; color: var(--ink-700); font-size: 1.02rem; }
.about-feature {
  display: flex;
  gap: 16px;
  margin: 18px 0;
}
.about-feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-purple-light), var(--brand-purple));
  display: grid; place-items: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.about-feature-text h4 { font-size: 1rem; margin-bottom: 4px; }
.about-feature-text p { font-size: 0.92rem; color: var(--ink-500); margin: 0; }
@media (max-width: 960px) { .about-split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: linear-gradient(135deg, var(--brand-purple-dark), var(--brand-purple) 50%, var(--brand-blue));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(74, 157, 91, 0.18), transparent 40%);
}
.testimonials .section-header h2,
.testimonials .section-header p,
.testimonials .section-eyebrow { color: #fff; }
.testimonials .section-eyebrow { color: #FBBF24; }
.testimonials .section-header p { color: rgba(255,255,255,0.85); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.testimonial-stars { color: #FBBF24; margin-bottom: 16px; font-size: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 1rem; line-height: 1.6; margin-bottom: 22px; color: rgba(255,255,255,0.95); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
}
.testimonial-author .name { font-weight: 600; }
.testimonial-author .meta { font-size: 13px; color: rgba(255,255,255,0.7); }
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-green-dark), var(--brand-green));
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.92); margin-bottom: 28px; max-width: 580px; margin-left: auto; margin-right: auto; }
/* When a regular section directly precedes a CTA band, tighten the visual rhythm */
section:not(.page-header):not(.cta-band):not(.testimonials):not(.trust-strip) + .cta-band {
  margin-top: 0;
}
.section-tight-bottom { padding-bottom: 24px !important; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer ul a:hover { color: #fff; }
.footer-brand-mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.footer-brand-mark img { width: 80%; height: 80%; object-fit: contain; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 16px;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--brand-purple); transform: translateY(-2px); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  animation: pulse 2.4s infinite;
}
@media (max-width: 600px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 22px; }
}
.whatsapp-float:hover { color: #fff; transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- PAGE HEADER (sub-pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-purple) 50%, var(--brand-blue) 100%);
  color: #fff;
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 157, 91, 0.2), transparent 40%);
}
.page-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 48px;
  background: #fff;
  clip-path: ellipse(70% 100% at 50% 100%);
}
.page-header h1 { color: #fff; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.9); max-width: 640px; margin: 16px auto 0; position: relative; z-index: 1; font-size: 1.1rem; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 14px; position: relative; z-index: 1; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }
/* Tighten spacing of the FIRST section following a page-header */
.page-header + section { padding-top: 48px; }
.page-header + .container { padding-top: 48px; }
@media (max-width: 768px) {
  .page-header { padding: 56px 0 44px; }
  .page-header::after { height: 32px; }
  .page-header + section { padding-top: 32px; }
}

/* ---------- SERVICE DETAIL ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--ink-100);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse > div:first-child { order: 2; }
.service-row-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1/1; }
.service-row-img img { width: 100%; height: 100%; object-fit: cover; }
.service-row h2 { margin-bottom: 16px; }
.service-row .eyebrow {
  display: inline-block;
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.service-row ul {
  list-style: none;
  margin: 22px 0;
}
.service-row ul li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--ink-700);
}
.service-row ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-green));
  border-radius: 2px;
}
@media (max-width: 960px) {
  .service-row { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .service-row.reverse > div:first-child { order: 0; }
}

/* ---------- BOOKING / CONTACT FORMS ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ink-100);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink-900);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--ink-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.info-card {
  padding: 32px;
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-purple-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.info-card h3 { color: #fff; margin-bottom: 18px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.info-item:last-child { border-bottom: none; }
.info-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.14);
  display: grid; place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.info-item-text .label { font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.1em; }
.info-item-text .value { font-weight: 600; font-size: 15px; }
.info-item-text a { color: #fff; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; gap: 32px; } .form-card { padding: 28px; } }

/* ---------- MAP PLACEHOLDER ---------- */
.map-wrap {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  background: var(--ink-100);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- ANIMATIONS ---------- */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].in-view { opacity: 1; transform: translateY(0); }
