/* Mehr Clinic — Primary Dark Pink #EA4F82 · Accent Blue #5959e9 */

:root {
  /* Brand — Dark Pink (primary) */
  --pink: #EA4F82;
  --pink-deep: #c93a68;
  --pink-soft: #fce4ec;

  /* Brand — Majorelle Blue (accent / secondary) */
  --blue: #5959e9;
  --blue-deep: #3f3fc4;
  --blue-soft: #e8e8fc;

  /* Design system — Primary: Pink · Secondary: Blue */
  --primary-700: var(--pink-deep);
  --primary-600: var(--pink);
  --primary-500: #f06a96;
  --primary-400: #f5a0bc;
  --primary-300: var(--pink-soft);

  --secondary-700: var(--blue-deep);
  --secondary-600: var(--blue);
  --secondary-500: #7a7aed;
  --secondary-400: #a0a0f0;
  --secondary-300: var(--blue-soft);

  --neutral-700: #1f2937;
  --neutral-600: #374151;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #e5e7eb;
  --neutral-200: #f3f4f6;
  --neutral-100: #f8fafc;
  --neutral-50: #fafafa;

  --white: #FFFFFF;
  --black: #111827;
  --bg-page: #ffffff;
  --bg-tint: #fdf2f6;
  --ink: #1f2937;
  --line: rgba(234, 79, 130, 0.14);

  --grad-brand: linear-gradient(108deg, #EA4F82 10.8%, #5959e9 100%);

  /* EN defaults (Andrellina titles · Graphic body) */
  --font-display: 'Andrellina', Georgia, 'Times New Roman', serif;
  --font-body: 'Graphic', Inter, system-ui, sans-serif;
  /* FA (Kalameh headings · Molsaq/Molsagh body) */
  --font-fa-display: 'Kalameh', 'Kalameh Latin', Tahoma, sans-serif;
  --font-fa-body: 'Molsaq', 'Molsagh', Tahoma, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  --max: 72rem;
  --utility-h: 2.5rem;
  --main-nav-h: 4.5rem;
  --nav-h: calc(var(--utility-h) + var(--main-nav-h));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.08);
  --shadow-card: 0 8px 28px rgba(201, 58, 104, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-600);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

html[lang="fa"] body,
body.lang-fa {
  font-family: var(--font-fa-body);
  line-height: 1.85;
}

html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3,
html[lang="fa"] h4,
html[lang="fa"] .logo,
html[lang="fa"] .contact-detail strong,
body.lang-fa h1,
body.lang-fa h2,
body.lang-fa h3,
body.lang-fa h4,
body.lang-fa .logo {
  font-family: var(--font-fa-display);
}

html[lang="en"] body,
body.lang-en {
  font-family: var(--font-body);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] .logo,
body.lang-en h1,
body.lang-en h2,
body.lang-en h3,
body.lang-en h4,
body.lang-en .logo {
  font-family: var(--font-display);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3, h4 {
  color: var(--neutral-700);
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--font-display);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }

.lead {
  font-size: 1.0625rem;
  color: var(--neutral-500);
  max-width: 40rem;
}

.section {
  padding: var(--space-16) 0;
}

.section.alt-bg,
.alt-bg { background: var(--bg-tint); }

.section-label,
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: var(--space-3);
}

.section-head { margin-bottom: var(--space-10); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: var(--space-3); }

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ——— Chrome: utility + main nav ——— */
.site-chrome {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
}

.utility-bar {
  height: var(--utility-h);
  background: var(--primary-700);
  color: var(--white);
  font-size: 0.8125rem;
}

.utility-bar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.utility-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-inline-start: auto;
  flex-wrap: wrap;
}

.utility-links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  transition: color 0.2s;
}
.utility-links a:hover { color: var(--white); }

.utility-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.site-header {
  height: var(--main-nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--neutral-300);
  display: flex;
  align-items: center;
}

.site-header.is-scrolled,
.site-chrome.is-scrolled .site-header {
  box-shadow: var(--shadow-sm);
}

