/* Massvaa Care - site stylesheet.
   Extracted from header.php: it was a 36 KB inline block re-sent on every page view
   and therefore never cacheable. Bump the ?v= in header.php when you edit this. */
:root {
  --teal: #0066cc;
  --teal-light: #e8f1fc;
  --teal-mid: #0052a3;
  --teal-dark: #003366;
  --gold: #d97706;
  --gold-light: #fffbeb;
  --navy: #0d1b2a;
  --navy-mid: #1b263b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-light: #e2e8f0;
  --gray: #64748b;
  --text: #1e293b;
  --text-muted: #475569;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --nav-h: 72px;
  --shadow: 0 4px 20px rgba(13, 27, 42, 0.06);
  --shadow-lg: 0 10px 30px rgba(13, 27, 42, 0.12);
  --green-wa: #25d366;
  --green-wa-dark: #128c7e;
}

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

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}

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

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

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: var(--nav-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--navy);
  padding: 6px 12px;
  border-radius: 8px;
  /* Never let a long-label locale (ru/fr/ar) crush the logo to 0 width. */
  flex-shrink: 0;
}

.nav-logo img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

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

.nav-links a {
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  transition: all 0.25s ease !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-wa);
  color: white !important;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: all 0.2s ease;
}

.nav-wa-btn:hover {
  background: var(--green-wa-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0d1b2a 0%, #152b47 50%, #003366 100%);
  color: white;
  padding-top: 100px;
  padding-bottom: 4rem;
  overflow: hidden;
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: white;
  padding-top: 120px;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #93c5fd;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}

.hero-title strong {
  font-weight: 700;
  color: #93c5fd;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--teal);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-outline-teal {
  background: white;
  color: var(--teal);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--teal);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: white;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== DOCTOR & HOSPITAL SPECIFIC STYLES ===== */
.doctor-hero-wrap,
.hospital-hero-wrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.doctor-avatar-box {
  width: 170px;
  height: 170px;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.25);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

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

.hospital-avatar-box {
  width: 220px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.25);
  background: var(--teal-light);
  flex-shrink: 0;
  box-shadow: var(--shadow-lg);
}

.hospital-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail Cards Layout */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  margin-bottom: 2rem;
}

.detail-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.detail-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.detail-card-header h2,
.detail-card-header h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  color: var(--navy);
  margin: 0;
}

.meta-pills-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.meta-pill-item {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-pill-icon {
  font-size: 1.35rem;
  color: var(--teal);
}

.meta-pill-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 2px;
}

.meta-pill-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.inclusions-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.inclusion-box {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 14px;
  padding: 1.5rem;
}

.inclusion-box h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inclusion-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.inclusion-box li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.inclusion-box li i {
  color: var(--teal);
  font-size: 0.8rem;
}

/* Sticky Sidebar Consultation Card */
.sticky-sidebar-wrapper {
  position: sticky;
  top: 92px;
}

.sidebar-consult-card {
  background: white;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}

.sidebar-consult-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-light);
}

.sidebar-consult-header h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.sidebar-consult-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Filter & Search Bar */
.filter-bar {
  background: white;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  flex: 1;
  min-width: 260px;
}

.search-input-wrap input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  color: var(--text);
}

.filter-select {
  border: 1.5px solid var(--gray-light);
  background: var(--off-white);
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Doctor Card Enhanced */
.doctor-card {
  background: white;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.doctor-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--teal-light);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--teal-light);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

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

