﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --navy: #0a1628;
    --navy2: #112240;
    --teal: #0d9488;
    --teal2: #14b8a6;
    --teal-lt: #ccfbf1;
    --amber: #f59e0b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --font-head: 'Sora',sans-serif;
    --font-body: 'DM Sans',sans-serif;
    --radius: 14px;
    --shadow-md: 0 8px 32px rgba(0,0,0,.10);
    --shadow-lg: 0 24px 60px rgba(0,0,0,.14);
    --transition: .3s cubic-bezier(.4,0,.2,1)
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.25
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

ul, ol {
    padding-left: 0
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease,transform .6s ease
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0)
    }
/* ── NAV ── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition),box-shadow var(--transition)
}

    #navbar.scrolled {
        background: rgba(10,22,40,.96);
        backdrop-filter: blur(14px);
        box-shadow: 0 2px 20px rgba(0,0,0,.3)
    }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center
}

    .nav-logo-icon svg {
        width: 22px;
        height: 22px;
        fill: white
    }

.nav-logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -.02em
}

    .nav-logo-text span {
        color: var(--teal2)
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px
}

    .nav-links a {
        font-size: .88rem;
        font-weight: 500;
        color: rgba(255,255,255,.75);
        padding: 8px 14px;
        border-radius: 8px;
        transition: color var(--transition),background var(--transition)
    }

        .nav-links a:hover {
            color: var(--white);
            background: rgba(255,255,255,.08)
        }

        .nav-links a.active {
            color: var(--teal2)
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.btn-ghost {
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 600;
    color: var(--white);
    padding: 9px 20px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,.25);
    transition: all var(--transition);
    background: transparent
}

    .btn-ghost:hover {
        border-color: var(--teal2);
        color: var(--teal2)
    }

.btn-primary {
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 700;
    color: var(--navy);
    background: var(--teal2);
    padding: 9px 22px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px
}

    .btn-primary:hover {
        background: var(--teal);
        transform: translateY(-1px)
    }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px
}

    .hamburger span {
        width: 22px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        display: block
    }

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10,22,40,.97);
    backdrop-filter: blur(14px);
    padding: 20px 24px 30px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease
}

    .mobile-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all
    }

    .mobile-menu a {
        display: block;
        padding: 14px 0;
        font-size: .95rem;
        font-weight: 500;
        color: rgba(255,255,255,.7);
        border-bottom: 1px solid rgba(255,255,255,.07)
    }

        .mobile-menu a:hover {
            color: var(--teal2)
        }

    .mobile-menu .mob-cta {
        display: block;
        margin-top: 20px;
        background: var(--teal);
        color: white;
        text-align: center;
        padding: 14px;
        border-radius: 12px;
        font-weight: 700
    }
/* ── HERO ── */
.blog-hero {
    background: var(--navy);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden
}

    .blog-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 60% 40%,rgba(13,148,136,.15) 0%,transparent 65%),radial-gradient(ellipse 40% 40% at 10% 80%,rgba(20,184,166,.08) 0%,transparent 55%)
    }

.blog-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(13,148,136,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(13,148,136,.04) 1px,transparent 1px);
    background-size: 60px 60px
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

    .breadcrumb a, .breadcrumb span {
        font-size: .8rem;
        color: rgba(255,255,255,.45);
        transition: color .2s
    }

        .breadcrumb a:hover {
            color: var(--teal2)
        }

    .breadcrumb .sep {
        color: rgba(255,255,255,.2)
    }

    .breadcrumb .current {
        color: rgba(255,255,255,.65)
    }

.blog-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(13,148,136,.15);
    border: 1px solid rgba(13,148,136,.3);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px
}

    .blog-category-tag span {
        font-size: .75rem;
        font-weight: 700;
        color: var(--teal2);
        letter-spacing: .05em;
        text-transform: uppercase
    }

.blog-hero-title {
    font-size: clamp(1.9rem,4vw,3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -.03em
}

    .blog-hero-title .accent {
        color: var(--teal2)
    }

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    color: rgba(255,255,255,.45)
}

    .blog-meta-item svg {
        width: 14px;
        height: 14px;
        color: var(--teal2)
    }

    .blog-meta-item strong {
        color: rgba(255,255,255,.75)
    }

