/* =============================================
   Zahnarzt Ahmad Al Falougi — Styles
   Premium Gold + Dark Theme | AR/DE Bilingual
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Noto+Kufi+Arabic:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --gold:        #B8975A;
  --gold-light:  #D4B483;
  --gold-dark:   #8A6D3E;
  --gold-bg:     rgba(184,151,90,0.08);
  --dark:        #141210;
  --dark-2:      #1E1B17;
  --dark-3:      #2A2520;
  --cream:       #FAF8F4;
  --cream-2:     #F2EEE6;
  --white:       #FFFFFF;
  --text:        #2C2820;
  --text-2:      #5A5248;
  --text-3:      #8A8078;
  --border:      rgba(184,151,90,0.18);
  --border-dark: rgba(184,151,90,0.25);
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow:      0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.14);
  --font-ar:     'Noto Kufi Arabic', 'Tajawal', system-ui, sans-serif;
  --font-de:     'DM Sans', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --nav-h:       72px;
  --transition:  0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-de);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -50px; left: 1rem;
  background: var(--gold); color: var(--dark);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14px; z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  transition: all var(--transition); white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold); color: var(--dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,151,90,0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.15);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-bg); }

.btn-ghost-dark {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-icon { font-size: 16px; }

/* ── Badges / Pills ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 30px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
}
.pill-gold { background: var(--gold-bg); color: var(--gold-dark); border: 1px solid var(--border-dark); }
.pill-dark { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.12); }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
  background: var(--gold-bg); color: var(--gold-dark);
  border: 1px solid var(--border);
}

/* ── Section Tags ── */
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.sec-tag::before {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: var(--gold); flex-shrink: 0;
}
.sec-tag span {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 2.5px; text-transform: uppercase;
}
html[lang="ar"] .sec-tag { flex-direction: row-reverse; }
html[lang="ar"] .sec-tag::before { order: 2; }

/* ── Section Headings ── */
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; line-height: 1.12;
  color: var(--dark); margin-bottom: 10px;
}
.sec-title-light { color: var(--white); }
.sec-sub { font-size: 16px; color: var(--text-2); line-height: 1.7; max-width: 540px; }
html[lang="ar"] .sec-sub { max-width: 100%; }

.sec-head { margin-bottom: 56px; }
.sec-head-center { text-align: center; }
html[lang="ar"] .sec-head-center .sec-tag { justify-content: center; flex-direction: row; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: rgba(20,18,16,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,151,90,0.2);
}
.header-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}

.brand { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600; color: var(--gold);
  line-height: 1; white-space: nowrap;
}
.brand-sub {
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.3px;
}

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 28px; }
}
.nav-link {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6);
  transition: color var(--transition); white-space: nowrap;
}
.nav-link:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px; overflow: hidden; padding: 3px;
}
.lang-btn {
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--gold); color: var(--dark);
}
.lang-btn:not(.active):hover { color: rgba(255,255,255,0.75); }

.btn-cta-nav { display: none; }
@media (min-width: 640px) { .btn-cta-nav { display: inline-flex; } }

.menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 20px; transition: all var(--transition);
}
.menu-btn:hover { border-color: var(--gold); color: var(--gold); }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(20,18,16,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184,151,90,0.2);
  z-index: 190; padding: 20px 0;
  transform: translateY(-8px); opacity: 0;
  transition: all 0.2s ease; pointer-events: none;
}
.mobile-menu:not([hidden]) {
  transform: translateY(0); opacity: 1; pointer-events: all;
}
.mobile-menu[hidden] { display: block !important; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; }
.mobile-link {
  display: block; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.mobile-link:hover { background: rgba(184,151,90,0.1); color: var(--gold-light); }
.mobile-cta { margin-top: 12px; border-radius: var(--radius-sm); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  background: var(--dark);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

.hero-glow {
  position: absolute; pointer-events: none;
}
.hero-glow-1 {
  top: -200px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,151,90,0.07) 0%, transparent 65%);
}
.hero-glow-2 {
  bottom: -100px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,151,90,0.05) 0%, transparent 65%);
}

.hero-grid {
  display: grid; gap: 48px; align-items: center;
  padding: 80px 0;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 420px; }
}

