/* ============================================================
   A New Dawn Birth Services — Desert / Crunchy design system
   Single source of truth for the static preview AND the
   WordPress theme (enqueued from functions.php).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Desert palette */
  --clay:        #a9542f;  /* primary terracotta */
  --clay-deep:   #8a4022;
  --rust:        #bd6a41;
  --gold:        #d99a5b;
  --sand:        #e7b177;
  --sand-soft:   #f1dcc0;
  --cream:       #fbf5ec;  /* page background */
  --cream-2:     #f5ead9;  /* alternating section */
  --cream-3:     #efe0cb;
  --ink:         #453a31;  /* body text, warm brown */
  --ink-soft:    #6d5d50;
  --sage:        #8d9a78;  /* crunchy green accent */
  --sage-deep:   #6e7c5b;
  --white:       #fffdfa;

  /* Typography */
  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-head:    'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Rhythm */
  --wrap:    1120px;
  --wrap-sm: 760px;
  --radius:  18px;
  --radius-lg: 32px;
  --shadow:  0 18px 40px -24px rgba(122, 63, 33, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(122, 63, 33, 0.4);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--clay-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--clay-deep);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: .3px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); color: var(--clay); }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--rust);
  margin: 0 0 1rem;
}
.lede { font-size: 1.22rem; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-sm { width: min(100% - 2.5rem, var(--wrap-sm)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--cream2 { background: var(--cream-2); }
.section--sand { background: linear-gradient(180deg, var(--cream-2), var(--cream-3)); }
.section--clay { background: var(--clay); color: var(--sand-soft); }
.section--clay h2, .section--clay h3 { color: var(--white); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.measure { max-width: 62ch; }
.center .measure { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .02em;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--clay-deep); color: var(--white); }
.btn--ghost { border-color: var(--clay); color: var(--clay); background: transparent; }
.btn--ghost:hover { background: var(--clay); color: var(--white); }
.btn--light { background: var(--sand-soft); color: var(--clay-deep); }
.btn--light:hover { background: var(--white); color: var(--clay-deep); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 236, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(169, 84, 47, 0.14);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--clay-deep); }
.brand:hover { color: var(--clay-deep); }
.brand svg, .brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.08rem; letter-spacing: .12em; color: var(--clay-deep);
}
.brand-tag {
  font-family: var(--font-display); font-size: .58rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--rust); margin-top: .28rem;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .3rem 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .22s ease;
}
.nav-links a:hover { color: var(--clay); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: .4rem; }
.nav-cta a::after { display: none; } /* CTA gets only the pill fill on hover — no underline */
/* Subtler header CTA — an outline pill, not a heavy solid oval */
.nav-cta .btn { padding: .5rem 1.25rem; font-size: .92rem; font-weight: 600; letter-spacing: .01em; }
.nav-cta .btn--primary {
  background: transparent;
  color: var(--clay);
  border-color: rgba(169, 84, 47, 0.35);
  box-shadow: none;
}
.nav-cta .btn--primary:hover {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--clay-deep); padding: .4rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--sand-soft) 0%, rgba(241,220,192,0) 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.hero .sun-rays { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { color: var(--clay-deep); margin-bottom: .35em; }
.hero .lede { max-width: 40ch; margin-inline: auto; }
.hero-logo { width: min(340px, 72vw); margin: 0 auto 1.4rem; }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.9rem; }

/* Arch divider echoing the sunrise */
.arch-top { border-top-left-radius: 50% 90px; border-top-right-radius: 50% 90px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 901px) { .grid-3 > .grid-center-last { grid-column: 2; } }
.dropdown .dropdown-sep { border-top: 1px solid rgba(169,84,47,.18); margin: .4rem .8rem; }
.dropdown .dropdown-label a, .dropdown .dropdown-label span { display: block; padding: .3rem .9rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.dropdown .dropdown-label span { cursor: default; }
.card {
  background: var(--white);
  border: 1px solid rgba(169, 84, 47, 0.12);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; margin-bottom: 1rem;
  color: var(--rust);
}
.card h3 { margin-bottom: .35em; }

/* Pricing / package cards */
.tiers { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(169, 84, 47, 0.16);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.tier--featured { border-color: var(--gold); box-shadow: var(--shadow); }
.tier--featured::before {
  content: "Most complete";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--clay-deep);
  font-family: var(--font-body); font-weight: 800; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.tier h3 { color: var(--clay); margin-bottom: .1em; }
.tier .price { font-family: var(--font-head); font-size: 2.6rem; color: var(--clay-deep); font-weight: 600; line-height: 1; margin: .4rem 0 .2rem; }
.tier .price span { font-size: 1rem; color: var(--ink-soft); font-family: var(--font-body); }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.tier li { padding: .5rem 0 .5rem 1.7rem; position: relative; border-top: 1px dashed rgba(169,84,47,.18); }
.tier li:first-child { border-top: 0; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: .95rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sand), var(--gold));
}
.tier .btn { margin-top: auto; justify-content: center; }

