/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Encabezado */
header {
    background-color: white;
    padding: 10px;
}

header h1 {
    margin: 0;
}

/* Barra de navegación */
.header .navbar {
    background-color: white;
}

.header .navbar .nav-link {
    text-transform: uppercase;
    color: black;
    font-weight: bold;
}

.header .navbar .nav-link:hover {
    color: #5b8ce1;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin: 0 20px;
    }
}

/* Arreglar el fondo gris */
.bg-light {
    background-color: white !important;
}

/* No permitir saltos de línea */
.nowrap {
    white-space: nowrap;
}

/* Estilos de enlace */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Estilos texto principal */
.highlighted-service {
    color: white;
    background-color: #144272;
    padding: 10px;
}

.service-title {
    color: #205295;
}

.phone-link {
    color: #2C74B3;
}

/* etiqueta h1*/
#site-title {
    color: #205295;
    font-size: 3em;
    padding-top: 20px;
}

@media screen and (max-width: 768px) {
    #site-title {
        font-size: 1.5em;
    }
}

/* form netlify */

.text-center {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background: #F1F5F7;
    /*border: 1px solid #0e3b69;*/
    border-radius: 5px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    text-align: left;  /* Alinear las etiquetas a la izquierda */
}

.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.contact-form input[type="text"]:hover,
.contact-form input[type="email"]:hover,
.contact-form textarea:hover {
    border-color: #24658E; /* Cambiar el color del borde al pasar el ratón */
}

.contact-form button[type="submit"] {
    background: #24658E;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


/* footer */

.footer {
    background-color: #F1F5F7; /* color azul fondo */
    border-top: 1px solid #ccc; /* línea separadora */
    color: #333;
}

.footer-title {
    margin-top: 30px; /* Agrega un margen superior para separar el título de la línea de separación */
}

.footer h3 { 
    font-size: 1.5em;
}

.footer .contact-item { 
    margin-bottom: 1em;
}

.footer .contact-form p { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}

.footer .contact-form p label {
    flex: 1 0 20%; 
    text-align: right;
    margin-right: 1em;
}

.footer .contact-form p button {
    width: 100%;
    padding: 0.5em;
}

/* cookies banner */

#cookieBanner {
    display: none !important;
}

/* blog index */
.blog-post {
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
}

.blog-post h2 {
    margin-bottom: 15px;
}

.blog-post a {
    color: #205295;
    text-decoration: none;
}

.blog-post a:hover {
    color: #5b8ce1;
}

.blog-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px 0;
}

.hero {
    background: linear-gradient(to right, #205295, #2C74B3);
    padding: 60px 0;
    min-height: 50vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.25rem;
}

.hero .btn {
    background-color: #ffffff;        /* botón visible sobre fondo azul */
    color: #205295;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero .btn:hover {
    background-color: #f1f1f1;
    color: #144272;
}

.hero-gradient {
    background: linear-gradient(to right, #205295, #2C74B3);
}

.accordion-button {
    background-color: #f9f9f9 !important; /* gris claro siempre */
    color: #000 !important;
    font-weight: 500;
    box-shadow: none; /* elimina borde azul al hacer clic */
}

.accordion-button:not(.collapsed) {
    background-color: #e9ecef !important; /* más oscuro cuando está abierto */
    color: #000 !important;
}