/* Hero Copy */
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
html[lang="ar"] .hero-pills { flex-direction: row-reverse; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700; line-height: 1.05;
  color: var(--white); margin-bottom: 20px;
}
.hero-title em {
  font-style: normal; color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px;
}

.hero-meta {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08);
}
.meta-item { display: flex; align-items: center; gap: 14px; }
.meta-icon-wrap {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 8px;
  background: rgba(184,151,90,0.1); border: 1px solid rgba(184,151,90,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.meta-label { font-size: 11px; color: rgba(255,255,255,0.35); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.meta-value { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 1px; }
.meta-value a { color: var(--gold-light); }
.meta-value a:hover { color: var(--gold); }

/* Hero Visual — Doctor Card */
.hero-visual { position: relative; }

.doctor-card-hero {
  background: var(--dark-3);
  border: 1px solid rgba(184,151,90,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.doctor-photo {
  height: 460px; position: relative;
  background: linear-gradient(160deg, #2A2520 0%, #1A1612 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.doctor-photo-img {
  width: 100%; height: 100%; object-fit: contain; object-position: center center;
}
.doctor-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.doctor-photo-placeholder .initials {
  font-family: var(--font-serif);
  font-size: 80px; font-weight: 700;
  color: rgba(184,151,90,0.25); line-height: 1;
}
.doctor-photo-placeholder .ph-label {
  font-size: 11px; color: rgba(184,151,90,0.35);
  font-style: italic; text-align: center; padding: 0 24px;
}

.doctor-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(transparent, var(--dark-3));
}

.doctor-card-body {
  padding: 24px 28px 28px;
}
.doctor-card-name {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--white);
  margin-bottom: 4px;
}
.doctor-card-role {
  font-size: 13px; color: var(--gold-light); margin-bottom: 16px;
}
.doctor-card-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-dark {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-trust-strip {
  position: absolute; bottom: -20px; left: 20px; right: 20px;
  background: var(--dark-2);
  border: 1px solid rgba(184,151,90,0.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-around; gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.trust-label { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 3px; letter-spacing: 0.3px; }
.trust-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.08); }

/* =============================================
   SECTIONS — common
   ============================================= */
.section { padding: 100px 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--dark); }

/* =============================================
   ABOUT / DOCTOR SECTION
   ============================================= */
.about-grid {
  display: grid; gap: 64px; align-items: start;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 380px 1fr; }
  html[lang="ar"] .about-grid { direction: rtl; }
}

/* Doctor Portrait Card */
.portrait-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--white);
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.portrait-img {
  height: 420px; position: relative;
  background: #ffffff;
  overflow: hidden;
}
.portrait-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.portrait-initials {
  font-family: var(--font-serif);
  font-size: 100px; font-weight: 700;
  color: var(--gold-dark); opacity: 0.3; line-height: 1;
}
.portrait-ph {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--text-3); font-style: italic;
  white-space: nowrap;
}

.portrait-body { padding: 24px 28px; }
.portrait-name {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--dark);
}
.portrait-spec { font-size: 13px; color: var(--gold-dark); margin: 4px 0 14px; font-weight: 500; }
.portrait-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.portrait-tag {
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  background: var(--gold-bg); color: var(--gold-dark);
  border: 1px solid var(--border-dark);
}
.portrait-bio {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 9px;
}
.portrait-bio-row {
  display: flex; align-items: center; gap: 10px;
}
.portrait-bio-icon { font-size: 15px; flex-shrink: 0; }
.portrait-bio-text {
  font-size: 12px; color: var(--text-2); line-height: 1.4;
}

/* About Content */
.about-content h3 {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700; color: var(--dark);
  margin-bottom: 16px;
}
.about-text {
  font-size: 15px; line-height: 1.8; color: var(--text-2);
  margin-bottom: 16px;
}
.about-doctor-img {
  margin: 20px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 300px;
}
.about-doctor-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block;
}
.about-points { margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.about-point {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--cream-2); border: 1px solid var(--border);
}
.about-point-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--gold-bg); border-radius: 6px;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.about-point-title { font-size: 14px; font-weight: 600; color: var(--dark); }
.about-point-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 0; margin: 32px 0; }
.step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 700; color: rgba(184,151,90,0.4);
  letter-spacing: 1px; min-width: 28px;
}
.step-title { font-size: 15px; font-weight: 600; color: var(--dark); }
.step-sub { font-size: 13px; color: var(--text-3); margin-top: 3px; }

