/* Pink Medical Doctor — Design System */

:root {
  --pmd-bg: #fff7fa;
  --pmd-bg-secondary: #fdf0f5;
  --pmd-primary: #d94f8c;
  --pmd-primary-dark: #b83d74;
  --pmd-blush: #f7b7cd;
  --pmd-dusty: #c96f93;
  --pmd-text: #3b1f2b;
  --pmd-mauve: #8e4f66;
  --pmd-ivory: #fffdf9;
  --pmd-gold: #d8b98a;
  --pmd-border: #f2d6e1;
  --pmd-white: #ffffff;

  --pmd-font: "Vazir", "Vazir Fallback", Tahoma, system-ui, sans-serif;
  --pmd-radius-sm: 10px;
  --pmd-radius-md: 16px;
  --pmd-radius-lg: 24px;
  --pmd-radius-xl: 32px;
  --pmd-shadow-sm: 0 4px 20px rgba(59, 31, 43, 0.06);
  --pmd-shadow-md: 0 12px 40px rgba(217, 79, 140, 0.12);
  --pmd-shadow-lg: 0 20px 60px rgba(59, 31, 43, 0.1);
  --pmd-container: min(1140px, 92vw);
  --pmd-container-narrow: min(760px, 92vw);
  --pmd-space-xs: 0.5rem;
  --pmd-space-sm: 0.75rem;
  --pmd-space-md: 1.25rem;
  --pmd-space-lg: 2rem;
  --pmd-space-xl: 3rem;
  --pmd-space-2xl: 4.5rem;
  --pmd-text-sm: clamp(0.875rem, 0.85rem + 0.2vw, 0.95rem);
  --pmd-text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --pmd-text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --pmd-text-xl: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --pmd-text-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --pmd-text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --pmd-header-h: 72px;
  --pmd-mobile-bar-h: 64px;
  --pmd-topbar-h: 36px;

  --pmd-section-pad: clamp(3rem, 6vw, 5rem);
  --pmd-section-pad-sm: clamp(2rem, 4vw, 3rem);
  --pmd-gap-cards: clamp(1rem, 2vw, 1.35rem);

  --pmd-motion-fast: 0.2s;
  --pmd-motion-base: 0.35s;
  --pmd-motion-slow: 0.6s;
  --pmd-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pmd-ease-soft: ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--pmd-font);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--pmd-font);
  font-size: var(--pmd-text-base);
  line-height: 1.75;
  color: var(--pmd-text);
  background: var(--pmd-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body.has-mobile-bar {
  padding-bottom: var(--pmd-mobile-bar-h);
}

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

a {
  color: var(--pmd-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pmd-primary-dark);
}

.pmd-container {
  width: var(--pmd-container);
  margin-inline: auto;
}

.pmd-container--narrow {
  width: var(--pmd-container-narrow);
}

.pmd-main {
  min-height: 50vh;
  overflow-x: clip;
  max-width: 100%;
}

/* —— Motion keyframes (shared) —— */
@keyframes pmd-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pmd-blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-12px, 10px) scale(1.05);
  }
}

@keyframes pmd-cta-glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.06);
  }
}

@keyframes pmd-path-pulse {
  0%,
  100% {
    stroke-opacity: 0.35;
  }
  50% {
    stroke-opacity: 0.65;
  }
}

/* —— Motion utilities —— */
.pmd-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--pmd-motion-slow) var(--pmd-ease-out),
    transform var(--pmd-motion-slow) var(--pmd-ease-out);
}

.pmd-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.pmd-float {
  animation: pmd-blob-drift 22s ease-in-out infinite;
}

.pmd-hover-lift {
  transition:
    transform var(--pmd-motion-fast) var(--pmd-ease-soft),
    box-shadow var(--pmd-motion-fast) var(--pmd-ease-soft);
}

.pmd-hover-lift:hover,
.pmd-hover-lift:focus-within {
  transform: translateY(-4px);
}

.pmd-glow-cta {
  position: relative;
}

.pmd-glow-cta::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(217, 79, 140, 0.35), transparent 70%);
  opacity: 0.5;
  z-index: -1;
  animation: pmd-cta-glow 3s ease-in-out infinite;
  pointer-events: none;
}

.pmd-path-pulse {
  animation: pmd-path-pulse 8s ease-in-out infinite;
}

/* —— Global focus —— */
a:focus-visible,
button:focus-visible,
.pmd-btn:focus-visible,
.pmd-chip:focus-visible,
.pmd-guides__all:focus-visible,
.pmd-guide-preview__link:focus-visible,
.pmd-nav__list a:focus-visible,
.pmd-faq__tab:focus-visible,
.pmd-faq-acc__summary:focus-visible,
.pmd-mobile-bar__item:focus-visible,
.pmd-logo__link:focus-visible,
.pmd-nav-toggle:focus-visible {
  outline: 2px solid var(--pmd-primary);
  outline-offset: 3px;
}

.drz-form input:focus-visible,
.drz-form input:focus,
.drzarganj-form input:focus-visible,
.pmd-pathway-form .drz-form__field input:focus-visible {
  outline: 2px solid var(--pmd-primary);
  outline-offset: 2px;
  border-color: var(--pmd-primary);
}

/* —— Unified section header —— */
.pmd-section-head {
  margin-bottom: var(--pmd-space-xl);
  max-width: 42rem;
}

.pmd-section-head--center {
  text-align: center;
  margin-inline: auto;
}

.pmd-section-head__eyebrow,
.pmd-label {
  display: inline-block;
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-primary);
  background: var(--pmd-bg-secondary);
  border: 1px solid var(--pmd-border);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin: 0 0 0.65rem;
}

