/* =================================================================
   Dental Clinic Premium Theme
   A polished, modern theme for dental/healthcare clinic websites
   ================================================================= */

/* -- Design Tokens ------------------------------------------------ */
:root {
    --mc-primary: #2A7FBA;
    --mc-primary-dark: #1F6094;
    --mc-primary-light: #EBF5FB;
    --mc-primary-soft: #D0E9F7;
    --mc-accent: #00BFA6;
    --mc-accent-dark: #009988;
    --mc-accent-light: #E0F8F5;
    --mc-surface: #F8FBFD;
    --mc-surface-strong: #E5EEF3;
    --mc-ink: #2E3A46;
    --mc-muted: #6B8A9A;
    --mc-border: rgba(42, 127, 186, 0.12);
    --mc-shadow-xs: 0 1px 3px rgba(46, 58, 70, 0.04);
    --mc-shadow-sm: 0 2px 8px rgba(46, 58, 70, 0.06);
    --mc-shadow: 0 8px 30px rgba(46, 58, 70, 0.08);
    --mc-shadow-lg: 0 20px 60px rgba(46, 58, 70, 0.12);
    --mc-shadow-accent: 0 12px 28px rgba(0, 191, 166, 0.20);
    --mc-radius: 16px;
    --mc-radius-lg: 24px;
    --mc-radius-pill: 999px;
    --mc-body-font: 'Manrope', sans-serif;
    --mc-heading-font: 'Fraunces', serif;
    --mc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mc-transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --mc-sky: #A7D8F5;          /* hover states, soft highlights */
    --mc-sky-light: #EEF8FE;
}

/* -- Base --------------------------------------------------------- */
body.medcore-body {
    font-family: var(--mc-body-font);
    color: var(--mc-ink);
    background: var(--mc-surface);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--mc-primary-soft);
    color: var(--mc-primary-dark);
}

.text-muted { color: var(--mc-muted) !important; }
a { color: var(--mc-primary); transition: color var(--mc-transition-fast); }
a:hover { color: var(--mc-primary-dark); }
.text-primary { color: var(--mc-primary) !important; }
.bg-primary { background-color: var(--mc-primary) !important; }
.bg-light { background-color: var(--mc-surface-strong) !important; }
img { max-width: 100%; }

/* -- Typography --------------------------------------------------- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--mc-accent);
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--mc-accent);
    border-radius: 2px;
}

.text-center .section-eyebrow::before { display: none; }

.section-title {
    font-family: var(--mc-heading-font);
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--mc-ink);
    position: relative;
    padding-bottom: 1.1rem;
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--mc-accent), var(--mc-primary));
    border-radius: var(--mc-radius-pill);
}

.section-title--left { text-align: left; }
.section-title--left::after { left: 0; transform: none; }

/* -- Buttons ------------------------------------------------------ */
.btn {
    border-radius: var(--mc-radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    padding: 0.7rem 1.5rem;
    border-width: 1.5px;
    transition: all var(--mc-transition);
    position: relative;
    overflow: hidden;
}

.btn-lg { padding: 0.85rem 1.8rem; font-size: 0.95rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

.btn-primary {
    background: var(--mc-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--mc-shadow-accent);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--mc-primary-dark);
    border-color: transparent;
    box-shadow: 0 16px 36px rgba(14, 124, 123, 0.25);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: rgba(14, 124, 123, 0.25);
    color: var(--mc-primary);
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--mc-primary);
    border-color: var(--mc-primary);
    color: #fff;
    box-shadow: var(--mc-shadow-accent);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--mc-accent);
    border-color: transparent;
    color: #fff;
}