.site-header .container,
.utility-bar .container,
.site-footer > .container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--secondary-700);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.logo-mark {
  width: auto;
  height: 2.15rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--neutral-700);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--primary-600); }

.nav-links a.is-active::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -0.4rem;
  height: 2px;
  background: var(--primary-600);
  animation: draw-line 0.35s var(--ease) both;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  background: var(--primary-600);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--primary-700); }
.nav-cta::after { display: none !important; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  background: var(--neutral-100);
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-switch a {
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--neutral-500);
}
.lang-switch a.is-active {
  background: var(--primary-600);
  color: var(--white) !important;
}
.lang-switch a.is-active::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: transform 0.25s var(--ease, ease), opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary-600);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-700); }
.btn-outline {
  background: var(--white);
  color: var(--primary-600);
  border: 1.5px solid var(--primary-600);
}
.btn-outline:hover { background: var(--primary-300); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}
.btn-on-dark {
  background: var(--white);
  color: var(--primary-700);
}
.btn-on-dark:hover { background: var(--primary-300); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ——— Sutter hero ——— */
.sutter-hero {
  margin-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(70vh, 560px);
  background: var(--primary-600);
  overflow: hidden;
}

.sutter-hero-panel {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.sutter-hero-panel h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
  max-width: 16ch;
}

.sutter-hero-panel .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.sutter-hero-media {
  position: relative;
  min-height: 280px;
  background: #111827;
}

.sutter-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 1;
}

.sutter-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.sutter-badge {
  position: absolute;
  inset-inline-start: 1.25rem;
  bottom: 1.5rem;
  background: var(--white);
  color: var(--primary-700);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-card);
  max-width: 14rem;
  z-index: 2;
}
.sutter-badge strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}
.sutter-badge span {
  font-size: 0.75rem;
  color: var(--neutral-500);
  font-weight: 500;
}

.sutter-waves {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 55%;
  height: 45%;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(0, 0, 0, 0.18) 14px,
      rgba(0, 0, 0, 0.18) 18px
    );
  pointer-events: none;
  mask-image: linear-gradient(to top left, black 20%, transparent 75%);
}

@media (min-width: 900px) {
  .sutter-hero {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 520px;
  }
  .sutter-hero-panel {
    clip-path: ellipse(115% 140% at 0% 50%);
  }
  html[dir="rtl"] .sutter-hero-panel {
    clip-path: ellipse(115% 140% at 100% 50%);
  }
  .sutter-hero-media { min-height: 100%; }
  .sutter-hero-media img { min-height: 520px; }
}

/* ——— Quick links ——— */
.quick-links {
  background: var(--white);
  border-bottom: 1px solid var(--neutral-300);
  box-shadow: var(--shadow-sm);
}

.quick-links .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-5);
  border-inline-end: 1px solid var(--neutral-300);
  border-bottom: 1px solid var(--neutral-300);
  color: var(--primary-700);
  font-weight: 700;
  transition: background 0.2s;
}
.quick-link:hover { background: var(--bg-tint); }
.quick-link-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--primary-300);
  color: var(--primary-700);
  font-size: 1.15rem;
}
.quick-link span::after {
  content: ' ›';
  font-weight: 400;
}
html[dir="rtl"] .quick-link span::after { content: ' ‹'; }

@media (min-width: 800px) {
  .quick-links .container {
    grid-template-columns: repeat(4, 1fr);
  }
  .quick-link { border-bottom: none; }
  .quick-link:last-child { border-inline-end: none; }
}

/* ——— Care modes ——— */
.care-modes {
  background: var(--bg-tint);
  padding: var(--space-16) 0;
  text-align: center;
}
.care-modes h2 { margin-bottom: var(--space-8); }
.care-mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 52rem;
  margin-inline: auto;
}
.care-mode-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: start;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.care-mode-card:hover {
  border-color: var(--primary-400);
  box-shadow: var(--shadow-card);
}
.care-mode-card h3 {
  color: var(--primary-700);
  margin-bottom: var(--space-2);
}
.care-mode-card p {
  color: var(--neutral-500);
  margin-bottom: var(--space-5);
  font-size: 0.9375rem;
}
@media (min-width: 700px) {
  .care-mode-grid { grid-template-columns: 1fr 1fr; }
}

