/* MINKST quote page — patient-facing, mobile-first.
   Palette mirrors the widget/mockup (teal accent family). */

:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --surface-soft: #fafbfc;
    --border: #e4e7ec;
    --border-strong: #cdd2d9;
    --ink: #1f2937;
    --ink-soft: #4b5563;
    --ink-muted: #6b7280;
    --accent: #0f766e;
    --accent-soft: #ccfbf1;
    --accent-ink: #134e4a;
    --warn: #b45309;
    --warn-soft: #fef3c7;
    --shadow: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
    --shadow-lg: 0 8px 24px rgba(15,23,42,.12), 0 2px 6px rgba(15,23,42,.06);
    --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.page { max-width: 640px; margin: 0 auto; padding: 0 16px 64px; }

header { text-align: center; padding: 18px 0 14px; }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: .28em; color: var(--accent-ink); }
.header-sub { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }

.state-note { text-align: center; color: var(--ink-muted); padding: 48px 0; }

.hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 24px 16px;
    text-align: center;
}
.hero h1 { font-size: 21px; font-weight: 650; }
.hero .meta { color: var(--ink-muted); font-size: 13px; margin-top: 8px; }
.hero .meta strong { color: var(--ink-soft); }
.hero .meta span + span::before { content: "·"; margin: 0 7px; color: var(--border-strong); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 24px;
    margin-top: 16px;
}
.card h2 { font-size: 15px; font-weight: 650; margin-bottom: 12px; }

/* ---- Option groups (alternatives) ---- */
.or-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 14px 0 -2px; color: var(--ink-muted);
    font-size: 12px; font-weight: 700; letter-spacing: .12em;
}
.or-divider::before, .or-divider::after {
    content: ""; flex: 1; border-top: 1px solid var(--border);
}
.group-card { border-width: 1.5px; }
.group-note { font-size: 12.5px; color: var(--ink-muted); margin-top: 10px; }

.quote-line { padding: 10px 0; border-bottom: 1px solid var(--surface-soft); }
.quote-line:last-of-type { border-bottom: none; }
.quote-line__top { display: flex; justify-content: space-between; gap: 12px; }
.quote-line__label { font-weight: 600; font-size: 14.5px; }
.quote-line__price { font-weight: 650; font-size: 15px; color: var(--accent-ink); white-space: nowrap; }
.quote-line__desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
.quote-line__sub { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.quote-line__part { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.discount-line { display: flex; justify-content: space-between; padding: 8px 0 0; font-size: 14px; color: var(--accent-ink); }
.group-total {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 12px; padding-top: 12px; border-top: 1.5px solid var(--border);
}
.group-total__label { font-size: 14px; font-weight: 600; }
.group-total__amount { font-size: 20px; font-weight: 750; color: var(--accent-ink); }
.deposit-note { font-size: 12px; color: var(--ink-muted); margin-top: 6px; }

/* ---- Personal note ---- */
.personal-note {
    background: var(--accent-soft); border: 1px solid var(--accent);
    border-radius: var(--radius); padding: 14px 16px; margin-top: 16px;
    font-size: 14px; color: var(--accent-ink);
}
.personal-note__hi { font-weight: 600; margin-bottom: 6px; }
.personal-note__sig { margin-top: 10px; }
.personal-note__sig strong { display: block; font-size: 14px; }
.personal-note__sig span { font-size: 12px; opacity: .85; }

/* ---- Included list ---- */
.included { list-style: none; }
.included li {
    display: flex; gap: 10px; align-items: baseline;
    padding: 7px 0; font-size: 14px; color: var(--ink-soft);
    border-bottom: 1px solid var(--surface-soft);
}
.included li:last-child { border-bottom: none; }
.included .tick { color: var(--accent); font-weight: 700; flex: none; }
.included a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.addon-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); padding: 6px 0; }
.addon-row strong { color: var(--ink); font-weight: 600; }

.disclaimer {
    font-size: 12.5px; color: var(--ink-muted); font-style: italic;
    background: var(--surface-soft); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 14px 16px; margin-top: 16px;
}

