﻿/* ========================================
   Terahealth / Fulgent - Global Design System
   Final Fixed Version (Hero Spacing + Large Icons)
======================================== */


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400..800&family=Noto+Sans:wght@400..800&display=swap');
:root {
    --color-navy-deep: #050505;
    --color-navy-light: #171717;
    --color-blue-main: #0F7CC1;
    --color-blue-link: #22B8FF;
    --color-blue-light: #E1EEF9;
    --color-fulgent-red: #E30613;
    --color-fulgent-red-dark: #B8000D;
    --color-fulgent-red-link: #FF5C66;
    --color-fulgent-aqua: #EAF9F8;
    --color-fulgent-gray: #969696;
    --color-accent-black: #000000;
    --color-gray-100: #F8F9FA;
    --color-gray-300: #DEE2E6;
    --color-gray-700: #4A5568;
    --color-white: #FFFFFF;
    --font-primary: 'Inter', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Inter', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --container-max: 1280px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.16);
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    color: var(--color-gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: #fff;
}

h1, h2, h3, h4 {
    color: var(--color-navy-deep);
    font-weight: 650;
    line-height: 1.2;
    font-family: var(--font-display);
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    font-family: var(--font-display);
}

.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary { background: var(--color-blue-main); color: #fff; }
.btn-primary:hover { background: #0B6AA5; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--color-navy-deep); border: 2px solid var(--color-navy-deep); }
.btn-outline:hover { background: var(--color-navy-deep); color: #fff; }

.btn-white {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(229, 238, 245, 0.78);
    color: var(--color-navy-deep);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(12px);
}
.btn-white:hover {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(199, 218, 232, 0.92);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.btn-large { padding: 18px 40px; font-size: 16px; }

.btn-link { color: var(--color-blue-main); font-weight: 600; display: inline-block; }
.btn-link:hover { color: var(--color-navy-deep); transform: translateX(5px); }

.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img { height: 50px; width: auto; }

.main-nav .nav-menu { display: flex; align-items: center; list-style: none; gap: 22px; }
.main-nav .nav-menu a {
    color: var(--color-navy-deep);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

/* Dynamic Active State based on body class */
body.page-about .main-nav .nav-menu > li > a[href="about.html"],
body.page-products .main-nav .nav-menu > li > a[href="products.html"],
body.page-product .main-nav .nav-menu > li > a[href="products.html"],
body.page-partners .main-nav .nav-menu > li > a[href="for-partners.html"],
body.page-certifications .main-nav .nav-menu > li > a[href="insights.html"],
body.page-downloads .main-nav .nav-menu > li > a[href="insights.html"],
body.page-insights .main-nav .nav-menu > li > a[href="insights.html"],
body.page-contact .main-nav .nav-menu > li > a[href="contact.html"] {
    color: var(--color-blue-main);
}

.main-nav .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue-main);
    transition: var(--transition-fast);
}

body.page-about .main-nav .nav-menu > li > a[href="about.html"]::after,
body.page-products .main-nav .nav-menu > li > a[href="products.html"]::after,
body.page-product .main-nav .nav-menu > li > a[href="products.html"]::after,
body.page-partners .main-nav .nav-menu > li > a[href="for-partners.html"]::after,
body.page-certifications .main-nav .nav-menu > li > a[href="insights.html"]::after,
body.page-downloads .main-nav .nav-menu > li > a[href="insights.html"]::after,
body.page-insights .main-nav .nav-menu > li > a[href="insights.html"]::after,
body.page-contact .main-nav .nav-menu > li > a[href="contact.html"]::after {
    width: 100%;
}

.header-actions { display: flex; align-items: center; gap: 20px; }

/* Top utility bar and search */
.top-utility-bar {
    background: #050505;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    font-size: 13px;
}

/* Secure form submission states shared by contact and partnership forms. */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body .form-status {
    min-height: 22px;
    margin: 12px 0 0;
    color: #53677c;
    font-size: 14px;
    line-height: 1.55;
}

body .form-status.is-success {
    color: #14733b;
    font-weight: 700;
}

body .form-status.is-error {
    color: #b42318;
    font-weight: 700;
}

body .btn.is-sending,
body .btn:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none !important;
}

.top-utility-content {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-utility-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-utility-nav > a {
    color: rgba(255,255,255,0.86);
    font-weight: 600;
}

.top-utility-nav > a:hover {
    color: #fff;
}

.utility-separator {
    color: rgba(255,255,255,0.32);
}

.top-utility-bar .language-toggle {
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 12px;
}

.top-utility-bar .language-toggle:hover,
.top-utility-bar .language-switcher.active .language-toggle {
    border-color: rgba(255,255,255,0.42);
    color: #fff;
}

.top-utility-bar .language-menu {
    top: calc(100% + 6px);
}

.site-header > .container.header-content {
    padding-top: 15px;
    padding-bottom: 15px;
}

.site-search {
    width: 210px;
    position: relative;
}

.site-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    background: #fff;
    color: var(--color-gray-700);
    transition: var(--transition-fast);
}

.site-search-field:focus-within {
    border-color: var(--color-blue-main);
    box-shadow: 0 0 0 3px rgba(15, 124, 193, 0.12);
}

.site-search-field i {
    color: var(--color-gray-700);
    font-size: 13px;
}

.site-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--color-navy-deep);
    font-family: var(--font-primary);
    font-size: 14px;
}

.site-search input::placeholder {
    color: #8a97a6;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1200;
    display: none;
    padding: 8px;
    border: 1px solid rgba(222, 226, 230, 0.9);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(5, 5, 5, 0.12);
    backdrop-filter: blur(14px);
}

.site-search.is-open .search-suggestions {
    display: block;
}

.search-suggestion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-navy-deep);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.search-suggestion:hover,
.search-suggestion.is-active {
    background: var(--color-gray-100);
}

.search-suggestion strong {
    font-size: 13px;
    font-weight: 650;
}

.search-suggestion span {
    color: var(--color-gray-700);
    font-size: 12px;
}

.search-empty {
    padding: 10px 11px;
    color: var(--color-gray-700);
    font-size: 13px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    background: #fff;
    color: var(--color-navy-deep);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--transition-fast);
}

.language-toggle:hover,
.language-switcher.active .language-toggle {
    border-color: var(--color-blue-main);
    color: var(--color-blue-main);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1200;
    min-width: 150px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--card-border, #dce6ef);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition-fast);
}

.language-switcher.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: var(--color-navy-deep);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.language-menu a:hover,
.language-menu a.active {
    background: var(--color-blue-light);
    color: var(--color-blue-main);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-navy-deep);
    transition: var(--transition-fast);
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* --- Hero Slider (Fixed) --- */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, #fff 100%);
}

.slider-container { 
    position: relative; 
    width: 100%; 
    height: 100%; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 100px;
}

.slide.active { 
    opacity: 1; 
    visibility: visible; 
}