/* ——— Services / topics ——— */
.hm-serve {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
.serve-grid,
.feature-grid,
.testimonial-grid,
.pricing-grid,
.team-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
.serve-card,
.feature-card,
.testimonial-card,
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-300);
}
.serve-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--white);
  font-size: 1.15rem;
}
.serve-icon.blue { background: var(--secondary-600); }
.serve-icon.pink { background: var(--primary-600); }
.serve-icon.soft { background: var(--secondary-500); }
.serve-card h3,
.feature-card h3 { margin-bottom: var(--space-2); }
.serve-card p,
.feature-card p { color: var(--neutral-500); font-size: 0.9375rem; }

.topic-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-4);
  background: var(--primary-300);
}
.topic-media img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-stars { color: var(--secondary-600); margin-bottom: var(--space-3); letter-spacing: 0.1em; }
.testimonial-card p {
  color: var(--neutral-600);
  margin-bottom: var(--space-5);
  font-size: 0.975rem;
}
.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-card footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--neutral-700);
}
.testimonial-card footer span {
  font-size: 0.8125rem;
  color: var(--neutral-500);
}
.testimonial-card.featured {
  border-color: var(--primary-400);
  background: linear-gradient(180deg, var(--white), var(--bg-tint));
}

.pricing-desc { color: var(--neutral-500); font-size: 0.875rem; margin-bottom: var(--space-4); }
.pricing-price { margin-bottom: var(--space-5); }
.pricing-price .amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-700);
}
.pricing-price .period {
  font-size: 0.8125rem;
  color: var(--neutral-500);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.pricing-features li {
  font-size: 0.9rem;
  padding-inline-start: 1.25rem;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary-600);
  font-weight: 700;
}
.pricing-card.popular {
  border: 2px solid var(--primary-600);
  position: relative;
  transform: none;
}
.pricing-badge {
  position: absolute;
  top: -0.75rem;
  inset-inline-start: 1.25rem;
  background: var(--primary-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.faq-layout { display: grid; gap: var(--space-10); }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-weight: 700;
  color: var(--neutral-700);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-300);
  color: var(--primary-700);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--neutral-500);
  font-size: 0.9375rem;
}

.cta-band {
  padding: var(--space-16) 0;
  background: var(--primary-600) !important;
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: var(--space-3); }
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  max-width: 28rem;
  margin-inline: auto;
}

/* ——— About ——— */
.about-hero .sutter-hero-panel .btn-group { margin-top: 0; }
.about-story {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
.about-story p {
  color: var(--neutral-600);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}
.about-media {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.promise-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.promise-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.9375rem;
}
.promise-list li::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--primary-600);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat;
}
.team-grid .team-role {
  font-size: 0.875rem;
  color: var(--primary-600);
  font-weight: 600;
  margin: -0.25rem 0 var(--space-2);
}

/* Inner page hero (about/blog/contact when using sutter hero split) */
.page-hero {
  margin-top: var(--nav-h);
  padding: var(--space-12) 0;
  background: var(--bg-tint);
}
.page-hero h1 { margin: var(--space-3) 0; max-width: 24ch; }

