/* =========================================================
   LIBRETA SIMPLE — WEB & VISOR DE MOSTRADOR (PC)
   Estilos de Producción: Paleta Contable de Confianza
   ========================================================= */

:root {
    --bg-base: #FAF9F6;
    --bg-ledger: #EDE8DC;
    --bg-card: #FFFFFF;
    --txt-main: #1A1A1A;
    --txt-muted: #64748B;
    --verde-abono: #006B4D;
    --verde-hover: #00543C;
    --rojo-deuda: #B22222;
    --rojo-hover: #8E1B1B;
    --naranja-aviso: #D97706;
    --borde: #D5CEBE;
    --borde-light: #E8E3D8;
    --sombra-sm: 0 2px 6px rgba(26, 26, 26, 0.05);
    --sombra-md: 0 8px 24px rgba(26, 26, 26, 0.08);
    --sombra-lg: 0 16px 40px rgba(26, 26, 26, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-base);
    color: var(--txt-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografía de Alto Impacto */
h1, h2, h3, h4 {
    color: var(--txt-main);
    font-weight: 800;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Barra Superior de Navegación */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borde);
    z-index: 100;
    padding: 14px 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 900;
    color: var(--txt-main);
}

.logo-badge {
    background: var(--verde-abono);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--txt-muted);
}

.nav-links a:hover {
    color: var(--verde-abono);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.btn-primary {
    background: var(--verde-abono);
    color: white !important;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--verde-hover);
    transform: translateY(-1px);
    box-shadow: var(--sombra-md);
}

.btn-outline {
    background: transparent;
    color: var(--txt-main) !important;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: 1px solid var(--borde);
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--bg-ledger);
}

/* Insignia Oficial Google Play */
.google-play-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    color: #FFFFFF !important;
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.google-play-badge:hover {
    background: #111111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.45);
}

.google-play-badge:active {
    transform: translateY(1px);
}

.google-play-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.google-play-text .gp-tagline {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.google-play-text .gp-title {
    font-size: 19px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

/* Espacio Reservado Google AdSense */
.adsense-banner-wrapper {
    max-width: 970px;
    margin: 12px auto;
    padding: 0 16px;
}

.adsense-slot {
    min-height: 90px;
    background: transparent;
}

/* HERO SECTION */
.hero {
    padding: 60px 24px 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-ledger);
    border: 1px solid var(--borde);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--verde-abono);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--txt-muted);
    margin-bottom: 28px;
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-guarantees {
    display: flex;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--txt-muted);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-frame-mockup {
    width: 320px;
    background: var(--bg-ledger);
    border-radius: 36px;
    border: 10px solid #1C1C1C;
    box-shadow: var(--sombra-lg);
    overflow: hidden;
}

.mockup-header {
    background: #1C1C1C;
    color: white;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
}

.mockup-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-balance-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    border: 1px solid var(--borde);
}

.mockup-balance-amount {
    font-size: 32px;
    font-weight: 900;
    color: var(--rojo-deuda);
}

.mockup-client-item {
    background: white;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--borde);
    font-size: 13px;
    font-weight: 700;
}

/* SECCIÓN: CARACTERÍSTICAS DE MOSTRADOR */
.features-section {
    padding: 80px 24px;
    background: var(--bg-ledger);
    border-top: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 16px;
    color: var(--txt-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--borde);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--sombra-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sombra-md);
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 107, 77, 0.1);
    color: var(--verde-abono);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--txt-muted);
    line-height: 1.5;
}

/* SECCIÓN: VISOR DE MOSTRADOR PC (DOBLE PANEL / SPLIT-SCREEN) */
.pc-viewer-section {
    padding: 90px 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.pc-window {
    background: var(--bg-card);
    border: 2px solid var(--borde);
    border-radius: 20px;
    box-shadow: var(--sombra-lg);
    overflow: hidden;
}

.pc-window-bar {
    background: #2D2D2D;
    color: #E0E0E0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.pc-window-controls {
    display: flex;
    gap: 8px;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

/* Layout Split-Screen de la PC */
.pc-workspace {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 580px;
}

/* Panel Izquierdo: Lista de Clientes con Semáforo */
.pc-sidebar {
    background: var(--bg-base);
    border-right: 1px solid var(--borde);
    display: flex;
    flex-direction: column;
}

.pc-sidebar-header {
    padding: 16px;
    border-bottom: 1px solid var(--borde);
}

.pc-search-box {
    position: relative;
    margin-bottom: 12px;
}

.pc-search-box input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--borde);
    font-size: 13px;
    outline: none;
}

