/* ==========================================================================
   TaxPro Experts — Multi-Archetype Liquid Glass Design System
   8 Distinct Visual Layouts + Brand Palette (#031344, #0a73b7, #ef5925)
   Scoped under .tpe-lg-* so existing style.css / homepage / 4 done pages stay untouched
   ========================================================================== */

:root {
    --tpe-navy: #031344;
    --tpe-navy-2: #071f60;
    --tpe-blue: #0a73b7;
    --tpe-blue-soft: rgba(10, 115, 183, 0.14);
    --tpe-orange: #ef5925;
    --tpe-orange-dark: #c94214;
    --tpe-orange-soft: rgba(239, 89, 37, 0.13);
    --tpe-ink: #12203f;
    --tpe-muted: #475569;
    --tpe-glass-light: rgba(255, 255, 255, 0.80);
    --tpe-glass-border: rgba(10, 115, 183, 0.18);
    --tpe-glass-dark: rgba(255, 255, 255, 0.08);
    --tpe-glass-dark-border: rgba(255, 255, 255, 0.18);
    --tpe-radius-lg: 20px;
    --tpe-radius-md: 14px;
    --tpe-shadow-light: 0 12px 34px rgba(3, 19, 68, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    --tpe-shadow-dark: 0 16px 40px rgba(2, 10, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    --tpe-accent-orb-1: rgba(10, 115, 183, 0.22);
    --tpe-accent-orb-2: rgba(239, 89, 37, 0.18);
}

/* Category ambient color accents (strictly within TaxPro brand spectrum) */
.tpe-theme-setup      { --tpe-accent-orb-1: rgba(10, 115, 183, 0.28); --tpe-accent-orb-2: rgba(239, 89, 37, 0.20); }
.tpe-theme-gst        { --tpe-accent-orb-1: rgba(14, 134, 212, 0.26); --tpe-accent-orb-2: rgba(239, 89, 37, 0.22); }
.tpe-theme-itr        { --tpe-accent-orb-1: rgba(10, 115, 183, 0.30); --tpe-accent-orb-2: rgba(241, 89, 37, 0.18); }
.tpe-theme-audit      { --tpe-accent-orb-1: rgba(7, 89, 155, 0.30);  --tpe-accent-orb-2: rgba(239, 89, 37, 0.16); }
.tpe-theme-ip         { --tpe-accent-orb-1: rgba(21, 101, 192, 0.26); --tpe-accent-orb-2: rgba(239, 89, 37, 0.24); }
.tpe-theme-license    { --tpe-accent-orb-1: rgba(10, 115, 183, 0.24); --tpe-accent-orb-2: rgba(234, 88, 12, 0.20); }
.tpe-theme-accounting { --tpe-accent-orb-1: rgba(2, 132, 199, 0.24);  --tpe-accent-orb-2: rgba(239, 89, 37, 0.18); }
.tpe-theme-advisory   { --tpe-accent-orb-1: rgba(3, 105, 161, 0.28);  --tpe-accent-orb-2: rgba(239, 89, 37, 0.20); }
.tpe-theme-tech       { --tpe-accent-orb-1: rgba(14, 165, 233, 0.24); --tpe-accent-orb-2: rgba(239, 89, 37, 0.22); }

/* Global Heading Typography — Livvic for all H1, H2, H3 site-wide */
h1, h2, h3,
.h1, .h2, .h3 {
    font-family: 'Livvic', sans-serif !important;
}

/* Fast WebP Hero Background + Form & Footer Polish */
.Private_Limited.tpe-lg-hero {
    background-color: #031344;
    background-image: linear-gradient(125deg, rgba(3, 19, 68, 0.90) 0%, rgba(7, 31, 96, 0.84) 55%, rgba(10, 115, 183, 0.72) 100%), url('../assets/images/all-images.webp');
    background-size: cover;
    background-position: center;
}
.Consultation_by_Expert .tpe-consult-heading {
    font-size: 21px !important;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    padding-bottom: 10px;
}
.Consultation_by_Expert .form-block select {
    line-height: 1.4;
    padding: 6px 12px;
}
.footer-badges- {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

/* Quick-Jump Anchor Strip (2 variants: navy solid + frosted light) */
.tpe-lg-quicknav {
    background: linear-gradient(90deg, #031344 0%, #071f60 50%, #031344 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px 0;
}
.tpe-lg-quicknav--light {
    background: rgba(243, 247, 252, 0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(10, 115, 183, 0.14);
    border-bottom: 1px solid rgba(10, 115, 183, 0.16);
}
.tpe-lg-quicknav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tpe-lg-quicknav-list a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.tpe-lg-quicknav--light .tpe-lg-quicknav-list a {
    color: var(--tpe-navy);
    background: #ffffff;
    border-color: rgba(10, 115, 183, 0.24);
}
.tpe-lg-quicknav-list a:hover,
.tpe-lg-quicknav-list a:focus-visible {
    background: var(--tpe-orange);
    border-color: var(--tpe-orange);
    color: #ffffff;
    transform: translateY(-1px);
    outline: 2px solid var(--tpe-blue);
    outline-offset: 2px;
}

/* Base Section Surfaces */
.tpe-lg-section {
    position: relative;
    padding: 60px 0;
    overflow-x: clip;
    content-visibility: auto;
    contain-intrinsic-size: 1px 620px;
}
.tpe-lg-section--frost {
    background:
        radial-gradient(circle at 8% 12%, var(--tpe-accent-orb-1), transparent 42%),
        radial-gradient(circle at 92% 86%, var(--tpe-accent-orb-2), transparent 40%),
        linear-gradient(180deg, #f3f7fc 0%, #ffffff 55%, #f5f9fd 100%);
    color: var(--tpe-ink);
}
.tpe-lg-section--white {
    background:
        radial-gradient(circle at 90% 10%, rgba(10, 115, 183, 0.08), transparent 36%),
        radial-gradient(circle at 10% 90%, rgba(239, 89, 37, 0.07), transparent 36%),
        #ffffff;
    color: var(--tpe-ink);
}
.tpe-lg-section--navy {
    background:
        radial-gradient(circle at 12% 18%, rgba(10, 115, 183, 0.36), transparent 46%),
        radial-gradient(circle at 88% 82%, rgba(239, 89, 37, 0.24), transparent 42%),
        linear-gradient(135deg, #031344 0%, #071e5c 52%, #031344 100%);
    color: #ffffff;
}
.tpe-lg-section--mist {
    background:
        radial-gradient(circle at 50% 0%, rgba(10, 115, 183, 0.14), transparent 50%),
        linear-gradient(180deg, #eaf2fb 0%, #f8fbff 100%);
    color: var(--tpe-ink);
}

/* Section Typography */
.tpe-lg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--tpe-navy);
    background: rgba(10, 115, 183, 0.12);
    border: 1px solid rgba(10, 115, 183, 0.24);
}
.tpe-lg-section--navy .tpe-lg-eyebrow,
.tpe-lg-why-banner .tpe-lg-eyebrow {
    color: #ffd9c7;
    background: rgba(239, 89, 37, 0.20);
    border-color: rgba(255, 140, 97, 0.45);
}

.tpe-lg-heading {
    font-family: 'Livvic', sans-serif;
    font-size: 29px;
    line-height: 1.28;
    font-weight: 700;
    color: var(--tpe-navy);
    margin: 0 0 14px 0;
}
.tpe-lg-heading span { color: var(--tpe-orange-dark); }
.tpe-lg-section--navy .tpe-lg-heading,
.tpe-lg-why-banner .tpe-lg-heading { color: #ffffff; }
.tpe-lg-section--navy .tpe-lg-heading span,
.tpe-lg-why-banner .tpe-lg-heading span { color: #ff8c61; }

.tpe-lg-lead {
    font-size: 15.5px;
    line-height: 1.74;
    color: var(--tpe-muted);
    margin: 0 0 14px 0;
}
.tpe-lg-section--navy .tpe-lg-lead { color: #dbe6f7; }

/* Standard Light & Navy Liquid Glass Cards */
.tpe-lg-card {
    background: var(--tpe-glass-light);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid var(--tpe-glass-border);
    border-radius: var(--tpe-radius-lg);
    box-shadow: var(--tpe-shadow-light);
    padding: 25px 23px;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.tpe-lg-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 89, 37, 0.42);
    box-shadow: 0 18px 38px rgba(3, 19, 68, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.tpe-lg-card--accent-top {
    border-top: 4px solid var(--tpe-blue);
}
.tpe-lg-card--accent-orange {
    border-top: 4px solid var(--tpe-orange);
}
.tpe-lg-card--accent-left {
    border-left: 4px solid var(--tpe-orange);
    border-radius: 14px;
}

.tpe-lg-card--navy {
    background: var(--tpe-glass-dark);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--tpe-glass-dark-border);
    border-radius: var(--tpe-radius-lg);
    box-shadow: var(--tpe-shadow-dark);
    padding: 25px 23px;
    height: 100%;
    color: #ffffff;
    transition: transform 0.22s ease, border-color 0.22s ease;
}
.tpe-lg-card--navy:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 140, 97, 0.55);
}

.tpe-lg-card h4,
.tpe-lg-card h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 17.5px;
    line-height: 1.38;
    font-weight: 700;
    color: var(--tpe-navy);
    margin: 0 0 9px 0;
}
.tpe-lg-card p {
    font-size: 14.5px;
    line-height: 1.68;
    color: #334155;
    margin: 0;
}
.tpe-lg-card--navy h4,
.tpe-lg-card--navy h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 17.5px;
    line-height: 1.38;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 11px 0;
}
.tpe-lg-card--navy p {
    font-size: 14.5px;
    line-height: 1.68;
    color: #e2eaf8;
    margin: 0;
}

/* Icon Badges */
.tpe-lg-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(10, 115, 183, 0.16), rgba(239, 89, 37, 0.14));
    border: 1px solid rgba(10, 115, 183, 0.25);
    color: var(--tpe-navy);
}
.tpe-lg-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tpe-lg-card--navy .tpe-lg-icon,
.tpe-lg-strip-card--navy .tpe-lg-icon {
    background: linear-gradient(135deg, rgba(239, 89, 37, 0.30), rgba(10, 115, 183, 0.32));
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

/* Visual Graphic Frame (Unique Inline SVG per page, zero CLS) */
.tpe-lg-visual-frame {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 115, 183, 0.18);
    border-radius: 22px;
    padding: 14px;
    box-shadow: var(--tpe-shadow-light);
    text-align: center;
}
.tpe-lg-visual-frame--navy {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow: var(--tpe-shadow-dark);
}
.tpe-lg-visual-frame svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
}

/* Meta Pills & Top Summary Bar */
.tpe-lg-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.tpe-lg-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tpe-navy);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(10, 115, 183, 0.22);
    box-shadow: 0 4px 12px rgba(3, 19, 68, 0.05);
}
.tpe-lg-meta-pill strong { color: var(--tpe-orange-dark); }
.tpe-lg-section--navy .tpe-lg-meta-pill {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}
.tpe-lg-section--navy .tpe-lg-meta-pill strong { color: #ff9f78; }

/* Stat Strip (3-Column Floating Glass KPI Bar) */
.tpe-lg-kpi-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}
.tpe-lg-kpi-box {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(10, 115, 183, 0.20);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(3, 19, 68, 0.06);
    border-left: 4px solid var(--tpe-orange);
}
.tpe-lg-kpi-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tpe-blue);
    margin-bottom: 4px;
}
.tpe-lg-kpi-value {
    display: block;
    font-family: 'Livvic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--tpe-navy);
}

