:root {
    --facthu-primary: #083B66;
    --facthu-secondary: #00AEEF;
    --facthu-accent: #78BE20;
    --facthu-bg: #FAFBFD;
    --facthu-text: #17212f;
    --facthu-muted: #677489;
    --facthu-border: #e7edf5;
    --facthu-card: #ffffff;
    --facthu-shadow: 0 18px 45px rgba(8, 59, 102, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    color: var(--facthu-text);
    background: var(--facthu-bg);
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
}

code {
    color: var(--facthu-primary);
    background: #eef7fd;
    border-radius: 6px;
    padding: 2px 6px;
}

.brand-logo {
    width: 150px;
    max-height: 58px;
    object-fit: contain;
}

.panel-logo {
    width: 150px;
    max-height: 54px;
    object-fit: contain;
}

.public-header .nav-link {
    color: #435166;
    font-weight: 600;
}

.public-header .nav-link.active,
.public-header .nav-link:hover {
    color: var(--facthu-primary);
}

.hero-section {
    background:
        radial-gradient(circle at top right, rgba(0, 174, 239, 0.14), transparent 35%),
        linear-gradient(180deg, #ffffff 0%, var(--facthu-bg) 100%);
}

.py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--facthu-secondary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: var(--facthu-accent);
}

.btn-primary-facthu {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(8, 59, 102, 0.18);
}

.btn-primary-facthu:hover,
.btn-primary-facthu:focus {
    color: #ffffff;
    background: #052c4c;
    border-color: #052c4c;
}

.btn-outline-facthu {
    color: var(--facthu-primary);
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 12px;
    font-weight: 700;
}

.btn-outline-facthu:hover,
.btn-outline-facthu:focus {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

.hero-card,
.feature-card,
.panel-card,
.error-card {
    background: var(--facthu-card);
    border: 1px solid var(--facthu-border);
    border-radius: 22px;
}

.hero-card {
    overflow: hidden;
}

.hero-card-header {
    color: #ffffff;
    background: var(--facthu-primary);
    padding: 18px 22px;
    font-weight: 800;
}

.hero-card-body {
    padding: 22px;
}

.mini-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 120px;
    padding: 18px;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    background: #ffffff;
}

.mini-card i,
.feature-card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.11);
    border-radius: 12px;
    font-size: 1.25rem;
}

.mini-card span {
    font-weight: 800;
}

.bg-soft {
    background: var(--facthu-bg);
}

.feature-card {
    padding: 26px;
    box-shadow: var(--facthu-shadow);
}

.feature-card h3 {
    margin-top: 18px;
    font-size: 1.15rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--facthu-muted);
    margin-bottom: 0;
}

.panel-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.panel-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1020;
}

.sidebar-brand {
    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 18px 22px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    color: #435166;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sidebar-link i {
    font-size: 1.1rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #ffffff;
    background: var(--facthu-primary);
}

.panel-main {
    min-width: 0;
}

.panel-topbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    position: sticky;
    top: 0;
    z-index: 1010;
}

.panel-content {
    padding: 28px;
}

.panel-card {
    padding: 24px;
    box-shadow: var(--facthu-shadow);
}

.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--facthu-primary);
    background: #eef7fd;
    border: 1px solid #d9edf8;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 800;
}

.status-pill span {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--facthu-accent);
}

.table thead th {
    color: #596679;
    background: #f5f8fb;
    border-bottom: 1px solid var(--facthu-border);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.table tbody td {
    border-color: var(--facthu-border);
}

.step-list {
    display: grid;
    gap: 12px;
}

.step-list div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    background: #ffffff;
}

.step-list span {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 50%;
    font-weight: 800;
    flex: 0 0 auto;
}

.step-list p {
    margin: 0;
    color: var(--facthu-muted);
}

.error-card {
    max-width: 560px;
    padding: 46px 30px;
    box-shadow: var(--facthu-shadow);
}

.error-code {
    color: var(--facthu-secondary);
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .panel-shell {
        grid-template-columns: 1fr;
    }

    .panel-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: var(--facthu-shadow);
    }

    .panel-sidebar.is-open {
        transform: translateX(0);
    }

    .panel-topbar,
    .panel-content {
        padding-left: 18px;
        padding-right: 18px;
    }
}

.auth-section {
    background:
        radial-gradient(circle at top left, rgba(0, 174, 239, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, var(--facthu-bg) 100%);
    min-height: calc(100vh - 166px);
    display: flex;
    align-items: center;
}

.auth-card {
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 24px;
    box-shadow: var(--facthu-shadow);
    padding: 34px;
}

.auth-card .form-control {
    border-color: var(--facthu-border);
    border-radius: 14px;
    min-height: 52px;
}

.auth-card .form-control:focus {
    border-color: var(--facthu-secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.12);
}

.auth-link {
    color: var(--facthu-primary);
    font-weight: 800;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--facthu-secondary);
}

.captcha-img {
    width: 190px;
    height: 62px;
    border-radius: 14px;
    border: 1px solid var(--facthu-border);
    background: #eef7fd;
}

@media (max-width: 575.98px) {
    .auth-card {
        padding: 24px;
        border-radius: 18px;
    }
}

.metric-card {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 22px;
    color: var(--facthu-text);
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    box-shadow: var(--facthu-shadow);
}

.metric-card span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.12);
    border-radius: 12px;
    font-size: 1.25rem;
}

.metric-card strong {
    color: var(--facthu-primary);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.metric-card small {
    color: var(--facthu-muted);
    font-weight: 800;
}

.metric-card:hover {
    color: var(--facthu-text);
    transform: translateY(-2px);
}

.panel-section .accordion-item,
.panel-accordion .accordion-item {
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #ffffff;
}

.panel-accordion .accordion-button,
.accordion-button {
    color: var(--facthu-primary);
    background: #ffffff;
}

.panel-accordion .accordion-button:not(.collapsed),
.accordion-button:not(.collapsed) {
    color: var(--facthu-primary);
    background: #eef7fd;
    box-shadow: none;
}

.panel-section .form-control,
.panel-section .form-select {
    border-color: var(--facthu-border);
    border-radius: 12px;
    min-height: 46px;
}

.panel-section .form-control:focus,
.panel-section .form-select:focus {
    border-color: var(--facthu-secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.12);
}

.table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

.table-actions form {
    display: inline-flex;
    margin: 0;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.empty-state {
    padding: 26px;
    color: var(--facthu-muted);
    text-align: center;
    font-weight: 700;
}

.repeated-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--facthu-border);
}

.repeated-row:last-child {
    border-bottom: 0;
}

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

.activity-item {
    padding: 12px 14px;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    background: #ffffff;
}

.activity-item strong,
.activity-item span,
.activity-item small {
    display: block;
}

.activity-item span,
.activity-item small {
    color: var(--facthu-muted);
}

.config-list {
    display: grid;
    gap: 12px;
}

.config-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    background: #ffffff;
}

.config-list span {
    color: var(--facthu-muted);
    font-weight: 700;
}

.config-list strong {
    text-align: right;
}

@media (max-width: 767.98px) {
    .table-actions {
        flex-wrap: wrap;
    }

    .metric-card {
        min-height: 124px;
    }
}

.module-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.12);
    border-radius: 12px;
    flex: 0 0 auto;
}

.plan-module-card,
.limit-card {
    height: 100%;
    display: flex;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--facthu-border);
    border-radius: 16px;
    background: #ffffff;
}

.plan-module-card {
    align-items: flex-start;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-module-card:hover {
    border-color: rgba(0, 174, 239, 0.45);
    box-shadow: 0 12px 26px rgba(8, 59, 102, 0.08);
    transform: translateY(-1px);
}

.plan-module-card input {
    margin-top: 10px;
    flex: 0 0 auto;
}

.plan-module-card strong,
.plan-module-card small {
    display: block;
}

.plan-module-card small {
    color: var(--facthu-muted);
    margin-top: 4px;
}

.limit-card {
    flex-direction: column;
}

.public-hero-visual {
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(8, 59, 102, 0.13);
}

.public-feature-xl {
    min-height: 250px;
}

.public-plan-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 22px;
    box-shadow: var(--facthu-shadow);
}

.public-plan-card h3 {
    margin: 14px 0 10px;
    color: var(--facthu-primary);
    font-size: 1.35rem;
    font-weight: 900;
}

.public-plan-card p {
    color: var(--facthu-muted);
    margin-bottom: 0;
}

.plan-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    color: var(--facthu-primary);
    background: #eef7fd;
    border: 1px solid #d9edf8;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.plan-price {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--facthu-border);
}

.plan-price strong {
    display: block;
    color: var(--facthu-primary);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
}

.plan-price small {
    color: var(--facthu-muted);
    font-weight: 800;
}

.period-list {
    display: grid;
    gap: 8px;
}

.period-list span {
    padding: 8px 10px;
    color: var(--facthu-primary);
    background: #f7fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 800;
}

.plan-feature-list {
    display: grid;
    gap: 9px;
    padding: 0;
    margin-bottom: 0;
    list-style: none;
}

.plan-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--facthu-muted);
    font-weight: 700;
}

.plan-feature-list i {
    color: var(--facthu-accent);
    font-size: 1.05rem;
}


.plan-custom-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.plan-feature-groups {
    display: grid;
    gap: 16px;
}

.plan-feature-group {
    padding: 14px;
    background: #f8fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 16px;
}