.slide-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title { 
    font-size: 56px; 
    color: var(--color-navy-deep); 
    margin-bottom: 20px; 
}

.hero-subtitle { 
    font-size: 20px; 
    color: var(--color-gray-700); 
    margin-bottom: 40px; 
    line-height: 1.6; 
}

.hero-buttons { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy-deep);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-prev:hover, .slider-next:hover { 
    background: var(--color-blue-main); 
    color: #fff; 
    transform: translateY(-50%) scale(1.1); 
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--color-blue-main);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active { 
    background: var(--color-blue-main); 
    transform: scale(1.3); 
}

.dot:hover { 
    background: var(--color-blue-main); 
    opacity: 0.8; 
}

/* Product Categories */
.product-categories { padding: var(--section-padding); }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.category-card, .product-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.category-card:hover, .product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.category-image { height: 250px; background: var(--color-gray-100); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.category-image img { width: 100%; height: 100%; object-fit: cover; }
.category-content, .product-content { padding: 30px; }
.category-content h3, .product-content h3 { font-size: 22px; margin-bottom: 15px; }
.category-content p, .product-content p { margin-bottom: 20px; color: var(--color-gray-700); }

.badge-highlight {
    background-color: var(--color-accent-black);
    color: var(--color-white);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Why Fulgent - Large Icons */
.why-fulgent { padding: var(--section-padding); background: var(--color-gray-100); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 15px; }

/* B2B Section */
.b2b-section { padding: var(--section-padding); background: var(--color-navy-deep); color: #fff; }
.b2b-content { text-align: center; max-width: 800px; margin: 0 auto; }
.b2b-content h2 { color: #fff; font-size: 36px; margin-bottom: 20px; }
.b2b-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.b2b-features { display: flex; justify-content: center; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.b2b-feature { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-icon { color: var(--color-blue-main); font-size: 20px; font-weight: bold; }

/* Manifesto */
.manifesto-section {
    background-color: var(--color-blue-light);
    padding: 80px 0;
    text-align: center;
}
.manifesto-content blockquote {
    font-family: var(--font-primary);
    font-size: 22px;
    line-height: 1.8;
    color: var(--color-navy-deep);
    font-style: normal;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}
.manifesto-content blockquote strong {
    display: block;
    margin-top: 30px;
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
}
.manifesto-signature {
    font-family: var(--font-primary);
    margin-top: 40px;
    font-size: 16px;
    color: var(--color-gray-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.site-footer { background: var(--color-navy-deep); color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(5, minmax(145px, 1fr)); gap: 28px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; line-height: 1.45; }
.footer-col a { color: var(--color-blue-link); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact-item {
    margin-bottom: 10px;
}

.footer-icon-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.45;
}

.footer-icon-link img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 2px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-icon-link span {
    font-size: 14px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-icons a:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.footer-social-icons img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.inline-contact-icon {
    width: 18px;
    height: 18px;
    vertical-align: -4px;
    margin-right: 8px;
}

.inline-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-credit {
    justify-self: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.footer-credit a {
    color: #fff;
    font-weight: 650;
    border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}
.footer-credit a:hover {
    color: var(--color-blue-link);
    border-bottom-color: currentColor;
}
.footer-legal { display: flex; gap: 20px; }
.footer-bottom .footer-legal { justify-self: end; }
.footer-legal a { color: var(--color-gray-300); font-size: 14px; }
.footer-legal a:hover { color: var(--color-blue-link); }

body.page-products .footer-col a,
body.page-product .footer-col a,
body.page-fulgent-advisor .footer-col a {
    color: var(--color-fulgent-red-link);
}

body.page-products .footer-col a:hover,
body.page-product .footer-col a:hover,
body.page-fulgent-advisor .footer-col a:hover {
    color: #fff;
}

/* Breadcrumb */
.page-breadcrumb { background: var(--color-gray-100); padding: 12px 0; border-bottom: 1px solid var(--color-gray-300); }
.page-breadcrumb .breadcrumb { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-size: 14px; color: var(--color-gray-700); font-weight: 500; }
.page-breadcrumb .breadcrumb a { color: var(--color-blue-main); font-weight: 500; }
.page-breadcrumb .breadcrumb a:hover { color: var(--color-navy-deep); text-decoration: underline; }
.page-breadcrumb .breadcrumb .separator { color: var(--color-gray-300); font-weight: 400; margin: 0 2px; }
.page-breadcrumb .breadcrumb .current { color: var(--color-navy-deep); font-weight: 700; }

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-blue-main);
    box-shadow: 0 0 0 3px rgba(43, 172, 226, 0.1);
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-width: 16px;
    accent-color: var(--color-blue-main);
}

/* Responsive */
@media (max-width: 992px) {
    .header-content { flex-wrap: wrap; }
    .main-nav { order: 3; width: 100%; display: none; }
    .main-nav.active { display: block; }
    .main-nav .nav-menu { flex-direction: column; gap: 15px; padding: 20px 0; }
    .mobile-menu-toggle { display: flex; }
    
    .hero-slider { min-height: 500px; }
    .slide { padding-top: 80px; }
    .hero-title { font-size: 42px; }
    .section-title { font-size: 32px; }
    
    .slider-prev, .slider-next { width: 40px; height: 40px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .hero-slider { min-height: 450px; }
    .slide { padding-top: 70px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; margin-bottom: 30px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    
    .slider-prev, .slider-next {
        width: 36px;
        height: 36px;
        opacity: 0.8;
    }
    .slider-prev:hover, .slider-next:hover {
        opacity: 1;
        transform: translateY(-50%) scale(1.05);
    }
    .slider-dots { bottom: 20px; }
    
    .b2b-features { flex-direction: column; align-items: center; }
    .footer-bottom { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom .footer-legal,
    .footer-credit { justify-self: center; }
    .footer-legal { justify-content: center; }

    form [style*="grid-template-columns:1fr 1fr"],
    form [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    form label {
        line-height: 1.45;
    }

    .btn,
    button[type="submit"] {
        max-width: 100%;
        white-space: normal;
    }
    
    .feature-icon {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 480px) {
    .hero-slider { min-height: 400px; }
    .slide { padding-top: 60px; }
    .hero-title { font-size: 28px; }
    .section-title { font-size: 28px; }
    .btn { padding: 12px 24px; font-size: 14px; }
    .slider-prev, .slider-next {
        width: 32px;
        height: 32px;
    }
    .feature-icon {
        width: 64px;
        height: 64px;
    }
}
/* --- Dropdown Menu Styles --- */
.main-nav .nav-menu li {
    position: relative;
}

.main-nav .nav-menu li.menu-item-has-children > a i {
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.main-nav .nav-menu li.menu-item-has-children:hover > a i {
    transform: rotate(180deg);
}

.main-nav .nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
}

.main-nav .nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .nav-menu .sub-menu li {
    padding: 0;
}

.main-nav .nav-menu .sub-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--color-gray-700);
    transition: all 0.2s ease;
}

.main-nav .nav-menu .sub-menu li a:hover {
    background: var(--color-gray-100);
    color: var(--color-blue-main);
    padding-left: 25px;
}

/* Responsive: Mobile menu - show submenu without hover */
@media (max-width: 992px) {
    .main-nav .nav-menu .sub-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
        background: transparent;
    }
    
    .main-nav .nav-menu li.menu-item-has-children.active .sub-menu {
        display: block;
    }

    .main-nav .nav-menu li.menu-item-has-children.active > a i {
        transform: rotate(180deg);
    }
    
    .main-nav .nav-menu .sub-menu li a {
        padding: 8px 0 8px 15px;
        font-size: 14px;
    }
    
    .main-nav .nav-menu .sub-menu li a:hover {
        padding-left: 20px;
        background: transparent;
    }
}

/* Fulgent brand-space cue for product pages */
body.page-products .site-header,
body.page-product .site-header {
    border-top: 3px solid var(--color-fulgent-red);
    box-shadow: 0 2px 14px rgba(17, 17, 17, 0.08);
}

body.page-products .logo a,
body.page-product .logo a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

body.page-products .logo a::after,
body.page-product .logo a::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid var(--color-gray-300);
    background-image: url('../images/tera-sign.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 18px 18px;
    filter: grayscale(1) brightness(0);
    opacity: 0.72;
}

body.page-products .main-nav .nav-menu > li > a[href="products.html"],
body.page-product .main-nav .nav-menu > li > a[href="products.html"] {
    padding: 6px 10px;
    margin: -6px -10px;
    border-radius: 999px;
    background: #FFF3F4;
    color: var(--color-fulgent-red);
}

body.page-products .main-nav .nav-menu > li > a[href="products.html"]::after,
body.page-product .main-nav .nav-menu > li > a[href="products.html"]::after {
    bottom: -8px;
    left: 10px;
    width: calc(100% - 20px);
    background: var(--color-fulgent-red);
}

@media (max-width: 768px) {
    body.page-products .logo a::after,
    body.page-product .logo a::after {
        display: none;
    }
}
/* Header navigation refinement */
.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.main-nav .nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
}

.main-nav .nav-menu .sub-menu {
    min-width: 240px;
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-top: 3px solid var(--color-blue-main);
    border-radius: 8px;
    padding: 8px 0;
    transform: translateY(8px);
}

.main-nav .nav-menu .sub-menu li a {
    padding: 9px 18px;
    line-height: 1.35;
    white-space: nowrap;
}

.main-nav .nav-menu .sub-menu li a:hover {
    padding-left: 22px;
}

body.page-products .main-nav .nav-menu .sub-menu,
body.page-product .main-nav .nav-menu .sub-menu {
    border-top-color: var(--color-fulgent-red);
}

body.page-products .main-nav .nav-menu .sub-menu li a:hover,
body.page-product .main-nav .nav-menu .sub-menu li a:hover {
    background: #FFF3F4;
    color: var(--color-fulgent-red);
}

/* Preview the Fulgent product space before the user clicks Products. */
body:not(.page-products):not(.page-product) .site-header:has(.main-nav .nav-menu > li > a[href="products.html"]:hover),
body:not(.page-products):not(.page-product) .site-header:has(.main-nav .nav-menu > li > a[href="products.html"]:focus-visible),
body:not(.page-products):not(.page-product) .site-header:has(.main-nav .nav-menu > li:has(> a[href="products.html"]):hover) {
    box-shadow: inset 0 3px 0 var(--color-fulgent-red), var(--shadow-sm);
}

body:not(.page-products):not(.page-product) .main-nav .nav-menu > li > a[href="products.html"]:hover,
body:not(.page-products):not(.page-product) .main-nav .nav-menu > li > a[href="products.html"]:focus-visible,
body:not(.page-products):not(.page-product) .main-nav .nav-menu > li:has(> a[href="products.html"]):hover > a[href="products.html"] {
    color: var(--color-fulgent-red);
}

body:not(.page-products):not(.page-product) .main-nav .nav-menu > li > a[href="products.html"]:hover::after,
body:not(.page-products):not(.page-product) .main-nav .nav-menu > li > a[href="products.html"]:focus-visible::after,
body:not(.page-products):not(.page-product) .main-nav .nav-menu > li:has(> a[href="products.html"]):hover > a[href="products.html"]::after {
    bottom: -5px;
    left: 0;
    width: 100%;
    background: var(--color-fulgent-red);
}

body:not(.page-products):not(.page-product) .main-nav .nav-menu > li:has(> a[href="products.html"]):hover .sub-menu {
    border-top-color: var(--color-fulgent-red);
}

body:not(.page-products):not(.page-product) .main-nav .nav-menu > li:has(> a[href="products.html"]) .sub-menu li a:hover {
    background: #FFF3F4;
    color: var(--color-fulgent-red);
}

@media (max-width: 1180px) {
    .header-content { gap: 16px; }
    .main-nav .nav-menu { gap: 16px; }
    .main-nav .nav-menu a { font-size: 13.5px; }
    .header-actions .btn { padding: 12px 22px; }
}

@media (max-width: 1050px) {
    .main-nav .nav-menu { gap: 12px; }
    .header-actions .btn { padding: 10px 18px; font-size: 13px; }
}

@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
}

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    .main-nav {
        display: none;
        width: 100%;
        flex-basis: 100%;
        justify-content: flex-start;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav .nav-menu {
        align-items: flex-start;
    }

    .main-nav .nav-menu > li,
    .main-nav .nav-menu > li > a {
        width: 100%;
    }

    .main-nav .nav-menu .sub-menu {
        min-width: 0;
        width: 100%;
        border: 0;
        border-radius: 0;
    }
}


/* Category icon fallback for local SVG assets */
.category-image img[src$=".svg"] {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.88;
}

/* Product header cleanup */
body.page-products .logo a::after,
body.page-product .logo a::after {
    display: none;
    content: none;
}

body.page-products .product-brand-byline,
body.page-product .product-brand-byline,
body.page-fulgent-advisor .product-brand-byline {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(17, 17, 17, 0.2);
    color: var(--color-accent-black);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    body.page-products .product-brand-byline,
    body.page-product .product-brand-byline,
    body.page-fulgent-advisor .product-brand-byline {
        display: none;
    }
}

body.page-products .main-nav .nav-menu > li > a[href="products.html"],
body.page-product .main-nav .nav-menu > li > a[href="products.html"] {
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-fulgent-red);
}

body.page-products .main-nav .nav-menu > li > a[href="products.html"]::after,
body.page-product .main-nav .nav-menu > li > a[href="products.html"]::after {
    bottom: -5px;
    left: 0;
    width: 100%;
    background: var(--color-fulgent-red);
}

body.page-products .main-nav .nav-menu .sub-menu li a:hover,
body.page-product .main-nav .nav-menu .sub-menu li a:hover {
    background: transparent;
}

/* Stable desktop header geometry across Terahealth and Fulgent pages */
@media (min-width: 993px) {
    .header-content {
        display: grid;
        grid-template-columns: 190px minmax(0, 1fr) 220px;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .logo {
        width: 190px;
        min-width: 190px;
    }

    .logo a {
        display: inline-flex;
        align-items: center;
    }

    .main-nav {
        justify-self: center;
        width: 100%;
        justify-content: center;
    }

    .header-actions {
        width: 220px;
        min-width: 220px;
        justify-content: flex-end;
    }

    body.page-products .header-content,
    body.page-product .header-content,
    body.page-fulgent-advisor .header-content {
        grid-template-columns: 240px minmax(0, 1fr) 220px;
    }

    body.page-products .logo,
    body.page-product .logo,
    body.page-fulgent-advisor .logo {
        width: 240px;
        min-width: 240px;
    }
}

/* Editorial helper labels are hidden in the final public UI. */
.hero-badge,
.section-kicker,
.badge-highlight {
    display: none !important;
}

body.page-products .hero-badge,
body.page-products .section-kicker,
body.page-products .badge-highlight,
body.page-product .hero-badge,
body.page-product .section-kicker,
body.page-product .badge-highlight,
body.page-fulgent-advisor .hero-badge,
body.page-fulgent-advisor .section-kicker,
body.page-fulgent-advisor .badge-highlight {
    display: none !important;
}
/* Final header geometry lock: keep menu placement identical across all pages. */
@media (min-width: 993px) {
    .header-content,
    body.page-products .header-content,
    body.page-product .header-content,
    body.page-fulgent-advisor .header-content {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr) 220px;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .logo,
    body.page-products .logo,
    body.page-product .logo,
    body.page-fulgent-advisor .logo {
        width: 240px;
        min-width: 240px;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo > a,
    .logo .brand-logo {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .main-nav {
        justify-self: center;
        width: 100%;
        justify-content: center;
    }

    .header-actions {
        width: 220px;
        min-width: 220px;
        justify-content: flex-end;
    }
}

.product-logo-lockup {
    gap: 12px;
}

body.page-products .product-logo-lockup .product-brand-byline,
body.page-product .product-logo-lockup .product-brand-byline,
body.page-fulgent-advisor .product-logo-lockup .product-brand-byline {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 40px;
    height: 28px;
    flex: 0 0 40px;
    margin-left: 0;
    padding-left: 12px;
    border-left: 1px solid rgba(17, 17, 17, 0.22);
    overflow: hidden;
    color: transparent;
    font-size: 0;
    line-height: 0;
    background: url("../images/tera-sign.svg") right center / 28px 28px no-repeat;
    text-decoration: none;
    white-space: nowrap;
}

body.page-products .product-logo-lockup .product-brand-byline:hover,
body.page-product .product-logo-lockup .product-brand-byline:hover,
body.page-fulgent-advisor .product-logo-lockup .product-brand-byline:hover {
    opacity: 0.82;
}

body.page-leadership .main-nav .nav-menu > li > a[href="about.html"] {
    color: var(--color-blue-main);
}

body.page-leadership .main-nav .nav-menu > li > a[href="about.html"]::after {
    width: 100%;
}

@media (max-width: 768px) {
    .product-logo-lockup .product-brand-byline {
        display: none;
    }
}

/* Keep the Fulgent–Terahealth brand lockup balanced in compact headers. */
@media (max-width: 768px) {
    body:is(.page-products, .page-product, .page-fulgent-advisor) .product-logo-lockup {
        display: inline-flex;
        align-items: center;
        width: auto;
        min-width: 0;
        gap: 10px;
    }

    body:is(.page-products, .page-product, .page-fulgent-advisor) .product-logo-lockup .brand-logo {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    body:is(.page-products, .page-product, .page-fulgent-advisor) .product-logo-lockup .brand-logo img {
        width: 128px;
        height: auto;
        max-height: 46px;
        display: block;
    }

    body.page-products .product-logo-lockup .product-brand-byline,
    body.page-product .product-logo-lockup .product-brand-byline,
    body.page-fulgent-advisor .product-logo-lockup .product-brand-byline {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        width: 39px;
        height: 34px;
        flex: 0 0 39px;
        margin: 0;
        padding: 0 0 0 10px;
        border-left: 1px solid rgba(17, 17, 17, 0.18);
        background-position: right center;
        background-size: 28px 28px;
    }
}

/* Active parent states for partner/resource subpages */
body.page-case-studies .main-nav .nav-menu > li > a[href="for-partners.html"],
body.page-faq .main-nav .nav-menu > li > a[href="for-partners.html"] {
    color: var(--color-blue-main);
}

body.page-case-studies .main-nav .nav-menu > li > a[href="for-partners.html"]::after,
body.page-faq .main-nav .nav-menu > li > a[href="for-partners.html"]::after {
    width: 100%;
}

/* Home page refresh */
body.page-home .home-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

body.page-home .home-hero-media {
    position: absolute;
    inset: 0;
    background-image: url("../images/banners/home-hero-family-optimized.webp");
    background-size: cover;
    background-position: center center;
    transform: scale(1.01);
}

body.page-home .home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.10) 78%, rgba(0, 0, 0, 0.04) 100%);
}

body.page-home .home-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max);
    text-align: left;
}

body.page-home .home-hero .hero-badge,
body.page-home .b2b-section .section-kicker,
body.page-home .manifesto-section .section-kicker {
    display: block;
    color: #8bd0ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

body.page-home .home-hero .hero-title {
    color: #fff;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.04;
    max-width: 780px;
    margin-bottom: 22px;
    font-weight: 650;
}

body.page-home .home-hero .hero-title span {
    display: block;
}

body.page-home .home-hero .hero-subtitle {
    color: rgba(255,255,255,0.84);
    font-size: 19px;
    line-height: 1.7;
    max-width: 670px;
    margin: 0 0 34px;
}

body.page-home .home-hero .hero-buttons {
    justify-content: flex-start;
}

body.page-home .home-hero .btn-primary {
    background: rgba(15, 124, 193, 0.72);
    border: 1px solid rgba(139, 208, 255, 0.58);
    box-shadow: 0 14px 30px rgba(15, 124, 193, 0.22);
    backdrop-filter: blur(12px);
}

body.page-home .home-hero .btn-primary:hover {
    background: rgba(15, 124, 193, 0.88);
    border-color: rgba(139, 208, 255, 0.82);
    box-shadow: 0 18px 40px rgba(15, 124, 193, 0.28);
    transform: translateY(-4px);
}

body.page-home .home-hero .btn-outline {
    border-color: #fff;
    color: #fff;
}

body.page-home .home-hero .btn-outline:hover {
    background: #fff;
    color: var(--color-navy-deep);
}

body.page-home .home-proof-strip {
    position: relative;
    z-index: 2;
    margin-top: -42px;
    background: transparent;
    border-bottom: 0;
    color: var(--color-text);
    padding: 0 0 34px;
}

body.page-home .proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

body.page-home .proof-item {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(229, 238, 245, 0.78);
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(12px);
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
    will-change: transform;
}

body.page-home .proof-item:hover {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(199, 218, 232, 0.92);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

body.page-home .proof-item span {
    display: block;
    color: var(--color-navy-deep);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

body.page-home .proof-item p {
    color: var(--color-text-muted);
    font-size: 14px;
    margin: 0;
}

body.page-home .product-categories,
body.page-home .why-fulgent {
    padding: 82px 0;
}

body.page-home .home-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

body.page-home .home-section-heading .section-kicker {
    display: block;
    color: var(--color-blue-main);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

body.page-home .home-section-heading .section-title {
    margin-bottom: 14px;
}

body.page-home .home-section-heading p {
    color: var(--color-gray-700);
    line-height: 1.7;
}

body.page-home .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
    margin: 0 auto;
}

body.page-home .category-card,
body.page-home .feature-card {
    border: 1px solid #dce6ef;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.07);
    overflow: hidden;
}

body.page-home .category-card:hover,
body.page-home .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(10, 37, 64, 0.11);
}

body.page-home .category-card[data-card-href] {
    cursor: pointer;
}

body.page-home .category-image {
    height: 220px;
    background: #f6f9fc;
}

body.page-home .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

body.page-home .category-content {
    padding: 26px;
}

body.page-home .category-content h3 {
    font-size: 21px;
}

body.page-home .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
    margin: 0 auto;
}

body.page-home .feature-card {
    padding: 30px 24px;
    position: relative;
    padding-bottom: 76px;
}

body.page-home .feature-icon {
    width: 72px;
    height: 72px;
}

body.page-home .feature-card h3 {
    font-size: 19px;
}

body.page-home .feature-card p {
    color: var(--color-gray-700);
    font-size: 14px;
    line-height: 1.65;
}

body.page-home .feature-card-cta {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 8px;
    background: rgba(15, 124, 193, 0.92);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    box-shadow: 0 14px 28px rgba(15, 124, 193, 0.22);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

body.page-home .feature-card:hover .feature-card-cta,
body.page-home .feature-card:focus-within .feature-card-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

body.page-home .feature-card-cta:hover {
    background: #0b6ead;
}

body.page-home .b2b-section {
    padding: 74px 0;
}

body.page-home .b2b-content h2 {
    font-size: clamp(32px, 4vw, 46px);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

body.page-home .b2b-content p {
    color: rgba(255,255,255,0.78);
    font-size: 17px;
    line-height: 1.7;
}

body.page-home .b2b-features {
    gap: 18px 30px;
}

body.page-home .b2b-feature {
    color: rgba(255,255,255,0.86);
}

body.page-home .manifesto-section {
    background: #f6f9fc;
    padding: 78px 0;
}

body.page-home .manifesto-content {
    max-width: 860px;
}

body.page-home .manifesto-content h2 {
    font-size: clamp(30px, 3vw, 42px);
    margin-bottom: 20px;
}

body.page-home .manifesto-content blockquote {
    color: var(--color-gray-700);
    font-size: 19px;
    line-height: 1.8;
}

body.page-home .manifesto-content blockquote strong {
    color: var(--color-navy-deep);
    font-size: 24px;
    letter-spacing: 0;
}

body.page-home .manifesto-signature {
    font-size: 13px;
    letter-spacing: 0.12em;
}

@media (max-width: 992px) {
    body.page-home .home-hero {
        min-height: 560px;
    }

    body.page-home .home-hero-overlay {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.44));
    }

    body.page-home .proof-grid,
    body.page-home .categories-grid,
    body.page-home .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body.page-home .home-hero {
        min-height: 560px;
        align-items: flex-end;
        padding-bottom: 56px;
    }

    body.page-home .home-hero-media {
        background-position: 68% center;
    }

    body.page-home .home-hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.64) 46%, rgba(0, 0, 0, 0.88) 100%);
    }

    body.page-home .home-hero-content {
        padding-inline: 20px;
    }

    body.page-home .home-hero .hero-title {
        font-size: 40px;
        line-height: 1.08;
        max-width: 390px;
        margin-bottom: 18px;
    }

    body.page-home .home-hero .hero-subtitle {
        font-size: 17px;
        line-height: 1.55;
        max-width: 360px;
        margin-bottom: 24px;
    }

    body.page-home .home-hero .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    body.page-home .home-hero .hero-buttons .btn {
        width: 100%;
        padding-block: 13px;
    }

    body.page-home .home-proof-strip {
        margin-top: 0;
        padding: 22px 0 34px;
        background: #fff;
    }

    body.page-home .proof-grid,
    body.page-home .categories-grid,
    body.page-home .features-grid {
        grid-template-columns: 1fr;
    }

    body.page-home .proof-item {
        padding-left: 14px;
    }
}

/* Unified card system
   Shared physical language for product, resource, trust, and company cards. */
:root {
    --card-radius: 8px;
    --card-border: #dce6ef;
    --card-shadow: 0 12px 30px rgba(10, 37, 64, 0.07);
    --card-shadow-hover: 0 18px 42px rgba(10, 37, 64, 0.11);
    --card-padding: 24px;
    --card-media-bg: #f6f9fc;
    --card-hover-lift: -4px;
}

/* Fulgent brand space: product catalogue, product details and routine finder. */
body:is(.page-products, .page-product, .page-fulgent-advisor) {
    --color-blue-main: #e30613;
    --color-blue-link: #ff5c66;
    --color-blue-light: #fff3f4;
    --color-navy-deep: #111111;
    --shadow-sm: 0 2px 8px rgba(17, 17, 17, 0.08);
    --shadow-md: 0 8px 24px rgba(17, 17, 17, 0.12);
    --shadow-lg: 0 16px 48px rgba(17, 17, 17, 0.16);
}

.category-card,
.product-card,
.feature-card,
.insight-card,
.download-card,
.cert-card,
.case-card,
.faq-item,
.about-card,
.about-card-large,
.about-region,
.about-method-list span,
.leader-card,
.contact-card,
.partner-card,
.benefit-card,
.resource-card,
.principle-item {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.product-card:hover,
.feature-card:hover,
.insight-card:hover,
.download-card:hover,
.cert-card:hover,
.case-card:hover,
.faq-item:hover,
.about-card:hover,
.about-card-large:hover,
.about-region:hover,
.about-method-list span:hover,
.leader-card:hover,
.contact-card:hover,
.partner-card:hover,
.benefit-card:hover,
.resource-card:hover,
.principle-item:hover {
    transform: translateY(var(--card-hover-lift));
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(15, 124, 193, 0.28);
}

.category-image,
.product-image,
.insight-image,
.download-icon,
.cert-icon-wrapper,
.leader-index,
.leader-photo,
.contact-card-icon,
.feature-icon-wrap {
    background: var(--card-media-bg);
}

.category-content,
.product-content,
.feature-card,
.download-card,
.cert-content,
.case-content,
.faq-question,
.about-card,
.leader-info,
.contact-card,
.partner-card,
.benefit-card,
.resource-card,
.principle-item {
    padding: var(--card-padding);
}

.category-content h3,
.product-content h3,
.feature-card h3,
.insight-card h3,
.download-content h3,
.cert-content h3,
.case-content h3,
.about-card h3,
.leader-info h3,
.contact-card h3,
.partner-card h3,
.benefit-card h3,
.resource-card h3,
.principle-item strong {
    color: var(--color-navy-deep);
    line-height: 1.25;
}

.category-content p,
.product-content p,
.feature-card p,
.insight-card p,
.download-content p,
.cert-content p,
.case-content p,
.about-card p,
.leader-info p,
.contact-card p,
.partner-card p,
.benefit-card p,
.resource-card p,
.principle-item span {
    color: var(--color-gray-700);
    line-height: 1.65;
}

/* Black dark-surface alignment */
.site-footer,
body.page-insights .site-footer,
body.page-products .site-footer,
body.page-product .site-footer,
body.page-fulgent-advisor .site-footer {
    background: #050505 !important;
}

.b2b-section,
.home-proof-strip,
.faq-contact-cta,
.downloads-cta,
.custom-request,
.become-partner-cta {
    background-color: #050505;
}

body.page-home .b2b-section {
    background: #0F7CC1 !important;
}

body.page-home .b2b-section .check-icon {
    color: #DDF4FF;
    text-shadow: 0 0 18px rgba(221, 244, 255, 0.42);
}

/* Hide final-site editorial overline labels across every page. */
.hero-badge,
.section-kicker,
.about-eyebrow,
.partners-hero .badge-highlight {
    display: none !important;
}


@media (max-width: 992px) {
    .top-utility-content {
        justify-content: center;
    }

    .top-utility-nav {
        width: 100%;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .language-switcher {
        justify-content: center;
    }

    .language-toggle {
        width: 100%;
        justify-content: center;
    }

    .language-menu {
        right: auto;
        left: 50%;
        transform: translate(-50%, 6px);
    }

    .language-switcher.active .language-menu {
        transform: translate(-50%, 0);
    }
}

@media (max-width: 680px) {
    .header-actions {
        gap: 10px;
        width: 100%;
        justify-content: flex-end;
    }

    .site-search {
        flex: 1;
        min-width: 0;
    }

    .language-toggle {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 12px;
    }
}



/* Trust architecture: homepage uses a concise proof route, not repeated certification cards. */
.trust-overview-section {
    padding: 84px 0;
    background: #fff;
}

.trust-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr) auto;
    align-items: center;
    gap: 28px;
}

.trust-overview-copy .section-title {
    margin-bottom: 14px;
    text-align: left;
}

.trust-overview-copy p {
    max-width: 620px;
    color: var(--color-gray-700);
    font-size: 17px;
    line-height: 1.75;
}

.trust-overview-list {
    display: grid;
    gap: 10px;
}

.trust-overview-list span {
    padding: 12px 14px;
    color: var(--color-navy-deep);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    font-weight: 650;
}

.trust-overview-link {
    justify-self: end;
    color: var(--color-blue-main);
    font-weight: 750;
}

.trust-overview-link:hover {
    color: var(--color-blue-link);
}

@media (max-width: 1000px) {
    .trust-overview {
        grid-template-columns: 1fr;
    }

    .trust-overview-link {
        justify-self: start;
    }
}

/* Home comment refinements: icon proof strip, insights trio, and B2B icon row. */
body.page-home .proof-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
}

body.page-home .proof-item i {
    grid-row: 1 / 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--color-blue-main);
    background: rgba(15, 124, 193, 0.1);
    border: 1px solid rgba(15, 124, 193, 0.18);
    border-radius: 8px;
    font-size: 18px;
}

body.page-home .proof-item span,
body.page-home .proof-item p {
    grid-column: 2;
}

body.page-home .home-insights-section {
    padding: 84px 0;
    background: #fff;
}

body.page-home .home-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

body.page-home .home-insight-card {
    overflow: hidden;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

body.page-home .home-insight-card:hover,
body.page-home .home-insight-card:focus-within {
    transform: translateY(var(--card-hover-lift));
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(15, 124, 193, 0.28);
}

body.page-home .home-insight-image {
    aspect-ratio: 16 / 10;
    background: #f3f7fa;
    border-bottom: 1px solid var(--card-border);
}

body.page-home .home-insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.page-home .home-insight-content {
    padding: 24px;
}

body.page-home .home-insight-type {
    display: block;
    color: var(--color-blue-main);
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 12px;
}

body.page-home .home-insight-content h3 {
    color: var(--color-navy-deep);
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px;
}

body.page-home .home-insight-content p {
    color: var(--color-gray-700);
    line-height: 1.65;
    margin-bottom: 18px;
}

body.page-home .b2b-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin: 28px auto 38px;
    gap: 16px;
}

body.page-home .b2b-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px;
    color: rgba(255,255,255,0.94);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--card-radius);
}

