:root {
  --accent: #b5697f;
  --accent-dark: #8f4d61;
  --bg: #fffafb;
  --text: #2e2a2c;
  --muted: #7a7076;
  --border: #f0e3e7;
  --max: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
}
.brand-logo { display: block; height: 36px; width: auto; }
.brand span {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: var(--muted);
}
.site-nav {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
}
.site-nav a { color: var(--text); font-weight: 500; }
.site-nav a.active { color: var(--accent); }

/* City sub-navigation */
.city-subnav {
  border-top: 1px solid var(--border);
  background: #fdf4f7;
}
.city-subnav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .6rem 1.25rem;
  font-size: .9rem;
}
.city-subnav-label { font-weight: 700; color: var(--accent-dark); }
.city-subnav a { color: var(--text); }
.city-subnav a:hover { color: var(--accent); }

/* Hero */
.hero {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
}
.hero h1 { font-size: 2.4rem; margin: 0 0 .5rem; }
.hero-tagline { font-size: 1.2rem; color: var(--muted); margin: 0 auto 1.75rem; max-width: 600px; }
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--accent-dark); border: 1px solid var(--accent); }

/* Sections */
main { padding: 2rem 0 3rem; }
.home-intro { max-width: 700px; margin: 0 auto 3rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--border);
  padding-bottom: .5rem;
  margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; }

/* Post list */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list-item a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--text);
}
.post-list-title { font-size: 1.15rem; font-weight: 600; color: var(--accent-dark); }
.post-list-date { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.post-list-summary { color: var(--muted); margin: .35rem 0 0; }

/* Single post */
.list-header h1, .post-header h1 { font-size: 2rem; margin-bottom: .35rem; }
.post-meta { color: var(--muted); font-size: .9rem; margin-top: 0; }
.post-content { margin-top: 1.5rem; }
.post-content h2 { margin-top: 2rem; }
.post-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 1.5rem 0;
}
.post-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.75rem 0;
}
.tags { list-style: none; display: flex; gap: .5rem; padding: 0; margin: .5rem 0; }
.tags li {
  background: var(--border);
  color: var(--accent-dark);
  font-size: .75rem;
  padding: .15rem .6rem;
  border-radius: 999px;
}
.tags li a { color: inherit; text-decoration: none; }
.tags li:hover { background: var(--accent); }
.tags li:hover a { color: #fff; }
.post-footer { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* Blog layout with sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}
.blog-main { min-width: 0; }
.post-list-cat { margin: .25rem 0 0; font-size: .8rem; }
.post-list-cat a {
  background: var(--border);
  color: var(--accent-dark);
  padding: .1rem .55rem;
  border-radius: 999px;
}
.blog-sidebar { position: sticky; top: 1rem; }
.sidebar-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.sidebar-block h3 { margin: 0 0 .6rem; font-size: 1rem; }
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--text); }
.sidebar-list a:hover { color: var(--accent); }
.sidebar-count {
  background: var(--border);
  color: var(--accent-dark);
  font-size: .72rem;
  padding: 0 .5rem;
  border-radius: 999px;
}
.sidebar-empty { color: var(--muted); font-size: .9rem; margin: 0; }

@media (max-width: 720px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 1.25rem 1.5rem;
}
.footer-inner p { margin: .25rem 0; color: var(--muted); }
.footer-cities { display: flex; flex-direction: column; gap: .3rem; }
.copyright { padding-bottom: 1.5rem; color: var(--muted); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: .5rem;
}
.footer-legal a { color: var(--accent-dark); font-weight: 500; }

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(46, 42, 44, .18);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
}
.cookie-consent-text { margin: 0; flex: 1 1 320px; font-size: .9rem; color: var(--text); }
.cookie-consent-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-consent-actions .btn { padding: .5rem 1.1rem; }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .site-nav { margin-left: 0; }
  .post-list-item a { flex-direction: column; }
}

/* City cards (home) */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.city-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  color: var(--text);
  transition: box-shadow .15s, transform .15s;
}
.city-card:hover {
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(143, 77, 97, .12);
  transform: translateY(-2px);
}
.city-card h3 { margin: 0 0 .4rem; color: var(--accent-dark); font-size: 1.3rem; }
.city-card p { color: var(--muted); margin: 0 0 1rem; }
.city-card-cta { color: var(--accent); font-weight: 600; }

