* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}

body.contenido {
    background: linear-gradient(135deg, #F8F1E9, #EDE4D9); /* Beige crema */
    color: #1C2526;
    line-height: 1.6;
}

header {
    background: #483D8B; /* Morado OSCURECIDO (cuello camisa más intenso) */
    color: #F5F5DC; /* Beige crema */
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid #1C2526; /* BORDE NEGRO fino como camisa */
    box-shadow: 0 4px 12px rgba(72, 61, 139, 0.4);
}

header h1 {
    font-size: 2.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

nav {
    background: #1C2526; /* Negro */
    padding: 1rem 0;
    border-bottom: 2px solid #1C2526; /* Borde negro extra */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #F5F5DC;
    transition: all 0.3s;
}

nav ul li a h3 {
    font-weight: 500;
    font-size: 1.1rem;
    margin: 0;
}

nav ul li a:hover h3 {
    color: #CD853F; /* Peru borde camiseta */
    text-shadow: 0 0 10px rgba(205, 133, 63, 0.6);
}

section {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: #F5F5DC; /* Beige cuadros */
    border: 2px solid #1C2526; /* BORDE NEGRO como camisa */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(28, 37, 38, 0.15);
}

section h2 {
    color: #1C2526;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #483D8B; /* Morado oscuro */
    font-size: 1.8rem;
    font-weight: 600;
}

.submenu {
    list-style: none;
}

.submenu li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    background: rgba(248, 241, 233, 0.9);
    border-left: 5px solid #1C2526; /* Línea NEGRA izquierda */
    border-radius: 8px;
    transition: all 0.3s;
}

.submenu li:hover {
    background: rgba(72, 61, 139, 0.1); /* Tinte morado oscuro */
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(28, 37, 38, 0.3);
    border-left-color: #483D8B;
}

.submenu li a {
    text-decoration: none;
    color: #1C2526;
    font-weight: 600;
    font-size: 1.1rem;
}

.descripcion {
    font-size: 0.9rem;
    color: #483D8B; /* Morado oscuro descripciones */
    font-style: italic;
    max-width: 60%;
    text-align: right;
}

footer.pie {
    background: #1C2526;
    color: #F5F5DC;
    text-align: center;
    padding: 2.5rem;
    margin-top: 3rem;
    border-top: 3px solid #483D8B; /* Morado borde superior */
}

footer h4 {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.icono {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 3px solid #1C2526; /* Borde negro ícono */
    background: #F5F5DC;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul { flex-direction: column; gap: 0; }
    nav ul li { padding: 0.8rem; }
    section { width: 95%; padding: 1.5rem; }
    .submenu li { flex-direction: column; gap: 0.5rem; text-align: center; }
    .descripcion { max-width: 100%; text-align: center; }
}