.doctor-spec-pill {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* Hospital Card Enhanced */
.hospital-card-img {
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
}

.hospital-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hospital-card:hover .hospital-card-img img {
  transform: scale(1.04);
}

/* ===== SECTION STYLING ===== */
section {
  padding: 4.5rem 0;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-title em {
  font-style: italic;
  color: var(--teal);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 680px;
}

/* ===== PARTNER STRIP ===== */
.partners-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  color: white;
}

.partners-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-logo-item {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

/* ===== GRIDS ===== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hospitals-grid,
.treatment-cards-grid,
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

/* ===== CARDS ===== */
.hospital-card,
.treatment-card {
  background: white;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.hospital-card:hover,
.treatment-card:hover,
.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-light);
}

.hospital-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hospital-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.hospital-name,
.treatment-card-name,
.doctor-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.hospital-location,
.doctor-hospital {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.hospital-location {
  justify-content: flex-start;
}

.treatment-item {
  background: white;
  border: 1.5px solid var(--gray-light);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.treatment-item:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-2px);
}

.treatment-item .treatment-icon {
  font-size: 1.75rem;
  color: var(--teal);
}

.treatment-item .treatment-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===== REVIEWS & TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-light);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FORM STYLING ===== */
.contact-form {
  background: white;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
}

.form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-light);
  font-family: inherit;
  font-size: 16px;
  /* Prevents auto zoom on mobile iOS */
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color 0.2s ease;
  min-height: 48px;
}

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

.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal);
}

.form-submit {
  width: 100%;
  height: 50px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.form-submit:hover {
  background: var(--teal-dark);
}

/* Honeypot hidden input */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

/* ===== HERO CARD & STEP STYLES ===== */
.hero-card-main {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
}

.hero-card-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hero-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.hero-step-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.hero-step-text p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin: 0;
}

/* ===== STICKY MOBILE BAR (MOBILE ONLY) ===== */
.sticky-bar {
  display: none;
}

/* ===== INDICATIVE PRICE BAND (treatment hero) ===== */
.price-band {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  max-width: 420px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.price-band-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.price-band-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.price-band-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

.price-band-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
}

.price-band-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 1rem;
}

.price-band-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #34d399, #60a5fa);
}

.price-band-note {
  font-size: 0.73rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* ===== SPECIALTY FACETS (listing pages) ===== */
.facet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.facet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.facet:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.facet-active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}

.facet-count {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: var(--teal-light);
  color: var(--teal-dark);
}

.facet-active .facet-count {
  background: rgba(255, 255, 255, 0.22);
  color: white;
}

/* ===== NAV SEARCH ===== */
.nav-search-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* On desktop the nav is already full, so show the icon only; the label returns
   inside the mobile drawer where there is room for it. */
.nav-search-label {
  display: none;
}

/* ===== SEARCH PAGE ===== */
.search-page-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
}

.search-page-form i {
  color: rgba(255, 255, 255, 0.6);
}

.search-page-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: white;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  min-height: 44px;
}

.search-page-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.search-group-title:first-of-type {
  margin-top: 0;
}

