/* سلامت جامع بانوان — لندینگ/پرتال · طب تو */
:root {
  --wh-rose: #8b3a5c;
  --wh-rose-deep: #5c2740;
  --wh-blush: #faf4f7;
  --wh-ink: #241820;
  --wh-muted: #6a5560;
  --wh-line: rgba(139, 58, 92, 0.16);
  --wh-font: "Vazirmatn", "Tahoma", sans-serif;
  --wh-hero-grad: linear-gradient(135deg, #5c2740 0%, #8b3a5c 48%, #b86b88 100%);
}

.wh-page {
  margin: 0;
  font-family: var(--wh-font);
  color: var(--wh-ink);
  background:
    radial-gradient(ellipse 70% 40% at 90% 0%, rgba(184, 107, 136, 0.12), transparent 55%),
    linear-gradient(180deg, #fffafb 0%, #f4eef1 100%);
  min-height: 100vh;
}

.wh-site-nav .brand-logo {
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.wh-hero {
  position: relative;
  padding: 2.75rem 0 2.5rem;
  overflow: hidden;
  color: #fff;
  background: var(--wh-hero-grad);
}

.wh-hero--illustrated { min-height: 22rem; }

.wh-hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #fff;
}

.wh-vec { position: absolute; }
.wh-vec-mother { width: 200px; left: 6%; bottom: -8%; opacity: 0.55; }
.wh-vec-heart { width: 90px; left: 28%; top: 18%; opacity: 0.35; animation: wh-float 7s ease-in-out infinite; }
.wh-vec-cross { width: 70px; left: 18%; top: 12%; opacity: 0.3; }
.wh-vec-arch { width: 120px; left: 40%; bottom: 12%; opacity: 0.28; }
.wh-vec-pulse { width: 160px; left: 8%; top: 42%; opacity: 0.35; }

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

.wh-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.wh-hero-copy { position: relative; z-index: 1; }

.wh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffe8f0;
  font-weight: 600;
  margin: 0 0 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
}

.wh-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  max-width: 18ch;
}

.wh-lead {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.wh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease;
}

.wh-btn:hover { transform: translateY(-1px); }

.wh-btn-primary {
  background: #fff;
  color: var(--wh-rose-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.wh-btn-primary:hover { background: #fff5f8; color: var(--wh-rose-deep); }

.wh-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.wh-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.wh-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.wh-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.wh-stats span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd0e0;
}

.wh-hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  border-radius: 1.1rem;
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wh-hero-panel-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.wh-quick-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.wh-quick-link:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.wh-quick-link i { width: 1.25rem; text-align: center; }

.wh-main { padding: 2rem 0 3rem; }
.wh-section { margin-bottom: 2.25rem; }

.wh-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  color: var(--wh-rose-deep);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.wh-muted {
  color: var(--wh-muted);
  margin: 0 0 1rem;
  line-height: 1.65;
}

.wh-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.wh-access-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--wh-line);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(92, 39, 64, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.wh-access-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 58, 92, 0.35);
  color: inherit;
}

.wh-access-card--primary {
  background: linear-gradient(160deg, #fff 0%, #fceef4 100%);
  border-color: rgba(139, 58, 92, 0.28);
}

.wh-access-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: var(--wh-blush);
  color: var(--wh-rose);
  flex-shrink: 0;
}

.wh-access-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wh-access-body strong { font-size: 0.98rem; }
.wh-access-body span { font-size: 0.82rem; color: var(--wh-muted); line-height: 1.45; }

.wh-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.wh-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px dashed var(--wh-line);
  text-decoration: none;
  color: inherit;
}

.wh-related-card:hover {
  border-style: solid;
  border-color: var(--wh-rose);
  background: var(--wh-blush);
  color: inherit;
}

.wh-related-card i { color: var(--wh-rose); font-size: 1.2rem; }
.wh-related-card strong { font-size: 0.95rem; }
.wh-related-card span { font-size: 0.8rem; color: var(--wh-muted); }

.wh-chip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.wh-chip,
a.wh-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--wh-line);
  background: #fff;
  color: var(--wh-ink);
  font-size: 0.9rem;
  text-decoration: none;
}

a.wh-chip:hover,
.wh-chip.is-active {
  background: var(--wh-rose);
  border-color: var(--wh-rose);
  color: #fff;
}

.wh-chip--soft {
  background: var(--wh-blush);
  color: var(--wh-rose-deep);
}

.wh-life-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
}

.wh-life-path li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid var(--wh-line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-weight: 600;
}