.btn-accent:hover {
    background: var(--mc-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-light {
    background: #fff;
    border-color: transparent;
    color: var(--mc-primary);
    font-weight: 700;
}

.btn-light:hover {
    background: var(--mc-primary-light);
    color: var(--mc-primary-dark);
    transform: translateY(-1px);
}

/* -- Navbar ------------------------------------------------------- */
.medcore-navbar {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(14, 124, 123, 0.06);
    z-index: 1040;
    transition: all var(--mc-transition);
}

.medcore-navbar .container {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(14, 124, 123, 0.08);
    border-radius: 20px;
    padding: 0.6rem 1.2rem;
    box-shadow: var(--mc-shadow-sm);
}

.navbar-brand { text-decoration: none; }
.navbar-brand img { max-height: 40px; }

.brand-name {
    font-family: var(--mc-heading-font);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    color: var(--mc-ink);
}

.brand-tagline {
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mc-muted);
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem !important;
    color: var(--mc-ink);
    border-radius: var(--mc-radius-pill);
    transition: all var(--mc-transition-fast);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--mc-primary) !important;
    background: var(--mc-primary-light);
}

.nav-cta-btn {
    white-space: nowrap;
    font-size: 0.85rem !important;
    padding: 0.55rem 1.2rem !important;
}

/* Language Switcher */
.lang-switcher-btn {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-color: var(--mc-border);
    color: var(--mc-ink);
    border-radius: var(--mc-radius-pill);
    padding: 0.3rem 0.7rem;
}

.lang-switcher-btn:hover {
    background: var(--mc-primary-light);
    border-color: var(--mc-primary);
    color: var(--mc-primary);
}

.dropdown-item.active { background: var(--mc-primary); }
.dropdown-item form { margin: 0; }

/* =================================================================
   HERO SECTION
   ================================================================= */
.hero-section {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #EDF5FC;
}

/* Right-half background image — bleeds to viewport edge */
.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Gradient fade from bg color into image */
.hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #EDF5FC 0%,
        rgba(237, 245, 252, 0.85) 18%,
        rgba(237, 245, 252, 0.4) 42%,
        rgba(237, 245, 252, 0) 68%
    );
    z-index: 1;
}

.hero-section::before { display: none; }
.hero-section::after { display: none; }

.hero-text-col { padding: 5rem 0; }

.hero-section .btn-outline-primary {
    border-color: rgba(14, 124, 123, 0.3);
    color: var(--mc-primary-dark);
}
.hero-section .btn-outline-primary:hover {
    background: var(--mc-primary);
    border-color: var(--mc-primary);
    color: #fff;
}

.hero-title {
    font-family: var(--mc-heading-font);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--mc-ink);
    margin-bottom: 1.25rem;
}

.hero-title .text-accent { color: var(--mc-accent); }

.hero-subtitle {
    max-width: 30rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--mc-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.hero-trust-stars { display: flex; gap: 2px; color: #F5A623; font-size: 0.95rem; }
.hero-trust-text { font-size: 0.82rem; color: var(--mc-muted); font-weight: 600; }

/* Hero decorative side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.hero-visual-grid {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-card-float {
    background: #fff;
    border-radius: var(--mc-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--mc-shadow);
    border: 1px solid rgba(14, 124, 123, 0.06);
    position: relative;
}

.hero-card-float--main { padding: 2rem; }

.hero-card-float--small {
    position: absolute;
    padding: 1rem 1.25rem;
    border-radius: var(--mc-radius);
    z-index: 2;
}

.hero-card-float--small.card-top-right {
    top: -20px;
    right: -30px;
    animation: float-gentle 4s ease-in-out infinite;
}

.hero-card-float--small.card-bottom-left {
    bottom: -15px;
    left: -25px;
    animation: float-gentle 4s ease-in-out infinite 2s;
}

.hero-stat { display: flex; align-items: center; gap: 0.75rem; }

.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-stat-icon--primary { background: var(--mc-primary-light); color: var(--mc-primary); }
.hero-stat-icon--accent { background: var(--mc-accent-light); color: var(--mc-accent); }

.hero-stat-number {
    font-family: var(--mc-heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mc-ink);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--mc-muted);
    font-weight: 600;
    margin-top: 2px;
}

.hero-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.hero-services-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mc-ink);
}

.hero-services-list li i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    background: var(--mc-primary-light);
    color: var(--mc-primary);
    flex-shrink: 0;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* -- Hero Info Cards ---------------------------------------------- */
.hero-cards-section {
    margin-top: -2.5rem;
    position: relative;
    z-index: 4;
    padding-bottom: 1rem;
}

.hero-info-card {
    padding: 1.75rem 1.5rem;
    background: #fff;
    height: 100%;
    border: 1px solid var(--mc-border);
    border-radius: 0;
    transition: all var(--mc-transition);
}

.hero-cards-section .col-md-4:first-child .hero-info-card {
    border-radius: var(--mc-radius) 0 0 var(--mc-radius);
}

.hero-cards-section .col-md-4:last-child .hero-info-card {
    border-radius: 0 var(--mc-radius) var(--mc-radius) 0;
}

.hero-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mc-shadow);
    z-index: 1;
}

