/*
 * Estilos principales para la página de bienestar articular.
 *
 * Este archivo define la presentación de todos los elementos del sitio.
 * Se emplean unidades relativas y diseño flexible para garantizar
 * que el contenido se adapte a distintas resoluciones de pantalla.
 */

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

header {
    background-color: #f5f5f5;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    margin: 0 0 10px;
    font-size: 2em;
    color: #0a417a;
}

header p {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.content h2 {
    color: #0a417a;
    margin-top: 0;
}

.content p {
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

form label {
    font-weight: bold;
    margin-bottom: 4px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    resize: vertical;
}

form textarea {
    min-height: 120px;
}

form .consent {
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

form .consent input[type="checkbox"] {
    margin-right: 8px;
}

form button {
    background-color: #0a417a;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
}

form button:hover {
    background-color: #06315a;
}

footer {
    background-color: #f5f5f5;
    padding: 20px;
    margin-top: 40px;
}

footer .newsletter {
    max-width: 400px;
    margin: 0 auto 30px auto;
    text-align: center;
}

footer .newsletter h3 {
    margin-bottom: 10px;
    color: #0a417a;
}

footer .footer-links {
    text-align: center;
    margin-bottom: 15px;
}

footer .footer-links a {
    color: #0a417a;
    margin: 0 8px;
    text-decoration: none;
    font-size: 0.9em;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

footer .contact-info {
    text-align: center;
    font-size: 0.9em;
    color: #333;
    margin-bottom: 10px;
}

footer .disclaimer {
    text-align: center;
    font-size: 0.8em;
    color: #777;
}

.thank-you {
    max-width: 600px;
    margin: 100px auto;
    text-align: center;
    padding: 20px;
}

.thank-you h1 {
    color: #0a417a;
}

.thank-you a {
    display: inline-block;
    margin-top: 20px;
    color: #0a417a;
    text-decoration: none;
    font-weight: bold;
}

.thank-you a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    header h1 {
        font-size: 2.4em;
    }
    header p {
        font-size: 1.2em;
    }
    .content {
        padding: 40px;
    }
    form input,
    form textarea {
        font-size: 1.1em;
    }
}