/* ==========================================================================
   Dr. Hoda Zendehdel — Gynecologic Oncology & Women's Health
   Domain: https://drhodazendehdel.com
   Theme: Deep Medical Teal (#0B5D6C) + Warm Terracotta (#EA7324) + Soft Rose (#C96B82)
   ========================================================================== */

:root {
  --teal-950: #052c34;
  --teal-900: #073f4a;
  --teal-800: #094e5b;
  --teal-700: #0b5d6c;
  --teal-600: #117485;
  --teal-100: #e3f2f5;
  --teal-50: #f3f9fa;

  --amber-600: #d96417;
  --amber-500: #ea7324;
  --amber-400: #f5944d;
  --amber-100: #fef0e6;

  --rose-600: #b8566e;
  --rose-500: #c96b82;
  --rose-100: #fbeff2;

  --ink-900: #13242b;
  --ink-700: #334a54;
  --ink-500: #5c737d;
  --ink-300: #9cb0b8;

  --border-light: #dce8ec;
  --surface-white: #ffffff;
  --surface-soft: #f7fbfc;

  --shadow-sm: 0 2px 10px rgba(11, 93, 108, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 93, 108, 0.09);
  --shadow-lg: 0 24px 55px rgba(7, 63, 74, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-fa: 'Vazirmatn', Tahoma, Arial, sans-serif;
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-en-serif: 'Cormorant Garamond', Georgia, serif;

  --container-max: 1220px;
  --header-height: 80px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: clip;
}

body {
  background-color: var(--surface-white);
  color: var(--ink-900);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

/* Strict Font Application */
html[lang="fa"] body,
html[lang="fa"] input,
html[lang="fa"] select,
html[lang="fa"] option,
html[lang="fa"] textarea,
html[lang="fa"] button {
  font-family: var(--font-fa);
}

html[lang="en"] body,
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] option,
html[lang="en"] textarea,
html[lang="en"] button {
  font-family: var(--font-en);
}

html[lang="en"] .display-title {
  font-family: var(--font-en-serif);
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  position: relative;
  padding-block: 88px;
  overflow-x: clip;
}

.section-soft {
  background-color: var(--surface-soft);
}

.section-teal-tint {
  background: linear-gradient(180deg, var(--teal-50) 0%, #ffffff 100%);
}

/* Section Headers */
.section-header {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: var(--radius-full);
  background-color: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-badge--rose {
  background-color: var(--rose-100);
  color: var(--rose-600);
}

.section-title {
  font-size: clamp(1.8rem, 3.1vw, 2.5rem);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.03rem;
  color: var(--ink-500);
  line-height: 1.85;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 93, 108, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 93, 108, 0.32);
}

.btn-accent {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(234, 115, 36, 0.28);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(234, 115, 36, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--teal-700);
  color: var(--teal-700);
  background-color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background-color: var(--teal-50);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Top Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #084955;
  border: 1.5px solid rgba(234, 115, 36, 0.55);
  color: var(--amber-400);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(7, 63, 74, 0.22);
  padding: 4px;
}

.brand-mark svg,
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.12) contrast(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-weight: 800;
  font-size: 1.03rem;
  color: var(--ink-900);
}

.brand-role {
  font-size: 0.76rem;
  color: var(--teal-700);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: var(--radius-full);
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: color var(--transition), background-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-800);
  background-color: var(--teal-50);
}

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  background-color: var(--teal-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-500);
  transition: all var(--transition);
}

.lang-btn.active {
  background-color: var(--teal-700);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 93, 108, 0.25);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset-block-start: var(--header-height);
  inset-inline: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 99;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-nav-list a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink-700);
}

.mobile-nav-list a:hover {
  background-color: var(--teal-50);
  color: var(--teal-800);
}

/* ==========================================================================
   Hero Section — Graphic Lines, Business Card Wave & Watermark
   ========================================================================== */
.hero {
  position: relative;
  padding-block: 64px 92px;
  background:
    radial-gradient(circle at 86% 12%, rgba(234, 115, 36, 0.11), transparent 36%),
    radial-gradient(circle at 12% 82%, rgba(11, 93, 108, 0.09), transparent 42%),
    linear-gradient(135deg, #eff7f9 0%, #ffffff 62%, #fdf7f2 100%);
  overflow: hidden;
}

/* Subtle architectural grid + flowing SVG lines */
.hero-graphic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-wave-lines {
  position: absolute;
  inset-inline-end: -6%;
  top: -4%;
  width: 62%;
  height: 110%;
  opacity: 0.72;
}

.hero-watermark-emblem {
  position: absolute;
  inset-inline-start: -40px;
  bottom: 10px;
  width: min(580px, 52vw);
  height: min(580px, 52vw);
  opacity: 0.14;
  transform: rotate(-5deg);
  object-fit: contain;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 93, 108, 0.16);
  box-shadow: var(--shadow-sm);
  color: var(--teal-800);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(234, 115, 36, 0.2);
}

