/**
 * FACZIS ERP - tema de la landing pública.
 * Tokens de marca en :root; móvil primero.
 */

:root {
    /* Marca */
    --bg: #0B0A1A;
    --surface: #14112E;
    --surface-2: #1B1740;
    --indigo: #2E2A5C;
    --text: #FFFFFF;
    --text-muted: #C9C6E0;
    --orange: #F26A1B;
    --red: #E8211A;
    --yellow: #F5C518;
    --purple: #5B3E9A;
    --blue: #4F7FBF;
    --whatsapp: #25D366;
    --success: #4ADE80;
    --danger: #FF8A80;

    --brand-gradient: linear-gradient(90deg, #E8211A, #F26A1B, #F5C518);
    --cta-gradient: linear-gradient(90deg, #F26A1B, #F5C518);

    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.22);
    --focus-ring: 0 0 0 3px var(--bg), 0 0 0 5px var(--yellow);

    --font-heading: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --header-height: 72px;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
    scroll-padding-top: calc(var(--header-height) + 16px);
    overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* Relleno lateral de 20px en todas las pantallas (Bootstrap usa 12px) */
.container {
    --bs-gutter-x: 2.5rem;
}

body.cz-no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a {
    color: var(--yellow);
    text-underline-offset: 3px;
}

a:hover {
    color: #FFE07A;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 6px;
}

::selection {
    background: var(--orange);
    color: var(--surface);
}

.cz-skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--yellow);
    color: var(--surface);
    font-weight: 700;
    text-decoration: none;
}

.cz-skip-link:focus {
    top: 12px;
}

.cz-gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.cz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.cz-btn-sm {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 0.9375rem;
}

.cz-btn-primary {
    background: var(--cta-gradient);
    color: #14112E;
    box-shadow: 0 8px 24px rgba(242, 106, 27, 0.28);
}

.cz-btn-primary:hover {
    color: #14112E;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(242, 106, 27, 0.38);
}

.cz-btn-primary:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.cz-btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-strong);
    color: var(--text);
}

.cz-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text);
}

.cz-btn-whatsapp {
    background: var(--whatsapp);
    color: #06281A;
}

.cz-btn-whatsapp:hover {
    background: #3BE077;
    color: #06281A;
}

/* ==========================================================================
   Encabezado
   ========================================================================== */
.cz-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 10, 26, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cz-header.header-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cz-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 16px;
}

.cz-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.cz-brand:hover {
    color: var(--text);
}

.cz-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.cz-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--brand-gradient);
    color: var(--surface);
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 800;
}

.cz-brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
}

.cz-brand-suffix {
    margin-left: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cz-nav-menu {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cz-nav-link {
    display: block;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
}

.cz-nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.cz-header-phone,
.cz-btn-login {
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cz-header-phone i {
    color: var(--whatsapp);
}

.cz-header-phone:hover,
.cz-btn-login:hover {
    color: var(--yellow);
}

/* El teléfono aparece solo cuando el encabezado tiene espacio de sobra */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .cz-header-phone {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .cz-nav-menu {
        gap: 0;
    }

    .cz-nav-link {
        padding: 8px 8px;
        font-size: 0.875rem;
    }
}

.cz-header .cz-btn {
    white-space: nowrap;
}

.cz-mobile-toggler {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: 1.25rem;
}

.cz-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.cz-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.cz-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    width: min(340px, 88vw);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px 24px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
}

.cz-drawer.open {
    transform: translateX(0);
}

.cz-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.cz-drawer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cz-drawer-menu .cz-drawer-link {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.cz-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.cz-hero {
    position: relative;
    padding: 48px 0 56px;
    background:
        radial-gradient(60% 50% at 85% 10%, rgba(91, 62, 154, 0.35), transparent 70%),
        radial-gradient(40% 40% at 10% 90%, rgba(242, 106, 27, 0.12), transparent 70%);
}

.cz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
}

.cz-eyebrow i {
    color: var(--success);
}

.cz-hero-title {
    margin-bottom: 20px;
    font-size: clamp(1.875rem, 5vw, 2.875rem);
    font-weight: 800;
    line-height: 1.12;
}

.cz-hero-subtitle {
    max-width: 40rem;
    margin-bottom: 28px;
    font-size: 1.0625rem;
}

.cz-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cz-hero-actions .cz-btn {
    flex: 1 1 auto;
}

@media (min-width: 576px) {
    .cz-hero-actions .cz-btn {
        flex: 0 0 auto;
    }
}

.cz-hero-note {
    margin: 20px 0 0;
    font-size: 0.875rem;
}

.cz-screenshot {
    margin: 0;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.cz-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 8px);
}

.cz-hero-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.cz-hero-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
}

