@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #1e3a8a;
    font-weight: 800;
    font-size: 2.5em;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.card h2 {
    margin-top: 0;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 1.5em;
}

.card p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.5;
}

button {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
}

button:hover {
    background-color: #1e40af;
}

button:active {
    transform: scale(0.98);
}

.btn-success {
    background-color: #10b981;
}

.btn-success:hover {
    background-color: #059669;
}

.form-card {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95em;
}

select, input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

select:focus, input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    background-color: #ffffff;
}

.result-box {
    margin-top: 30px;
    padding: 24px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.result-box h3 {
    color: #166534;
    margin-top: 0;
}

.result-box .salary-amount {
    font-size: 2em;
    font-weight: 800;
    color: #10b981;
    margin: 10px 0;
}

/* ========================================================
   REDISEÑO COMPARADOR (SaaS Layout)
   ======================================================== */

.comparador-body {
    margin: 0;
    padding: 0;
    background-color: #F8FAFC;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.security-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.85em;
    font-weight: 500;
    text-align: center;
    padding: 7px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

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

.security-dot {
    color: #cbd5e1;
}

.sleep-link-banner {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    color: #7c2d12;
    font-size: 0.9em;
}

.sleep-link-banner a {
    color: #001F3F;
    font-weight: 800;
    text-decoration: none;
}

.comparador-body .sleep-link-banner + .comparador-layout {
    height: auto;
    min-height: 0;
}

.comparador-layout {
    display: flex;
    flex: 1;
    height: calc(100vh - 35px); /* Header height */
    overflow: hidden;
}

/* Columna Izquierda (Motor) */
.col-izq {
    width: 40%;
    min-width: 350px;
    background-color: #F8FAFC;
    padding: 40px;
    overflow-y: auto;
    box-sizing: border-box;
}

.col-izq::-webkit-scrollbar {
    width: 6px;
}
.col-izq::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.accordion-step {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.accordion-step.active {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #001F3F;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: #0f172a;
    cursor: default;
}

.step-header {
    font-weight: 700;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-content {
    display: none;
    margin-top: 20px;
}

.accordion-step.active .step-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #475569;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 1em;
    box-sizing: border-box;
}

.form-group select:focus, .form-group input:focus {
    border-color: #001F3F;
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.1);
}

.hours-override-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.btn-next-step {
    background-color: #FF8C00;
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.2s, transform 0.1s;
    border: none;
    width: 100%;
    font-size: 1em;
}

.btn-next-step:hover {
    background-color: #e67e00;
}

.btn-next-step:active {
    transform: scale(0.98);
}

/* Toggle Buttons for Hospital/Primary */
.toggle-group {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}
.toggle-btn {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    color: #64748b;
    border-radius: 6px;
    transition: all 0.2s;
}
.toggle-btn.active {
    background-color: #001F3F;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Columna Derecha (Dashboard) */
.col-der {
    width: 60%;
    padding: 40px;
    background-color: #F8FAFC;
    overflow-y: auto;
    box-sizing: border-box;
}

.col-der::-webkit-scrollbar {
    width: 6px;
}
.col-der::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dashboard-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    padding: 40px;
    min-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.dashboard-card h2 {
    margin-top: 0;
    color: #001F3F;
    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 30px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.dashboard-section {
    margin-bottom: 40px;
}

/* Gráfico */
.chart-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.chart-label {
    width: 80px;
    font-weight: 700;
    color: #001F3F;
    font-size: 0.95em;
}

.chart-track {
    flex: 1;
    background-color: #f1f5f9;
    border-radius: 20px;
    height: 32px;
    overflow: hidden;
    position: relative;
}

.chart-fill {
    height: 100%;
    background-color: #001F3F;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: bold;
    font-size: 0.85em;
    transition: width 0.5s ease-out;
}

.chart-fill.winner {
    background-color: #FF8C00;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

/* Tabla limpia */
.clean-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Forzamos anchos de columna */
}

.clean-table th, .clean-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.clean-table th {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.clean-table td {
    color: #0f172a;
    font-weight: 600;
}

.clean-table td.value-cell {
    text-align: right;
    font-size: 1.05em;
}

.value-cell span {
    display: block; /* Forzamos nueva línea para ahorrar espacio horizontal */
    width: fit-content;
    margin-left: auto; /* Alineación a la derecha */
}

.clean-table tr.total-row td {
    border-top: 2px solid #e2e8f0;
    border-bottom: none;
    font-size: 1.2em;
    font-weight: 800;
    color: #001F3F;
    padding-top: 20px;
}

.val-positive {
    color: #10b981;
    background-color: #ecfdf5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    display: block; /* Nueva línea para no descuadrar columnas */
    margin-top: 4px;
    font-weight: bold;
}

.val-negative {
    color: #ef4444;
    background-color: #fef2f2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75em;
    display: block; /* Nueva línea */
    margin-top: 4px;
    font-weight: bold;
}

/* Acciones */
.dashboard-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
}

.btn-primary {
    background-color: #FF8C00;
    color: white;
    font-size: 1.2em;
    font-weight: 800;
    padding: 18px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background-color: #e67e00;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: #1D6F42;
    color: white;
    font-weight: 600;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #145331;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #cbd5e1;
    color: white;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    cursor: help;
    vertical-align: middle;
}

.tooltip-icon:hover {
    background-color: #001F3F;
}

.disclaimer {
    font-size: 0.75em;
    color: #94a3b8;
    text-align: center;
    margin-top: 30px;
}/* ========================================================
   GLOBAL HEADER (CENTERED)
   ======================================================== */
.global-header {
    background-color: white;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between; /* Space logo/title from right-side actions */
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    height: 72px;
    width: 72px;
    border-radius: 14px;
    object-fit: contain;
    transition: transform 0.2s ease;
    display: block;
}

.header-logo:hover {
    transform: scale(1.04);
}

.header-title {
    color: #1D6F42;
    font-weight: 800;
    font-size: 1.3em;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
}

.btn-header-glosario {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f1f5f9;
    color: #001F3F;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-header-glosario:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.btn-header-glosario span {
    font-size: 1.2em;
}

/* ========================================================
   HOME PAGE (PORTADA) - NO SCROLL
   ======================================================== */
.portada-body {
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.home-container {
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

.home-container > * {
    min-width: 0;
}

.hero-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    margin-bottom: 20px;
    min-width: 0;
    max-width: 100%;
}

.hero-logo-large {
    display: block;
    width: 215px;
    height: 215px;
    margin: 0 auto 20px auto;
    border-radius: 32px;
    object-fit: contain;
    box-shadow: 0 10px 25px rgba(21, 39, 68, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo-large:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(21, 39, 68, 0.12);
}

.hero-card h1 {
    color: #001F3F;
    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 10px;
    margin-top: 0;
    overflow-wrap: anywhere;
}

.status-badge {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    background: linear-gradient(135deg, #FFD700, #FDB931);
    color: #5c4300;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88em;
    line-height: 1.25;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border: 1px solid #E6B800;
    white-space: normal;
    overflow-wrap: anywhere;
    min-width: 0;
}

.status-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: badge-shimmer 15s infinite ease-in-out;
    pointer-events: none;
}

@keyframes badge-shimmer {
    0% {
        left: -70%;
    }
    15% {
        left: 140%;
    }
    100% {
        left: 140%;
    }
}

.hero-description {
    color: #475569;
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
}

.philosophy-section {
    padding: 16px 0;
    margin: 0 0 24px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.philosophy-section h2 {
    color: #001F3F;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 0;
}

.philosophy-section p {
    color: #64748b;
    font-size: 0.85em;
    line-height: 1.5;
    margin: 10px 0 0;
}

.benefit-list {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.benefit-list span {
    color: #0f172a;
    font-size: 0.86em;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 10px;
}

.btn-hero {
    background-color: #2ea879;
    color: white;
    font-size: 1.02em;
    font-weight: 700;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(46, 168, 121, 0.28);
    border: 1px solid #6ee7b7;
    cursor: pointer;
    width: 380px;
    max-width: 100%;
    box-sizing: border-box;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.025);
    background-color: #279469;
    border-color: #34d399;
    color: white;
    box-shadow: 0 12px 24px -2px rgba(46, 168, 121, 0.42);
}

.btn-hero:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-guardias {
    /* Mismos estilos, borde brillante y dimensiones idénticas a .btn-hero */
}

.btn-hero-icon-scale {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-hero-icon-fire {
    font-size: 1.35em;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.btn-hero-secondary {
    background-color: #001F3F;
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.16);
}

.btn-hero-secondary:hover {
    background-color: #0f172a;
}

/* Bottom Convenio Buttons Styles */
.convenio-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    min-width: 0;
}

.btn-convenio {
    flex: 1;
    color: white;
    padding: 12px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
    font-size: 0.8em;
    text-align: center;
    min-width: 0;
    overflow-wrap: anywhere;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.btn-convenio:hover {
    transform: translateY(-4px) scale(1.025);
    filter: brightness(1.05);
}

.btn-convenio:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-ics {
    background-color: #0369a1;
}
.btn-ics:hover {
    box-shadow: 0 10px 22px -2px rgba(3, 105, 161, 0.42);
}

.btn-siscat {
    background-color: #0f172a;
}
.btn-siscat:hover {
    box-shadow: 0 10px 22px -2px rgba(15, 23, 42, 0.45);
}

.btn-sem {
    background-color: #b91c1c;
}
.btn-sem:hover {
    box-shadow: 0 10px 22px -2px rgba(185, 28, 28, 0.42);
}

.btn-convenio svg {
    width: 18px;
    height: 18px;
    fill: white;
    flex-shrink: 0;
}

.footer-disclaimer {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 15px 20px;
    color: #64748b;
    font-size: 0.75em;
    line-height: 1.5;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* -------------------------------------
   INSIGHT ENGINE (COMPARADOR)
-------------------------------------- */
.insight-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9em;
    line-height: 1.4;
    border: 1px solid transparent;
}

.insight-box.insight-fijo {
    background-color: #f0fdf4; /* Verde muy claro */
    border-color: #bbf7d0;
    color: #166534;
}

.insight-box.insight-guardias {
    background-color: #fffbeb; /* Amarillo muy suave */
    border-color: #fde68a;
    color: #92400e;
}

.insight-box.insight-carrera {
    background-color: #eff6ff; /* Azul pastel */
    border-color: #bfdbfe;
    color: #1e40af;
}

.insight-box.insight-empate {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

.insight-box.insight-especie {
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.insight-icon {
    font-size: 1.4em;
    line-height: 1;
    margin-top: 2px;
}

.insight-content strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.insight-content p {
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

.validation-alert {
    margin: 14px 0 18px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.9em;
    line-height: 1.45;
}

.validation-alert strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.validation-alert.validation-warning {
    background-color: #fffbeb;
    border-color: #fbbf24;
    color: #78350f;
}

.validation-alert.validation-error {
    background-color: #fef2f2;
    border-color: #f87171;
    color: #7f1d1d;
}

.result-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-info.btn-audit {
    border-color: #93c5fd;
    color: #1d4ed8;
    background-color: #eff6ff;
}

.audit-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.audit-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78em;
    font-weight: 700;
    border: 1px solid transparent;
}

.audit-badge-ok {
    background-color: #ecfdf5;
    border-color: #86efac;
    color: #166534;
}

.audit-badge-warning {
    background-color: #fffbeb;
    border-color: #fbbf24;
    color: #92400e;
}

.audit-badge-info {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.audit-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.audit-section {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px;
    background-color: #ffffff;
}

.audit-section-full {
    margin-bottom: 16px;
}

.audit-section h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 0.95em;
}

.audit-kv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.audit-kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.9em;
}

.audit-kv:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.audit-kv strong {
    color: #0f172a;
    text-align: right;
}

.audit-formulas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audit-formula-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    background-color: #f8fafc;
}

.audit-formula-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.audit-formula-head h4 {
    margin: 0;
    color: #001F3F;
    font-size: 0.95em;
}

.audit-formula-head strong {
    color: #1D6F42;
    white-space: nowrap;
}

.audit-formula-card p {
    margin: 6px 0 0;
    color: #475569;
    font-size: 0.9em;
    line-height: 1.45;
}

.audit-list {
    margin: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 0.9em;
    line-height: 1.5;
}

.audit-list li {
    margin-bottom: 6px;
}

.audit-empty {
    color: #94a3b8;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .audit-layout {
        grid-template-columns: 1fr;
    }

    .audit-formula-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* -------------------------------------
   MÓDULO DE TRANSPARENCIA (MODAL)
-------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    padding: 30px;
}

.modal-content.auditoria-content {
    max-width: 960px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #0f172a;
}

.modal-header {
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
}

.modal-header h2 {
    color: #001F3F;
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

.modal-subtitle {
    color: #1D6F42;
    font-weight: 600;
    margin: 0;
    font-size: 0.95em;
    background: #ecfdf5;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.breakdown-table th, .breakdown-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.breakdown-table th {
    text-align: left;
    color: #64748b;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #cbd5e1;
}

.section-title td {
    background-color: #f8fafc;
    color: #0f172a;
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    padding-top: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.modal-total-row td {
    font-size: 1.2em;
    font-weight: 800;
    color: #001F3F;
    border-top: 3px solid #001F3F;
    border-bottom: none;
    padding-top: 15px;
}

.modal-audit-notes {
    background-color: #f8fafc;
    border-left: 4px solid #FF8C00;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.modal-audit-notes h3 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: #0f172a;
}

.modal-audit-notes ul {
    margin: 0;
    padding-left: 20px;
    color: #475569;
    font-size: 0.9em;
    line-height: 1.5;
}

.modal-audit-notes li {
    margin-bottom: 5px;
}

.modal-disclaimer {
    font-size: 0.85em;
    color: #64748b;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    font-style: italic;
}

/* Botón de desglose en la tabla principal */
.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 5px;
}

.btn-info:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* ========================================================
   MOBILE FIRST OPTIMIZATIONS (Sticky Results)
   ======================================================== */
.mobile-close-sheet {
    display: none;
}

.sticky-summary {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #001F3F;
    color: white;
    z-index: 1000;
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    border-radius: 20px 20px 0 0;
    cursor: pointer;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.sticky-summary.flash-anim {
    animation: flashUpdate 0.5s ease-out;
}

@keyframes flashUpdate {
    0% { background-color: #1D6F42; }
    100% { background-color: #001F3F; }
}

.sticky-content strong {
    color: #fff;
    font-size: 1.1em;
}

.sticky-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9em;
    color: #cbd5e1;
}

/* Mobile Sliders */
.mobile-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    outline: none;
    margin-top: 10px;
}
.mobile-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1e3a8a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.mobile-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1e3a8a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-val {
    float: right;
    font-weight: 700;
    color: #1e3a8a;
    font-size: 1.1em;
}



@media (max-width: 768px) {
    .global-header {
        padding: 8px 14px;
        gap: 10px;
    }

    .header-center {
        gap: 8px;
        min-width: 0;
        flex: 1;
    }

    .header-logo {
        width: 52px;
        height: 52px;
        border-radius: 10px;
    }

    .header-title {
        font-size: 0.98em;
        line-height: 1.15;
        text-align: left;
    }

    .header-right {
        width: auto !important;
        gap: 6px !important;
        flex-shrink: 0;
    }

    .btn-header-glosario {
        padding: 8px 9px;
        border-radius: 8px;
        font-size: 0.78em;
    }

    .comparador-body {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .portada-body {
        display: block;
    }

    .home-container {
        min-height: 0;
        padding: 12px;
        justify-content: flex-start;
    }

    .hero-card {
        border-radius: 12px;
        padding: 22px 18px;
        margin-bottom: 12px;
    }

    .hero-logo-large {
        display: block;
        width: 155px;
        height: 155px;
        margin: 0 auto 16px auto;
        border-radius: 24px;
    }

    .hero-card h1 {
        font-size: 1.45em;
        line-height: 1.15;
    }

    .status-badge {
        width: 100%;
        border-radius: 10px;
        padding: 8px 10px;
        font-size: 0.82em;
    }

    .hero-description {
        margin-bottom: 18px;
    }

    .philosophy-section {
        padding: 14px 0;
        margin-bottom: 18px;
    }

    .benefit-list {
        justify-content: flex-start;
    }

    .benefit-list span {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-actions,
    .convenio-buttons {
        flex-direction: column;
    }

    .btn-hero,
    .btn-convenio {
        width: 100%;
        box-sizing: border-box;
    }

    .convenio-buttons {
        gap: 10px;
        margin-bottom: 12px;
    }

    .footer-disclaimer {
        border-radius: 10px;
        padding: 12px;
    }

    .footer-disclaimer svg {
        display: none;
    }

    .comparador-layout {
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow-y: auto;
    }
    
    .col-izq {
        width: 100%;
        min-width: 100%;
        padding: 20px;
        margin-bottom: 80px; /* Space for sticky summary */
        overflow-y: visible;
    }

    .accordion-step {
        padding: 16px;
        border-radius: 10px;
    }

    .hours-override-grid {
        grid-template-columns: 1fr;
    }

    .col-der {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 85vh;
        z-index: 2000;
        background: #ffffff;
        border-radius: 24px 24px 0 0;
        transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
        overflow-y: auto;
        padding: 0;
    }
    
    .col-der .dashboard-card {
        margin: 0;
        border-radius: 24px 24px 0 0;
        min-height: 100%;
        padding: 24px 18px;
    }

    .dashboard-card h2 {
        font-size: 1.25em;
        margin-bottom: 18px;
    }

    .comparador-body .dashboard-section {
        overflow-x: auto;
    }

    .comparador-body .clean-table {
        min-width: 540px;
    }

    body.bottom-sheet-open::after {
        content: "";
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 23, 42, 0.5);
        z-index: 1500;
        backdrop-filter: blur(2px);
    }
    
    body.bottom-sheet-open .col-der {
        bottom: 0;
    }

    .mobile-close-sheet {
        display: flex !important;
        background: #f1f5f9;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 18px;
        color: #64748b;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    .sticky-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .security-header {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 6px 10px;
        gap: 8px;
        font-size: 0.78em;
        flex-wrap: wrap;
    }

    #bmc-wbtn,
    #bmc-wbtn + div {
        display: none !important;
    }
}

/* -------------------------------------
   WIDGET BUY ME A COFFEE (INTERMEDIO EQUILIBRADO)
-------------------------------------- */
#bmc-wbtn {
    width: 50px !important;
    height: 50px !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#bmc-wbtn img {
    height: 26px !important;
    width: 26px !important;
}

#bmc-wbtn + div {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    max-width: 215px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
    color: #1e293b !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    font-family: inherit, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* -------------------------------------
   BANNER TURNÓMETRO (PORTADA)
-------------------------------------- */
.turnometro-banner {
    background: linear-gradient(135deg, #0d1249 0%, #151b5f 100%);
    border: 1.5px solid rgba(240, 165, 49, 0.45);
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 28px rgba(13, 18, 73, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
}

.turnometro-banner:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 165, 49, 0.85);
    box-shadow: 0 14px 34px rgba(13, 18, 73, 0.24);
}

.turnometro-banner-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.turnometro-icon-badge {
    height: 56px;
    width: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.turnometro-icon-img {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.turnometro-text-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.turnometro-title {
    font-size: 1.12em;
    font-weight: 800;
    color: #fef08a;
    line-height: 1.25;
    margin: 0;
}

.turnometro-subtitle {
    font-size: 0.88em;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
}

.btn-turnometro-cta {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0d1249;
    font-size: 0.95em;
    font-weight: 800;
    padding: 11px 22px;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.turnometro-banner:hover .btn-turnometro-cta {
    transform: scale(1.03);
    filter: brightness(1.06);
}

@media (max-width: 768px) {
    .turnometro-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 16px 18px;
        gap: 16px;
    }

    .turnometro-banner-left {
        gap: 14px;
    }

    .turnometro-icon-badge {
        width: 44px;
        height: 44px;
    }

    .turnometro-title {
        font-size: 1.05em;
    }

    .turnometro-subtitle {
        font-size: 0.84em;
    }

    .btn-turnometro-cta {
        justify-content: center;
        width: 100%;
    }
}

/* ========================================================
   INTRO SPLASH SCREEN (Propuesta 1: La Penumbra y el Pulso Vital)
   ======================================================== */
.intro-splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: radial-gradient(circle at 50% 50%, #031122 0%, #020712 55%, #000208 100%);
    box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.42s ease,
                visibility 0.42s ease;
}

.intro-splash-overlay.fade-out {
    opacity: 0;
    transform: scale(1.03);
    filter: blur(6px);
    visibility: hidden;
    pointer-events: none;
}

/* ========================================================
   NEBULOSA CIRCULAR PULSANTE (Aura centrada en 'hora de vida?')
   ======================================================== */
/* ========================================================
   NEBULOSA CIRCULAR PULSANTE (Estilo Mindfulness Apple Watch)
   ======================================================== */
.intro-title-line1 {
    display: block;
    color: #e2e8f0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 22px; /* Mayor separación elegante con 'tu hora de vida?' */
}

.intro-title-line2 {
    display: block;
    color: #f8fafc;
}

.intro-nebula-anchor {
    position: relative;
    display: inline-block;
}

/* Núcleo orgánico multicapa Apple Watch Breath */
.intro-nebula-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 220px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(56, 189, 248, 0.38) 0%,
        rgba(37, 99, 235, 0.22) 38%,
        rgba(14, 165, 233, 0.10) 62%,
        rgba(2, 6, 23, 0) 82%
    );
    filter: blur(28px);
    animation: appleWatchBreathe 4.6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

/* Capa interior: pétalo / halo secundario con rotación sutil y distorsión orgánica */
.intro-nebula-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    height: 78%;
    border-radius: 46% 54% 52% 48% / 54% 48% 52% 46%;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(186, 230, 253, 0.42) 0%,
        rgba(56, 189, 248, 0.24) 45%,
        rgba(2, 132, 199, 0.08) 70%,
        transparent 85%
    );
    filter: blur(14px);
    animation: appleWatchPetalBreathe 4.6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

/* Ciclo de respiración Apple Watch: 
   Inhalación progresiva suave y pausada, reposo zen arriba, exhalación serena */
@keyframes appleWatchBreathe {
    0% {
        transform: translate(-50%, -50%) scale(0.38);
        opacity: 0.15;
        filter: blur(12px);
    }
    45% {
        transform: translate(-50%, -50%) scale(1.32);
        opacity: 0.85;
        filter: blur(32px);
    }
    55% {
        transform: translate(-50%, -50%) scale(1.28);
        opacity: 0.82;
        filter: blur(30px);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.38);
        opacity: 0.15;
        filter: blur(12px);
    }
}

@keyframes appleWatchPetalBreathe {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(0.32);
        opacity: 0.12;
        border-radius: 46% 54% 52% 48% / 54% 48% 52% 46%;
    }
    45% {
        transform: translate(-50%, -50%) rotate(24deg) scale(1.36);
        opacity: 0.75;
        border-radius: 54% 46% 48% 52% / 48% 54% 46% 52%;
    }
    55% {
        transform: translate(-50%, -50%) rotate(28deg) scale(1.30);
        opacity: 0.72;
        border-radius: 52% 48% 50% 50% / 50% 52% 48% 50%;
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(0.32);
        opacity: 0.12;
        border-radius: 46% 54% 52% 48% / 54% 48% 52% 46%;
    }
}

.intro-splash-content {
    position: relative;
    z-index: 2;
    max-width: 740px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: splashContentIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-splash-title {
    font-size: clamp(2rem, 5.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.025em;
    margin: 0 0 100px 0; /* Mayor distancia con el botón 'quiero saberlo' */
    text-align: center;
    text-wrap: balance;
}

/* Letras de 'hora de vida?' en blanco por defecto, tiñéndose armoniosamente al expandirse la respiración */
.intro-title-glow {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: #f1f5f9;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
    animation: textDynamicBluePulse 4.6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes textDynamicBluePulse {
    0% {
        color: #f1f5f9;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
    }
    22% {
        color: #f1f5f9;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
    }
    38% {
        color: #bae6fd;
        text-shadow: 0 0 8px rgba(56, 189, 248, 0.40),
                     0 4px 16px rgba(0, 0, 0, 0.9);
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.30))
                drop-shadow(0 3px 12px rgba(0, 0, 0, 0.95));
    }
    48% {
        color: #7dd3fc;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.55),
                     0 0 18px rgba(14, 165, 233, 0.35),
                     0 4px 18px rgba(0, 0, 0, 0.95);
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45))
                drop-shadow(0 3px 14px rgba(0, 0, 0, 0.98));
    }
    56% {
        color: #7dd3fc;
        text-shadow: 0 0 8px rgba(56, 189, 248, 0.45),
                     0 0 14px rgba(14, 165, 233, 0.28),
                     0 4px 18px rgba(0, 0, 0, 0.95);
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.35))
                drop-shadow(0 3px 14px rgba(0, 0, 0, 0.98));
    }
    70% {
        color: #e0f2fe;
        text-shadow: 0 0 5px rgba(56, 189, 248, 0.20),
                     0 4px 16px rgba(0, 0, 0, 0.9);
        filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.15))
                drop-shadow(0 3px 10px rgba(0, 0, 0, 0.95));
    }
    82% {
        color: #f1f5f9;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
    }
    100% {
        color: #f1f5f9;
        text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95));
    }
}

