/* =========================================================
   Women First Morgantown Website Stylesheet
   Revision: 1.0
   Date/Time: 2026-05-17 22:00 EDT

   What this stylesheet does:
   - Matches the supplied Women First Morgantown mockup with cream, purple, and gold styling.
   - Builds a responsive single-page layout with hero, doctor, education, services, patient info, and contact sections.
   - Keeps image spacing tight and avoids the large gaps that appeared in earlier layouts.
   ========================================================= */

:root {
  --purple: #34104d;
  --purple-2: #5b1b73;
  --gold: #b98529;
  --cream: #fffaf3;
  --cream-2: #f8f1e8;
  --lavender: #f5eff9;
  --text: #25163f;
  --muted: #574965;
  --line: rgba(185, 133, 41, 0.35);
  --shadow: 0 16px 38px rgba(52, 16, 77, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 98px;
  padding: 18px 38px;
  background: rgba(255, 250, 243, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 295px;
}
.brand strong {
  display: block;
  color: var(--purple);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1;
  font-weight: 700;
}
.brand em {
  display: block;
  margin-top: 4px;
  color: var(--purple);
  font-size: 1rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-style: normal;
}
.lotus-mark,
.footer-brand span {
  color: var(--gold);
  font-size: 3.2rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
  font-size: 1rem;
  color: var(--purple);
}
.main-nav a { padding: 8px 0; }
.main-nav a:hover { color: var(--gold); }
.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: var(--shadow);
  font-family: Arial, sans-serif;
}

.section { padding: 36px 6vw; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 42px;
  min-height: 470px;
  background:
    radial-gradient(circle at 20% 30%, rgba(185, 133, 41, 0.13), transparent 30%),
    linear-gradient(135deg, #fffaf3 0%, #fff7ef 55%, #efe4f3 100%);
  overflow: hidden;
}
.hero-photos img {
  width: 100%;
  filter: drop-shadow(0 16px 20px rgba(52, 16, 77, 0.16));
}
.hero-copy { text-align: center; }
.hero h1,
.doctor h2,
.education h2,
.services h2,
.patient-info h2,
.reviews-preview h2,
.contact h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
}
.subtitle {
  margin: 8px 0 22px;
  color: var(--purple);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
}
.divider,
.small-rule {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px auto;
}
.divider::before,
.divider::after,
.small-rule::before,
.small-rule::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--gold);
}
.divider span { font-size: 2rem; }
.tagline {
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  padding: 14px 28px;
  border-radius: 26px;
  font-size: 1.05rem;
  font-family: Arial, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  box-shadow: var(--shadow);
}
.btn-outline {
  color: var(--purple);
  border: 2px solid var(--purple);
  background: rgba(255,255,255,0.58);
}

.doctor {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 54px;
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(90deg, #fffdf8 0%, #fdf7ee 56%, #efe4d8 100%);
  border-top: 4px solid white;
  border-bottom: 4px solid white;
}
.doctor-copy {
  max-width: 560px;
  justify-self: end;
  padding: 56px 0;
}
.doctor h2,
.education h2,
.services h2,
.patient-info h2,
.reviews-preview h2,
.contact h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.gold-script {
  color: var(--gold);
  font-size: 1.35rem;
  font-style: italic;
}
.doctor-copy p:not(.gold-script) {
  font-size: 1.22rem;
  font-family: Arial, sans-serif;
  color: #343055;
}
.doctor-photo-wrap {
  height: 100%;
  min-height: 410px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.doctor-photo {
  width: min(470px, 100%);
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: center top;
}

.education,
.patient-info {
  text-align: center;
  background: var(--cream);
}
.education p,
.patient-info p {
  margin: 8px auto;
  max-width: 850px;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
}
.education strong { color: var(--purple); }

.services {
  text-align: center;
  background: linear-gradient(180deg, #fffaf3, #fffdf8);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 28px;
  text-align: left;
}
.service-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
}
.service-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #8a248d;
  font-size: 2.1rem;
}
.service-card h3 {
  margin: 4px 0 2px;
  color: var(--purple);
  font-size: 1.15rem;
}
.service-card p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  color: #30264b;
}

.patient-info { background: #fffaf3; }

.reviews-preview {
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(185, 133, 41, 0.13), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, #f5eff9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-preview-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 10px 0;
}

.reviews-preview .eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reviews-preview p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
}

.contact {
  text-align: center;
  background: linear-gradient(135deg, #fbf8ff 0%, #fffaf3 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.contact-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto;
  gap: 0 14px;
  align-items: center;
  text-align: left;
  padding: 18px;
  border-right: 1px solid rgba(52,16,77,0.13);
}
.contact-item span {
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
  font-size: 1.9rem;
}
.contact-item strong { color: var(--purple); }
.contact-item em {
  font-style: normal;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 34px auto 0;
  padding: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: left;
  font-family: Arial, sans-serif;
}
.contact-form label { color: var(--purple); font-weight: 700; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid rgba(52,16,77,0.25);
  border-radius: 16px;
  color: var(--text);
  background: white;
  font: inherit;
}
.contact-form label:nth-child(3),
.contact-form button { grid-column: 1 / -1; }
.contact-form button { justify-self: center; border: 0; cursor: pointer; }

.site-footer {
  padding: 28px 20px 34px;
  text-align: center;
  color: white;
  background: radial-gradient(circle at 50% 0%, #5b1b73, #2b073d 65%);
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.65rem;
  font-weight: 700;
}
.site-footer p { margin: 8px 0 0; font-family: Arial, sans-serif; }

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .brand { justify-content: center; min-width: 100%; }
  .main-nav { order: 3; min-width: 100%; flex-wrap: wrap; gap: 18px; }
  .hero, .doctor { grid-template-columns: 1fr; text-align: center; }
  .doctor-copy { justify-self: center; padding-bottom: 20px; }
  .doctor-photo-wrap { min-height: 360px; }
  .doctor-photo { min-height: 360px; width: min(430px, 92vw); }
  .service-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 32px 22px; }
  .site-header { padding: 14px 18px; }
  .brand strong { font-size: 2rem; }
  .brand em { font-size: 0.85rem; }
  .hero { gap: 22px; }
  .service-grid, .contact-grid, .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(3), .contact-form button { grid-column: auto; }
  .service-card, .contact-item { grid-template-columns: 64px 1fr; }
  .main-nav { font-size: 0.95rem; }
}