.plan-feature-group-title {
    display: block;
    margin-bottom: 10px;
    color: var(--facthu-primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plan-feature-grid {
    display: grid;
    gap: 9px;
}

.plan-feature-item {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 8px;
    color: var(--facthu-muted);
    font-size: 0.9rem;
}

.plan-feature-item i {
    color: var(--facthu-accent);
    font-size: 1.05rem;
}

.plan-feature-item span {
    min-width: 0;
    font-weight: 700;
}

.plan-feature-item strong {
    color: var(--facthu-primary);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.public-cta {
    background:
        radial-gradient(circle at top left, rgba(120, 190, 32, 0.17), transparent 30%),
        linear-gradient(135deg, var(--facthu-primary), #052c4c);
}

.public-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
}

.public-cta-card h2 {
    font-weight: 900;
    margin: 10px 0;
}

.public-cta-card p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
}

.public-cta .eyebrow {
    color: #ffffff;
}

.testimonial-card,
.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 20px;
    box-shadow: var(--facthu-shadow);
}

.testimonial-card {
    padding: 24px;
}

.testimonial-card p {
    color: var(--facthu-muted);
}

.testimonial-card strong,
.testimonial-card small {
    display: block;
}

.testimonial-card small {
    color: var(--facthu-muted);
}

.contact-info-card {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.contact-info-card div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--facthu-primary);
    font-weight: 800;
}

.contact-info-card i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 12px;
}

.cms-inline-form {
    min-width: 280px;
}

@media (max-width: 767.98px) {
    .public-cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .public-plan-card {
        padding: 22px;
    }
}

.empresa-selector {
    max-width: 360px;
}

.empresa-selector-select {
    min-width: 230px;
    border-color: var(--facthu-border);
    border-radius: 12px;
    font-weight: 700;
}

.module-check-grid {
    display: grid;
    gap: 10px;
}

.module-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    background: #ffffff;
    font-weight: 800;
}

.module-check i {
    font-size: 1rem;
}

.module-check.is-on {
    color: #1f5b22;
    background: rgba(120, 190, 32, 0.10);
    border-color: rgba(120, 190, 32, 0.32);
}

.module-check.is-off {
    color: #6c7481;
    background: #f7f9fc;
}

.min-w-0 {
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .empresa-selector {
        display: none !important;
    }
}

.w-fit {
    width: fit-content;
}

.plan-module-card.opacity-75 {
    cursor: not-allowed;
}

.plan-module-card.opacity-75 input {
    cursor: not-allowed;
}
.check-card{display:flex;gap:.75rem;align-items:flex-start;border:1px solid rgba(8,59,102,.14);border-radius:14px;padding:.85rem;background:#fff;cursor:pointer;min-height:100%}.check-card input{margin-top:.25rem}.check-card strong{display:block;color:#083B66}.check-card small{display:block;color:#6c757d}.check-card:has(input:checked){border-color:#00AEEF;background:rgba(0,174,239,.06)}

.chat-conversation-list {
    display: grid;
    gap: 10px;
    max-height: 680px;
    overflow: auto;
}

.chat-conversation {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    color: var(--facthu-text);
    text-decoration: none;
    border: 1px solid var(--facthu-border);
    border-radius: 16px;
    background: #ffffff;
}

.chat-conversation:hover,
.chat-conversation.active {
    border-color: rgba(0, 174, 239, 0.42);
    background: #eef7fd;
}

.chat-conversation strong,
.chat-conversation small {
    display: block;
}

.chat-conversation small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.chat-conversation-icon,
.chat-participants span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.12);
    border-radius: 13px;
    font-weight: 900;
    flex: 0 0 auto;
}

.chat-badge,
.chat-widget-count {
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
}

.chat-panel {
    min-height: 720px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.chat-participants {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px;
    overflow: auto;
    padding: 4px 6px;
}

.chat-message {
    display: flex;
    justify-content: flex-start;
}

.chat-message.mine {
    justify-content: flex-end;
}

.chat-message.system {
    justify-content: center;
}

.chat-message-bubble {
    max-width: min(680px, 82%);
    padding: 13px 15px;
    color: var(--facthu-text);
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(8, 59, 102, 0.06);
}

.chat-message.mine .chat-message-bubble {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

.chat-message.system .chat-message-bubble {
    max-width: 80%;
    color: var(--facthu-muted);
    background: #f4f8fb;
    box-shadow: none;
    text-align: center;
    font-weight: 800;
}

.chat-message-bubble p {
    margin-bottom: 0;
}

.chat-message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.chat-message-meta small,
.chat-message.mine .chat-message-meta small {
    color: inherit;
    opacity: 0.72;
}

.chat-reply-ref {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-left: 3px solid var(--facthu-secondary);
    border-radius: 8px;
    background: rgba(0, 174, 239, 0.10);
    font-size: 0.85rem;
    font-weight: 700;
}

.chat-attachments {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.chat-attachments a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: var(--facthu-primary);
    background: #eef7fd;
    border-radius: 999px;
    padding: 7px 10px;
    text-decoration: none;
    font-weight: 800;
}

.chat-message.mine .chat-attachments a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.chat-message-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.chat-message-actions form {
    margin: 0;
}

.chat-reactions {
    font-size: 0.8rem;
    opacity: 0.82;
}

.chat-form textarea {
    border-color: var(--facthu-border);
    border-radius: 16px;
}

.chat-file-input {
    max-width: 430px;
}

.chat-empty {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--facthu-muted);
}

.chat-empty i {
    color: var(--facthu-secondary);
    font-size: 3rem;
    margin-bottom: 14px;
}

.chat-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 10px;
}

.chat-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
}

.chat-contact-card strong,
.chat-contact-card small {
    display: block;
}

.chat-contact-card small {
    color: var(--facthu-muted);
}

.chat-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1060;
}

.chat-widget-toggle {
    width: 58px;
    height: 58px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 20px 42px rgba(8, 59, 102, 0.22);
    font-size: 1.35rem;
}

.chat-widget-count {
    position: absolute;
    top: -7px;
    right: -7px;
}

.chat-widget-panel {
    width: min(360px, calc(100vw - 34px));
    position: absolute;
    right: 0;
    bottom: 72px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 22px;
    box-shadow: var(--facthu-shadow);
}

.chat-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    background: var(--facthu-primary);
    padding: 14px 16px;
}

.chat-widget-header button {
    color: #ffffff;
    background: transparent;
    border: 0;
}

.chat-widget-body {
    display: grid;
    gap: 8px;
    max-height: 320px;
    overflow: auto;
    padding: 12px;
}

.chat-widget-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 11px;
    color: var(--facthu-text);
    text-decoration: none;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    background: #ffffff;
}

.chat-widget-item strong,
.chat-widget-item small {
    display: block;
}

.chat-widget-item small {
    color: var(--facthu-muted);
}

.chat-widget-open {
    display: block;
    padding: 12px;
    color: var(--facthu-primary);
    background: #eef7fd;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 575.98px) {
    .chat-widget {
        right: 14px;
        bottom: 14px;
    }

    .chat-panel {
        min-height: 580px;
    }

    .chat-message-bubble {
        max-width: 92%;
    }
}

.fiscal-key-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fiscal-key-box > div {
    border: 1px solid rgba(8, 59, 102, .12);
    border-radius: 14px;
    padding: 14px;
    background: #f8fbfd;
}

.fiscal-key-box small,
.fiscal-key-box strong {
    display: block;
}

@media (max-width: 767.98px) {
    .fiscal-key-box {
        grid-template-columns: 1fr;
    }
}

/* Sidebar organizado */
.panel-sidebar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-brand {
    flex: 0 0 auto;
}

