/* ============================================================
   MOUSA DENTAL — Inner Pages Shared Styles
   ============================================================ */

/* ─── TOP BAR ─── */
.top-bar {
  background: var(--black);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  padding: 8px 0;
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-contacts { display: flex; gap: 24px; align-items: center; }
.top-contacts a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s;
}
.top-contacts a i { color: var(--gold); font-size: 0.7rem; }
.top-contacts a:hover { color: var(--gold); }
.top-social { display: flex; gap: 12px; }
.top-social a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.top-social a:hover { color: var(--gold); }

/* ─── DROPDOWN NAV ─── */
.has-dropdown { position: relative; }
.has-dropdown > .nav-link > .fa-chevron-down {
  font-size: 0.6rem;
  margin-right: 4px;
  transition: transform 0.3s;
}
.has-dropdown.open > .nav-link > .fa-chevron-down,
.has-dropdown:hover > .nav-link > .fa-chevron-down { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  background: var(--black-2);
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 0 20px 50px rgba(14,24,36,0.4);
  z-index: 9000;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: all 0.25s;
  white-space: nowrap;
}
.dropdown li a::before { content: none; }
.dropdown li a .drop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.8rem;
  color: var(--gold);
  background: rgba(201,169,110,0.12);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.25s;
}
.dropdown li a:hover { color: var(--white); background: rgba(201,169,110,0.1); }
.dropdown li a:hover .drop-icon {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.1);
}

@media (min-width: 1101px) {
  .has-dropdown > .dropdown {
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-8px);
  }

  .has-dropdown:hover > .dropdown,
  .has-dropdown.open > .dropdown {
    transform: translateX(-50%) translateY(0);
  }
}

/* ─── PAGE HERO BANNER ─── */
.page-hero {
  min-height: 437px;
  background: linear-gradient(135deg, var(--black) 0%, var(--navy) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  margin-top: 31px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: grayscale(30%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,24,36,0.96) 0%, rgba(14,24,36,0.3) 100%);
}
.page-hero-kenburns::before {
  animation: kenBurnsZoom 10s ease-in-out infinite;
  transform-origin: center center;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); font-size: 0.65rem; }
.breadcrumb .current { color: var(--gold); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.8;
}
.page-hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ─── PAGE LAYOUT ─── */
.page-body { padding: 80px 0; background: var(--off-white); }
.page-content { max-width: 820px; }

/* Restore the original light/dark rhythm on inner-page sections. */
html:not([data-theme="dark"]) main.page-body:has(> .container > section) {
  padding-top: 0;
  padding-bottom: 80px;
}
html:not([data-theme="dark"]) main.page-body > .container > section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  margin-top: 0;
  margin-bottom: 0;
  isolation: isolate;
}
html:not([data-theme="dark"]) main.page-body > .container > section:is(.local-copy, .seo-faq) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
html:not([data-theme="dark"]) main.page-body > .container > section::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(odd)::before {
  background: var(--off-white);
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even) {
  color: var(--black);
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even)::before {
  background: var(--white);
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even) :is(
  .section-title, h2, h3, h4, .faq-q, summary
) {
  color: var(--black);
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even) :is(
  p, .local-copy, .faq-a, .section-desc
) {
  color: #596372;
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even) :is(
  .benefit-card, .step-row, .stat-row, .tech-card, .clinic-info-box, .tourism-feature
) {
  color: var(--black);
  background: var(--off-white);
  border-color: rgba(30,48,80,0.12);
  box-shadow: 0 12px 34px rgba(14,24,36,0.08);
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even) :is(
  .benefit-card p, .step-row p, .stat-cell span, .tech-card p, .info-row span,
  .tourism-feature p
) {
  color: #596372;
}
html:not([data-theme="dark"]) main.page-body > .container > section:nth-of-type(even) :is(
  .faq-item, details, .info-row
) {
  border-color: rgba(30,48,80,0.12);
}

/* ─── INTRO BLOCK ─── */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.intro-block.reverse { direction: ltr; }
.intro-block.reverse .intro-text { direction: rtl; }
.intro-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-img.img-kenburns img { animation: kenBurnsZoom 8s ease-in-out infinite; }