.about-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
html[lang="ar"] .service-card::before { transform-origin: right; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-dark);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 36px; margin-bottom: 18px; display: block;
}
.service-num {
  font-size: 11px; color: rgba(184,151,90,0.4);
  font-weight: 700; letter-spacing: 2px;
  margin-bottom: 6px;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600; color: var(--dark);
  margin-bottom: 8px; line-height: 1.3;
}
.service-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* =============================================
   HOURS
   ============================================= */
.hours-wrap {
  display: grid; gap: 40px;
}
@media (min-width: 800px) {
  .hours-wrap { grid-template-columns: 1fr 380px; align-items: start; }
}

.hours-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours-table-head {
  background: var(--dark);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.hours-table-head-title {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase;
}
.hours-today-tag {
  font-size: 10px; font-weight: 600;
  background: rgba(184,151,90,0.2); color: var(--gold-light);
  padding: 3px 10px; border-radius: 20px;
}

.hour-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: background var(--transition);
}
.hour-row:last-child { border-bottom: none; }
.hour-row:hover { background: rgba(184,151,90,0.03); }
.hour-row.is-today { background: rgba(184,151,90,0.05); }

.hour-day-name { font-size: 14px; font-weight: 600; color: var(--text); }
.hour-day-ar   { font-size: 11px; color: var(--text-3); margin-top: 1px; }
.hour-time     { font-size: 14px; font-weight: 600; color: var(--dark); text-align: end; }
.hour-time.closed { font-weight: 400; color: var(--text-3); }
.hour-time.appt   { font-weight: 500; color: var(--gold-dark); font-size: 13px; }
.hour-badge {
  display: inline-block; margin-inline-start: 8px;
  font-size: 10px; font-weight: 700; color: var(--gold);
  background: rgba(184,151,90,0.12);
  padding: 2px 8px; border-radius: 10px;
}
.hour-note { font-size: 10px; color: var(--text-3); margin-top: 2px; text-align: end; }

/* Contact Side Card */
.contact-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(184,151,90,0.2);
}
.contact-card-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--white);
  margin-bottom: 24px;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px;
  background: rgba(184,151,90,0.1); border: 1px solid rgba(184,151,90,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.contact-label {
  font-size: 10px; font-weight: 700; color: rgba(184,151,90,0.5);
  text-transform: uppercase; letter-spacing: 1px;
}
.contact-val { font-size: 14px; color: var(--white); font-weight: 500; margin-top: 3px; }
.contact-val a { color: var(--gold-light); }
.contact-val a:hover { color: var(--gold); }
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.contact-actions .btn { justify-content: flex-start; gap: 10px; }

/* =============================================
   CLINIC / MAP
   ============================================= */
.clinic-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}