body.page-home .b2b-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #fff;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    flex: 0 0 auto;
}

body.page-home .b2b-feature .check-icon {
    display: none;
}

@media (max-width: 1000px) {
    body.page-home .home-insights-grid,
    body.page-home .b2b-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.page-home .proof-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    body.page-home .proof-item i {
        width: 38px;
        height: 38px;
    }
}


/* Home proof strip: supplied brand icons. */
body.page-home .proof-item .proof-icon {
    align-items: center;
    background: rgba(15, 124, 193, 0.08);
    border: 1px solid rgba(15, 124, 193, 0.16);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    object-fit: contain;
    padding: 8px;
    width: 42px;
}

/* Corporate Terahealth bands: replace navy section backgrounds with the
   reference blue used by About “Work With Terahealth”. Product/Fulgent pages,
   black site furniture and footers remain outside this system. */
html body:not(.page-products):not(.page-product):not(.page-fulgent-advisor):not(.page-contact)
    :is(
        .b2b-section,
        .faq-contact-cta,
        .downloads-cta,
        .custom-request,
        .become-partner-cta,
        .article-side-cta,
        .contact-cta,
        .partner-cta
    ) {
    background: #0f7cc1 !important;
    background-image: none !important;
}

html body:not(.page-products):not(.page-product):not(.page-fulgent-advisor):not(.page-contact):not(.page-case-studies):not(.page-faq):not(.page-certifications):not(.page-downloads)
    main > section:is(
        .case-hero,
        .certs-hero,
        .contact-hero,
        .downloads-hero,
        .faq-hero,
        .legal-hero
    ) {
    background: #0f7cc1 !important;
    background-image: none !important;
}

