/* Variables globales */
:root {
    --primary-color: #0067b1;
    --primary-light: #3a8dce;
    --primary-dark: #004e8c;
    --secondary-color: #e63946;
    --secondary-light: #ff5a67;
    --secondary-dark: #c01e2b;
    --accent-color: #4caf50;
    --accent-light: #80e27e;
    --accent-dark: #087f23;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-light: #f5f7fa;
    --background-dark: #e1e5eb;
    --border-color: #dddddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --font-primary: 'Montserrat', sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Header y navegación */
header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.logo-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Sección Hero */
.hero {
    display: flex;
    align-items: center;
    padding: 100px 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e1e5eb 100%);
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.hero-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.hero-content h2:after {
    display: none;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
}

/* Sección de introducción */
.intro-section {
    background-color: white;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Sección del simulador */
.simulator-section {
    background-color: var(--background-light);
}

.simulator-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-color);
    overflow: hidden;
}

.tabs {
    display: flex;
    background-color: var(--background-dark);
}

.tab-btn {
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
    text-align: center;
    transition: all var(--transition-speed);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Formularios */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 10px;
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Sliders */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--background-dark);
    outline: none;
    margin-top: 10px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: background var(--transition-speed);
}

.slider::-webkit-slider-thumb:hover {
    background: var(--primary-dark);
}