.pmd-section-head__title,
.pmd-section-title {
  font-size: var(--pmd-text-2xl);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.65rem;
  color: var(--pmd-text);
}

.pmd-section-head__intro,
.pmd-section-desc {
  color: var(--pmd-mauve);
  margin: 0;
  font-size: var(--pmd-text-base);
  line-height: 1.8;
  max-width: 38rem;
}

.pmd-section-head--center .pmd-section-head__intro {
  margin-inline: auto;
}

/* —— Trust strip (inner pages) —— */
.pmd-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmd-space-sm) var(--pmd-space-md);
  list-style: none;
  margin: var(--pmd-space-md) 0 0;
  padding: 0;
}

.pmd-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.pmd-trust-strip__item strong {
  color: var(--pmd-text);
  font-weight: 700;
}

.pmd-trust-strip__item svg {
  flex-shrink: 0;
  color: var(--pmd-primary);
}

/* —— Premium utility shell (contact, FAQ) —— */
.pmd-shell {
  position: relative;
  padding-block: var(--pmd-section-pad);
  overflow: hidden;
}

.pmd-shell--ivory {
  background: linear-gradient(180deg, var(--pmd-ivory) 0%, var(--pmd-bg) 100%);
}

.pmd-shell--blush {
  background: linear-gradient(180deg, var(--pmd-bg) 0%, var(--pmd-bg-secondary) 100%);
}

.pmd-shell__panel {
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-xl);
  box-shadow: var(--pmd-shadow-sm);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.pmd-shell__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  pointer-events: none;
  opacity: 0.55;
}

.pmd-shell__blob--1 {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  top: -10%;
  inset-inline-end: -8%;
  background: radial-gradient(circle, rgba(247, 183, 205, 0.5), transparent 70%);
}

.pmd-shell__blob--2 {
  width: min(240px, 45vw);
  height: min(240px, 45vw);
  bottom: -5%;
  inset-inline-start: -6%;
  background: radial-gradient(circle, rgba(216, 185, 138, 0.25), transparent 72%);
}

/* Header */
.pmd-topbar {
  background: linear-gradient(90deg, var(--pmd-bg-secondary), var(--pmd-blush));
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  border-bottom: 1px solid var(--pmd-border);
}

.pmd-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmd-space-sm) var(--pmd-space-lg);
  justify-content: center;
  padding: 0.4rem 0;
}

.pmd-topbar a {
  color: var(--pmd-text);
  font-weight: 600;
}

.pmd-topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  direction: ltr;
  unicode-bidi: isolate;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pmd-topbar__phone:hover {
  color: var(--pmd-primary);
}

.pmd-topbar__phone .pmd-icon-phone {
  flex-shrink: 0;
  color: var(--pmd-primary);
}

.pmd-topbar__phone-num {
  display: inline;
}

.pmd-topbar__hours {
  font-weight: 600;
}

.pmd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.pmd-header.is-scrolled {
  border-color: var(--pmd-border);
  box-shadow: var(--pmd-shadow-sm);
}

.pmd-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2.5vw, 2rem);
  min-height: var(--pmd-header-h);
  direction: rtl;
}

.pmd-logo {
  flex: 0 0 auto;
  max-width: 200px;
  line-height: 0;
  display: flex;
  align-items: center;
}

.pmd-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.pmd-logo img,
.pmd-logo .custom-logo,
.pmd-logo .pmd-logo__img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 180px;
  height: auto !important;
  object-fit: contain;
}

.pmd-logo__link {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  color: var(--pmd-text);
}

.pmd-logo__link:hover {
  color: var(--pmd-text);
}

.pmd-logo .custom-logo-link.pmd-logo__link {
  display: inline-flex;
  flex-direction: row;
}

.pmd-logo__text {
  font-weight: 800;
  font-size: var(--pmd-text-lg);
}

.pmd-logo__sub {
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
}

.pmd-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-inline-start: auto;
  background: var(--pmd-bg-secondary);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-sm);
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pmd-nav-toggle:hover {
  background: var(--pmd-ivory);
  border-color: var(--pmd-blush);
}

.pmd-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pmd-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pmd-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pmd-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.pmd-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pmd-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1rem, 2vw, 1.75rem);
  min-width: 0;
  direction: rtl;
}

.pmd-nav__list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.pmd-nav__list > li {
  margin: 0;
}

.pmd-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--pmd-mauve);
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pmd-nav__list > li > a:hover {
  color: var(--pmd-primary);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--pmd-border);
  box-shadow: var(--pmd-shadow-sm);
}

.pmd-nav__list > .current-menu-item > a,
.pmd-nav__list > .current-menu-ancestor > a,
.pmd-nav__list > .current_page_item > a,
.pmd-nav__list > .current_page_parent > a {
  font-weight: 800;
  color: var(--pmd-primary);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(253, 240, 245, 0.95));
  border-color: rgba(242, 214, 225, 0.95);
  box-shadow: 0 4px 16px rgba(217, 79, 140, 0.14);
}

.pmd-nav__list > li.menu-item-has-children {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.pmd-header,
.pmd-header__inner,
.pmd-nav,
.pmd-nav__list {
  overflow: visible;
}

.pmd-nav__parent-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.15rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--pmd-mauve);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pmd-nav__parent-toggle:hover,
.pmd-nav__list > .current-menu-ancestor > .pmd-nav__parent-toggle {
  color: var(--pmd-primary);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--pmd-border);
  box-shadow: var(--pmd-shadow-sm);
}

.pmd-nav__list > .current-menu-ancestor > .pmd-nav__parent-toggle {
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.98), rgba(253, 240, 245, 0.95));
  border-color: rgba(242, 214, 225, 0.95);
  box-shadow: 0 4px 16px rgba(217, 79, 140, 0.14);
}

