/* ============================================================
   عيادة النخبة — Elite Clinic | Shared Stylesheet v2
   RTL Arabic | Premium Medical | Riyadh
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #1B2B5E;
  --navy-dark:   #111c3e;
  --navy-light:  #243370;
  --gold:        #C9A84C;
  --gold-light:  #dfc070;
  --gold-dark:   #a8852e;
  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --surface:     #F2F4F9;
  --light-gray:  #EEF0F6;
  --mid-gray:    #9BA3BC;
  --text-dark:   #1a1f36;
  --text-body:   #4a5072;
  --green-wa:    #25D366;
  --green-wa-d:  #1eb854;
  --shadow-sm:   0 2px 14px rgba(27,43,94,.07);
  --shadow-md:   0 8px 32px rgba(27,43,94,.12);
  --shadow-lg:   0 20px 60px rgba(27,43,94,.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --transition:  all .35s cubic-bezier(.4,0,.2,1);
  --font:        'Noto Kufi Arabic', sans-serif;
}

html { direction: rtl; scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 4px; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { font-size: 1rem; color: var(--text-body); }

.text-gold  { color: var(--gold) !important; }
.text-navy  { color: var(--navy) !important; }
.text-white { color: var(--white) !important; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Section ── */
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold-dark);
  text-transform: uppercase;
  background: rgba(201,168,76,.08);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(201,168,76,.2);
}
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--mid-gray);
  font-size: 1.02rem;
}
.divider {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  border-radius: 4px;
  margin: 18px auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,.4);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(27,43,94,.22);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,43,94,.32);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27,43,94,.3);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.45);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-wa {
  background: var(--green-wa);
  color: var(--white);
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover {
  background: var(--green-wa-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,.4);
}
.btn-lg { padding: 17px 42px; font-size: 1.05rem; }
.btn svg, .btn i { flex-shrink: 0; }

/* ── Floating WhatsApp — RIGHT SIDE ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  left: auto;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  animation: wa-pulse 2.8s infinite;
  transition: var(--transition);
}
.whatsapp-float:hover { background: var(--green-wa-d); transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  60%       { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: transparent;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(27,43,94,.08), var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Navbar light variant — for light hero background */
.navbar-light { background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.navbar-light .logo-ar { color: var(--navy) !important; }
.navbar-light .nav-links a { color: var(--text-body) !important; }
.navbar-light .hamburger span { background: var(--navy) !important; }

.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo .logo-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(27,43,94,.22);
  flex-shrink: 0;
}
.nav-logo .logo-icon svg { width: 24px; height: 24px; }
.nav-logo .logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo .logo-ar { font-size: 1rem; font-weight: 800; color: var(--navy); }
.navbar:not(.scrolled):not(.navbar-light) .logo-ar { color: var(--white); }
.nav-logo .logo-en { font-size: .68rem; font-weight: 500; color: var(--gold); letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .9rem; font-weight: 600;
  padding: 8px 14px;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--text-body);
}
.navbar:not(.scrolled):not(.navbar-light) .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark) !important; background: rgba(201,168,76,.1); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .hamburger span,
.navbar-light .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a { font-size: 1.35rem; font-weight: 700; color: var(--white); padding: 12px 40px; border-radius: var(--radius-md); transition: var(--transition); }
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.mobile-close { position: absolute; top: 22px; left: 22px; background: rgba(255,255,255,.08); border: none; width: 42px; height: 42px; border-radius: 50%; color: white; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ══════════════════════════════════════════
   HERO — Light Split Layout (index.html)
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--off-white);
  overflow: hidden;
  position: relative;
}
.hero-content-side {
  display: flex;
  align-items: center;
  padding: 110px 56px 72px;
  position: relative;
  z-index: 2;
}
.hero-text-wrap { max-width: 500px; width: 100%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.28);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: .78rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--navy-dark);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero-tagline {
  font-size: 1.08rem;
  color: var(--text-body);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats-mini {
  display: flex;
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(27,43,94,.1);
}
.hero-stat-item {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.hero-stat-item + .hero-stat-item::before {
  content: '';
  position: absolute;
  right: 0; top: 10%; height: 80%;
  width: 1px;
  background: rgba(27,43,94,.1);
}
.hero-stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-item span { font-size: .8rem; color: var(--mid-gray); font-weight: 500; }

/* Hero image side */
.hero-image-side { position: relative; overflow: hidden; }
.hero-image-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-accent-line {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
}

/* ── Inner page hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; opacity: .03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(255,255,255,1) 44px, rgba(255,255,255,1) 45px),
    repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(255,255,255,1) 44px, rgba(255,255,255,1) 45px);
}
.page-hero h1 { color: var(--white); position: relative; z-index: 1; margin-bottom: 12px; }
.page-hero .breadcrumb { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .86rem; color: rgba(255,255,255,.55); position: relative; z-index: 1; }
.page-hero .breadcrumb a { color: var(--gold); }

/* ── Card Icon (FA based) ── */
.card-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: rgba(27,43,94,.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
  flex-shrink: 0;
}
.card-icon i { font-size: 1.7rem; color: var(--navy); transition: var(--transition); }
.card:hover .card-icon { background: var(--navy); }
.card:hover .card-icon i { color: var(--gold); }

/* ── Card ── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,43,94,.06);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,.18); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--mid-gray); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--navy-dark);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.08) 0%, transparent 70%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; position: relative; z-index: 1; padding: 0 20px; }
.stat-number { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: .88rem; color: rgba(255,255,255,.65); font-weight: 500; }
.stat-item + .stat-item { border-right: 1px solid rgba(255,255,255,.1); }

/* ── Doctor Card v2 — Circular Photo ── */
.doctor-card-v2 {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,43,94,.07);
  transition: var(--transition);
  text-align: center;
}
.doctor-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,.22);
}
.doctor-photo-wrap {
  width: 120px; height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(201,168,76,.25);
  box-shadow: 0 8px 28px rgba(27,43,94,.14);
  position: relative;
}
.doctor-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doctor-name { font-size: 1.08rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.doctor-specialty { color: var(--gold-dark); font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
.doctor-exp { font-size: .8rem; color: var(--mid-gray); margin-bottom: 16px; }
.doctor-creds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.cred-tag { background: var(--surface); color: var(--navy); font-size: .72rem; padding: 4px 12px; border-radius: 50px; font-weight: 700; border: 1px solid rgba(27,43,94,.07); }

/* ── Old doctor card (about page) ── */
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27,43,94,.06);
  transition: var(--transition);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-info { padding: 26px; }
.doctor-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.doctor-specialty { color: var(--gold-dark); font-weight: 600; font-size: .88rem; margin-bottom: 10px; }

/* ── Testimonial ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,43,94,.06);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 12px; left: 20px;
  font-size: 5rem; color: rgba(201,168,76,.12);
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text { font-size: .94rem; line-height: 1.85; margin-bottom: 20px; color: var(--text-body); }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--gold-dark)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.author-name { font-weight: 700; font-size: .92rem; color: var(--navy); }
.author-location { font-size: .78rem; color: var(--mid-gray); }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%; border: 1px solid rgba(201,168,76,.1);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-section p { color: rgba(255,255,255,.65); margin-bottom: 36px; position: relative; z-index: 1; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); margin-top: 14px; line-height: 1.75; max-width: 260px; }
.footer-heading { color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.55); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '←'; color: var(--gold); font-size: .75rem; }
.footer-links a:hover { color: var(--gold); padding-right: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-contact-item .icon { width: 32px; height: 32px; background: rgba(255,255,255,.05); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-size: .9rem; }
.footer-contact-item .icon i { color: var(--gold); }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.social-icons { display: flex; gap: 8px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .9rem; transition: var(--transition); }
.social-icon:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* ── Value Card ── */
.value-card {
  text-align: center;
  padding: 36px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,43,94,.06);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,.18); }
