* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.contenido {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}
header {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
header h1 {
    color: #333;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
nav {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}
nav a {
    color: #555;
    padding: 12px 24px;
    font-weight: bold;
}
nav a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(240, 147, 251, 0.4);
    color: white;
}
body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
section:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
section h2 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}
section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}
.submenu {
    list-style: none;
}
.submenu li {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 15px;
    border-left: 5px solid #4ecdc4;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.submenu li:hover {
    background: rgba(78, 205, 196, 0.2);
    transform: translateX(10px);
    border-left-color: #ff6b6b;
}
.submenu a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
}
.descripcion {
    color: #666;
    font-style: italic;
    font-size: 0.95em;
    max-width: 60%;
}
.pie {
    background: rgba(0,0,0,0.8);
    color: white;
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
}
.pie h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
}
section {
    animation: fadeInUp 0.6s ease forwards;
}