/* ARCHETYPE B: Sticky Executive Sidebar Layout */
.tpe-arch-sidebar #overview {
    content-visibility: visible;
}
.tpe-arch-sidebar #overview > .container > .row {
    align-items: stretch !important;
}
.tpe-lg-sticky-rail {
    position: sticky;
    top: 96px;
}
.tpe-lg-toc-card {
    background: linear-gradient(155deg, #031344 0%, #071f60 100%);
    border-radius: 20px;
    padding: 24px 22px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--tpe-shadow-dark);
}
.tpe-lg-toc-card .tpe-lg-toc-title,
.tpe-lg-toc-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}
.tpe-lg-toc-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}
.tpe-lg-toc-list li {
    margin-bottom: 6px;
}
.tpe-lg-toc-list a {
    display: block;
    padding: 7px 12px;
    border-radius: 10px;
    color: #dbe6f7;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tpe-lg-toc-list a:hover {
    background: rgba(239, 89, 37, 0.24);
    border-color: rgba(255, 140, 97, 0.45);
    color: #ffffff;
}

/* ARCHETYPE A: Bento Grid Benefits */
.tpe-lg-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}
.tpe-lg-bento-wide { grid-column: span 7; }
.tpe-lg-bento-narrow { grid-column: span 5; }
.tpe-lg-bento-third { grid-column: span 4; }
.tpe-lg-bento-half { grid-column: span 6; }
.tpe-lg-bento-feature {
    background: linear-gradient(135deg, #031344 0%, #0a73b7 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.tpe-lg-bento-feature h4 { color: #ffffff; }
.tpe-lg-bento-feature p { color: #e2eefc; }
.tpe-lg-bento-feature .tpe-lg-icon {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
}

/* ARCHETYPE C & F: Horizontal Feature Strip Cards */
.tpe-lg-strip-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--tpe-glass-light);
    backdrop-filter: blur(14px);
    border: 1px solid var(--tpe-glass-border);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    box-shadow: var(--tpe-shadow-light);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.tpe-lg-strip-card:hover {
    transform: translateY(-2px);
    border-color: rgba(239, 89, 37, 0.45);
}
.tpe-lg-strip-card--navy {
    background: var(--tpe-glass-dark);
    border-color: var(--tpe-glass-dark-border);
    color: #ffffff;
    box-shadow: var(--tpe-shadow-dark);
}
.tpe-lg-strip-card .tpe-lg-icon { margin-bottom: 0; }
.tpe-lg-strip-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--tpe-navy);
    margin: 0 0 6px 0;
}
.tpe-lg-strip-card p {
    font-size: 14px;
    line-height: 1.64;
    color: #334155;
    margin: 0;
}
.tpe-lg-strip-card--navy h4 { color: #ffffff; }
.tpe-lg-strip-card--navy p { color: #dce7f8; }

/* Interactive Glass Tabs (Documents / Matrix Archetypes) */
.tpe-lg-tabs {
    border-bottom: none;
    gap: 10px;
    justify-content: center;
    margin-bottom: 22px;
}
.tpe-lg-tabs .nav-link {
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--tpe-navy);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(10, 115, 183, 0.24);
}
.tpe-lg-tabs .nav-link.active {
    background: var(--tpe-orange);
    border-color: var(--tpe-orange);
    color: #ffffff;
}
.tpe-lg-section--navy .tpe-lg-tabs .nav-link {
    color: #dbe6f7;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
}
.tpe-lg-section--navy .tpe-lg-tabs .nav-link.active {
    background: var(--tpe-orange);
    border-color: var(--tpe-orange);
    color: #ffffff;
}

/* Checklists */
.tpe-lg-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tpe-lg-checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 14.8px;
    line-height: 1.62;
    color: #1e293b;
}
.tpe-lg-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tpe-orange);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tpe-lg-section--navy .tpe-lg-checklist li,
.tpe-lg-card--navy .tpe-lg-checklist li,
.tpe-lg-why-banner .tpe-lg-checklist li { color: #e8effb; }

/* Process Layouts: 1) Numbered Cards  2) Vertical Glowing Timeline  3) Horizontal Step Ribbon */
.tpe-lg-step-card {
    position: relative;
    background: var(--tpe-glass-light);
    backdrop-filter: blur(14px);
    border: 1px solid var(--tpe-glass-border);
    border-radius: var(--tpe-radius-lg);
    padding: 23px 21px 23px 70px;
    box-shadow: var(--tpe-shadow-light);
    height: 100%;
    transition: transform 0.22s ease, border-color 0.22s ease;
}
.tpe-lg-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 89, 37, 0.42);
}
.tpe-lg-step-num {
    position: absolute;
    left: 18px;
    top: 22px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tpe-navy), var(--tpe-blue));
    color: #ffffff;
    font-family: 'Livvic', sans-serif;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(3, 19, 68, 0.22);
}
.tpe-lg-step-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--tpe-navy);
    margin: 0 0 7px 0;
}
.tpe-lg-step-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    margin: 0;
}