.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.3;
}
.intro-text p { font-size: 0.95rem; color: #555; line-height: 1.9; margin-bottom: 16px; }

/* ─── BENEFIT CARDS ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.benefits-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(201,169,110,0.12);
  box-shadow: 0 4px 20px rgba(14,24,36,0.05);
  transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201,169,110,0.35); }
.benefit-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--black);
  margin: 0 auto 18px;
}
.benefit-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { font-size: 0.83rem; color: var(--gray); line-height: 1.7; }

/* ─── STEPS ─── */
.steps-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
.step-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid rgba(201,169,110,0.1);
  transition: var(--transition);
}
.step-row:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(14,24,36,0.08); }
.step-badge {
  width: 44px; height: 44px; min-width: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700; color: var(--black);
}
.step-row h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step-row p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* ─── FAQ ─── */
.faq-section,
.seo-faq {
  --faq-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  margin-bottom: 60px;
  counter-reset: faq;
}
.seo-faq {
  max-width: 900px;
  margin-inline: auto;
  width: 100%;
}
.faq-section h3,
.seo-faq > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--black);
  line-height: 1.3;
}
.seo-faq > h2::before {
  content: 'FAQ';
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
}
.seo-faq > h2::after,
.faq-section h3::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 14px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform-origin: right center;
  animation: faqTitleShine 2.8s ease-in-out infinite;
}
html[dir="ltr"] .seo-faq > h2::after,
html[dir="ltr"] .faq-section h3::after { transform-origin: left center; }

.faq-section,
.seo-faq { display: flex; flex-direction: column; gap: 12px; }
.faq-section h3,
.seo-faq > h2 { margin-bottom: 8px; }

.faq-item,
main.page-body section.seo-faq details {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 28px rgba(14,24,36,0.05);
  padding: 0;
  transition:
    transform 0.35s var(--faq-ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}
main.page-body section.seo-faq details {
  padding: 0 !important;
  border-bottom: 0 !important;
}
.faq-item { counter-increment: faq; }
main.page-body section.seo-faq details { counter-increment: faq; }

.faq-item:hover,
main.page-body section.seo-faq details:hover {
  transform: translateY(-3px);
  border-color: rgba(201,169,110,0.55);
  box-shadow: 0 16px 36px rgba(14,24,36,0.1), 0 0 0 1px rgba(201,169,110,0.12);
}
.faq-item.open,
main.page-body section.seo-faq details[open],
main.page-body section.seo-faq details.is-open {
  border-color: rgba(201,169,110,0.7);
  background: rgba(201,169,110,0.08);
  box-shadow: 0 18px 40px rgba(14,24,36,0.12), 0 0 24px rgba(201,169,110,0.08);
}

.faq-q,
main.page-body section.seo-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 18px 16px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}
main.page-body section.seo-faq summary::-webkit-details-marker { display: none; }
main.page-body section.seo-faq summary::marker { content: ''; }
.faq-q:hover,
main.page-body section.seo-faq summary:hover { color: var(--gold-dark); }