.read-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.25);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--amber)
}
/* ── LAYOUT ── */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 64px 0 100px;
    align-items: start
}

.blog-article {
    min-width: 0
}
/* ── ARTICLE TYPOGRAPHY ── */
.blog-lead {
    font-size: 1.12rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 24px 28px;
    border-left: 4px solid var(--teal);
    background: var(--teal-lt);
    border-radius: 0 12px 12px 0;
    font-weight: 500
}

.blog-article h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin: 48px 0 16px;
    letter-spacing: -.025em;
    position: relative;
    padding-bottom: 12px
}

    .blog-article h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 48px;
        height: 3px;
        background: linear-gradient(90deg,var(--teal),var(--teal2));
        border-radius: 2px
    }

.blog-article h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 12px
}

.blog-article p {
    font-size: .97rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 20px
}

.blog-article strong {
    color: var(--navy);
    font-weight: 700
}

.blog-article a {
    color: var(--teal);
    border-bottom: 1px solid rgba(13,148,136,.3);
    transition: border-color .2s
}

    .blog-article a:hover {
        border-color: var(--teal)
    }

.blog-article ul, .blog-article ol {
    margin: 20px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .blog-article ul li, .blog-article ol li {
        font-size: .97rem;
        color: var(--gray-600);
        line-height: 1.75;
        padding-left: 28px;
        position: relative
    }

        .blog-article ul li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--teal)
        }

.blog-article ol {
    counter-reset: item
}

    .blog-article ol li::before {
        content: counter(item,decimal);
        counter-increment: item;
        position: absolute;
        left: 0;
        top: 0;
        font-family: var(--font-head);
        font-weight: 800;
        font-size: .85rem;
        color: var(--teal)
    }
/* ── DEFINITION CARD (unique to this blog) ── */
.definition-card {
    background: var(--navy);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    border-left: 5px solid var(--teal2)
}

.definition-card-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal2);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px
}

.definition-card-term {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px
}

.definition-card-text {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.75
}

    .definition-card-text strong {
        color: var(--teal2)
    }
/* ── COMPARISON PILL ROW ── */
.pill-compare {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 28px 0
}

.pill-item {
    flex: 1;
    min-width: 200px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 18px;
    transition: all var(--transition)
}

    .pill-item:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md)
    }

.pill-item-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--teal);
    margin-bottom: 6px
}

.pill-item-name {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px
}

.pill-item-desc {
    font-size: .8rem;
    color: var(--gray-600);
    line-height: 1.6
}
/* ── STAT CARDS ── */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 32px 0
}

.stat-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all var(--transition)
}

    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md)
    }

.stat-card-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1
}

.stat-card-label {
    font-size: .8rem;
    color: var(--gray-500);
    margin-top: 6px
}
/* ── CALLOUT ── */
.callout {
    background: var(--navy);
    border-radius: 16px;
    padding: 28px 32px;
    margin: 36px 0;
    position: relative;
    overflow: hidden
}

    .callout::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 20px;
        font-family: var(--font-head);
        font-size: 8rem;
        font-weight: 900;
        color: rgba(13,148,136,.12);
        line-height: 1
    }

    .callout p {
        font-family: var(--font-head);
        font-size: 1.1rem !important;
        font-weight: 600;
        color: var(--white) !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        position: relative;
        z-index: 1
    }

        .callout p span {
            color: var(--teal2)
        }

.callout-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    position: relative;
    z-index: 1
}

.callout-author-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: white
}

.callout-author-text {
    font-size: .8rem;
    color: rgba(255,255,255,.5)
}

.callout-author-name {
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255,255,255,.85)
}
/* ── INFO / WARN BOXES ── */
.info-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 28px 0
}

.info-box-icon {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

    .info-box-icon svg {
        width: 18px;
        height: 18px;
        fill: white
    }

.info-box p {
    font-size: .9rem;
    color: #1e3a5f;
    line-height: 1.7;
    margin: 0 !important
}

.info-box strong {
    color: #1e40af
}

.warn-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 28px 0
}