.value-icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(27,43,94,.22);
  transition: var(--transition);
}
.value-icon i { font-size: 1.7rem; color: var(--gold); }
.value-card:hover .value-icon { background: var(--gold); box-shadow: 0 8px 24px rgba(201,168,76,.3); }
.value-card:hover .value-icon i { color: var(--navy); }
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { font-size: .88rem; color: var(--mid-gray); }

/* ── Service Card ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid rgba(27,43,94,.07);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,.22); }
.service-card .card-icon { margin-bottom: 18px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--mid-gray); flex: 1; margin-bottom: 20px; }
.service-card .btn { align-self: flex-start; font-size: .82rem; padding: 9px 18px; }

/* ── Pricing ── */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 2px solid rgba(27,43,94,.07);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured:hover { transform: scale(1.06); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy-dark); font-size: .75rem; font-weight: 800; padding: 4px 18px; border-radius: 50px; white-space: nowrap; }
.pricing-name { font-size: .92rem; font-weight: 700; color: var(--mid-gray); margin-bottom: 8px; }
.pricing-card.featured .pricing-name { color: rgba(255,255,255,.65); }
.pricing-price { font-size: 2.5rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.pricing-card.featured .pricing-price { color: var(--gold); }
.pricing-period { font-size: .8rem; color: var(--mid-gray); margin-bottom: 24px; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,.5); }
.pricing-features { list-style: none; margin-bottom: 28px; text-align: right; }
.pricing-features li { padding: 9px 0; font-size: .88rem; color: var(--text-body); border-bottom: 1px solid rgba(27,43,94,.06); display: flex; align-items: center; gap: 10px; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.82); border-color: rgba(255,255,255,.09); }
.pricing-features li i { color: var(--gold); font-size: .9rem; flex-shrink: 0; }

