/* ===================================================================
   Massar Mental Health Clinic (massaronline.com)
   Official Design System & Stylesheet — Massar Signature Blue Theme
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Massar Signature Brand Theme: Royal River Blue & Clinical Precision */
  --primary: #155e96;
  --primary-hover: #0f4672;
  --primary-dark: #0c385c;
  --primary-light: #edf5fb;
  --primary-soft: rgba(21, 94, 150, 0.08);

  --accent-blue: #227cb9;
  --accent-cyan: #38bdf8;
  --accent-light: #e0f2fe;
  
  --secondary: #d97706;
  --secondary-hover: #b45309;
  --secondary-soft: rgba(217, 119, 6, 0.12);

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  --border-subtle: #e2e8f0;
  --border-focus: #155e96;

  --shadow-sm: 0 2px 8px rgba(15, 45, 80, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 45, 80, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 45, 80, 0.12);
  --shadow-hover: 0 20px 42px rgba(15, 45, 80, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
  --section-padding: 5.5rem;

  /* Aliases for clinician & card components */
  --color-primary: var(--primary);
  --text-primary: var(--text-main);
  --text-secondary: var(--text-muted);
}

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

img, svg {
  max-width: 100%;
}

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

body {
  font-family: 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* LTR override for English */
html[dir="ltr"] body {
  font-family: 'Plus Jakarta Sans', 'Cairo', system-ui, -apple-system, sans-serif;
}

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

button, input, select, textarea {
  font-family: inherit;
}

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

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

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

.top-announcement {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  text-align: center;
}

.top-announcement a {
  text-decoration: underline;
  margin-inline-start: 0.5rem;
  font-weight: 700;
  color: #bae6fd;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.2rem;
}

/* Brand Logo with Official Image */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 135px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  transition: transform var(--transition-fast);
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-inline-start: 1.5px solid var(--border-subtle);
  padding-inline-start: 0.75rem;
}

.brand-name-ar {
  line-height: 1.15;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-sub-ar {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.35rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Intermediate screen adjustments to prevent nav collisions */
@media (min-width: 1181px) and (max-width: 1340px) {
  .nav-menu {
    gap: 0.72rem;
  }
  .nav-link {
    font-size: 0.86rem;
  }
  .brand-text-wrap {
    display: none;
  }
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav-book {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 94, 150, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 94, 150, 0.38);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--primary);
  border: 1.5px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
  color: #fff;
}

.btn-google-maps {
  background: #ea4335;
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.28);
}

.btn-google-maps:hover {
  background: #d93025;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.38);
  color: #fff;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.25rem;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, #e0f2fe 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, #edf5fb 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(21, 94, 150, 0.22);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(34, 124, 185, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 124, 185, 0.5); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 124, 185, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 124, 185, 0); }
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.highlight-text {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Visual Showcase with Biophilic Artwork */
.hero-visual-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(21, 94, 150, 0.18), 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: var(--bg-surface);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.hero-image-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(21, 94, 150, 0.22);
}

.hero-artwork-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hero-artwork-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 45, 80, 0.05) 0%, rgba(15, 45, 80, 0.32) 100%);
  pointer-events: none;
}

/* Floating Glassmorphic Badges on Hero Image */
.floating-artwork-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  z-index: 2;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
}

.floating-artwork-badge.top-start {
  top: 1.25rem;
  inset-inline-start: 1.25rem;
}

