/* ============================================================
   GLEAM DENTAL CLINIC — Premium Global Styles
   Brand Colors: #1C736B (Primary), #234141 (Dark), #9EBFBD (Secondary)
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #1C736B;
  --primary-dark: #165f58;
  --primary-light: #2a8c83;
  --dark: #234141;
  --secondary: #9EBFBD;
  --secondary-light: #c8dedd;
  --white: #FFFFFF;
  --off-white: #F8FAF9;
  --text-dark: #1a2e2e;
  --text-muted: #5a7272;
  --text-light: #8aa5a5;
  --border: #dde9e8;
  --shadow-sm: 0 2px 8px rgba(28, 115, 107, 0.08);
  --shadow-md: 0 8px 32px rgba(28, 115, 107, 0.12);
  --shadow-lg: 0 20px 60px rgba(28, 115, 107, 0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* RTL Support */
body[dir="rtl"] { direction: rtl; text-align: right; }
body[dir="rtl"] .nav-links { flex-direction: row-reverse; }
body[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
body[dir="rtl"] .step-item { flex-direction: row-reverse; }
body[dir="rtl"] .floating-cta { right: auto; left: 24px; }
body[dir="rtl"] .mobile-sticky-cta .sticky-inner { flex-direction: row-reverse; }

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

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 600; line-height: 1.2; }
.display { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span { color: var(--primary); }
.section-title em { font-style: italic; font-family: var(--font-serif); font-weight: 400; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); background: var(--off-white); }
.nav-links a.active { color: var(--primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.lang-btn:hover { background: var(--secondary-light); }
.lang-btn .flag { font-size: 1rem; }
.lang-btn .chevron { font-size: 0.65rem; transition: transform 0.2s; }
.lang-switcher.open .chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 160px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: var(--transition);
}

body[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.15s;
}

.lang-option:hover { background: var(--off-white); }
.lang-option.active { color: var(--primary); background: rgba(28,115,107,0.06); }
.lang-option .flag { font-size: 1.1rem; }

/* Nav CTA */
.btn-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28,115,107,0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: 2px solid #25D366;
}
.btn-whatsapp:hover {
  background: #1fb354;
  border-color: #1fb354;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-icon { font-size: 1.1rem; }

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--dark) 0%, #1a3535 40%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(158,191,189,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(28,115,107,0.2) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(158,191,189,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(158,191,189,0.15);
  border: 1px solid rgba(158,191,189,0.3);
  color: var(--secondary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25D366;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 300;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title strong {
  font-weight: 700;
  display: block;
}

.hero-title em {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--secondary);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

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

.hero-trust {
  display: flex;
  gap: 32px;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.trust-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual { position: relative; z-index: 1; }

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(158,191,189,0.15), rgba(28,115,107,0.2));
  border: 1px solid rgba(158,191,189,0.2);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, rgba(158,191,189,0.12) 0%, rgba(28,115,107,0.25) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px;
}

.hero-image-placeholder .smile-icon {
  font-size: 5rem;
  opacity: 0.6;
}

.hero-image-placeholder p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-align: center;
}

.hero-floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-card.card-1 {
  bottom: 28px;
  left: -32px;
  min-width: 200px;
}

