/* Araya Health premium theme: extras for the condition pages
   (acupuncture and naturopathic sub-pages). Loaded after premium-base.css and premium-pages.css.
   - .notes: research, lab-test and "see a doctor" panels under the conditions grid
   - .req-form: appointment request form in the booking card (js/lead-request.js) */

/* ============================================================
   NOTES
   ============================================================ */
.notes { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.note { padding: 28px 30px 30px; border-radius: var(--r); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.note h3 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); line-height: 1.4; }
.note p { margin-top: 12px; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.note ul { margin-top: 14px; display: grid; gap: 9px; }
.note li { position: relative; padding-left: 20px; font-size: .98rem; line-height: 1.45; }
.note li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 7px; height: 7px; border-radius: 50%; background: var(--taupe); }
.note .src { margin-top: 14px; font-size: .84rem; color: var(--ink-soft); font-style: italic; }
.note-warn { background: var(--sand); box-shadow: inset 0 0 0 1px var(--line-strong); }
.note-warn h3 { color: var(--espresso); }
.note-warn li::before { background: var(--accent); }
.note-warn .src { font-style: normal; font-weight: 600; color: var(--espresso); }

/* ============================================================
   REQUEST FORM (booking card)
   ============================================================ */
.cta-card .req-form {
  justify-self: end; width: 100%; max-width: 460px;
  padding: 30px 28px 26px; border-radius: var(--r);
  background: rgba(255, 251, 246, .92); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), var(--shadow);
}
.req-form h3 { font-size: 1.6rem; }
.req-sub { margin-top: 6px; font-size: .94rem; color: var(--ink-soft); }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.req-field { display: block; margin-top: 14px; }
.req-field span { display: block; margin-bottom: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.req-field span i { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; }
.req-field input, .req-field select {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 0; border-radius: 12px;
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.req-field select {
  padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236b5040' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
.req-field input:focus, .req-field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.req-field.err input, .req-field.err select { box-shadow: inset 0 0 0 2px var(--espresso); background-color: var(--sand); }
.req-field.err span { color: var(--espresso); }
.req-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-check { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.req-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.req-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.req-form .btn { margin-top: 18px; width: 100%; justify-content: space-between; }
.req-form .btn[disabled] { opacity: .65; pointer-events: none; }
.req-note { margin-top: 12px; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }
.req-msg { margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--espresso); }
.req-msg:empty { display: none; }
.req-done { text-align: left; }
.req-done .tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--eucalyptus); color: var(--paper); }
.req-done .tick svg { width: 22px; height: 22px; }
.req-done h3 { margin-top: 18px; }
.req-done p { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--ink-soft); }
.req-done a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1100px) {
  .cta-card .req-form { justify-self: stretch; max-width: none; }
}
@media (max-width: 600px) {
  .note { padding: 24px 22px 26px; }
  .cta-card .req-form { padding: 24px 18px 22px; }
  .req-row { grid-template-columns: 1fr; gap: 0; }
  .req-form h3 { font-size: 1.45rem; }
}
