/* ========== SERVICE DETAIL PAGE STYLES ========== */
/* Shared across all 13 service detail pages */
/* MedBridge Advisors Design System */

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

:root {
    --dark-surface: #1A1A1A;
    --navy: #000000;
    --orange: #FF6A00;
    --orange-hover: #E55F00;
    --orange-light: rgba(255,106,0,0.08);
    --slate: #555555;
    --slate-light: #8B8B8B;
    --off-white: #F5F7FA;
    --border: #E2E8F0;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.1), 0 12px 28px rgba(0,0,0,0.06);
    --max-w: 1140px;
    --font-display: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: #1E293B; line-height: 1.6; background: white; -webkit-font-smoothing: antialiased; }

/* ========== NAV (matches homepage) ========== */
.nav {
    background: white;
    padding: 16px 24px;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { text-decoration: none; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--orange) !important; color: white !important; padding: 10px 20px; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--orange-hover) !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--navy); }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px 32px; border-bottom: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 16px 32px;
    font-size: 0.8rem;
    color: var(--slate-light);
}
.breadcrumb a { color: var(--slate-light); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ========== HERO ========== */
.service-hero {
    background: var(--navy);
    background-image:
        radial-gradient(ellipse 80% 50% at 70% 40%, rgba(255,106,0,0.08), transparent),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(255,106,0,0.04), transparent);
    padding: 72px 32px 64px;
    position: relative;
    overflow: hidden;
}
.service-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.service-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.service-hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
}
.service-hero h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
    letter-spacing: -0.02em;
}
.service-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.78);
    max-width: 650px;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .service-hero { padding: 52px 24px 48px; }
    .service-hero h1 { font-size: 2rem; }
}

/* ========== CONTENT SECTIONS ========== */
.service-section {
    padding: 64px 32px;
}
.service-section.bg-alt { background: var(--off-white); }
.service-section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.service-section h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.service-section p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 780px;
}

.service-section p:last-child { margin-bottom: 0; }

/* Two-column layout with image */
.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.service-content-grid.reverse { direction: rtl; }
.service-content-grid.reverse > * { direction: ltr; }

.service-content-grid img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

@media (max-width: 900px) {
    .service-content-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-content-grid.reverse { direction: ltr; }
    .service-content-grid img { height: 280px; }
}

/* Full width image */
.service-image-full {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin: 32px 0;
    box-shadow: var(--card-shadow);
}

/* ========== DELIVERABLES LIST ========== */
.deliverables {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}
.deliverables li {
    position: relative;
    padding: 12px 0 12px 32px;
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.65;
    border-bottom: 1px solid var(--border);
}
.deliverables li:last-child { border-bottom: none; }
.deliverables li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
}

/* ========== WHO THIS IS FOR ========== */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.audience-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.6;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.audience-item:hover {
    box-shadow: var(--card-shadow);
    border-color: transparent;
}
@media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } }

/* ========== RELATED SERVICES ========== */
.related-services {
    margin-top: 32px;
    padding: 24px 28px;
    background: var(--off-white);
    border-radius: 10px;
    border-left: 3px solid var(--orange);
}
.related-services h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}
.related-services p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.65;
    max-width: none;
}
.related-services a { color: var(--orange); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.related-services a:hover { color: var(--orange-hover); }

/* ========== TUESDAY TALKS CALLOUT ========== */
.tuesday-talks-callout {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(255,106,0,0.04);
    border: 1px solid rgba(255,106,0,0.12);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.6;
}
.tuesday-talks-callout strong { color: var(--navy); }

/* ========== BOTTOM CTA ========== */
.bottom-cta {
    background: var(--dark-surface);
    background-image: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,106,0,0.06), transparent);
    padding: 72px 32px;
    text-align: center;
}
.bottom-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.bottom-cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 28px auto;
}
.btn-primary {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 13px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.bottom-cta .sub-contact {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-surface);
    color: rgba(255,255,255,0.7);
    padding: 56px 32px 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max-w);
    margin: 0 auto 36px auto;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: white; margin-bottom: 12px; }
.footer p { font-size: 0.875rem; margin-bottom: 6px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; font-size: 0.875rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    max-width: var(--max-w);
    margin: 0 auto;
}

/* Standard site footer (Task 12) */
.mb-site-footer{background:var(--dark-surface);color:rgba(255,255,255,.62);padding:3rem 2rem 2rem;font-family:'Poppins',-apple-system,sans-serif;font-size:.9rem;line-height:1.7;border-top:1px solid rgba(255,255,255,.08);}
.mb-site-footer-inner{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}
.mb-site-footer h4{color:#fff;font-size:1rem;margin:0 0 .75rem;font-weight:600;}
.mb-site-footer p{margin:0 0 .35rem;}
.mb-site-footer ul{list-style:none;padding:0;margin:0;}
.mb-site-footer li{margin-bottom:.35rem;}
.mb-site-footer a{color:#FF6A00;text-decoration:none;}
.mb-site-footer a:hover{text-decoration:underline;}
.mb-site-footer-bottom{max-width:1000px;margin:2rem auto 0;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.08);text-align:center;font-size:.85rem;color:rgba(255,255,255,.45);}
@media(max-width:640px){.mb-site-footer-inner{grid-template-columns:1fr;}}