html body.page-home .home-hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(15, 124, 193, .96) 0%,
        rgba(15, 124, 193, .80) 43%,
        rgba(15, 124, 193, .22) 76%,
        rgba(15, 124, 193, .06) 100%
    ) !important;
}

html body.page-about .about-hero {
    background:
        linear-gradient(90deg, rgba(15, 124, 193, .92), rgba(15, 124, 193, .62) 48%, rgba(15, 124, 193, .78)),
        url("../images/about-banner.webp") center center / cover no-repeat !important;
}

html body.page-partners .partners-hero {
    background:
        linear-gradient(90deg, rgba(15, 124, 193, .94) 0%, rgba(15, 124, 193, .78) 55%, rgba(15, 124, 193, .58) 100%),
        url("../images/for-partners.webp") center center / cover no-repeat !important;
}

html body.page-insights:not(.page-insight-article) .insights-hero {
    background:
        linear-gradient(90deg, rgba(15, 124, 193, .92) 0%, rgba(15, 124, 193, .66) 46%, rgba(15, 124, 193, .28) 100%),
        url("../images/insights-banner.webp") center center / cover no-repeat !important;
}

html body.page-insight-article .article-hero {
    background:
        linear-gradient(100deg, rgba(15, 124, 193, .94) 0%, rgba(15, 124, 193, .78) 48%, rgba(15, 124, 193, .44) 100%),
        var(--article-hero-image) center center / cover no-repeat,
        #0f7cc1 !important;
}

