:root {
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --text-title: #091322;
    --text-body: #334155;
    --text-muted: #475569;
    --text-subtle: #64748b;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --primary: #0a1b35;
    --primary-navy: #061124;
    --primary-blue: #1d4ed8;
    --primary-hover: #040c1a;
    --accent-gold: #d97706;
    --accent-emerald: #059669;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-search: 0 4px 20px -2px rgba(10, 25, 47, 0.08), 0 2px 6px -1px rgba(10, 25, 47, 0.03);
    --shadow-search-focus: 0 12px 30px -4px rgba(29, 78, 216, 0.16), 0 4px 10px -2px rgba(10, 25, 47, 0.05);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text-body);
    font-family: var(--font);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1220px;
        padding: 0 2rem;
    }
}

/* Header Minimalista y Responsivo */
.site-header {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.2s ease;
}
@media (min-width: 768px) {
    .site-header {
        padding: 1.1rem 0;
    }
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-title);
    flex-shrink: 0;
    min-width: 0;
}
.brand-badge {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(10, 27, 53, 0.18);
}
.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.brand-text {
    font-size: clamp(0.88rem, 3.8vw, 1.05rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
}
.brand-text span {
    color: var(--primary-blue);
}
.brand-subline {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-top: 2px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .header-actions {
        gap: 0.75rem;
    }
}
.btn-login {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-title);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm, 6px);
    transition: all 0.15s ease;
}
.btn-login:hover {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.07);
}
.btn-top {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(10, 27, 53, 0.15);
}
.btn-top:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(10, 27, 53, 0.22);
}
.btn-top:active {
    transform: translateY(0);
}
.text-mobile {
    display: none;
}
.text-desktop {
    display: inline;
}

/* Optimizaciones Responsive para Mobile Header */
@media (max-width: 640px) {
    .site-header {
        padding: 0.7rem 0;
    }
    .brand-badge {
        width: 30px;
        height: 30px;
        border-radius: 7px;
    }
    .brand-badge svg {
        width: 17px;
        height: 17px;
    }
    .brand-subline {
        display: none;
    }
    .text-desktop {
        display: none;
    }
    .text-mobile {
        display: inline;
    }
    .btn-login {
        font-size: 0.825rem;
        padding: 0.4rem 0.5rem;
    }
    .btn-top {
        font-size: 0.825rem;
        padding: 0.42rem 0.8rem;
    }
    .hero {
        padding: 2.75rem 0 1.75rem;
    }
}
@media (max-width: 380px) {
    .brand {
        gap: 0.4rem;
    }
    .header-actions {
        gap: 0.35rem;
    }
    .btn-login {
        font-size: 0.8rem;
        padding: 0.35rem 0.4rem;
    }
    .btn-top {
        font-size: 0.8rem;
        padding: 0.38rem 0.65rem;
    }
}

/* Hero Tipo Google: Centrado y Directo */
.hero {
    padding: 4.5rem 0 2.5rem;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(219, 234, 254, 0.45) 0%, rgba(248, 250, 252, 0) 65%);
}
.hero-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.75rem;
}
.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}
.hero-banner-tag strong {
    color: var(--text-title);
}
.hero-h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}
.hero-p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

/* Barra de Búsqueda Tipo Google */
.search-container {
    max-width: 780px;
    margin: 0 auto 1.5rem;
}
.search-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.5rem 0.4rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-search);
    transition: all 0.2s ease;
}
.search-box:focus-within {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-search-focus);
}
.search-svg {
    width: 20px;
    height: 20px;
    fill: var(--text-subtle);
    flex-shrink: 0;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-title);
    font-family: inherit;
    background: transparent;
}
.search-input::placeholder {
    color: var(--text-subtle);
    font-weight: 400;
}
.search-select {
    border: none;
    border-left: 1px solid var(--border);
    padding: 0 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    background: transparent;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-search {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.5rem;
    font-size: 0.925rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-search:hover {
    background: var(--primary-hover);
}

/* Chips de sugerencias */
.quick-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.chip {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-full);
    color: var(--text-body);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}
.chip:hover {
    border-color: var(--border-hover);
    color: var(--text-title);
    background: #ffffff;
}

/* Selector de Días de la Semana */
.day-selector-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    flex-wrap: wrap;
}
.day-pill {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    color: var(--text-body);
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    user-select: none;
}
.day-pill:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.day-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.day-pill .count {
    font-size: 0.725rem;
    opacity: 0.75;
    background: rgba(0,0,0,0.06);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-weight: 500;
}
.day-pill.active .count {
    background: rgba(255,255,255,0.22);
    opacity: 1;
}