.pmd-nav__parent-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  transition: transform 0.2s ease;
}

.pmd-nav__list > li.menu-item-has-children.is-open > .pmd-nav__parent-toggle .pmd-nav__parent-caret {
  transform: rotate(-135deg);
  margin-top: 0.1rem;
}

.pmd-nav__list > li.menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 120;
  min-width: max(240px, 100%);
  max-width: min(320px, 92vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.45rem;
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-md);
  box-shadow: var(--pmd-shadow-md);
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.22s;
}

.pmd-nav__list > li.menu-item-has-children > .sub-menu::before {
  content: '';
  position: absolute;
  top: -0.65rem;
  inset-inline: 0;
  height: 0.65rem;
}

.pmd-nav__list > li.menu-item-has-children:hover > .sub-menu,
.pmd-nav__list > li.menu-item-has-children.is-open > .sub-menu,
.pmd-nav__list > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.pmd-nav__list .sub-menu > li {
  margin: 0;
}

.pmd-nav__list .sub-menu > li > a {
  display: block;
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--pmd-mauve);
  border-radius: var(--pmd-radius-sm);
  border: 1px solid transparent;
  white-space: normal;
  text-align: right;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.pmd-nav__list .sub-menu > li > a:hover,
.pmd-nav__list .sub-menu > .current-menu-item > a {
  color: var(--pmd-primary);
  background: var(--pmd-bg-secondary);
  border-color: var(--pmd-border);
  box-shadow: none;
}

.pmd-header__search {
  flex-shrink: 0;
}

.pmd-header-search {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: clamp(140px, 16vw, 200px);
  padding: 0.2rem 0.2rem 0.2rem 0.45rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--pmd-border);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pmd-header-search:focus-within {
  border-color: var(--pmd-blush);
  box-shadow: 0 0 0 3px rgba(217, 79, 140, 0.1);
}

.pmd-header-search__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pmd-text);
}

.pmd-header-search__input::placeholder {
  color: var(--pmd-dusty);
  opacity: 0.85;
}

.pmd-header-search__input:focus {
  outline: none;
}

.pmd-header-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pmd-primary), var(--pmd-dusty));
  color: var(--pmd-white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pmd-header-search__submit:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(217, 79, 140, 0.35);
}

.pmd-header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.65rem;
  padding-inline-start: 0.85rem;
  margin-inline-start: 0.35rem;
  border-inline-start: 1px solid rgba(242, 214, 225, 0.85);
}

.pmd-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  color: var(--pmd-mauve);
  font-weight: 600;
  font-size: var(--pmd-text-sm);
  border-radius: 999px;
  border: 1px solid var(--pmd-border);
  background: rgba(255, 255, 255, 0.7);
  direction: ltr;
  unicode-bidi: isolate;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pmd-header__phone:hover {
  color: var(--pmd-primary);
  border-color: var(--pmd-blush);
  background: var(--pmd-ivory);
}

.pmd-header__phone svg {
  flex-shrink: 0;
  color: var(--pmd-primary);
}

.pmd-header__actions .pmd-btn--primary {
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(217, 79, 140, 0.28);
}

.pmd-nav-overlay {
  display: none;
}

@media (min-width: 901px) {
  .pmd-nav__list {
    gap: 0.45rem 0.85rem;
  }
}

/* Buttons */
.pmd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: var(--pmd-text-base);
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pmd-btn--primary {
  background: linear-gradient(135deg, var(--pmd-primary), var(--pmd-dusty));
  color: var(--pmd-white);
  box-shadow: 0 8px 24px rgba(217, 79, 140, 0.35);
}

.pmd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 79, 140, 0.45);
  color: var(--pmd-white);
}

.pmd-btn--outline {
  background: transparent;
  border-color: var(--pmd-primary);
  color: var(--pmd-primary);
}

.pmd-btn--outline:hover {
  background: var(--pmd-bg-secondary);
}

.pmd-btn--soft {
  background: var(--pmd-blush);
  color: var(--pmd-text);
}

.pmd-btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: var(--pmd-text-lg);
}

.pmd-badge {
  display: inline-block;
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-primary);
  background: var(--pmd-bg-secondary);
  border: 1px solid var(--pmd-border);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
}

.pmd-link {
  font-weight: 700;
  color: var(--pmd-primary);
}

/* Sections */
.pmd-section {
  padding-block: var(--pmd-section-pad);
}

.pmd-section--about {
  background: linear-gradient(180deg, var(--pmd-bg-secondary) 0%, var(--pmd-ivory) 100%);
}

.pmd-section--appointment {
  background: var(--pmd-bg-secondary);
}

.pmd-section--articles {
  background: var(--pmd-ivory);
}

.pmd-section--faq {
  background: var(--pmd-bg);
}

.pmd-section--contact {
  background: var(--pmd-bg-secondary);
}

.pmd-section--muted {
  background: var(--pmd-bg-secondary);
}

.pmd-section__header,
.pmd-section__header.pmd-section-head {
  margin-bottom: var(--pmd-space-xl);
  max-width: 42rem;
}

.pmd-section__header--center,
.pmd-section-head--center {
  text-align: center;
  margin-inline: auto;
}

.pmd-section-cta {
  text-align: center;
  margin-top: var(--pmd-space-xl);
}

/* Homepage: hero.css, trust.css, services.css — archive grid below */

/* Services */
.pmd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--pmd-space-md);
}

.pmd-service-card {
  display: flex;
  flex-direction: column;
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-lg);
  padding: var(--pmd-space-lg);
  color: var(--pmd-text);
  box-shadow: var(--pmd-shadow-sm);
  transition:
    transform var(--pmd-motion-fast) var(--pmd-ease-soft),
    border-color var(--pmd-motion-fast) var(--pmd-ease-soft),
    box-shadow var(--pmd-motion-fast) var(--pmd-ease-soft);
  border-inline-start: 4px solid var(--pmd-dusty);
}