body.page-home .proof-item .proof-flag-ca {
    display: none;
}

@media (max-width: 680px) {
    body.page-home .proof-item .proof-icon {
        flex-basis: 38px;
        height: 38px;
        padding: 7px;
        width: 38px;
    }
}

/* Home proof strip: larger raw icons without icon frames. */
body.page-home .proof-item .proof-icon {
    background: transparent;
    border: 0;
    border-radius: 0;
    flex: 0 0 84px;
    height: 84px;
    padding: 0;
    width: 84px;
}

@media (max-width: 680px) {
    body.page-home .proof-item .proof-icon {
        flex-basis: 72px;
        height: 72px;
        padding: 0;
        width: 72px;
    }
}

/* Home proof strip: balanced card layout for large supplied icons. */
body.page-home .proof-grid {
    align-items: stretch;
    gap: 18px;
}

body.page-home .proof-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-rows: min-content min-content;
    column-gap: 20px;
    row-gap: 6px;
    align-content: center;
    align-items: center;
    min-height: 116px;
    padding: 18px 22px;
}

body.page-home .proof-item .proof-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    flex: none;
    height: 84px;
    max-width: none;
    object-fit: contain;
    padding: 0;
    width: 84px;
}

body.page-home .proof-item span:not(.proof-flag-ca) {
    grid-column: 2;
    align-self: end;
    display: block;
    font-size: 18px;
    line-height: 1.18;
    margin: 0;
}