.hero-title {
  font-size: clamp(2.2rem, 4.3vw, 3.4rem);
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(1.06rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-700);
  font-weight: 600;
  line-height: 1.85;
  margin-bottom: 12px;
  max-width: 590px;
}

.hero-desc {
  font-size: 0.96rem;
  color: var(--ink-500);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 590px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--ink-700);
}

.hero-quick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.hero-quick-item:hover {
  border-color: var(--amber-500);
  color: var(--teal-800);
  transform: translateY(-1px);
}

.hero-quick-item svg {
  color: var(--amber-500);
  flex-shrink: 0;
}

/* Hero Visual Composition */
.hero-visual {
  position: relative;
  padding: 16px;
}

/* Decorative orbital graphic ring behind photo */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
  border: 2px dashed rgba(234, 115, 36, 0.35);
  transform: rotate(3deg);
  pointer-events: none;
}

.hero-photo-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-800), var(--teal-950));
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.45;
  border: 6px solid #ffffff;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Signature Business-Card Emblem Badge floating on Hero Visual */
.hero-emblem-pill {
  position: absolute;
  top: 28px;
  inset-inline-start: -12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--teal-800), var(--teal-950));
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 18px;
  border: 2px solid rgba(234, 115, 36, 0.65);
  box-shadow: 0 14px 32px rgba(7, 63, 74, 0.3);
}

.hero-emblem-pill svg,
.hero-emblem-pill img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-emblem-pill-text {
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 700;
}

.hero-emblem-pill-sub {
  font-size: 0.7rem;
  color: #ffd3b3;
  font-weight: 500;
}

.hero-photo-overlay {
  position: absolute;
  inset-inline: 16px;
  inset-block-end: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-inline-start: 4px solid var(--amber-500);
}

.hero-overlay-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink-900);
}

.hero-overlay-sub {
  font-size: 0.79rem;
  color: var(--teal-700);
  font-weight: 600;
}

.hero-overlay-badge {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background-color: var(--amber-100);
  color: var(--amber-600);
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Signature S-Curve Wave Divider between Hero & Trust Strip */
.hero-bottom-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 44px;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Trust / Credential Strip
   ========================================================================== */
.trust-strip {
  background-color: #084955;
  color: #ffffff;
  padding-block: 26px 34px;
  margin-top: -2px;
  position: relative;
  z-index: 4;
  border-bottom: 3px solid var(--amber-500);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(234, 115, 36, 0.35);
  color: #ffd3b3;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
}

.trust-value {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   About Section + Subtle Emblem Watermark
   ========================================================================== */
.about-section {
  overflow: hidden;
}

.section-watermark {
  position: absolute;
  inset-inline-end: -50px;
  top: 40px;
  width: 380px;
  height: 380px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  object-fit: contain;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.about-prose p {
  color: var(--ink-700);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.9;
}

.about-quote {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--teal-50), #ffffff);
  border: 1px solid var(--border-light);
  border-inline-start: 4px solid var(--amber-500);
  color: var(--teal-900);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.85;
  box-shadow: var(--shadow-sm);
}

.timeline-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.timeline-card::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--amber-500));
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  position: relative;
  padding-inline-start: 22px;
  border-inline-start: 2px solid var(--teal-100);
}

.timeline-item::before {
  content: '';
  position: absolute;
  inset-inline-start: -6px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--amber-500);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--amber-100);
}

.timeline-degree {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.96rem;
}

.timeline-org {
  font-size: 0.88rem;
  color: var(--teal-700);
  font-weight: 600;
}

/* ==========================================================================
   Clinical Services
   ========================================================================== */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.tab-btn:hover {
  border-color: var(--teal-600);
  color: var(--teal-800);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  border-color: var(--teal-700);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(11, 93, 108, 0.24);
}

.service-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.service-panel::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal-700), var(--amber-500));
}

.service-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.service-panel-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--teal-900);
  margin-bottom: 6px;
}

.service-panel-desc {
  color: var(--ink-500);
  font-size: 0.96rem;
}

.hero-grid > *,
.about-grid > *,
.research-grid > *,
.contact-grid > *,
.footer-grid > * {
  min-width: 0;
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: 14px;
}

.service-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-soft);
  border: 1px solid transparent;
  transition: all var(--transition);
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--ink-900);
}

.service-item-card:hover {
  background-color: #ffffff;
  border-color: var(--teal-600);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.service-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: var(--teal-100);
  color: var(--teal-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Patient Education Hub (FAQ + Search)
   ========================================================================== */
.edu-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.edu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edu-filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--ink-700);
  font-size: 0.87rem;
  font-weight: 700;
  transition: all var(--transition);
}

.edu-filter-btn.active {
  background-color: var(--rose-600);
  border-color: var(--rose-600);
  color: #ffffff;
}

.edu-search-wrap {
  position: relative;
  min-width: 260px;
  flex: 1;
  max-width: 340px;
}

.edu-search-input {
  width: 100%;
  padding: 10px 16px;
  padding-inline-start: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  font-size: 0.9rem;
  color: var(--ink-900);
  outline: none;
  transition: border-color var(--transition);
}