/* ── FAQ ── */
.faq-item { border: 1px solid rgba(27,43,94,.1); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-item.open { border-color: rgba(201,168,76,.28); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; background: none; border: none; padding: 18px 22px; text-align: right; font-family: var(--font); font-size: .95rem; font-weight: 700; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: var(--transition); }
.faq-question:hover { background: var(--off-white); }
.faq-item.open .faq-question { background: var(--off-white); color: var(--gold-dark); }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--light-gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); }
.faq-icon i { font-size: .8rem; color: var(--navy); transition: var(--transition); }
.faq-item.open .faq-icon { background: var(--gold); transform: rotate(45deg); }
.faq-item.open .faq-icon i { color: var(--navy); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; font-size: .92rem; color: var(--text-body); line-height: 1.85; }
.faq-answer-inner { padding: 0 22px 20px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: 8px; }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid rgba(27,43,94,.14); border-radius: var(--radius-sm); font-family: var(--font); font-size: .93rem; color: var(--text-dark); background: var(--white); transition: var(--transition); direction: rtl; outline: none; appearance: none; }
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,43,94,.07); }
.form-control::placeholder { color: var(--mid-gray); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ── Table ── */
.table-container { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.hours-table { width: 100%; border-collapse: collapse; background: var(--white); }
.hours-table th { background: var(--navy); color: var(--white); padding: 13px 18px; font-size: .84rem; font-weight: 700; text-align: right; }
.hours-table td { padding: 12px 18px; font-size: .9rem; border-bottom: 1px solid rgba(27,43,94,.05); color: var(--text-body); }
.hours-table tr:nth-child(even) td { background: var(--off-white); }
.hours-table tr:last-child td { border-bottom: none; }
.open-badge { background: rgba(16,185,129,.1); color: #059669; padding: 3px 12px; border-radius: 50px; font-size: .76rem; font-weight: 700; }
.closed-badge { background: rgba(220,38,38,.08); color: #dc2626; padding: 3px 12px; border-radius: 50px; font-size: .76rem; font-weight: 700; }

/* ── Map Placeholder ── */
.map-placeholder { width: 100%; height: 360px; background: linear-gradient(135deg, var(--light-gray), var(--off-white)); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--navy); border: 2px dashed rgba(27,43,94,.12); position: relative; overflow: hidden; }
.map-placeholder i { font-size: 3rem; color: var(--navy); opacity: .4; }
.map-placeholder p { font-size: 1rem; color: var(--navy); font-weight: 700; }
.map-placeholder small { color: var(--mid-gray); font-size: .84rem; }

/* ── Contact Info Card ── */
.contact-info-card { display: flex; align-items: center; gap: 16px; padding: 22px 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid rgba(27,43,94,.06); transition: var(--transition); }
.contact-info-card:hover { transform: translateX(-4px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,.2); }
.contact-info-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon i { font-size: 1.3rem; color: var(--gold); }
.contact-info-text h4 { font-size: .92rem; color: var(--navy); margin-bottom: 3px; }
.contact-info-text p { font-size: .83rem; color: var(--mid-gray); line-height: 1.4; }
.contact-info-text a { color: var(--gold-dark); font-weight: 700; }

/* ── Highlight Box ── */
.highlight-box { background: rgba(201,168,76,.06); border: 1px solid rgba(201,168,76,.18); border-radius: var(--radius-md); padding: 24px 22px; }

/* ── Insurance ── */
.insurance-grid { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.insurance-item { background: var(--white); border: 1.5px solid rgba(27,43,94,.1); border-radius: var(--radius-sm); padding: 10px 20px; font-size: .86rem; font-weight: 700; color: var(--navy); transition: var(--transition); }
.insurance-item:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ── Facility Grid ── */
.facility-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2, 200px); gap: 12px; border-radius: var(--radius-lg); overflow: hidden; }
.facility-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); transition: var(--transition); }
.facility-item:first-child { grid-column: span 2; }
.facility-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.facility-item:hover img { transform: scale(1.05); }
.facility-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,43,94,.65), transparent 50%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 16px; }
.facility-item:hover .facility-overlay { opacity: 1; }
.facility-overlay span { color: white; font-size: .84rem; font-weight: 700; }