.faq-q::before,
main.page-body section.seo-faq summary::before {
  content: counter(faq, decimal-leading-zero);
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-dark);
  background: linear-gradient(145deg, rgba(201,169,110,0.18), rgba(201,169,110,0.05));
  border: 1px solid rgba(201,169,110,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.faq-q i,
main.page-body section.seo-faq summary::after {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 0.78rem;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  transition: transform 0.45s var(--faq-ease), background 0.3s ease, color 0.3s ease;
}
main.page-body section.seo-faq summary::after {
  content: '';
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 12px no-repeat,
    rgba(201,169,110,0.12);
  animation: faqPlusPulse 2.4s ease-in-out infinite;
}
.faq-item.open .faq-q i { transform: rotate(180deg); background: var(--gold); color: var(--black); }
main.page-body section.seo-faq details[open] summary::after,
main.page-body section.seo-faq details.is-open summary::after {
  transform: rotate(135deg);
  animation: none;
  background:
    linear-gradient(var(--black), var(--black)) center / 12px 2px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 2px 12px no-repeat,
    var(--gold);
}

.faq-a,
main.page-body section.seo-faq .seo-faq-panel,
main.page-body section.seo-faq details > p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.85;
}
.faq-a {
  height: 0;
  max-height: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    height 0.52s var(--faq-ease),
    padding-bottom 0.42s ease,
    opacity 0.3s ease,
    transform 0.42s var(--faq-ease);
  padding: 0 18px 0 18px;
  padding-inline-start: 76px;
  padding-inline-end: 18px;
  will-change: height, opacity, transform;
}
.faq-item.open .faq-a {
  padding-bottom: 20px;
  opacity: 1;
  transform: translateY(0);
}
main.page-body section.seo-faq details > p {
  padding: 0 18px 18px 18px !important;
  color: inherit;
}
main.page-body section.seo-faq .seo-faq-panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    height 0.5s var(--faq-ease),
    opacity 0.32s ease,
    transform 0.42s var(--faq-ease);
}
main.page-body section.seo-faq details.is-open .seo-faq-panel,
main.page-body section.seo-faq details[open] .seo-faq-panel {
  opacity: 1;
  transform: translateY(0);
}
main.page-body section.seo-faq .seo-faq-panel p {
  padding: 4px 18px 20px 18px !important;
  padding-inline-start: 76px !important;
  padding-inline-end: 18px !important;
  margin: 0;
  color: inherit;
}

.seo-faq details {
  animation: faqCardIn 0.7s var(--faq-ease) backwards;
}
.seo-faq details:nth-of-type(1) { animation-delay: 0.05s; }
.seo-faq details:nth-of-type(2) { animation-delay: 0.14s; }
.seo-faq details:nth-of-type(3) { animation-delay: 0.23s; }
.seo-faq details:nth-of-type(4) { animation-delay: 0.32s; }
.faq-item {
  animation: faqCardIn 0.7s var(--faq-ease) backwards;
}
.faq-item:nth-child(2) { animation-delay: 0.05s; }
.faq-item:nth-child(3) { animation-delay: 0.12s; }
.faq-item:nth-child(4) { animation-delay: 0.19s; }
.faq-item:nth-child(5) { animation-delay: 0.26s; }

@keyframes faqCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes faqPlusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.35); }
  50% { box-shadow: 0 0 0 8px rgba(201,169,110,0); }
}
@keyframes faqTitleShine {
  0%, 100% { transform: scaleX(1); opacity: 0.7; }
  50% { transform: scaleX(1.25); opacity: 1; }
}

