/* ==========================================================================
   Conscious Birth Manila — shared styles
   Tokens, base typography, layout frame, header/nav, buttons, inquiry form,
   footer. Page-specific styles live in /assets/css/pages/<page>.css
   ========================================================================== */

:root {
  /* Brand palette (from the original Duda theme) */
  --purple: #783588;        /* color_1 — primary text/headings */
  --mauve: #92619b;         /* color_2 — secondary text, wordmark */
  --sienna: #a0522d;        /* color_3 */
  --butter: #f2f7bd;        /* color_4 — buttons, cards */
  --orchid: #a56e9d;        /* color_5 */
  --blush: #eeaeb3;         /* color_7 — form card, pills */
  --lemon: #fffdb5;
  --lavender: #e7d6ea;
  --white: #ffffff;
  --ink: #3a2342;

  --frame-gradient: linear-gradient(90deg, #92619b 0%, #c9a0b4 35%, #ecdcc0 70%, #fdfcb9 100%);
  --soft-yellow-gradient: linear-gradient(180deg, #fffdb5 0%, #fffff0 100%);

  /* Type */
  --font-sans: "Epilogue", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Unna", Georgia, "Times New Roman", serif;
  --font-ui: "Instrument Sans", "Epilogue", system-ui, sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 40px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --section-pad: clamp(64px, 9vw, 140px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--purple);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
ol { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--butter); color: var(--purple); padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* ---------- Type scale ---------- */
.display {               /* big sans hero headline */
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  font-size: clamp(44px, 7vw, 104px);
}
.serif-italic, .h-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--mauve);
}
.h-xl { font-size: clamp(40px, 6vw, 88px); }
.h-lg { font-size: clamp(34px, 4.4vw, 64px); }
.h-md { font-size: clamp(26px, 3vw, 40px); }
.h-sm { font-size: clamp(20px, 2vw, 26px); }
.lead {
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.03em;
}
.small { font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 14px; letter-spacing: 0.02em; }
.center { text-align: center; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }

/* Hero "frame": gradient band with a rounded media card inside */
.hero-frame {
  background: var(--frame-gradient);
  padding: 28px 28px;
}
.hero-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: min(860px, 92vh);
  display: flex;
  flex-direction: column;
  padding: 44px clamp(20px, 3vw, 44px) clamp(28px, 4vw, 64px);
  background: #9bbde0;
  color: var(--purple);
}
.hero-card > .hero-media,
.hero-card > .hero-media img,
.hero-card > .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
}
.hero-body { margin-top: auto; }

/* Opt-in scrims: a soft gradient between the hero media and the text.
   .hero-card--scrim        dark wash from the bottom, for light (butter/white) hero text
   .hero-card--scrim-light  pale haze from the bottom, for purple hero text          */
.hero-card--scrim::after,
.hero-card--scrim-light::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(58,35,66,.62) 0%, rgba(58,35,66,.34) 38%, rgba(58,35,66,0) 72%);
}
.hero-card--scrim-light::after {
  background: linear-gradient(0deg, rgba(255,253,245,.78) 0%, rgba(255,253,245,.45) 40%, rgba(255,253,245,0) 75%);
}
@media (max-width: 760px) {
  .hero-frame { padding: 16px; }
}

/* ---------- Header / nav ---------- */
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}
/* Logo: the source file has ~20% transparent margin, so the image is scaled up
   and offset inside .brand to show the mark itself at full size, on a frosted
   card so it stays legible over any hero image or video. */
.brand {
  --brand-w: clamp(112px, 9vw, 128px);          /* visible logo width */
  display: block; flex: none; box-sizing: content-box;
  width: var(--brand-w); aspect-ratio: 413 / 537;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(120,53,136,.12);
  overflow: hidden;
}
.brand img { width: 145.3%; max-width: none; height: auto; margin: -15.7% 0 0 -22.5%; }
.nav-list {
  display: flex; gap: 4px; margin-top: 20px;
  padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(120,53,136,.12);
}
.nav-list a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 17px;
  text-decoration: none;
  color: var(--purple);
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { background: rgba(242,247,189,.9); }
.nav-list a[aria-current="page"] { background: var(--butter); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }

.menu-toggle {
  display: none;
  min-width: 48px; min-height: 48px;
  border: 0; padding: 9px; margin-top: 8px; cursor: pointer; color: var(--purple);
  border-radius: 50%;
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(120,53,136,.12);
}
.menu-toggle svg { width: 30px; height: 30px; }

/* Mobile slide-in menu (mirrors the original's "Hello, I'm Irina" panel) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto 1fr;
  background: var(--frame-gradient);
  padding: 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.mobile-menu.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
.mobile-menu__inner {
  background: rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu__close { background: none; border: 0; font-size: 34px; line-height: 1; color: var(--purple); cursor: pointer; padding: 4px 10px; min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu__intro { display: flex; gap: 16px; align-items: center; }
.mobile-menu__intro img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.mobile-menu__intro .mobile-menu__name { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 24px; color: var(--purple); }
.mobile-menu__intro p { font-size: 16px; color: var(--mauve); }
.mobile-menu nav a {
  display: block; font-size: 34px; letter-spacing: -0.04em; font-weight: 500;
  text-decoration: none; color: var(--purple); padding: 6px 0;
}
.mobile-menu nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mobile-menu .brand { --brand-w: 72px; padding: 8px; box-shadow: none; }
.mobile-menu__contact { display: grid; gap: 10px; }
.mobile-menu__social { display: flex; gap: 24px; margin-top: auto; }
.mobile-menu__social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--purple); text-decoration: none; font-family: var(--font-serif); font-style: italic; font-size: 22px; }

/* Contact buttons (mobile menu, contact rows) */
.contact-btn {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--white); color: var(--purple);
  border: 1.5px solid var(--lavender);
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 1.25;
  text-decoration: none; overflow-wrap: anywhere;
}
.contact-btn svg { width: 22px; height: 22px; flex: none; }
.contact-btn:hover { border-color: var(--orchid); }
.contact-btn--wa { background: var(--purple); color: var(--white); border-color: var(--purple); }
.contact-btn--wa:hover { background: var(--mauve); border-color: var(--mauve); }