.pc-search-box svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--txt-muted);
}

.pc-filter-chips {
    display: flex;
    gap: 6px;
}

.pc-chip {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--borde);
    background: white;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.pc-chip.active {
    background: var(--txt-main);
    color: white;
    border-color: var(--txt-main);
}
.pc-chip.urgent {
    background: rgba(178, 34, 34, 0.1);
    color: var(--rojo-deuda);
    border-color: var(--rojo-deuda);
}

.pc-client-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-client-row {
    background: white;
    border: 1px solid var(--borde);
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.pc-client-row:hover {
    border-color: var(--verde-abono);
    background: #FAF8F2;
}

.pc-client-row.selected {
    border-color: var(--verde-abono);
    border-left: 5px solid var(--verde-abono);
    background: #F4EFE6;
}

.pc-client-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.pc-client-name {
    font-size: 14px;
    font-weight: 700;
}

.pc-client-balance {
    font-size: 15px;
    font-weight: 900;
    color: var(--rojo-deuda);
}

.pc-client-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--txt-muted);
}

/* Semáforo de Morosidad */
.status-pill {
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.status-green { background: #E6F4EA; color: #137333; }
.status-yellow { background: #FEF7E0; color: #B06000; }
.status-red { background: #FCE8E6; color: #C5221F; }

/* Panel Derecho: Ficha Abierta de Auditoría */
.pc-detail-panel {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
}

.detail-header-card {
    background: var(--bg-base);
    border: 1px solid var(--borde);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-actions-bar {
    display: flex;
    gap: 10px;
}

.btn-wa-web {
    background: #25D366;
    color: white;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-wa-web:hover { background: #1EBE5B; }

.btn-print-ticket {
    background: var(--txt-main);
    color: white;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-print-ticket:hover { background: #333333; }

/* Tabla Contable Expandida */
.ledger-table-wrap {
    flex: 1;
    border: 1px solid var(--borde);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.ledger-table th {
    background: var(--bg-ledger);
    padding: 10px 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--borde);
    color: var(--txt-main);
}

.ledger-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--borde-light);
}

.td-amount-debt {
    color: var(--rojo-deuda);
    font-weight: 800;
}
.td-amount-payment {
    color: var(--verde-abono);
    font-weight: 800;
}

/* SECCIÓN: PLANES Y PRECIOS */
.pricing-section {
    padding: 90px 24px;
    background: var(--bg-ledger);
    border-top: 1px solid var(--borde);
    border-bottom: 1px solid var(--borde);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--borde);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--sombra-sm);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
}

.pricing-card.featured {
    border: 2px solid var(--verde-abono);
    box-shadow: var(--sombra-md);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde-abono);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.pricing-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.pricing-price {
    font-size: 40px;
    font-weight: 900;
    margin: 16px 0;
    color: var(--txt-main);
}
.pricing-price span {
    font-size: 14px;
    color: var(--txt-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin: 20px 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* SECCIONES LEGALES (POLÍTICAS Y TÉRMINOS) */
.legal-section {
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: white;
    border: 1px solid var(--borde);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--sombra-sm);
}

.legal-card h2 {
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-ledger);
}

.legal-card h3 {
    font-size: 18px;
    margin: 24px 0 10px 0;
    color: var(--verde-abono);
}

.legal-card p, .legal-card ul {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 14px;
}

.legal-card ul {
    padding-left: 20px;
}

/* MODAL DE TICKET DE IMPRESIÓN */
.ticket-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ticket-modal-overlay.active {
    display: flex;
}

.ticket-receipt-box {
    background: white;
    width: 320px;
    border-radius: 12px;
    box-shadow: var(--sombra-lg);
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    color: #111;
    border-top: 6px dashed #777;
    border-bottom: 6px dashed #777;
}

.ticket-header {
    text-align: center;
    border-bottom: 1px dashed #333;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.ticket-body {
    font-size: 12px;
    line-height: 1.5;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.ticket-total {
    border-top: 1px dashed #333;
    padding-top: 8px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: bold;
}

.ticket-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

/* FOOTER */
.footer {
    background: #1C1C1C;
    color: #A0AEC0;
    padding: 60px 24px 30px 24px;
    font-size: 13px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-links h5 {
    color: white;
    font-size: 14px;
    margin-bottom: 14px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    color: #718096;
}

/* ESTILOS PARA IMPRESIÓN (PRINT STYLESHEET) */
@media print {
    body * {
        visibility: hidden;
    }
    .ticket-receipt-box, .ticket-receipt-box * {
        visibility: visible;
    }
    .ticket-modal-overlay {
        background: transparent;
        position: absolute;
        left: 0;
        top: 0;
    }
    .ticket-actions {
        display: none !important;
    }
}

/* =========================================================
   LOGIN GATE — VISOR PRO (Solo cuentas verificadas)
   ========================================================= */
.login-gate {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-gate-card {
    background: var(--bg-card);
    border: 1px solid var(--borde);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: var(--sombra-md);
}

.login-gate-card .gate-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: rgba(0,107,77,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-abono);
}

.login-gate-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.login-gate-card .gate-subtitle {
    color: var(--txt-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.btn-google-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #FFFFFF;
    border: 1px solid #DADCE0;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #3C4043;
    cursor: pointer;
    transition: var(--transition);
}

.btn-google-signin:hover {
    background: #F7F8F8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.btn-google-signin svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.gate-footer-links {
    margin-top: 20px;
    font-size: 13px;
    color: var(--txt-muted);
    line-height: 1.8;
}

.gate-footer-links a {
    color: var(--verde-abono);
    font-weight: 600;
}

.gate-error-msg {
    display: none;
    background: rgba(178,34,34,0.08);
    border: 1px solid rgba(178,34,34,0.2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--rojo-deuda);
    font-weight: 600;
    text-align: left;
}

/* =========================================================
   HAMBURGER MENU — MOBILE NAVIGATION
   ========================================================= */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--txt-main);
}

.nav-hamburger svg {
    width: 24px;
    height: 24px;
}

.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
}

.nav-mobile-panel {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 200;
    padding: 24px;
    box-shadow: var(--sombra-lg);
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.nav-mobile-panel.open {
    display: flex !important;
}

.nav-mobile-overlay.open {
    display: block !important;
}

.nav-mobile-panel .mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--txt-muted);
    padding: 4px;
}

.nav-mobile-panel a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--txt-main);
    border-bottom: 1px solid var(--borde-light);
}

.nav-mobile-panel a:hover {
    color: var(--verde-abono);
}

/* =========================================================
   SVG ICON UTILITIES
   ========================================================= */
.icon-inline {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-feature {
    width: 28px;
    height: 28px;
    color: var(--verde-abono);
}

.feature-icon-box-v2 {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border-radius: 14px;
    background: rgba(0, 107, 77, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon-box-v2 svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* =========================================================
   CHECK BULLET (reemplazo de emojis checkmark)
   ========================================================= */
.check-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,107,77,0.1);
    color: var(--verde-abono);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

/* (AdSense styles defined above) */

/* =========================================================
   LEGAL ARTICLE — Consistente en todas las páginas legales
   ========================================================= */
.legal-article {
    background: white;
    border: 1px solid var(--borde);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--sombra-sm);
    line-height: 1.8;
    font-size: 15px;
    color: var(--txt-main);
}

.legal-article h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 28px 0 10px;
    padding-top: 16px;
    border-top: 1px solid var(--borde-light);
    color: var(--txt-main);
}

.legal-article h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-article p {
    margin-bottom: 16px;
}

.legal-article ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-article li {
    margin-bottom: 6px;
}

.legal-article strong {
    color: var(--txt-main);
}

.legal-header {
    margin-bottom: 28px;
}

.legal-header h1 {
    font-size: 32px;
    margin-bottom: 6px;
}

.legal-header .legal-updated {
    color: var(--txt-muted);
    font-size: 13.5px;
}

.legal-breadcrumb {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--verde-abono);
    margin-bottom: 16px;
    display: inline-block;
}

/* =========================================================
   TRUST / SECURITY SECTION
   ========================================================= */
.trust-section {
    padding: 60px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--borde);
    border-radius: var(--radius-md);
}

.trust-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,107,77,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-abono);
    flex-shrink: 0;
}

.trust-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.trust-item p {
    font-size: 13px;
    color: var(--txt-muted);
    line-height: 1.5;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-cta-group, .hero-guarantees {
        justify-content: center;
    }
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pc-workspace {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Nav */
    .nav-links, .nav-actions {
        display: none !important;
    }
    .nav-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    /* Login gate responsive */
    .login-gate-card {
        padding: 32px 24px;
    }

    /* Visor responsive */
    .pc-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}