/* Feed de Resultados "Boom Toda la Data Rápido" */
.results-feed {
    max-width: 780px;
    width: 100%;
    margin: 2rem auto 0;
    text-align: left;
}
.results-count-bar {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: 0 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.results-count-bar strong {
    color: var(--text-title);
}

.result-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    margin-bottom: 0.9rem;
    box-shadow: var(--shadow-subtle);
    transition: all 0.15s ease;
}
.result-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.result-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.result-exp {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.02em;
}
.result-badge-loc {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: #eff6ff;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}
.result-badge-hist {
    font-size: 0.725rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    border: 1px solid #cbd5e1;
}
.historico-callout {
    background: #f8fafc;
    border: 1px dashed #3b82f6;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.35rem;
    margin: 1.5rem 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.historico-callout-text {
    font-size: 0.875rem;
    color: var(--text-body);
}
.historico-callout-text strong {
    color: var(--primary-blue);
}
.btn-ver-historico {
    background: #eff6ff;
    color: var(--primary-blue);
    border: 1px solid #bfdbfe;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.btn-ver-historico:hover {
    background: var(--primary-blue);
    color: #ffffff;
}
.result-court {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.result-parties {
    font-size: 0.925rem;
    color: var(--text-title);
    margin-bottom: 0.5rem;
    line-height: 1.45;
}
.result-parties span {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 0.35rem;
}
.result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.result-meta-text {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 500;
}
.result-meta-text strong {
    color: var(--text-body);
}
.btn-vigilar-card {
    background: #eff6ff;
    color: var(--primary-blue);
    border: 1px solid #bfdbfe;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-vigilar-card:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}
.btn-terminos-card {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.btn-terminos-card:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}
.btn-reportar-card {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.38rem 0.65rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.btn-reportar-card:hover {
    background: #fff1f2;
    color: #e11d48;
    border-color: #fecdd3;
}

/* Showcase Centinela Matutino con Preview Visual */
.centinela-showcase {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.25rem;
    margin: 3.5rem auto 4.5rem;
    max-width: 1040px;
    text-align: left;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 14px 30px -5px rgba(29, 78, 216, 0.09);
    position: relative;
    overflow: hidden;
}
.centinela-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8, #10b981);
}
.centinela-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.775rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-blue);
    background: #ffffff;
    border: 1px solid #dbeafe;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.85rem;
}
.centinela-info h3 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-title);
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.centinela-info p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 1.35rem;
    line-height: 1.6;
}
.centinela-features-list {
    list-style: none;
    margin-bottom: 1.6rem;
    padding: 0;
}
.centinela-features-list li {
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.centinela-features-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: 800;
}
.centinela-features-list li strong {
    color: var(--text-title);
}
.centinela-cta-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.btn-banner {
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 1.85rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.btn-banner:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
}
.centinela-subhint {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-top: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Showcase Visual: Monitor Judicial de Baja California */
.app-window-frame {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 18px 40px -8px rgba(10, 25, 47, 0.16);
    overflow: hidden;
    position: relative;
}
.app-window-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.app-window-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}
.app-window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.app-window-url {
    font-size: 0.725rem;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: monospace;
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.app-window-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}
.live-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}
.app-window-body {
    padding: 1.15rem 1.25rem 1rem;
}
.app-mock-dash-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 0.85rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.app-mock-user {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-title);
}
.app-mock-sub {
    font-size: 0.725rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}
.app-mock-badge-alert {
    font-size: 0.725rem;
    font-weight: 700;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}
.app-mock-cases-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}
.app-mock-case-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    text-align: left;
    transition: all 0.15s ease;
}
.app-mock-case-row:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.case-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}
.case-exp {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--primary-blue);
}
.case-badge-city {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e293b;
    background: #e2e8f0;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.case-act {
    font-size: 0.775rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.case-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
}
.status-notified {
    color: #059669;
    font-weight: 700;
}
.case-tag-legal {
    color: #64748b;
    font-weight: 600;
}
.app-mock-footer {
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.725rem;
    color: #475569;
    font-weight: 600;
}

/* Tira de Cobertura de Distritos Judiciales BC */
.bc-districts-strip {
    margin: 2rem 0 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-subtle);
}
.bc-districts-label {
    font-size: 0.825rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bc-districts-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.bc-dist-badge {
    font-size: 0.775rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    color: #334155;
}
.bc-dist-badge strong {
    color: var(--primary);
}

/* Insignia de Litigante Verificado para Testimonios */
.verified-lawyer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.725rem;
    font-weight: 700;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

/* Planes Limpios */
.pricing-wrap {
    padding: 4rem 0 5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.pricing-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.pricing-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
    align-items: stretch;
}
.plan-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -4px rgba(15, 23, 42, 0.1);
}
.plan-card.pro {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.18);
    transform: scale(1.02);
    position: relative;
}
.plan-card.pro:hover {
    transform: scale(1.04) translateY(-3px);
}
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .plan-card.pro {
        transform: none;
    }
}
.plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 0.25rem;
}
.plan-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.03em;
    margin: 0.75rem 0 1.25rem;
}
.plan-price span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}
.plan-features {
    list-style: none;
    margin-bottom: 1.75rem;
    flex: 1;
}
.plan-features li {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.plan-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
}
.btn-plan {
    display: block;
    text-align: center;
    padding: 0.7rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-plan-blue {
    background: var(--primary-blue);
    color: #ffffff;
}
.btn-plan-blue:hover {
    background: #1e40af;
}
.btn-plan-gray {
    background: var(--bg-subtle);
    color: var(--text-title);
    border: 1px solid var(--border);
}
.btn-plan-gray:hover {
    background: #ffffff;
    border-color: var(--border-hover);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.825rem;
    color: var(--text-muted);
}

/* Modal */
.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--text-subtle);
    cursor: pointer;
}
.m-h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-title);
    margin-bottom: 0.25rem;
}
.m-p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}
.m-grp {
    margin-bottom: 1rem;
}
.m-grp label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-title);
    margin-bottom: 0.35rem;
}
.m-grp input {
    width: 100%;
    height: 42px;
    padding: 0 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}