.floating-artwork-badge.bottom-end {
  bottom: 1.25rem;
  inset-inline-end: 1.25rem;
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.float-badge-icon {
  font-size: 1.25rem;
}

.float-badge-text {
  display: flex;
  flex-direction: column;
}

.float-badge-text strong {
  font-size: 0.84rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.float-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Reassuring Quote Bar below Hero Image */
.hero-quote-bar {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  border: 1px solid var(--border-subtle);
  border-inline-start: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.hero-quote-bar p {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.65;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Statistics Ribbon */
.stats-ribbon {
  margin-top: 2rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  inset-inline-end: 0;
  width: 1px;
  background-color: var(--border-subtle);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ===================================================================
   Sections General
   =================================================================== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

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

/* ===================================================================
   Dedicated Subpage Hero Banner & Breadcrumbs
   =================================================================== */
.page-hero-banner {
  background: radial-gradient(circle at 85% 20%, #e0f2fe 0%, transparent 60%),
              linear-gradient(180deg, #edf5fb 0%, var(--bg-page) 100%);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.breadcrumb-nav a {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--text-muted);
  font-weight: 700;
}

.page-hero-header {
  max-width: 820px;
}

.page-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.page-hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===================================================================
   Home Gateway Portal Teasers
   =================================================================== */
.portal-teasers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.portal-teaser-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.portal-teaser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.portal-teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 94, 150, 0.35);
}

.portal-teaser-card:hover::before {
  opacity: 1;
}

.teaser-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(21, 94, 150, 0.12);
}

.portal-teaser-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.portal-teaser-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.teaser-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.portal-teaser-card:hover .teaser-action-link {
  gap: 0.75rem;
}

/* ===================================================================
   Why Us / Sanctuary Showcase Layout
   =================================================================== */
.why-section {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
}

.why-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.sanctuary-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 45, 80, 0.12);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.sanctuary-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-smooth);
}

.sanctuary-image-card:hover .sanctuary-img {
  transform: scale(1.02);
}

.sanctuary-caption {
  position: absolute;
  bottom: 1.25rem;
  inset-inline: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.sanctuary-caption .caption-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sanctuary-caption strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.sanctuary-caption p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

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

.pillar-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.35rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.pillar-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.pillar-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   First Session Experience Section (أول 50 دقيقة في مسار)
   =================================================================== */
.first-session-section {
  padding-block: var(--section-padding, 5rem);
  background: linear-gradient(180deg, var(--bg-surface) 0%, #f0f7fc 50%, var(--bg-surface) 100%);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.session-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.session-stage-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.session-stage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-blue);
  border-top-color: var(--primary);
}

.stage-step-num {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.25rem;
  font-size: 2.25rem;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(21, 94, 150, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.stage-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.stage-icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  border: 1px solid rgba(21, 94, 150, 0.12);
}

.stage-time-pill {
  font-size: 0.76rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', monospace;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(21, 94, 150, 0.18);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px;
}

.stage-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stage-subtitle {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.session-stage-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.session-stage-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.stage-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.stage-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}

/* Trust Covenant Box */
.session-covenant-box {
  background: linear-gradient(135deg, #0d3b66 0%, #155e96 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 16px 36px rgba(13, 59, 102, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.covenant-intro {
  margin-bottom: 2rem;
  text-align: center;
}

.covenant-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.covenant-intro h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.covenant-intro p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.covenant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.covenant-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition-smooth);
}

.covenant-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.covenant-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.covenant-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.covenant-text p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

/* First Session CTA Banner */
.session-cta-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.session-cta-info {
  flex: 1 1 400px;
}

.session-cta-info h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.session-cta-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.session-cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive adjustments for First Session */
@media (max-width: 1024px) {
  .session-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .covenant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .session-timeline-grid {
    grid-template-columns: 1fr;
  }

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

  .session-covenant-box {
    padding: 1.75rem 1.25rem;
  }

  .session-cta-banner {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

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

  .session-cta-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ===================================================================
   Services Showcase
   =================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21, 94, 150, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.service-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  color: var(--primary);
}

.service-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-points {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.service-points li svg {
  color: var(--primary);
  flex-shrink: 0;
}

.service-action-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-action-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ===================================================================
   Interactive Self-Triage Wizard Section
   =================================================================== */
.triage-section {
  padding-block: var(--section-padding, 5rem);
  background: linear-gradient(180deg, var(--bg-surface) 0%, #f0f7fc 45%, var(--bg-page) 100%);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.triage-wizard-card {
  max-width: 940px;
  margin: 2.5rem auto 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 45, 80, 0.08);
  overflow: hidden;
  position: relative;
}

.triage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1.5rem;
}

.triage-back-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}

.triage-back-btn:hover {
  background: var(--bg-surface);
  color: var(--primary);
  border-color: var(--primary);
}

.triage-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

.triage-progress-track {
  flex: 1;
  max-width: 240px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.triage-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.triage-step-counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', system-ui;
}

.triage-body {
  padding: 2.75rem 2.5rem;
  min-height: 400px;
  position: relative;
}

.triage-step-pane {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.triage-step-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-pane-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.step-question {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.step-hint {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.triage-options-grid {
  display: grid;
  gap: 1.15rem;
}

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

.triage-options-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.triage-option-card {
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem 1.25rem;
  text-align: start;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  width: 100%;
  font-family: inherit;
}

.triage-option-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(21, 94, 150, 0.1);
  background: #fbfdff;
}

.triage-option-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(21, 94, 150, 0.15);
}

.option-icon-wrap {
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.option-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.option-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Results View */
.triage-result-card {
  display: flex;
  flex-direction: column;
}

.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.result-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}

.btn-restart-triage {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-restart-triage:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
}

.result-track-header {
  background: linear-gradient(135deg, rgba(21, 94, 150, 0.08) 0%, rgba(56, 189, 248, 0.12) 100%);
  border: 1px solid rgba(21, 94, 150, 0.2);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem;
  margin-bottom: 1.5rem;
}

.result-track-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 0.4rem;
}

.result-track-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.result-pills-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-pill-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.result-pill-box .pill-label {
  font-size: 0.76rem;
  color: var(--text-light);
  font-weight: 600;
}

.result-pill-box .pill-value {
  font-size: 0.96rem;
  color: var(--primary-dark);
  font-weight: 800;
}

.result-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.insight-card {
  display: flex;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow-sm);
}

.insight-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.insight-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.insight-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.result-actions-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-triage-book {
  flex: 1 1 280px;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
}

.btn-triage-wa {
  flex: 1 1 280px;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
}

.btn-triage-wa:hover {
  background: #1eb857;
  color: #ffffff;
  border-color: #1eb857;
}

.triage-disclaimer {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.55;
  margin-top: 0.5rem;
}

/* Responsive Triage */
@media (max-width: 860px) {
  .triage-options-grid.grid-3,
  .triage-options-grid.grid-4 {
    grid-template-columns: 1fr;
  }

  .result-pills-row,
  .result-insights-grid {
    grid-template-columns: 1fr;
  }

  .triage-body {
    padding: 1.75rem 1.25rem;
  }

  .step-question {
    font-size: 1.18rem;
  }

  .triage-topbar {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .triage-options-grid.grid-2 {
    grid-template-columns: 1fr;
  }

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

  .btn-triage-book,
  .btn-triage-wa {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   Clinicians & Medical Team Section (فريق أطباء مسار)
   =================================================================== */
.team-section {
  padding-block: var(--section-padding, 5.5rem);
  background: var(--bg-surface);
  position: relative;
}

.team-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.team-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full, 9999px);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.team-filter-btn:hover {
  background: var(--bg-surface);
  color: var(--color-primary);
  border-color: rgba(27, 85, 155, 0.3);
  transform: translateY(-1px);
}

.team-filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(27, 85, 155, 0.28);
}

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

.clinician-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl, 20px);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  position: relative;
}

.clinician-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 43, 82, 0.08);
  border-color: rgba(27, 85, 155, 0.28);
}

