/* ==========================================================================
   www.drayse.com — Editorial Medical Design System (Mobile-First, RTL, WCAG)
   ========================================================================== */

:root {
  --navy: #1C2B3A;
  --navy-deep: #131E29;
  --navy-soft: #2E4257;
  --rose: #B3525E;
  --rose-hover: #99414C;
  --rose-soft: #F9EFF0;
  --rose-border: #EDD5D8;
  --sage: #2F6455;
  --sage-soft: #EEF6F3;
  --amber-soft: #FDF6EC;
  --amber-border: #EBD2AD;
  --amber-text: #7A4B0E;
  --bg-page: #FAF8F6;
  --bg-surface: #FFFFFF;
  --bg-muted: #F3EFEA;
  --text-main: #22303D;
  --text-muted: #566573;
  --border: #E7E1DA;
  --whatsapp: #1F9D55;
  --whatsapp-hover: #188246;
  --focus-ring: #0B5ED7;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(28, 43, 58, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 43, 58, 0.08);
  --shadow-lg: 0 22px 50px rgba(28, 43, 58, 0.12);
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
  font-family: var(--font-arabic);
}

a {
  color: var(--rose);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.top-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.top-bar-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.top-bar a:hover {
  color: #F3B3BB;
}

.top-divider {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.22);
}

.top-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.top-social a:hover {
  background: var(--rose);
  color: #fff;
}

/* ==========================================================================
   Main Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(28, 43, 58, 0.16);
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  white-space: nowrap;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-link,
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
  color: var(--rose);
  background: var(--rose-soft);
}

/* Guides Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 290px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 1050;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}
.nav-dropdown-menu a:hover {
  background: var(--rose-soft);
  color: var(--rose);
}

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

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

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lang-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: 165px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 1060;
}
.lang-switcher.open .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
}
.lang-option:hover,
.lang-option.active {
  background: var(--rose-soft);
  color: var(--rose);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(28, 43, 58, 0.16);
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-rose {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 20px rgba(179, 82, 94, 0.24);
}
.btn-rose:hover {
  background: var(--rose-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 157, 85, 0.24);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--rose-soft);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Slide Drawer */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19, 30, 41, 0.55);
  z-index: 1200;
}
.drawer-backdrop.open {
  display: block;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: -100%;
  width: min(86vw, 340px);
  height: 100dvh;
  background: var(--bg-surface);
  z-index: 1250;
  padding: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transition: inset-inline-end 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-drawer.open {
  inset-inline-end: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--navy);
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-nav a {
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.drawer-nav a:hover,
.drawer-nav a.active {
  background: var(--rose-soft);
  color: var(--rose);
}

.drawer-section-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-top: 10px;
  padding: 0 12px;
}

.drawer-langs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.drawer-langs a {
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  background: var(--bg-muted);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}
.drawer-langs a.active {
  background: var(--rose);
  color: #fff;
}

/* ==========================================================================
   Hero Sections (Home & Inner Pages)
   ========================================================================== */
.hero {
  padding: 64px 0 72px;
  background: radial-gradient(circle at 85% 20%, rgba(179, 82, 94, 0.09), transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-soft);
  color: var(--rose);
  border: 1px solid var(--rose-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 60ch;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-bottom: 32px;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

.point-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
}

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

.hero-visual {
  position: relative;
}

.hero-card-frame {
  position: relative;
  background: var(--bg-surface);
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-card-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.hero-caption-badge {
  position: absolute;
  bottom: 26px;
  inset-inline-start: -18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  max-width: 270px;
}

.hero-caption-badge strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy);
}

.hero-caption-badge span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Inner Page Hero */
.page-hero {
  padding: 46px 0 48px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--text-muted);
  font-weight: 600;
}
.breadcrumb a:hover {
  color: var(--rose);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}

.page-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
}
.page-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 20%;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
  padding: 68px 0;
}