body.page-home .proof-item p {
    grid-column: 2;
    align-self: start;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 1050px) {
    body.page-home .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body.page-home .home-proof-strip {
        margin-top: -28px;
    }

    body.page-home .proof-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.page-home .proof-item {
        grid-template-columns: 70px minmax(0, 1fr);
        min-height: 96px;
        padding: 16px 18px;
        column-gap: 16px;
    }

    body.page-home .proof-item .proof-icon {
        height: 70px;
        width: 70px;
    }

    body.page-home .proof-item span:not(.proof-flag-ca) {
        font-size: 17px;
    }

    body.page-home .proof-item p {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Home B2B strip: supplied white SVG icons without icon frames. */
body.page-home .b2b-feature {
    gap: 18px;
    padding: 16px 18px;
}

body.page-home .b2b-feature .b2b-feature-icon {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: inherit;
    display: block;
    flex: 0 0 70px;
    height: 70px;
    object-fit: contain;
    padding: 0;
    width: 70px;
    filter: brightness(0) invert(1);
}

body.page-home .b2b-feature span {
    line-height: 1.35;
}

@media (max-width: 1000px) {
    body.page-home .b2b-feature {
        justify-content: flex-start;
        min-height: 94px;
    }
}

@media (max-width: 640px) {
    body.page-home .b2b-feature .b2b-feature-icon {
        flex-basis: 62px;
        height: 62px;
        width: 62px;
    }
}


/* Hide image category badges on the Insights listing cards. */
body.page-insights .insight-image .insight-category {
    display: none;
}

/* Canonical white CTA — matches the Insights “Request a Guide” button. */
/* Repeated class raises specificity above legacy page-level CTA rules. */
html body .btn.btn-white.btn-white.btn-white {
    align-items: center;
    backdrop-filter: blur(12px) !important;
    background: rgba(255, 255, 255, 0.74) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: 0 14px 34px rgba(5, 5, 5, 0.12) !important;
    box-sizing: border-box;
    color: var(--color-navy-deep) !important;
    display: inline-flex;
    font-size: 16px !important;
    font-weight: 600;
    height: 62px !important;
    justify-content: center;
    line-height: 1.25;
    min-height: 62px !important;
    padding: 0 40px !important;
    text-align: center;
}

html body .btn.btn-white.btn-white.btn-white:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14) !important;
    color: var(--color-navy-deep) !important;
    transform: translateY(-4px);
}