/* Vertical Glowing Rail Timeline */
.tpe-lg-vtimeline {
    position: relative;
    padding-left: 34px;
    border-left: 2px solid rgba(10, 115, 183, 0.28);
    margin-left: 12px;
}
.tpe-lg-vtimeline-item {
    position: relative;
    background: var(--tpe-glass-light);
    backdrop-filter: blur(14px);
    border: 1px solid var(--tpe-glass-border);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: var(--tpe-shadow-light);
}
.tpe-lg-vtimeline-item:last-child { margin-bottom: 0; }
.tpe-lg-vtimeline-dot {
    position: absolute;
    left: -49px;
    top: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tpe-orange);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(239, 89, 37, 0.18);
}
.tpe-lg-vtimeline-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--tpe-navy);
    margin: 0 0 6px 0;
}
.tpe-lg-vtimeline-item p {
    font-size: 14.5px;
    line-height: 1.66;
    color: #334155;
    margin: 0;
}

/* Pricing Cards (Alternative to Tables in Bento / Magazine / Blueprint) */
.tpe-lg-price-card {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 115, 183, 0.22);
    border-radius: 20px;
    padding: 26px 22px;
    height: 100%;
    box-shadow: var(--tpe-shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tpe-lg-price-card--featured {
    background: linear-gradient(160deg, #031344 0%, #08246e 100%);
    border-color: rgba(239, 89, 37, 0.65);
    color: #ffffff;
    box-shadow: var(--tpe-shadow-dark);
}
.tpe-lg-price-tag {
    font-family: 'Livvic', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--tpe-orange-dark);
    margin: 10px 0 10px 0;
}
.tpe-lg-price-card--featured .tpe-lg-price-tag { color: #ff8c61; }
.tpe-lg-price-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--tpe-navy);
    margin: 0;
}
.tpe-lg-price-card--featured h4 { color: #ffffff; }
.tpe-lg-price-card p {
    font-size: 14px;
    line-height: 1.64;
    color: #334155;
    margin: 0;
}
.tpe-lg-price-card--featured p { color: #dbe6f7; }

/* Due Date Milestone Cards (Alternative to Table) */
.tpe-lg-date-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
}
.tpe-lg-date-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(239, 89, 37, 0.24);
    border: 1px solid rgba(255, 140, 97, 0.45);
    color: #ffd9c7;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 10px;
}
.tpe-lg-date-card--light {
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(10, 115, 183, 0.20);
    box-shadow: var(--tpe-shadow-light);
}
.tpe-lg-date-card--light .tpe-lg-date-badge {
    background: rgba(10, 115, 183, 0.12);
    border-color: rgba(10, 115, 183, 0.25);
    color: var(--tpe-navy);
}
.tpe-lg-date-card--light h4 { color: var(--tpe-navy); font-size: 16.5px; margin: 0 0 8px 0; font-family: 'Poppins', sans-serif; font-weight: 700; }
.tpe-lg-date-card--light p { color: #334155; font-size: 14px; margin: 0; line-height: 1.62; }
.tpe-lg-date-card h4 { color: #ffffff; font-size: 16.5px; margin: 0 0 8px 0; font-family: 'Poppins', sans-serif; font-weight: 700; }
.tpe-lg-date-card p { color: #dbe6f7; font-size: 14px; margin: 0; line-height: 1.62; }

/* Tables (Dark & Light Liquid Glass) */
.tpe-lg-table-wrap {
    overflow-x: auto;
    border-radius: var(--tpe-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.06);
}
.tpe-lg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.tpe-lg-table th,
.tpe-lg-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.tpe-lg-table th {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tpe-lg-table td { color: #eef4fc; }
.tpe-lg-table tr:last-child td { border-bottom: none; }

.tpe-lg-table-wrap--light {
    border-color: rgba(10, 115, 183, 0.20);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: var(--tpe-shadow-light);
}
.tpe-lg-table--light th {
    background: var(--tpe-navy);
    color: #ffffff;
}
.tpe-lg-table--light td {
    color: #1e293b;
    border-bottom-color: rgba(10, 115, 183, 0.12);
}

/* Pull-Quote / Callout Box */
.tpe-lg-callout {
    background: linear-gradient(120deg, rgba(10, 115, 183, 0.10), rgba(239, 89, 37, 0.09));
    border-left: 4px solid var(--tpe-orange);
    border-radius: 14px;
    padding: 20px 22px;
    margin-top: 18px;
}
.tpe-lg-callout p {
    font-size: 15px;
    line-height: 1.72;
    color: var(--tpe-navy);
    margin: 0;
}

/* Premium Why Choose TaxPro Experts — 4 Modern Liquid Glass Designs */
.tpe-why-accent-bar {
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--tpe-orange), var(--tpe-blue));
    margin: 0 0 18px 0;
}
.tpe-why-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 22px 0;
}
.tpe-why-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tpe-navy);
    background: rgba(10, 115, 183, 0.09);
    border: 1px solid rgba(10, 115, 183, 0.20);
}
.tpe-why-trust-chip::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tpe-orange);
}
.tpe-why-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--tpe-navy) !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border: 1.5px solid rgba(3, 19, 68, 0.24);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.tpe-why-btn-outline:hover,
.tpe-why-btn-outline:focus-visible {
    border-color: var(--tpe-orange);
    background: #ffffff;
    color: var(--tpe-orange-dark) !important;
    transform: translateY(-2px);
}