/* ——— Blog ——— */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--neutral-300);
  box-shadow: var(--shadow-sm);
}
.blog-featured-media { min-height: 220px; background: var(--primary-300); }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.blog-featured-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.blog-featured-body h2 { font-size: 1.35rem; }
.blog-featured-body p { color: var(--neutral-500); }
.read-link { font-weight: 700; color: var(--primary-600); }
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  background: var(--primary-300);
  color: var(--primary-700);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.blog-post-grid .feature-card { color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.blog-post-grid .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.post-meta { font-size: 0.75rem; color: var(--primary-600); font-weight: 600; margin-bottom: var(--space-1); }
.blog-sidebar { display: flex; flex-direction: column; gap: var(--space-5); }
.sidebar-block {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}
.sidebar-block h3 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--primary-600);
}
.cat-list a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  color: var(--neutral-600);
}
.cat-list a:hover { color: var(--primary-600); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag-cloud a {
  padding: 0.35rem 0.7rem;
  background: var(--primary-300);
  color: var(--primary-700);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.tag-cloud a:hover { background: var(--primary-600); color: var(--white); }

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.contact-details { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-xl);
}
.contact-detail-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--primary-300);
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-detail strong { display: block; margin-bottom: var(--space-1); color: var(--neutral-700); }
.contact-detail p,
.contact-detail a { color: var(--neutral-600); font-size: 0.9375rem; }
.contact-detail a:hover { color: var(--primary-600); }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap > p { color: var(--neutral-500); margin-bottom: var(--space-6); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.form-field { margin-bottom: var(--space-4); }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--neutral-700);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-50);
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(234, 79, 130, 0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.map-strip {
  height: 300px;
  margin-top: var(--space-xl);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
    url('../img/photos/map-city.jpg') center/cover;
  box-shadow: var(--shadow-sm);
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-600);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 6px 20px rgba(234, 79, 130, 0.4);
  animation: float-soft 3s ease-in-out infinite;
}
.map-caption {
  position: absolute;
  inset-inline-start: 1.5rem;
  bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.map-caption strong { display: block; font-size: 0.9375rem; }
.map-caption span { font-size: 0.8125rem; color: var(--neutral-500); }

/* ——— Footer ——— */
.site-footer {
  background: var(--primary-700);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-16) 0 var(--space-8);
}
.site-footer .logo { color: var(--white); margin-bottom: var(--space-3); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
.footer-brand p { font-size: 0.9375rem; max-width: 22rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8125rem;
}

/* ——— Responsive ——— */
@media (min-width: 640px) {
  .serve-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-post-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 960px) {
  .hm-serve { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-12); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-post-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card.popular { transform: scale(1.03); }
  .faq-layout { grid-template-columns: 0.9fr 1.1fr; }
  .about-story { grid-template-columns: 1.1fr 0.9fr; }
  .blog-layout { grid-template-columns: 1fr 17rem; }
  .blog-featured { grid-template-columns: 1.15fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.15fr; }
}

@media (max-width: 860px) {
  .utility-location { display: none; }
  .utility-links { gap: var(--space-3); font-size: 0.75rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-8) var(--space-6);
    gap: var(--space-5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s var(--ease);
    overflow: auto;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  .nav-links a.is-active::after { display: none; }
  .pricing-card.popular { transform: none; }
}

/* ——— Wireframe home (header · slider · 5 boxes · about · blog · doctors) ——— */
.home-wire {
  --nav-h: var(--main-nav-h);
}

.home-wire .wire-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-300);
}

.home-wire .nav-links {
  inset-block-start: var(--main-nav-h);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
}

.home-slider {
  position: relative;
  margin-top: var(--nav-h);
  min-height: min(72vh, 560px);
  overflow: hidden;
  background: #111827;
}

.slider-track { position: relative; height: 100%; min-height: inherit; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  min-height: min(72vh, 560px);
  object-fit: cover;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.12) 100%);
}

html[dir="rtl"] .slide::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.12) 100%);
}

.slide-copy {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 2;
  width: min(100% - 2.5rem, 36rem);
  margin-inline-start: max(1.25rem, calc((100% - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  padding-block: var(--space-10);
}

.slide-copy h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
  max-width: 16ch;
}

.slide-copy p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-6);
  font-size: 1.0625rem;
  max-width: 32ch;
}

.slider-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 1.25rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dots button {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.slider-dots button.is-active { background: var(--white); }

.service-boxes {
  background: var(--white);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--neutral-300);
}

.service-boxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.service-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  text-align: center;
  min-height: 11.5rem;
  aspect-ratio: auto;
  padding: var(--space-5) var(--space-3);
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--neutral-700);
  font-weight: 700;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}

.service-box:hover {
  border-color: var(--primary-600);
  background: var(--bg-tint);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.service-box-icon {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary-600) 10%, white);
  color: var(--primary-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.service-box-icon img,
.service-box-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
}