.warn-box-icon {
    width: 36px;
    height: 36px;
    background: #f59e0b;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

    .warn-box-icon svg {
        width: 18px;
        height: 18px;
        fill: white
    }

.warn-box p {
    font-size: .9rem;
    color: #78350f;
    line-height: 1.7;
    margin: 0 !important
}
/* ── BEFORE / AFTER TABLE ── */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0
}

.ba-col {
    border-radius: 12px;
    overflow: hidden
}

.ba-head {
    padding: 14px 18px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem
}

    .ba-head.before {
        background: #fee2e2;
        color: #dc2626
    }

    .ba-head.after {
        background: var(--teal-lt);
        color: var(--teal)
    }

.ba-item {
    padding: 11px 18px;
    font-size: .85rem;
    line-height: 1.5;
    border-bottom: 1px solid
}

    .ba-item.before-item {
        background: #fff5f5;
        border-color: #fecaca;
        color: var(--gray-700)
    }

    .ba-item.after-item {
        background: #f0fdf4;
        border-color: #bbf7d0;
        color: var(--gray-700)
    }

    .ba-item:last-child {
        border-bottom: none
    }
/* ── MODULE BOXES ── */
.module-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin: 28px 0
}

.module-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition);
    display: flex;
    gap: 14px;
    align-items: flex-start
}

    .module-box:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--teal)
    }

.module-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

    .module-icon svg {
        width: 20px;
        height: 20px
    }

.mi-teal {
    background: var(--teal-lt)
}

    .mi-teal svg {
        color: var(--teal)
    }

.mi-amber {
    background: #fef3c7
}

    .mi-amber svg {
        color: var(--amber)
    }

.mi-purple {
    background: #ede9fe
}

    .mi-purple svg {
        color: #7c3aed
    }

.mi-blue {
    background: #dbeafe
}

    .mi-blue svg {
        color: #2563eb
    }

.mi-rose {
    background: #ffe4e6
}

    .mi-rose svg {
        color: #e11d48
    }

.mi-green {
    background: #dcfce7
}

    .mi-green svg {
        color: #16a34a
    }

.mi-orange {
    background: #fff7ed
}

    .mi-orange svg {
        color: #ea580c
    }

.mi-slate {
    background: #f1f5f9
}

    .mi-slate svg {
        color: #475569
    }

.module-title {
    font-family: var(--font-head);
    font-size: .92rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 5px
}

.module-desc {
    font-size: .82rem;
    color: var(--gray-600);
    line-height: 1.6
}
/* ── ARTICLE CTA ── */
.article-cta {
    background: linear-gradient(135deg,var(--navy),var(--navy2));
    border: 1px solid rgba(13,148,136,.3);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden
}

    .article-cta::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 140px;
        height: 140px;
        background: radial-gradient(circle,rgba(13,148,136,.2) 0%,transparent 70%)
    }

.article-cta-text h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 6px
}

.article-cta-text p {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    margin: 0 !important
}

.article-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .9rem;
    padding: 12px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: all var(--transition);
    flex-shrink: 0
}

    .article-cta .btn-cta:hover {
        background: var(--teal2);
        border-bottom: none;
        transform: translateY(-2px)
    }
/* ── TAGS / SHARE / AUTHOR ── */
.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 40px 0 0
}

.blog-tag {
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-600);
    transition: all .2s
}

    .blog-tag:hover {
        background: var(--teal-lt);
        border-color: var(--teal);
        color: var(--teal)
    }

.share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-top: 20px
}

.share-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--gray-500)
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s
}

.share-wa {
    background: #25d366;
    color: white
}

    .share-wa:hover {
        background: #22c55e
    }

.share-copy {
    background: var(--gray-200);
    color: var(--gray-700)
}

    .share-copy:hover {
        background: var(--gray-300)
    }

.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    margin-top: 40px
}

.author-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg,var(--teal),var(--teal2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.3rem;
    color: white
}

.author-box-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 4px
}

.author-box-role {
    font-size: .8rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 10px
}

.author-box-bio {
    font-size: .88rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 !important
}

.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200)
}

.related-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px
}

.related-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition)
}

    .related-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
        border-color: var(--teal)
    }

.related-card-cat {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px
}

.related-card-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 8px
}