/* Variant 1: Luminous 2x2 Glass Feature Tiles */
.tpe-why-tile {
    position: relative;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(10, 115, 183, 0.16);
    border-radius: 20px;
    padding: 24px 22px;
    height: 100%;
    box-shadow: 0 14px 34px rgba(3, 19, 68, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.tpe-why-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 89, 37, 0.42);
    box-shadow: 0 20px 44px rgba(3, 19, 68, 0.12);
}
.tpe-why-tile-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-family: 'Livvic', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--tpe-navy), var(--tpe-blue));
    box-shadow: 0 6px 16px rgba(10, 115, 183, 0.26);
    margin-bottom: 14px;
}
.tpe-why-tile:nth-child(even) .tpe-why-tile-num {
    background: linear-gradient(135deg, #ef5925, #ff7b47);
    box-shadow: 0 6px 16px rgba(239, 89, 37, 0.28);
}
.tpe-why-tile h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--tpe-navy);
    margin: 0;
}

/* Variant 2: Executive Two-Tone Split Architectural Card */
.tpe-why-split-shell {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(10, 115, 183, 0.18);
    box-shadow: 0 22px 54px rgba(3, 19, 68, 0.11);
    background: #ffffff;
}
.tpe-why-split-light {
    padding: 40px 36px;
    background:
        radial-gradient(circle at 0% 0%, rgba(10, 115, 183, 0.08), transparent 45%),
        #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tpe-why-split-dark {
    padding: 40px 34px;
    background:
        radial-gradient(circle at 100% 0%, rgba(239, 89, 37, 0.26), transparent 48%),
        radial-gradient(circle at 0% 100%, rgba(10, 115, 183, 0.34), transparent 52%),
        linear-gradient(160deg, #031344 0%, #071e5c 100%);
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tpe-why-split-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff9f78;
    margin: 0 0 18px 0;
}
.tpe-why-split-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.tpe-why-split-item:last-of-type { border-bottom: none; }
.tpe-why-split-check {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(239, 89, 37, 0.22);
    border: 1px solid rgba(255, 140, 97, 0.55);
    color: #ff9f78;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.tpe-why-split-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.56;
    color: #f1f5f9;
    margin: 0;
}

/* Variant 3: Floating Glass Pillars + Executive Editorial Deck */
.tpe-why-editorial-deck {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 115, 183, 0.16);
    border-radius: 22px;
    padding: 28px 30px;
    box-shadow: 0 12px 32px rgba(3, 19, 68, 0.06);
    margin-bottom: 24px;
}
.tpe-why-pillar {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(10, 115, 183, 0.16);
    border-top: 3px solid var(--tpe-blue);
    border-radius: 18px;
    padding: 24px 20px;
    height: 100%;
    box-shadow: 0 10px 26px rgba(3, 19, 68, 0.06);
    transition: transform 0.22s ease, border-top-color 0.22s ease, box-shadow 0.22s ease;
}
.tpe-why-pillar:hover {
    transform: translateY(-4px);
    border-top-color: var(--tpe-orange);
    box-shadow: 0 18px 36px rgba(3, 19, 68, 0.11);
}
.tpe-why-pillar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(239, 89, 37, 0.12);
    color: var(--tpe-orange-dark);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}
