/* Contact page design. The first block applies at every width (this page only); the second is the
   phone layout. Both are scoped to html[data-page="contact"], so no other page is affected.
   Content and markup are unchanged. */

/* ---- All widths: numbered section badges, soft form card, pink privacy card ---- */
html[data-page="contact"] .form-section-title span { display: inline-grid; place-items: center; min-width: 30px; height: 26px; margin-right: 10px; padding: 0 7px; border-radius: 7px; background: linear-gradient(135deg, #d3123a, #a50f2c); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
html[data-page="contact"] .form-card { box-shadow: 0 18px 44px rgba(15, 31, 69, .1); }
html[data-page="contact"] .enquiry-options .aside-card:last-child { border: 0; background: linear-gradient(135deg, #fdeef1, #fff6f8); box-shadow: 0 10px 28px rgba(200, 16, 46, .08); }
html[data-page="contact"] .enquiry-options .aside-card:last-child .checklist .i, html[data-page="contact"] .enquiry-options .aside-card:last-child .checklist li::before { color: #c8102e; }
html[data-page="contact"] .enquiry-options .aside-card:last-child h2 { color: #0f1f45; }

@media (max-width: 639px) {
  html[data-page="contact"] body { --ct-red: #c8102e; --ct-pink: #fdeaee; --ct-line: #e3e7f0; --ct-navy: #0f1f45; }
  html[data-page="contact"] .enquiry-section { padding-top: 14px; }
  html[data-page="contact"] .enquiry-section > .container { width: calc(100% - 24px); }
  html[data-page="contact"] .contact-grid { grid-template-columns: minmax(0, 1fr); }
  html[data-page="contact"] .contact-grid > * { min-width: 0; }

  /* Alert */
  html[data-page="contact"] .alert-emergency { margin-bottom: 20px !important; padding: 14px; border: 1px solid #f5c3cd; border-radius: 14px; background: linear-gradient(135deg, #fdeef1, #fff4f6); }
  html[data-page="contact"] .alert-emergency h2 { color: var(--ct-red); font-size: 16px; }
  html[data-page="contact"] .alert-emergency p { font-size: 13px !important; line-height: 1.5 !important; }

  /* Intro with heart on the right */
  html[data-page="contact"] .contact-introduction { position: relative; padding: 4px 4px 0; }
  html[data-page="contact"] .contact-introduction::after { content: ""; position: absolute; top: 0; right: -10px; width: 34%; aspect-ratio: 1; background: url("../img/heart-hero-cutout.webp") center / contain no-repeat; pointer-events: none; }
  html[data-page="contact"] .contact-introduction > .eyebrow { font-size: 11.5px !important; }
  html[data-page="contact"] .contact-introduction h1 { max-width: 70%; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }
  html[data-page="contact"] .contact-introduction .lead { margin-top: 14px; font-size: 13.5px !important; line-height: 1.6 !important; }

  /* Promises: three columns with icon above */
  html[data-page="contact"] .contact-promises { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(15, 31, 69, .09); }
  html[data-page="contact"] .contact-promises > div { display: flex; flex-direction: column; align-items: center; padding: 14px 6px 12px; text-align: center; }
  html[data-page="contact"] .contact-promises > div + div { padding-left: 6px; border-top: 0; border-left: 1px solid var(--ct-line); }
  html[data-page="contact"] .contact-promises .i { grid-row: auto; width: 34px; height: 34px; margin: 0 0 8px; padding: 6px; box-shadow: 0 0 0 4px #fff0f4; background: var(--ct-pink); color: var(--ct-red); }
  html[data-page="contact"] .contact-promises h3 { font-size: 13px; }
  html[data-page="contact"] .contact-promises p { margin-top: 2px; font-size: 11.5px !important; line-height: 1.35 !important; }

  /* Form card */
  html[data-page="contact"] .enquiry-section .form-card { margin-top: 20px; padding: 20px 16px; border-radius: 18px; border: 1px solid #f0d9de; }
  html[data-page="contact"] .form-card h2 { font-size: 22px; line-height: 1.15; }
  html[data-page="contact"] .form-intro { font-size: 13px !important; line-height: 1.55 !important; }
  html[data-page="contact"] .form-section-title { font-size: 16px; }
  html[data-page="contact"] .enquiry-section input:not([type="radio"]):not([type="checkbox"]), html[data-page="contact"] .enquiry-section select, html[data-page="contact"] .enquiry-section textarea { border-radius: 10px; border-color: var(--ct-line); background: #fff; box-shadow: 0 2px 8px rgba(15, 31, 69, .04); }
  html[data-page="contact"] .enquiry-section textarea { min-height: 110px; }

  /* Choices: contact method as three pills, enquirer as two columns */
  html[data-page="contact"] #group-contact_method .choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  html[data-page="contact"] #group-contact_method .choice { justify-content: center; min-height: 46px; padding: 10px 6px; font-size: 13px; text-align: center; }
  html[data-page="contact"] #group-contact_method .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  html[data-page="contact"] #group-enquirer .choices--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html[data-page="contact"] #group-enquirer .choice { min-height: 48px; padding: 8px 10px; font-size: 12.5px; line-height: 1.3; }
  html[data-page="contact"] .enquiry-section .choice { border-radius: 10px; box-shadow: 0 2px 8px rgba(15, 31, 69, .04); }
  html[data-page="contact"] .enquiry-section .choice:has(input:checked) { border-color: var(--ct-red); background: var(--ct-pink); color: var(--ct-red); font-weight: 700; }

  /* Consent and submit */
  html[data-page="contact"] .consent { border-radius: 12px; background: #fff; border: 1px solid var(--ct-line); }
  html[data-page="contact"] .form-card .btn--block { min-height: 52px; border-radius: 12px; font-size: 15px; }
  html[data-page="contact"] .form-footnote { font-size: 12px !important; text-align: center; }

  /* Side cards stack */
  html[data-page="contact"] .enquiry-options { display: grid; gap: 14px; margin-top: 18px; }
  html[data-page="contact"] .enquiry-options .aside-card { border-radius: 18px; }
  html[data-page="contact"] .enquiry-next { background: linear-gradient(160deg, #11224b, #0a1633); }
  html[data-page="contact"] .contact-list .icon-badge { background: var(--ct-pink); color: var(--ct-red); }
}