.hero-info-card--accent {
    background: var(--mc-primary);
    color: #fff;
    border-color: transparent;
}

.hero-info-card--accent .hero-info-card-icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.hero-info-card--accent .hero-info-card-title { color: #fff; }
.hero-info-card--accent .hero-info-card-label { color: rgba(255, 255, 255, 0.7); }
.hero-info-card--accent .hero-info-card-text { color: rgba(255, 255, 255, 0.85); }
.hero-info-card--accent .hero-info-card-link { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hero-info-card--accent .hero-info-card-link:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }

.hero-info-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--mc-primary-light);
    color: var(--mc-primary);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.hero-info-card-title {
    font-family: var(--mc-heading-font);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--mc-ink);
}

.hero-info-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mc-muted);
    margin-bottom: 0.6rem;
}

.hero-info-card-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--mc-muted);
    margin-bottom: 1rem;
}

.hero-info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mc-primary);
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border: 1.5px solid var(--mc-border);
    border-radius: var(--mc-radius-pill);
    transition: all var(--mc-transition-fast);
}

.hero-info-card-link:hover {
    background: var(--mc-primary);
    border-color: var(--mc-primary);
    color: #fff;
}

/* =================================================================
   SERVICES SECTION
   ================================================================= */
.services-section { padding: 5rem 0; background: #fff; }

.service-card {
    background: #fff;
    border: 1px solid var(--mc-border);
    border-radius: var(--mc-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--mc-transition);
    height: 100%;
    box-shadow: var(--mc-shadow-xs);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mc-shadow-lg);
    border-color: rgba(14, 124, 123, 0.15);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: all var(--mc-transition);
}

.service-card:hover .service-card-icon { transform: scale(1.08); }

.service-card-icon--primary { background: var(--mc-primary-light); color: var(--mc-primary); }
.service-card-icon--accent { background: var(--mc-accent-light); color: var(--mc-accent); }
.service-card-icon--teal { background: #D0E9F7; color: #2A7FBA; }
.service-card-icon--blue { background: #E3F0FC; color: #2E7BB5; }

.service-card h5 {
    font-family: var(--mc-heading-font);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--mc-ink);
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--mc-muted);
    margin-bottom: 0;
}

/* -- About / Why Choose Us ---------------------------------------- */
.about-section { padding: 5rem 0; background: var(--mc-surface-strong); }

.about-feature { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: var(--mc-primary-light);
    color: var(--mc-primary);
}

.about-feature h6 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; color: var(--mc-ink); }
.about-feature p { font-size: 0.85rem; line-height: 1.6; color: var(--mc-muted); margin-bottom: 0; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.about-stat-card {
    background: #fff;
    border-radius: var(--mc-radius);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--mc-border);
    box-shadow: var(--mc-shadow-xs);
}