/* Simple price line items */
.price-list { display: grid; gap: 1.2rem; }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; background: var(--white);
  border: 1px solid rgba(169,84,47,.12); border-radius: var(--radius);
}
.price-row .amount { font-family: var(--font-head); font-size: 1.5rem; color: var(--clay-deep); font-weight: 600; white-space: nowrap; }

/* ---------- Feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Notes / callouts ---------- */
.note {
  background: var(--cream-3);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  color: var(--ink);
}
.note strong { color: var(--clay-deep); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid rgba(169,84,47,.14);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; color: var(--clay-deep); }
.field .req { color: var(--rust); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid rgba(169,84,47,.25);
  border-radius: 12px; background: var(--cream); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,154,91,.25);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--clay-deep); color: var(--sand-soft); padding: 2.2rem 0 1.4rem; }
.site-footer a { color: var(--sand-soft); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .8fr .75fr; gap: 2rem; align-items: start; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag { color: var(--sand); }
.footer-brand p { color: rgba(241,220,192,.85); max-width: 34ch; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .5rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .3rem; }
.footer-links li { white-space: nowrap; }

/* Eye-catching hero subtitle under an h1 */
.hero-sub { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--clay); font-style: italic; margin: .1rem 0 .6rem; text-wrap: balance; }
.footer-links li { break-inside: avoid; }
.footer-brand p { margin-top: .2rem; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(241,220,192,.2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .85rem; color: rgba(241,220,192,.75);
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  text-align: center; padding: clamp(2.6rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-hero .eyebrow { justify-content: center; }
.plaque-deadline {
  display: inline-block; margin: 1.1rem auto 0;
  font-size: 1rem; color: var(--clay-deep);
  background: var(--white); border: 1.5px solid var(--clay);
  padding: .5rem 1.15rem; border-radius: 999px;
}
.plaque-deadline strong { color: var(--clay); }
/* Brand the Plaque form's submit button to the business clay */
.wpf-brand div.wpforms-container button[type="submit"].wpforms-submit,
.wpf-brand .wpforms-submit {
  background-color: var(--clay) !important;
  border: 1.5px solid var(--clay) !important;
  color: var(--white) !important;
  border-radius: 10px; font-weight: 700; padding: .7rem 1.6rem;
}
.wpf-brand div.wpforms-container button[type="submit"].wpforms-submit:hover,
.wpf-brand .wpforms-submit:hover {
  background-color: var(--clay-deep) !important;
  border-color: var(--clay-deep) !important;
}

/* ---------- Misc ---------- */
.pill {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em;
  background: var(--sage); color: var(--white); padding: .3rem .9rem; border-radius: 999px;
}
/* Wrapping badge groups: row-gap gives wrapped rows vertical breathing room
   (inline-block vertical margins don't affect wrapped-line spacing). */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.divider-leaf { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold); margin: 1.4rem 0; }
.divider-leaf::before, .divider-leaf::after { content: ""; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--gold)); }
.faq { border-top: 1px solid rgba(169,84,47,.16); }
.faq details { border-bottom: 1px solid rgba(169,84,47,.16); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-size: 1.3rem; color: var(--clay-deep); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: .8rem; color: var(--ink-soft); }

/* Reusable inline collapsible (e.g. tucking a large graphic out of the way) */
.collapse { border-top: 1px solid rgba(169,84,47,.16); margin-top: .9rem; padding-top: .7rem; }
.collapse summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 700; font-size: .95rem; color: var(--clay-deep); }
.collapse summary::-webkit-details-marker { display: none; }
.collapse summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; }
.collapse[open] summary::after { content: "\2013"; }
.collapse > *:not(summary) { margin-top: .85rem; }

