/* ==========================================================================
   Contact page
   Hero (portrait of Irina + direct contact buttons) → shared inquiry partial
   → short FAQ → two birth-story quotes.
   ========================================================================== */

:where(.page-contact) :is(h1, h2, h3, p) { letter-spacing: -0.05em; }

/* ---------- Hero ---------- */
.contact-hero {
  min-height: 0;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(242,247,189,.9) 0%, rgba(242,247,189,0) 55%),
    linear-gradient(135deg, #f6eef7 0%, #fbeff0 48%, #fffdf0 100%);
  color: var(--purple);
  padding-bottom: clamp(32px, 4vw, 64px);
}
.contact-hero__body {
  margin-top: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.contact-hero__eyebrow {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em; color: var(--mauve); margin-bottom: 14px;
}
.contact-hero__title {
  color: var(--purple);
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.07em;
  max-width: 820px;
}
.contact-hero__intro {
  margin-top: clamp(18px, 2vw, 26px);
  max-width: 560px;
  font-size: 18px; line-height: 1.5; letter-spacing: -0.02em;
}

/* Direct contact buttons: shared .contact-btn, laid out as a 3-up row */
.contact-hero__btns {
  margin-top: clamp(24px, 2.6vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 12px;
  max-width: 860px;
}
.contact-hero__btns .contact-btn {
  min-height: 76px; padding: 14px 18px; border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(120,53,136,.08);
}
.contact-hero__btns .contact-btn:not(.contact-btn--wa) { border-color: #d9bfdc; }
.contact-hero__btns .contact-btn svg { width: 26px; height: 26px; }
.contact-btn__label { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.contact-btn__sub { display: block; font-size: 14px; font-weight: 400; line-height: 1.35; margin-top: 2px; }
.contact-btn--wa .contact-btn__sub { color: rgba(255,255,255,.9); }

.contact-hero__area {
  margin-top: 18px;
  display: flex; align-items: flex-start; gap: 8px;
  font-family: var(--font-ui); font-size: 16px; line-height: 1.45; letter-spacing: 0;
  max-width: 820px;
}
.contact-hero__area svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--mauve); }

/* Portrait */
.contact-hero__media { position: relative; justify-self: center; width: 100%; max-width: 440px; }
.contact-hero__photo .photo-frame__img { box-shadow: 0 18px 50px rgba(120,53,136,.16); }
.contact-hero__photo .photo-frame__img img { object-position: 50% 18%; }
.contact-hero__cta {
  position: absolute; left: clamp(-56px, -3.6vw, -24px); bottom: 36px;
  width: clamp(124px, 10vw, 150px);
  font-size: clamp(17px, 1.4vw, 20px);
  box-shadow: 0 10px 30px rgba(120,53,136,.18);
}
.contact-hero__cta span { font-size: 1.1em; }

/* Doodles: masked SVGs tinted with the brand colours */
.contact-doodle {
  display: block; pointer-events: none;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.contact-doodle--hero {
  position: absolute; right: -34px; top: -30px; width: 96px; height: 98px;
  background: var(--mauve);
  -webkit-mask-image: url("/assets/svg/doodle-smiley-flower.svg"); mask-image: url("/assets/svg/doodle-smiley-flower.svg");
}
.contact-doodle--stories {
  width: 64px; height: 92px; margin-bottom: 10px; background: var(--purple);
  -webkit-mask-image: url("/assets/svg/doodle-peace-hand.svg"); mask-image: url("/assets/svg/doodle-peace-hand.svg");
}

/* ---------- Inquiry (shared partial) ----------
   The hero already shows Irina's portrait, so on this page the partial's
   abstract photo is hidden and the form gets the full, centred column. */
.page-contact .inquiry { padding-top: clamp(56px, 6vw, 96px); }
.page-contact .inquiry .container { max-width: 1040px; }
.page-contact .inquiry__photo { display: none; }
.page-contact .inquiry__grid { grid-template-columns: minmax(0, 1fr); }
.page-contact .inquiry__intro { margin-bottom: clamp(28px, 3.5vw, 48px); }

/* ---------- FAQ ---------- */
.contact-faq { padding-block: clamp(56px, 7vw, 110px); background: var(--white); }
.contact-faq__grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 110px); align-items: start;
}
.contact-faq__title { font-size: clamp(38px, 4.6vw, 68px); line-height: 1.08; }
.contact-faq__lead { margin-top: 18px; font-size: 18px; line-height: 1.5; letter-spacing: -0.02em; max-width: 420px; }
.contact-faq__lead a { font-weight: 500; text-underline-offset: 4px; }
.contact-faq__list p { letter-spacing: -0.01em; }

/* ---------- Birth stories ---------- */
.contact-stories {
  padding-top: clamp(16px, 2vw, 32px);
  padding-bottom: clamp(56px, 7vw, 110px);
  background: linear-gradient(180deg, #ffffff 0%, #f6eef7 100%);
}
.contact-stories__head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.contact-stories__title { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.1; }
.contact-stories .testimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-stories__cta {
  margin-top: clamp(28px, 3.5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: center;
}
.contact-stories__cta .btn-pill { min-height: 48px; color: var(--purple); }
.contact-stories__cta .btn-pill--purple { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .contact-hero__btns { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .contact-hero__btns .contact-btn { min-height: 64px; }
}

@media (max-width: 900px) {
  .contact-hero__body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-hero__media { max-width: 360px; }
  .contact-hero__cta { left: -20px; bottom: 24px; }
  .contact-doodle--hero { right: -14px; }
  .contact-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-stories .testimonials { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .contact-hero { padding-top: 28px; }
  .contact-hero__body { margin-top: 24px; }
  .contact-hero__eyebrow { font-size: 21px; margin-bottom: 8px; }
  .contact-hero__title { font-size: 38px; line-height: 1.06; }
  .contact-hero__intro { font-size: 17px; }
  .contact-hero__btns .contact-btn { min-height: 60px; padding: 10px 16px; }
  .contact-hero__media { max-width: 280px; margin-right: 8px; }
  .contact-hero__cta { width: 112px; font-size: 16px; left: -28px; bottom: 18px; }
  .contact-doodle--hero { width: 72px; height: 74px; top: -24px; right: -18px; }
}