.clinician-card.is-hidden {
  display: none !important;
}

.clinician-card.fade-in {
  animation: fadeInCard 0.35s ease forwards;
}

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

.clinician-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.clinician-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.clinician-avatar-box {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
  border: 1.5px solid rgba(26, 115, 232, 0.25);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.12);
}

.clinician-avatar-box.avatar-therapy {
  background: linear-gradient(135deg, #e6f4ea, #ceead6);
  border-color: rgba(19, 115, 51, 0.25);
  box-shadow: 0 4px 12px rgba(19, 115, 51, 0.12);
}

.clinician-avatar-box.avatar-child {
  background: linear-gradient(135deg, #fef7e0, #feefc3);
  border-color: rgba(249, 171, 0, 0.3);
  box-shadow: 0 4px 12px rgba(249, 171, 0, 0.12);
}

.clinician-avatar-box.avatar-couples {
  background: linear-gradient(135deg, #fce8e6, #fad2cf);
  border-color: rgba(217, 48, 37, 0.25);
  box-shadow: 0 4px 12px rgba(217, 48, 37, 0.12);
}

.verified-badge {
  position: absolute;
  inset-inline-end: -4px;
  inset-block-end: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0d9488;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.clinician-identity {
  flex: 1;
  min-width: 0;
}

.clinician-name {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.clinician-role {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.credentials-badge {
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.focus-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.focus-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full, 9999px);
  background: rgba(27, 85, 155, 0.07);
  color: var(--color-primary);
  border: 1px solid rgba(27, 85, 155, 0.14);
  white-space: nowrap;
}

.clinician-bio {
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.philosophy-quote {
  background: var(--bg-muted);
  border-inline-start: 3.5px solid var(--color-primary);
  border-radius: var(--radius-sm, 8px);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.philosophy-quote .quote-mark {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.35;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: 0.35rem;
}

.philosophy-quote p {
  display: inline;
  font-size: 0.88rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
}

.clinician-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-block: 0.85rem;
  border-block: 1px dashed var(--border-subtle);
  margin-bottom: 1.35rem;
  font-size: 0.84rem;
}

.clinician-meta-row .meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.clinician-meta-row .meta-label {
  color: var(--text-muted);
  font-weight: 600;
}

.clinician-meta-row .meta-val {
  color: var(--text-primary);
  font-weight: 600;
}

.clinician-card-footer {
  margin-top: auto;
}

.btn-book-doctor {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.btn-book-doctor:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 85, 155, 0.28);
}

@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .clinician-card {
    padding: 1.5rem 1.25rem;
  }

  .clinician-header {
    gap: 1rem;
  }

  .clinician-avatar-box {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }

  .clinician-name {
    font-size: 1.2rem;
  }

  .team-filter-bar {
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .team-filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
  }
}

/* ===================================================================
   Patient Journey Section
   =================================================================== */
.journey-section {
  background: var(--bg-muted);
  border-block: 1px solid var(--border-subtle);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition-smooth);
}

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

.step-num-bubble {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(21, 94, 150, 0.25);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================================
   Testimonials
   =================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.author-avatar-placeholder {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ===================================================================
   Clinic Atmosphere & Interior Spaces (معرض أجواء العيادة من الداخل)
   =================================================================== */
.ambience-section {
  padding-block: var(--section-padding, 5.5rem);
  background: linear-gradient(180deg, var(--bg-page) 0%, #f0f7fc 40%, var(--bg-surface) 100%);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.ambience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 2.5rem;
}

.ambience-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-smooth);
  position: relative;
}

.ambience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 45, 80, 0.12);
  border-color: rgba(21, 94, 150, 0.3);
}

.ambience-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  background: var(--primary-light);
}

.ambience-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambience-img-wrap:hover .ambience-img {
  transform: scale(1.05);
}

.ambience-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 56, 92, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ambience-img-wrap:hover .ambience-img-overlay {
  opacity: 1;
}

.ambience-zoom-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transform: translateY(8px);
  transition: transform var(--transition-fast);
}

