/* ============================================================================
   Mobility Minder — request.css  ·  page styles for request.php only
   ----------------------------------------------------------------------------
   Form controls (.mm-field / .mm-label / .mm-tag / .mm-input / .mm-hint /
   .mm-select / .mm-hp) come from site.css. This sheet adds the layout: the
   numbered field groups, the inline-error placeholders the handler fills in,
   the consent row, the second-product <details>, the submit block and the
   sticky "Your Plan" panel with a tier-coloured top (sky / navy / green, exactly
   like the tier cards). Classes are prefixed mmp-request-; every colour, radius
   and shadow is a site token.
   ========================================================================== */

/* ---------- Layout: form + sticky summary ---------- */
.mmp-request-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(28px, 4vw, 56px); align-items: start; }
.mmp-request-journey { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 1040px; margin: 22px 0 0; padding: 0; }
.mmp-request-journey li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 13px; font-weight: 800; }
.mmp-request-journey b { width: 25px; height: 25px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--sky); color: var(--ink); font-family: var(--font-display); }
.mmp-request-journey .is-now { border-color: var(--green); color: var(--ink); }
.mmp-request-journey .is-now b { background: var(--green); }
@media (max-width: 720px) {
  .mmp-request-journey { grid-template-columns: 1fr 1fr; }
  .mmp-request-journey li { border-radius: var(--r-panel); }
}
.mmp-request-fields { display: grid; gap: clamp(24px, 3vw, 32px); min-width: 0; }
.mmp-request-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: var(--sp-3); }
@media (max-width: 960px) {
  .mmp-request-layout { grid-template-columns: 1fr; }
  .mmp-request-panel { order: -1; }
}

/* ---------- Field groups ---------- */
.mmp-request-group { display: grid; gap: 18px; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-card); background: var(--off); min-width: 0; }
.mmp-request-group__head { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; margin-bottom: 4px; }
.mmp-request-group__n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 800; font-size: 18px; display: grid; place-items: center; letter-spacing: -0.02em; }
.mmp-request-group__head h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.mmp-request-group__intro { color: var(--muted); font-size: 17px; max-width: 60ch; margin-top: -6px; }
.mmp-request-equipment-selection { padding: 12px 14px; border-left: 3px solid var(--green); border-radius: 0 10px 10px 0; background: var(--paper); font-size: 16px; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.mmp-request-manual-toggle { justify-self: start; min-height: 48px; padding: 8px 0; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-align: left; cursor: pointer; }
.mmp-request-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .mmp-request-row { grid-template-columns: 1fr; } }

/* ---------- Inline errors: empty placeholders the form handler fills in on re-render ---------- */
.mmp-request-error { display: flex; gap: 8px; align-items: flex-start; padding: 8px 12px; border-left: 4px solid var(--navy); border-radius: 0 var(--r-panel) var(--r-panel) 0; background: var(--sky-soft); color: var(--ink); font-size: var(--text-xs); font-weight: 700; line-height: 1.4; }
.mmp-request-field.is-invalid .mmp-request-input { border-color: var(--navy); border-width: 3px; }
.mmp-request-field.is-invalid .mmp-request-label { color: var(--navy); }

/* ---------- Consent ---------- */
.mmp-request-consent { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; min-height: 48px; }
.mmp-request-consent input { width: 32px; height: 32px; margin: 8px 0 0; accent-color: var(--navy); cursor: pointer; }
.mmp-request-consent label { font-size: var(--text-sm); font-weight: 600; color: var(--text); cursor: pointer; line-height: 1.45; padding-block: 12px 0; }
.mmp-request-consent label a { font-weight: 700; }
.mmp-request-consent .mm-tag { vertical-align: middle; }

/* ---------- Second product (native details) ---------- */
.mmp-request-details { border-radius: var(--r-tile); background: var(--paper); box-shadow: var(--shadow-card); padding: 0 24px; }
.mmp-request-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); letter-spacing: -0.01em; color: var(--ink); }
.mmp-request-details summary::-webkit-details-marker { display: none; }
.mmp-request-details summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform 0.25s var(--ease); }
.mmp-request-details[open] summary { border-bottom: 1px solid var(--line); }
.mmp-request-details[open] summary::after { transform: rotate(45deg); background: var(--navy); }
.mmp-request-details__in { display: grid; gap: 18px; padding: 20px 0 26px; }