.cz-hero-panel-dots {
    display: inline-flex;
    gap: 6px;
}

.cz-hero-panel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
}

.cz-hero-panel-dots span:nth-child(2) {
    background: var(--orange);
}

.cz-hero-panel-dots span:nth-child(3) {
    background: var(--yellow);
}

.cz-hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 18px;
}

@media (min-width: 576px) {
    .cz-hero-panel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cz-hero-panel-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
}

.cz-hero-panel-item i {
    font-size: 1.375rem;
    color: var(--orange);
}

.cz-hero-panel-item:nth-child(3n+2) i {
    color: var(--yellow);
}

.cz-hero-panel-item:nth-child(3n) i {
    color: #8FB2E3;
}

.cz-hero-panel-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
}

.cz-hero-panel-foot i {
    color: var(--success);
}

/* ==========================================================================
   Indicadores
   ========================================================================== */
.cz-indicators {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.cz-indicator-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .cz-indicator-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-indicator-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cz-indicator {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 4px;
    color: var(--text);
    font-weight: 600;
    line-height: 1.35;
}

.cz-indicator + .cz-indicator {
    border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
    .cz-indicator + .cz-indicator {
        border-top: 0;
    }
}

.cz-indicator-icon {
    flex: 0 0 44px;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(242, 106, 27, 0.14);
    color: var(--orange);
    font-size: 1.125rem;
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.cz-section {
    padding: 64px 0;
}

@media (min-width: 992px) {
    .cz-section {
        padding: 96px 0;
    }
}

.cz-section-alt {
    background: var(--surface);
}

.cz-section-title-wrap {
    max-width: 46rem;
    margin: 0 auto 40px;
    text-align: center;
}

.cz-section-badge {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--orange);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cz-section-title {
    margin-bottom: 14px;
    font-size: clamp(1.625rem, 4vw, 2.5rem);
    font-weight: 800;
}

.cz-section-lead {
    margin-bottom: 0;
    font-size: 1.0625rem;
}

.cz-card {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cz-section-alt .cz-card {
    background: var(--surface-2);
}

.cz-card-title {
    margin: 0 0 8px;
    font-size: 1.125rem;
}

.cz-card-text {
    margin: 0;
}

.cz-icon-circle {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(232, 33, 26, 0.18), rgba(245, 197, 24, 0.18));
    color: var(--yellow);
    font-size: 1.375rem;
}

.cz-icon-sm {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    font-size: 1.125rem;
}

.cz-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cz-check-list li {
    position: relative;
    padding: 6px 0 6px 30px;
    color: var(--text);
}

.cz-check-list li i {
    position: absolute;
    left: 0;
    top: 11px;
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.14);
    color: var(--success);
    font-size: 0.6875rem;
}

@media (min-width: 768px) {
    .cz-check-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
    }
}

/* Pestañas de módulos */
.cz-tabs-nav {
    display: flex;
    gap: 8px;
    margin: 0 -20px 24px;
    padding: 4px 20px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

@media (min-width: 992px) {
    .cz-tabs-nav {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 0 32px;
        padding: 4px;
        overflow: visible;
    }
}

.cz-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
}

.cz-tab-btn:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.4);
}

.cz-tab-btn[aria-selected="true"] {
    background: var(--cta-gradient);
    border-color: transparent;
    color: #14112E;
}

.cz-tab-panel {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

@media (min-width: 992px) {
    .cz-tab-panel {
        padding: 40px;
    }
}

.cz-module-title {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.cz-module-summary {
    margin: 0;
    font-size: 1.0625rem;
}

.cz-module-summary + .cz-check-list {
    margin-top: 20px;
}

/* Pasos (flujo e-CF e implementación) */
.cz-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .cz-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cz-step-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
}

.cz-section:not(.cz-section-alt) .cz-step-card {
    background: var(--surface);
}

.cz-step-number {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #14112E;
    font-family: var(--font-heading);
    font-weight: 800;
}

.cz-step-title {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

.cz-step-desc {
    margin: 0;
}

/* Hecho para RD */
.cz-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .cz-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-feature-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Seguridad */
.cz-security-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .cz-security-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cz-security-list li {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
}

/* ==========================================================================
   Planes
   ========================================================================== */
.cz-pricing-switch-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.cz-pricing-toggle {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
}

.cz-toggle-btn {
    min-height: 44px;
    padding: 8px 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 700;
}

.cz-toggle-btn[aria-pressed="true"] {
    background: var(--text);
    color: #14112E;
}

.cz-discount-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 197, 24, 0.14);
    color: var(--yellow);
    font-size: 0.875rem;
    font-weight: 700;
}