@media (max-width: 900px) {
  .nav-list { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 760px) {
  .brand { --brand-w: 80px; padding: 8px; border-radius: 18px; }
}

/* ---------- Buttons ---------- */
.btn-circle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(150px, 14vw, 208px); aspect-ratio: 1; border-radius: 50%;
  background: var(--butter); color: var(--purple);
  text-align: center; text-decoration: none;
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(19px, 1.7vw, 26px); line-height: 1.2;
  padding: 16px; border: 0; cursor: pointer;
  transition: transform .25s ease, background-color .25s ease;
}
.btn-circle:hover { transform: scale(1.04); background: #fbffc9; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--butter); color: var(--purple);
  font-family: var(--font-ui); font-weight: 500; font-size: 17px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn-pill:hover { background: #fbffc9; transform: translateY(-1px); }
.btn-pill--outline { background: transparent; border: 1.5px solid currentColor; }
.btn-pill--purple { background: var(--purple); color: var(--white); }
.btn-pill--purple:hover { background: var(--mauve); }

/* ---------- Inquiry ("Ready when you are") ---------- */
.inquiry {
  background: var(--soft-yellow-gradient);
  padding-block: clamp(56px, 7vw, 100px);
}
.inquiry__intro {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: start;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.inquiry__intro .eyebrow { font-size: 16px; color: var(--purple); }
.inquiry__intro h2 {
  font-weight: 500; font-size: clamp(26px, 3.1vw, 44px); line-height: 1.3; letter-spacing: -0.04em;
}
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.inquiry__photo { border-radius: var(--radius-md); overflow: hidden; height: 100%; min-height: 420px; }
.inquiry__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.inquiry__formwrap { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.inquiry__submit { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.inquiry__alt { font-size: 16px; color: var(--purple); text-align: center; }
.inquiry__alt a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-underline-offset: 4px; }
.inquiry__email {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; color: var(--purple);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.inquiry__email:hover { text-decoration-thickness: 2px; }
.inquiry__email[hidden] { display: none; }

.form-card {
  width: 100%;
  background: linear-gradient(180deg, var(--blush) 0%, #f7d3d6 70%, rgba(255,255,255,0) 100%);
  border-radius: var(--radius-md);
  padding: clamp(28px, 5vw, 72px);
  padding-bottom: 32px;
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 24px; }
.field { min-width: 0; }
.field { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 16px; color: #62287a; } /* deeper purple: 4.5:1 on the blush card */
.field label .req { margin-left: 2px; }
.field label .opt { font-size: 16px; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #8f5a88;       /* orchid, deepened for 5.3:1 white text */
  color: var(--white);
  border: 0; border-radius: 4px;
  padding: 12px 14px; font-size: 16px; min-height: 48px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.92); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input[type="date"] { color-scheme: dark; }
.field input, .field select { height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.form-status { margin-top: 16px; font-size: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.72); }
.form-status:focus { outline: none; }
.form-status a { font-weight: 500; text-underline-offset: 3px; }
.form-status[hidden] { display: none; }
.form-status h3 { font-size: 22px; font-weight: 500; margin-bottom: 4px; }

@media (max-width: 900px) {
  .inquiry__intro, .inquiry__grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .inquiry__photo { min-height: 0; height: auto; aspect-ratio: 358 / 300; }
  .inquiry__formwrap { align-items: center; }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: 48px; background: var(--white); }
/* The original's footer columns run almost edge to edge (about 44px in at 1440). */
.site-footer > .container { max-width: none; padding-inline: clamp(16px, 3vw, 44px); }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1.5px solid var(--lavender);
  border-left: 1.5px solid var(--lavender);
  border-right: 1.5px solid var(--lavender);
}
.footer-col { padding: 32px 16px 28px; }
.footer-col + .footer-col { border-left: 1.5px solid var(--lavender); }
.footer-col h2 {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 22px; letter-spacing: -0.03em; color: var(--purple); margin-bottom: 14px;
}
.footer-col h2 + ul, .footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--purple); font-size: 16px; }
.footer-col .socials a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -11px; }
.footer-col .socials { padding-left: 11px; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .socials { display: flex; gap: 14px; margin-bottom: 22px; }
.footer-col .socials a { color: var(--purple); }
.footer-col .socials svg { width: 22px; height: 22px; }
.footer-col p { font-size: 16px; }
.footer-col p + p { margin-top: 8px; }
.wordmark {
  font-family: var(--font-sans); font-weight: 400;
  font-size: clamp(56px, 15.4vw, 240px);
  line-height: 1; letter-spacing: -0.05em; text-align: center;
  color: var(--mauve);
  text-shadow: 0 0 15px var(--butter);
  padding: 24px 0 16px;
}
.copyright {
  display: flex; justify-content: center; gap: 6px;
  font-size: 16px; color: var(--purple); text-align: center;
  padding: 16px var(--gutter) 32px;
}
.copyright__year { flex: none; }
.copyright__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.copyright__links li:not(:last-child)::after { content: "|"; margin: 0 6px; }
.copyright a { text-decoration: none; }
.copyright a:hover { text-decoration: underline; }

/* On mobile the link columns are hidden (the menu carries the navigation),
   but the contact column stays so phone visitors can always reach Irina. */
@media (max-width: 760px) {
  .site-footer { padding-top: 32px; }
  .footer-cols { grid-template-columns: 1fr; border-right: 1.5px solid var(--lavender); }
  .footer-col--links { display: none; }
  .footer-col + .footer-col { border-left: 0; }
  .footer-col--contact { padding: 24px 16px; }
  .footer-col--contact p a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
  .footer-col p + p { margin-top: 0; }
  .copyright a { display: inline-block; padding: 12px 6px; margin: -12px -6px; text-decoration: underline; }
  .wordmark { padding-top: 8px; }
  .copyright { justify-content: flex-start; text-align: left; font-size: 16px; padding-inline: 16px; }
  .copyright__year { width: 3.2em; }
  .copyright__links { justify-content: flex-start; }
}

/* ---------- Sticky mobile CTA (partial: sticky-cta) ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1.5px solid var(--lavender);
    box-shadow: 0 -6px 24px rgba(120,53,136,.12);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .3s ease; }
  .sticky-cta a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 16px; border-radius: 999px;
    font-family: var(--font-ui); font-weight: 500; font-size: 16px; text-decoration: none;
  }
  .sticky-cta__book { flex: 1 1 auto; background: var(--butter); color: var(--purple); border: 1.5px solid #d9df9c; }
  .sticky-cta__wa { flex: none; background: var(--purple); color: var(--white); }
  .sticky-cta__wa svg { width: 20px; height: 20px; }
  body.has-sticky-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Floating WhatsApp button (partial: sticky-cta, desktop/tablet) ----------
   Shown above the sticky-CTA breakpoint only; main.js adds .is-hidden while
   #inquire or the footer copyright line is on screen.                      */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--purple); color: var(--white);
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(120,53,136,.28), 0 2px 6px rgba(58,35,66,.16);
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear 0s, background-color .2s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:hover { background: #652c73; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
.wa-float.is-hidden {
  opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none;
  transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
}
@media (max-width: 1100px) {
  /* tablet: icon only (the accessible name comes from aria-label) */
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 760px) { .wa-float { display: none; } }
@media print { .sticky-cta, .wa-float { display: none !important; } }

/* ==========================================================================
   Reusable content components (documented in README → Components)
   ========================================================================== */

/* ---------- Placeholders: .tbc ----------
   A value the owner still has to confirm. Deliberately loud so it is caught
   in review: <span class="tbc">to confirm</span>                                 */
.tbc {
  display: inline-block;
  padding: 1px 10px; border-radius: 6px;
  background: var(--butter); color: var(--purple);
  border: 1.5px dashed var(--purple);
  font-family: var(--font-ui); font-style: normal; font-weight: 500;
  font-size: max(16px, .9em); line-height: 1.5; letter-spacing: 0;
}

/* ---------- Price: .price ---------- */
.price { font-family: var(--font-ui); font-size: 18px; color: var(--purple); }
.price__label { font-size: 16px; letter-spacing: .02em; display: block; opacity: .85; }
.price__amount { font-family: var(--font-sans); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.price__note { display: block; font-size: 16px; margin-top: 2px; }

/* ---------- Ask for rates: .ask-rates ----------
   Stands in wherever a price used to be. Markup:
   .ask-rates > p.ask-rates__label + p.ask-rates__text (optional in compact
   cards) + div.ask-rates__actions > a.ask-rates__wa (svg + span) + a.ask-rates__form */
.ask-rates { font-family: var(--font-ui); color: var(--purple); display: grid; gap: 10px; }
.ask-rates__label {
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 1.3;
  letter-spacing: .08em; text-transform: uppercase; color: var(--purple);
}
.ask-rates__text { font-family: var(--font-sans); font-size: 17px; line-height: 1.5; color: var(--purple); max-width: 46ch; }
.ask-rates__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.ask-rates__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px;
  background: var(--purple); color: var(--white);
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; line-height: 1.2; text-decoration: none;
  transition: background-color .2s, transform .2s;
}
.ask-rates__wa svg { width: 20px; height: 20px; flex: none; }
.ask-rates__wa:hover { background: #652c73; transform: translateY(-1px); }
.ask-rates__form {
  display: inline-flex; align-items: center; min-height: 48px;
  font-family: var(--font-ui); font-weight: 500; font-size: 16px; color: var(--purple);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.ask-rates__form:hover { text-decoration-thickness: 2px; }
.ask-rates__wa:focus-visible, .ask-rates__form:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
/* on the purple-ish / dark backgrounds the pill would vanish: invert it */
.ask-rates--on-dark, .ask-rates--on-dark .ask-rates__label, .ask-rates--on-dark .ask-rates__text, .ask-rates--on-dark .ask-rates__form { color: var(--white); }
.ask-rates--on-dark .ask-rates__wa { background: var(--white); color: var(--purple); }
/* outlined pill, for cards that already carry a solid purple button */
.ask-rates--soft .ask-rates__wa { background: transparent; color: var(--purple); box-shadow: inset 0 0 0 1.5px var(--purple); }
.ask-rates--soft .ask-rates__wa:hover { background: rgba(120,53,136,.08); }

/* ---------- Proof strip: .proof-strip ---------- */
.proof-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 0;
  font-family: var(--font-ui); font-size: 16px; line-height: 1.4; color: var(--purple);
}
.proof-strip > li, .proof-strip > span { display: inline-flex; align-items: center; }
.proof-strip > li + li::before, .proof-strip > span + span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orchid); margin: 0 12px;
}
.proof-strip--pill { padding: 10px 20px; border-radius: 999px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.proof-strip--start { justify-content: flex-start; }
@media (max-width: 760px) {
  .proof-strip { flex-direction: column; gap: 4px; text-align: center; }
  .proof-strip--start { align-items: flex-start; text-align: left; }
  .proof-strip > li + li::before, .proof-strip > span + span::before { display: none; }
  .proof-strip--pill { border-radius: var(--radius-md); }
}

/* ---------- Testimonials: .testimonials + .quote-card ---------- */
.testimonials {
  display: grid; gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.quote-card {
  position: relative; margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fbeff0 0%, #fffdf0 100%);
  color: var(--purple);
}
.quote-card::before {
  content: "“"; position: absolute; top: 4px; left: 20px;
  font-family: var(--font-serif); font-style: italic; font-size: 96px; line-height: 1; color: var(--blush);
  pointer-events: none;
}
.quote-card blockquote { margin: 0; padding-top: 36px; position: relative; }
.quote-card blockquote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.35; letter-spacing: -0.01em; }
.quote-card blockquote p + p { margin-top: 10px; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.quote-card__author { font-weight: 500; font-size: 17px; }
.quote-card__meta { display: block; font-size: 16px; }
.quote-card__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-ui); font-weight: 500; font-size: 16px; color: var(--purple); text-underline-offset: 4px; }

/* ---------- Service card: .service-card ---------- */
.service-cards { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.service-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--lavender);
  color: var(--purple);
}
.service-card--butter { background: var(--butter); border-color: transparent; }
.service-card__media { margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 4px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__title { font-weight: 500; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.04em; }
.service-card__for { font-size: 17px; line-height: 1.5; }
.service-card__for strong, .service-card__label { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--mauve); }
.service-card__includes { display: grid; gap: 8px; font-size: 16px; }
.service-card__includes li { position: relative; padding-left: 24px; }
.service-card__includes li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 3px #fbe3e5; }
.service-card .price, .service-card .ask-rates { margin-top: auto; padding-top: 16px; border-top: 1.5px solid var(--lavender); }
.service-card--butter .ask-rates { border-top-color: #d9df9c; }
/* .ask-rates--top: block placed right under a card title, not pinned to the bottom */
.service-card .ask-rates--top { margin-top: 0; padding-top: 0; border-top: 0; }
.service-card__cta { align-self: flex-start; min-height: 48px; }

/* ---------- Photo frame: .photo-frame ---------- */
.photo-frame { margin: 0; }
.photo-frame__img {
  padding: 10px; border-radius: var(--radius-lg);
  background: var(--frame-gradient);
}
.photo-frame__img img { width: 100%; height: auto; border-radius: calc(var(--radius-lg) - 8px); object-fit: cover; }
.photo-frame--square .photo-frame__img img { aspect-ratio: 1; }
.photo-frame--portrait .photo-frame__img img { aspect-ratio: 4 / 5; }
.photo-frame--landscape .photo-frame__img img { aspect-ratio: 3 / 2; }
.photo-frame figcaption { margin-top: 10px; padding-inline: 8px; font-size: 14px; line-height: 1.45; color: var(--purple); }

/* ---------- FAQ accordion: .faq (on a wrapper of <details>) ----------
   Only styles <details>/<summary> inside .faq, so the older home/doula-support
   FAQ layouts (which also use .faq as a section class) are unaffected.      */
.faq details { border-bottom: 1.5px solid var(--lavender); }
.faq details:first-of-type { border-top: 1.5px solid var(--lavender); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 18px 4px;
  font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -0.03em; color: var(--purple);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background-color: var(--butter);
  background-image: linear-gradient(var(--purple), var(--purple)), linear-gradient(var(--purple), var(--purple));
  background-size: 14px 2px, 2px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.faq details[open] > summary::after { background-size: 14px 2px, 2px 0; }
.faq summary:hover { color: var(--mauve); }
.faq details > :not(summary) { padding: 0 52px 22px 4px; font-size: 17px; line-height: 1.55; }
.faq details > :not(summary) + :not(summary) { margin-top: -10px; }
@media (max-width: 760px) { .faq details > :not(summary) { padding-right: 4px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wa-float:hover, .wa-float.is-hidden, .ask-rates__wa:hover { transform: none; }
}
