/* ═══════════════════════════════════════════════════
   Medpinn — style.css
   Standalone PHP site (no WordPress)
═══════════════════════════════════════════════════ */

:root {
    --mp-teal: #1D9E75;
    --mp-teal-dark: #0F6E56;
    --mp-mint: #E1F5EE;
    --mp-ink: #111827;
    --mp-navy: #0B1220;
    --mp-navy-2: #131C2E;
    --mp-muted: #6b7280;
    --mp-border: #e5e7eb;
    --mp-bg: #f9fafb;
    --mp-nav-h: 84px;
}

* , *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--mp-ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; }

a { color: inherit; }

img { max-width: 100%; display: block; }

:focus-visible {
    outline: 2px solid var(--mp-teal);
    outline-offset: 2px;
}

main { display: block; }


/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
.mp-nav {
    background: var(--mp-navy);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mp-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--mp-nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.mp-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.mp-logo-mark {
    display: flex;
    color: var(--mp-teal);
}

.mp-full-logo-img {
    display: block;
    height: 56px;
    width: auto;
}

.mp-full-logo-img--footer {
    height: 64px;
}

.mp-nav-links {
    display: flex;
    align-items: center;
}

.mp-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
    margin-left: 28px;
}

.mp-nav-links a:first-child { margin-left: 0; }

.mp-nav-links a:hover,
.mp-nav-links a.is-active {
    color: #ffffff;
}

.mp-nav-links a.mp-nav-cta {
    background: var(--mp-teal);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
}

.mp-nav-links a.mp-nav-cta:hover { background: var(--mp-teal-dark); }

.mp-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mp-nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.mp-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mp-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.mp-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
    .mp-nav-toggle { display: flex; }
    .mp-full-logo-img { height: 38px; }
    .mp-nav-links {
        position: absolute;
        top: var(--mp-nav-h); left: 0; right: 0;
        background: var(--mp-navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 1.5rem 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .mp-nav-links.is-open { max-height: 320px; }
    .mp-nav-links a { padding: 10px 0; width: 100%; margin-left: 0; }
    .mp-nav-links a.mp-nav-cta { width: auto; margin-top: 6px; }
}

@media (max-width: 420px) {
    .mp-full-logo-img { height: 32px; }
}


/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.mp-footer { background: var(--mp-navy); color: #cbd5e1; margin-top: 4rem; }

.mp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
}

.mp-footer-brand .mp-logo--footer {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px;
    color: #ffffff; margin-bottom: 12px;
}

.mp-footer-brand p { font-size: 13px; line-height: 1.7; color: #94a3b8; max-width: 360px; margin: 0; }

.mp-footer-col h4 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; color: #ffffff; margin: 0 0 14px;
}

.mp-footer-col a, .mp-footer-col .mp-footer-note {
    display: block; font-size: 13px; color: #94a3b8;
    text-decoration: none; margin-bottom: 10px;
}

.mp-footer-col a:hover { color: #ffffff; }

.mp-footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.25rem 1.5rem;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 700px) {
    .mp-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}


/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.mph-hero {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    position: relative;
}

.mph-pulse {
    position: absolute;
    top: 18px; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 640px;
    height: 40px;
    opacity: 0.35;
}

.mph-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mp-teal-dark);
    background: var(--mp-mint);
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
}

.mph-headline {
    font-size: 40px;
    font-weight: 700;
    color: var(--mp-ink);
    line-height: 1.2;
    margin: 0 0 16px;
    position: relative;
}

.mph-sub {
    font-size: 16px;
    color: var(--mp-muted);
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.mph-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.mph-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mph-stat-num { font-size: 28px; font-weight: 700; color: var(--mp-teal); line-height: 1; font-family: 'Sora', sans-serif; }
.mph-stat-label { font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; }

.mph-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 2rem; }
.mph-pill {
    font-size: 13px; font-weight: 500; color: #374151;
    background: #f3f4f6; border: 1px solid var(--mp-border);
    border-radius: 99px; padding: 5px 14px;
}

.mph-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.mph-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.15s;
}