.sidebar-search {
    flex: 0 0 auto;
    padding: 14px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.sidebar-search-box {
    position: relative;
}

.sidebar-search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    color: var(--facthu-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.sidebar-search-box .form-control {
    min-height: 42px;
    padding-left: 38px;
    color: var(--facthu-primary);
    background: #ffffff;
    border-color: var(--facthu-border);
    border-radius: 14px;
    font-weight: 700;
}

.sidebar-search-box .form-control:focus {
    border-color: var(--facthu-secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.12);
}

.sidebar-nav {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 14px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

.sidebar-nav::-webkit-scrollbar {
    width: 8px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #d8e4ef;
    border-radius: 999px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #bfd1e0;
}

.sidebar-group {
    margin-bottom: 10px;
}

.sidebar-group-toggle {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 11px;
    color: var(--facthu-primary);
    background: #f7fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.sidebar-group-toggle:hover,
.sidebar-group-toggle[aria-expanded="true"] {
    color: var(--facthu-primary);
    background: #eef7fd;
    border-color: #d9edf8;
}

.sidebar-group-toggle::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    color: var(--facthu-muted);
    font-size: 0.8rem;
    transition: transform 0.18s ease;
}

.sidebar-group-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.sidebar-group-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sidebar-group-name i {
    color: var(--facthu-secondary);
    font-size: 1rem;
}

.sidebar-group-count {
    min-width: 24px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.sidebar-group-items {
    padding: 7px 0 2px;
}

.sidebar-link {
    min-height: 42px;
    margin-bottom: 4px;
    padding: 9px 12px;
    font-size: 0.92rem;
    line-height: 1.2;
}

.sidebar-link i {
    width: 22px;
    color: var(--facthu-primary);
    text-align: center;
}

.sidebar-link:hover i,
.sidebar-link.active i {
    color: #ffffff;
}

.sidebar-link.active {
    box-shadow: 0 10px 24px rgba(8, 59, 102, 0.2);
}

.sidebar-link[hidden],
.sidebar-group[hidden] {
    display: none !important;
}

.sidebar-empty {
    margin: 16px 4px 0;
    padding: 14px;
    color: var(--facthu-muted);
    background: #f7fbfe;
    border: 1px dashed #cddce8;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.sidebar-nav.is-searching .sidebar-group-toggle {
    color: #435166;
    background: #ffffff;
}

.sidebar-nav.is-searching .sidebar-group-toggle::after {
    opacity: 0.35;
}

@media (max-width: 991.98px) {
    .panel-sidebar {
        max-width: calc(100vw - 42px);
    }

    .panel-sidebar.is-open .sidebar-search-box .form-control {
        font-size: 16px;
    }
}

.facthu-editor-field {
    width: 100%;
}

.facthu-editor-hidden-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.facthu-corporate-editor {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(8, 59, 102, 0.07);
}

.facthu-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    border-bottom: 1px solid var(--facthu-border);
}

.facthu-editor-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-right: 8px;
    border-right: 1px solid #e5eef7;
}

.facthu-editor-group:last-of-type {
    border-right: 0;
}

.facthu-editor-btn {
    min-width: 34px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    border: 1px solid #dbe8f2;
    border-radius: 10px;
    font-weight: 800;
}

.facthu-editor-btn:hover,
.facthu-editor-btn:focus {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

.facthu-editor-select {
    width: auto;
    min-width: 170px;
    color: var(--facthu-primary);
    border-color: #dbe8f2;
    border-radius: 12px;
    font-weight: 800;
}

.facthu-editor-area {
    position: relative;
    overflow: auto;
    width: 100%;
    padding: 18px;
    color: #142033;
    background: #ffffff;
    outline: none;
    line-height: 1.6;
    font-size: 0.98rem;
}

.facthu-editor-area:empty::before {
    content: attr(data-placeholder);
    color: var(--facthu-muted);
}

.facthu-editor-area:focus {
    box-shadow: inset 0 0 0 2px rgba(0, 174, 239, 0.14);
}

.facthu-editor-area h2,
.facthu-editor-area h3,
.facthu-editor-area h4 {
    color: var(--facthu-primary);
    font-weight: 900;
    line-height: 1.25;
    margin-top: 1rem;
    margin-bottom: 0.65rem;
}

.facthu-editor-area h2 {
    font-size: 1.3rem;
}

.facthu-editor-area h3 {
    font-size: 1.12rem;
}

.facthu-editor-area p {
    margin-bottom: 0.8rem;
}

.facthu-editor-area blockquote {
    padding: 12px 14px;
    color: #435166;
    background: #f7fbfe;
    border-left: 4px solid var(--facthu-secondary);
    border-radius: 12px;
}

.facthu-editor-area table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
}

.facthu-editor-area th,
.facthu-editor-area td {
    padding: 9px 10px;
    border: 1px solid #dce8f2;
    vertical-align: top;
}

.facthu-editor-area th {
    color: var(--facthu-primary);
    background: #f6fbff;
    font-weight: 900;
}

.facthu-editor-area a {
    color: var(--facthu-secondary);
    font-weight: 800;
}

.facthu-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    color: var(--facthu-muted);
    background: #fbfdff;
    border-top: 1px solid var(--facthu-border);
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .facthu-editor-toolbar {
        align-items: stretch;
    }

    .facthu-editor-group {
        flex-wrap: wrap;
        border-right: 0;
        padding-right: 0;
    }

    .facthu-editor-select {
        width: 100%;
        min-width: 100%;
    }

    .facthu-editor-area {
        min-height: 260px !important;
        padding: 14px;
        font-size: 0.95rem;
    }
}

.private-license-card {
    border-left: 5px solid var(--facthu-primary);
}

.private-license-warning {
    color: #62430c;
    background: #fff7df;
}

.private-field-group .form-control[readonly] {
    background: #ffffff;
}

.private-secret-input {
    letter-spacing: 0.04em;
}

.private-masked-code {
    display: inline-block;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.facthu-public {
    color: var(--facthu-text);
    background: var(--facthu-bg);
    font-family: Inter, Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

.facthu-public h1,
.facthu-public h2,
.facthu-public h3,
.facthu-public h4,
.facthu-public h5,
.facthu-public h6,
.facthu-public .btn,
.facthu-public .navbar-brand {
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
}

.public-main {
    overflow: hidden;
}

.public-header-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(8, 59, 102, 0.88);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 44px rgba(8, 36, 74, 0.15);
}

.public-header-dark .container {
    min-height: 64px;
}

.brand-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 164px;
    height: 54px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.public-header-dark .brand-logo {
    width: 142px;
    max-height: 44px;
}

.public-nav .nav-link {
    color: rgba(255, 255, 255, 0.76);
    border-radius: 14px;
    padding: 0.65rem 0.82rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.public-nav .nav-link:hover,
.public-nav .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.public-toggler {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: none;
}

.public-toggler .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.btn-public-ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    font-weight: 800;
}

.btn-public-ghost:hover,
.btn-public-ghost:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.facthu-public .btn-primary-facthu {
    color: #ffffff;
    background: var(--facthu-secondary);
    border-color: var(--facthu-secondary);
    border-radius: 16px;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(0, 174, 239, 0.24);
}

.facthu-public .btn-primary-facthu:hover,
.facthu-public .btn-primary-facthu:focus {
    color: #ffffff;
    background: #009bd5;
    border-color: #009bd5;
    transform: translateY(-1px);
}

.facthu-public .btn-outline-facthu {
    color: var(--facthu-primary);
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 16px;
    font-weight: 900;
}

.facthu-public .btn-outline-facthu:hover,
.facthu-public .btn-outline-facthu:focus {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

.btn-hero-outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    font-weight: 900;
}

.btn-hero-outline:hover,
.btn-hero-outline:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.section-dark-grid {
    position: relative;
    background:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        radial-gradient(circle at 12% 20%, rgba(0, 174, 239, 0.18), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(120, 190, 32, 0.14), transparent 26%),
        linear-gradient(135deg, #083B66 0%, #061a36 100%);
    background-size: 52px 52px, 52px 52px, auto, auto, auto;
    overflow: hidden;
}

.public-hero-v2 {
    padding: 148px 0 118px;
    color: #ffffff;
}

.public-page-hero {
    padding: 148px 0 92px;
}

.hero-orb {
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    pointer-events: none;
}

.hero-orb-one {
    left: -110px;
    top: 110px;
    width: 330px;
    height: 330px;
    background: rgba(0, 174, 239, 0.18);
    filter: blur(60px);
}

.hero-orb-two {
    right: -140px;
    top: 130px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b7f0ff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.82rem;
    font-weight: 900;
}

.hero-kicker span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--facthu-accent);
    box-shadow: 0 0 22px rgba(120, 190, 32, 0.85);
}

.hero-title {
    max-width: 820px;
    color: #ffffff;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.hero-lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.75;
    font-weight: 600;
}

.hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.78;
}

.hero-trust-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 680px;
}

.hero-trust-grid div {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(18px);
}

.hero-trust-grid i {
    color: #b7f0ff;
    font-size: 1.35rem;
}

.hero-trust-grid span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 900;
}

.dashboard-preview {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(24px);
    padding: 12px;
}

.dashboard-preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border-bottom: 1px solid #e7edf5;
    border-radius: 26px 26px 0 0;
    padding: 16px 18px;
}

.dash-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 18px;
    font-size: 1.2rem;
}

.dashboard-preview-top strong,
.dashboard-preview-top small {
    display: block;
}

.dashboard-preview-top strong {
    color: var(--facthu-primary);
    font-weight: 900;
}

.dashboard-preview-top small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.dash-pill {
    color: var(--facthu-primary);
    border: 1px solid var(--facthu-border);
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 900;
}

.dashboard-preview-body {
    display: grid;
    grid-template-columns: 170px 1fr;
    min-height: 520px;
    background: #f8fbfe;
    border-radius: 0 0 26px 26px;
    overflow: hidden;
}

.dashboard-sidebar {
    display: grid;
    align-content: start;
    gap: 8px;
    background: #061a36;
    padding: 18px;
}

.dashboard-sidebar span {
    color: rgba(255, 255, 255, 0.64);
    border-radius: 15px;
    padding: 11px 13px;
    font-size: 0.78rem;
    font-weight: 800;
}

.dashboard-sidebar span.active {
    color: #ffffff;
    background: var(--facthu-secondary);
}

.dashboard-content {
    min-width: 0;
    padding: 18px;
}

.dash-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    color: #94a3b8;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    padding: 0 14px;
    font-size: 0.82rem;
    font-weight: 700;
}

.dash-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.dash-metrics div,
.dash-chart-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(8, 59, 102, 0.07);
}

.dash-metrics div {
    padding: 16px;
}

.dash-metrics small,
.dash-chart-card small {
    display: block;
    color: var(--facthu-muted);
    font-size: 0.74rem;
    font-weight: 900;
}

.dash-metrics strong {
    display: block;
    margin-top: 8px;
    color: var(--facthu-primary);
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.dash-metrics em {
    display: inline-flex;
    margin-top: 10px;
    color: #10805c;
    background: #e9fbf4;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.dash-chart-card {
    margin-top: 14px;
    padding: 18px;
}

.dash-chart-card strong {
    color: var(--facthu-primary);
    font-weight: 900;
}

.dash-chart-card span {
    color: var(--facthu-secondary);
    font-size: 0.78rem;
    font-weight: 900;
}

.dash-chart-card svg {
    width: 100%;
    height: 210px;
}

.dash-line-public {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: dashDrawPublic 3.2s ease forwards;
}

@keyframes dashDrawPublic {
    to { stroke-dashoffset: 0; }
}

.public-capability-strip {
    position: relative;
    z-index: 5;
    margin-top: -54px;
}

.capability-shell {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 32px;
    box-shadow: 0 24px 70px rgba(8, 59, 102, 0.13);
}

.capability-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
}