/* ---------- Animated payments accordion ---------- */
/* Each panel's content is wrapped (via JS) in .acc-outer > .acc-inner. The
   <details> is kept permanently open so its content is never size-contained;
   the visible state is driven by .is-open, animated with the grid-rows trick
   so opening one and closing another happen simultaneously. */
#pay-accordion .acc-outer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s cubic-bezier(.22,.61,.36,1); }
#pay-accordion details.is-open .acc-outer { grid-template-rows: 1fr; }
#pay-accordion .acc-inner { overflow: hidden; min-height: 0; }
#pay-accordion summary { font-size: 1.42rem; }
#pay-accordion details[open] summary::after { content: "+"; }
#pay-accordion details.is-open summary::after { content: "\2013"; }
/* brief highlight when arriving via a deep link (e.g. from the services page) */
#pay-accordion details.acc-highlight { animation: accHighlight 2s ease both; border-radius: 12px; }
#pay-accordion tr.acc-highlight > td { animation: accHighlight 2s ease both; }
#pay-accordion .note-flash.acc-highlight { animation: accHighlight 2s ease both; border-radius: 8px; }
@keyframes accHighlight { 0% { background: rgba(217,154,91,.42); } 70% { background: rgba(217,154,91,.20); } 100% { background: rgba(217,154,91,0); } }
@media (prefers-reduced-motion: reduce) { #pay-accordion .acc-outer { transition: none; } }

/* ---------- "Is home birth right for us?" comparison card ---------- */
.fit-box { border: 1px solid var(--gold); border-radius: 20px; background: var(--cream); padding: clamp(1.3rem, 3.5vw, 2.2rem); }
.fit-title { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--clay-deep); font-size: clamp(1.3rem, 3.6vw, 1.7rem); line-height: 1.15; text-align: center; margin: 0 0 .5rem; }
.fit-sub { font-family: var(--font-head); font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: var(--ink-soft); text-align: center; max-width: 48ch; margin: 0 auto clamp(1.2rem, 3vw, 1.7rem); }
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 1.3rem); }
.fit-card { border: 1px solid rgba(217, 154, 91, .5); border-radius: 14px; overflow: hidden; background: var(--white); }
.fit-head { color: var(--white); text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; padding: .78rem 1rem; }
.fit-head--sage { background: var(--sage); }
.fit-head--clay { background: var(--clay); }
.fit-list { list-style: none; margin: 0; padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.fit-list li { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.35; color: var(--ink); position: relative; padding-left: 1.35rem; }
.fit-list li::before { content: ""; position: absolute; left: .12rem; top: .5em; width: 7px; height: 7px; border-radius: 50%; }
.fit-list--sage li::before { background: var(--sage); }
.fit-list--clay li::before { background: var(--clay); }
.fit-foot { font-family: var(--font-head); font-size: clamp(1.02rem, 2.6vw, 1.18rem); color: var(--clay-deep); text-align: center; margin: clamp(1.1rem, 3vw, 1.5rem) 0 0; }
/* Stack the two cards once the row gets cramped, so each reads full-width. */
@media (max-width: 640px) { .fit-cols { grid-template-columns: 1fr; } }

/* ---------- Midwife bio: name + credentials sit above the photo on mobile,
   while desktop keeps the photo beside the full text via grid areas. ---------- */
.bio { display: grid; gap: 1.4rem; align-items: start; }
@media (min-width: 901px) {
  .bio { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); row-gap: .3rem; }
  .bio--photo-left  { grid-template-areas: "photo head" "photo body"; }
  .bio--photo-right { grid-template-areas: "head photo" "body photo"; }
  .bio-head  { grid-area: head; }
  .bio-photo { grid-area: photo; }
  .bio-body  { grid-area: body; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .tiers { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    /* Reversed so Inquire sits at the top; Services below is a collapsed
       accordion, so the menu stays short and calm rather than a long list. */
    flex-direction: column-reverse; align-items: stretch;
    gap: .05rem; background: var(--cream);
    padding: 1rem 1.6rem 1.7rem;
    border-bottom: 1px solid rgba(169,84,47,.12);
    box-shadow: 0 26px 44px -24px rgba(122,63,33,.5);
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    /* Smooth open: slide + fade rather than an abrupt show. */
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links > li > a {
    display: block; width: 100%; padding: .92rem .3rem;
    font-family: var(--font-head); font-size: 1.4rem; font-weight: 600;
    line-height: 1.1; color: var(--clay-deep); border: 0; letter-spacing: .005em;
  }
  .nav-links > li > a::after { display: none; }
  .nav-links .nav-cta { margin: .1rem 0 1.15rem; padding-bottom: 1.15rem; border-bottom: 1px solid rgba(169,84,47,.14); }
  .nav-cta .btn { display: block; width: 100%; text-align: center; padding: .95rem 1.25rem; font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; }
  .nav-cta .btn--primary { background: var(--clay); color: var(--white); border-color: var(--clay); box-shadow: 0 12px 26px -16px rgba(122,63,33,.65); }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}


/* ---------- Services dropdown ---------- */
.has-dropdown { position: relative; }
.has-dropdown > a .caret { font-size: .7em; margin-left: .28rem; display: inline-block; }
.dropdown {
  list-style: none; margin: 0; padding: .45rem;
  position: absolute; top: 100%; left: 0; min-width: 236px;
  background: var(--white); border: 1px solid rgba(169,84,47,.16);
  border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; z-index: 60;
}
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: .6rem .85rem; border-radius: 11px; font-size: .92rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--cream-2); color: var(--clay); }
@media (max-width: 900px) {
  /* Services is a tap-to-open accordion; the sub-list slides open smoothly. */
  .nav-links > .has-dropdown > a { display: flex; align-items: center; justify-content: space-between; }
  .has-dropdown > a .caret { display: inline-block; margin: 0; font-size: .78em; color: var(--clay); transition: transform .28s ease; }
  .has-dropdown.open > a .caret { transform: rotate(180deg); }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; background: transparent; min-width: 0;
    margin: 0; padding: 0 0 0 1rem;
    max-height: 0; overflow: hidden; transition: max-height .32s ease;
  }
  .has-dropdown.open .dropdown { max-height: 760px; padding-bottom: .5rem; }
  .dropdown a { padding: .58rem .3rem; border: 0; font-weight: 500; font-size: 1.02rem; color: var(--ink); }
  .dropdown a:hover, .dropdown a:focus { background: transparent; color: var(--clay); }
  .dropdown .dropdown-sep { display: none; }
  .dropdown .dropdown-label a, .dropdown .dropdown-label span {
    padding: .95rem .3rem .25rem; font-size: .66rem; letter-spacing: .18em; color: var(--rust);
  }
  .dropdown > li:first-child .dropdown-label a { padding-top: .4rem; }
}


