body {
    margin: 0;
    padding: 0;
    font-family: system-ui;
    background: #f5f5f5;
}

html {
    scroll-behavior: smooth;
}

header {
    background-color: #2a303a;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    margin-bottom: 0px;
}

header .contenido-header {
    max-width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 1px;
}

header .contenido-header .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .contenido-header img {
    width: 4rem;
    height: 4rem;
    border-radius: 25%;
}

header .contenido-header h1 {
    color: #fff;
    padding: 10px;
    align-items: center;
    font-size: 15px;
}

header .contenido-header nav ul {
    list-style: none;
    display: flex;
    justify-content: end;
}

header .contenido-header nav ul li a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 400;
    transition: color 0.3s;
}

header .contenido-header nav ul a:hover {
    color: #4682B4;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

/*===============================================================================================================================*/

.formato {
    max-width: 900px;
    margin: auto;
    background: #fff;
    border: 2px solid #333;
    padding: 20px;
    border-radius: 10px;
}

.content-formato {
    padding-top: 150px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
}

.section {
    margin-bottom: 20px;
    border: 1px solid #999;
    border-radius: 8px;
    padding: 15px;
}

.section h3 {
    margin-top: -10px;
    background: #f2f2f2;
    display: inline-block;
    padding: 0 10px;
    font-size: 16px;
    border-radius: 5px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.form-row label {
    flex: 1 0 200px;
    font-weight: bold;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 2;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.checkbox-group {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.checkbox-group label {
    font-weight: normal;
}

.signatures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
    text-align: center;
}

.signatures div {
    border-top: 1px solid #000;
    padding-top: 5px;
}

.submit-btn{
    padding: 10px;
    display: block;
    width: 100%;
    color: #fff;
    background-color: #2a303a;
    border: none;
    font-weight: bold;
}

/* ==============Ajustes responsivos=================== */
@media (max-width: 768px) {

    .formato {
        max-width: 100%;
    }

    .form-row {
        display: block;
    }

    .form-row label,
    .form-row input,
    .form-row select,
    .form-row textarea {
        flex: 1 0 50%;
        margin-bottom: 10px;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }

    .signatures {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    h2 {
        font-size: 16px;
    }

    .section h3 {
        font-size: 14px;
    }
}