.service-box strong {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--neutral-700);
  text-align: center;
  width: 100%;
}

.service-box-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neutral-500);
  line-height: 1.45;
  max-width: none;
  text-align: center;
  width: 100%;
}

@media (min-width: 900px) {
  .service-box {
    min-height: 13rem;
    padding: var(--space-6) var(--space-4);
  }
  .service-box-icon {
    width: 5.5rem;
    height: 5.5rem;
  }
  .service-box-icon img,
  .service-box-icon svg {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.home-about-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.home-about-media {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.home-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-teaser-grid .feature-card { color: inherit; }
.section-cta {
  margin-top: var(--space-8);
  text-align: center;
}

.doctor-filter {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.doctor-filter input[type="search"] {
  width: 100%;
  max-width: 28rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-50);
  outline: none;
}

.doctor-filter input[type="search"]:focus {
  border-color: var(--primary-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(234, 79, 130, 0.15);
}

.doctor-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  border: 1.5px solid var(--neutral-300);
  background: var(--white);
  color: var(--neutral-600);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip.is-active,
.chip:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: var(--white);
}

.chip:not(.is-active) {
  border-color: var(--secondary-400);
  color: var(--secondary-700);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.doctor-card.is-hidden { display: none; }

.doctor-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2);
  background: var(--primary-300);
}

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

.doctor-card .team-role {
  color: var(--primary-600);
  font-weight: 600;
  font-size: 0.875rem;
}

.doctor-card > p:not(.team-role) {
  color: var(--neutral-500);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: var(--space-3);
}

.doctor-empty {
  text-align: center;
  color: var(--neutral-500);
  padding: var(--space-8);
}

@media (min-width: 640px) {
  .service-boxes-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-teaser-grid { grid-template-columns: repeat(3, 1fr); }
  .doctor-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .service-boxes-grid { grid-template-columns: repeat(5, 1fr); }
  .home-about-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); }
  .doctor-grid { grid-template-columns: repeat(4, 1fr); }
  .doctor-filter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .home-wire .nav-links { inset-block-start: var(--main-nav-h); }
  .slide-copy h1 { font-size: 1.75rem; }
}

/* —— Booking modal (Bookly) —— */
body.mehr-booking-open { overflow: hidden; }

.mehr-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-4);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mehr-booking-modal[hidden] { display: none !important; }

.mehr-booking-modal,
.mehr-booking-modal *,
.bookly-form,
.bookly-form * {
  font-family: var(--font-fa-body) !important;
}

.mehr-booking-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 36, 0.55);
  backdrop-filter: blur(4px);
}

.mehr-booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 4vh auto;
  max-height: none;
  overflow: visible;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(24, 20, 36, 0.28);
  padding: var(--space-6) var(--space-5) var(--space-5);
  animation: mehr-book-in 0.28s ease-out;
}