.range-value {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Opciones de seguro */
.seguro-options {
    margin-top: 30px;
}

.seguro-option-cards {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.seguro-card {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.seguro-card:hover {
    border-color: var(--primary-light);
}

.seguro-card.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 103, 177, 0.05);
}

.seguro-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.seguro-card ul {
    padding-left: 20px;
    list-style-type: disc;
}

.seguro-card ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Información de parámetros */
.parameter-info {
    display: flex;
    align-items: flex-start;
    background-color: rgba(0, 103, 177, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.parameter-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Resultados */
.results-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

.results-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.result-card {
    flex: 1;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow-color);
    margin: 0 10px;
}

.result-card h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.results-tabs {
    margin-bottom: 20px;
    background-color: transparent;
    border-bottom: 1px solid var(--border-color);
}

.results-tab {
    padding: 10px 20px;
    background-color: transparent;
}

.chart-container {
    height: 300px;
    margin-bottom: 30px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.results-table th,
.results-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.results-table th {
    background-color: var(--background-light);
    font-weight: 600;
}

.results-table .total-row {
    font-weight: 700;
    background-color: rgba(0, 103, 177, 0.05);
}

.summary-text {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Sección de beneficios */
.benefits-section {
    background-color: white;
}

.benefits-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.benefit-tab {
    padding: 12px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: all var(--transition-speed);
}

.benefit-tab:hover {
    color: var(--primary-color);
}

.benefit-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.benefit-pane {
    display: none;
}

.benefit-pane.active {
    display: block;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: transform var(--transition-speed);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.benefit-text h4 {
    margin-bottom: 10px;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Ventajas fiscales */
.fiscal-advantages {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.fiscal-card {
    flex: 1;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.fiscal-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.fiscal-card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.fiscal-card ul li {
    margin-bottom: 10px;
}

.fiscal-example {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.example-calculation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.calculation-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px var(--shadow-color);
}

.calc-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.calc-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Sección de contacto */
.contact-section {
    background-color: var(--background-light);
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h4 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-form {
    flex: 2;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.contact-form h3 {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ecf0f1;
    margin-bottom: 5px;
}

.footer-links {
    flex: 1;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

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

.footer-links ul li a {
    color: #ecf0f1;
    transition: color var(--transition-speed);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

.footer-contact {
    flex: 1;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-speed);
}

.close-modal:hover {
    color: var(--text-color);
}

.export-options {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.export-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed);
    background: none;
    width: 120px;
}

.export-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 103, 177, 0.05);
}

.export-option i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Utilidades */
.hidden {
    display: none !important;
}

/* Media queries */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding: 60px 20px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .fiscal-advantages {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: auto;
        min-width: 50%;
    }
    
    .results-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .result-card {
        margin: 0;
    }
    
    .seguro-option-cards {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .tab-btn {
        min-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .benefits-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .benefit-tab {
        width: 100%;
    }
}


/* Estilos para la nota comparativa */
.comparativo-nota {
    background-color: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.comparativo-nota p {
    margin-bottom: 10px;
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}

.comparativo-nota ul {
    margin-left: 20px;
    color: #856404;
}

.comparativo-nota li {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.comparativo-intro {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.comparativo-conclusion {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.comparativo-conclusion h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.comparativo-conclusion p {
    line-height: 1.6;
    color: var(--text-color);
}

.comparison-table .highlight-row {
    background-color: #e3f2fd;
    font-weight: 600;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: center;
}

.comparison-table td {
    text-align: center;
    padding: 10px;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}



/* Estilos para la sección de Impacto en RRHH */
.rrhh-impact-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.rrhh-impact-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rrhh-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.rrhh-card {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.rrhh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rrhh-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.rrhh-content {
    flex: 1;
}

.rrhh-content h5 {
    margin: 0 0 8px 0;
    font-size: 0.9em;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rrhh-value {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.rrhh-detail {
    font-size: 0.85em;
    color: var(--text-light);
    margin: 0;
}

/* Estilos para comparativa RRHH */
.rrhh-intro {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 15px;
    font-style: italic;
}

.rrhh-comparison {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rrhh-value-con,
.rrhh-value-sin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95em;
}

.rrhh-value-con .label,
.rrhh-value-sin .label {
    color: var(--text-light);
    font-size: 0.85em;
}

.rrhh-value-con .value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1em;
}

.rrhh-value-sin .value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1em;
}

.rrhh-diff {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1em;
}

.rrhh-diff i {
    font-size: 1.2em;
}

/* Responsive para tarjetas RRHH */
@media (max-width: 768px) {
    .rrhh-metrics {
        grid-template-columns: 1fr;
    }
    
    .rrhh-card {
        flex-direction: column;
        text-align: center;
    }
    
    .rrhh-icon {
        min-width: auto;
    }
}



/* Estilos para la pestaña Beneficios Empleado */
.beneficios-empleado-intro {
    color: var(--text-light);
    font-size: 0.95em;
    margin-bottom: 25px;
    font-style: italic;
}

.beneficios-section {
    margin-bottom: 35px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px var(--shadow-color);
}

.beneficios-section h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--background-dark);
}

.beneficios-section h5 i {
    font-size: 1.2em;
}

.beneficios-table {
    margin-top: 15px;
}

.beneficios-table thead th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-size: 0.9em;
}

.beneficios-table tbody td {
    text-align: center;
    padding: 10px 8px;
    font-size: 0.95em;
}

.beneficios-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.beneficios-nota {
    margin-top: 15px;
    padding: 12px;
    background-color: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--text-color);
}

.beneficios-nota strong {
    color: var(--primary-color);
}

/* Responsive para beneficios empleado */
@media (max-width: 768px) {
    .beneficios-table {
        font-size: 0.85em;
    }
    
    .beneficios-table thead th,
    .beneficios-table tbody td {
        padding: 8px 4px;
    }
}


/* Estilos para Resumen Conclusivo */
.resumen-conclusivo-section {
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.resumen-conclusivo-section h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.resumen-conclusivo-section h4 i {
    font-size: 1.2em;
}

.resumen-intro {
    color: var(--text-light);
    font-size: 0.95em;
    margin-bottom: 25px;
    font-style: italic;
}

.resumen-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.resumen-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resumen-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.resumen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid;
}

.resumen-direccion .resumen-header {
    border-bottom-color: #1976d2;
}

.resumen-rrhh .resumen-header {
    border-bottom-color: #388e3c;
}

.resumen-finanzas .resumen-header {
    border-bottom-color: #f57c00;
}

.resumen-header i {
    font-size: 1.8em;
}

.resumen-direccion .resumen-header i {
    color: #1976d2;
}

.resumen-rrhh .resumen-header i {
    color: #388e3c;
}

.resumen-finanzas .resumen-header i {
    color: #f57c00;
}

.resumen-header h5 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-color);
}

.resumen-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.resumen-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.resumen-item > i {
    color: var(--accent-color);
    font-size: 1.2em;
    margin-top: 3px;
    flex-shrink: 0;
}

.resumen-item strong {
    display: block;
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 0.95em;
}

.resumen-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9em;
    line-height: 1.5;
}

/* Responsive para resumen conclusivo */
@media (max-width: 768px) {
    .resumen-areas {
        grid-template-columns: 1fr;
    }
    
    .resumen-conclusivo-section {
        padding: 15px;
    }
}

/* Estilos para selector de perfil PDF */
.pdf-profile-section {
    margin-top: 20px;
}

.pdf-profile-section h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-description {
    color: var(--text-light);
    font-size: 0.95em;
    margin-bottom: 20px;
}

.profile-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.profile-option {
    cursor: pointer;
}

.profile-option input[type="radio"] {
    display: none;
}

.profile-card {
    background-color: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 140px;
}

.profile-card i {
    font-size: 2.5em;
    color: var(--primary-color);
}

.profile-card strong {
    display: block;
    color: var(--text-color);
    font-size: 1em;
    margin-top: 5px;
}

.profile-card span {
    display: block;
    color: var(--text-light);
    font-size: 0.85em;
    line-height: 1.3;
}

.profile-option:hover .profile-card {
    border-color: var(--primary-light);
    background-color: rgba(0, 103, 177, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.profile-option input[type="radio"]:checked + .profile-card {
    border-color: var(--primary-color);
    border-width: 3px;
    background-color: rgba(0, 103, 177, 0.1);
    box-shadow: 0 4px 12px rgba(0, 103, 177, 0.3);
}

.profile-option input[type="radio"]:checked + .profile-card i {
    color: var(--primary-dark);
}

#generate-pdf-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsive para selector de perfil */
@media (max-width: 768px) {
    .profile-options {
        grid-template-columns: 1fr;
    }
}