.pmd-archive-grid {
  margin-top: var(--pmd-space-lg);
}

.pmd-service-card:hover {
  transform: translateY(-6px);
  border-inline-start-color: var(--pmd-primary);
  box-shadow: var(--pmd-shadow-md);
  color: var(--pmd-text);
}

.pmd-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pmd-primary);
  margin-bottom: 0;
}

.pmd-service-card__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: var(--pmd-space-sm);
}

.pmd-service-card__title {
  font-size: var(--pmd-text-lg);
  margin: 0 0 0.5rem;
}

.pmd-service-card__excerpt {
  flex: 1;
  color: var(--pmd-mauve);
  font-size: var(--pmd-text-sm);
  margin: 0 0 var(--pmd-space-sm);
}

.pmd-service-card__more {
  font-weight: 700;
  font-size: var(--pmd-text-sm);
  color: var(--pmd-primary);
}

/* About */
.pmd-about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--pmd-space-xl);
  align-items: center;
}

.pmd-about__frame {
  border-radius: var(--pmd-radius-xl);
  overflow: hidden;
  box-shadow: var(--pmd-shadow-lg);
  border: 3px solid var(--pmd-white);
}

.pmd-about__facts {
  list-style: none;
  padding: 0;
  margin: var(--pmd-space-md) 0;
}

.pmd-about__facts li {
  padding: 0.35rem 0;
  color: var(--pmd-mauve);
}

.pmd-about__quote {
  margin: var(--pmd-space-lg) 0;
  padding: var(--pmd-space-md) var(--pmd-space-lg);
  border-inline-start: 4px solid var(--pmd-primary);
  background: var(--pmd-white);
  border-radius: 0 var(--pmd-radius-md) var(--pmd-radius-md) 0;
  font-style: italic;
  color: var(--pmd-mauve);
}

.pmd-about__more {
  display: inline-block;
  margin-inline-start: var(--pmd-space-md);
}

/* Appointment */
.pmd-appointment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pmd-space-xl);
  align-items: start;
  background: var(--pmd-white);
  border-radius: var(--pmd-radius-xl);
  padding: var(--pmd-space-xl);
  box-shadow: var(--pmd-shadow-md);
  border: 1px solid var(--pmd-border);
}

.pmd-appointment__list {
  list-style: none;
  padding: 0;
  margin: var(--pmd-space-md) 0 0;
}

.pmd-appointment__list li {
  padding: 0.35rem 0;
  color: var(--pmd-mauve);
}

.pmd-cta-form {
  background: var(--pmd-bg-secondary);
  border-radius: var(--pmd-radius-lg);
  padding: var(--pmd-space-lg);
}

.pmd-cta-form__title {
  margin: 0 0 0.25rem;
}

.pmd-cta-form__desc {
  color: var(--pmd-mauve);
  font-size: var(--pmd-text-sm);
  margin-bottom: var(--pmd-space-md);
}

/* Articles hub */
.pmd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--pmd-space-lg);
}

.pmd-chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  color: var(--pmd-mauve);
  font-size: var(--pmd-text-sm);
  font-weight: 600;
}

.pmd-chip:hover {
  background: var(--pmd-primary);
  color: var(--pmd-white);
  border-color: var(--pmd-primary);
}

.pmd-articles-hub {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--pmd-space-md);
}

.pmd-articles-hub__side {
  display: flex;
  flex-direction: column;
  gap: var(--pmd-space-md);
}

.pmd-article-card {
  background: var(--pmd-white);
  border-radius: var(--pmd-radius-lg);
  overflow: hidden;
  border: 1px solid var(--pmd-border);
  box-shadow: var(--pmd-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pmd-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pmd-shadow-md);
}

.pmd-article-card__link {
  color: inherit;
  display: block;
}

.pmd-article-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.pmd-article-card--featured .pmd-article-card__img {
  aspect-ratio: 16/11;
}

.pmd-article-card__body {
  padding: var(--pmd-space-md);
}

.pmd-article-card__title {
  margin: 0 0 0.35rem;
  font-size: var(--pmd-text-lg);
}

.pmd-article-card--featured .pmd-article-card__title {
  font-size: var(--pmd-text-xl);
}

.pmd-article-card__date {
  font-size: var(--pmd-text-sm);
  color: var(--pmd-dusty);
}

.pmd-article-card__excerpt {
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  margin: 0.5rem 0 0;
}

/* FAQ — split panel (homepage) */
.pmd-section--faq {
  background: linear-gradient(180deg, var(--pmd-bg) 0%, var(--pmd-bg-secondary) 100%);
}

.pmd-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--pmd-space-lg);
  align-items: stretch;
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-xl);
  padding: var(--pmd-space-lg);
  box-shadow: var(--pmd-shadow-md);
}

.pmd-faq__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pmd-faq__tab {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: start;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--pmd-radius-md);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pmd-faq__tab:hover {
  background: var(--pmd-bg-secondary);
  border-color: var(--pmd-border);
}

.pmd-faq__tab.is-active {
  background: linear-gradient(135deg, var(--pmd-bg-secondary), var(--pmd-ivory));
  border-color: var(--pmd-blush);
  box-shadow: inset 3px 0 0 var(--pmd-primary);
}

.pmd-faq__tab-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pmd-primary);
  background: var(--pmd-bg-secondary);
  border-radius: 50%;
}

.pmd-faq__tab.is-active .pmd-faq__tab-num {
  background: var(--pmd-primary);
  color: var(--pmd-white);
}

.pmd-faq__tab-text {
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-text);
  line-height: 1.5;
}

