/* ================================================
   HAYAT MEDICAL CENTRE — Mental Health Page Styles
   Supplements css/style.css — uses existing CSS variables
   ================================================ */

/* ================================================
   BREADCRUMB
   ================================================ */
.mh-breadcrumb {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  margin-top: var(--header-height);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.breadcrumb-item a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted);
  user-select: none;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* ================================================
   HERO
   ================================================ */
.mh-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  overflow: hidden;
}

.mh-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mh-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 68, 0.88) 0%, rgba(17, 24, 68, 0.72) 60%, rgba(75, 86, 148, 0.5) 100%);
  z-index: 1;
}

.mh-hero-content {
  position: relative;
  z-index: 2;
}

.mh-h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 780px;
}

.mh-h1 span {
  color: var(--bg-light);
}

.mh-hero-subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ================================================
   URGENT HELP BANNER
   ================================================ */
.mh-urgent {
  background: #7f1d1d;
  color: #fff;
  padding: 20px 0;
}

.mh-urgent-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mh-urgent-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.mh-urgent-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.mh-urgent-crisis {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  opacity: 0.9;
}

.mh-urgent-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
  white-space: nowrap;
}

.mh-urgent-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #fff !important;
}

/* ================================================
   CONDITIONS GRID
   ================================================ */
.mh-conditions {
  background: var(--white);
}

.mh-conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.mh-condition-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

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

.mh-condition-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.mh-condition-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.mh-condition-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

.mh-conditions-note {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ================================================
   SERVICES GRID
   ================================================ */
.mh-services {
  background: var(--bg-warm);
}

.mh-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.mh-service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

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

.mh-service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.mh-service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.mh-service-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.mh-service-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ================================================
   PROCESS / HOW IT WORKS
   ================================================ */
.mh-process {
  background: var(--white);
}

.mh-process-steps {
  display: grid;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .mh-process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

.mh-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.mh-step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
}

.mh-step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-sans);
}

.mh-step-desc {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.65;
}

.mh-step-desc a {
  color: var(--secondary);
  text-decoration: underline;
}

/* ================================================
   TEAM
   ================================================ */
.mh-team {
  background: var(--bg-warm);
}

.mh-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.mh-team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.mh-team-photo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(75, 86, 148, 0.1), rgba(114, 136, 174, 0.15));
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.mh-team-photo-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
}

.mh-team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: var(--font-sans);
}

.mh-team-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.mh-team-specialty {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

.mh-team-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.mh-team-note a {
  color: var(--secondary);
  text-decoration: underline;
}

/* ================================================
   FACILITY
   ================================================ */
.mh-facility {
  background: var(--white);
}

.mh-facility-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .mh-facility-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.mh-facility-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mh-facility-block {
  margin-bottom: 28px;
}

.mh-facility-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-family: var(--font-sans);
}

.mh-facility-block-title svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mh-address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

.mh-directions-btn {
  margin-top: 4px;
}

.mh-facility-block p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 4px;
}

.mh-map-placeholder {
  background: var(--bg-warm);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.mh-map-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Amenities */
.mh-amenities-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-sans);
}

.mh-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.mh-amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.mh-amenity-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* ================================================
   PRIVACY
   ================================================ */
.mh-privacy {
  background: var(--primary);
}

.mh-privacy-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.mh-privacy-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mh-privacy-icon svg {
  width: 32px;
  height: 32px;
  color: var(--bg-light);
}

.mh-privacy-content {
  flex: 1;
  min-width: 240px;
}

.mh-privacy-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.mh-privacy-content p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 12px;
}

.mh-privacy-content p:last-child {
  margin-bottom: 0;
}

/* ================================================
   FAQ
   ================================================ */
.mh-faq {
  background: var(--bg-warm);
}

.mh-faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mh-faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.mh-faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.mh-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.mh-faq-question::-webkit-details-marker {
  display: none;
}

.mh-faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--secondary);
  flex-shrink: 0;
  line-height: 1;
  transition: var(--transition);
}

details[open] .mh-faq-question::after {
  content: '−';
}

.mh-faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border-light);
}

.mh-faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-top: 12px;
}

.mh-faq-answer a {
  color: var(--secondary);
  text-decoration: underline;
}

.mh-faq-answer ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.mh-faq-answer li {
  font-size: 0.9375rem;
  color: var(--text-medium);
  line-height: 1.7;
}

/* ================================================
   FINAL CTA
   ================================================ */
.mh-final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
}

.mh-cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.mh-cta-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 20px 0 32px;
}

.mh-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.mh-cta-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.mh-cta-address svg {
  flex-shrink: 0;
}

/* ================================================
   MEDICAL REVIEW NOTICE
   ================================================ */
.mh-review-notice {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.mh-review-notice p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 6px;
}

.mh-review-notice p:last-child {
  margin-bottom: 0;
}

.mh-review-notice a {
  color: var(--secondary);
  text-decoration: underline;
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (max-width: 480px) {
  .mh-urgent-inner {
    flex-direction: column;
    text-align: center;
  }

  .mh-urgent-btn {
    width: 100%;
    justify-content: center;
  }

  .mh-privacy-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mh-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}