.section-surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-blush {
  background: linear-gradient(180deg, var(--rose-soft) 0%, #FDF9F8 100%);
  border-top: 1px solid var(--rose-border);
  border-bottom: 1px solid var(--rose-border);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.align-start {
  margin-inline-start: 0;
  text-align: start;
}

.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Empathetic Reassurance Grid */
.empathy-card {
  background: var(--bg-surface);
  border: 1px solid var(--rose-border);
  border-inline-start: 5px solid var(--rose);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.empathy-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 34px);
  color: var(--navy);
  margin-bottom: 14px;
}

.empathy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.empathy-item {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.empathy-item strong {
  display: block;
  color: var(--navy);
  font-size: 15.5px;
  margin-bottom: 6px;
}
.empathy-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Feature / Guide Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img-wrap img {
  transform: scale(1.03);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--rose);
}

/* Clinical Comparison Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.clinical-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: start;
}

.clinical-table thead {
  background: var(--navy);
  color: #fff;
}

.clinical-table th {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.clinical-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: top;
  color: var(--text-main);
}

.clinical-table tbody tr:nth-child(even) {
  background: #FCFAF8;
}

.clinical-table td:first-child {
  font-weight: 700;
  color: var(--navy);
  width: 24%;
}

/* Process Steps Timeline */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  border: 1px solid var(--rose-border);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.step-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Doctor Authority Spotlight */
.doctor-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.doctor-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.doctor-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: top;
}

.cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}

.cred-pill {
  background: var(--bg-muted);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================================
   Long-Form Article Layout (Sidebar TOC + Editorial Prose)
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 48px 0 64px;
}

.toc-sidebar {
  position: sticky;
  top: 96px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--navy);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}
.toc-list a:hover {
  background: var(--rose-soft);
  color: var(--rose);
}

.toc-contact-mini {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-content {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.6vw, 32px);
  color: var(--navy);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-soft);
  margin: 24px 0 10px;
}

.article-content p {
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.82;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px;
  padding-inline-start: 22px;
}

.article-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.callout {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  border: 1px solid var(--border);
  background: var(--bg-page);
}

.callout-info {
  background: var(--sage-soft);
  border-color: #C7E0D6;
  border-inline-start: 4px solid var(--sage);
}

.callout-warn {
  background: var(--amber-soft);
  border-color: var(--amber-border);
  border-inline-start: 4px solid #C87D1B;
}

.callout-warn strong,
.callout-warn h3 {
  color: var(--amber-text);
}

.callout h3 {
  margin-top: 0 !important;
  font-size: 17px;
  margin-bottom: 8px;
}

/* ==========================================================================
   FAQ Accordions & Live Search
   ========================================================================== */
.faq-search-box {
  max-width: 680px;
  margin: 0 auto 32px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 15px 20px;
  font-size: 15.5px;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.faq-search-input:focus {
  border-color: var(--rose);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--rose-border);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--rose);
  color: #fff;
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.78;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
}

/* ==========================================================================
   Mandatory Ministry of Health Editorial Imprint & Privacy Strip
   ========================================================================== */
.editorial-imprint {
  margin-top: 36px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.editorial-imprint h3 {
  font-size: 14.5px;
  color: var(--navy);
  margin: 0 0 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.editorial-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.editorial-meta div strong {
  display: block;
  color: var(--navy);
  font-size: 12.5px;
  margin-bottom: 2px;
}

.privacy-band {
  background: var(--rose-soft);
  border-top: 1px solid var(--rose-border);
  border-bottom: 1px solid var(--rose-border);
  padding: 26px 0;
}

.privacy-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.privacy-band h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}

.privacy-band p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 78ch;
}

/* Contact Cards & Map */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
}