@keyframes mehr-book-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.mehr-booking-modal__close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--neutral-100, #f3f2f5);
  color: var(--neutral-700, #3a3545);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.mehr-booking-modal__close:hover { background: var(--neutral-200, #e8e6ec); }

.mehr-booking-modal__title {
  margin: 0 0 var(--space-2);
  font-size: 1.35rem;
  color: var(--neutral-900, #1c1824);
  padding-inline-end: 2.5rem;
}

.mehr-booking-modal__lead {
  margin: 0 0 var(--space-5);
  color: var(--neutral-600, #5c5668);
  font-size: 0.95rem;
}

.mehr-booking-choices {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 560px) {
  .mehr-booking-choices { grid-template-columns: 1fr 1fr; }
}

.mehr-booking-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: start;
  padding: var(--space-5) var(--space-4);
  border: 1.5px solid var(--neutral-200, #e4e1ea);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(234, 79, 130, 0.06), transparent 55%),
    var(--white);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mehr-booking-choice:hover {
  border-color: var(--primary, #EA4F82);
  box-shadow: 0 8px 24px rgba(234, 79, 130, 0.12);
  transform: translateY(-2px);
}

.mehr-booking-choice__label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-900, #1c1824);
}

.mehr-booking-choice__hint {
  font-size: 0.85rem;
  color: var(--neutral-500, #7a7388);
  line-height: 1.45;
}

.mehr-booking-back {
  border: 0;
  background: transparent;
  color: var(--secondary, #5959e9);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  margin: 0 0 var(--space-3);
  cursor: pointer;
}

.mehr-booking-back:hover { text-decoration: underline; }

.mehr-booking-panel[hidden] { display: none !important; }

.mehr-booking-form {
  margin-top: var(--space-3);
  overflow: visible;
}

.mehr-booking-form .bookly-form {
  max-width: 100%;
  overflow: visible;
}

/* Datepicker: open upward so it stays visible in the modal */
.mehr-booking-modal .bookly-js-available-date,
.mehr-booking-modal .bookly-js-datepicker-container {
  position: relative;
  z-index: 40;
  overflow: visible;
}

.mehr-booking-modal .bookly-js-datepicker-calendar {
  top: auto !important;
  bottom: calc(100% + 6px) !important;
  inset-inline-start: 0;
  z-index: 50 !important;
  box-shadow: 0 12px 32px rgba(24, 20, 36, 0.18);
}

/* Jalali: keep prev/next month only (avoid Gregorian month/year pickers) */
.bookly-form .bookly-calendar-middle-button-mark {
  pointer-events: none;
  cursor: default;
}

/* Hide Bookly's Gregorian title text; show our Jalali overlay */
.bookly-calendar-middle-button-mark.mehr-jalali-title-host {
  position: relative;
  color: transparent !important;
}
.bookly-calendar-middle-button-mark.mehr-jalali-title-host > *:not(.mehr-jalali-cal-title) {
  color: transparent !important;
}
.bookly-calendar-middle-button-mark .mehr-jalali-cal-title {
  color: #1f2937 !important;
  font-size: 1.05rem !important;
  font-weight: 600;
  line-height: 1.4;
  pointer-events: none;
  display: inline-block;
}

@media (max-width: 560px) {
  .mehr-booking-modal__dialog {
    padding: var(--space-5) var(--space-4);
    border-radius: 12px;
    margin: 2vh auto;
  }
}

/* —— Booking guide page —— */
.booking-hero {
  padding: var(--space-12) 0 var(--space-8);
  background:
    linear-gradient(160deg, rgba(234, 79, 130, 0.08), transparent 55%),
    var(--bg-tint, #fdf2f6);
}

.booking-hero h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.booking-how,
.booking-types {
  padding: var(--space-10) 0;
}

.booking-how h2,
.booking-types h2 {
  margin: 0 0 var(--space-6);
}

.booking-steps {
  list-style: none;
  counter-reset: booking-step;
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.booking-steps li {
  counter-increment: booking-step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: start;
  padding: var(--space-4);
  border: 1px solid var(--neutral-300);
  border-radius: 14px;
  background: var(--white);
}

.booking-steps li::before {
  content: counter(booking-step);
  grid-row: 1 / span 2;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--primary-600, #EA4F82);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.booking-steps strong {
  color: var(--neutral-700);
}

.booking-steps span {
  color: var(--neutral-500);
  font-size: 0.95rem;
}

.booking-type-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .booking-type-grid { grid-template-columns: 1fr 1fr; }
  .booking-steps { grid-template-columns: 1fr 1fr; }
}

.booking-type-card {
  padding: var(--space-6);
  border: 1.5px solid var(--neutral-300);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(89, 89, 233, 0.06), transparent 50%),
    var(--white);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.booking-type-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--neutral-700);
}

.booking-type-card > p {
  margin: 0;
  color: var(--neutral-500);
}

.booking-type-list {
  margin: 0 0 var(--space-2);
  padding: 0 1.1rem;
  color: var(--neutral-600);
  flex: 1;
}

.booking-type-list li { margin-bottom: 0.35rem; }

.booking-type-card .btn {
  align-self: flex-start;
}

/* —— Clinic booking wizard —— */
.mehr-clinic-wizard { margin-top: 0.5rem; }
.mehr-wiz-lead { margin: 0 0 1rem; color: var(--neutral-600); }
.mehr-wiz-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.mehr-wiz-loading, .mehr-wiz-empty { color: var(--neutral-500); padding: 1rem 0; }
.mehr-wiz-back {
  background: none;
  border: none;
  color: var(--secondary-600);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.75rem;
}
.mehr-wiz-back:hover { text-decoration: underline; }

.mehr-doc-list {
  display: grid;
  gap: 0.75rem;
}
.mehr-doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: start;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--neutral-300);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mehr-doc-card:hover:not(:disabled) {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-sm);
}
.mehr-doc-card:disabled { opacity: 0.55; cursor: not-allowed; }
.mehr-doc-card__photo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--neutral-100);
  flex-shrink: 0;
}
.mehr-doc-card__body { display: flex; flex-direction: column; gap: 0.2rem; }
.mehr-doc-card__name { color: var(--neutral-700); font-size: 1.05rem; }
.mehr-doc-card__sub { color: var(--neutral-600); font-size: 0.9rem; }
.mehr-doc-card__meta { color: var(--neutral-500); font-size: 0.875rem; }

.mehr-staff-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--neutral-200, #e8e6ec);
  border-radius: 14px;
  background: color-mix(in srgb, var(--secondary-600) 6%, white);
}
.mehr-staff-chip[hidden] { display: none !important; }
.mehr-staff-chip__photo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--neutral-100);
  flex-shrink: 0;
}
.mehr-staff-chip__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.mehr-staff-chip__name {
  color: var(--neutral-700);
  font-size: 1rem;
}
.mehr-staff-chip__service {
  color: var(--neutral-500);
  font-size: 0.85rem;
}
.mehr-staff-chip__service[hidden] { display: none !important; }