.search-group-title i {
  color: var(--teal);
  font-size: 1.1rem;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.search-result {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.search-result:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.search-result-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.search-result-sub {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
}

.search-result-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===== ACCESSIBILITY ===== */
/* There was no visible focus indicator anywhere, so keyboard and screen-reader users
   had no way to tell which control they were on. :focus-visible keeps it off for
   mouse clicks. */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.hero :focus-visible,
.page-hero :focus-visible,
footer :focus-visible,
.sticky-bar :focus-visible {
  outline-color: #93c5fd;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -150%);
  z-index: 2000;
  background: var(--teal);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* Respect the OS "reduce motion" setting: this site animates transforms on most
   interactive elements, which can trigger nausea for vestibular-disorder users. */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== ICONS =====
   SVG sprite references replacing the Font Awesome webfont. The full CDN CSS plus three
   webfonts cost 402 KB to draw ~70 glyphs; assets/icons.svg carries only the glyphs this
   site uses. Sized in em so existing font-size styling still controls them, and filled
   with currentColor so existing color styling still applies. */
.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

.fa-spin {
  animation: fa-spin 2s linear infinite;
}

@keyframes fa-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.fa-fw {
  width: 1.25em;
}

/* ===== SCRIPT-SPECIFIC TYPEFACES ===== */
/* DM Sans covers Latin only. Cormorant Garamond does carry Cyrillic, so Russian headings
   keep the brand serif; only the body face has to change. Arabic has neither, so both
   roles fall to Noto Kufi Arabic. */
[lang="ru"] body,
[lang="ru"] .form-input,
[lang="ru"] .form-textarea {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

[lang="ar"] body,
[lang="ar"] .form-input,
[lang="ar"] .form-textarea,
[lang="ar"] .hero-title,
[lang="ar"] .section-title,
[lang="ar"] .footer-col-title {
  font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
}

/* Arabic runs taller than Latin at the same size and needs more leading. */
[lang="ar"] body {
  line-height: 1.8;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  position: relative;
}

.lang-switch>summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lang-switch>summary::-webkit-details-marker {
  display: none;
}

.lang-switch>summary:hover,
.lang-switch[open]>summary {
  color: var(--teal);
  background: var(--teal-light);
}

.lang-switch-caret {
  font-size: 0.65rem;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.lang-switch[open] .lang-switch-caret {
  transform: rotate(180deg);
}

.lang-switch-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  list-style: none;
  z-index: 1100;
}

.lang-switch-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.6rem 0.75rem !important;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--navy);
}

.lang-switch-menu a:hover {
  background: var(--teal-light);
  color: var(--teal);
}

.lang-switch-menu a[aria-current="true"] {
  color: var(--teal);
  font-weight: 700;
}

/* ===== UNTRANSLATED-CONTENT NOTICE ===== */
.lang-notice {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  margin-top: var(--nav-h);
  background: var(--gold-light);
  border-bottom: 1px solid #fde68a;
  font-size: 0.85rem;
  color: #78350f;
}

/* The navbar is fixed, so pages normally reserve their own top padding. When the notice
   is present it takes that offset instead and the hero sits below it. */
.lang-notice+* .hero,
.lang-notice+* .page-hero {
  padding-top: 2.5rem;
}

.lang-notice i {
  color: var(--gold);
  font-size: 1.1rem;
}

.lang-notice strong {
  display: block;
  color: #78350f;
}

.lang-notice span {
  color: #92400e;
  line-height: 1.5;
}

.lang-notice-cta {
  margin-inline-start: auto;
  background: var(--gold);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  white-space: nowrap;
}

/* ===== RTL (Arabic) ===== */
/* The layout is almost entirely flex/grid, which mirrors automatically under dir="rtl".
   These are the few places that pin a physical direction. */
[dir="rtl"] body {
  text-align: start;
}

/* Body copy is still English in every locale. Inside an RTL container a plain English
   sentence gets its trailing punctuation flung to the wrong end (".like this"), because
   the paragraph inherits RTL. unicode-bidi: plaintext makes each paragraph take its
   direction from its own first strong character, so English reads correctly and Arabic
   still reads correctly once it is translated. */
[dir="rtl"] p,
[dir="rtl"] li,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] label,
[dir="rtl"] option,
[dir="rtl"] blockquote,
[dir="rtl"] .hero-sub,
[dir="rtl"] .section-sub,
[dir="rtl"] .hospital-name,
[dir="rtl"] .hospital-location,
[dir="rtl"] .doctor-name,
[dir="rtl"] .doctor-hospital,
[dir="rtl"] .treatment-card-name,
[dir="rtl"] .search-result-title,
[dir="rtl"] .search-result-body,
[dir="rtl"] footer span,
[dir="rtl"] footer strong,
[dir="rtl"] .footer-bottom-row>div {
  unicode-bidi: plaintext;
}

[dir="rtl"] .premium-structured-content blockquote {
  border-left: none;
  border-right: 4px solid var(--teal);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

[dir="rtl"] .premium-structured-content ul,
[dir="rtl"] .premium-structured-content ol {
  padding-left: 0;
  padding-right: 1.25rem;
}

[dir="rtl"] .hero-sub,
[dir="rtl"] .section-sub {
  margin-left: auto;
  margin-right: 0;
}

/* Latin-script values stay LTR inside an RTL page: phone numbers, prices, URLs. */
[dir="rtl"] .price-band-value,
[dir="rtl"] .hero-stat-num,
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href*="wa.me"] {
  direction: ltr;
  unicode-bidi: embed;
}

@media (max-width: 768px) {
  .lang-switch-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 0.5rem;
    min-width: 0;
  }

  .lang-notice {
    margin-top: 64px;
  }

  .lang-notice-cta {
    margin-inline-start: 0;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  /* Brand wash so the footer reads as a deliberate closing block rather than a flat slab. */
  background-image: radial-gradient(900px 380px at 12% 0%, rgba(0, 102, 204, 0.3), transparent 72%);
  color: rgba(255, 255, 255, 0.8);
  padding: 0 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-assurance {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-assurance-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-assurance-item>.icon {
  font-size: 1.4rem;
  color: #60a5fa;
  margin-top: 0.1em;
}

.footer-assurance-item strong {
  display: block;
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.footer-assurance-item span {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 2.5rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 62ch;
  margin-bottom: 1.25rem;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact .icon {
  color: #60a5fa;
  margin-top: 0.35em;
}

.footer-contact .is-wa .icon,
.footer-contact li.is-wa .icon {
  color: var(--green-wa);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: white;
  text-decoration: underline;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--teal);
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-cta:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.footer-col-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.15rem;
  font-weight: 600;
  color: #60a5fa !important;
}

[dir="rtl"] .footer-link-more .icon {
  transform: scaleX(-1);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-social:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.footer-countries {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-countries-label {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-inline-end: 0.4rem;
}

.footer-countries a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.footer-countries a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-note {
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}

.footer-legal-note a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer-legal-note a:hover {
  color: white;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* "#top" with no matching element is spec'd to mean the top of the document, so this
   needs no JS and inherits html { scroll-behavior: smooth }. */
.footer-back-to-top {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-back-to-top:hover {
  color: white;
  text-decoration: underline;
}

/* ===== STRUCTURED CONTENT ===== */
.premium-structured-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--teal-light);
  padding-bottom: 0.4rem;
}

.premium-structured-content p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.premium-structured-content ul,
.premium-structured-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.premium-structured-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.premium-structured-content blockquote {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--teal-dark);
}

/* ===== MEDIA QUERIES (MOBILE FIRST COMPLIANCE) ===== */
/* Five footer columns need ~1200px before the link labels start wrapping mid-word. */
@media (max-width: 1200px) {
  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

/* The full nav needs roughly 1300px in English once the search and language controls are
   counted, and more in Russian/French, where labels run ~30% longer. Below that the row
   silently overflowed and pushed the search icon, language switcher, "Get a Quote" CTA
   and WhatsApp button off-screen entirely. */
@media (max-width: 1280px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: none;
    gap: 0.75rem;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: 8px;
    color: var(--navy);
  }

  /* The drawer has room for a label, unlike the desktop bar. */
  .nav-search-label {
    display: inline;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
    padding: 0.85rem !important;
  }

  .nav-wa-btn {
    margin-left: 0;
    justify-content: center;
    padding: 0.85rem !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .lang-switch>summary {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    justify-content: space-between;
  }
}

/* Cyrillic, French and Arabic labels run ~30% longer than English, so the full desktop
   bar (~1800px) overflows the 1240px .nav-inner container and crushes the logo. On
   laptops (>1280px) these locales keep the horizontal bar but drop the WhatsApp button
   and tighten spacing/font so every remaining item fits; below 1281px all locales fall
   back to the mobile drawer defined above. Measured fit at 1240px: ru 1218, fr 1203,
   ar 1075. */
@media (min-width: 1281px) {

  [lang="ru"] .nav-wa-btn,
  [lang="fr"] .nav-wa-btn,
  [lang="ar"] .nav-wa-btn {
    display: none;
  }

  [lang="ru"] .nav-links,
  [lang="fr"] .nav-links,
  [lang="ar"] .nav-links {
    gap: 0;
  }

  [lang="ru"] .nav-links a,
  [lang="fr"] .nav-links a,
  [lang="ar"] .nav-links a,
  [lang="ru"] .lang-switch>summary,
  [lang="fr"] .lang-switch>summary,
  [lang="ar"] .lang-switch>summary {
    padding: 0.4rem;
    font-size: 0.8rem;
  }

  [lang="ru"] .nav-cta,
  [lang="fr"] .nav-cta,
  [lang="ar"] .nav-cta {
    padding: 0.45rem 0.65rem !important;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  nav .nav-inner {
    padding: 0 1rem;
  }

  .hero,
  .page-hero {
    padding-top: 80px;
    padding-bottom: 2.5rem;
  }

  .hero-inner {
    padding: 1.5rem 1rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .two-col-grid,
  .three-col-grid,
  .form-row,
  .inclusions-two-col {
    grid-template-columns: 1fr;
  }

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

  /* Two columns rather than one: five stacked link lists made the footer scroll for
     several screens on a phone. */
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
    padding: 2.5rem 1rem 2rem;
  }

  .footer-assurance {
    grid-template-columns: 1fr;
    padding: 1.75rem 1rem;
  }

  .footer-countries,
  .footer-bottom {
    padding-inline: 1rem;
  }

  /* The sticky action bar is fixed over the bottom of the viewport on phones and was
     covering the copyright row. */
  footer {
    padding-bottom: 5.5rem;
  }

  .sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    max-width: 100vw;
    border-radius: 0;
    padding: 10px 14px;
    justify-content: space-between;
    z-index: 999;
    background: rgba(13, 27, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    gap: 10px;
  }

  .sticky-bar-text {
    display: none;
  }

  .sticky-btn {
    flex: 1;
    justify-content: center;
    padding: 12px 10px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    color: white;
  }

  .sticky-btn-wa {
    background: var(--green-wa);
  }

  .sticky-btn-quote {
    background: var(--teal);
  }

  .doctor-hero-wrap,
  .hospital-hero-wrap {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .doctor-avatar-box,
  .hospital-avatar-box {
    margin: 0 auto;
  }

  .detail-card {
    padding: 1.5rem;
  }

  .sidebar-consult-card {
    padding: 1.5rem;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text {
  margin: 0;
  max-width: 62ch;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner-text a {
  color: #7dd9cc;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Both choices share a size and weight: a decline that is harder to find than the
   accept is not freely given consent. */
.cookie-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
}

.cookie-btn-decline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn:focus-visible {
  outline: 3px solid #7dd9cc;
  outline-offset: 2px;
}

/* The mobile CTA bar is also pinned to the bottom; do not stack them. */
body.has-cookie-banner .sticky-bar {
  display: none;
}

@media (max-width: 640px) {
  .cookie-banner {
    justify-content: stretch;
    padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom));
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* ===== COUNTRY-PAIR VISA GUIDES ===== */
.visa-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.visa-fact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 1rem 1.15rem;
}

.visa-fact-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.35rem;
}

.visa-fact strong {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.visa-source-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-inline-start: 4px solid var(--teal);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.visa-source-box .icon {
  color: var(--teal);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.visa-source-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.visa-source-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.6rem;
}

.visa-source-box a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
}

.visa-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 0.5rem;
  font-size: 0.9rem;
}

.visa-table th,
.visa-table td {
  text-align: start;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--gray-light);
}

.visa-table th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--off-white);
  white-space: nowrap;
}

.visa-table td {
  color: var(--text-muted);
}

.visa-caption {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

.visa-sources {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.visa-sources a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.visa-reviewed {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.1rem 1.35rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.visa-reviewed .icon {
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}

.visa-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  background: transparent;
  border: 1px dashed rgba(13, 27, 42, 0.35);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.2rem;
  cursor: pointer;
}

.visa-share:hover {
  border-style: solid;
  background: rgba(255, 255, 255, 0.55);
}

.visa-share:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.visa-corridor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.85rem;
}

.visa-corridor {
  display: block;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.visa-corridor:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.visa-corridor strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.visa-corridor span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .visa-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
