body {
    background: #f7f8fc;
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

section {
    display: flex;
    justify-content: center;
    padding: 120px 20px 140px;
    margin-bottom: 120px;
    position: relative;
    z-index: 1;
}

form {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: min(860px, 100%);
    display: grid;
    gap: 20px;
    padding: 44px;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(36, 52, 71, 0.12);
    z-index: 5;
}

input {
    width: 100%;
    min-height: 64px;
    padding: 20px 22px;
    border-radius: 18px;
    border: 1px solid #d9e4ee;
    font-size: 1.1rem;
    color: #243447;
    background: #f8fbff;
}

input::placeholder {
    color: #7a8a9d;
}

input:focus {
    outline: none;
    border-color: #274b7a;
    box-shadow: 0 0 0 5px rgba(39, 75, 122, 0.14);
}

.form-header {
    text-align: center;
    padding-bottom: 6px;
    border-bottom: 1px solid #e6eaf0;
    margin-bottom: 18px;
}

.form-header h2 {
    margin: 0;
    font-size: 1.9rem;
    color: #243447;
}

.form-header p {
    margin: 10px auto 0;
    max-width: 520px;
    color: #5f6b7a;
    line-height: 1.6;
}

.subir {
    width: 100%;
    padding: 14px 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #274b7a 0%, #345f93 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.subir:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 24px rgba(39, 75, 122, 0.18);
}

footer.register_footer {
    position: relative;
    width: 100%;
    left: auto;
    bottom: auto;
    margin: 0;
    padding: 56px 40px 36px;
    background: linear-gradient(135deg, #2f3d4e 0%, #243447 100%);
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1;
}

footer.register_footer > div {
    min-width: 220px;
    flex: 1 1 260px;
}

footer.register_footer p {
    margin: 0 0 16px;
    font-weight: 600;
}

footer.register_footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

footer.register_footer li {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

footer.register_footer a {
    color: inherit;
    transition: color 0.2s ease;
}

footer.register_footer a:hover {
    color: #dcdcdc;
}

footer.register_footer hr {
    display: none;
}

@media (max-width: 780px) {
    section {
        padding-top: 40px;
    }

    form {
        width: 100%;
        padding: 24px;
    }

    footer.register_footer {
        flex-direction: column;
    }
}