@charset "UTF-8";

/* ==========================================================================
   LISTA DE NÚMEROS ANIMADA (Efecto dinámico al pasar el cursor)
   ========================================================================== */
#lista2 {
    counter-reset: li; 
    list-style: none; 
    font-size: 15px;
    font-family: 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

#lista2 ol {
    margin: 0 0 0 2em; 
}

#lista2 li {
    position: relative;
    display: block;
    padding: 0.4em 0.4em 0.4em 2.5em;
    margin: 0.5em 0;
    background: #F1F1F1;
    color: #444;
    text-decoration: none;
    border-radius: 0.3em;
    font-size: 1.1em; 
    font-family: Arial, sans-serif;
    transition: all 0.3s ease-out; 
}

/* Efecto de movimiento y color corporativo al pasar el cursor */
#lista2 li:hover {
    background: #e9f2fc;
    padding-left: 3em; /* Empuja el texto ligeramente hacia la derecha */
    color: #025197;
}

/* Animación del círculo del número */
#lista2 li:before {
    content: counter(li);
    counter-increment: li;
    position: absolute; 
    left: -1.3em;
    top: 50%;
    margin-top: -1.3em; /* Centrado vertical simétrico */
    color: white;
    background: #025197;
    height: 2em;
    width: 2em;
    line-height: 2em;
    border: 0.3em solid #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 50%;
    transition: all 0.3s ease-out;
}

/* Rotación sutil del número al hacer hover */
#lista2 li:hover:before {
    transform: rotate(360deg);
    background: #6D8901; /* Cambio de color estético de azul a verde corporativo */
}

#lista2 p {
    position: relative;
    font-size: 15px;
    font-family: 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
    padding: 0;
    margin-bottom: 4em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

#lista2 font {
    color: #025197;
}

#letrasavisolegal a {
    color: #FFFFFF;
}


/* ==========================================================================
   FORMULARIO DE CONTACTO (.contact_form)
   ========================================================================== */
.contact_form ul {
    width: 550px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.contact_form li {
    padding: 12px; 
    position: relative;
} 

.contact_form label {
    color: #555555;
    display: inline-block;
    float: left;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: bold;
    margin-top: 3px;
    padding: 3px;
    width: 90px;
}

.contact_form input {
    height: 20px; 
    width: 220px; 
    padding: 5px 8px;
}

.contact_form textarea {
    padding: 8px; 
    width: 300px;
}

.contact_form button {
    margin-left: 90px;
}

/* Estilos visuales comunes del formulario de contacto */
.contact_form input, 
.contact_form textarea { 
    border: 1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius: 2px;
    color: #888;
    font-size: 12px;
    padding-right: 30px;
    transition: padding 0.25s ease-in-out;
}

.contact_form input:focus, 
.contact_form textarea:focus {
    background: #fff; 
    border: 1px solid #555; 
    box-shadow: 0 0 3px #aaa; 
    padding-right: 80px;
}

/* Validación interactiva HTML5 */
.contact_form input:required:valid, 
.contact_form textarea:required:valid {
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.contact_form input:focus:invalid, 
.contact_form textarea:focus:invalid {
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535;
}


/* ==========================================================================
   FORMULARIO DE PLANTILLA (.plantilla_form)
   ========================================================================== */
.plantilla_form ul {
    width: 550px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.plantilla_form li {
    padding: 12px;
    position: relative;
    text-align: left;
} 

.plantilla_form label {
    color: #555555;
    display: inline-block;
    float: left;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: bold;
    margin-top: 3px;
    padding: 3px;
    width: 90px;
}

.plantilla_form input {
    height: 20px; 
}

.plantilla_form button {
    margin-left: 90px;
}

/* Estilos visuales del formulario de plantilla */
.plantilla_form input, 
.plantilla_form textarea { 
    border: 1px solid #aaa;
    box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
    border-radius: 2px;
    color: #888;
    font-size: 12px;
    padding-right: 30px;
    transition: padding 0.25s ease-in-out;
}

.plantilla_form input:focus, 
.plantilla_form textarea:focus {
    background: #fff; 
    border: 1px solid #555; 
    box-shadow: 0 0 3px #aaa; 
    padding-right: 20px;
}

/* Validación interactiva HTML5 (Corregida e independizada) */
.plantilla_form input:required:valid, 
.plantilla_form textarea:required:valid {
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.plantilla_form input:focus:invalid, 
.plantilla_form textarea:focus:invalid {
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535;
}


/* ==========================================================================
   BOTÓN DE ENVÍO (Submit Button)
   ========================================================================== */
button.submit {
    padding: 9px 17px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    line-height: 1;
    color: #444;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85);
    background-color: #fff;
    background-image: linear-gradient(to bottom, #ffffff, #bbbbbb);
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, color 0.2s ease;
}

button.submit:hover {
    opacity: 0.75;
    cursor: pointer; 
    color: #025197; /* Se cambia a azul al posarse para mantener consistencia visual */
}

button.submit:active {
    border: 1px solid #222;
    box-shadow: 0 0 10px 5px #444 inset; 
}