.about-stat-number {
    font-family: var(--mc-heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--mc-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mc-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =================================================================
   CARD SYSTEM
   ================================================================= */
.card { border-radius: var(--mc-radius-lg); }

.staff-card,
.testimonial-card,
.blog-card {
    border-radius: var(--mc-radius-lg);
    border: 1px solid var(--mc-border);
    box-shadow: var(--mc-shadow-xs);
    transition: all var(--mc-transition);
    overflow: hidden;
}

.staff-card:hover,
.testimonial-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--mc-shadow);
    border-color: rgba(14, 124, 123, 0.14);
}

.staff-card .card-title,
.blog-card .card-title { font-weight: 700; color: var(--mc-ink); }
.blog-card .card-img-top { border-radius: 0; }

/* -- Badges ------------------------------------------------------- */
.badge {
    border-radius: var(--mc-radius-pill);
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.75rem;
}

.badge.bg-primary.bg-opacity-10.text-primary {
    background: var(--mc-primary-light) !important;
    color: var(--mc-primary) !important;
    border: 1px solid rgba(14, 124, 123, 0.12);
}

.badge.bg-light.text-muted.border {
    background: var(--mc-surface-strong) !important;
    color: var(--mc-ink) !important;
    border-color: var(--mc-border) !important;
    font-weight: 600;
}

/* -- Testimonials ------------------------------------------------- */
.testimonials-section { padding: 5rem 0; background: var(--mc-surface-strong); }

.testimonial-card .card-body {
    position: relative;
    padding: 1.75rem;
}

.testimonial-card .card-body::before {
    content: '\201C';
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    font-family: var(--mc-heading-font);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--mc-primary-light);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    color: #F5A623;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--mc-ink);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }

.testimonial-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mc-primary-light);
}

.testimonial-author strong { font-size: 0.88rem; color: var(--mc-ink); display: block; }
.testimonial-author small { font-size: 0.78rem; color: var(--mc-muted); }

/* -- CTA Section -------------------------------------------------- */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(135deg, #1A5F8A 0%, #2A7FBA 50%, #3592CC 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(196, 154, 108, 0.1);
}

.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-eyebrow { color: rgba(255, 255, 255, 0.5); }
.cta-section .section-eyebrow::before { background: rgba(255, 255, 255, 0.3); }
.cta-section h2 { font-family: var(--mc-heading-font); color: #fff; }
.cta-section p { color: rgba(255, 255, 255, 0.75); }

/* -- WhatsApp Float ----------------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 56px; height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 1050;
    text-decoration: none;
    transition: all var(--mc-transition);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* -- LGPD Banner -------------------------------------------------- */
.lgpd-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(26, 47, 51, 0.96);
    color: #d5dfe0;
    z-index: 1060;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}
.lgpd-banner a { color: #fff; }

/* =================================================================
   FOOTER
   ================================================================= */
.medcore-footer {
    background: linear-gradient(180deg, #152A2F 0%, #0E1E22 100%);
}

.footer-brand-lockup h5 { font-family: var(--mc-heading-font); font-size: 1.5rem; }

.footer-tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.footer-contact-list li { display: flex; align-items: flex-start; }
.footer-contact-list i { margin-top: 0.18rem; }
.footer a:hover { color: #fff !important; }

.medcore-footer h6 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--mc-transition-fast);
}

.footer-social a:hover {
    background: var(--mc-primary);
    border-color: var(--mc-primary);
    transform: translateY(-2px);
}

/* =================================================================
   BLOG PAGES
   ================================================================= */
.page-header {
    padding: 3.5rem 0 2rem;
    background: linear-gradient(135deg, #F8FBFD 0%, #D0E9F7 100%);
    border-bottom: 1px solid var(--mc-border);
}

.blog-detail-hero { padding: 3rem 0 1rem; }

.blog-detail-title {
    font-family: var(--mc-heading-font);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--mc-ink);
}

.blog-featured-image {
    border-radius: var(--mc-radius-lg);
    overflow: hidden;
    box-shadow: var(--mc-shadow);
}

.blog-featured-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.blog-content-body { font-size: 1.05rem; line-height: 1.85; }

.blog-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--mc-radius);
    margin: 1.5rem 0;
}