.ambience-img-wrap:hover .ambience-zoom-btn {
  transform: translateY(0);
}

.ambience-floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  z-index: 2;
}

.ambience-floating-badge.top-start {
  top: 1rem;
  inset-inline-start: 1rem;
}

.ambience-card-body {
  padding: 1.85rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ambience-category-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.ambience-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.ambience-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.ambience-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 1.15rem;
  border-top: 1px dashed var(--border-subtle);
}

.ambience-feat-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.feat-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ambience-cta-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
  border: 1.5px solid rgba(21, 94, 150, 0.18);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.ambience-cta-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.ambience-cta-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Image Lightbox Modal */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.image-lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 40, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

@keyframes lightboxPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary);
}

.lightbox-img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

.lightbox-caption {
  padding: 1.25rem 1.75rem 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.lightbox-caption h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.lightbox-caption p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   Detailed Clinic Location & Google Maps Section
   =================================================================== */
.location-section {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-subtle);
  position: relative;
}

.location-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.location-info-card {
  background: var(--bg-page);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.location-info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ea4335, #4285f4, #34a853);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.location-pin-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: #fef2f2;
  color: #ea4335;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.location-pin-icon:hover {
  transform: scale(1.08);
}

.location-card-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.location-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.location-detail-item strong {
  color: var(--text-main);
  min-width: 80px;
}