.mph-btn--primary { background: var(--mp-teal); color: #ffffff; border: 2px solid var(--mp-teal); }
.mph-btn--primary:hover { background: var(--mp-teal-dark); border-color: var(--mp-teal-dark); }
.mph-btn--secondary { background: transparent; color: #374151; border: 2px solid #d1d5db; }
.mph-btn--secondary:hover { background: #f9fafb; border-color: #9ca3af; }

@media (max-width: 600px) {
    .mph-headline { font-size: 28px; }
    .mph-stats { gap: 1.25rem; }
    .mph-stat-num { font-size: 22px; }
}


/* ════════════════════════════════════════════════
   END-TO-END RCM SERVICES (homepage)
════════════════════════════════════════════════ */
.mp-rcm-list { background: #ffffff; }
.mp-rcm-list-inner { max-width: 1000px; margin: 0 auto; padding: 1rem 1.5rem 3.5rem; }

.mp-rcm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 2rem;
}

.mp-rcm-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mp-rcm-item:hover { border-color: #c4c9d4; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }

.mp-rcm-num {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-teal-dark);
    background: var(--mp-mint);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .mp-rcm-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .mp-rcm-grid { grid-template-columns: 1fr; }
    .mp-rcm-list-inner { padding: 0.5rem 1.5rem 3rem; }
}


/* ════════════════════════════════════════════════
   SPECIALTY STRIP (homepage)
════════════════════════════════════════════════ */
.mp-specialty { background: var(--mp-bg); border-top: 1px solid var(--mp-border); border-bottom: 1px solid var(--mp-border); }
.mp-specialty-inner { max-width: 780px; margin: 0 auto; padding: 3.5rem 1.5rem; text-align: center; }
.mp-specialty-text h2 { font-size: 26px; font-weight: 700; color: var(--mp-ink); margin: 0 0 12px; line-height: 1.3; }
.mp-specialty-text p { font-size: 15px; color: var(--mp-muted); line-height: 1.7; margin: 0 auto 1.5rem; max-width: 600px; }
.mp-specialty-pills { margin-bottom: 1.75rem; }


/* ════════════════════════════════════════════════
   OTHER SERVICES TEASER (homepage)
════════════════════════════════════════════════ */
.mp-teaser-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.mp-teaser-text h2 { font-size: 22px; font-weight: 700; color: var(--mp-ink); margin: 8px 0 8px; line-height: 1.3; }
.mp-teaser-text p { font-size: 14px; color: var(--mp-muted); margin: 0; max-width: 480px; line-height: 1.6; }


/* ════════════════════════════════════════════════
   RCM FORM
════════════════════════════════════════════════ */
.mpf-wrap { max-width: 920px; margin: 0 auto; padding: 3rem 1.5rem; }

.mpf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--mp-bg);
}

.mpf-left {
    padding: 2.5rem 2rem;
    background: var(--mp-bg);
    border-right: 1px solid var(--mp-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mpf-eyebrow {
    display: inline-block; font-size: 11px; font-weight: 600;
    letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--mp-teal-dark); background: var(--mp-mint);
    padding: 4px 12px; border-radius: 99px; margin-bottom: 16px;
}

.mpf-title { font-size: 22px; font-weight: 700; color: var(--mp-ink); margin: 0 0 10px; line-height: 1.35; }
.mpf-sub { font-size: 14px; color: var(--mp-muted); margin: 0 0 1.5rem; line-height: 1.6; }

.mpf-promises { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.mpf-promises li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #4b5563; padding: 5px 0; line-height: 1.5; }
.mpf-check { color: var(--mp-teal); font-weight: 700; font-size: 14px; flex-shrink: 0; }

.mpf-divider { border: none; border-top: 1px solid var(--mp-border); margin: 0 0 1.25rem; }

.mpf-social { display: flex; align-items: center; gap: 12px; }
.mpf-avatars { display: flex; }
.mpf-av {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 600;
    margin-left: -8px; border: 2px solid var(--mp-bg);
}
.mpf-avatars .mpf-av:first-child { margin-left: 0; }
.mpf-av1 { background: #dbeafe; color: #1e40af; }
.mpf-av2 { background: var(--mp-mint); color: var(--mp-teal-dark); }
.mpf-av3 { background: #EEEDFE; color: #534AB7; }
.mpf-social-text { font-size: 12px; color: var(--mp-muted); line-height: 1.5; margin: 0; }

.mpf-right { padding: 2.5rem 2rem; background: #ffffff; }
.mpf-form-title { font-size: 15px; font-weight: 700; color: var(--mp-ink); margin: 0 0 1.25rem; }

.mpf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.mpf-field { margin-bottom: 12px; }
.mpf-row-2 .mpf-field { margin-bottom: 0; }

.mpf-field label { display: block; font-size: 12px; font-weight: 600; color: #4b5563; margin-bottom: 5px; }
.mpf-req { color: #dc2626; margin-left: 2px; }

/* honeypot — visually hidden, still in tab order escape */
.mpf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mpf-form input[type="text"],
.mpf-form input[type="email"],
.mpf-form input[type="tel"],
.mpf-form select {
    width: 100%; height: 38px; padding: 0 12px; font-size: 13px;
    color: var(--mp-ink); background: #ffffff;
    border: 1px solid #d1d5db; border-radius: 8px; outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none; appearance: none;
}

.mpf-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.mpf-form input:focus, .mpf-form select:focus {
    border-color: var(--mp-teal);
    box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}

.mpf-form input::placeholder { color: #9ca3af; }

.mpf-submit {
    width: 100%; height: 44px; margin-top: 6px;
    background: var(--mp-teal); color: #ffffff;
    font-size: 14px; font-weight: 600; border: none; border-radius: 8px;
    cursor: pointer; transition: background 0.15s; letter-spacing: 0.01em;
}
.mpf-submit:hover { background: var(--mp-teal-dark); }

.mpf-privacy { font-size: 11px; color: #9ca3af; text-align: center; margin: 10px 0 0; }

.mpf-success {
    text-align: center; padding: 4rem 2rem;
    background: #ffffff; border: 1px solid var(--mp-border); border-radius: 14px;
}
.mpf-success-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--mp-mint);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
}
.mpf-success h1 { font-size: 22px; font-weight: 700; color: var(--mp-ink); margin: 0 0 10px; }
.mpf-success p { font-size: 14px; color: var(--mp-muted); line-height: 1.6; max-width: 420px; margin: 0 auto 1.5rem; }
.mpf-back-link { font-size: 13px; color: var(--mp-teal); text-decoration: none; font-weight: 500; }
.mpf-back-link:hover { text-decoration: underline; }

@media (max-width: 680px) {
    .mpf-grid { grid-template-columns: 1fr; }
    .mpf-left { border-right: none; border-bottom: 1px solid var(--mp-border); padding: 2rem 1.5rem; }
    .mpf-right { padding: 2rem 1.5rem; }
    .mpf-row-2 { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════
   OTHER SERVICES PAGE
════════════════════════════════════════════════ */
.mos-section { max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem; }
.mos-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }

.mos-section-eyebrow {
    display: inline-block; font-size: 11px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--mp-teal-dark); background: var(--mp-mint);
    padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
}

.mos-section-title { font-size: 30px; font-weight: 700; color: var(--mp-ink); margin: 0 0 12px; line-height: 1.3; }
.mos-section-sub { font-size: 15px; color: var(--mp-muted); line-height: 1.7; margin: 0; }

.mos-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 2rem; }

.mos-card {
    background: #ffffff; border: 1px solid var(--mp-border); border-radius: 14px;
    padding: 2rem 1.75rem; display: flex; flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mos-card:hover { border-color: #c4c9d4; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.mos-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.mos-icon-wrap { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mos-icon--blue { background: #dbeafe; color: #1e40af; }
.mos-icon--teal { background: var(--mp-mint); color: var(--mp-teal-dark); }
.mos-icon--purple { background: #EEEDFE; color: #534AB7; }

.mos-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 99px; }
.mos-eyebrow--blue { background: #dbeafe; color: #1e40af; }
.mos-eyebrow--teal { background: var(--mp-mint); color: var(--mp-teal-dark); }
.mos-eyebrow--purple { background: #EEEDFE; color: #534AB7; }

.mos-card-title { font-size: 18px; font-weight: 700; color: var(--mp-ink); margin: 0 0 6px; line-height: 1.3; }
.mos-card-tagline { font-size: 13px; font-weight: 600; color: #374151; margin: 0 0 12px; line-height: 1.5; }
.mos-card-desc { font-size: 13px; color: var(--mp-muted); line-height: 1.7; margin: 0 0 1.25rem; flex: 1; }

.mos-points { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.mos-points li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #4b5563; padding: 4px 0; line-height: 1.5; }
.mos-bullet { font-weight: 700; font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.mos-bullet--blue { color: #1e40af; }
.mos-bullet--teal { color: var(--mp-teal); }
.mos-bullet--purple { color: #534AB7; }

.mos-who { font-size: 12px; font-weight: 500; padding: 8px 12px; border-radius: 8px; margin-bottom: 1.25rem; line-height: 1.5; }
.mos-who--blue { background: #eff6ff; color: #1e40af; }
.mos-who--teal { background: #f0fdf9; color: var(--mp-teal-dark); }
.mos-who--purple { background: #f5f3ff; color: #534AB7; }

.mos-cta { display: block; font-size: 13px; font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 8px; border: 1.5px solid; text-align: center; transition: background 0.15s, color 0.15s; }
.mos-cta--blue { color: #1e40af; border-color: #93c5fd; background: transparent; }
.mos-cta--blue:hover { background: #dbeafe; color: #1e3a8a; }
.mos-cta--teal { color: var(--mp-teal-dark); border-color: #6ee7b7; background: transparent; }
.mos-cta--teal:hover { background: var(--mp-mint); color: #085041; }
.mos-cta--purple { color: #534AB7; border-color: #c4b5fd; background: transparent; }
.mos-cta--purple:hover { background: #EEEDFE; color: #3C3489; }

.mos-footer-note {
    background: var(--mp-bg); border: 1px solid var(--mp-border); border-radius: 12px;
    padding: 1.75rem 2rem; display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
}
.mos-footer-note p { font-size: 13px; color: var(--mp-muted); line-height: 1.6; margin: 0; max-width: 600px; }
.mos-general-cta { font-size: 13px; font-weight: 600; color: var(--mp-teal); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.mos-general-cta:hover { text-decoration: underline; }

@media (max-width: 900px) { .mos-cards { grid-template-columns: 1fr 1fr; } }

@media (max-width: 600px) {
    .mos-section { padding: 3rem 1rem; }
    .mos-section-title { font-size: 22px; }
    .mos-cards { grid-template-columns: 1fr; }
    .mos-footer-note { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ════════════════════════════════════════════════
   PRIVACY POLICY PAGE
════════════════════════════════════════════════ */
.mp-privacy { padding: 4rem 1.5rem; }

.mp-privacy-inner { max-width: 760px; margin: 0 auto; }

.mp-privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--mp-border);
}

.mp-privacy-title {
    font-size: 36px; font-weight: 700; color: var(--mp-ink);
    margin: 12px 0 10px; line-height: 1.2;
}

.mp-privacy-meta { font-size: 13px; color: var(--mp-muted); margin: 0; }

.mp-privacy-body p {
    font-size: 15px; color: #374151; line-height: 1.8; margin: 0 0 1.25rem;
}

.mp-privacy-body h2 {
    font-size: 18px; font-weight: 700; color: var(--mp-ink);
    margin: 2rem 0 0.75rem; padding-left: 14px;
    border-left: 3px solid var(--mp-teal);
}

.mp-privacy-body ul { margin: 0 0 1.25rem 0; padding-left: 1.5rem; }

.mp-privacy-body ul li { font-size: 15px; color: #374151; line-height: 1.8; padding: 2px 0; }

.mp-privacy-body a { color: var(--mp-teal); text-decoration: none; font-weight: 500; }
.mp-privacy-body a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .mp-privacy { padding: 2.5rem 1.25rem; }
    .mp-privacy-title { font-size: 26px; }
}

.mp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mp-footer-privacy-link {
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
}
.mp-footer-privacy-link:hover { color: #ffffff; }