html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq summary:hover {
  color: var(--black);
}
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq details,
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq:nth-of-type(even) details,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] main.page-body section.seo-faq details {
  background: linear-gradient(135deg, #8f6c3c 0%, #c9a96e 42%, #e8d5a3 70%, #a07840 100%);
  border-color: rgba(226, 201, 154, 0.55);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.35);
}
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq details:hover,
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq details[open],
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq details.is-open,
html[data-theme="dark"] .faq-item:hover,
html[data-theme="dark"] .faq-item.open,
html[data-theme="dark"] main.page-body section.seo-faq details:hover,
html[data-theme="dark"] main.page-body section.seo-faq details[open],
html[data-theme="dark"] main.page-body section.seo-faq details.is-open {
  background: linear-gradient(135deg, #a07a44 0%, #d4b67a 40%, #f3e4b8 68%, #c9a96e 100%);
  border-color: rgba(242, 228, 184, 0.7);
  box-shadow:
    0 16px 36px rgba(0,0,0,0.26),
    0 0 24px rgba(201,169,110,0.22),
    inset 0 1px 0 rgba(255,255,255,0.42);
}
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq:nth-of-type(even) summary,
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq:nth-of-type(even) .seo-faq-panel p,
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq:nth-of-type(even) details > p,
html[data-theme="dark"] .faq-item .faq-q,
html[data-theme="dark"] .faq-item .faq-a,
html[data-theme="dark"] main.page-body section.seo-faq summary,
html[data-theme="dark"] main.page-body section.seo-faq .seo-faq-panel p,
html[data-theme="dark"] main.page-body section.seo-faq details > p {
  color: var(--black);
}
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq summary::before,
html[data-theme="dark"] .faq-item .faq-q::before,
html[data-theme="dark"] main.page-body section.seo-faq summary::before {
  color: var(--black);
  background: rgba(14,24,36,0.1);
  border-color: rgba(14,24,36,0.22);
  box-shadow: none;
}
html:not([data-theme="dark"]) main.page-body > .container > section.seo-faq summary::after,
html[data-theme="dark"] main.page-body section.seo-faq summary::after {
  background:
    linear-gradient(var(--black), var(--black)) center / 12px 2px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 2px 12px no-repeat,
    rgba(14,24,36,0.1);
  border-color: rgba(14,24,36,0.22);
}
html[data-theme="dark"] .faq-item .faq-q i {
  color: var(--black);
  background: rgba(14,24,36,0.1);
  border-color: rgba(14,24,36,0.22);
}

@media (max-width: 640px) {
  .faq-a,
  main.page-body section.seo-faq .seo-faq-panel p {
    padding-inline-start: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a,
  .faq-q i,
  .seo-faq details,
  .faq-item,
  main.page-body section.seo-faq summary::after,
  .seo-faq > h2::after,
  .faq-section h3::after,
  main.page-body section.seo-faq .seo-faq-panel {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--black), var(--navy));
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  position: relative;
}
.cta-banner .btn-primary { display: inline-flex; position: relative; }

/* ─── STAT ROW ─── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(14,24,36,0.06);
  margin-bottom: 60px;
}
.stat-cell {
  text-align: center;
  padding: 32px 16px;
  border-left: 1px solid rgba(201,169,110,0.12);
}
.stat-cell:last-child { border-left: none; }
.stat-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-cell span { font-size: 0.82rem; color: var(--gray); }
.stat-cell strong.count-finished { animation: stat-count-pop 0.38s ease; }
@keyframes stat-count-pop {
  50% { transform: scale(1.08); text-shadow: 0 0 22px rgba(201,169,110,0.42); }
}

/* ─── DOCTOR GRID (reuse from main) ─── */
.doctors-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ─── BLOG GRID ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(14,24,36,0.06);
  transition: var(--transition);
  border: 1px solid transparent;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(201,169,110,0.3); box-shadow: var(--shadow); }
.blog-img { height: 200px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 24px; }
.blog-cat {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.blog-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: 0.82rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }
.blog-meta { font-size: 0.75rem; color: rgba(14,24,36,0.35); display: flex; gap: 12px; }
.blog-meta i { color: var(--gold); }