/* ---- CTA ---- */
.cta-card { text-align: center; border-color: var(--accent); border-width: 1.5px; }
.cta-card .price-line { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.btn-primary {
    display: block; width: 100%;
    background: var(--accent); color: #fff; border: none;
    border-radius: var(--radius); padding: 15px 20px;
    font-size: 16px; font-weight: 650; font-family: inherit; cursor: pointer;
    box-shadow: var(--shadow-lg); transition: background .12s;
}
.btn-primary:hover { background: var(--accent-ink); }
.btn-primary:disabled { background: var(--border-strong); cursor: default; box-shadow: none; }
.refundable { font-size: 12.5px; color: var(--ink-muted); margin-top: 10px; }
.refundable a { color: var(--accent); }
.cta-confirmed {
    background: var(--accent-soft); color: var(--accent-ink);
    border-radius: var(--radius); padding: 14px 16px; font-size: 14px; font-weight: 600;
}
.btn-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 12px;
    background: var(--surface); color: var(--ink-soft);
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    padding: 13px 20px; font-size: 14.5px; font-weight: 600; font-family: inherit;
    cursor: pointer; text-decoration: none;
}
.btn-whatsapp:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---- Booker strip ---- */
.booker { display: flex; align-items: center; gap: 14px; }
.booker .avatar {
    width: 46px; height: 46px; border-radius: 50%; flex: none;
    background: var(--accent-soft); color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
}
.booker .who { font-size: 14px; }
.booker .who strong { display: block; font-size: 15px; }
.booker .who span { color: var(--ink-muted); font-size: 13px; }

/* ---- Reviews ---- */
.reviews-card { text-align: center; }
.reviews-score { color: var(--accent-ink); font-size: 28px; font-weight: 750; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 17px; }
.reviews-sub { color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }
.btn-reviews {
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    color: var(--ink-soft); display: inline-block; font-size: 14px; font-weight: 600;
    margin-top: 12px; padding: 10px 18px; text-decoration: none;
}
.btn-reviews:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---- Expired / error states ---- */
.expired-card { text-align: center; padding: 34px 24px; }
.expired-card h2 { margin-bottom: 8px; }
.expired-card p { font-size: 14px; color: var(--ink-soft); }

footer { text-align: center; margin-top: 28px; font-size: 11.5px; color: var(--ink-muted); }
footer .ref { margin-top: 4px; }

.demo-banner {
    background: var(--warn-soft); color: var(--warn);
    border-radius: var(--radius); padding: 8px 12px; margin-bottom: 14px;
    font-size: 12.5px; font-weight: 600; text-align: center;
}

.footnote-star { color: var(--ink-muted); font-weight: 600; margin-left: 1px; }
.disclaimer .footnote-star { font-style: normal; margin-right: 2px; }

.quote-line__alt { margin-top: 4px; }
.quote-line__price--alt { font-weight: 600; font-size: 14px; }

.quote-line__choice { margin-top: 6px; padding-left: 12px; }
.quote-line__choice-label { font-size: 14px; color: var(--ink-soft); }

/* What's included: checklist left (the doctor is simply the first item —
   no role descriptor, AHPRA title rules), headshot floating in the blank
   space to the right of the list. */
.included-wrap { align-items: flex-start; display: flex; gap: 18px; }
.included-wrap .included { flex: 1; }
.surgeon-avatar {
    border: 2px solid var(--accent-soft); border-radius: 50%;
    flex: none; height: 92px; margin-top: 4px; object-fit: cover; width: 92px;
}
.surgeon-avatar--initials {
    align-items: center; background: var(--accent-soft); color: var(--accent-ink);
    display: flex; font-size: 28px; font-weight: 700; justify-content: center;
}
/* Phones: keep the photo from squeezing the checklist. */
@media (max-width: 430px) {
    .surgeon-avatar { height: 68px; width: 68px; }
    .surgeon-avatar--initials { font-size: 20px; }
}

/* multiply blends a white-background PNG into the grey page (white -> page
   colour); a no-op for transparent logos with dark artwork. */
.brand-logo { display: block; height: 74px; margin: 0 auto; mix-blend-mode: multiply; }
header .header-sub { display: none; }

.cta-next { color: var(--ink-muted); font-size: 12.5px; margin-top: 8px; }
.cta-sub { color: var(--ink-muted); font-size: 12px; margin-top: 8px; line-height: 1.4; }

/* The refundable fee is a headline differentiator — a highlighted strip,
   not fine print. */
.refundable-box {
    background: var(--accent-soft); border-radius: var(--radius);
    color: var(--accent-ink); font-size: 13.5px;
    margin-top: 14px; padding: 12px 14px;
}
.refundable-box strong { display: block; }
.refundable-box a { color: var(--accent-ink); }

/* Questions card mirrors the centered CTA card. */
.questions-card { text-align: center; }