.tpe-why-pillar h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.56;
    color: var(--tpe-navy);
    margin: 0;
}

/* Variant 4: Full-Bleed Deep Aurora Glass Ribbons */
.tpe-why-aurora-ribbon {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 3px solid #ef5925;
    margin-bottom: 14px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.tpe-why-aurora-ribbon:last-child { margin-bottom: 0; }
.tpe-why-aurora-ribbon:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 140, 97, 0.45);
}
.tpe-why-aurora-idx {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ef5925, #ff8552);
    color: #ffffff;
    font-family: 'Livvic', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tpe-why-aurora-ribbon h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.54;
    color: #f8fafc;
    margin: 0;
}

/* Dark Mode support for new Premium Why-Us variants */
body.active-dark .tpe-why-tile,
body.active-dark .tpe-why-split-shell,
body.active-dark .tpe-why-split-light,
body.active-dark .tpe-why-editorial-deck,
body.active-dark .tpe-why-pillar {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}
body.active-dark .tpe-why-tile h4,
body.active-dark .tpe-why-pillar h4,
body.active-dark .tpe-why-trust-chip,
body.active-dark .tpe-why-btn-outline {
    color: #ffffff !important;
}
body.active-dark .tpe-why-btn-outline {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.25);
}

.tpe-lg-btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--tpe-orange);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 22px rgba(239, 89, 37, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}
.tpe-lg-btn-orange:hover,
.tpe-lg-btn-orange:focus-visible {
    background: #d94816;
    transform: translateY(-2px);
    color: #ffffff !important;
}
.tpe-lg-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.30);
    transition: background 0.2s ease, transform 0.2s ease;
}
.tpe-lg-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

