/* ---------- GENERAL ---------- */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f8f8;
    color: #222;
    margin: 0;
    padding: 0;
}

/* ---------- HEADER ---------- */
header {
    background: linear-gradient(90deg, #b30000, #ff4d4d);
    color: white;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffe6e6;
}

/* ---------- MAIN LAYOUT ---------- */
main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 30px;
}

/* ---------- SECTION (ARTÍCULOS) ---------- */
section {
    flex: 1 1 60%;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

section h2, section h3, section h4 {
    color: #b30000;
}

section a {
    color: #b30000;
    text-decoration: none;
    font-weight: bold;
}

section a:hover {
    text-decoration: underline;
}

section img {
    display: block;
    margin: 15px auto;
    border-radius: 10px;
    max-width: 100%;
}

/* ---------- ASIDE (FORMULARIO) ---------- */
aside {
    flex: 1 1 30%;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

aside h2 {
    color: #b30000;
    text-align: center;
}

aside p {
    text-align: center;
    color: #444;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #b30000;
    outline: none;
}

.sexo {
    display: flex;
    justify-content: space-around;
}

input[type="submit"] {
    background-color: #b30000;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

inpu