.location-interactive-note {
  background: var(--primary-light);
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.6;
}

.location-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.map-embed-wrapper {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  min-height: 380px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: none;
}

.map-floating-badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast);
}

.map-floating-badge:hover {
  transform: scale(1.05);
}

/* ===================================================================
   Interactive Appointment Booking Section
   =================================================================== */
.booking-section {
  background: radial-gradient(circle at 50% 50%, var(--primary-light) 0%, var(--bg-page) 100%);
}

.booking-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 880px;
  margin-inline: auto;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.booking-box.highlight-pulse {
  animation: bookingGlow 1.8s ease-in-out;
}

@keyframes bookingGlow {
  0% { box-shadow: 0 0 0 0 rgba(21, 94, 150, 0.4); border-color: var(--primary); }
  50% { box-shadow: 0 0 0 12px rgba(21, 94, 150, 0.15); border-color: var(--accent-cyan); }
  100% { box-shadow: var(--shadow-lg); border-color: var(--border-subtle); }
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: var(--bg-page);
  color: var(--text-main);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px var(--primary-soft);
}

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

.form-submit-row {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.btn-submit-booking {
  width: 100%;
  padding: 1rem;
  font-size: 1.05rem;
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.or-divider:not(:empty)::before {
  margin-inline-end: 1rem;
}

.or-divider:not(:empty)::after {
  margin-inline-start: 1rem;
}

.form-success-banner {
  display: none;
  background: #e8f7ee;
  border: 1px solid #1b8755;
  color: #155724;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-success-banner.active {
  display: block;
}

/* ===================================================================
   FAQ Section
   =================================================================== */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
  color: var(--primary);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--bg-page);
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===================================================================
   Contact & Quick Cards
   =================================================================== */
.contact-section {
  background: var(--bg-page);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.contact-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Emergency Banner */
.emergency-banner {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}

.emergency-banner svg {
  color: #dc3545;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.emergency-banner p {
  font-size: 0.88rem;
  color: #842029;
  line-height: 1.6;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: #091e31;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  display: block;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 360px;
}

.footer-domain-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.footer-col h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 2rem;
  z-index: 99;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* ===================================================================
   Responsive Breakpoints
   =================================================================== */
@media (max-width: 1180px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .mobile-nav-toggle {
    display: block;
  }

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

  .why-showcase-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .location-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

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

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-wrapper {
    height: 4.5rem;
  }

  .brand-logo-img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 110px !important;
  }

  .brand-text-wrap {
    padding-inline-start: 0.5rem;
  }

  .brand-name-ar {
    font-size: 1.05rem;
  }

  .brand-sub-ar {
    display: none;
  }

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

  .location-info-card {
    padding: 1.75rem;
  }

  .booking-box {
    padding: 1.75rem;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

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

  .stat-item::after {
    display: none !important;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    inset-inline-end: 1.25rem;
    width: 3.25rem;
    height: 3.25rem;
  }

  .floating-artwork-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  .floating-artwork-badge.bottom-end {
    padding: 0.45rem 0.75rem;
  }

  .float-badge-icon {
    font-size: 1rem;
  }

  .float-badge-text strong {
    font-size: 0.75rem;
  }

  .float-badge-text span {
    font-size: 0.65rem;
  }

  .sanctuary-caption {
    position: static;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .why-pillars-col .pillars-grid {
    grid-template-columns: 1fr;
  }

  .ambience-card-body {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .ambience-cta-banner {
    padding: 1.5rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .ambience-cta-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 90px !important;
  }

  .brand-name-ar {
    font-size: 0.95rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .btn-nav-book {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.32;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .floating-artwork-badge.top-start {
    top: 0.65rem;
    inset-inline-start: 0.65rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .floating-artwork-badge.bottom-end {
    bottom: 0.65rem;
    inset-inline-end: 0.65rem;
    padding: 0.35rem 0.6rem;
  }
}