.capability-item span {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-secondary);
    background: #edfaff;
    border-radius: 20px;
    font-size: 1.35rem;
}

.capability-item:nth-child(2) span { color: #6366f1; background: #eef2ff; }
.capability-item:nth-child(3) span { color: #10805c; background: #e9fbf4; }
.capability-item:nth-child(4) span { color: var(--facthu-primary); background: #eef7fd; }

.capability-item h3 {
    color: var(--facthu-primary);
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 5px;
}

.capability-item p {
    color: var(--facthu-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 600;
    margin: 0;
}

.public-section {
    padding: 94px 0;
}

.section-center {
    max-width: 780px;
}

.section-title {
    color: var(--facthu-primary);
    font-size: clamp(2.1rem, 4vw, 3.45rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.section-title-sm {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.section-copy {
    color: var(--facthu-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 600;
}

.facthu-public .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--facthu-secondary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.facthu-public .eyebrow::before {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--facthu-accent);
}

.eyebrow-light {
    color: #b7f0ff !important;
}

.feature-card-v2,
.operation-card,
.professional-panel,
.public-plan-card-v2,
.testimonial-card-v2,
.contact-form-card,
.contact-info-card-v2,
.page-hero-card {
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(8, 59, 102, 0.09);
}

.feature-card-v2 {
    padding: 30px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card-v2:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 24px 60px rgba(8, 59, 102, 0.13);
}

.feature-card-v2 i,
.operation-card > i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-secondary);
    background: #edfaff;
    border-radius: 20px;
    font-size: 1.45rem;
}

.feature-card-v2 h3,
.operation-card h3 {
    color: var(--facthu-primary);
    margin: 22px 0 10px;
    font-size: 1.22rem;
    font-weight: 900;
}

.feature-card-v2 p,
.operation-card p {
    color: var(--facthu-muted);
    line-height: 1.72;
    font-weight: 600;
    margin: 0;
}

.public-operation-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 174, 239, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.operation-card {
    position: relative;
    height: 100%;
    padding: 34px;
    overflow: hidden;
}

.operation-number {
    position: absolute;
    right: 28px;
    top: 22px;
    color: rgba(8, 59, 102, 0.08);
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
    font-size: 4.2rem;
    line-height: 1;
    font-weight: 900;
}

.operation-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--facthu-primary);
    text-decoration: none;
    font-weight: 900;
}

.professional-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.professional-list div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--facthu-primary);
    background: #f8fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    padding: 15px 16px;
    font-weight: 800;
}

.professional-list i {
    color: var(--facthu-accent);
    font-size: 1.1rem;
}

.professional-panel {
    padding: 24px;
}

.professional-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.professional-panel-header strong,
.professional-panel-header span {
    display: block;
}

.professional-panel-header strong {
    color: var(--facthu-primary);
    font-size: 1.25rem;
    font-weight: 900;
}

.professional-panel-header span {
    color: var(--facthu-muted);
    font-weight: 800;
}

.professional-company {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background: #f8fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 22px;
    margin-bottom: 12px;
}

.professional-company.active {
    background: #eefaff;
    border-color: rgba(0, 174, 239, 0.30);
}

.professional-company strong,
.professional-company small {
    display: block;
}

.professional-company strong {
    color: var(--facthu-primary);
    font-weight: 900;
}

.professional-company small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.professional-company em {
    color: #10805c;
    background: #e9fbf4;
    border-radius: 999px;
    padding: 6px 10px;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 900;
}

.professional-progress {
    height: 12px;
    overflow: hidden;
    background: #e7edf5;
    border-radius: 999px;
    margin: 20px 0 10px;
}

.professional-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--facthu-secondary), var(--facthu-accent));
    border-radius: inherit;
}

.public-plans-preview {
    padding: 98px 0;
}

.plan-card-dark {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;
    backdrop-filter: blur(18px);
}

.plan-card-dark.recommended {
    color: var(--facthu-primary);
    background: #ffffff;
    border-color: rgba(120, 190, 32, 0.40);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.20);
}

.recommended-badge {
    position: absolute;
    top: 22px;
    right: 22px;
    color: #ffffff;
    background: var(--facthu-secondary);
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.72rem;
    font-weight: 900;
}

.plan-badge-dark {
    width: max-content;
    color: #b7f0ff;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plan-card-dark.recommended .plan-badge-dark {
    color: var(--facthu-secondary);
}

.plan-card-dark h3 {
    padding-right: 20px;
    margin: 0;
    color: inherit;
    font-size: 1.45rem;
    font-weight: 900;
}

.plan-card-dark p {
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.72;
    font-weight: 600;
    margin: 0;
}

.plan-card-dark.recommended p {
    color: var(--facthu-muted);
}

.plan-public-price {
    display: block;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 900;
}

.plan-card-dark.recommended .plan-public-price {
    color: var(--facthu-primary);
}

.btn-plan-dark {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    font-weight: 900;
}

.btn-plan-dark:hover,
.btn-plan-dark:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.plan-card-dark.recommended .btn-plan-dark {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

.testimonial-card-v2 {
    padding: 28px;
}

.testimonial-card-v2 i {
    color: var(--facthu-secondary);
    font-size: 2rem;
}

.testimonial-card-v2 p {
    color: var(--facthu-muted);
    line-height: 1.75;
    font-weight: 600;
    margin: 18px 0;
}

.testimonial-card-v2 strong,
.testimonial-card-v2 small {
    display: block;
}

.testimonial-card-v2 strong {
    color: var(--facthu-primary);
    font-weight: 900;
}

.testimonial-card-v2 small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.public-accordion .accordion-item {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(8, 59, 102, 0.06);
    margin-bottom: 14px;
}

.public-accordion .accordion-button {
    color: var(--facthu-primary);
    background: #ffffff;
    font-weight: 900;
    box-shadow: none;
    padding: 20px 22px;
}

.public-accordion .accordion-button:not(.collapsed) {
    color: var(--facthu-primary);
    background: #eefaff;
}

.public-accordion .accordion-body {
    color: var(--facthu-muted);
    line-height: 1.75;
    font-weight: 600;
    padding: 20px 22px;
}

.public-cta-v2 {
    padding: 84px 0;
    background: #061a36;
}

.cta-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(120, 190, 32, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(8, 59, 102, 0.95), rgba(6, 26, 54, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 34px;
    padding: 38px;
}

.cta-shell h2 {
    max-width: 760px;
    margin: 14px 0 10px;
    color: #ffffff;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.08;
    font-weight: 900;
}

.cta-shell p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    line-height: 1.75;
    font-weight: 600;
}

.public-footer-v2 {
    color: #ffffff;
    background: #061a36;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 36px 0;
}

.footer-brand-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 146px;
    max-height: 54px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 8px 10px;
}

.footer-brand-card p {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.6;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-lg-end;
    gap: 10px 18px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 800;
}

.footer-links a:hover {
    color: #ffffff;
}

.page-hero-card {
    display: grid;
    gap: 12px;
    color: var(--facthu-primary);
    padding: 24px;
}

.page-hero-card strong {
    font-weight: 900;
    margin-bottom: 4px;
}

.page-hero-card div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--facthu-muted);
    font-weight: 800;
}

.page-hero-card i {
    color: var(--facthu-accent);
}

.plan-group-section {
    margin-bottom: 72px;
}

.plan-group-section:last-child {
    margin-bottom: 0;
}

.public-plan-card-v2 {
    display: flex;
    flex-direction: column;
    padding: 28px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.public-plan-card-v2.featured {
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 26px 70px rgba(8, 59, 102, 0.15);
}

.public-plan-card-v2:hover {
    transform: translateY(-4px);
}

.public-plan-card-v2 h3 {
    color: var(--facthu-primary);
    font-size: 1.38rem;
    font-weight: 900;
    margin: 0 0 12px;
}

.public-plan-card-v2 p {
    color: var(--facthu-muted);
    line-height: 1.7;
    font-weight: 600;
    margin: 0;
}

.plan-price-v2 {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--facthu-border);
}

.plan-price-v2 strong,
.plan-price-v2 small {
    display: block;
}

.plan-price-v2 strong {
    color: var(--facthu-primary);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
}

.plan-price-v2 small {
    color: var(--facthu-muted);
    margin-top: 4px;
    font-weight: 800;
}

.plan-feature-group-v2 {
    padding: 14px;
    background: #f8fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
}

.plan-feature-item-v2 {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 8px;
    color: var(--facthu-muted);
    font-size: 0.88rem;
}

.plan-feature-item-v2 i {
    color: var(--facthu-accent);
}

.plan-feature-item-v2 span {
    font-weight: 700;
}

.plan-feature-item-v2 strong {
    color: var(--facthu-primary);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.contact-info-card-v2 {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
}

.contact-info-card-v2 div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
}

.contact-info-card-v2 i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(0, 174, 239, 0.32);
    border-radius: 16px;
}

.contact-form-card {
    padding: 30px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 52px;
    border-color: var(--facthu-border);
    border-radius: 16px;
    font-weight: 600;
}