html body .btn.btn-white.btn-white.btn-white:focus-visible {
    outline: 3px solid rgba(15, 124, 193, 0.42);
    outline-offset: 3px;
}

/* Canonical blue CTA — matches Home “Explore Fulgent Products”. */
html body .btn.btn-primary.btn-primary.btn-primary {
    align-items: center;
    background: #2e74b5 !important;
    border: 1px solid #74b7e4 !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) !important;
    box-sizing: border-box;
    color: #fff !important;
    display: inline-flex !important;
    font-size: 15px !important;
    font-weight: 600;
    height: 56px !important;
    justify-content: center;
    line-height: 24px;
    min-height: 56px !important;
    padding: 14px 24px !important;
    text-align: center;
}

html body .btn.btn-primary.btn-primary.btn-primary:hover {
    background: #1f4d78 !important;
    border-color: #8bcdf5 !important;
    box-shadow: 0 18px 40px rgba(15, 124, 193, 0.28) !important;
    color: #fff !important;
    transform: translateY(-4px);
}

html body .btn.btn-primary.btn-primary.btn-primary:focus-visible {
    outline: 3px solid rgba(116, 183, 228, 0.5);
    outline-offset: 3px;
}

/* Fulgent red CTA: identical geometry to the canonical blue CTA. */
html body:is(.page-products, .page-product, .page-fulgent-advisor)
    .btn.btn-primary.btn-primary.btn-primary {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: rgba(227, 6, 19, 0.72) !important;
    border-color: rgba(255, 122, 132, 0.62) !important;
    box-shadow: 0 14px 30px rgba(227, 6, 19, 0.18) !important;
}