.related-card-date {
    font-size: .75rem;
    color: var(--gray-400)
}
/* ── SIDEBAR ── */
.blog-sidebar {
    position: sticky;
    top: 92px
}

.toc-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px
}

.toc-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px
}

    .toc-title svg {
        width: 16px;
        height: 16px;
        color: var(--teal)
    }

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.toc-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--gray-600);
    transition: all .2s;
    cursor: pointer
}

    .toc-item:hover, .toc-item.active {
        background: var(--teal-lt);
        color: var(--teal)
    }

    .toc-item.active {
        font-weight: 600
    }

.toc-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: .72rem;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 1px
}

.toc-progress {
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden
}

.toc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg,var(--teal),var(--teal2));
    border-radius: 2px;
    transition: width .4s ease
}

.sidebar-cta {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden
}

    .sidebar-cta::before {
        content: '';
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle,rgba(13,148,136,.3) 0%,transparent 70%)
    }

.sidebar-cta-label {
    font-size: .72rem;
    font-weight: 700;
    color: var(--teal2);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px
}

.sidebar-cta h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 12px
}

.sidebar-cta p {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    margin-bottom: 20px
}

.sidebar-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--teal);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .88rem;
    padding: 12px;
    border-radius: 10px;
    transition: all var(--transition)
}

    .sidebar-cta-btn:hover {
        background: var(--teal2);
        transform: translateY(-1px)
    }

.sidebar-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: .8rem;
    color: rgba(255,255,255,.4)
}

    .sidebar-phone svg {
        width: 14px;
        height: 14px;
        color: var(--teal2)
    }

    .sidebar-phone strong {
        color: rgba(255,255,255,.75)
    }

.sidebar-glossary {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 24px
}

    .sidebar-glossary h4 {
        font-size: .9rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 14px
    }

.gloss-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100)
}

    .gloss-item:last-child {
        border-bottom: none
    }

.gloss-term {
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 3px
}

.gloss-def {
    font-size: .78rem;
    color: var(--gray-600);
    line-height: 1.5
}
/* ── FOOTER ── */
footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 60px 0 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.07)
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--teal);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center
}

    .footer-logo-icon svg {
        width: 20px;
        height: 20px;
        fill: white
    }

.footer-logo-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: white
}

    .footer-logo-text span {
        color: var(--teal2)
    }

.footer-tagline {
    font-size: .88rem;
    color: rgba(255,255,255,.4);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 24px
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .footer-contact a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .85rem;
        color: rgba(255,255,255,.5);
        transition: color .2s
    }

        .footer-contact a:hover {
            color: var(--teal2)
        }

        .footer-contact a svg {
            width: 16px;
            height: 16px;
            flex-shrink: 0
        }

.footer-col h4 {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px
}

    .footer-col ul li a {
        font-size: .88rem;
        color: rgba(255,255,255,.5);
        transition: color .2s
    }

        .footer-col ul li a:hover {
            color: var(--teal2)
        }

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px
}

.footer-copy {
    font-size: .82rem;
    color: rgba(255,255,255,.3)
}

.footer-bottom-links {
    display: flex;
    gap: 20px
}

    .footer-bottom-links a {
        font-size: .82rem;
        color: rgba(255,255,255,.3);
        transition: color .2s
    }

        .footer-bottom-links a:hover {
            color: var(--teal2)
        }

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.5);
    transition: all .3s
}

    .whatsapp-float:hover {
        transform: scale(1.1)
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
        fill: white
    }
/* ── RESPONSIVE ── */
@media(max-width:900px) {
    .blog-layout {
        grid-template-columns: 1fr
    }

    .blog-sidebar {
        position: static
    }

    .stat-cards {
        grid-template-columns: 1fr 1fr
    }

    .before-after {
        grid-template-columns: 1fr
    }

    .module-grid {
        grid-template-columns: 1fr
    }

    .related-grid {
        grid-template-columns: 1fr
    }

    .nav-links, .btn-ghost {
        display: none
    }

    .hamburger {
        display: flex
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .stat-cards {
        grid-template-columns: 1fr
    }

    .pill-compare {
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .article-cta {
        flex-direction: column
    }
}