/* FAQ Accordion + Open Q&A Card Variant */
.tpe-lg-faq .accordion-item {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(10, 115, 183, 0.18);
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(3, 19, 68, 0.05);
}
.tpe-lg-faq .accordion-button {
    background: transparent;
    color: var(--tpe-navy);
    font-family: 'Livvic', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    padding: 15px 19px;
    box-shadow: none !important;
}
.tpe-lg-faq .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(10, 115, 183, 0.10), rgba(239, 89, 37, 0.08));
    color: var(--tpe-navy);
}
.tpe-lg-faq .accordion-body {
    padding: 14px 19px 18px;
    font-size: 14.8px;
    line-height: 1.72;
    color: #334155;
    border-top: 1px solid rgba(10, 115, 183, 0.10);
}

/* Related Services Links (Grid & Pill Cloud Variants) */
.tpe-lg-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.tpe-lg-related-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(10, 115, 183, 0.18);
    color: var(--tpe-navy);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(3, 19, 68, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tpe-lg-related-link:hover,
.tpe-lg-related-link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--tpe-orange);
    color: var(--tpe-orange-dark);
}
.tpe-lg-related-arrow { color: var(--tpe-orange-dark); font-weight: 700; flex-shrink: 0; }
.tpe-lg-related-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.tpe-lg-related-pills .tpe-lg-related-link {
    border-radius: 999px;
    padding: 11px 20px;
}