.btn-intro-noir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    padding: 12px 34px;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 20px -4px rgba(6, 182, 212, 0.3),
                inset 0 0 14px rgba(56, 189, 248, 0.1);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease;
    animation: btnBreath 2.4s ease-in-out infinite alternate;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-intro-noir:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(56, 189, 248, 0.85);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 30px 2px rgba(6, 182, 212, 0.5),
                inset 0 0 18px rgba(56, 189, 248, 0.22);
}

.btn-intro-noir:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

@keyframes btnBreath {
    0% {
        box-shadow: 0 0 16px -4px rgba(6, 182, 212, 0.22),
                    inset 0 0 10px rgba(56, 189, 248, 0.08);
        border-color: rgba(56, 189, 248, 0.35);
    }
    100% {
        box-shadow: 0 0 28px 0px rgba(6, 182, 212, 0.42),
                    inset 0 0 16px rgba(56, 189, 248, 0.18);
        border-color: rgba(56, 189, 248, 0.65);
    }
}

@keyframes splashContentIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@media (max-width: 480px) {
    .intro-splash-overlay {
        padding: 24px 18px;
    }
    .intro-splash-title {
        font-size: 2.1rem;
        margin-bottom: 74px; /* Mayor separación también en móvil */
    }
    .intro-nebula-circle {
        width: 240px;
        height: 140px;
        filter: blur(16px);
    }
    .btn-intro-noir {
        padding: 12px 28px;
        font-size: 0.98rem;
        max-width: 260px;
    }
}