.map-card {
  background: var(--white);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.map-card-head {
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.map-card-head-title { font-size: 14px; font-weight: 600; color: var(--dark); }
.map-open-link {
  font-size: 12px; font-weight: 600; color: #1a73e8;
  display: flex; align-items: center; gap: 4px;
}
.map-open-link:hover { text-decoration: underline; }
.map-embed { width: 100%; height: 280px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-address { padding: 16px 22px; }
.map-address-line { font-size: 14px; font-weight: 600; color: var(--dark); }
.map-address-hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }

/* Gallery */
/* =============================================
   GALLERY — Native Scroll Snap
   ============================================= */
.gal-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.gal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.gal-title { font-size: 14px; font-weight: 600; color: var(--dark); }
.gal-sub   { font-size: 12px; color: var(--text-3); margin-top: 2px; font-style: italic; }
.gal-btns  { display: flex; gap: 8px; flex-shrink: 0; }
.gal-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  background: var(--white); color: var(--dark);
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.gal-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Coverflow */
.gal-cf {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  perspective: 1000px;
  perspective-origin: center center;
  background: #0e0d0b;
}

.gal-cf-item {
  position: absolute;
  top: 8%; bottom: 8%;
  width: 68%;
  left: 16%;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2520;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.52s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity   0.52s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.52s;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.gal-cf-item.cf-active {
  box-shadow: 0 16px 56px rgba(0,0,0,0.55), 0 0 0 1px rgba(196,158,84,0.18);
}

.gal-cf-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
}
.gal-cf-ph span:first-child { font-size: 34px; opacity: 0.22; }
.gal-cf-ph span:last-child  { font-size: 12px; color: #8a8070; font-weight: 500; }

.gal-cf-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  pointer-events: none;
}

.gal-cf-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,8,6,0.82));
  color: var(--white);
  padding: 36px 16px 14px;
  font-size: 14px; font-weight: 700;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.gal-cf-label span {
  display: block;
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews-carousel { position: relative; }
.reviews-track {
  display: flex; overflow: hidden;
}
.reviews-slide {
  flex: 0 0 100%; display: none;
}
.reviews-slide.active { display: block; }

@media (min-width: 640px) {
  .reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .reviews-slide { display: block; flex: none; }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.review-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 72px; line-height: 1;
  color: var(--gold); opacity: 0.15;
  position: absolute; top: 12px;
  inset-inline-start: 20px;
  pointer-events: none;
}

.review-stars { color: #E5AC00; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 14px; line-height: 1.8; color: var(--text-2); margin-bottom: 20px; font-style: italic; }
.review-author { font-size: 13px; font-weight: 600; color: var(--dark); }
.review-source { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3); margin-top: 4px; }
.google-dot { width: 8px; height: 8px; border-radius: 50%; background: #4285F4; flex-shrink: 0; }

.reviews-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 32px;
}
@media (min-width: 640px) { .reviews-nav { display: none; } }
.reviews-counter { font-size: 13px; color: var(--text-3); font-weight: 500; }
.review-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text-2);
  transition: all var(--transition);
}
.review-nav-btn:hover { border-color: var(--gold); color: var(--gold); }

.reviews-google-cta {
  text-align: center; margin-top: 40px;
}
.btn-google {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(66,133,244,0.35);
  font-size: 13px; font-weight: 600; color: #1a73e8;
  background: var(--white);
  transition: all var(--transition);
}
.btn-google:hover { border-color: #1a73e8; background: rgba(66,133,244,0.04); box-shadow: 0 4px 12px rgba(66,133,244,0.12); }
.btn-google svg { flex-shrink: 0; }

/* =============================================
   NOTE CARD
   ============================================= */
.note-card {
  background: rgba(184,151,90,0.07);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 24px;
}
.note-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.note-title { font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.note-text { font-size: 13px; color: var(--text-2); margin-top: 3px; line-height: 1.6; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(184,151,90,0.15);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-start;
  gap: 32px; margin-bottom: 40px;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 600; color: var(--gold);
  margin-bottom: 4px;
}
.footer-brand-ar { font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-address { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-divider {
  border: none; border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-copy a { color: rgba(184,151,90,0.4); }
.footer-copy a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: 12px; color: rgba(255,255,255,0.25); transition: color var(--transition); }
.footer-link:hover { color: var(--gold-light); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
.fade-up-5 { animation-delay: 0.5s; }
.fade-up-6 { animation-delay: 0.6s; }

/* =============================================
   UTILITIES
   ============================================= */
.link { color: var(--gold-dark); font-weight: 500; }
.link:hover { color: var(--gold); text-decoration: underline; }
.link-light { color: var(--gold-light); }
.link-light:hover { color: var(--gold); }

.text-gold { color: var(--gold); }
.text-muted { color: var(--text-3); }

/* RTL mirroring */
html[lang="ar"] .about-grid { direction: rtl; }
html[lang="ar"] .meta-item { direction: rtl; }
html[lang="ar"] .hero-meta { direction: rtl; }
html[lang="ar"] .hours-wrap { direction: rtl; }
html[lang="ar"] .clinic-grid { direction: rtl; }
html[lang="ar"] .hero-actions { flex-direction: row-reverse; }
html[lang="ar"] .portrait-card { direction: rtl; }
html[lang="ar"] .about-cta { flex-direction: row-reverse; }
html[lang="ar"] .contact-actions .btn { flex-direction: row-reverse; }