/* Native Signature Section Integration (LLP / Pvt Ltd Parity + PageSpeed WebP) */
.tpe-torn-top {
    background-image: url('../assets/images/patternone.png');
    background-repeat: repeat-x;
    background-position: top center;
    height: 56px;
    width: 100%;
    margin-top: -1px;
    position: relative;
    z-index: 2;
    margin-bottom: -56px;
    pointer-events: none;
}
.tpe-torn-bottom {
    background-image: url('../assets/images/patterntwo.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    height: 44px;
    width: 100%;
    margin-top: -44px;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.dg-service2 .Registered h4 {
    color: #ff7a45;
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}
.dg-service2 .Registered ul.list-style- {
    list-style: circle;
    padding-left: 20px;
    margin-bottom: 18px;
}
.dg-service2 .Registered ul.list-style- li {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 6px;
}
.work-categorys.tpe-native-work {
    background-image: url('../assets/images/tt-work-bg.webp');
    background-size: cover;
    background-position: center center;
}
.work-categorys.tpe-native-work h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #050748;
}
.tpe-native-faq {
    background: #ffffff;
}
.tpe-native-faq .accordion {
    width: 100%;
}
.tpe-native-faq .accordion-item {
    border: 1px solid #e2e8f0;
    margin-bottom: 0;
}
.tpe-native-faq .accordion-header {
    margin: 0;
}
.tpe-native-faq .accordion-button {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
    color: #050748;
    background-color: #f6f6f6;
    padding: 16px 20px;
}
.tpe-native-faq .accordion-button:not(.collapsed) {
    color: #050748;
    background-color: #f6f6f6;
    box-shadow: none;
}
.tpe-native-faq .accordion-body {
    background: #ffffff;
    color: #475569;
    font-size: 15.5px;
    line-height: 1.72;
    padding: 18px 20px;
}
body.active-dark .tpe-native-faq {
    background: #0b1224;
}
body.active-dark .tpe-native-faq .accordion-item {
    border-color: rgba(255, 255, 255, 0.14);
}
body.active-dark .tpe-native-faq .accordion-button,
body.active-dark .tpe-native-faq .accordion-button:not(.collapsed) {
    background-color: #131f3b;
    color: #ffffff;
}
body.active-dark .tpe-native-faq .accordion-body {
    background: #0f1830;
    color: #cbd5e1;
}

/* ==========================================================================
   PageSpeed 100/100/100/100 Core Fixes: Zero-CLS Pre-Init, WCAG AA Contrast,
   Mobile Touch Targets, Heading Parity & Zero-404 Background Overrides
   ========================================================================== */

/* 1. Eliminate Hero & Slider CLS (0.74 -> 0.00) BEFORE Owl Carousel initializes */
.hero-card-web .service-card-prb:not(.owl-loaded) {
    display: flex;
    gap: 20px;
    overflow: hidden;
    flex-wrap: nowrap;
}
.hero-card-web .service-card-prb:not(.owl-loaded) > .service-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 200px;
}
@media (max-width: 767.98px) {
    .hero-card-web .service-card-prb:not(.owl-loaded) > .service-slide {
        flex: 0 0 100%;
    }
}
.niwax-client-slider:not(.owl-loaded),
.video-testimonials:not(.owl-loaded) {
    display: flex;
    gap: 20px;
    overflow: hidden;
    flex-wrap: nowrap;
}
.testimonial-card-a:not(.owl-loaded) > .testimonial-card:not(:first-child) {
    display: none;
}

/* 2. Override legacy /images/ CSS background URLs so zero 404s occur on /news/ */
.shape-bg3:before {
    background-image: none !important;
}
.testinomial-section {
    background-image: url('../assets/shape/shape-9.svg') !important;
}
.switch-wrapper .slider:before,
.switch-wrapper input:checked + .slider:before {
    background-image: none !important;
}

