/* Procedimientos.css: estilos exclusivos para procedimientos.html */

/* Reset básico */
body {
    font: 15px Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    text-align: justify;
    background-color: #fefefe;
    color: #222;
}

/* Contenedor general */
.contenedor {
    width: 90%;
    margin: auto;
    overflow: hidden;
}

/* Enlaces */
a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

a:hover {
    color: #e8491d; /* rojo vivo para hover */
}

/* Lista sin estilos predeterminados */
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Encabezado */
header {
    background-color: #24282b;
    color: #FBFBFB;
    padding: 10px 0;
    border-bottom: 5px solid #ff0000;
}

header a {
    color: #ff0000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header nav {
    float: right;
    margin-top: 15px;
}

header #marca {
    float: left;
}

header #marca img {
    display: block;
    max-width: 100%;
    height: auto;
}

header ul li {
    float: left;
    display: inline;
    line-height: 70px;
    padding: 0 15px;
}

header ul li.actual a,
header ul li a:hover {
    color: #ffffff;
    font-weight: bold;
}

/* Clear floats del header */
header::after {
    content: "";
    display: table;
    clear: both;
}

/* Sección principal */
section.contenedor {
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

section.contenedor h1 {
    color: #e8491d;
    margin-bottom: 15px;
}

section.contenedor p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 20px;
    margin-top: 30px;
    background-color: #000000;
    color: white;
    text-align: center;
    font-size: 14px;
    letter-spacing: 1px;
    border-top: 3px solid #e8491d;
}

/* Responsive */
@media(max-width: 768px){
    header nav,
    header ul li {
        float: none;
        text-align: center;
        width: 100%;
        line-height: normal;
        padding: 10px 0;
    }
    
    header #marca {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }
    
    section.contenedor {
        width: 95%;
        padding: 15px;
    }
}