.mehr-day-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  scroll-snap-type: x mandatory;
}
.mehr-day-card {
  flex: 0 0 6.5rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border: 1.5px solid var(--neutral-300);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  min-height: 6.5rem;
}
.mehr-day-card.is-selected {
  border-color: var(--secondary-600);
  background: color-mix(in srgb, var(--secondary-600) 8%, white);
  color: var(--secondary-700);
}
.mehr-day-card.is-selected .mehr-day-card__dow,
.mehr-day-card.is-selected .mehr-day-card__date { color: var(--secondary-700); }
.mehr-day-card:disabled { opacity: 0.7; cursor: default; }
.mehr-day-card__dow { font-size: 0.8rem; font-weight: 600; color: var(--neutral-600); }
.mehr-day-card__date { font-size: 0.95rem; font-weight: 700; color: var(--neutral-700); }
.mehr-day-card__count { font-size: 0.8rem; font-weight: 700; color: #16a34a; }
.mehr-day-card__count.is-muted { color: var(--neutral-400); font-weight: 500; }

.mehr-time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr));
  gap: 0.5rem;
}
.mehr-time-slot {
  padding: 0.65rem 0.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.mehr-time-slot.is-free {
  background: #fff;
  border-color: #16a34a;
  color: #15803d;
}
.mehr-time-slot.is-free:hover { background: #f0fdf4; }
.mehr-time-slot.is-booked {
  background: var(--neutral-100);
  color: var(--neutral-400);
  cursor: default;
}

.mehr-wiz-summary {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--neutral-700);
}
.mehr-wiz-fields {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
@media (min-width: 560px) {
  .mehr-wiz-fields { grid-template-columns: 1fr 1fr; }
}
.mehr-wiz-form label { display: flex; flex-direction: column; gap: 0.35rem; }
.mehr-wiz-form label span { color: var(--primary-600); font-weight: 600; font-size: 0.875rem; }
.mehr-wiz-form input,
.mehr-wiz-form textarea {
  border: 1.5px solid var(--neutral-300);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.mehr-wiz-notes { margin-bottom: 1rem; }
.mehr-wiz-submit { width: 100%; }
.mehr-wiz-done {
  font-size: 1.05rem;
  color: var(--neutral-700);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