.wh-life-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--wh-rose);
  flex-shrink: 0;
}

.wh-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wh-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--wh-line);
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  color: var(--wh-muted);
  font-weight: 600;
}

.wh-flow-step span {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--wh-blush);
  color: var(--wh-rose-deep);
  font-size: 0.75rem;
}

.wh-note {
  background: linear-gradient(90deg, #fff1f2, #fdf2f8);
  border-radius: 0.95rem;
  padding: 1rem 1.2rem;
  border: 1px solid #fecdd3;
}

.wh-note p { margin: 0; line-height: 1.75; color: #9f1239; }
.wh-note a { color: #9f1239; font-weight: 700; }

.wh-footer {
  border-top: 1px solid var(--wh-line);
  background: #fff;
  padding: 1.25rem 0 2rem;
}

.wh-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wh-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--wh-rose-deep);
  font-weight: 700;
}

.wh-footer-brand img {
  border-radius: 6px;
  object-fit: cover;
}

.wh-footer p { margin: 0; color: var(--wh-muted); font-size: 0.9rem; }
.wh-footer a { color: var(--wh-rose); }

.wh-phase {
  color: var(--wh-muted);
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}

.wh-admin {
  font-family: var(--wh-font);
  background: #f7f5f6;
  min-height: 100vh;
}

/* —— پرتال WH1 —— */
.wh-app-page .wh-main { padding-top: 1.25rem; }

.wh-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1rem 0 1.25rem;
}

.wh-tab {
  border: 1px solid var(--wh-line);
  background: #fff;
  color: var(--wh-muted);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.wh-tab.is-active {
  background: var(--wh-rose);
  border-color: var(--wh-rose);
  color: #fff;
}

.wh-panel {
  background: #fff;
  border: 1px solid var(--wh-line);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem 1.4rem;
  margin-bottom: 1.5rem;
}

.wh-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.wh-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--wh-ink);
}

.wh-form input,
.wh-form select,
.wh-form textarea {
  border: 1px solid var(--wh-line);
  border-radius: 0.55rem;
  padding: 0.5rem 0.65rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.wh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.wh-form-grid .wh-span-2 { grid-column: span 2; }

.wh-form-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
}

.wh-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.wh-check {
  flex-direction: row !important;
  align-items: center;
  gap: 0.45rem !important;
}

.wh-screen-fieldset {
  border: 1px dashed var(--wh-line);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.wh-screen-fieldset legend {
  font-size: 0.9rem;
  padding: 0 0.35rem;
  color: var(--wh-rose-deep);
}

.wh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wh-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--wh-line);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--wh-blush);
}

.wh-alert {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.wh-alert--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.wh-alert--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.wh-emergency {
  background: #450a0a;
  color: #fecaca;
  border-radius: 0.85rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
}

.wh-emergency a { color: #fff; font-weight: 700; }
.wh-emergency ul { margin: 0.5rem 0 0; padding-inline-start: 1.1rem; }
.wh-danger { color: #b91c1c; font-weight: 700; }

.wh-card-soft {
  background: var(--wh-blush);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--wh-line);
  line-height: 1.7;
}

.wh-h3 { font-size: 1.05rem; margin: 1rem 0 0.5rem; }

.wh-epds-q {
  border-bottom: 1px solid var(--wh-line);
  padding: 0.55rem 0;
}

.wh-epds-q p { margin: 0 0 0.35rem; font-size: 0.9rem; }

/* app buttons on light bg */
.wh-app-page .wh-btn-primary {
  background: var(--wh-rose);
  color: #fff;
  box-shadow: none;
}

.wh-app-page .wh-btn-primary:hover {
  background: var(--wh-rose-deep);
  color: #fff;
}

.wh-app-page .wh-btn-ghost {
  color: var(--wh-rose-deep);
  border-color: var(--wh-line);
  background: #fff;
}

.wh-app-page .wh-btn-ghost:hover {
  background: var(--wh-blush);
  color: var(--wh-rose-deep);
}

@media (max-width: 992px) {
  .wh-hero-grid { grid-template-columns: 1fr; }
  .wh-vec-mother { display: none; }
  .wh-access-grid,
  .wh-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wh-form-grid { grid-template-columns: 1fr; }
  .wh-form-grid .wh-span-2 { grid-column: span 1; }
  .wh-list-item { flex-direction: column; align-items: flex-start; }
  .wh-access-grid,
  .wh-related-grid { grid-template-columns: 1fr; }
  .wh-hero h1 { max-width: none; }
}
