* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.header {
    background: linear-gradient(135deg, #e61938 0%, #e61938 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.company-logo {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Convierte logo a blanco si es necesario */
}

.header-text {
    flex: 1;
    text-align: left;
}
.header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: -20px;
}
.logo-icon {
    width: 100px;
    height: 100px;
    background: white;
    margin-right: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-hammer {
    width: 35px;
    height: 35px;
    color: #e61938;
    font-weight: bold;
    font-size: 24px;
}

.logo-text {
    color: white;
    font-weight: bold;
}

.logo-text .main {
    font-size: 24px;
    color: white;
}

.logo-text .sub {
    font-size: 24px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.content {
    padding: 40px;
}

.progress-bar {
    background: #f7fafc;
    height: 12px;
    border-radius: 6px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 2px solid #e61938;
}

.progress-fill {
    background: linear-gradient(90deg, #e61938, #e61938);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.dimension-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #e61938;
}

.dimension-title {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 600;
}

.question {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.question.error {
    border-color: #e61938;
    background: #fed7d7;
}

.question-text {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 500;
}

.question-required {
    color: #e61938;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-style: italic;
}

.likert-scale, .custom-options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.likert-option, .custom-option {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.likert-option input[type="radio"], .custom-option input[type="radio"] {
    display: none;
}

.likert-option label, .custom-option label {
    display: block;
    padding: 15px 10px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #4a5568;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.likert-option input[type="radio"]:checked + label,
.custom-option input[type="radio"]:checked + label {
    background: #e61938;
    color: white;
    border-color: #e61938;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.likert-option label:hover, .custom-option label:hover {
    background: #edf2f7;
    border-color: #e61938;
}

.likert-option input[type="radio"]:checked + label:hover,
.custom-option input[type="radio"]:checked + label:hover {
    background: #e61938;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;
}

.error-message {
    color: #e61938;
    background: #fed7d7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #feb2b2;
    font-weight: 500;
    display: none;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #e61938, #e61938);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4);
}

.btn-primary:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

.btn-secondary {
    background: #edf2f7;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: #e61938;
}

.results-section {
    display: none;
    padding: 40px;
}

.results-header {
    text-align: center;
    margin-bottom: 40px;
}

.overall-score {
    font-size: 3rem;
    font-weight: bold;
    color: #e61938;
    margin-bottom: 10px;
}

.maturity-level {
    font-size: 1.5rem;
    color: #2d3748;
    padding: 15px 30px;
    background: #f7fafc;
    border: 2px solid hsl(0, 76%, 57%);
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.chart-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    border: 2px solid #f7fafc;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dimension-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #e61938;
    border-top: 2px solid #f7fafc;
}

.dimension-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.dimension-score {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e61938;
    margin-bottom: 8px;
}

.dimension-level {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.feedback-section {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #38a169;
}

.feedback-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.feedback-message {
    background: #38a169;
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.detailed-explanation {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 15px;
    border: 2px solid #e2e8f0;
}

.detailed-explanation h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.detailed-explanation p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 10px;
}

.roadmap-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #e61938;
}

.roadmap-section h3 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.roadmap-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.roadmap-header > div {
    padding: 15px;
    border-left: 3px solid #e61938;
    background: #f7fafc;
    border-radius: 8px;
}

.roadmap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.quick-wins, .medium-term {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 2px solid #e2e8f0;
}

.quick-wins {
    border-left: 5px solid #38a169;
}

.medium-term {
    border-left: 5px solid #ecc94b;
}

.investment-guide {
    grid-column: 1 / -1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #3182ce;
    border: 2px solid #e2e8f0;
}

.focus-areas {
    grid-column: 1 / -1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 5px solid #805ad5;
    border: 2px solid #e2e8f0;
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.focus-tag {
    background: #e61938;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.roadmap-content h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.roadmap-content ul {
    color: #4a5568;
    line-height: 1.6;
}

.roadmap-content li {
    margin-bottom: 12px;
    padding-left: 10px;
    font-weight: 500;
}

.roadmap-explanation {
    margin-top: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #e61938;
}

.roadmap-explanation h5 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.roadmap-explanation p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.dimension-recommendations {
    margin-bottom: 20px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 2px solid #e2e8f0;
}

.dimension-recommendations h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 3px solid #e61938;
    padding-bottom: 8px;
    font-weight: 600;
}

.dimension-recommendations ul {
    color: #4a5568;
    line-height: 1.6;
}

.dimension-recommendations li {
    margin-bottom: 10px;
    font-weight: 500;
}

.recommendation-explanation {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 3px solid #e61938;
}

.recommendation-explanation h5 {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.recommendation-explanation p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

.company-info-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #e61938;
}

.section-title {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    color: #4a5568;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #e61938;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group input::placeholder {
    color: #a0aec0;
}

.form-actions {
    text-align: center;
    padding-top: 20px;
}

.company-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 25px 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 2px solid #e61938;
}

.company-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.company-header .company-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.company-header .company-details div {
    display: flex;
    flex-direction: column;
}

.company-header .company-details strong {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

/* Estilos para iconos SVG */
.icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    fill: currentColor;
    transition: all 0.2s ease;
}

.icon-small { width: 16px; height: 16px; }
.icon-medium { width: 24px; height: 24px; }
.icon-large { width: 32px; height: 32px; }

/* En botones, heredar color */
.btn .icon {
    color: inherit;
    margin-right: 6px;
}

/* En títulos */
h3 .icon, h4 .icon {
    margin-right: 10px;
    color: #e61938;
}

/* En sección de contacto */
.contact-icon .icon {
    width: 32px;
    height: 32px;
    margin-right: 0;
    color: #e61938;
}

/* Hover effects */
.icon:hover {
    transform: scale(1.1);
}

.hidden {
    display: none;
}

.export-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.export-actions .btn {
    min-width: 150px;
    flex: 1;
    max-width: 200px;
}

.cta-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 40px;
    border-radius: 20px;
    margin-top: 30px;
    border: 3px solid #e61938;
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.1);
    text-align: center;
}

.cta-section h3 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-message {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #38a169;
    text-align: left;
}

.cta-benefits h4 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.cta-benefits ul {
    color: #4a5568;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.cta-benefits li {
    margin-bottom: 12px;
    font-weight: 500;
}

.cta-benefits li strong {
    color: #2d3748;
}

.cta-contact {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #e2e8f0;
}

.cta-contact h4 {
    color: #2d3748;
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-option:hover {
    border-color: #e61938;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.1);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-info {
    text-align: left;
    flex: 1;
}

.contact-info strong {
    color: #2d3748;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.contact-info a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    word-break: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
}

.cta-action {
    margin-top: 30px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 18px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-note {
    margin-top: 15px;
    color: #4a5568;
    font-size: 0.95rem;
    font-style: italic;
}

/* RESPONSIVE BREAKPOINTS */
.form-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.form-divider span {
    background: white;
    padding: 0 15px;
    color: #4a5568;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.modal-content h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.modal-content p {
    color: #4a5568;
    margin-bottom: 20px;
}

.modal-content input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f7fafc;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-actions .btn {
    min-width: 120px;
}
/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        margin: 10px;
        border-radius: 15px;
    }
    
    .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .roadmap-content {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .company-header .company-details {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Móviles grandes (481px - 768px) */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 10px;
        margin: 0;
    }

    .content {
        padding: 20px;
    }
    
    .results-section {
        padding: 20px;
    }

    .header {
        padding: 20px;
    }

    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo-text {
        text-align: center;
    }
    
    .logo-text .main, .logo-text .sub {
        font-size: 20px;
    }

    .likert-scale, .custom-options {
        flex-direction: column;
        gap: 8px;
    }

    .likert-option, .custom-option {
        min-width: auto;
    }
    
    .likert-option label, .custom-option label {
        min-height: 50px;
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        padding: 12px 25px;
    }

    .overall-score {
        font-size: 2.5rem;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dimension-card {
        padding: 20px;
    }
    
    .dimension-score {
        font-size: 2rem;
    }

    .export-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .export-actions .btn {
        max-width: none;
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .roadmap-header {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }

    .roadmap-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .contact-option {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        text-align: center;
    }

    .company-header {
        padding: 20px;
    }
    
    .company-header h2 {
        font-size: 1.5rem;
    }
    
    .company-header .company-details {
        grid-template-columns: 1fr;
        gap: 10px;
        font-size: 0.85rem;
    }

    .chart-container {
        padding: 15px;
    }
    
    .dimension-title {
        font-size: 1.2rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .question {
        padding: 15px;
    }

    .cta-section {
        padding: 25px;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-message {
        font-size: 1rem;
    }
    
    .btn-large {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

/* Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .container {
        border-radius: 8px;
    }

    .content {
        padding: 15px;
    }
    
    .results-section {
        padding: 15px;
    }

    .header {
        padding: 15px;
    }

    .header h1 {
        font-size: 1.3rem;
    }
    
    .header p {
        font-size: 0.9rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo-hammer {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    
    .logo-text .main, .logo-text .sub {
        font-size: 18px;
    }

    .dimension-section {
        padding: 20px;
    }

    .question {
        padding: 12px;
    }
    
    .question-text {
        font-size: 0.95rem;
    }
    
    .question-required {
        font-size: 0.8rem;
    }

    .likert-option label, .custom-option label {
        min-height: 45px;
        padding: 10px 6px;
        font-size: 0.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .overall-score {
        font-size: 2rem;
    }
    
    .maturity-level {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    .dimension-card {
        padding: 15px;
    }
    
    .dimension-score {
        font-size: 1.8rem;
    }

    .chart-container {
        padding: 10px;
    }

    .company-header {
        padding: 15px;
    }
    
    .company-header h2 {
        font-size: 1.3rem;
    }
    
    .company-header .company-details {
        font-size: 0.8rem;
    }

    .roadmap-header {
        padding: 10px;
    }
    
    .roadmap-header > div {
        padding: 10px;
    }

    .quick-wins, .medium-term, .investment-guide, .focus-areas {
        padding: 15px;
    }

    .cta-section {
        padding: 20px;
    }
    
    .cta-section h3 {
        font-size: 1.3rem;
    }
    
    .cta-message {
        font-size: 0.95rem;
    }
    
    .cta-benefits {
        padding: 20px;
    }
    
    .cta-contact {
        padding: 20px;
    }

    .contact-option {
        padding: 15px;
    }
    
    .contact-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .btn-large {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .form-group input,
    .form-group select {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    .company-info-section {
        padding: 20px;
    }

    .feedback-section {
        padding: 20px;
    }
    
    .feedback-message {
        padding: 15px;
        font-size: 1rem;
    }

    .roadmap-section {
        padding: 20px;
    }

    .dimension-recommendations {
        padding: 15px;
    }

    .detailed-explanation {
        padding: 15px;
    }

    .roadmap-explanation {
        padding: 10px;
    }

    .recommendation-explanation {
        padding: 10px;
    }
}

/* Móviles muy pequeños (menos de 320px) */
@media (max-width: 319px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .header p {
        font-size: 0.85rem;
    }

    .logo-text .main, .logo-text .sub {
        font-size: 16px;
    }

    .question-text {
        font-size: 0.9rem;
    }

    .likert-option label, .custom-option label {
        min-height: 40px;
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .overall-score {
        font-size: 1.8rem;
    }
    
    .maturity-level {
        font-size: 1.1rem;
        padding: 8px 16px;
    }

    .dimension-score {
        font-size: 1.5rem;
    }

    .cta-section h3 {
        font-size: 1.2rem;
    }
    
    .btn-large {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* Mejoras para accesibilidad y usabilidad */
@media (prefers-reduced-motion: reduce) {
    .container {
        animation: none;
    }
    
    .btn, .likert-option label, .custom-option label, .contact-option {
        transition: none;
    }
    
    .btn-primary:hover:not(:disabled) {
        transform: none;
    }
    
    .likert-option input[type="radio"]:checked + label,
    .custom-option input[type="radio"]:checked + label {
        transform: none;
    }
}

/* Modo oscuro básico */
@media (prefers-color-scheme: dark) {
    /* Mantener colores originales para no afectar la marca */
    /* Pero mejorar contraste en algunos elementos */
    .question-text {
        color: #1a202c;
    }
    
    .dimension-title {
        color: #1a202c;
    }
}

/* Mejoras para pantallas de alta resolución */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        border-radius: 10px;
    }
    
    .btn {
        border-radius: 20px;
    }
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 15px 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .content {
        padding: 15px 20px;
    }
    
    .results-section {
        padding: 15px 20px;
    }
    
    .likert-scale, .custom-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .likert-option, .custom-option {
        flex: 1;
        min-width: 80px;
    }
    
    .navigation {
        flex-direction: row;
        gap: 15px;
    }
    
    .btn {
        width: auto;
        flex: 1;
    }
}

/* Estilos para impresión */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .header {
        background: #e61938 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .navigation, .export-actions {
        display: none;
    }
    
    .cta-section {
        display: none;
    }
    
    .btn {
        display: none;
    }
    
    .company-header {
        background: #2d3748 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .feedback-message {
        background: #38a169 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .chart-container {
        page-break-inside: avoid;
    }
    
    .dimension-card {
        page-break-inside: avoid;
    }
}