.contact-card a {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--navy);
}
.contact-card a:hover {
  color: var(--rose);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr 1.15fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h4 {
  color: #fff;
  font-size: 15.5px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
.site-footer a:hover {
  color: #F3B3BB;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ==========================================================================
   Floating WhatsApp Desk (Desktop) & Sticky Action Bar (Mobile)
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wa-card {
  display: none;
  width: 300px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wa-card.open {
  display: block;
}

.wa-card-head {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
}
.wa-card-head strong {
  display: block;
  font-size: 14px;
}
.wa-card-head span {
  font-size: 12px;
  opacity: 0.8;
}

.wa-card-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.wa-card-list a:hover {
  background: #F0FBF4;
  color: var(--whatsapp);
}

.wa-fab-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-fab {
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(31, 157, 85, 0.34);
  cursor: pointer;
}
.wa-fab:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.call-fab {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(28, 43, 58, 0.25);
}
.call-fab:hover {
  color: #fff;
  background: var(--rose);
}

/* Mobile Bottom Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(28, 43, 58, 0.08);
}

/* Accessibility Widget */
.a11y-btn {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1080;
}

.a11y-panel {
  display: none;
  position: fixed;
  bottom: 78px;
  inset-inline-start: 24px;
  width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 1085;
}
.a11y-panel.open {
  display: block;
}
.a11y-panel h4 {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.a11y-opt {
  width: 100%;
  text-align: start;
  padding: 9px 12px;
  margin-bottom: 7px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.a11y-opt:hover {
  background: var(--rose-soft);
  border-color: var(--rose-border);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  inset-inline: 16px;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--rose);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner.show {
  display: flex;
}
.cookie-banner p {
  font-size: 13.5px;
  color: var(--text-muted);
  flex: 1 1 360px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Accessibility Modes (WCAG High Contrast / Large Text / Highlight Links)
   ========================================================================== */
body.high-contrast {
  --bg-page: #0D1117;
  --bg-surface: #161B22;
  --bg-muted: #21262D;
  --navy: #FFFFFF;
  --navy-deep: #000000;
  --navy-soft: #E6EDF3;
  --text-main: #F0F6FC;
  --text-muted: #C9D1D9;
  --rose: #FFB454;
  --rose-hover: #FF9E2C;
  --rose-soft: #262019;
  --rose-border: #5E4826;
  --sage: #7EE787;
  --sage-soft: #13251B;
  --border: #30363D;
}
body.high-contrast .site-header {
  background: rgba(13, 17, 23, 0.96);
}
body.high-contrast .clinical-table thead {
  background: #21262D;
  color: #FFB454;
}
body.high-contrast .clinical-table tbody tr:nth-child(even) {
  background: #1B212A;
}
body.high-contrast .btn-primary,
body.high-contrast .btn-rose {
  background: #FFB454;
  color: #0D1117;
}
body.high-contrast .hero-caption-badge {
  background: #161B22;
}

body.large-text {
  font-size: 18.5px;
}
body.large-text p,
body.large-text li,
body.large-text td {
  font-size: 1.08em;
}

body.highlight-links a {
  text-decoration: underline !important;
  background: #FFEB3B !important;
  color: #000 !important;
  padding: 0 3px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1260px) {
  .brand-text span {
    display: none;
  }
  .nav-link,
  .nav-dropdown-btn {
    padding: 7px 8px;
    font-size: 13px;
  }
  .header-cta-desktop {
    padding: 8px 13px;
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .header-cta-desktop {
    display: none;
  }
  .brand-text span {
    display: block;
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .brand-text span {
    display: none;
  }
  .brand-text strong {
    font-size: 17px;
  }
  .header-inner {
    gap: 8px;
  }
  .lang-btn {
    padding: 7px 9px;
    font-size: 12.5px;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 72px;
  }
  .top-bar {
    display: none;
  }
  .hero {
    padding: 36px 0 44px;
  }
  .hero-grid,
  .page-hero-grid,
  .doctor-box,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-points,
  .empathy-grid,
  .cards-grid,
  .contact-grid,
  .editorial-meta {
    grid-template-columns: 1fr;
  }
  .hero-caption-badge {
    position: static;
    margin-top: 14px;
    max-width: none;
  }
  .toc-sidebar {
    position: static;
  }
  .article-content {
    padding: 24px 20px;
  }
  .empathy-card,
  .doctor-box {
    padding: 24px 20px;
  }
  .floating-wa {
    display: none;
  }
  .mobile-sticky-bar {
    display: grid;
  }
  .a11y-btn {
    bottom: 76px;
    inset-inline-start: 14px;
  }
  .a11y-panel {
    bottom: 130px;
    inset-inline-start: 14px;
  }
  .cookie-banner {
    bottom: 74px;
  }
}

@media (max-width: 560px) {
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