/* =========================================================
   SMS Privacy / Compliance Section
   Added: 2026-05-19
   Purpose:
   - Displays required SMS privacy and opt-in compliance statement
   - Styled to match the existing website aesthetic
   ========================================================= */

.sms-privacy-section {
    background: #f8f6f4;
    padding: 28px 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

.sms-privacy-section h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.sms-privacy-section p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #555;
}

.medical-warning{background:#fff4f4;border:1px solid #e0b4b4;color:#9b2c2c;padding:12px;border-radius:8px;margin-bottom:18px;text-align:center;font-size:.95rem;line-height:1.5;font-weight:500;}


/* =========================================================
   FAQ / SEO Support Sections
   Revision: 1.0
   Date/Time: 2026-05-26 EDT
   Purpose: Styles the home-page FAQ teaser and standalone FAQ page.
   ========================================================= */

.faq-preview,
.contact-note {
  background: linear-gradient(135deg, var(--cream) 0%, var(--lavender) 100%);
  text-align: center;
}

.faq-preview-inner,
.faq-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.faq-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(185, 133, 41, 0.16), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #fff7ef 55%, #efe4f3 100%);
  text-align: center;
}

.faq-hero h1 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: normal;
  line-height: 1.05;
}

.faq-list {
  background: var(--cream);
}

.faq-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.faq-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.faq-card h3 {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 1.45rem;
  font-weight: normal;
  text-align: left;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 820px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Map Embed and Office Hours
   Revision: 1.0
   Date/Time: 2026-05-26 EDT
   Purpose: Adds visible office hours and Google map styling.
   ========================================================= */

.contact-item-static {
  cursor: default;
}

.map-embed {
  max-width: 1050px;
  margin: 32px auto 34px;
  overflow: hidden;
  border: 1px solid rgba(185, 133, 41, 0.42);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 720px) {
  .map-embed iframe {
    height: 300px;
  }
}


/* =========================================================
   Dedicated Service Pages
   Revision: 1.0
   Date/Time: 2026-05-26 EDT
   Purpose: Styles the pregnancy, gynecology, and menopause SEO pages.
   ========================================================= */

.service-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.learn-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.service-detail-hero,
.service-crosslinks {
  background:
    radial-gradient(circle at 20% 20%, rgba(185, 133, 41, 0.16), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #fff7ef 55%, #efe4f3 100%);
  text-align: center;
}

.service-detail-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service-detail-hero h1 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: normal;
  line-height: 1.05;
}

.service-detail-content {
  background: var(--cream);
}

.service-detail-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-detail-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.service-detail-card h2 {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 1.6rem;
  font-weight: normal;
}

.service-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-link-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 920px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Unified Multi-Page Navigation Improvements
   Revision: 1.0
   Date/Time: 2026-05-26 EDT
   ========================================================= */

.main-nav {
  flex-wrap: wrap;
}

.main-nav a {
  white-space: nowrap;
}


/* =========================================================
   Fertility & IVF Coordination Page
   Revision: V28
   Date/Time: 2026-07-01 11:45 EDT
   Purpose:
   - Styles the new fertility-ivf.html page.
   - Supports collaborative care callouts, partner notes, and process steps.
   ========================================================= */

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fertility-hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(185, 133, 41, 0.18), transparent 32%),
    radial-gradient(circle at 86% 74%, rgba(91, 27, 115, 0.11), transparent 30%),
    linear-gradient(135deg, #fffaf3 0%, #fff7ef 55%, #efe4f3 100%);
}

.fertility-intro,
.partner-section,
.fertility-faq {
  background: var(--cream);
}

.two-column-feature,
.partner-card {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 34px;
  align-items: center;
}

.two-column-feature h2,
.partner-card h2,
.process-section h2,
.fertility-faq h2 {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: normal;
  line-height: 1.12;
}

.two-column-feature p,
.partner-card p,
.partner-note p,
.process-step em {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
}

.feature-callout,
.partner-note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.callout-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 2.1rem;
}

.feature-callout h3,
.partner-note h3 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: 1.45rem;
  font-weight: normal;
  text-align: left;
}

.partner-section {
  background:
    radial-gradient(circle at 15% 18%, rgba(185, 133, 41, 0.13), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #f5eff9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partner-actions {
  justify-content: flex-start;
}

.process-section {
  background: linear-gradient(180deg, #fffaf3, #fffdf8);
}

.process-steps {
  max-width: 1180px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  text-align: center;
}

.process-step span {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 1.05rem;
}

.process-step em {
  display: block;
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.5;
}

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

.fertility-faq-grid {
  margin-top: 28px;
}

@media (max-width: 1040px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .two-column-feature,
  .partner-card,
  .fertility-grid {
    grid-template-columns: 1fr;
  }
  .partner-actions {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}
