
body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(145deg, #ececec, #f9f9f9);
    color: #2e2e2e;
}

header {
    text-align: center;
    padding: 3rem 1rem 2rem 1rem;
    background: #dfe6dc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: #1e1e1e;
    margin-bottom: 0.3rem;
}

.subtitulo {
    font-size: 1.4rem;
    color: #4b4b4b;
    margin-bottom: 1rem;
}

.perfil {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #888;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

main {
    max-width: 800px;
    margin: auto;
    padding: 3rem 2rem;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

h2 {
    color: #333;
    font-size: 1.8rem;
    position: relative;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #4e5d52;
    margin: 0.5rem auto 0;
    border-radius: 3px;
}

p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.botones {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.botones a {
    text-decoration: none;
    background: #37483d;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: background 0.3s ease;
}

.botones a:hover {
    background: #2e3c32;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
}

button {
    padding: 1rem 1.5rem;
    background: #2e3c32;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

button:hover {
    background: #1f2a23;
}

footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.95rem;
    background: #dfe6dc;
    color: #333;
}

footer a {
    color: #2f3f36;
    text-decoration: none;
    font-weight: bold;
}

.foto-contenedor {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