.contact-form-card textarea.form-control {
    min-height: 132px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--facthu-secondary);
    box-shadow: 0 0 0 0.22rem rgba(0, 174, 239, 0.13);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1199.98px) {
    .capability-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-preview-body {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .public-header-dark .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        background: rgba(6, 26, 54, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 22px;
    }

    .public-nav .nav-link {
        padding: 0.85rem 1rem;
    }

    .public-hero-v2,
    .public-page-hero {
        padding-top: 126px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 9vw, 4.2rem);
    }

    .hero-trust-grid,
    .dash-metrics {
        grid-template-columns: 1fr;
    }

    .cta-shell {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .brand-frame {
        width: 146px;
        height: 50px;
    }

    .public-header-dark .brand-logo {
        width: 126px;
    }

    .public-hero-v2 {
        padding-bottom: 92px;
    }

    .public-section {
        padding: 72px 0;
    }

    .capability-shell {
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .capability-item {
        padding: 14px;
    }

    .dashboard-preview {
        border-radius: 26px;
    }

    .dashboard-preview-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .dash-search {
        height: auto;
        padding: 12px;
    }

    .dash-chart-card svg {
        height: 160px;
    }

    .operation-card,
    .feature-card-v2,
    .public-plan-card-v2,
    .contact-form-card,
    .cta-shell {
        padding: 24px;
        border-radius: 24px;
    }

    .footer-brand-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}


.facthu-public {
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
    color: #132238;
    background: #f7f9fc;
}

.facthu-public h1,
.facthu-public h2,
.facthu-public h3,
.facthu-public h4,
.facthu-public h5,
.facthu-public h6,
.facthu-public .btn,
.facthu-public .nav-link {
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
}

.public-header-dark {
    background: rgba(4, 38, 70, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 16px 44px rgba(5, 31, 55, 0.16);
    backdrop-filter: blur(16px);
}

.public-header-dark .navbar {
    min-height: 74px;
}

.brand-frame {
    width: 162px;
    height: 50px;
    padding: 8px 11px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.public-header-dark .brand-logo {
    width: 138px;
    max-height: 38px;
}

.public-nav .nav-link {
    color: rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    padding: 0.55rem 0.78rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.public-nav .nav-link:hover,
.public-nav .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.btn-public-ghost,
.facthu-public .btn-primary-facthu,
.facthu-public .btn-outline-facthu,
.btn-hero-outline,
.btn-plan-dark {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.facthu-public .btn-primary-facthu {
    background: var(--facthu-secondary);
    border-color: var(--facthu-secondary);
    box-shadow: 0 14px 30px rgba(0, 174, 239, 0.22);
}

.section-dark-grid {
    background:
        radial-gradient(circle at 16% 18%, rgba(0, 174, 239, 0.18), transparent 31%),
        radial-gradient(circle at 88% 8%, rgba(120, 190, 32, 0.10), transparent 28%),
        linear-gradient(125deg, #042846 0%, #083b66 55%, #061f37 100%);
    background-size: auto;
}

.section-dark-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.045), transparent 38%, rgba(255,255,255,0.035));
    pointer-events: none;
}

.public-hero-v2 {
    padding: 142px 0 102px;
}

.public-page-hero {
    padding: 136px 0 82px;
}

.hero-orb-one {
    background: rgba(0, 174, 239, 0.12);
    filter: blur(76px);
}

.hero-orb-two {
    display: none;
}

.hero-kicker {
    color: #d8f6ff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.16);
    padding: 8px 13px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-title {
    max-width: 720px;
    font-size: clamp(2.35rem, 4.7vw, 4.15rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.018em;
}

.hero-lead {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.06rem, 1.65vw, 1.22rem);
    line-height: 1.65;
    font-weight: 600;
}

.hero-copy {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 1.02rem;
    line-height: 1.72;
    font-weight: 500;
}

.hero-trust-grid {
    gap: 12px;
    max-width: 700px;
}

.hero-trust-grid div {
    min-height: 94px;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
}

.hero-trust-grid i {
    color: #9ee8ff;
    font-size: 1.2rem;
}

.hero-trust-grid span {
    font-size: 0.93rem;
    font-weight: 700;
}

.dashboard-preview {
    border-radius: 24px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.22);
}

.dashboard-preview-top {
    border-radius: 18px 18px 0 0;
    padding: 14px 16px;
}

.dashboard-preview-body {
    grid-template-columns: 150px 1fr;
    min-height: 430px;
    border-radius: 0 0 18px 18px;
    background: #f5f8fb;
}

.dashboard-sidebar {
    background: #06233f;
    padding: 16px 14px;
}

.dashboard-sidebar span {
    border-radius: 10px;
    padding: 10px 11px;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-content {
    padding: 16px;
}

.dash-search {
    height: 40px;
    border-radius: 12px;
    font-weight: 600;
}

.dash-metrics {
    gap: 12px;
    margin-top: 14px;
}

.dash-metrics div,
.dash-chart-card {
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(8, 59, 102, 0.06);
}

.dash-metrics div {
    padding: 15px;
}

.dash-metrics small,
.dash-chart-card small {
    color: #65758c;
    font-weight: 700;
}

.dash-metrics strong {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.dash-metrics em {
    font-weight: 700;
}

.dash-chart-card {
    padding: 17px;
}

.dash-chart-card strong {
    font-weight: 800;
}

.dash-chart-card svg {
    height: 172px;
}

.public-capability-strip {
    margin-top: -44px;
}

.capability-shell {
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(8, 59, 102, 0.11);
}

.capability-item {
    gap: 13px;
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
}

.capability-item span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.2rem;
}

.capability-item h3 {
    font-size: 1.02rem;
    font-weight: 800;
}

.capability-item p {
    font-size: 0.92rem;
    font-weight: 500;
}

.public-section {
    padding: 86px 0;
}

.section-title {
    max-width: 860px;
    font-size: clamp(1.9rem, 3.25vw, 2.95rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.014em;
}

.section-title-sm {
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.section-copy {
    color: #5f6f84;
    font-size: 1.04rem;
    line-height: 1.72;
    font-weight: 500;
}

.facthu-public .eyebrow {
    color: #007fb4;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.feature-card-v2,
.operation-card,
.professional-panel,
.testimonial-card-v2,
.public-plan-card-v2,
.contact-form-card,
.page-hero-card {
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(8, 59, 102, 0.07);
}

.feature-card-v2,
.operation-card,
.professional-panel,
.testimonial-card-v2,
.public-plan-card-v2 {
    border: 1px solid #e5ebf3;
    background: #ffffff;
}

.feature-card-v2 {
    padding: 26px;
}

.feature-card-v2:hover,
.operation-card:hover,
.public-plan-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(8, 59, 102, 0.11);
}

.feature-card-v2 i,
.operation-card > i {
    width: 48px;
    height: 48px;
    color: var(--facthu-primary);
    background: #eef8fc;
    border-radius: 14px;
}

.feature-card-v2 h3,
.operation-card h3,
.professional-panel strong,
.public-plan-card-v2 h3 {
    font-weight: 800;
    letter-spacing: -0.005em;
}

.feature-card-v2 p,
.operation-card p,
.public-plan-card-v2 p,
.testimonial-card-v2 p {
    color: #5f6f84;
    font-weight: 500;
}

.operation-number {
    color: #0a6e9d;
    background: #eef8fc;
    border: 1px solid #d8eef8;
    font-weight: 800;
}

.public-plans-preview {
    padding: 90px 0;
}

.plan-card-dark {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.13);
}

.plan-card-dark h3 {
    font-weight: 800;
}

.plan-card-dark p {
    font-weight: 500;
}

.plan-public-price,
.plan-price-v2 strong {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.public-accordion .accordion-item {
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(8, 59, 102, 0.06);
}

.public-accordion .accordion-button {
    font-weight: 700;
}

.cta-shell {
    border-radius: 24px;
    padding: 34px;
}

.cta-shell h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.012em;
}

.cta-shell p {
    font-weight: 500;
}

.public-footer-v2 {
    background: #051f37;
}

@media (max-width: 991.98px) {
    .public-hero-v2,
    .public-page-hero {
        padding-top: 118px;
    }

    .hero-title {
        font-size: clamp(2.15rem, 8vw, 3.5rem);
    }
}

@media (max-width: 767.98px) {
    .brand-frame {
        width: 142px;
        height: 46px;
    }

    .public-header-dark .brand-logo {
        width: 118px;
    }

    .public-hero-v2 {
        padding-bottom: 84px;
    }

    .hero-trust-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-preview-body {
        min-height: auto;
    }

    .public-section {
        padding: 68px 0;
    }
}

.fiscal-pos-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 174, 239, 0.13), transparent 34%),
        #ffffff;
}

.fiscal-pos-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fiscal-pos-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid var(--facthu-border);
    border-radius: 16px;
    background: #ffffff;
}

.fiscal-pos-status > span {
    width: 11px;
    height: 11px;
    margin-top: 6px;
    border-radius: 999px;
    background: #f1b84b;
    flex: 0 0 auto;
}

.fiscal-pos-status.is-ok > span {
    background: var(--facthu-accent);
}

.fiscal-pos-status strong,
.fiscal-pos-status small {
    display: block;
}

.fiscal-pos-status strong {
    color: var(--facthu-primary);
    font-weight: 900;
}

.fiscal-pos-status small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.fiscal-pos-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--facthu-primary);
    background: #eef7fd;
    border: 1px solid #d9edf8;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
}

.fiscal-pos-count span {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 999px;
    font-size: 0.82rem;
}