/* -- Rich Content ------------------------------------------------- */
.rich-content { color: var(--mc-ink); font-size: 1.02rem; line-height: 1.85; }
.rich-content > * + * { margin-top: 1rem; }

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    font-family: var(--mc-heading-font);
    color: var(--mc-ink);
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.rich-content h2 { font-size: 1.6rem; }
.rich-content h3 { font-size: 1.35rem; }
.rich-content p { margin-bottom: 0; color: var(--mc-muted); }
.rich-content ul, .rich-content ol { padding-left: 1.2rem; margin-bottom: 0; }
.rich-content li { margin-bottom: 0.5rem; color: var(--mc-muted); }
.rich-content strong { color: var(--mc-ink); }

/* -- Breadcrumbs -------------------------------------------------- */
.breadcrumb { font-size: 0.82rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--mc-muted); }
.breadcrumb-item a { color: var(--mc-muted); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--mc-primary); }

/* -- Forms -------------------------------------------------------- */
.form-control, .form-select {
    border-radius: 12px;
    border-color: var(--mc-border);
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    transition: all var(--mc-transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.1);
}

.form-label { font-size: 0.85rem; font-weight: 600; color: var(--mc-ink); margin-bottom: 0.35rem; }

/* -- Staff Detail ------------------------------------------------- */
.appointment-sidebar { position: sticky; top: 5rem; }

.staff-profile-image {
    width: 200px; height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--mc-primary-light);
    box-shadow: var(--mc-shadow);
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 991.98px) {
    .medcore-navbar .container { border-radius: 16px; }
    .hero-section { min-height: auto; }
    .hero-text-col { padding: 3rem 0; }
    .hero-bg-image { width: 100%; }
    .hero-bg-image::after {
        background: linear-gradient(
            to right,
            #EDF5FC 0%,
            rgba(237, 245, 252, 0.92) 30%,
            rgba(237, 245, 252, 0.7) 55%,
            rgba(237, 245, 252, 0.3) 80%,
            transparent 100%
        );
    }
}

@media (max-width: 767.98px) {
    .hero-section { text-align: center; min-height: 480px; }
    .hero-bg-image::after {
        background: linear-gradient(
            to bottom,
            rgba(237, 245, 252, 0.92) 0%,
            rgba(237, 245, 252, 0.75) 40%,
            rgba(237, 245, 252, 0.5) 70%,
            rgba(237, 245, 252, 0.2) 100%
        );
    }
    .hero-bg-image { width: 100%; }
    .hero-bg-image img { object-position: 70% center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }

    .hero-info-card { border-radius: 0 !important; border-bottom: 1px solid var(--mc-border); }
    .hero-cards-section .col-md-4:first-child .hero-info-card { border-radius: var(--mc-radius) var(--mc-radius) 0 0 !important; }
    .hero-cards-section .col-md-4:last-child .hero-info-card { border-radius: 0 0 var(--mc-radius) var(--mc-radius) !important; }
    .hero-cards-section { margin-top: 1.5rem; }

    .section-title { font-size: 1.8rem; }
    .section-eyebrow::before { display: none; }

    .whatsapp-float {
        bottom: 1rem; right: 1rem;
        width: 48px; height: 48px;
        font-size: 1.3rem;
    }

    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .about-stat-number { font-size: 1.5rem; }
    .staff-profile-image { width: 160px; height: 160px; }
    .btn-lg { width: 100%; }
    .footer-social { justify-content: center; }
}

/* -- Utility ------------------------------------------------------ */
.py-section { padding: 5rem 0; }
.min-vh-75 { min-height: 75vh; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--mc-primary); outline-offset: 2px; }