/* ---------- Submit block ---------- */
.mmp-request-send { display: grid; gap: 20px; justify-items: start; padding: clamp(24px, 3vw, 32px); border-radius: var(--r-card); background: var(--sky); }
.mmp-request-send .mm-btn { font-size: var(--text-md); min-height: 60px; padding-inline: 34px; }
@media (max-width: 480px) { .mmp-request-send .mm-btn { width: 100%; } }
.mmp-request-assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mmp-request-assure li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.4; }
.mmp-request-assure .mm-ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green); color: var(--ink); flex: none; margin-top: 1px; }
.mmp-request-send__video { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: var(--r-panel); background: var(--paper); font-size: var(--text-sm); font-weight: 600; color: var(--text); line-height: 1.4; }
.mmp-request-send__video .mm-ico { width: 24px; height: 24px; flex: none; color: var(--navy); margin-top: 2px; }
.mmp-request-send__video a { font-weight: 700; }

/* ---------- "Your Plan" summary panel ---------- */
.mmp-request-panel { position: relative; min-width: 0; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card); overflow: hidden; }
.mmp-request-details-jump { display: none; }
@media (max-width: 960px) { .mmp-request-details-jump { display: inline-flex; white-space: normal; } }
.mmp-request-panel__top { display: grid; gap: 6px; padding: 26px 28px 24px; background: var(--navy); color: var(--paper); transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.mmp-request-panel[data-tier="basic"] .mmp-request-panel__top { background: var(--sky); color: var(--ink); }
.mmp-request-panel[data-tier="ultimate"] .mmp-request-panel__top { background: var(--charcoal); color: var(--gold); }
.mmp-request-panel__label { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xs); letter-spacing: 0.02em; opacity: 0.9; }
.mmp-request-panel__name { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1; color: inherit; }
.mmp-request-panel__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-family: var(--font-display); font-weight: 800; }
.mmp-request-panel__amt { font-size: 58px; line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.mmp-request-panel__per { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.mmp-request-panel__meta { font-size: var(--text-xs); font-weight: 600; opacity: 0.92; line-height: 1.4; }
.mmp-request-panel__meta b { font-family: var(--font-display); font-weight: 800; }
.mmp-request-panel__body { display: grid; gap: 16px; padding: 22px 28px 26px; }
.mmp-request-panel__note { font-size: var(--text-xs); font-weight: 600; color: var(--muted); line-height: 1.4; }
.mmp-request-panel__features { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: var(--text-sm); line-height: 1.35; color: var(--text); font-weight: 600; }
.mmp-request-panel__features li { position: relative; padding-left: 32px; }
.mmp-request-panel__features li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.mmp-request-panel__features li::after { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.mmp-request-panel__features li.no { color: var(--muted); }
.mmp-request-panel__features li.no::before { background: var(--line); }
.mmp-request-panel__features li.no::after { background: var(--muted); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.mmp-request-panel__foot { padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--text-xs); font-weight: 600; color: var(--muted); display: grid; gap: 4px; }
.mmp-request-panel__foot .mm-link { min-height: 40px; font-size: var(--text-sm); }
.mmp-request-plan-details { min-width: 0; border-top: 1px solid var(--line); padding-top: 20px; }
.mmp-request-plan-details__heading { font-size: 20px; line-height: 1.3; }
.mmp-request-plan-details .mmp-request-panel__features { border-top: 0; padding-top: 12px; }
.mmp-request-plan-facts { margin: 20px 0 0; display: grid; gap: 14px; font-size: 15px; line-height: 1.5; }
.mmp-request-plan-facts > div { border-top: 1px solid var(--line); padding-top: 14px; }
.mmp-request-plan-facts dt { font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.mmp-request-plan-facts dd { margin: 0; color: var(--muted); }
.mmp-request-panel[data-tier="ultimate"] .mmp-request-panel__features li:not(.no)::before { background: var(--gold); }
/* Below the two-column breakpoint the panel sits above the fields and must scroll away with them. */
@media (max-width: 960px) { .mmp-request-panel { position: static; } }
@media (max-width: 480px) {
  .mmp-request-panel__top { padding: 24px 22px 22px; }
  .mmp-request-panel__body { padding: 20px 22px 24px; }
  .mmp-request-panel__amt { font-size: 52px; }
}