.pmd-faq__panel-wrap {
  position: relative;
  min-height: 220px;
  background: linear-gradient(145deg, var(--pmd-bg-secondary) 0%, var(--pmd-ivory) 100%);
  border-radius: var(--pmd-radius-lg);
  border: 1px solid var(--pmd-border);
  overflow: hidden;
}

.pmd-faq__panel-wrap::before {
  content: "";
  position: absolute;
  top: -40px;
  inset-inline-end: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--pmd-blush);
  opacity: 0.35;
  pointer-events: none;
}

.pmd-faq__panel {
  position: absolute;
  inset: 0;
  padding: var(--pmd-space-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.pmd-faq__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.pmd-faq__panel-q {
  font-size: var(--pmd-text-lg);
  font-weight: 800;
  color: var(--pmd-text);
  margin: 0 0 var(--pmd-space-md);
  padding-bottom: var(--pmd-space-sm);
  border-bottom: 1px dashed var(--pmd-border);
}

.pmd-faq__panel-a {
  color: var(--pmd-mauve);
  line-height: 1.85;
  font-size: var(--pmd-text-base);
}

.pmd-faq__panel-a p {
  margin: 0 0 0.75rem;
}

/* FAQ — accordion (service pages) */
.pmd-faq-acc__item {
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-md);
  margin-bottom: var(--pmd-space-sm);
  overflow: hidden;
}

.pmd-faq-acc__item[open] {
  border-color: var(--pmd-blush);
  box-shadow: var(--pmd-shadow-sm);
}

.pmd-faq-acc__summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: var(--pmd-space-md) var(--pmd-space-lg);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.pmd-faq-acc__summary::-webkit-details-marker {
  display: none;
}

.pmd-faq-acc__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--pmd-white);
  background: var(--pmd-primary-dark);
  border-radius: 50%;
}

.pmd-faq-acc__item[open] .pmd-faq-acc__num {
  background: var(--pmd-text);
  color: var(--pmd-white);
}

.pmd-faq-acc__q {
  flex: 1;
}

.pmd-faq-acc__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--pmd-bg-secondary);
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.pmd-faq-acc__icon::before,
.pmd-faq-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--pmd-primary);
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.pmd-faq-acc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pmd-faq-acc__item[open] .pmd-faq-acc__icon {
  background: var(--pmd-primary);
}

.pmd-faq-acc__item[open] .pmd-faq-acc__icon::before,
.pmd-faq-acc__item[open] .pmd-faq-acc__icon::after {
  background: var(--pmd-white);
}

.pmd-faq-acc__item[open] .pmd-faq-acc__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.pmd-faq-acc__body {
  padding: 0 var(--pmd-space-lg) var(--pmd-space-md);
  padding-inline-start: calc(var(--pmd-space-lg) + 2.5rem);
  color: var(--pmd-mauve);
}

/* Contact */
.pmd-contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--pmd-space-xl);
  align-items: stretch;
}

.pmd-contact__list {
  list-style: none;
  padding: 0;
  margin: var(--pmd-space-md) 0;
}

.pmd-contact__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  color: var(--pmd-mauve);
}

.pmd-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmd-space-sm);
}

.pmd-contact__map {
  min-height: 320px;
  border-radius: var(--pmd-radius-xl);
  overflow: hidden;
  border: 1px solid var(--pmd-border);
  box-shadow: var(--pmd-shadow-md);
}

.pmd-contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* Footer */
.pmd-footer {
  position: relative;
  color: rgba(255, 253, 249, 0.88);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 55% at 100% 0%, rgba(217, 79, 140, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(216, 185, 138, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #3b1f2b 0%, #2f1822 48%, #26141c 100%);
}

.pmd-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pmd-primary), var(--pmd-gold), var(--pmd-primary), transparent);
  opacity: 0.85;
}

.pmd-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* Unified footer cards */
.pmd-footer__col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: var(--pmd-radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.18);
}

.pmd-footer__title {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  font-size: var(--pmd-text-lg);
  font-weight: 800;
  color: var(--pmd-ivory);
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pmd-footer__desc {
  margin: 0 0 auto;
  flex: 1;
  font-size: var(--pmd-text-sm);
  line-height: 1.75;
  color: rgba(255, 253, 249, 0.72);
}

.pmd-footer__col--about .pmd-social-block {
  margin-top: auto;
  padding-top: var(--pmd-space-md);
}

.pmd-footer__col--about .pmd-social-block__label {
  color: rgba(255, 253, 249, 0.72);
}

.pmd-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.pmd-footer__links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pmd-footer__links li:last-child {
  border-bottom: none;
}

.pmd-footer__links a {
  display: block;
  padding: 0.5rem 0;
  font-size: var(--pmd-text-sm);
  color: rgba(247, 183, 205, 0.95);
  text-decoration: none;
  transition: color var(--pmd-motion-fast) ease, padding-inline-start var(--pmd-motion-fast) ease;
}

.pmd-footer__links a:hover,
.pmd-footer__links a:focus-visible {
  color: var(--pmd-ivory);
  padding-inline-start: 0.25rem;
}

.pmd-footer__contact-rows {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.pmd-footer__contact-row {
  display: grid;
  grid-template-columns: 1.25rem auto 1fr;
  gap: 0.2rem 0.65rem;
  align-items: start;
  padding: 0.55rem 0;
  font-size: var(--pmd-text-sm);
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pmd-footer__contact-row a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  justify-self: start;
  text-align: left;
}

.pmd-footer__contact-row:last-child {
  border-bottom: none;
}

.pmd-footer__contact-row svg {
  grid-row: 1 / span 2;
  color: var(--pmd-primary);
  margin-top: 0.2rem;
}

.pmd-footer__contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pmd-blush);
}

