/* ===== ESTILOS CALCULADORA RÉGIMEN SIMPLE VS ORDINARIO 2026 ===== */
.rst-hero {
    background: linear-gradient(135deg, #1e3d86 0%, #3a68d8 50%, #527ee8 100%);
    padding: 150px 0 70px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.rst-hero::after {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    right: 5%;
    top: 10%;
    pointer-events: none;
}
.rst-hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.rst-hero-copy {
    max-width: 650px;
}
.rst-hero-card {
    width: 320px;
    background: rgba(20, 45, 100, 0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}
.mini-chart {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 18px;
    padding-bottom: 10px;
}
.mini-chart div {
    width: 52px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    height: 100%;
}
.mini-chart i {
    background: linear-gradient(to top, #1d4ed8, #60a5fa);
    border-radius: 6px 6px 0 0;
    display: block;
    transition: height 0.4s ease;
}
.mini-chart .orange i {
    background: linear-gradient(to top, #ea580c, #fb923c);
}
.mini-chart small {
    font-size: 0.72rem;
    color: #e2e8f0;
    padding-top: 6px;
    font-weight: 700;
}

.calculator-section {
    padding: 60px 0 90px;
    background: #f8fafc;
}
.calc-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 28px;
    align-items: start;
}
.calc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    padding: 34px;
}
.calc-step {
    display: flex;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 22px;
}
.calc-step b {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.calc-step h3 {
    margin: 0 0 2px;
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
}
.calc-step p {
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
}
.entity-fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 22px;
}
.entity-fixed span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e3a8a;
}
.entity-fixed strong {
    color: #ffffff;
    background: var(--primary);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
}
.calc-field {
    display: block;
    margin-bottom: 18px;
}
.calc-field > span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.calc-field small {
    display: block;
    color: #64748b;
    font-size: 0.74rem;
    margin-top: 5px;
    line-height: 1.4;
}
.calc-field select {
    width: 100%;
    height: 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 14px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 153, 255, 0.18);
}
.calc-money-input {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    padding: 0 14px;
    gap: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-money-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 153, 255, 0.18);
}
.calc-money-input b {
    color: #64748b;
    font-size: 0.95rem;
}
.calc-money-input input {
    border: none;
    outline: none;
    width: 100%;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
}
.calc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.advanced-toggle-btn {
    margin-top: 20px;
    border: 1.5px dashed #93c5fd;
    background: #eff6ff;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background 0.2s ease;
}
.advanced-toggle-btn:hover {
    background: #dbeafe;
}
.advanced-panel {
    margin-top: 18px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    display: none;
}
.advanced-panel.open {
    display: block;
}
.advanced-impact {
    margin-top: 18px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}
.advanced-impact h4 {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: #1e293b;
}
.advanced-impact-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.78rem;
    color: #475569;
}
.advanced-impact-row:last-child {
    border-bottom: none;
}
.advanced-impact-row b {
    color: var(--primary);
    white-space: nowrap;
}
.advanced-impact-row.highlight {
    background: #fff7ed;
    margin: 4px -8px;
    padding: 6px 8px;
    border-radius: 6px;
}
.advanced-impact-row.highlight b {
    color: var(--secondary);
}

.eligibility-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 18px;
    margin-top: 24px;
}
.eligibility-box h4 {
    margin: 0 0 10px;
    font-size: 0.84rem;
    color: #92400e;
    font-weight: 800;
}
.eligibility-box label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    line-height: 1.45;
    margin-top: 8px;
    color: #78350f;
    cursor: pointer;
}
.eligibility-box input[type="checkbox"] {
    accent-color: var(--primary);
    margin-top: 2px;
    width: 16px;
    height: 16px;
}

/* RESULT CARD */
.result-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
    padding: 30px;
    position: sticky;
    top: 90px;
    border-top: 5px solid var(--secondary);
}
.result-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--secondary);
    font-weight: 900;
    text-transform: uppercase;
}
.result-card h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 10px 0;
    font-weight: 900;
    color: #0f172a;
}
.saving-banner {
    font-size: 0.85rem;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 800;
    margin-bottom: 16px;
}
.comparison-boxes {
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.comparison-box {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}
.comparison-box.winner {
    border-color: var(--secondary);
    background: #fffaf5;
    box-shadow: 0 4px 16px rgba(248, 130, 41, 0.12);
}
.comparison-box span {
    font-size: 0.82rem;
    font-weight: 800;
    color: #334155;
    display: block;
}
.comparison-box small {
    font-size: 0.72rem;
    color: #64748b;
}
.comparison-box strong {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 900;
}
.comparison-box.winner strong {
    color: var(--secondary);
}
.why-box, .break-even-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    border-radius: 12px;
    margin: 12px 0;
}
.why-box h4 {
    font-size: 0.82rem;
    margin: 0 0 6px;
    color: #1e293b;
}
.why-box p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    color: #475569;
}
.break-even-box span {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
    display: block;
}
.break-even-box strong {
    font-size: 1.25rem;
    color: var(--primary);
    margin: 3px 0;
    display: block;
    font-weight: 900;
}
.break-even-box small {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.35;
    display: block;
}
.result-card details {
    font-size: 0.8rem;
    margin: 16px 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.result-card summary {
    font-weight: 800;
    cursor: pointer;
    color: var(--primary);
}
.result-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.result-card li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.78rem;
    color: #475569;
}
.result-card li b {
    color: #0f172a;
}
.empty-state, .not-eligible-state {
    text-align: center;
    padding: 24px 0;
}
.empty-state-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 auto 14px;
}
.not-eligible-state .empty-state-icon {
    background: #fff1f2;
    color: #e11d48;
}
.disclaimer-text {
    display: block;
    text-align: center;
    color: #94a3b8;
    font-size: 0.72rem;
    line-height: 1.45;
    margin-top: 14px;
}

/* SECTION DECISION */
.decision-section {
    padding: 80px 0;
    background: #ffffff;
}
.decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 36px;
}
.decision-card {
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
}
.decision-card.rst-card {
    background: linear-gradient(145deg, #f0f5ff, #ffffff);
    border-color: #bfdbfe;
}
.decision-card.ord-card {
    background: linear-gradient(145deg, #fff7ed, #ffffff);
    border-color: #fed7aa;
}
.decision-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.decision-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
}
.decision-icon.bg-rst { background: var(--primary); }
.decision-icon.bg-ord { background: var(--secondary); }

@media (max-width: 900px) {
    .calc-container {
        grid-template-columns: 1fr;
    }
    .rst-hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .rst-hero-card {
        display: none;
    }
    .decision-grid {
        grid-template-columns: 1fr;
    }
    .result-card {
        position: static;
    }
}
@media (max-width: 600px) {
    .calc-grid-2 {
        grid-template-columns: 1fr;
    }
    .calc-card {
        padding: 22px 18px;
    }
}
