/* Meraki Midwifery clean static site */

:root {
  --cream: #fbf6ee;
  --sand: #eadfce;
  --soft-green: #c4d0bd;
  --sage: #71806a;
  --sage-dark: #4c5b47;
  --clay: #b47b63;
  --ink: #2d2a26;
  --muted: #6b625b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(45, 42, 38, 0.12);
  --shadow-soft: 0 10px 28px rgba(45, 42, 38, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--sage-dark); }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; background: var(--white);
  padding: .75rem 1rem; z-index: 100;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.narrow { width: min(780px, calc(100% - 2rem)); }

.site-header {
  background: rgba(251, 246, 238, 0.94);
  border-bottom: 1px solid rgba(45, 42, 38, 0.08);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}

.brand {
  display: flex; align-items: center; gap: .85rem;
  text-decoration: none; color: var(--ink);
}

.brand-mark {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--sage); color: var(--white); font-weight: 700;
}

.brand small {
  display: block; color: var(--muted); font-size: .85rem;
}

.site-nav {
  display: flex; align-items: center; gap: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .95rem;
}

.site-nav a { text-decoration: none; color: var(--ink); }

.nav-button,
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .78rem 1.05rem; border-radius: 999px;
  text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.nav-button,
.button.primary { background: var(--sage-dark); color: var(--white); }
.button.secondary { background: var(--sand); color: var(--ink); }

.button-row {
  display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem;
}

.hero {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top right, rgba(180, 123, 99, .22), transparent 30rem),
    linear-gradient(180deg, var(--cream), #f6eddf);
}

.hero-grid {
  display: grid; grid-template-columns: 1.35fr .85fr;
  align-items: center; gap: 2rem;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .78rem; font-weight: 800; color: var(--clay);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: .98; letter-spacing: -0.04em; margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15; margin-bottom: .65rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
}

.feature-photo-card,
.card,
.contact-card,
.service,
.about-photo-panel,
.service-text-card,
.contact-info-card,
.map-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card,
.contact-card,
.service,
.service-text-card,
.contact-info-card { padding: 2rem; }

.feature-photo-card {
  border: 1px solid rgba(45, 42, 38, 0.06);
  margin: 0;
}

.feature-photo-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
}

.feature-photo-card figcaption { padding: 1.2rem 1.35rem 1.35rem; }
.feature-photo-card h2 { margin-bottom: .45rem; }
.feature-photo-card p { color: var(--muted); margin-bottom: 0; }

.section { padding: 4.5rem 0; }
.section.soft { background: var(--sand); }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}

.split {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 2rem; align-items: start;
}

.page-hero {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, #f7efe3, var(--cream));
}

.content { font-size: 1.08rem; }
.content h2:not(:first-child) { margin-top: 2rem; }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 2rem; align-items: start;
}

.about-photo-panel { box-shadow: var(--shadow-soft); }
.about-photo-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-photo-caption { padding: 1rem 1.15rem 1.15rem; }
.about-photo-caption p { margin-bottom: 0; color: var(--muted); }

.services-panel {
  background: var(--soft-green);
  padding: 4rem 0 4.5rem;
}

.services-grid-no-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-text-card {
  box-shadow: none;
  border: 1px solid rgba(76, 91, 71, 0.22);
  background: rgba(251, 246, 238, 0.45);
}

.service-number {
  display: inline-block;
  color: var(--sage-dark);
  opacity: .65;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: .85rem;
}

.service-text-card h2 {
  color: var(--sage-dark);
  font-style: italic;
}

.service-text-card p {
  color: #43523d;
  margin-bottom: 0;
}

.service-list { display: grid; gap: 1.1rem; }
.service {
  box-shadow: none;
  border: 1px solid rgba(45, 42, 38, 0.08);
}

.faq-list { display: grid; gap: 1rem; }

details {
  background: var(--white);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(45, 42, 38, 0.08);
}

summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
summary + p { margin-top: .85rem; color: var(--muted); }

.contact-card {
  width: min(720px, 100%);
  margin-inline: auto;
}

.contact-layout {
  display: grid;
  gap: 1.25rem;
}

.contact-main {
  width: 100%;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-info-card h2 {
  font-size: 1.25rem;
}

.contact-info-card p {
  color: var(--muted);
  margin-bottom: .6rem;
}

.map-card {
  padding: 0;
  min-height: 360px;
}

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

.contact-line { margin-bottom: .35rem; }

.text-link {
  font-weight: 800; text-decoration: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer {
  background: var(--sage-dark);
  color: var(--cream);
  padding: 3rem 0 1.5rem;
}

.site-footer a { color: var(--white); }

.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 1.5rem;
}

.footer-grid h2 { font-size: 1.1rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 2rem; padding-top: 1rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .services-grid-no-icons {
    grid-template-columns: 1fr;
  }

  .feature-photo-card { max-width: 520px; }
  .about-photo-panel { max-width: 420px; }
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

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

  .card-grid,
  .split,
  .footer-grid,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3.5rem 0; }
}