.pmd-footer__contact-row a {
  color: var(--pmd-ivory);
  font-weight: 600;
  text-decoration: none;
}

.pmd-footer__contact-row a:hover,
.pmd-footer__contact-row a:focus-visible {
  color: var(--pmd-white);
  text-decoration: underline;
}

.pmd-footer__contact-row--address span:last-child {
  color: rgba(255, 253, 249, 0.82);
}

.pmd-footer__col--contact .pmd-footer__actions {
  margin-top: auto;
  padding-top: 0.25rem;
}

.pmd-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pmd-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background var(--pmd-motion-fast) ease,
    color var(--pmd-motion-fast) ease,
    border-color var(--pmd-motion-fast) ease,
    transform var(--pmd-motion-fast) ease,
    box-shadow var(--pmd-motion-fast) ease;
}

.pmd-footer__btn span {
  color: inherit;
}

.pmd-footer__btn svg {
  flex-shrink: 0;
  color: currentColor;
}

.pmd-footer__btn--primary {
  color: var(--pmd-text);
  background: linear-gradient(135deg, var(--pmd-ivory) 0%, var(--pmd-blush) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pmd-footer__btn--primary:hover,
.pmd-footer__btn--primary:focus-visible {
  color: var(--pmd-text);
  background: var(--pmd-white);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.pmd-footer__btn--outline {
  color: var(--pmd-ivory);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(247, 183, 205, 0.45);
}

.pmd-footer__btn--outline:hover,
.pmd-footer__btn--outline:focus-visible {
  color: var(--pmd-text);
  background: var(--pmd-blush);
  border-color: var(--pmd-blush);
}

.pmd-footer__map-wrap {
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.pmd-footer__map {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  min-height: 220px;
  border-radius: var(--pmd-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.2);
}

.pmd-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.pmd-footer__bottom {
  padding: 0 0 var(--pmd-space-lg);
  font-size: var(--pmd-text-sm);
  color: rgba(255, 253, 249, 0.65);
}

.pmd-footer__bottom-panel {
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.15rem, 2.5vw, 1.5rem);
  border-radius: var(--pmd-radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pmd-footer__copy {
  margin: 0;
  color: rgba(255, 253, 249, 0.75);
}

/* Mobile bar */
.pmd-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  background: var(--pmd-ivory);
  border-top: 1px solid var(--pmd-border);
  box-shadow: 0 -8px 30px rgba(59, 31, 43, 0.08);
  height: var(--pmd-mobile-bar-h);
}

.pmd-mobile-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: clamp(0.6rem, 2.4vw, 0.7rem);
  font-weight: 700;
  color: var(--pmd-text);
  padding: 0.35rem 0.2rem;
  text-align: center;
  line-height: 1.2;
}

.pmd-mobile-bar__item--active {
  color: var(--pmd-text);
}

.pmd-mobile-bar__item--primary {
  color: var(--pmd-text);
  background: var(--pmd-blush);
}

/* Inner pages */
.pmd-page-title {
  font-size: var(--pmd-text-2xl);
  font-weight: 800;
  margin: var(--pmd-space-md) 0;
}

.pmd-lead {
  color: var(--pmd-mauve);
  margin-bottom: var(--pmd-space-lg);
}

.pmd-content {
  color: var(--pmd-text);
}

.pmd-content h2,
.pmd-content h3 {
  color: var(--pmd-text);
  margin-top: var(--pmd-space-lg);
}

.pmd-content p,
.pmd-content ul {
  color: var(--pmd-mauve);
}

.pmd-grid {
  display: grid;
  gap: var(--pmd-space-md);
}

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

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

.pmd-single-post__layout,
.pmd-service-single__layout,
.pmd-doctor-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(320px, 100%);
  gap: var(--pmd-space-xl);
  padding: var(--pmd-space-xl) 0;
}

.pmd-page-hero {
  background: linear-gradient(135deg, var(--pmd-bg-secondary), var(--pmd-blush));
  padding: var(--pmd-space-xl) 0;
}

.pmd-doctor-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--pmd-space-xl);
  align-items: center;
}

.pmd-doctor-hero__photo img {
  border-radius: var(--pmd-radius-xl);
  box-shadow: var(--pmd-shadow-lg);
}

.pmd-toc {
  background: var(--pmd-bg-secondary);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-md);
  padding: var(--pmd-space-md);
  margin-bottom: var(--pmd-space-lg);
}

.pmd-toc__title {
  display: block;
  margin-bottom: 0.5rem;
}

.pmd-toc ol {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.pmd-toc__sub {
  list-style: circle;
}

.pmd-404 {
  text-align: center;
  padding: var(--pmd-space-2xl) 0;
}

/* Archive / grid article cards */
.pmd-journal-card {
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-lg);
  overflow: hidden;
  box-shadow: var(--pmd-shadow-sm);
  transition:
    transform var(--pmd-motion-fast) var(--pmd-ease-soft),
    box-shadow var(--pmd-motion-fast) var(--pmd-ease-soft);
}

.pmd-journal-card:hover,
.pmd-journal-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--pmd-shadow-md);
}

.pmd-journal-card__link {
  display: block;
  color: inherit;
}

.pmd-journal-card__link:hover {
  color: inherit;
}

.pmd-journal-card__media,
.pmd-journal-card__thumb {
  position: relative;
  overflow: hidden;
}

.pmd-journal-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.pmd-journal-card__placeholder {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--pmd-bg-secondary), var(--pmd-blush));
}

.pmd-journal-card__body,
.pmd-journal-card__copy,
.pmd-journal-card__panel,
.pmd-journal-card__insight-body {
  padding: var(--pmd-space-md);
}

.pmd-journal-card__topic,
.pmd-journal-card__cat {
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-primary);
}