.edu-search-input:focus {
  border-color: var(--teal-700);
}

.edu-search-icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-300);
  pointer-events: none;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  align-self: start;
  min-width: 0;
  max-width: 100%;
}

.faq-question > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq-item.open {
  border-color: var(--teal-600);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: start;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
}

.faq-cat-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose-600);
  background-color: var(--rose-100);
  padding: 2px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 5px;
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background-color: var(--teal-700);
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 12px 20px 18px;
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.8;
  border-top: 1px solid var(--teal-50);
}

.faq-item.open .faq-answer {
  display: block;
}

.medical-disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--amber-100);
  color: var(--ink-900);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Research & Publications (Card echoes business card Teal + Gold Emblem)
   ========================================================================== */
.research-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.research-summary-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-800), var(--teal-950));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--amber-500);
}

.research-card-emblem {
  position: absolute;
  inset-inline-end: -20px;
  bottom: -20px;
  width: 220px;
  height: 220px;
  opacity: 0.16;
  pointer-events: none;
  object-fit: contain;
}

.research-summary-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.research-summary-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pub-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  transition: all var(--transition);
}

.pub-card:hover {
  border-color: var(--teal-600);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pub-year {
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background-color: var(--teal-100);
  color: var(--teal-800);
  font-size: 0.78rem;
  font-weight: 700;
}

.pub-journal {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber-600);
}

.pub-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
  margin-bottom: 6px;
  direction: ltr;
  text-align: left;
}

.pub-authors {
  font-size: 0.83rem;
  color: var(--ink-500);
  direction: ltr;
  text-align: left;
}

/* ==========================================================================
   Clinic Gallery — 12-Column Asymmetric Editorial Bento Mosaic
   ========================================================================== */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background-color: var(--teal-950);
  grid-column: span 4;
  height: 270px;
}

.gallery-card--featured {
  grid-column: span 7;
  height: 390px;
}

.gallery-card--tall {
  grid-column: span 5;
  height: 390px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(7, 63, 74, 0.8);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gallery-zoom-btn {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-900);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover .gallery-zoom-btn {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption {
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(7, 45, 54, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.87rem;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 24, 29, 0.93);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 940px;
  width: 100%;
}

.lightbox-inner img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: #ffffff;
}

.lightbox-caption {
  font-size: 0.96rem;
  font-weight: 600;
}

.lightbox-counter {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  inset-inline-end: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: var(--amber-500);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: var(--amber-500);
}

.lightbox-prev {
  inset-inline-start: -56px;
}

.lightbox-next {
  inset-inline-end: -56px;
}

/* ==========================================================================
   Contact & Appointments
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contact-info-card,
.appointment-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--teal-50);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-bottom: 2px;
}

.contact-value {
  font-weight: 700;
  color: var(--ink-900);
  font-size: 0.98rem;
}

.emergency-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background-color: var(--rose-100);
  border: 1px solid rgba(184, 86, 110, 0.25);
  color: var(--rose-600);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--surface-soft);
  color: var(--ink-900);
  font-size: 0.93rem;
  outline: none;
  transition: border-color var(--transition), background-color var(--transition);
}

.form-control:focus {
  border-color: var(--teal-700);
  background-color: #ffffff;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-900), var(--teal-950));
  color: rgba(255, 255, 255, 0.84);
  padding-block: 54px 28px;
}

.footer-watermark {
  position: absolute;
  inset-inline-end: 3%;
  top: 6%;
  height: 88%;
  width: auto;
  max-width: min(340px, 75vw);
  opacity: 0.24;
  pointer-events: none;
  object-fit: contain;
}

.footer-brand .brand-mark {
  width: 88px;
  height: 88px;
  padding: 7px;
  border-radius: 22px;
  border: 2px solid rgba(234, 115, 36, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffd3b3;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .lightbox-prev {
    inset-inline-start: 10px;
  }
  .lightbox-next {
    inset-inline-end: 10px;
  }
}

@media (max-width: 992px) {
  .nav-links,
  .header-actions .btn-primary {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .about-grid,
  .research-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card--featured,
  .gallery-card--tall {
    grid-column: span 6;
    height: 270px;
  }

  .gallery-card--featured {
    grid-column: span 12;
    height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 14px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    flex: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    padding: 3px;
    flex-shrink: 0;
  }

  .brand-name {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-role {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.74rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .section {
    padding-block: 58px;
  }

  .hero-photo-overlay {
    flex-wrap: wrap;
  }

  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .edu-search-wrap {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .contact-value,
  .pub-title,
  .pub-authors {
    overflow-wrap: anywhere;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-emblem-pill {
    inset-inline-start: 12px;
    top: 12px;
    padding: 8px 12px;
    max-width: calc(100% - 24px);
  }

  .gallery-card,
  .gallery-card--featured,
  .gallery-card--tall {
    grid-column: span 12;
    height: 240px;
  }

  .service-panel,
  .contact-info-card,
  .appointment-form-card {
    padding: 22px;
  }
}