/* ---------- Payment link chips (subtle) ---------- */
.paylink { display:inline-flex; align-items:center; gap:.24rem; padding:.1rem .4rem; border-radius:6px; background:rgba(169,84,47,.06); color:var(--clay); font-weight:600; text-decoration:none; white-space:nowrap; transition:background .18s ease; }
.paylink::after { content:"\2197"; font-size:.82em; opacity:.75; }
.paylink:hover { background:rgba(169,84,47,.15); }
.paylink--soon { background:transparent; color:var(--ink-soft); }

/* ---------- WPForms: nested sub-questions ---------- */
/* The placenta add-ons are follow-ups to "which other services", but WPForms has
   no true nesting — a conditional field is a sibling. Indenting them under their
   controller is what makes them read as part of that question rather than as two
   more top-level ones. */
.wpforms-container .and-subq {
  border-left: 2px dashed rgba(169,84,47,.35);
  padding-left: 1.1rem !important;
  margin-left: .35rem;
}
.wpforms-container .and-subq .wpforms-field-label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--clay-deep);
}

/* The confirming note under "who would you prefer to see" — a quiet gold callout,
   as the original static form had it. Without this it inherits full body size and
   shouts louder than the question it belongs to. */
.wpforms-container .and-note {
  margin: 0;
  padding: .6rem .85rem;
  background: rgba(217, 154, 91, .14);
  border-radius: 8px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--clay-deep);
}
.wpforms-container .wpforms-field-content .and-note { margin-top: 0; }