/* Affiliate disclosure */
.affiliate-disclosure {
  background: #fdf4f7;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Doula ranking list */
.doula-ranking { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.doula-card {
  display: grid;
  grid-template-columns: auto 120px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

/* Featured #1 card — bigger and highlighted */
.doula-card--featured {
  position: relative;
  grid-template-columns: auto 168px 1fr auto;
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fff6f9 0%, #ffffff 60%);
  box-shadow: 0 10px 30px rgba(143, 77, 97, .15);
  padding: 2rem 1.75rem 1.75rem;
  gap: 1.75rem;
}
.doula-card--featured .doula-photo img {
  width: 168px;
  height: 168px;
  border-color: var(--accent);
}
.doula-card--featured .doula-rank {
  font-size: 2.2rem;
  color: var(--accent-dark);
}
.doula-card--featured .doula-name { font-size: 1.6rem; }
.doula-card--featured .doula-headline { font-size: 1.05rem; }
.doula-card--featured .doula-actions .btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.doula-badge {
  position: absolute;
  top: -.8rem;
  left: 1.75rem;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .3rem .85rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(143, 77, 97, .25);
}
.doula-rank {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 2.2rem;
  text-align: center;
}
.doula-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border);
}
.doula-name { margin: 0 0 .1rem; font-size: 1.25rem; }
.doula-name a { color: var(--text); }
.doula-headline { margin: 0 0 .4rem; color: var(--muted); font-size: .95rem; }
.doula-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.rating-num { font-weight: 700; }
.rating-reviews { color: var(--muted); font-size: .85rem; }
.stars { color: #e8b83a; letter-spacing: 1px; }
.stars .star.empty { color: #d9cdd2; }
.doula-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  padding: 0;
  margin: 0 0 .5rem;
  color: var(--muted);
  font-size: .9rem;
}
.doula-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.doula-tags li {
  background: var(--border);
  color: var(--accent-dark);
  font-size: .75rem;
  padding: .15rem .6rem;
  border-radius: 999px;
}
.doula-tags li a { color: inherit; text-decoration: none; }
.doula-tags li:hover { background: var(--accent); }
.doula-tags li:hover a { color: #fff; }
.doula-actions { display: flex; flex-direction: column; gap: .5rem; white-space: nowrap; }

/* Doula grid (specialty term pages) */
.doula-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.doula-grid-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
.doula-grid-photo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--border);
}
.doula-grid-name { margin: 0 0 .15rem; font-size: 1.15rem; }
.doula-grid-name a { color: var(--text); }
.doula-grid-city { margin: 0 0 .5rem; font-size: .9rem; }
.doula-grid-city a { color: var(--muted); }
.doula-grid-card .doula-rating { margin-bottom: .5rem; }
.doula-grid-card .btn { grid-column: 1 / -1; text-align: center; }

/* Doula profile */
.back-link { display: inline-block; margin-bottom: 1.25rem; }
.doula-profile { max-width: 820px; margin: 0 auto; }
.profile-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2rem;
}
.profile-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  border: 4px solid var(--border);
}
.profile-head-info h1 { margin: 0 0 .35rem; }
.profile-headline { color: var(--muted); margin: 0 0 .6rem; font-size: 1.1rem; }
.profile-actions { margin-top: 1rem; }
.profile-body { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.profile-facts {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  align-self: start;
}
.profile-facts h3 { margin: 0 0 .75rem; font-size: 1rem; }
.profile-facts dl { margin: 0 0 1rem; }
.profile-facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.profile-facts dd { margin: 0 0 .6rem; font-weight: 500; }
.profile-content h3 { margin-top: 0; }

@media (max-width: 720px) {
  .doula-card { grid-template-columns: auto 90px 1fr; }
  .doula-photo img { width: 90px; height: 90px; }
  .doula-card--featured { grid-template-columns: auto 120px 1fr; }
  .doula-card--featured .doula-photo img { width: 120px; height: 120px; }
  .doula-actions { grid-column: 1 / -1; flex-direction: row; }
  .profile-header { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .profile-body { grid-template-columns: 1fr; }
}

/* Doula contact form */
.doula-contact {
  max-width: 820px;
  margin: 2.5rem auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
}
.doula-contact h3 { margin: 0 0 .35rem; }
.doula-contact-intro { color: var(--muted); margin: 0 0 1.25rem; }
.contact-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .9rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .6rem .75rem;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 105, 127, .18);
}
.contact-form textarea { resize: vertical; }
.contact-form button { border: none; cursor: pointer; margin-top: .25rem; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.form-status {
  margin: 1rem 0 0;
  padding: .85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.form-status--success { background: #e6f4ea; color: #1e7a45; border: 1px solid #b7e0c5; }
.form-status--error { background: #fdecec; color: #b3261e; border: 1px solid #f4c7c4; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