.m-grp input:focus {
    border-color: var(--primary-blue);
}

.spinner-dot {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Estilos de Control de Límite de Búsquedas (10 diarias) */
.search-limit-bar {
    display: flex;
    justify-content: center;
    margin: 0.65rem 0 1rem;
}
.search-limit-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.search-limit-pill.warning {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}
.search-limit-pill.exhausted {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.search-limit-pill.unlimited {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}
.limit-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}
.search-limit-pill.warning .limit-dot {
    background: #f59e0b;
}
.search-limit-pill.exhausted .limit-dot {
    background: #ef4444;
}
.search-limit-pill.unlimited .limit-dot {
    background: #059669;
}

/* Barra de Estadísticas de Confianza y Autoridad */
.authority-stats {
    margin: 2.5rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    background: #ffffff;
}
.stat-item {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    transition: all 0.2s ease;
}
.stat-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}
.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-title);
    margin-top: 0.4rem;
    font-weight: 700;
}
.stat-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Sección Genérica */
.section-wrap {
    padding: 4.5rem 0;
    border-top: 1px solid var(--border);
}
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-blue);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: var(--text-title);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Cómo Funciona en 3 Pasos */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.step-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    position: relative;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
}
.step-num {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 0.6rem;
}
.step-p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tabla Comparativa Tradicional vs Automatizado */
.comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-subtle);
    margin-top: 2rem;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.925rem;
}
.comparison-table th {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
    background: #f8fafc;
}
.comparison-table th.col-pro {
    background: #eff6ff;
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}
.comparison-table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table tr:hover td {
    background: #fafafa;
}
.badge-bad {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #b91c1c;
    font-weight: 600;
    font-size: 0.85rem;
}
.badge-good {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #15803d;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Testimoniales con Horizontal Scroll Slider y Cards Anchas */
.testimonials-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.testimonials-header-row .section-header {
    text-align: left;
    margin: 0;
    max-width: 680px;
}
.carousel-nav-arrows {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.btn-carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-title);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.btn-carousel-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}
.testimonials-scroll-wrapper {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.testimonials-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}
.testimonials-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 9999px;
}
.testimonials-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
.testimonials-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px -3px rgba(15, 23, 42, 0.06);
    flex: 0 0 440px;
    min-width: 380px;
    max-width: 460px;
    scroll-snap-align: start;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -5px rgba(15, 23, 42, 0.12);
    border-color: #bfdbfe;
}
@media (max-width: 640px) {
    .testimonial-card {
        flex: 0 0 85vw;
        min-width: 85vw;
        padding: 1.5rem;
    }
}
.stars-row {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.testimonial-quote {
    font-size: 0.925rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1;
}
.author-box {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1e3a8a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.author-info h4 {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 0.15rem;
}
.author-info p {
    font-size: 0.775rem;
    color: var(--text-muted);
}
.city-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

/* Preguntas Frecuentes (FAQ Acordeón) */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.faq-item.active {
    border-color: var(--primary-blue);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--text-title);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
    font-family: inherit;
}
.faq-question:hover {
    color: var(--primary-blue);
}
.faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-blue);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    font-size: 0.925rem;
    color: var(--text-body);
    line-height: 1.65;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.35rem;
}

/* Sellos de Confianza y Garantía */
.trust-seals-strip {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border);
}
.trust-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.trust-seal span.icon {
    font-size: 1.15rem;
}

/* Banner CTA Final */
.final-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #ffffff;
    margin: 4.5rem 0 2rem;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}
.final-cta h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.final-cta p {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 580px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-cta-white {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-cta-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.btn-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 860px) {
    .centinela-showcase {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
        gap: 1.75rem;
    }
    .authority-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .trust-seals-strip {
        gap: 1.25rem;
        flex-direction: column;
        align-items: center;
    }
    .final-cta {
        padding: 3rem 1.25rem;
    }
}