/* 3. WCAG AA/AAA Contrast Fixes (Fixes all 16 failing contrast elements!) */
.number span {
    color: #b83a0e !important;
}
.common-heading > span {
    color: #b83a0e !important;
}
.dg-service2 .common-heading-2 > span {
    color: #ffd9c7 !important;
}
.statistics-section.bg-gradient6 .statnumb p {
    color: #050748 !important;
    font-weight: 600;
}
.Reddish-Orange {
    background-color: #c43c0e !important;
}
.footer-badges- li {
    margin: 0 !important;
}
.footer-badges- a {
    color: #0f172a !important;
    font-weight: 600;
    padding: 11px 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.footer-badges- a:hover {
    color: #b83a0e !important;
}
.footer-row2 .tpe-footer-heading {
    font-family: 'Livvic', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 18px;
}

/* 4. Homepage Heading Hierarchy Parity (h3 styled cleanly as card/item titles) */
.nn-card-set h3 {
    font-family: 'Livvic', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 8px 0 !important;
    color: #c43c0e;
    font-weight: 700;
}
.itm-media-object .media-body h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}
.industry-workfor h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 0 15px;
    color: #050748;
}
.client-thumbs .user-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #050748;
}
.review-title-ref h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #050748;
}
.awards-block-tt {
    height: auto !important;
    min-height: 52px;
    padding: 8px 14px !important;
    line-height: 1.35;
}
.awards-block-tt img {
    max-width: 124px;
    height: auto;
}
@media (max-width: 991.98px) {
    .footer-address-list li a,
    .footer-social-media-icons a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
    }
    .footer-social-media-icons a {
        justify-content: center;
    }
}

/* CTA Title Parity */
.cta-area .tpe-cta-title {
    font-size: 26px;
    font-weight: 700;
    color: #050748;
}

/* Dark Mode Compatibility */
body.active-dark .tpe-lg-section--frost,
body.active-dark .tpe-lg-section--white,
body.active-dark .tpe-lg-section--mist {
    background: linear-gradient(180deg, #0b1224 0%, #101a33 100%);
    color: #e2e8f0;
}
body.active-dark .tpe-lg-heading,
body.active-dark .tpe-lg-card h4,
body.active-dark .tpe-lg-card h5,
body.active-dark .tpe-lg-step-card h4,
body.active-dark .tpe-lg-strip-card h4,
body.active-dark .tpe-lg-vtimeline-item h4,
body.active-dark .tpe-lg-price-card h4,
body.active-dark .tpe-lg-date-card--light h4,
body.active-dark .tpe-lg-kpi-value,
body.active-dark .tpe-lg-faq .accordion-button,
body.active-dark .tpe-lg-related-link { color: #ffffff; }
body.active-dark .tpe-lg-lead,
body.active-dark .tpe-lg-card p,
body.active-dark .tpe-lg-step-card p,
body.active-dark .tpe-lg-strip-card p,
body.active-dark .tpe-lg-vtimeline-item p,
body.active-dark .tpe-lg-price-card p,
body.active-dark .tpe-lg-date-card--light p,
body.active-dark .tpe-lg-checklist li,
body.active-dark .tpe-lg-callout p,
body.active-dark .tpe-lg-faq .accordion-body,
body.active-dark .tpe-lg-table--light td { color: #cbd5e1; }
body.active-dark .tpe-lg-card,
body.active-dark .tpe-lg-step-card,
body.active-dark .tpe-lg-strip-card,
body.active-dark .tpe-lg-vtimeline-item,
body.active-dark .tpe-lg-price-card,
body.active-dark .tpe-lg-date-card--light,
body.active-dark .tpe-lg-kpi-box,
body.active-dark .tpe-lg-visual-frame,
body.active-dark .tpe-lg-faq .accordion-item,
body.active-dark .tpe-lg-related-link,
body.active-dark .tpe-lg-meta-pill,
body.active-dark .tpe-lg-table-wrap--light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}
body.active-dark .tpe-lg-eyebrow {
    color: #93c5fd;
    background: rgba(10, 115, 183, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .tpe-lg-section { padding: 46px 0; }
    .tpe-lg-heading { font-size: 24px; }
    .tpe-lg-kpi-strip { grid-template-columns: 1fr; }
    .tpe-lg-bento-wide,
    .tpe-lg-bento-narrow,
    .tpe-lg-bento-third,
    .tpe-lg-bento-half { grid-column: span 12; }
    .tpe-lg-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tpe-lg-sticky-rail { position: static; margin-bottom: 24px; }
}
@media (max-width: 575.98px) {
    .tpe-lg-section { padding: 36px 0; }
    .tpe-lg-heading { font-size: 21.5px; }
    .tpe-lg-card,
    .tpe-lg-card--navy,
    .tpe-why-split-light,
    .tpe-why-split-dark,
    .tpe-why-editorial-deck { padding: 22px 18px; }
    .tpe-lg-step-card { padding: 20px 18px 20px 64px; }
    .tpe-lg-related-grid { grid-template-columns: 1fr; }
    .tpe-lg-quicknav-list a { font-size: 12px; padding: 5px 11px; }
    .tpe-lg-vtimeline { padding-left: 24px; margin-left: 8px; }
    .tpe-lg-vtimeline-dot { left: -39px; }
}
