/* ==========================================================================
   Medical credentialing — clean clinical / profile-card design. Soft
   coral accent with a mint "valid" colour on bright white and blush
   panels, generous rounding. Centered hero over a provider file card,
   definition panel, credential grid, who-does-what ladder, vertical
   renewal timeline, setting/access panels, centered FAQ.
   Scoped under .lp-medical.
   ========================================================================== */

.lp-medical {
  --mc-coral: #c94f43;
  --mc-coral-d: #a63d33;
  --mc-coral-t: #fcebe8;
  --mc-blush: #fdf6f4;
  --mc-mint: #1f8a66;
  --mc-mint-t: #e2f4ec;
  --mc-amber: #b7700f;
  --mc-amber-t: #fdf0dc;
  --mc-ink: #1e2430;
  --mc-soft: #566070;
  --mc-line: #ece6e4;
  background: #fff;
  color: var(--mc-ink);
}

.lp-medical section { padding: clamp(52px, 7vw, 92px) 0; }
.lp-medical h1, .lp-medical h2, .lp-medical h3 { color: var(--mc-ink); letter-spacing: -0.02em; }
.lp-medical h2 { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.16; font-weight: 700; }
.lp-medical h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.lp-medical p { color: var(--mc-soft); }
.lp-medical .lp-ic { width: 20px; height: 20px; flex-shrink: 0; }

.mc-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--mc-coral-d); margin-bottom: 14px; }
.mc-cross { position: relative; width: 14px; height: 14px; display: inline-block; }
.mc-cross::before, .mc-cross::after { content: ""; position: absolute; background: var(--mc-coral); border-radius: 2px; }
.mc-cross::before { left: 5px; top: 0; width: 4px; height: 14px; }
.mc-cross::after { top: 5px; left: 0; width: 14px; height: 4px; }
.mc-cross.is-lg { width: 44px; height: 44px; margin-bottom: 18px; }
.mc-cross.is-lg::before { left: 15px; width: 14px; height: 44px; border-radius: 4px; }
.mc-cross.is-lg::after { top: 15px; height: 14px; width: 44px; border-radius: 4px; }
.mc-head { max-width: 720px; margin-bottom: 42px; }
.mc-head.is-center { text-align: center; margin-inline: auto; }
.mc-head p { margin-top: 14px; font-size: 17px; line-height: 1.7; }
.mc-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Pills */
.mc-pill { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.mc-pill.is-ok { background: var(--mc-mint-t); color: var(--mc-mint); }
.mc-pill.is-soon { background: var(--mc-amber-t); color: var(--mc-amber); }
.mc-pill.is-miss { background: var(--mc-coral-t); color: var(--mc-coral-d); }

/* Hero */
.lp-medical .mc-hero { padding-top: clamp(28px, 4vw, 44px); padding-bottom: 0; background: linear-gradient(180deg, var(--mc-blush) 0%, #fff 78%); }
.mc-hero-copy { text-align: center; max-width: 820px; margin: 28px auto 0; }
.lp-medical .mc-hero h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; font-weight: 700; }
.mc-lead { margin: 20px auto 0; max-width: 680px; font-size: 18.5px; line-height: 1.7; }

.mc-profile { max-width: 760px; margin: 52px auto 0; background: #fff; border: 1px solid var(--mc-line); border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: 0 -10px 60px rgba(201, 79, 67, 0.1); padding: 26px 30px 10px; }
.mc-profile-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--mc-line); }
.mc-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--mc-coral-t); color: var(--mc-coral-d); display: grid; place-items: center; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.mc-profile-head strong { display: block; font-size: 17px; }
.mc-profile-head small { font-size: 13px; color: var(--mc-soft); }
.mc-ring { margin-left: auto; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--mc-mint) calc(var(--p) * 1%), #eef0f2 0); display: grid; place-items: center; align-content: center; position: relative; flex-shrink: 0; }
.mc-ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.mc-ring b, .mc-ring small { position: relative; line-height: 1.1; text-align: center; }
.mc-ring b { font-size: 17px; }
.mc-ring small { font-size: 10.5px; color: var(--mc-soft); }
.mc-profile ul li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f3eeec; }
.mc-profile ul li:last-child { border-bottom: 0; }
.mc-state { width: 10px; height: 10px; border-radius: 50%; background: var(--mc-mint); }
.mc-state.is-soon { background: var(--mc-amber); }
.mc-state.is-miss { background: var(--mc-coral); }
.mc-cred strong { display: block; font-size: 14.5px; }
.mc-cred small { font-size: 12.5px; color: var(--mc-soft); }

/* Definition */
.lp-medical .mc-define { border-top: 1px solid var(--mc-line); }
.mc-define-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.mc-define-card { background: var(--mc-blush); border-radius: 24px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--mc-line); }
.mc-define-text { font-size: clamp(21px, 2.3vw, 27px); line-height: 1.45; color: var(--mc-ink) !important; }
.mc-define-text strong { color: var(--mc-coral-d); }
.mc-define-grid > div:last-child p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; }