.pmd-journal-card__title {
  font-size: var(--pmd-text-lg);
  font-weight: 800;
  margin: 0.35rem 0;
  color: var(--pmd-text);
  line-height: 1.4;
}

.pmd-journal-card--lead .pmd-journal-card__title {
  font-size: var(--pmd-text-xl);
}

.pmd-journal-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: var(--pmd-text-sm);
  color: var(--pmd-dusty);
  margin-bottom: 0.35rem;
}

.pmd-journal-card__excerpt {
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  margin: 0.35rem 0 0;
  line-height: 1.7;
}

.pmd-journal-card__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-primary);
}

.pmd-archive-head {
  padding-block: var(--pmd-section-pad-sm) var(--pmd-space-lg);
}

.pmd-archive-head .pmd-page-title {
  margin-bottom: var(--pmd-space-sm);
}

/* About doctor (homepage) */
.pmd-about-section {
  position: relative;
  padding-block: var(--pmd-section-pad);
  overflow: hidden;
  background: linear-gradient(180deg, var(--pmd-ivory) 0%, var(--pmd-bg) 55%, var(--pmd-bg-secondary) 100%);
}

.pmd-about-section__inner {
  position: relative;
  z-index: 1;
}

.pmd-about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--pmd-gap-cards);
  align-items: start;
}

.pmd-about__media {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

.pmd-about__frame {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: var(--pmd-radius-xl);
  overflow: hidden;
  box-shadow: var(--pmd-shadow-lg);
  border: 3px solid var(--pmd-white);
  background: var(--pmd-bg-secondary);
}

.pmd-about__frame.pmd-img-wrap {
  min-height: 0;
}

.pmd-about__photo,
.pmd-about__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pmd-about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: var(--pmd-space-md) 0;
}

.pmd-about__facts li {
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  background: var(--pmd-white);
  border: 1px solid var(--pmd-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.pmd-about__facts strong {
  color: var(--pmd-text);
}

.pmd-about__bio {
  color: var(--pmd-mauve);
  margin: 0 0 var(--pmd-space-sm);
  max-width: 36rem;
}

.pmd-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmd-space-sm);
  align-items: center;
  margin-top: var(--pmd-space-md);
}

.pmd-about__quote {
  margin: var(--pmd-space-md) 0 0;
  padding: var(--pmd-space-sm) var(--pmd-space-md);
  border-inline-start: 3px solid var(--pmd-gold);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 var(--pmd-radius-md) var(--pmd-radius-md) 0;
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  font-style: italic;
}

.pmd-about__quote p {
  margin: 0;
}

/* Contact premium utility */
.pmd-contact-section .pmd-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--pmd-gap-cards);
  align-items: stretch;
}

.pmd-contact-section .pmd-contact__info {
  position: relative;
  z-index: 1;
}

.pmd-contact-section .pmd-contact__list {
  list-style: none;
  padding: 0;
  margin: var(--pmd-space-md) 0;
}

.pmd-contact-section .pmd-contact__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  color: var(--pmd-mauve);
  border-bottom: 1px dashed var(--pmd-border);
}

.pmd-contact-section .pmd-contact__list li:last-child {
  border-bottom: none;
}

.pmd-contact-section .pmd-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pmd-space-sm);
}

.pmd-contact-section .pmd-contact__map {
  min-height: 300px;
  border-radius: var(--pmd-radius-xl);
  overflow: hidden;
  border: 1px solid var(--pmd-border);
  box-shadow: var(--pmd-shadow-md);
}

.pmd-shell__panel .pmd-faq {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.pmd-dev-notice {
  margin: 0 0 var(--pmd-space-md);
  padding: 0.65rem 1rem;
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
  background: var(--pmd-bg-secondary);
  border: 1px dashed var(--pmd-dusty);
  border-radius: var(--pmd-radius-md);
  text-align: center;
}

/* Creative section headers → unified section-head scale */
.pmd-trust-journey__eyebrow,
.pmd-services-section__eyebrow,
.pmd-voice-flow__eyebrow,
.pmd-guides__eyebrow,
.pmd-section-head__eyebrow {
  display: inline-block;
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-primary);
  background: var(--pmd-bg-secondary);
  border: 1px solid var(--pmd-border);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}

.pmd-trust-journey__title,
.pmd-services-section__title,
.pmd-voice-flow__title,
.pmd-section-head__title,
.pmd-section-title {
  font-size: var(--pmd-text-2xl);
  font-weight: 800;
  line-height: 1.3;
  color: var(--pmd-text);
}

.pmd-trust-journey__intro,
.pmd-services-section__intro,
.pmd-voice-flow__intro,
.pmd-section-head__intro,
.pmd-section-desc {
  color: var(--pmd-mauve);
  font-size: var(--pmd-text-base);
  line-height: 1.8;
}

/* Consultation form (homepage mini + sidebar) */
.pmd-pathway-form__hint {
  margin: 0 0 var(--pmd-space-sm);
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
}

.pmd-pathway-form .drz-form__title,
.pmd-pathway-form .drz-form__desc {
  display: none;
}

.drz-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pmd-pathway-form .drz-form__field {
  margin: 0;
}

.pmd-pathway-form .drz-form__field label {
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-text);
  margin-bottom: 0.35rem;
}

.pmd-pathway-form .drz-form__field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-md);
  font-family: inherit;
  font-size: var(--pmd-text-base);
  background: var(--pmd-white);
  transition: border-color var(--pmd-motion-fast) var(--pmd-ease-soft), box-shadow var(--pmd-motion-fast) var(--pmd-ease-soft);
}

.pmd-pathway-form .drz-form__field input::placeholder {
  color: var(--pmd-dusty);
  opacity: 0.8;
}

