/* ASUK Plus: marketing page, buy flow, and the sightings-line box on the case page.
   Tokens come from colors_and_type.css (--asuk-*). */

/* ---------- Shared ---------- */
.plus-page { max-width: 1040px; margin: 0 auto; padding: 32px 20px 80px; color: var(--asuk-default-text, #3C3938); }
.plus-eyebrow { font: 700 12px "Poppins", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--asuk-accent-strong, #B25C5A); margin: 0 0 10px; }
.plus-page h1, .plus-page h2, .plus-page h3 { font-family: "Raleway", sans-serif; color: var(--asuk-heading, #111); line-height: 1.15; }
.plus-page h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 800; margin: 0 0 14px; }
.plus-page h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 0 0 12px; }
.plus-lead { font-size: 18px; line-height: 1.6; max-width: 62ch; margin: 0; color: #4b5563; }
.plus-section { margin-top: 64px; }
.plus-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.plus-notice { margin: 24px 0 0; padding: 16px 18px; border-radius: 12px; background: #fffbeb; border: 1px solid #f6d860; color: #7d5a00; font-size: 16px; line-height: 1.5; }
.plus-notice strong { color: #5f4500; }
.plus-notice--error { background: #fff4f4; border-color: #f0c4c4; color: #8a3a3a; }
.plus-notice--ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }

/* ---------- Offer card ---------- */
.plus-offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-top: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; overflow: hidden; }
@media (max-width: 800px) { .plus-offer { grid-template-columns: 1fr; } }
.plus-offer__price { background: var(--asuk-brand-blue-ink, #1F2B4B); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.plus-offer__tag { font: 700 12px "Poppins", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--asuk-marigold, #FFA740); }
.plus-offer__big { font: 800 56px/1 "Raleway", sans-serif; margin-top: 6px; }
.plus-offer__big small { font: 500 16px "Roboto", sans-serif; opacity: .85; margin-left: 6px; }
.plus-offer__sub { margin: 0; opacity: .9; line-height: 1.5; }
.plus-offer__renew { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .25); line-height: 1.5; }
.plus-offer__incl { padding: 32px 36px; }
.plus-offer__incl h3 { font-size: 20px; margin: 0 0 14px; }

.plus-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plus-ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.plus-ticks i { color: var(--asuk-success, #059652); font-size: 20px; line-height: 1.3; }
.plus-ticks b { display: block; font-weight: 700; color: var(--asuk-heading, #111); }
.plus-ticks span { color: #4b5563; font-size: 15px; line-height: 1.5; }
.plus-soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #f3f4f6; color: #4b5563; font: 600 11px "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }

/* ---------- Steps ---------- */
.plus-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .plus-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plus-steps { grid-template-columns: 1fr; } }
.plus-steps li { position: relative; padding-top: 22px; border-top: 3px solid #e5e7eb; }
.plus-steps li::before { counter-increment: s; content: counter(s); position: absolute; top: -17px; left: 0; width: 31px; height: 31px; border-radius: 50%; background: var(--asuk-accent, #DD7878); color: #fff; display: grid; place-items: center; font: 800 15px "Raleway", sans-serif; }
.plus-steps h3 { font-size: 18px; margin: 0 0 6px; }
.plus-steps p { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.plus-faq { max-width: 780px; margin-top: 20px; }
.plus-faq details { border-bottom: 1px solid #e5e7eb; padding: 4px 0; }
.plus-faq summary { cursor: pointer; font: 700 17px "Raleway", sans-serif; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--asuk-heading, #111); }
.plus-faq summary::-webkit-details-marker { display: none; }
.plus-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--asuk-accent, #DD7878); }
.plus-faq details[open] summary::after { content: "\2212"; }
.plus-faq summary:focus-visible { outline: 3px solid var(--asuk-marigold, #FFA740); outline-offset: 2px; }
.plus-faq p { margin: 0; padding-bottom: 16px; color: #4b5563; line-height: 1.6; }

/* ---------- Case picker on the marketing page ---------- */
.plus-cases { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.plus-cases li { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.plus-cases__name { font-weight: 700; color: var(--asuk-heading, #111); }
.plus-cases__ref { color: var(--asuk-accent-strong, #B25C5A); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.plus-cases__state { margin-left: auto; font-size: 13px; color: #6b7280; }

/* ---------- Buy flow (confirm / pay / done) ---------- */
.plus-flow { max-width: 580px; margin: 0 auto; padding: 40px 20px 72px; }
.plus-card { background: #fff; border: 1px solid #eee; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(0, 0, 0, .05); }
.plus-card__head { padding: 22px 26px; border-bottom: 1px solid #f1f1f1; }
.plus-card__head h1 { font: 800 1.4rem "Raleway", sans-serif; margin: 0; color: var(--asuk-heading, #111); }
.plus-card__body { padding: 24px 26px; }
.plus-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f4f4f4; }
.plus-row img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: #eee; flex: none; }
.plus-row__name { font-weight: 600; color: var(--asuk-heading, #111); }
.plus-row__meta { font-size: 13px; color: #6b7280; }
.plus-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.plus-total span { color: #6b7280; }
.plus-total b { font: 800 1.7rem "Raleway", sans-serif; color: var(--asuk-accent, #DD7878); }
.plus-includes { margin: 18px 0 0; padding-left: 20px; color: #4b5563; font-size: 14.5px; line-height: 1.7; }
.plus-dev { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #eef6ff; border: 1px dashed #b8d4f0; color: #33597a; font-size: 13px; }
.plus-pay-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; padding: 15px; border: none; border-radius: 11px; background: var(--asuk-accent, #DD7878); color: #fff; font: 600 1.02rem "Poppins", sans-serif; cursor: pointer; }
.plus-pay-btn:hover { background: var(--asuk-accent-strong, #B25C5A); }
.plus-cancel { display: block; text-align: center; margin-top: 14px; color: #6b7280; text-decoration: none; font-size: 14px; }
.plus-cancel:hover { color: var(--asuk-accent, #DD7878); }
.plus-fineprint { margin: 12px 0 0; font-size: 13px; color: #6b7280; text-align: center; line-height: 1.5; }

.plus-done { text-align: center; }
.plus-done__tick { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: #e8f7ee; color: #2e9e5b; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.plus-done h1 { margin-bottom: 10px; }
.plus-done .plus-lead { margin: 0 auto 24px; }
.plus-done__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Case page: sightings line box + owner status ---------- */
.case-plus-line { background: #fff7e8; border-color: var(--asuk-marigold, #FFA740); }
.case-plus-line h2 i { color: var(--asuk-accent-strong, #B25C5A); margin-right: 6px; }
.case-plus-line__number { margin: 0 0 8px; font: 800 28px "Raleway", sans-serif; }
.case-plus-line__number a { color: var(--asuk-brand-blue-ink, #1F2B4B); text-decoration: none; }
.case-plus-line > p:last-child { margin: 0; }
.case-plus-status { margin: 14px 0 0; font-size: 14px; color: #8a5a00; font-weight: 600; }

/* ---------- Staff pages (inside the admin layout) ---------- */
.plus-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 1000px) { .plus-admin-grid { grid-template-columns: 1fr; } }
.plus-admin-ref { font: 800 28px "Raleway", sans-serif; letter-spacing: .02em; }
.plus-admin-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.plus-admin-alert--warn { background: #fffbeb; border: 1px solid #f6d860; color: #7d5a00; }
.plus-admin-alert--ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.plus-admin-form .form-field { margin-bottom: 12px; }
.plus-admin-form input[type=text], .plus-admin-form input[type=date], .plus-admin-form input[type=time],
.plus-admin-form input[type=tel], .plus-admin-form textarea { width: 100%; padding: 8px 10px; border: 1px solid #d9dde5; border-radius: 8px; font: inherit; }

/* Small phones: the number scales down instead of overflowing the card */
.case-plus-line { min-width: 0; overflow-wrap: anywhere; }
.case-plus-line__number { font-size: clamp(22px, 7vw, 28px); }

/* ── Case video (ASUK Plus) ── */
.pv-back { display: inline-flex; align-items: center; gap: 6px; color: #6b7280; text-decoration: none; font-size: 14px; }
.pv-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 20px; }
.pv-grid h1 { font: 800 clamp(28px, 4vw, 40px)/1.15 "Raleway", sans-serif; color: var(--asuk-brand-blue-ink, #1F2B4B); margin: 0 0 14px; text-wrap: balance; }
.pv-phone { padding: 12px; border-radius: 34px; background: var(--asuk-brand-blue-ink, #1F2B4B); box-shadow: 0 18px 50px rgba(31, 43, 75, .25); }
.pv-phone__screen { position: relative; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 24px; overflow: hidden; background: #FFF9F6; }
.pv-phone__screen video, .pv-phone__screen img { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.pv-phone__shade { position: absolute; inset: auto 0 0; padding: 60px 20px 22px; background: linear-gradient(transparent, rgba(31, 43, 75, .9)); color: #fff; font: 700 22px "Raleway", sans-serif; display: grid; }
.pv-phone__shade b { color: #DD7878; font-size: 14px; letter-spacing: .1em; }
.pv-phone__wait { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--asuk-brand-blue-ink, #1F2B4B); text-align: center; padding: 20px; }
.pv-phone__wait i { font-size: 44px; color: #DD7878; }
.pv-phone__wait span { color: #6b7280; font-size: 14px; }
.pv-spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #FBE9E9; border-top-color: #DD7878; animation: pv-spin 1s linear infinite; flex: none; }
@keyframes pv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pv-spin { animation-duration: 3s; } }
.pv-state { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: #FBE9E9; color: var(--asuk-brand-blue-ink, #1F2B4B); line-height: 1.5; }
.pv-upsell { margin-top: 24px; padding: 20px 22px; border-radius: 14px; background: var(--asuk-brand-blue-ink, #1F2B4B); color: #fff; display: grid; gap: 10px; justify-items: start; }
.pv-upsell p { margin: 0; opacity: .9; line-height: 1.5; }
.pv-upsell .case-link { color: #fff; opacity: .85; font-size: 14px; }
.pv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pv-btn { display: inline-flex; width: auto; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 13px 20px; border-radius: 11px; font: 600 15px "Poppins", sans-serif; text-decoration: none; cursor: pointer; }
.pv-btn--ghost { background: #fff; color: var(--asuk-brand-blue-ink, #1F2B4B); border: 1.5px solid #e2d6d3; }
.pv-btn--ghost:hover { border-color: #DD7878; }
.pv-btn--sm { padding: 8px 14px; font-size: 13px; justify-self: start; }
.pv-left { text-align: left; }
.pv-caption { display: grid; gap: 8px; margin-top: 24px; }
.pv-caption label { font: 600 13px "Poppins", sans-serif; color: var(--asuk-brand-blue-ink, #1F2B4B); }
.pv-caption textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; font: 14px/1.55 "Roboto", sans-serif; color: #374151; resize: vertical; }
.pv-make { display: grid; gap: 4px; justify-items: start; margin-top: 20px; }
.pv-tips { list-style: none; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid #f0e6e3; display: grid; gap: 12px; }
.pv-tips li { display: flex; gap: 12px; align-items: flex-start; color: #4b5563; font-size: 14.5px; line-height: 1.5; }
.pv-tips i { color: #DD7878; font-size: 18px; margin-top: 1px; }
@media (max-width: 760px) {
  .pv-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pv-phone { max-width: 300px; margin: 0 auto; width: 100%; box-sizing: border-box; }
}