.fiscal-pos-search .input-group-text {
    color: var(--facthu-primary);
    background: #ffffff;
    border-color: var(--facthu-border);
    border-radius: 12px 0 0 12px;
}

.fiscal-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-height: 430px;
    overflow: auto;
    padding-right: 2px;
}

.fiscal-service-card {
    min-height: 158px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    text-align: left;
    padding: 16px;
    color: var(--facthu-text);
    background: #ffffff;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fiscal-service-card:hover,
.fiscal-service-card:focus {
    border-color: rgba(0, 174, 239, 0.5);
    box-shadow: 0 16px 34px rgba(8, 59, 102, 0.08);
    transform: translateY(-1px);
}

.fiscal-service-card .service-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.12);
    border-radius: 12px;
}

.fiscal-service-card strong {
    color: var(--facthu-primary);
    line-height: 1.2;
    font-weight: 900;
}

.fiscal-service-card small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.fiscal-service-card em {
    margin-top: auto;
    color: #1f5b22;
    font-style: normal;
    font-weight: 900;
}

.fiscal-manual-line,
.fiscal-cart-box {
    padding: 14px;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    background: #f8fbfe;
}

.fiscal-cart-table .form-control,
.fiscal-cart-table .form-select {
    min-height: 40px;
    border-radius: 10px;
}

.fiscal-line-detail {
    font-weight: 800;
}

.fiscal-pos-summary-card {
    position: sticky;
    top: 104px;
}

.fiscal-total-box {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: #f8fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
}

.fiscal-total-box div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fiscal-total-box span {
    color: var(--facthu-muted);
    font-weight: 800;
}

.fiscal-total-box strong {
    color: var(--facthu-primary);
    font-weight: 900;
    text-align: right;
}

.fiscal-total-box .total {
    padding-top: 12px;
    border-top: 1px solid var(--facthu-border);
}

.fiscal-total-box .total strong {
    font-size: 1.45rem;
}

.fiscal-submit-btn {
    min-height: 52px;
}

@media (max-width: 1399.98px) {
    .fiscal-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .fiscal-pos-status-grid,
    .fiscal-service-grid {
        grid-template-columns: 1fr;
    }

    .fiscal-pos-summary-card {
        position: static;
    }
}

.facthu-public {
    background: #f7fbff;
}

.public-header-dark {
    background: rgba(3, 30, 55, 0.93);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.public-header-dark .navbar {
    min-height: 78px;
}

.public-nav .nav-link {
    position: relative;
}

.public-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--facthu-secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.public-nav .nav-link:hover::after,
.public-nav .nav-link.active::after {
    transform: scaleX(1);
}

.facthu-public .btn-primary-facthu {
    color: #ffffff;
    background: linear-gradient(135deg, var(--facthu-secondary), #087fb8);
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(0, 174, 239, 0.28);
}

.facthu-public .btn-primary-facthu:hover,
.facthu-public .btn-primary-facthu:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #07a3df, #063e68);
    border-color: transparent;
}

.public-hero-v2 {
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.public-hero-v2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 120px;
    background: linear-gradient(180deg, rgba(250, 251, 253, 0), #ffffff 82%);
    pointer-events: none;
}

.hero-title {
    text-wrap: balance;
}

.hero-kicker {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 34px rgba(0, 0, 0, .12);
}

.hero-kicker span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--facthu-accent);
    box-shadow: 0 0 0 8px rgba(120, 190, 32, .13);
}

.hero-trust-grid div {
    backdrop-filter: blur(14px);
}

.dashboard-preview {
    position: relative;
    transform: rotate(-1.2deg);
    transition: transform .28s ease, box-shadow .28s ease;
}

.dashboard-preview:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 34px 78px rgba(0, 0, 0, 0.28);
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    inset: -18px;
    z-index: -1;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(0, 174, 239, .22), rgba(120, 190, 32, .12));
    filter: blur(8px);
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    color: #083b66;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(2, 24, 45, .18);
    font-size: .92rem;
    font-weight: 800;
}

.hero-floating-card i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 10px;
}

.hero-floating-one {
    top: 88px;
    right: -18px;
}

.hero-floating-two {
    left: -18px;
    bottom: 74px;
}

.public-capability-strip {
    position: relative;
    z-index: 4;
}

.capability-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(226, 232, 240, .9);
}

.capability-item {
    align-items: flex-start;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.capability-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 174, 239, .28);
    box-shadow: 0 18px 36px rgba(8, 59, 102, .08);
}

.public-value-section {
    position: relative;
    overflow: hidden;
    padding-top: 96px;
}

.public-value-section::before {
    content: '';
    position: absolute;
    top: 8%;
    left: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(0, 174, 239, .08);
    filter: blur(10px);
}

.value-proof-card {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #083b66, #05233d);
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(8, 59, 102, .18);
}

.value-proof-card strong {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9ee8ff;
}

.value-proof-card span {
    font-weight: 800;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.value-card {
    position: relative;
    min-height: 232px;
    padding: 26px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(8, 59, 102, .07);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.value-card::after {
    content: '';
    position: absolute;
    right: -56px;
    top: -56px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: rgba(0, 174, 239, .09);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 174, 239, .32);
    box-shadow: 0 24px 56px rgba(8, 59, 102, .12);
}

.value-card > span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #007fb4;
    font-weight: 900;
    letter-spacing: .08em;
}

.value-card i {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #083b66;
    background: #eef8fc;
    border-radius: 16px;
    font-size: 1.25rem;
}

.value-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    color: #112238;
    font-size: 1.2rem;
    font-weight: 900;
}

.value-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: #5f6f84;
    font-weight: 600;
    line-height: 1.62;
}

.feature-card-v2 {
    min-height: 238px;
}

.feature-card-v2 i,
.operation-card > i {
    box-shadow: inset 0 0 0 1px rgba(0, 174, 239, .18);
}

.solution-suite {
    display: grid;
    grid-template-columns: .92fr 1.35fr;
    gap: 22px;
    padding: 24px;
    background: linear-gradient(135deg, #f5fbff, #ffffff);
    border: 1px solid #e2edf5;
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(8, 59, 102, .08);
}

.solution-suite-head {
    padding: 10px 8px 10px 4px;
}

.solution-suite-head h3 {
    margin: 16px 0 12px;
    color: #082f51;
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.012em;
}

.solution-suite-head p {
    margin-bottom: 0;
    color: #5f6f84;
    font-weight: 600;
    line-height: 1.68;
}

.solution-suite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.suite-step {
    position: relative;
    min-height: 150px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e4ebf3;
    border-radius: 20px;
}

.suite-step::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--facthu-accent);
    box-shadow: 0 0 0 7px rgba(120, 190, 32, .12);
}

.suite-step span {
    display: block;
    margin-left: 22px;
    margin-bottom: 16px;
    color: #007fb4;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.suite-step strong {
    display: block;
    color: #19304a;
    font-size: 1rem;
    line-height: 1.5;
}

.operation-card,
.professional-panel,
.plan-card-dark,
.testimonial-card-v2 {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.operation-card {
    overflow: hidden;
}

.operation-card::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -68px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(0, 174, 239, .08);
}

.professional-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-radius: 26px;
}

.public-plans-preview .section-center {
    max-width: 760px;
}

.plan-card-dark {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    backdrop-filter: blur(16px);
}

.plan-card-dark:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 174, 239, .38);
    background: rgba(255, 255, 255, .105);
}

.public-footer-v3 {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding: 58px 0 30px;
    background:
        radial-gradient(circle at 9% 12%, rgba(0, 174, 239, .17), transparent 28%),
        radial-gradient(circle at 90% 8%, rgba(120, 190, 32, .12), transparent 26%),
        linear-gradient(135deg, #041d33 0%, #083b66 54%, #031828 100%);
}

.footer-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(38px);
    opacity: .8;
    pointer-events: none;
}

.footer-glow-one {
    width: 280px;
    height: 280px;
    left: -90px;
    bottom: 15%;
    background: rgba(0, 174, 239, .18);
}

.footer-glow-two {
    width: 220px;
    height: 220px;
    right: -70px;
    top: 10%;
    background: rgba(120, 190, 32, .13);
}

.footer-cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 30px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px);
}

.footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #9ee8ff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-eyebrow::before {
    content: '';
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--facthu-accent);
}

.footer-cta-row h2 {
    max-width: 830px;
    margin: 0 0 8px;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.012em;
}

.footer-cta-row p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-weight: 600;
    line-height: 1.66;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.btn-footer-primary,
.btn-footer-outline {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 14px;
    font-weight: 900;
}

.btn-footer-primary {
    color: #063156;
    background: #ffffff;
    border: 1px solid #ffffff;
}

.btn-footer-primary:hover,
.btn-footer-primary:focus {
    color: #ffffff;
    background: var(--facthu-secondary);
    border-color: var(--facthu-secondary);
}

.btn-footer-outline {
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
}

.btn-footer-outline:hover,
.btn-footer-outline:focus {
    color: #063156;
    background: #ffffff;
    border-color: #ffffff;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .72fr)) minmax(240px, .95fr);
    gap: 22px;
    align-items: stretch;
}

.footer-brand-panel,
.footer-contact-card,
.footer-column {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    backdrop-filter: blur(14px);
}

.footer-brand-panel {
    padding: 24px;
}

.footer-logo-box {
    width: 178px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    margin-bottom: 18px;
    background: #ffffff;
    border-radius: 18px;
}