/* ── Award Card ── */
.award-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid rgba(27,43,94,.06); transition: var(--transition); }
.award-card:hover { transform: translateX(-4px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,.18); }
.award-icon-wrap { width: 50px; height: 50px; background: var(--navy); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.award-icon-wrap i { font-size: 1.4rem; color: var(--gold); }
.award-title { font-weight: 700; font-size: .92rem; color: var(--navy); }
.award-year { font-size: .78rem; color: var(--mid-gray); margin-top: 2px; }

/* ── Scroll Animations ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(-36px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }

/* ── Bg Variants ── */
.bg-off-white { background: var(--off-white); }
.bg-surface    { background: var(--surface); }

/* ── Section divider ── */
.section-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(27,43,94,.1), transparent); }

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-side { height: 50vw; max-height: 500px; }
  .hero-content-side { padding: 100px 40px 56px; }
  .hero-text-wrap { max-width: 100%; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  /* Hero — full background image on mobile */
  .hero { display: block; position: relative; min-height: 100vh; background-color: var(--navy-dark); }
  /* Fix 1 — hero image as full background */
  .hero-image-side {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1200&q=80');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .hero-image-side img { display: none; }
  .hero-image-overlay { background: rgba(0, 0, 0, 0.55) !important; }
  /* Hide JCI badge — no room on mobile */
  .hero-image-side > div:last-child { display: none; }
  /* Content sits above the image */
  .hero-content-side {
    position: relative;
    z-index: 2;
    background: transparent !important;
    padding: 120px 20px 80px;
  }
  .hero-text-wrap { max-width: 100%; }
  /* White text over dark overlay */
  .hero h1 { color: #ffffff !important; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
  .hero h1 span { color: var(--gold) !important; }
  .hero-tagline { color: rgba(255,255,255,.9) !important; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
  .hero-badge { color: var(--gold-light) !important; background: rgba(201,168,76,.15) !important; border-color: rgba(201,168,76,.35) !important; }
  .hero-stat-item strong { font-size: 1.3rem; color: #ffffff !important; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
  .hero-stat-item span { color: rgba(255,255,255,.82) !important; }
  .hero-stat-item + .hero-stat-item::before { background: rgba(255,255,255,.2) !important; }
  /* Fix outline-navy button on dark hero */
  .hero .btn-outline-navy { color: #ffffff !important; border-color: rgba(255,255,255,.5) !important; background: transparent !important; }
  .hero .btn-outline-navy:hover { background: rgba(255,255,255,.1) !important; }
  /* Fix 3 — buttons and stats layout */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-stats-mini {
    flex-wrap: wrap;
    gap: 16px;
    border-top-color: rgba(255,255,255,.2) !important;
  }
  .hero-stat-item {
    flex: 0 0 30%;
  }
  .pricing-card.featured { transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .facility-item:first-child { grid-column: span 2; }
  .stat-item + .stat-item { border-right: none; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; margin-top: 24px; }
}
/* Fix 2 — disable fade-in animations on mobile so sections are visible */
@media (max-width: 768px) {
  .fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  .fade-in-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
  .fade-in-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 26px; font-size: .97rem; }
  .section-header { margin-bottom: 44px; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .hero-stat-item { padding: 0 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .facility-grid { grid-template-columns: 1fr; }
  .facility-item:first-child { grid-column: span 1; }
}