.cz-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .cz-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cz-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.cz-pricing-card .cz-check-list {
    flex: 1 1 auto;
    margin-bottom: 24px;
}

.cz-pricing-card.featured {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
        var(--brand-gradient) border-box;
    box-shadow: 0 24px 48px rgba(242, 106, 27, 0.18);
}

@media (min-width: 1200px) {
    .cz-pricing-card.featured {
        transform: translateY(-8px);
    }
}

.cz-pricing-enterprise {
    background: transparent;
    border-style: dashed;
    border-color: var(--border-strong);
}

.cz-pricing-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    margin: 0;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--cta-gradient);
    color: #14112E;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cz-plan-name {
    margin-bottom: 6px;
    font-size: 1.375rem;
}

.cz-plan-desc {
    min-height: 3.3em;
    margin-bottom: 18px;
}

.cz-plan-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.cz-plan-price {
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.cz-plan-period {
    font-weight: 600;
}

@media (min-width: 1200px) {
    .cz-plan-price {
        font-size: 1.75rem;
    }
}

.cz-plan-billing {
    margin: 6px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.cz-included {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 32px 0 0;
    padding: 16px 20px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--radius-md);
    background: rgba(74, 222, 128, 0.06);
    color: var(--text);
}

.cz-included i {
    margin-top: 4px;
    color: var(--success);
}

.cz-campus {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding: 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
        var(--brand-gradient) border-box;
}

@media (min-width: 768px) {
    .cz-campus {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cz-campus-label {
    margin: 0 0 4px;
    color: var(--yellow);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 800;
}

.cz-campus-text {
    margin: 0;
    color: var(--text);
}

.cz-table-card {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.cz-table-title {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.cz-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

.cz-table th,
.cz-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.cz-table thead th {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
}

.cz-table tbody th {
    font-weight: 600;
}

.cz-table td {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .cz-table-card {
        padding: 20px 16px;
    }

    .cz-table th,
    .cz-table td {
        padding: 10px 4px;
        font-size: 0.9375rem;
    }

    .cz-table thead th {
        font-size: 0.875rem;
    }
}

.cz-table-detail {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.cz-included-cell {
    color: var(--success);
    font-weight: 700;
}

.cz-table-note {
    margin: 12px 0 0;
    font-size: 0.875rem;
}

.cz-pricing-notes {
    margin: 28px 0 0;
    padding-left: 1.25rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Preguntas frecuentes
   ========================================================================== */
.cz-faq-list {
    max-width: 52rem;
    margin: 0 auto;
}

.cz-faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.cz-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.cz-faq-question::-webkit-details-marker {
    display: none;
}

.cz-faq-chevron {
    flex: 0 0 auto;
    color: var(--orange);
    transition: transform .2s ease;
}

.cz-faq-item[open] .cz-faq-chevron {
    transform: rotate(180deg);
}

.cz-faq-answer {
    padding: 0 20px 20px;
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.cz-contact-card,
.cz-form-card {
    height: 100%;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-2);
}

@media (min-width: 992px) {
    .cz-contact-card,
    .cz-form-card {
        padding: 36px;
    }
}

.cz-contact-kicker {
    margin: 0;
    color: var(--orange);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cz-contact-person {
    margin: 6px 0 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.cz-contact-role {
    margin: 0 0 24px;
}

.cz-contact-perks {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.cz-contact-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.cz-contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.cz-contact-icon {
    flex: 0 0 44px;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--yellow);
}

.cz-contact-label {
    display: block;
    font-size: 0.875rem;
}

.cz-contact-value {
    color: var(--text);
    font-weight: 600;
    word-break: break-word;
}

a.cz-contact-value:hover {
    color: var(--yellow);
}

.cz-form-title {
    margin-bottom: 6px;
    font-size: 1.375rem;
}

.cz-form-help {
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.cz-form-card .form-label {
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
}

.cz-form-card .form-control,
.cz-form-card .form-select {
    min-height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background-color: var(--bg);
    color: var(--text);
    font-size: 1rem;
}

.cz-form-card .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23C9C6E0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.cz-form-card .form-select option {
    background: var(--surface);
    color: var(--text);
}

.cz-form-card .form-control::placeholder {
    color: #9C98BD;
}

.cz-form-card .form-control:focus,
.cz-form-card .form-select:focus {
    border-color: var(--yellow);
    background-color: var(--bg);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.3);
}

.cz-form-card .form-control.is-invalid,
.cz-form-card .form-select.is-invalid {
    border-color: var(--danger);
}

.cz-field-error {
    margin-top: 6px;
    color: var(--danger);
    font-size: 0.875rem;
    font-weight: 600;
}

.cz-form-status {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.cz-form-status.success {
    border: 1px solid rgba(74, 222, 128, 0.4);
    background: rgba(74, 222, 128, 0.1);
    color: var(--success);
}

.cz-form-status.error {
    border: 1px solid rgba(255, 138, 128, 0.4);
    background: rgba(255, 138, 128, 0.1);
    color: var(--danger);
}

/* ==========================================================================
   Pie de página
   ========================================================================== */
.cz-footer {
    padding: 64px 0 96px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

@media (min-width: 992px) {
    .cz-footer {
        padding-bottom: 24px;
    }
}

.cz-footer-desc {
    margin: 16px 0 20px;
    max-width: 24rem;
}

.cz-footer-social {
    display: flex;
    gap: 10px;
}

.cz-social-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    color: var(--text);
}

.cz-social-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.cz-footer-heading {
    margin-bottom: 16px;
    font-size: 1rem;
}

.cz-footer-links,
.cz-footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cz-footer-links li {
    margin-bottom: 10px;
}

.cz-footer-links a,
.cz-footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
}

.cz-footer-links a:hover,
.cz-footer-contact a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.cz-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cz-footer-contact i {
    width: 18px;
    margin-top: 5px;
    color: var(--orange);
    text-align: center;
}

.cz-footer-contact small {
    font-size: 0.875rem;
}

.cz-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
}

.cz-footer-bottom strong {
    color: var(--text);
}

@media (min-width: 768px) {
    .cz-footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Subsecciones (varias ideas dentro de una misma sección) y móvil compacto
   ========================================================================== */
.cz-subsection {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.cz-subsection-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.cz-subsection-title {
    margin-bottom: 10px;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 800;
    text-align: center;
}

.cz-subsection-lead {
    max-width: 44rem;
    margin: 0 auto 28px;
    text-align: center;
}

.cz-subsection .cz-subsection-title:last-child,
.cz-subsection-title + .cz-article-grid {
    margin-bottom: 24px;
}

.cz-steps-compact .cz-step-card {
    padding: 18px;
}

.cz-steps-compact .cz-step-number {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
}

.cz-steps-compact .cz-step-title {
    font-size: 1rem;
}

.cz-steps-compact {
    margin-bottom: 40px;
}

@media (max-width: 767.98px) {
    .cz-section {
        padding: 48px 0;
    }

    .cz-section-title-wrap {
        margin-bottom: 28px;
    }

    .cz-subsection {
        margin-top: 40px;
        padding-top: 36px;
    }

    .cz-hero {
        padding: 36px 0 44px;
    }
}

/* Móvil: planes en carrusel, tarjetas más compactas y desgloses plegables */
.cz-swipe-hint {
    display: none;
    margin: 0 0 10px;
    font-size: 0.875rem;
    text-align: center;
}

.cz-calc-details summary {
    padding: 4px 0;
    color: var(--yellow);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .cz-swipe-hint {
        display: block;
    }

    .cz-pricing-grid {
        display: flex;
        gap: 14px;
        margin: 0 -20px;
        padding: 24px 20px 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 20px;
        scrollbar-width: thin;
    }

    .cz-pricing-grid > .cz-pricing-card {
        flex: 0 0 84%;
        scroll-snap-align: center;
    }

    .cz-card {
        padding: 18px;
    }

    .cz-feature-grid,
    .cz-security-list {
        gap: 12px;
    }

    .cz-security-list li {
        padding: 14px;
    }

    .cz-calc-card {
        padding: 20px 18px;
    }

    .cz-calc-results {
        gap: 14px;
    }

    .cz-step-card,
    .cz-steps-compact .cz-step-card {
        padding: 16px;
    }

    .cz-steps {
        gap: 12px;
    }

    .cz-faq-question {
        padding: 14px 16px;
    }
}

/* ==========================================================================
   Aviso destacado
   ========================================================================== */
.cz-announcement {
    padding: 8px 0;
    background: var(--cta-gradient);
    color: #14112E;
    font-size: 0.9375rem;
    font-weight: 700;
    text-align: center;
}

.cz-announcement a {
    color: #14112E;
    text-decoration: none;
}

.cz-announcement a:hover {
    color: #14112E;
    text-decoration: underline;
}

/* ==========================================================================
   Logos de clientes
   ========================================================================== */
.cz-logos {
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.cz-logos-title {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.cz-logos-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cz-logo-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 68px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: #FFFFFF;
}

.cz-logo-chip img {
    width: auto;
    max-width: 160px;
    max-height: 44px;
    object-fit: contain;
}

/* ==========================================================================
   Videos de demostración
   ========================================================================== */
.cz-hero-video {
    margin: 16px 0 0;
}

.cz-hero-video a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.cz-hero-video a i {
    margin-right: 6px;
    color: var(--orange);
    font-size: 1.125rem;
}

.cz-hero-video a:hover {
    color: var(--yellow);
}

.cz-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .cz-video-count-2,
    .cz-video-count-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-video-count-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cz-video-count-1 {
    max-width: 860px;
    margin: 0 auto;
}

.cz-video {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #000;
}

.cz-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cz-video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    border: 0;
    background: linear-gradient(135deg, #2E2A5C, #14112E);
    cursor: pointer;
}

.cz-video-play img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.cz-video-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    padding-left: 4px;
    border-radius: 50%;
    background: var(--cta-gradient);
    color: #14112E;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform .15s ease;
}

.cz-video-play:hover .cz-video-icon {
    transform: scale(1.08);
}

/* ==========================================================================
   Tipos de negocio
   ========================================================================== */
.cz-segment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .cz-segment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cz-segment {
    display: flex;
    flex-direction: column;
}

.cz-segment .cz-card-text {
    margin-bottom: 16px;
}

.cz-segment .cz-check-list {
    flex: 1 1 auto;
    margin-bottom: 24px;
}

/* ==========================================================================
   Comparativa
   ========================================================================== */
.cz-compare {
    width: 100%;
    max-width: 62rem;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--text);
}

.cz-compare th,
.cz-compare td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.cz-compare thead th {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 700;
}

.cz-compare thead th.cz-compare-brand {
    border-radius: 12px 12px 0 0;
    background: var(--cta-gradient);
    color: #14112E;
}

.cz-compare tbody th {
    width: 18%;
    font-weight: 700;
}

.cz-compare td i {
    margin-right: 8px;
}

.cz-compare td:nth-child(2) i {
    color: var(--danger);
}

.cz-compare td.cz-compare-brand {
    background: rgba(245, 197, 24, 0.08);
    font-weight: 600;
}

.cz-compare td.cz-compare-brand i {
    color: var(--success);
}

@media (max-width: 767.98px) {
    .cz-compare thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .cz-compare,
    .cz-compare tbody,
    .cz-compare tr,
    .cz-compare th,
    .cz-compare td {
        display: block;
        width: 100%;
    }

    .cz-compare tbody tr {
        margin-bottom: 12px;
        overflow: hidden;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--surface);
    }

    .cz-compare tbody th {
        width: 100%;
        border-bottom: 1px solid var(--border);
        background: var(--surface-2);
    }

    .cz-compare td {
        padding: 12px 16px;
        border: 0;
    }

    .cz-compare td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--text-muted);
        font-size: 0.875rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
}

/* ==========================================================================
   Testimonios
   ========================================================================== */
.cz-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px));
    justify-content: center;
    gap: 20px;
}

.cz-testimonial {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 28px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
}

.cz-testimonial blockquote {
    flex: 1 1 auto;
    margin: 0 0 20px;
    padding: 0;
}

.cz-testimonial blockquote p {
    margin: 0;
    color: var(--text);
    font-size: 1.0625rem;
}

.cz-testimonial blockquote p::before {
    content: "\201C";
    margin-right: 2px;
    color: var(--orange);
    font-size: 1.5rem;
    line-height: 0;
}

.cz-testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}

.cz-testimonial figcaption small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.cz-testimonial-photo {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.cz-testimonial-initials {
    display: inline-grid;
    place-items: center;
    background: var(--brand-gradient);
    color: #14112E;
    font-family: var(--font-heading);
    font-weight: 800;
}

/* ==========================================================================
   Guías y páginas de lectura
   ========================================================================== */
.cz-article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .cz-article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cz-article-card {
    display: flex;
    flex-direction: column;
}

.cz-article-card .cz-card-title a {
    color: var(--text);
    text-decoration: none;
}

.cz-article-card .cz-card-title a:hover {
    color: var(--yellow);
    text-decoration: underline;
}

.cz-article-card .cz-card-text {
    margin-bottom: 16px;
}

.cz-article-meta {
    margin: 0 0 8px;
    font-size: 0.875rem;
}

.cz-article-link {
    margin-top: auto;
    font-weight: 700;
}

.cz-article-cover {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cz-article-cover-lg {
    height: auto;
    margin: 0 0 32px;
    aspect-ratio: 1200 / 630;
    border-radius: var(--radius-md);
}

.cz-prose-container {
    max-width: 46rem;
}

.cz-breadcrumb {
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.cz-breadcrumb span[aria-hidden] {
    margin: 0 6px;
}

.cz-prose-title {
    margin-bottom: 16px;
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 800;
}

.cz-prose-lead {
    margin-bottom: 28px;
    font-size: 1.1875rem;
}

.cz-prose {
    font-size: 1.0625rem;
    line-height: 1.8;
}

.cz-prose h2 {
    margin: 2.25rem 0 0.75rem;
    font-size: 1.5rem;
}

.cz-prose h3 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.2rem;
}

.cz-prose p,
.cz-prose ul,
.cz-prose ol {
    margin-bottom: 1.1rem;
}

.cz-prose ul,
.cz-prose ol {
    padding-left: 1.4rem;
}

.cz-prose li {
    margin-bottom: 0.35rem;
}

.cz-prose strong {
    color: var(--text);
}

.cz-prose-note {
    margin: 40px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
}

.cz-article-cta {
    margin-top: 48px;
    padding: 28px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
        var(--brand-gradient) border-box;
}

.cz-article-cta h2 {
    margin: 0 0 8px;
    font-size: 1.375rem;
}

.cz-article-cta p {
    margin-bottom: 20px;
}

/* ==========================================================================
   Formulario corto
   ========================================================================== */
.cz-more summary {
    padding: 6px 0;
    color: var(--yellow);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.cz-more summary::-webkit-details-marker {
    display: none;
}

.cz-more summary::before {
    content: "+";
    display: inline-block;
    width: 1.25rem;
    font-weight: 800;
}

.cz-more[open] summary::before {
    content: "\2212";
}

.cz-form-note {
    margin: 4px 0 0;
    font-size: 0.875rem;
}

/* ==========================================================================
   Barra fija en móvil y aviso de cookies
   ========================================================================== */
[hidden] {
    display: none !important;
}

.cz-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(11, 10, 26, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    visibility: hidden;
    transform: translateY(110%);
    transition: transform .25s ease, visibility .25s;
}

.cz-mobile-bar.visible {
    visibility: visible;
    transform: none;
}

.cz-mobile-bar .cz-btn {
    flex: 1 1 auto;
    min-height: 48px;
}

.cz-mobile-bar-wa {
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #06281A;
    font-size: 1.6rem;
}

.cz-mobile-bar-wa:hover {
    color: #06281A;
}

body.cz-has-consent .cz-mobile-bar {
    display: none;
}

.cz-consent {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: #1B1740;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cz-consent p {
    margin: 0;
    color: #FFFFFF;
    font-size: 0.9375rem;
}

.cz-consent a {
    color: var(--yellow);
}

.cz-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

@media (min-width: 576px) {
    .cz-consent {
        flex-direction: row;
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}

/* ==========================================================================
   Calculadora de precios
   ========================================================================== */
.cz-calc {
    max-width: 78rem;
    margin: 0 auto;
}

.cz-calc-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 28px;
    padding: 24px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

@media (min-width: 768px) {
    .cz-calc-form {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-calc-form {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cz-calc-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
}

.cz-calc-field small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.cz-calc .form-control {
    min-height: 48px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background-color: var(--bg);
    color: var(--text);
    font-size: 1.0625rem;
}

.cz-calc .form-control:focus {
    border-color: var(--yellow);
    background-color: var(--bg);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.3);
}

.cz-calc-check {
    grid-column: 1 / -1;
}

.cz-calc-check label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
}

.cz-calc-check input {
    width: 20px;
    height: 20px;
    accent-color: #F26A1B;
}

.cz-calc-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .cz-calc-results {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cz-calc-loading {
    grid-column: 1 / -1;
    margin: 0;
    text-align: center;
}

.cz-calc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.cz-calc-card.best {
    border: 2px solid transparent;
    background:
        linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
        var(--brand-gradient) border-box;
}

.cz-calc-badge {
    margin: 0 0 8px;
    color: var(--yellow);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cz-calc-plan {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.cz-calc-total {
    margin: 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.cz-calc-total span {
    margin-left: 6px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.cz-calc-custom {
    margin: 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.cz-calc-annual,
.cz-calc-note-line {
    margin: 6px 0 0;
    font-size: 0.875rem;
}

.cz-calc-lines {
    flex: 1 1 auto;
    margin: 18px 0 20px;
    padding: 14px 0 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.cz-calc-lines li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    color: var(--text);
    font-size: 0.9375rem;
}

.cz-calc-lines strong {
    flex: 0 0 auto;
    font-weight: 700;
    white-space: nowrap;
}

.cz-calc-lines strong.included {
    color: var(--success);
}

.cz-calc-note {
    margin: 20px 0 0;
    font-size: 0.875rem;
    text-align: center;
}

/* ==========================================================================
   Campus, descargas y diálogo
   ========================================================================== */
.cz-module-more {
    margin: 12px 0 0;
}

.cz-campus-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cz-tile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .cz-tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cz-tile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cz-campus-price {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 62rem;
    margin: 0 auto;
    padding: 28px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
        var(--brand-gradient) border-box;
}

@media (min-width: 992px) {
    .cz-campus-price {
        grid-template-columns: 380px 1fr;
        padding: 36px;
    }
}

.cz-campus-price-amount {
    margin: 0;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.cz-campus-price-amount span {
    margin-left: 6px;
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 600;
}

.cz-campus-price-annual {
    margin: 8px 0 20px;
    font-size: 0.9375rem;
}

.cz-campus-price-list h3 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.cz-resource {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cz-resource .cz-card-text {
    margin-bottom: 20px;
}

.cz-resource .cz-btn {
    margin-top: auto;
}

.cz-dialog {
    width: min(480px, calc(100vw - 32px));
    padding: 28px 24px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background: #1B1740;
    color: #C9C6E0;
}

.cz-dialog::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

.cz-dialog-title {
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 1.25rem;
}

.cz-dialog-text {
    margin-bottom: 20px;
}

.cz-dialog .form-label {
    margin-bottom: 6px;
    color: #FFFFFF;
    font-weight: 600;
}

.cz-dialog .form-control {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    background-color: #0B0A1A;
    color: #FFFFFF;
}

.cz-dialog .form-control:focus {
    border-color: #F5C518;
    background-color: #0B0A1A;
    color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.3);
}

.cz-dialog .cz-form-note {
    color: #C9C6E0;
}

.cz-dialog .cz-form-note a {
    color: #F5C518;
}

.cz-dialog-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Campo trampa para bots: fuera de pantalla */
.cz-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Estilo "Mixto": portada, indicadores y pie oscuros; contenido claro
   ========================================================================== */
.cz-theme-mixed .cz-section,
.cz-theme-mixed .cz-logos {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #FFFFFF;
    --text: #14112E;
    --text-muted: #4B4870;
    --border: rgba(20, 17, 46, 0.12);
    --border-strong: rgba(20, 17, 46, 0.28);
    --yellow: #8A5A00;
    --orange: #B84A0A;
    --success: #15803D;
    --danger: #B42318;
    --focus-ring: 0 0 0 3px #FFFFFF, 0 0 0 5px #5B3E9A;
    background: #FFFFFF;
    color: var(--text-muted);
}

.cz-theme-mixed .cz-section-alt {
    --bg: #F5F3FB;
    background: #F5F3FB;
}

.cz-theme-mixed .cz-logos {
    background: #FFFFFF;
}

.cz-theme-mixed .cz-logo-chip {
    border-color: var(--border);
}

/* Tarjetas y tablas con borde suave y sombra ligera */
.cz-theme-mixed .cz-card,
.cz-theme-mixed .cz-pricing-card,
.cz-theme-mixed .cz-table-card,
.cz-theme-mixed .cz-step-card,
.cz-theme-mixed .cz-testimonial,
.cz-theme-mixed .cz-faq-item,
.cz-theme-mixed .cz-security-list li,
.cz-theme-mixed .cz-tab-panel,
.cz-theme-mixed .cz-contact-card,
.cz-theme-mixed .cz-form-card {
    box-shadow: 0 8px 24px rgba(20, 17, 46, 0.06);
}

.cz-theme-mixed .cz-pricing-card.featured {
    box-shadow: 0 20px 44px rgba(242, 106, 27, 0.2);
}

.cz-theme-mixed .cz-pricing-enterprise {
    box-shadow: none;
    background: transparent;
}

.cz-theme-mixed .cz-section:not(.cz-section-alt) .cz-step-card {
    background: #F5F3FB;
}

.cz-theme-mixed .cz-tab-panel {
    background: #FFFFFF;
}

.cz-theme-mixed .cz-section-alt .cz-tab-panel,
.cz-theme-mixed .cz-section-alt .cz-card,
.cz-theme-mixed .cz-section-alt .cz-step-card {
    background: #FFFFFF;
}

/* Botones */
.cz-theme-mixed .cz-section .cz-btn-secondary {
    background: transparent;
    border-color: rgba(20, 17, 46, 0.32);
    color: #14112E;
}

.cz-theme-mixed .cz-section .cz-btn-secondary:hover {
    background: rgba(20, 17, 46, 0.06);
    border-color: #14112E;
    color: #14112E;
}

.cz-theme-mixed .cz-toggle-btn[aria-pressed="true"] {
    background: #14112E;
    color: #FFFFFF;
}

.cz-theme-mixed .cz-pricing-toggle {
    background: #FFFFFF;
}

.cz-theme-mixed .cz-discount-badge {
    background: rgba(245, 197, 24, 0.22);
}

/* Íconos y detalles */
.cz-theme-mixed .cz-icon-circle {
    background: linear-gradient(135deg, rgba(232, 33, 26, 0.12), rgba(245, 197, 24, 0.28));
}

.cz-theme-mixed .cz-check-list li i {
    background: rgba(21, 128, 61, 0.12);
}

.cz-theme-mixed .cz-included {
    background: rgba(21, 128, 61, 0.07);
    border-color: rgba(21, 128, 61, 0.3);
}

.cz-theme-mixed .cz-compare td.cz-compare-brand {
    background: rgba(245, 197, 24, 0.14);
}

.cz-theme-mixed .cz-contact-icon {
    background: rgba(20, 17, 46, 0.06);
}

.cz-theme-mixed .cz-article-cta {
    background:
        linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        var(--brand-gradient) border-box;
}

.cz-theme-mixed .cz-campus {
    background:
        linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        var(--brand-gradient) border-box;
}

.cz-theme-mixed .cz-section-badge {
    color: #B84A0A;
}

/* Formulario */
.cz-theme-mixed .cz-form-card .form-control,
.cz-theme-mixed .cz-form-card .form-select {
    background-color: #FFFFFF;
    color: #14112E;
}

.cz-theme-mixed .cz-form-card .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234B4870' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.cz-theme-mixed .cz-form-card .form-select option {
    background: #FFFFFF;
    color: #14112E;
}

.cz-theme-mixed .cz-form-card .form-control::placeholder {
    color: #6B6890;
}

.cz-theme-mixed .cz-form-card .form-control:focus,
.cz-theme-mixed .cz-form-card .form-select:focus {
    border-color: #5B3E9A;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(91, 62, 154, 0.25);
}

.cz-theme-mixed .cz-form-status.success {
    background: rgba(21, 128, 61, 0.1);
    border-color: rgba(21, 128, 61, 0.4);
}

.cz-theme-mixed .cz-form-status.error {
    background: rgba(180, 35, 24, 0.08);
    border-color: rgba(180, 35, 24, 0.4);
}

/* Barra de herramientas del sitio que siempre es oscura */
.cz-theme-mixed .cz-video {
    border-color: rgba(20, 17, 46, 0.2);
}

/* Mixto: calculadora y precio de Campus */
.cz-theme-mixed .cz-calc-form,
.cz-theme-mixed .cz-calc-card {
    box-shadow: 0 8px 24px rgba(20, 17, 46, 0.06);
}

.cz-theme-mixed .cz-calc-card.best {
    background:
        linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        var(--brand-gradient) border-box;
    box-shadow: 0 20px 44px rgba(242, 106, 27, 0.2);
}

.cz-theme-mixed .cz-campus-price {
    background:
        linear-gradient(#FFFFFF, #FFFFFF) padding-box,
        var(--brand-gradient) border-box;
}

.cz-theme-mixed .cz-calc .form-control {
    background-color: #FFFFFF;
    color: #14112E;
}

.cz-theme-mixed .cz-calc .form-control:focus {
    border-color: #5B3E9A;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(91, 62, 154, 0.25);
}

.cz-theme-mixed .cz-section-alt .cz-calc-form {
    background: #FFFFFF;
}