.footer-logo-v3 {
    width: 146px;
    max-height: 40px;
    object-fit: contain;
}

.footer-brand-panel p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .74);
    font-weight: 600;
    line-height: 1.7;
}

.footer-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    color: #eafff2;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 800;
}

.footer-column {
    padding: 24px 22px;
}

.footer-column h3,
.footer-contact-card h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 900;
}

.footer-column a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: rgba(255, 255, 255, .70);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.35;
    transition: color .2s ease, transform .2s ease;
}

.footer-column a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 174, 239, .85);
}

.footer-column a:hover,
.footer-column a:focus {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact-card {
    padding: 24px;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #063156;
    background: #ffffff;
    border-radius: 16px;
    font-size: 1.25rem;
}

.footer-contact-card p {
    color: rgba(255, 255, 255, .74);
    font-weight: 600;
    line-height: 1.66;
}

.footer-contact-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9ee8ff;
    text-decoration: none;
    font-weight: 900;
}

.footer-contact-card a:hover,
.footer-contact-card a:focus {
    color: #ffffff;
}

.footer-bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .58);
    font-size: .9rem;
    font-weight: 700;
}

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

    .footer-brand-panel,
    .footer-contact-card {
        grid-column: span 3;
    }
}

@media (max-width: 991.98px) {
    .public-hero-v2 {
        min-height: auto;
    }

    .dashboard-preview {
        transform: none;
    }

    .capability-shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-suite,
    .footer-cta-row {
        grid-template-columns: 1fr;
    }

    .footer-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .hero-floating-card {
        position: static;
        margin-top: 12px;
    }

    .dashboard-preview {
        padding-bottom: 14px;
    }

    .value-grid,
    .solution-suite-grid,
    .capability-shell,
    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-panel,
    .footer-contact-card {
        grid-column: auto;
    }

    .footer-cta-row,
    .footer-brand-panel,
    .footer-contact-card,
    .footer-column {
        border-radius: 20px;
    }

    .footer-cta-row {
        padding: 24px;
    }
}

/* Ajustes landing principal y contacto seguro */
.hero-with-particles {
    isolation: isolate;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    --size: 7px;
    position: absolute;
    width: var(--size);
    height: var(--size);
    left: var(--x);
    top: var(--y);
    border-radius: 999px;
    background: rgba(183, 240, 255, .88);
    box-shadow: 0 0 22px rgba(0, 174, 239, .72);
    opacity: .68;
    animation: facthuParticleFloat var(--duration, 12s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.hero-particles span:nth-child(1) { --x: 7%; --y: 20%; --size: 6px; --duration: 12s; --delay: -2s; }
.hero-particles span:nth-child(2) { --x: 18%; --y: 74%; --size: 9px; --duration: 15s; --delay: -5s; }
.hero-particles span:nth-child(3) { --x: 31%; --y: 18%; --size: 5px; --duration: 13s; --delay: -8s; }
.hero-particles span:nth-child(4) { --x: 45%; --y: 82%; --size: 8px; --duration: 16s; --delay: -4s; }
.hero-particles span:nth-child(5) { --x: 62%; --y: 24%; --size: 10px; --duration: 18s; --delay: -7s; }
.hero-particles span:nth-child(6) { --x: 76%; --y: 66%; --size: 6px; --duration: 14s; --delay: -3s; }
.hero-particles span:nth-child(7) { --x: 88%; --y: 28%; --size: 9px; --duration: 17s; --delay: -11s; }
.hero-particles span:nth-child(8) { --x: 93%; --y: 78%; --size: 5px; --duration: 12s; --delay: -6s; }
.hero-particles span:nth-child(9) { --x: 12%; --y: 46%; --size: 4px; --duration: 11s; --delay: -1s; }
.hero-particles span:nth-child(10) { --x: 52%; --y: 48%; --size: 7px; --duration: 19s; --delay: -9s; }
.hero-particles span:nth-child(11) { --x: 68%; --y: 86%; --size: 4px; --duration: 13s; --delay: -10s; }
.hero-particles span:nth-child(12) { --x: 83%; --y: 47%; --size: 6px; --duration: 15s; --delay: -2s; }
.hero-particles span:nth-child(13) { --x: 27%; --y: 59%; --size: 5px; --duration: 18s; --delay: -13s; }
.hero-particles span:nth-child(14) { --x: 39%; --y: 34%; --size: 8px; --duration: 14s; --delay: -6s; }
.hero-particles span:nth-child(15) { --x: 72%; --y: 13%; --size: 5px; --duration: 16s; --delay: -4s; }
.hero-particles span:nth-child(16) { --x: 4%; --y: 83%; --size: 8px; --duration: 20s; --delay: -12s; }
.hero-particles span:nth-child(17) { --x: 58%; --y: 70%; --size: 4px; --duration: 12s; --delay: -7s; }
.hero-particles span:nth-child(18) { --x: 96%; --y: 14%; --size: 7px; --duration: 17s; --delay: -3s; }

@keyframes facthuParticleFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .38; }
    35% { transform: translate3d(18px, -28px, 0) scale(1.18); opacity: .82; }
    65% { transform: translate3d(-16px, 22px, 0) scale(.9); opacity: .52; }
}

.dashboard-preview-pro {
    border-color: rgba(255, 255, 255, .22);
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
    box-shadow: 0 36px 90px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255, 255, 255, .18);
}

.dashboard-glass-bar {
    display: flex;
    gap: 7px;
    padding: 8px 12px 14px;
}

.dashboard-glass-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.dashboard-preview-top-pro {
    border-radius: 26px 26px 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.dash-pill-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f7b56;
    background: #e9fbf4;
    border-color: #c7f2df;
}

.dashboard-preview-body-pro {
    min-height: 565px;
    grid-template-columns: 178px 1fr;
    background: linear-gradient(135deg, #f7fbff 0%, #eef7fd 100%);
}

.dashboard-sidebar-pro {
    background: linear-gradient(180deg, #061a36 0%, #083b66 100%);
    gap: 10px;
}

.dashboard-sidebar-pro span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-sidebar-pro span i {
    font-size: .95rem;
}

.dashboard-content-pro {
    padding: 16px;
}

.dash-toolbar-pro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.dash-toolbar-pro > span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--facthu-primary);
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    font-weight: 900;
}

.dash-metrics-pro {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dash-metrics-pro div {
    padding: 14px;
}

.dash-metrics-pro strong {
    font-size: 1.48rem;
}

.dash-chart-card-pro {
    padding: 16px;
    border-radius: 24px;
}

.dash-chart-card-pro svg {
    height: 190px;
}

.dash-bottom-pro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(150px, .8fr);
    gap: 12px;
    margin-top: 14px;
}

.dash-team-list,
.dash-progress-card {
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(8, 59, 102, .07);
    padding: 16px;
}

.dash-team-list strong {
    display: block;
    margin-bottom: 10px;
    color: var(--facthu-primary);
    font-weight: 900;
}

.dash-team-list span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #4d5c70;
    padding: 7px 0;
    font-size: .82rem;
    font-weight: 800;
}

.dash-team-list span i {
    color: var(--facthu-secondary);
    margin-right: 6px;
}

.dash-team-list span em {
    color: var(--facthu-primary);
    background: #eef7fd;
    border-radius: 999px;
    padding: 2px 7px;
    font-style: normal;
    font-weight: 900;
}

.dash-progress-card small,
.dash-progress-card em {
    display: block;
    color: var(--facthu-muted);
    font-weight: 800;
    font-style: normal;
}

.dash-progress-card strong {
    display: block;
    color: var(--facthu-primary);
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 900;
}

.dash-progress-card div {
    height: 10px;
    margin: 13px 0 10px;
    overflow: hidden;
    background: #edf2f7;
    border-radius: 999px;
}

.dash-progress-card div span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--facthu-secondary), var(--facthu-accent));
    border-radius: inherit;
}

.hero-floating-two {
    right: 18px;
    bottom: 22px;
}

.contact-form-card-secure {
    color: var(--facthu-text) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid rgba(226, 232, 240, .96) !important;
    box-shadow: 0 28px 70px rgba(2, 24, 45, .22) !important;
}

.contact-form-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7edf5;
}

.contact-form-head span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 16px;
    font-size: 1.2rem;
}

.contact-form-head strong,
.contact-form-head small {
    display: block;
}

.contact-form-head strong {
    color: var(--facthu-primary);
    font-size: 1.08rem;
    font-weight: 900;
}

.contact-form-head small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.contact-form-card-secure .form-label {
    color: var(--facthu-primary) !important;
    margin-bottom: 7px;
}

.contact-form-card-secure .form-control,
.contact-form-card-secure .form-select,
.contact-form-card-secure textarea.form-control {
    color: #17212f !important;
    background: #ffffff !important;
    border: 1px solid #d9e5f2 !important;
    box-shadow: none !important;
}

.contact-form-card-secure .form-control::placeholder,
.contact-form-card-secure textarea.form-control::placeholder {
    color: #8a98aa !important;
}

.contact-form-card-secure .form-control:focus,
.contact-form-card-secure .form-select:focus {
    border-color: var(--facthu-secondary) !important;
    box-shadow: 0 0 0 .2rem rgba(0, 174, 239, .12) !important;
}

.contact-form-card-secure .form-select option {
    color: #17212f;
    background: #ffffff;
}

.contact-form-card-secure .form-text {
    color: #6c7a8f !important;
    font-weight: 700;
}