html body:is(.page-products, .page-product, .page-fulgent-advisor)
    .btn.btn-primary.btn-primary.btn-primary:hover {
    background: var(--color-fulgent-red) !important;
    border-color: rgba(255, 142, 150, 0.86) !important;
    box-shadow: 0 18px 40px rgba(227, 6, 19, 0.26) !important;
}

html body:is(.page-products, .page-product, .page-fulgent-advisor)
    .btn.btn-primary.btn-primary.btn-primary:focus-visible {
    outline-color: rgba(227, 6, 19, 0.38);
}

@media (max-width: 480px) {
    html body .btn.btn-white.btn-white.btn-white {
        max-width: 100%;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }

    html body .btn.btn-primary.btn-primary.btn-primary {
        max-width: 100%;
    }
}

/* Uniform internal-page banner heroes. The Home slider and product-detail
   presentation panels are intentionally outside this banner system. */
html body:not(.page-home) main > section:is(
    .about-hero,
    .case-hero,
    .certs-hero,
    .contact-hero,
    .downloads-hero,
    .faq-hero,
    .partners-hero,
    .advisor-hero,
    .article-hero,
    .insights-hero,
    .legal-hero,
    .page-hero
) {
    align-items: center !important;
    box-sizing: border-box;
    display: flex !important;
    height: 420px !important;
    min-height: 420px !important;
    overflow: hidden;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    width: 100%;
}

@media (max-width: 992px) {
    html body:not(.page-home) main > section:is(
        .about-hero,
        .case-hero,
        .certs-hero,
        .contact-hero,
        .downloads-hero,
        .faq-hero,
        .partners-hero,
        .advisor-hero,
        .article-hero,
        .insights-hero,
        .legal-hero,
        .page-hero
    ) {
        height: 460px !important;
        min-height: 460px !important;
    }
}

@media (max-width: 640px) {
    html body:not(.page-home) main > section:is(
        .about-hero,
        .case-hero,
        .certs-hero,
        .contact-hero,
        .downloads-hero,
        .faq-hero,
        .partners-hero,
        .advisor-hero,
        .article-hero,
        .insights-hero,
        .legal-hero,
        .page-hero
    ) {
        height: 520px !important;
        min-height: 520px !important;
    }

    /* Keep the two-part advisor introduction inside the shared mobile hero. */
    html body.page-fulgent-advisor .advisor-hero-grid {
        gap: 20px !important;
    }

    html body.page-fulgent-advisor .advisor-hero .hero-title {
        font-size: 34px !important;
        line-height: 1.05 !important;
    }

    html body.page-fulgent-advisor .advisor-hero .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    html body.page-fulgent-advisor .advisor-hero .hero-actions {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        margin-top: 18px !important;
    }

    html body.page-fulgent-advisor .advisor-hero .btn {
        flex: 1 1 0;
        font-size: 14px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 12px !important;
        width: auto !important;
    }

    html body.page-fulgent-advisor .advisor-principles {
        padding: 18px !important;
    }
}

/* --------------------------------------------------------------------------
   Canonical typography and content alignment
   Reference: the For Partners hero. Every page uses the same Inter hierarchy;
   visual themes may change colour, but not typographic geometry.
   -------------------------------------------------------------------------- */
html body,
html body main,
html body main :is(h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea) {
    font-family: var(--font-primary, "Inter", Arial, sans-serif) !important;
}

html body :is(
    .home-hero,
    .about-hero,
    .case-hero,
    .certs-hero,
    .contact-hero,
    .downloads-hero,
    .faq-hero,
    .partners-hero,
    .advisor-hero,
    .article-hero,
    .insights-hero,
    .legal-hero,
    .page-hero
) > .container {
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--container-max, 1200px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    text-align: left !important;
    width: 100% !important;
}

html body :is(
    .home-hero,
    .about-hero,
    .case-hero,
    .certs-hero,
    .contact-hero,
    .downloads-hero,
    .faq-hero,
    .partners-hero,
    .advisor-hero,
    .article-hero,
    .insights-hero,
    .legal-hero,
    .page-hero
) :is(.hero-title, h1) {
    font-size: clamp(46px, 6vw, 70px) !important;
    font-weight: 650 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.02 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 760px !important;
    text-align: left !important;
}

html body :is(
    .home-hero,
    .about-hero,
    .case-hero,
    .certs-hero,
    .contact-hero,
    .downloads-hero,
    .faq-hero,
    .partners-hero,
    .advisor-hero,
    .article-hero,
    .insights-hero,
    .legal-hero,
    .page-hero
) :is(.hero-subtitle, .article-deck) {
    font-size: 18px !important;
    line-height: 1.65 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 730px !important;
    text-align: left !important;
}

html body :is(
    .home-hero,
    .about-hero,
    .case-hero,
    .certs-hero,
    .contact-hero,
    .downloads-hero,
    .faq-hero,
    .partners-hero,
    .advisor-hero,
    .article-hero,
    .insights-hero,
    .legal-hero,
    .page-hero
) :is(.hero-buttons, .hero-actions, .article-meta-line) {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* Decorative overlines and promotional chips are intentionally removed.
   Trust marks, product facts and functional language/status labels remain. */
html body :is(
    .hero-badge,
    .section-kicker,
    .about-eyebrow,
    .badge-highlight,
    .article-kicker,
    .article-side-eyebrow,
    .product-category-tag,
    .advisor-eyebrow,
    .result-kicker,
    .insight-category,
    .case-badge
) {
    display: none !important;
}

@media (max-width: 640px) {
    html body :is(
        .home-hero,
        .about-hero,
        .case-hero,
        .certs-hero,
        .contact-hero,
        .downloads-hero,
        .faq-hero,
        .partners-hero,
        .advisor-hero,
        .article-hero,
        .insights-hero,
        .legal-hero,
        .page-hero
    ) :is(.hero-title, h1) {
        font-size: clamp(40px, 12vw, 52px) !important;
        line-height: 1.04 !important;
        max-width: 100% !important;
    }

    html body :is(
        .home-hero,
        .about-hero,
        .case-hero,
        .certs-hero,
        .contact-hero,
        .downloads-hero,
        .faq-hero,
        .partners-hero,
        .advisor-hero,
        .article-hero,
        .insights-hero,
        .legal-hero,
        .page-hero
    ) :is(.hero-subtitle, .article-deck) {
        font-size: 18px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }

    /* Retire the advisor page's older compact mobile type override. */
    html body.page-fulgent-advisor .advisor-hero .hero-title {
        font-size: clamp(40px, 12vw, 52px) !important;
        line-height: 1.04 !important;
    }

    html body.page-fulgent-advisor .advisor-hero .hero-subtitle {
        font-size: 18px !important;
        line-height: 1.55 !important;
    }

    /* Preserve the reference type size on long article titles by tightening
       only the vertical rhythm, never shrinking the heading. */
    html body .article-hero h1 {
        margin-bottom: 16px !important;
    }

    html body .article-hero .article-deck {
        margin-bottom: 20px !important;
    }
}