/* Types */
.lp-medical .mc-types { background: var(--mc-blush); }
.mc-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mc-type-grid article { background: #fff; border-radius: 20px; padding: 26px; border: 1px solid var(--mc-line); display: flex; flex-direction: column; }
.mc-type-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--mc-coral-t); color: var(--mc-coral); display: grid; place-items: center; margin-bottom: 16px; }
.mc-type-grid p { margin-top: 8px; font-size: 15px; line-height: 1.65; flex: 1; }
.mc-tag { align-self: flex-start; margin-top: 16px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--mc-mint-t); color: var(--mc-mint); }
.mc-tag.is-soft { background: #f1f2f4; color: var(--mc-soft); }

/* Problems */
.mc-problem-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.mc-problem-grid header p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; }
.mc-problem-list { display: grid; gap: 22px; }
.mc-problem-list li { display: flex; gap: 18px; align-items: flex-start; }
.mc-problem-ic { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--mc-coral-t); color: var(--mc-coral); display: grid; place-items: center; flex-shrink: 0; }
.mc-problem-list p { margin-top: 6px; font-size: 15.5px; line-height: 1.65; }

/* Process ladder */
.lp-medical .mc-process { background: var(--mc-ink); }
.lp-medical .mc-process h2 { color: #fff; }
.lp-medical .mc-process .mc-head p { color: #c2c8d2; }
.lp-medical .mc-process .mc-kicker { color: #f3a49b; }
.mc-ladder { list-style: none; padding: 0; max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.mc-ladder li { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: #283040; border-radius: 16px; padding: 20px 24px; }
.mc-ladder-n { width: 38px; height: 38px; border-radius: 50%; background: var(--mc-coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
.lp-medical .mc-ladder h3 { color: #fff; }
.lp-medical .mc-ladder p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: #c2c8d2; }
.mc-who { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(31, 138, 102, 0.22); color: #8fe0c1; white-space: nowrap; }
.mc-who.is-team { background: rgba(243, 164, 155, 0.18); color: #f6b8b0; }

/* Renewal timeline */
.mc-renew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.mc-renew-grid > div p { margin-top: 16px; font-size: 16.5px; line-height: 1.75; }
.mc-timeline { list-style: none; position: relative; padding-left: 34px; }
.mc-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--mc-coral-t), var(--mc-coral), var(--mc-mint)); }
.mc-timeline li { position: relative; padding: 0 0 26px; }
.mc-timeline li:last-child { padding-bottom: 0; }
.mc-timeline li::before { content: ""; position: absolute; left: -32px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--mc-coral); }
.mc-timeline li.is-done::before { border-color: var(--mc-mint); background: var(--mc-mint); }
.mc-timeline p { margin-top: 4px; font-size: 15px; line-height: 1.6; }

/* Settings + access */
.lp-medical .mc-settings { background: var(--mc-blush); }
.mc-settings-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch; }
.mc-panel { background: #fff; border-radius: 24px; padding: clamp(26px, 3.5vw, 40px); border: 1px solid var(--mc-line); }
.mc-panel.is-soft { background: var(--mc-mint-t); border-color: #cbe9dc; }
.lp-medical .mc-panel h2 { font-size: clamp(23px, 2.4vw, 30px); }
.mc-panel p { margin-top: 14px; font-size: 16px; line-height: 1.7; }
.mc-panel p a { color: var(--mc-mint); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mc-setting-list { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-setting-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; padding: 12px 14px; border-radius: 12px; background: var(--mc-blush); }
.mc-setting-list .lp-ic { color: var(--mc-coral); }

/* FAQ */
.mc-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.mc-faq-list details { border-radius: 16px; background: var(--mc-blush); border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.mc-faq-list details[open] { background: #fff; border-color: var(--mc-line); box-shadow: 0 12px 30px rgba(30, 36, 48, 0.06); }
.mc-faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--mc-ink); }
.mc-faq-list summary::-webkit-details-marker { display: none; }
.mc-faq-list summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--mc-coral); display: grid; place-items: center; font-size: 19px; font-weight: 600; }
.mc-faq-list details[open] summary::after { content: "−"; background: var(--mc-coral-t); }
.mc-faq-list p { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; }
.mc-more { text-align: center; margin-top: 26px; }
.mc-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mc-coral-d); }

/* CTA */
.lp-medical .mc-cta { padding-top: 0; }
.mc-cta-card { text-align: center; max-width: 900px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(22px, 4vw, 56px); border-radius: 28px; background: var(--mc-blush); border: 1px solid var(--mc-line); }
.mc-cta-card p { margin: 14px auto 0; max-width: 560px; font-size: 16.5px; line-height: 1.7; }
.mc-cta-card p a { color: var(--mc-coral-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .mc-define-grid, .mc-problem-grid, .mc-renew-grid, .mc-settings-grid { grid-template-columns: 1fr; }
  .mc-type-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mc-type-grid, .mc-setting-list { grid-template-columns: 1fr; }
  .mc-profile { padding: 20px 18px 6px; border-radius: 20px 20px 0 0; }
  .mc-profile-head { flex-wrap: wrap; }
  .mc-ladder li { grid-template-columns: auto 1fr; }
  .mc-who { grid-column: 2; justify-self: start; }
}