.pmd-pathway-form .drz-form__field input:focus {
  border-color: var(--pmd-primary);
  box-shadow: 0 0 0 3px rgba(217, 79, 140, 0.12);
}

.pmd-pathway-form .drz-form__inner {
  display: flex;
  flex-direction: column;
  gap: var(--pmd-space-sm);
}

.pmd-pathway-form .drz-btn--primary {
  width: 100%;
  padding: 0.85rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pmd-primary), var(--pmd-dusty));
  color: var(--pmd-white);
  font-family: inherit;
  font-size: var(--pmd-text-base);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--pmd-motion-fast) var(--pmd-ease-soft);
}

.pmd-pathway-form .drz-btn--primary:hover,
.pmd-pathway-form .drz-btn--primary:focus-visible {
  transform: translateY(-1px);
}

.pmd-pathway-form .drz-btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.pmd-pathway-form .drz-form__message {
  font-size: var(--pmd-text-sm);
  padding: 0.45rem 0.65rem;
  border-radius: var(--pmd-radius-sm);
}

.pmd-pathway-form .drz-form__message.is-success {
  color: var(--pmd-text);
  background: var(--pmd-bg-secondary);
}

.pmd-pathway-form .drz-form__message.is-error {
  color: #8b2942;
  background: #fff0f4;
}

/* Drzarganj form plugin styles hook */
.drz-form,
.drzarganj-form {
  display: flex;
  flex-direction: column;
  gap: var(--pmd-space-sm);
}

.drz-form input[type="tel"],
.drz-form input[type="text"],
.drzarganj-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--pmd-border);
  border-radius: var(--pmd-radius-md);
  font-family: inherit;
  font-size: var(--pmd-text-base);
  background: var(--pmd-white);
}

.drz-form button,
.drzarganj-form button[type="submit"] {
  background: linear-gradient(135deg, var(--pmd-primary), var(--pmd-dusty));
  color: var(--pmd-white);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

/* Breadcrumb base (single post overrides in single-post.css) */
.drz-breadcrumb {
  font-size: var(--pmd-text-sm);
  color: var(--pmd-mauve);
}

.drz-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  direction: rtl;
}

.drz-breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-inline: 0.45rem;
  opacity: 0.45;
}

.drz-breadcrumb a {
  color: var(--pmd-dusty);
  font-weight: 600;
}

.drz-breadcrumb a:hover {
  color: var(--pmd-primary);
}

.drz-breadcrumb__home {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: auto;
  height: auto;
  padding: 0.2rem 0.45rem 0.2rem 0.3rem;
  color: var(--pmd-dusty);
  border-radius: var(--pmd-radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.drz-breadcrumb__home:hover,
.drz-breadcrumb__home:focus-visible {
  color: var(--pmd-primary);
  background: rgba(247, 183, 205, 0.18);
  outline: none;
}

.drz-breadcrumb__home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.drz-breadcrumb__home-label {
  font-size: var(--pmd-text-sm);
  font-weight: 600;
  line-height: 1.2;
}

.drz-breadcrumb__home-svg {
  display: block;
}

/* —— Pagination —— */
.pmd-pagination {
  margin-top: var(--pmd-space-lg);
  padding-top: var(--pmd-space-md);
  border-top: 1px solid var(--pmd-border);
}

.pmd-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pmd-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  direction: rtl;
}

.pmd-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  font-family: inherit;
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  line-height: 1;
  color: var(--pmd-text);
  background: var(--pmd-ivory);
  border: 1px solid var(--pmd-border);
  border-radius: 999px;
  text-decoration: none;
  transition:
    color var(--pmd-motion-fast) var(--pmd-ease-soft),
    background var(--pmd-motion-fast) var(--pmd-ease-soft),
    border-color var(--pmd-motion-fast) var(--pmd-ease-soft),
    box-shadow var(--pmd-motion-fast) var(--pmd-ease-soft),
    transform var(--pmd-motion-fast) var(--pmd-ease-soft);
}

.pmd-pagination a.page-numbers:hover {
  color: var(--pmd-primary);
  background: var(--pmd-bg-secondary);
  border-color: var(--pmd-blush);
  transform: translateY(-1px);
}

.pmd-pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--pmd-primary);
  outline-offset: 2px;
}

.pmd-pagination .page-numbers.current {
  color: var(--pmd-white);
  background: linear-gradient(135deg, var(--pmd-primary), var(--pmd-dusty));
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(217, 79, 140, 0.28);
  cursor: default;
}

.pmd-pagination .page-numbers.dots {
  min-width: auto;
  min-height: auto;
  padding: 0.35rem 0.25rem;
  color: var(--pmd-mauve);
  background: transparent;
  border: none;
  pointer-events: none;
}

.pmd-pagination .prev.page-numbers,
.pmd-pagination .next.page-numbers {
  min-width: auto;
  padding-inline: 1rem;
}

.pmd-pagination__icon {
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .pmd-pagination {
    margin-top: var(--pmd-space-md);
    padding-top: var(--pmd-space-sm);
  }

  .pmd-pagination .nav-links {
    gap: 0.35rem;
  }

  .pmd-pagination .page-numbers {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.875rem;
  }

  .pmd-pagination .prev.page-numbers,
  .pmd-pagination .next.page-numbers {
    flex: 1 1 calc(50% - 0.2rem);
    justify-content: center;
    max-width: calc(50% - 0.2rem);
  }

  .pmd-pagination .page-numbers:not(.prev):not(.next):not(.dots) {
    min-width: 2.35rem;
    min-height: 2.35rem;
    padding-inline: 0.55rem;
  }
}

@media (max-width: 400px) {
  .pmd-pagination .prev.page-numbers,
  .pmd-pagination .next.page-numbers {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