.contact-captcha-box {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(180px, .9fr);
    gap: 14px;
    align-items: end;
    padding: 14px;
    background: #f1f8fc;
    border: 1px solid #dcebf5;
    border-radius: 20px;
}

.captcha-image-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.captcha-image-wrap img {
    width: 190px;
    height: 62px;
    max-width: 100%;
    border: 1px solid #d4e5f2;
    border-radius: 14px;
    background: #eef7fd;
}

.captcha-refresh-button {
    min-height: 42px;
    padding: 8px 12px;
    color: var(--facthu-primary);
    background: #ffffff;
    border: 1px solid #d4e5f2;
    border-radius: 12px;
    font-weight: 900;
}

.captcha-refresh-button:hover,
.captcha-refresh-button:focus {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

@media (max-width: 1199.98px) {
    .dashboard-preview-body-pro {
        grid-template-columns: 150px 1fr;
    }

    .dash-metrics-pro {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dashboard-preview-pro {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .dashboard-preview-body-pro,
    .dash-bottom-pro,
    .contact-captcha-box {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar-pro {
        display: none;
    }

    .dash-toolbar-pro,
    .dash-metrics-pro {
        grid-template-columns: 1fr;
    }

    .dashboard-preview-body-pro {
        min-height: auto;
    }

    .dashboard-content-pro {
        padding: 14px;
    }

    .contact-form-head {
        align-items: flex-start;
    }
}

/* Dashboard ejecutivo */
.dashboard-executive .panel-card {
    position: relative;
}

.dashboard-hero-card {
    background:
        radial-gradient(circle at 12% 15%, rgba(0, 174, 239, 0.16), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(120, 190, 32, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 58%, #eef8ff 100%);
    border: 1px solid rgba(0, 174, 239, 0.18);
}

.dashboard-hero-glow {
    position: absolute;
    inset: auto -90px -130px auto;
    width: 330px;
    height: 330px;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.16);
    filter: blur(18px);
    pointer-events: none;
}

.dashboard-hero-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-hero-kpis div {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(8, 59, 102, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(8, 59, 102, 0.06);
}

.dashboard-hero-kpis span,
.dashboard-hero-kpis strong {
    display: block;
    min-width: 0;
}

.dashboard-hero-kpis span {
    color: var(--facthu-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.dashboard-hero-kpis strong {
    color: var(--facthu-primary);
    font-size: 1.2rem;
    font-weight: 900;
}

.metric-card-pro {
    min-height: 176px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric-card-pro em {
    display: block;
    color: var(--facthu-muted);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
}

.metric-card-pro:hover {
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 18px 36px rgba(8, 59, 102, 0.10);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 12px;
}

.tool-tile {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    background: #ffffff;
    color: var(--facthu-text);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-tile i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-size: 1.1rem;
}

.tool-tile span,
.tool-tile small {
    display: block;
}

.tool-tile span {
    color: var(--facthu-primary);
    font-weight: 900;
}

.tool-tile small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.tool-tile.is-enabled i {
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.12);
}

.tool-tile.is-enabled:hover {
    color: var(--facthu-text);
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 14px 28px rgba(8, 59, 102, 0.08);
    transform: translateY(-2px);
}

.tool-tile.is-disabled {
    opacity: 0.66;
    background: #f7f9fc;
}

.tool-tile.is-disabled i {
    color: #6c7481;
    background: #eef1f5;
}

.dashboard-radial {
    --value: 0;
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    margin-inline: auto;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #ffffff 58%, transparent 59%),
        conic-gradient(var(--facthu-secondary) calc(var(--value) * 1%), #e8eef5 0);
    box-shadow: inset 0 0 0 1px rgba(8, 59, 102, 0.06), 0 14px 30px rgba(8, 59, 102, 0.08);
}

.dashboard-radial strong,
.dashboard-radial span {
    grid-area: 1 / 1;
    display: block;
    text-align: center;
}

.dashboard-radial strong {
    margin-top: -12px;
    color: var(--facthu-primary);
    font-size: 2rem;
    font-weight: 900;
}

.dashboard-radial span {
    margin-top: 44px;
    color: var(--facthu-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.dashboard-split-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-split-list div,
.mini-stat-tile,
.connection-tile {
    padding: 16px;
    border: 1px solid var(--facthu-border);
    border-radius: 18px;
    background: #ffffff;
}

.dashboard-split-list div {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
}

.dashboard-split-list i,
.mini-stat-tile i,
.connection-tile i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-primary);
    background: rgba(0, 174, 239, 0.12);
    border-radius: 13px;
}

.dashboard-split-list span,
.mini-stat-tile span {
    color: var(--facthu-muted);
    font-weight: 800;
}

.dashboard-split-list strong,
.mini-stat-tile strong {
    color: var(--facthu-primary);
    font-size: 1.25rem;
    font-weight: 900;
}

.mini-stat-tile {
    min-height: 134px;
    display: grid;
    gap: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mini-stat-tile:hover {
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 14px 28px rgba(8, 59, 102, 0.08);
    transform: translateY(-2px);
}

.connection-tile {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
}

.connection-tile span {
    color: var(--facthu-primary);
    font-weight: 900;
}

.connection-tile strong {
    font-size: 0.8rem;
    font-weight: 900;
}

.connection-tile.is-ok strong {
    color: #1f7a32;
}

.connection-tile.is-off strong {
    color: #856404;
}

.dashboard-table th {
    color: var(--facthu-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dashboard-table td strong,
.dashboard-table td small {
    display: block;
}

.dashboard-table td small {
    color: var(--facthu-muted);
    font-weight: 700;
}

.status-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 999px;
    background: #adb5bd;
}

.status-dot.ok {
    background: var(--facthu-accent);
}

.status-dot.warn {
    background: #f0ad4e;
}

.activity-item-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.activity-item-flex b {
    color: var(--facthu-primary);
    white-space: nowrap;
}

.limit-card-compact {
    min-height: auto;
}

@media (max-width: 991.98px) {
    .dashboard-hero-kpis,
    .dashboard-split-list {
        grid-template-columns: 1fr;
    }

    .dashboard-radial {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 575.98px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

    .activity-item-flex {
        align-items: flex-start;
        flex-direction: column;
    }
}

.facthu-action-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.facthu-icon-label-btn,
.facthu-mini-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(8, 59, 102, 0.14);
    background: #ffffff;
    color: var(--facthu-primary);
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(8, 59, 102, 0.06);
}

.facthu-icon-label-btn {
    min-height: 42px;
    padding: 9px 14px;
}

.facthu-icon-label-btn i,
.facthu-mini-action i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--facthu-primary);
    border-radius: 999px;
    font-size: 0.88rem;
}

.facthu-icon-label-btn:hover,
.facthu-icon-label-btn:focus,
.facthu-mini-action:hover,
.facthu-mini-action:focus {
    color: #ffffff;
    background: var(--facthu-primary);
    border-color: var(--facthu-primary);
}

.facthu-icon-label-btn:hover i,
.facthu-icon-label-btn:focus i,
.facthu-mini-action:hover i,
.facthu-mini-action:focus i {
    color: var(--facthu-primary);
    background: #ffffff;
}

.fiscal-empty-wide {
    grid-column: 1 / -1;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--facthu-muted);
    background: #f8fbfe;
    font-weight: 800;
}

.fiscal-summary-strip,
.fiscal-confirm-list {
    display: grid;
    gap: 10px;
}

.fiscal-summary-strip div,
.fiscal-confirm-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: #f8fbfe;
    border: 1px solid var(--facthu-border);
    border-radius: 14px;
}

.fiscal-summary-strip span,
.fiscal-confirm-list span {
    color: var(--facthu-muted);
    font-weight: 800;
}

.fiscal-summary-strip strong,
.fiscal-confirm-list strong {
    color: var(--facthu-primary);
    font-weight: 900;
    text-align: right;
}

.fiscal-ui-modal .modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(8, 59, 102, 0.22);
    overflow: hidden;
}

.fiscal-ui-modal .modal-header,
.fiscal-ui-modal .modal-footer {
    border-color: rgba(8, 59, 102, 0.09);
    background: #ffffff;
}

.fiscal-ui-modal .modal-body {
    background: #f8fbfe;
}

.fiscal-ui-modal .form-label {
    color: var(--facthu-primary);
    font-weight: 900;
}

.fiscal-ui-modal .form-control,
.fiscal-ui-modal .form-select,
.fiscal-pos-page .form-control,
.fiscal-pos-page .form-select {
    color: var(--facthu-text);
    background-color: #ffffff;
    border-color: rgba(8, 59, 102, 0.15);
}

.fiscal-ui-modal .form-control:focus,
.fiscal-ui-modal .form-select:focus,
.fiscal-pos-page .form-control:focus,
.fiscal-pos-page .form-select:focus {
    border-color: var(--facthu-secondary);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.14);
}

.facthu-state-badge {
    color: var(--facthu-primary);
    background: #eef7fd;
    border: 1px solid #d8edf8;
    font-weight: 900;
}

.fiscal-doc-table td,
.fiscal-doc-table th,
.fiscal-cart-table td,
.fiscal-cart-table th {
    color: var(--facthu-text);
}

@media (max-width: 575.98px) {
    .facthu-action-toolbar {
        justify-content: stretch;
    }

    .facthu-icon-label-btn {
        width: 100%;
    }

    .fiscal-summary-strip div,
    .fiscal-confirm-list div {
        align-items: flex-start;
        flex-direction: column;
    }

    .fiscal-summary-strip strong,
    .fiscal-confirm-list strong {
        text-align: left;
    }
}
