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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    font-size: 18px; /* Tamaño de fuente más grande para personas mayores */
}

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

h1, h2, h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    margin-top: 40px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

section {
    margin-bottom: 60px;
}

/* Encabezado */
header {
    background-color: #4a6da7;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 5px solid #3a5a8c;
}

header h1 {
    margin-bottom: 10px;
    font-size: 3rem;
    color: white;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Sección de introducción */
.intro {
    text-align: center;
    margin-bottom: 50px;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Pasos de instalación */
.steps {
    counter-reset: step-counter;
}

.step {
    display: flex;
    margin-bottom: 50px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background-color: #4a6da7;
    padding: 20px;
    min-width: 80px;
}

.step-content {
    padding: 30px;
    flex: 1;
}

.step-content h3 {
    color: #4a6da7;
    margin-bottom: 15px;
}

.step-content ol, .step-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.step-content li {
    margin-bottom: 10px;
}

.image-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.image-guide img {
    max-width: 300px;
    border: 1px solid #ddd;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Botón de descarga */
.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.2);
}

.download-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(40, 167, 69, 0.3);
}

.download-button img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.note {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

/* Preguntas frecuentes */
.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a6da7;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.accordion-header:hover {
    background-color: #e9ecef;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    padding: 20px;
    max-height: 1000px;
}

/* Sección de contacto */
.contact {
    text-align: center;
    background-color: #e9ecef;
    padding: 40px;
    border-radius: 10px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

/* Pie de página */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

/* Estilos para resaltar texto importante */
strong {
    color: #d9534f;
    font-weight: bold;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        width: 100%;
        padding: 10px;
    }
    
    .download-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .image-guide img {
        max-width: 100%;
    }
}

/* Estilos de accesibilidad para personas mayores */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Alto contraste para mejor legibilidad */
.high-contrast {
    background-color: black;
    color: white;
}

.high-contrast header {
    background-color: #0066cc;
}

.high-contrast .step-number {
    background-color: #0066cc;
}

.high-contrast .download-button {
    background-color: #00aa00;
}

.high-contrast strong {
    color: #ff6666;
}

/* Botón de alto contraste */
.contrast-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    font-size: 1rem;
}

.contrast-toggle:hover {
    background-color: #555;
}