.hero-floating-card.card-2 {
  top: 28px;
  right: -28px;
  min-width: 180px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(28,115,107,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-info .label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.card-info .value { font-size: 0.95rem; font-weight: 700; color: var(--dark); }

/* Stars */
.stars { color: #F59E0B; font-size: 0.85rem; letter-spacing: 1px; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 40px;
  border-right: 1px solid var(--border);
}

.trust-bar-item:last-child { border-right: none; }

body[dir="rtl"] .trust-bar-item { border-right: none; border-left: 1px solid var(--border); }
body[dir="rtl"] .trust-bar-item:last-child { border-left: none; }

.trust-bar-icon {
  width: 48px;
  height: 48px;
  background: rgba(28,115,107,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-bar-info .value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.trust-bar-info .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ---- Before & After ---- */
.ba-section { background: var(--white); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.ba-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.ba-image {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #e8f4f3 0%, #c8dedd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  position: relative;
}

.ba-image.after {
  background: linear-gradient(160deg, rgba(28,115,107,0.1) 0%, rgba(28,115,107,0.2) 100%);
}

.ba-image-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: white;
  z-index: 2;
}

.ba-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.ba-info {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.ba-info .treatment { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.ba-info .patient { font-size: 0.95rem; font-weight: 600; color: var(--dark); margin: 4px 0; }
.ba-info .origin { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

.ba-cta { text-align: center; }

/* ---- Why Gleam ---- */
.why-section { background: var(--off-white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(28,115,107,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.why-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Treatments ---- */
.treatments-section { background: var(--white); }

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.treatment-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  gap: 0;
}

.treatment-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.treatment-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  border-color: transparent;
  color: white;
  flex-direction: row;
}

.treatment-visual {
  width: 120px;
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(28,115,107,0.08), rgba(158,191,189,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.treatment-card.featured .treatment-visual {
  width: 200px;
  background: rgba(255,255,255,0.08);
  font-size: 4rem;
}

.treatment-body { padding: 28px; flex: 1; }
.treatment-card.featured .treatment-body { padding: 40px; }

.treatment-tag {
  display: inline-block;
  background: rgba(28,115,107,0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.treatment-card.featured .treatment-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.treatment-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.treatment-card.featured .treatment-title {
  font-size: 1.6rem;
  color: white;
}

.treatment-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.treatment-card.featured .treatment-desc { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* ---- How It Works ---- */
.how-section { background: var(--off-white); }

.steps-container {
  max-width: 860px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  position: relative;
}

.step-item:not(:last-child) { margin-bottom: 12px; }

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -12px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0.3;
}

body[dir="rtl"] .step-item:not(:last-child)::before { left: auto; right: 23px; }

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px 32px;
  flex: 1;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.step-icon { font-size: 1.5rem; margin-bottom: 10px; }
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ---- Testimonials ---- */
.testimonials-section { background: var(--dark); }

.testimonials-section .section-label { color: var(--secondary); }
.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.6); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(158,191,189,0.3);
}

.testimonial-quote { font-size: 2rem; color: var(--secondary); opacity: 0.5; line-height: 1; margin-bottom: 12px; }
.testimonial-text { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.75; margin-bottom: 24px; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name { font-size: 0.95rem; font-weight: 700; color: white; }
.author-meta { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ---- Doctors ---- */
.doctors-section { background: var(--white); }

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.doctor-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.doctor-image {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #e8f4f3 0%, #b8d8d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-specialty-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: white;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.doctor-info { padding: 24px; }
.doctor-name { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.doctor-title { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.doctor-bio { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }

.doctor-stats {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.doctor-stat .value { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.doctor-stat .label { font-size: 0.72rem; color: var(--text-muted); }

/* ---- Final CTA ---- */
.final-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); }

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.final-cta .section-label { color: rgba(255,255,255,0.6); }
.final-cta .section-title { color: white; }
.final-cta .section-subtitle { color: rgba(255,255,255,0.7); }

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ---- Floating WhatsApp ---- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

body[dir="rtl"] .floating-cta { right: auto; left: 24px; align-items: flex-start; }

.floating-wa-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.floating-wa-btn .wa-ring {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wa-ring 2.5s infinite;
}

@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.floating-wa-tooltip {
  background: var(--dark);
  color: white;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Mobile Sticky CTA ---- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 16px;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
}

.sticky-inner { display: flex; gap: 10px; }
.sticky-inner .btn { flex: 1; font-size: 0.85rem; padding: 13px 16px; }

/* ---- Footer ---- */
.footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 80px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo-name { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.55);
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--secondary); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.contact-icon { color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-legal a:hover { color: var(--secondary); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 140px 0 80px;
  text-align: center;
  color: white;
}

.page-hero .section-label { color: var(--secondary); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  justify-content: center;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.4; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-label .required { color: var(--primary); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,115,107,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* File upload */
.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover { border-color: var(--primary); background: rgba(28,115,107,0.02); }

.file-upload input { display: none; }
.upload-icon { font-size: 2rem; margin-bottom: 8px; color: var(--text-muted); }
.upload-text { font-size: 0.9rem; color: var(--text-muted); }
.upload-text strong { color: var(--primary); }
.upload-hint { font-size: 0.78rem; color: var(--text-light); margin-top: 6px; }

/* Consent */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.consent-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.consent-group label a { color: var(--primary); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-primary { background: rgba(28,115,107,0.1); color: var(--primary); }
.badge-success { background: rgba(37,211,102,0.1); color: #1a9950; }

/* Fade-in animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  :root { --nav-height: 70px; }
  .section { padding: 72px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-trust { gap: 20px; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .treatments-grid { grid-template-columns: 1fr; }
  .treatment-card.featured { flex-direction: column; }
  .treatment-card.featured .treatment-visual { width: 100%; height: 120px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .final-cta-actions { flex-direction: row; }
  .trust-bar-item { padding: 12px 24px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-sticky-cta { display: block; }
  .section { padding: 56px 0; }
  .ba-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 0; }
  .trust-bar-item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .trust-bar-item:last-child { border-bottom: none; }
  body[dir="rtl"] .trust-bar-item { border-left: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .final-cta-actions { flex-direction: column; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open { transform: translateX(0); }
body[dir="rtl"] .mobile-nav { transform: translateX(100%); }
body[dir="rtl"] .mobile-nav.open { transform: translateX(0); }

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

.mobile-nav-drawer {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 100%;
  background: white;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body[dir="rtl"] .mobile-nav-drawer { margin-left: auto; }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-dark);
  border: none;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
  flex: 1;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: var(--off-white);
  color: var(--primary);
}

.mobile-nav-cta { display: flex; flex-direction: column; gap: 10px; }