/* ─── VIDEO GRID ─── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  background: var(--dark);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.video-card:hover img { transform: scale(1.05); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,24,36,0.48);
  transition: background 0.3s;
}
.video-card:hover .video-play-btn { background: rgba(14,24,36,0.62); }
.video-play-btn i {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--black);
  transition: transform 0.3s;
}
.video-card:hover .video-play-btn i { transform: scale(1.15); }
.video-card .vid-title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(14,24,36,0.88));
  color: var(--white);
  font-size: 0.85rem; font-weight: 600;
}

/* ─── CLINIC PAGE ─── */
.clinic-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.clinic-info-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(201,169,110,0.12);
}
.clinic-info-box h3 {
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}
.info-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid rgba(14,24,36,0.06);
}
.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; width: 20px; text-align: center; }
.info-row div strong { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 3px; }
.info-row div span { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

/* ─── TECHNOLOGY PAGE ─── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.tech-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(201,169,110,0.1);
  transition: var(--transition);
}
.tech-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.tech-icon {
  width: 56px; height: 56px; min-width: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--black);
}
.tech-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.tech-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }

/* Technology page image cards */
.technology-page .tech-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}
.technology-page .tech-card-image {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--dark);
}
.technology-page .tech-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(14,24,36,0.72) 100%);
  pointer-events: none;
}
.technology-page .tech-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.technology-page .tech-card-image span {
  position: absolute;
  z-index: 2;
  inset-inline-start: 18px;
  bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  color: var(--white);
  background: rgba(14,24,36,0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.technology-page .tech-card-content {
  flex: 1;
  padding: 26px 28px 30px;
}
.technology-page .tech-card-content h4 {
  color: var(--black);
  font-size: 1.08rem;
  margin-bottom: 11px;
}
.technology-page .tech-card:hover .tech-card-image img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

/* ─── TOURISM PAGE ─── */
.tourism-features {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.tourism-feature {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border-right: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(14,24,36,0.05);
  transition: var(--transition);
}
.tourism-feature:hover { transform: translateX(-4px); }
.tourism-feature i { font-size: 1.8rem; color: var(--gold); margin-bottom: 14px; }
.tourism-feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.tourism-feature p { font-size: 0.83rem; color: var(--gray); line-height: 1.7; }

/* ─── ABOUT DOCTOR ─── */
.doctor-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 60px;
}
.doctor-img-wrap { position: relative; overflow: hidden; border-radius: var(--radius); }
.doctor-img-wrap img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  animation: kenBurnsZoom 8s ease-in-out infinite;
}
.doctor-badge-wrap {
  position: absolute; bottom: -20px; left: 20px;
  background: var(--gold);
  color: var(--black);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 700;
  box-shadow: var(--shadow-gold);
}
.doctor-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600; margin-bottom: 8px;
}
.doctor-title { font-size: 0.9rem; color: var(--gold); font-weight: 700; margin-bottom: 24px; }
.doctor-info p { font-size: 0.95rem; color: #555; line-height: 1.9; margin-bottom: 14px; }
.credentials-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.cred-item {
  display: flex; gap: 12px; align-items: center;
  font-size: 0.85rem; color: #444;
}
.cred-item i { color: var(--gold); font-size: 0.8rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .intro-block, .clinic-details, .doctor-profile { grid-template-columns: 1fr; gap: 40px; }
  .intro-block.reverse { direction: rtl; }
  .doctor-profile { grid-template-columns: 1fr; }
  .doctor-img-wrap img { max-width: 380px; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .doctors-page-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid, .video-grid { grid-template-columns: repeat(2,1fr); }
  .stat-row { grid-template-columns: repeat(2,1fr); }
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-contacts a:last-child { display: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .doctors-page-grid { grid-template-columns: 1fr; }
  .blog-grid, .video-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 24px; }
  .top-bar-inner { flex-direction: column; gap: 8px; }
  .tourism-features { grid-template-columns: 1fr; }
  .technology-page .tech-card-image { height: 210px; }
}
@media (max-width: 480px) {
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-row .stat-cell {
    min-width: 0;
    padding: 26px 8px;
    border: 0;
  }
  .stat-row .stat-cell:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(201,169,110,0.12);
  }
  .stat-row .stat-cell:nth-child(odd) {
    border-inline-end: 1px solid rgba(201,169,110,0.12);
  }
  .stat-row .stat-cell strong { font-size: clamp(1.8rem, 10vw, 2.2rem); }
  .stat-row .stat-cell span { font-size: 0.76rem; }
}

@media (max-width: 1100px) {
  .has-dropdown:hover:not(.open) > .dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0 !important;
    transform: none !important;
  }
  .has-dropdown.open > .dropdown {
    position: static !important;
    max-height: 80vh !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
  }
  .nav-links > li:not(.mobile-nav-actions) > .nav-link > span[data-ar] {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    color: #fff !important;
  }
}
.english-page-version .english-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  padding-bottom: 0;
}
.english-page-version .english-services-grid .service-card { min-width: 0; }

/* Complete services index: show every card instead of inheriting the home carousel. */
#allServicesGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}
#allServicesGrid .service-card {
  min-width: 0;
  width: auto;
  flex: none;
  scroll-snap-align: none;
}
#allServicesGrid .service-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}
#allServicesGrid .service-card-actions .btn-book-service {
  min-height: 48px;
  margin-top: 0;
  padding-inline: 12px;
  font-size: 0.82rem;
}
#allServicesGrid .btn-service-whatsapp {
  border-color: #25d366;
  background: #25d366;
  color: #071a10;
}
#allServicesGrid .btn-service-whatsapp:hover {
  border-color: #1fb457;
  background: #1fb457;
  color: #fff;
}

@media (max-width: 1024px) {
  .english-page-version .english-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #allServicesGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .english-page-version .english-services-grid { grid-template-columns: 1fr; }
  #allServicesGrid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  #allServicesGrid .service-card-actions { grid-template-columns: 1fr; }
}
