body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;    /*#f9f8f8*/
    text-align: center;
} 
/* HEADER */

header {
    display: flex;
    justify-content: center; /* Centrar el contenedor interno */
    align-items: center;
    /*
    background-color: #FAD0C4;*/
    /*
    background-color: #F8B7D1;*//*
    background-color: #F2A7B3;*/
    background-color: #EB447A;
    color: black;
    position: relative; /* Asegurar que el nav se posicione respecto al header */
    z-index: 10;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%; /* Asegurar que ocupe todo el ancho disponible */
    position: relative; /* Para que los hijos respeten el z-index */
    z-index: 11; /* Mantiene el header por encima del menú */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre los logos */
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    justify-content: right;
    align-items: center;
    justify-items: right;

    /* Evitar el resalte azul */
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    touch-action: manipulation;
}

/* Solución sin romper la funcionalidad */
.menu-toggle:focus {
    outline: none;
    box-shadow: none;
}

/* Responsive: ocultar el menú normal y mostrar el botón */
@media screen and (max-width: 530px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #EB447A;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
        top: 80%; /* Se posiciona justo debajo del header */
        left: 0;
        width: 100%;
        z-index: 9; /* Asegura que aparezca debajo del header */
        text-align: left;
        gap: 15px; /* Añadir espacio entre los elementos */
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: auto; /* Empuja todo a la derecha */
        margin-right: 20px;
        margin-top: -10px;
    }

    .header-container {
        display: flex;
        align-items: center;
        max-width: 1100px;
        width: 100%; /* Asegurar que ocupe todo el ancho disponible */
        position: relative; /* Para que los hijos respeten el z-index */
        z-index: 11; /* Mantiene el header por encima del menú */
        justify-content: space-between;
    }
}

main {
    padding: 20px;
}

button {
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background: #0056b3;
}

#mensaje {
    color: green;
    font-weight: bold;
    display: none;
}


/* FOOTER */

footer {
    background-color: #EB447A;
    padding: 20px;
    text-align: center;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #EB447A;
    padding: 10px;
    text-align: center;
}
.footer-column {
    text-align: left;
    padding: 10px;
}
.footer-column.logo {
    align-items: center;
    flex: 1;
}
.footer-column.contact {
    flex: 2;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-column.emergency {
    flex: 4;
}
.footer-logo {
    max-width: 100px;
    text-align: center;
}
.icon {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

footer p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.8;
}

.footer-contacto p{
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
    word-break: break-word
}


/* Mantener las columnas alineadas en una fila hasta 930px */
@media (max-width: 920px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .footer-column.logo {
        order: -1; /* Mueve el logo arriba de la columna de contacto */
        text-align: center;
        width: 100%;
    }
    .footer-column.contact, .footer-column.emergency {
        flex: 1 1 50%; /* Contacto y emergencias ocupan la mitad del ancho */
        text-align: left;
    }
    .footer-column {
        text-align: center;
    }
}


/*
@media (max-width: 425px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        width: 100%;
        align-items: center;
        text-align: center; 
    }
    .footer-column.logo {
        margin-left: 100px;
        align-items: center;
        text-align: center;
    }
}*/


/* INICIO */

.inicio {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    gap: 20px; /* Espaciado entre la imagen y el texto */
    position: relative; /* Para que se mantenga en el flujo normal */
    z-index: 2; /* Asegura que esté por encima de .fondito */
    background: white; /* Opcional: para que tenga un fondo y no se mezcle con la imagen */
    padding: 20px;
    justify-content: center;
}

.inicio img {
    width: 45%;
    max-width: 400px;
    border-radius: 10px;
}

.inicio .texto {
    width: 55%; /* Se asegura de que el texto ocupe el espacio adecuado */
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left; /* Justifica el texto */
}

.inicio .texto p {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: left; /* Justifica el texto */
}

.cta {
    background-color: #d68c8c; /* Tono pastel suave */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.cta:hover {
    background-color: #c08c8c; /* Un tono más oscuro para el hover */
}

.title {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 24px;
    color: #333;
    font-weight: normal;
}
.font1 { font-family: 'Muli', sans-serif; }
.font2 { font-family: 'Quicksand', sans-serif; }
.font3 { font-family: 'Lora', serif; }
.font4 { font-family: 'Nunito', sans-serif; }
.font5 { font-family: 'Kumbh Sans', sans-serif; }
.font6 { font-family: 'Playfair Display', serif; }
.font7 { font-family: 'Poppins', sans-serif; }
.font8 { font-family: 'Pacifico', cursive; }
.font9 { font-family: 'Raleway', sans-serif; }
.font10 { font-family: 'Montserrat', sans-serif; }

/*
.fondito {
    
    background-image: url('fondito_inicio2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.fondito::before {
    
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fondito_inicio2.webp');
    background-size: cover;
    background-position: center;
    filter: blur(8px); 
    z-index: -1;
}*/

/* Cuando la pantalla es menor a 768px, la imagen se posiciona arriba */
@media screen and (max-width: 730px) {
    
    .fondito {
        padding:20px;
        max-height: auto; /* Se ajusta automáticamente */
    }

    .inicio {
        flex-direction: column; 
        text-align: center; 
        max-height: auto; /* Se ajusta automáticamente */
    }

    .inicio img {
        width: 100%; 
        margin: 0 auto; 
    }

    .inicio .texto {
        width: 100%; 
        display: flex;
        flex-direction: column;
        justify-content: left;
        text-align: left;
    }

    .contenedor {
        min-height: auto; /* Se ajusta automáticamente */
        max-height: auto; /* Se ajusta automáticamente */
        padding-bottom: 700px; /* Para que se mantenga en el flujo normal ------------------------------- SACAR SOLO TEST */
    }

    .overlay {
        padding:20px;
        max-height: auto; /* Se ajusta automáticamente */
    }

    .overlay h1 {
        font-size: 1.8rem; /* Tamaño más pequeño */
    }

    .overlay h2 {
        font-size: 1.3rem;
    }

    .texto {
        text-align: center;
    }

    .inicio2 {
        flex-direction: column; 
        text-align: center; 
        max-height: auto; /* Se ajusta automáticamente */
    }

    .inicio2 img {
        width: 100%; 
        margin: 0 auto; 
    }

    .inicio2 .texto2 {
        width: 100%; 
        display: flex;
        flex-direction: column;
        justify-content: left;
        text-align: left;
    }

    .texto2 {
        text-align: center;
    }

    .fondito h1 {
        font-size: 1.8rem; /* Tamaño más pequeño */
    }

    .fondito h2 {
        font-size: 1.3rem;
    }

}

main{
    padding: 0px;
}


.contenedor {
    display: flex;
    max-height: 800px; /* Define el alto del contenedor */
    min-height: auto; /* Permite que crezca según el contenido */
    overflow: hidden;
    justify-content: center; /* Centra contenido horizontalmente si es necesario */
}

.contenedor::before {
    display: flex;
    content: "";
    position: absolute; /* Solo dentro del contenedor */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Igual al contenedor */
    background-image: url('fondito_inicio2.webp'); /* Asegúrate de que sea la misma imagen */
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Aplica el desenfoque */
    z-index: -1;
    align-items: center;
}

.contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
}

.inicio2 {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    gap: 30px; /* Espaciado entre la imagen y el texto */
    position: relative; /* Para que se mantenga en el flujo normal */
    z-index: 2; /* Asegura que esté por encima de .fondito */
    background: white; /* Opcional: para que tenga un fondo y no se mezcle con la imagen */
    padding: 20px;
    justify-content: center;
}

.inicio2 img {
    max-width: 400px;
    border-radius: 10px;
}

.inicio2 .texto2 {
    display: flex;
    flex-direction: column;
    justify-content: left;
    text-align: left; /* Justifica el texto */
}


.inicio2 .texto2 p {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: left; /* Justifica el texto */
}

.inicio2 .img-box {
  text-align: center;
  margin-bottom: 1rem;
}

.inicio2 .img-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.inicio2 .autor {
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 1rem;
  color: #444;
}




/* SOBRE MI */

.sobre_mi {
    max-width: 1200px;
    margin: 40px auto;
    padding: 2em;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    justify-content: left;
}

.sobre_mi h2 {
    font-weight: 500; /* Letra más delgada */
    font-size: 40px;
}

.fila-superior {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 24px;

}
.bloque-imagen {
    text-align: left;
}

.bloque-imagen img {
    width: 100%;
    max-width: 250px;
    min-width: 250px;
    max-height: 290px;
    height: auto;
    border-radius: 10px;
}

.bloque-texto {
    align-items: flex-start;
    text-align: left;
    margin: 0; /* Elimina cualquier margen extra */
    padding: 0; /* Elimina cualquier espacio interno */
    color: #3a3a3a;
}

.bloque-texto h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    margin: 0; /* Elimina cualquier margen extra */
    padding: 0; /* Elimina cualquier espacio interno */
}

.bloque-texto p {
    font-weight: 400;
    line-height: 1.85714285714286;
    font-size: 20px;
    color: #3a3a3a;
}

.bloque-texto-inferior {
    margin: 0; /* Elimina cualquier margen extra */
    padding: 0; /* Elimina cualquier espacio interno */
    text-align: center;
    background-color: #ffffff;
    justify-content: center;
    border-radius: 10px;
}

.bloque-texto-inferior h2 {
    margin-top: 0; /* Elimina cualquier margen extra */
    padding-top: 0; /* Elimina cualquier espacio interno */
    font-size: 24px;
}

.bloque-texto-inferior p {
    margin: 0; /* Elimina cualquier margen extra */
    padding: 0; /* Elimina cualquier espacio interno */
    font-size: 20px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.85714285714286;
}

/*font-family: 'Barlow Semi Condensed', sans-serif;*/
@media screen and (max-width: 530px) {

    .sobre_mi {
        padding: 2em;
    }

    .fila-superior {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .bloque-imagen {
        text-align: center;
        margin-bottom: 20px;
    }

    .bloque-imagen img {
        width: 100%;
        max-width: 359px;
        max-height: 395px;
        min-width: 200px;
        height: auto;
        border-radius: 10px;
    }

    .bloque-texto {
        align-items: center;
        text-align: left;
        margin: 0; /* Elimina cualquier margen extra */
        padding: 0; /* Elimina cualquier espacio interno */
    }

    .bloque-texto h2 {
        font-family: 'Barlow Semi Condensed', sans-serif;
        margin: 0; /* Elimina cualquier margen extra */
        padding: 0; /* Elimina cualquier espacio interno */
    }

    .bloque-texto p {
        font-size: 18px;
        line-height: 1.85714285714286;
        color: #3a3a3a;

    }

    .bloque-texto-inferior {
        margin: 0; /* Elimina cualquier margen extra */
        padding: 0; /* Elimina cualquier espacio interno */
        text-align: left;
        background-color: #ffffff;
        justify-content: center;
        border-radius: 10px;
    }    

    .bloque-texto-inferior h2 {
        margin-top: 0; /* Elimina cualquier margen extra */
        padding-top: 0; /* Elimina cualquier espacio interno */
        font-size: 24px;
    }   

    .bloque-texto-inferior p {
        margin: 0; /* Elimina cualquier margen extra */
        padding: 0; /* Elimina cualquier espacio interno */
        font-size: 18px;
        color: #3a3a3a;
        line-height: 1.85714285714286;
    }
}


/* SERVICIOS */

.container-servicios {
    max-width: 1200px;
    align-items: center;
    margin: 50px auto;
    padding: 20px;
    border-radius: 10px;
}

/* Contenedor de los servicios en 3 columnas */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 20px; /* Espaciado entre columnas */
    margin-top: 20px;
}

.container-servicios h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-align: center;
    font-weight: 500; /* Letra más delgada */
    font-size: 40px;
}

/* Cada servicio en su columna */
.service {
    display: flex;
    align-items: center;
    background: rgba(223,232,232,0.59);
    padding: 30px;
    min-width: 60px;
    border-radius: 12px;
    border: 1px solid #ddd;
    justify-content: center; /* Centrar contenido en cada tarjeta */
    text-align: center;
    flex-direction: column; /* Asegurar que el icono y el texto estén apilados */
    transition: transform 0.3s ease;
}

/* Íconos */
.service i {
    margin-top: 10px;
    font-size: 40px; /* Íconos más grandes */
    color: #EB447A;;
    margin-bottom: 10px;
}

/* Botón centrado */
.button-container {
    text-align: center;
    margin-top: 20px;
}

/* Subtítulos centrados */
.service h3 {
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: normal; /* Letra más delgada */
    font-size: 32px;
    
}

/* Listas alineadas a la izquierda */
.service ul {
    text-align: left;
    padding-left: 20px; /* Indentación leve */
    margin-top: 5px; /* Reducimos margen */
}

/* Espaciado en los ítems de la lista */
.service ul li {
    margin-bottom: 5px; /* Menos espacio entre líneas */
    color: #3a3a3a;
    font-size: 18px;
    color: #3a3a3a;
    line-height: 1.85714285714286;
}

.service p {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #3a3a3a;
    line-height: 1.85714285714286;
    font-size: 20px;
}

.button {
    display: inline-block;
    background: #EB447A;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.button:hover {
    background: #f54b81;;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; 
  top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 2rem;
  max-width: 700px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-align: left;
  max-height: 90vh; /* límite visual */
  word-wrap: break-word;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.body-modal-abierto {
  overflow: hidden;
}

.modal h3 {
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: normal; /* Letra más delgada */
    font-size: 32px;
    
}

/* Listas alineadas a la izquierda */
.modal ul {
    text-align: left;
    padding-left: 20px; /* Indentación leve */
    margin-top: 5px; /* Reducimos margen */
}

/* Espaciado en los ítems de la lista */
.modal ul li {
    margin-bottom: 5px; /* Menos espacio entre líneas */
    color: #3a3a3a;
    font-size: 18px;
    color: #3a3a3a;
    line-height: 1.85714285714286;
}

.modal p {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #3a3a3a;
    line-height: 1.85714285714286;
    font-size: 20px;
}

/* Responsive: en pantallas pequeñas, cambia a 1 columna */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 columna en pantallas chicas */
    }
}

/*
    <a href="https://www.flaticon.es/iconos-gratis/concentracion" title="concentración iconos">Concentración iconos creados por Freepik - Flaticon</a>*/



.contact-section {
    margin: 0 auto;
    font-family: 'Helvetica Neue', sans-serif;
    text-align: center;
    
}

.contacto{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 30px;
    font-family: 'Helvetica Neue', sans-serif;
    text-align: center;
}

.contact-section img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    height: 500px; /* o el alto que necesites */
}
    
.contact-section h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-align: center;
    font-weight: 500; /* Letra más delgada */
    font-size: 40px;
}
    
.contact-section h3 {
    margin-top: 40px;
    color: #003366;
}
    
.contact-section p {
    color: #3a3a3a;
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    line-height: 1.85714285714286;
    font-size: 106.25%;
}
    
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    max-width: 600px;
}
    
.contact-form label {
    text-align: left;
    font-weight: bold;
}
    
.contact-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
    
.contact-form button {
    background: #EB447A;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    max-width: 300px;
}
    
.contact-form button:hover {
    background: #f54b81;
}
    
.contact-info {
    list-style: none;
    padding: 0;
    font-size: 1rem;
    margin-top: 20px;
}
    
.contact-info li {
    margin: 8px 0;
}

.contact-info a {
    color: #003366;
    text-decoration: none;
}
    
.contact-info a:hover {
    text-decoration: underline;
}
    
.closing-phrase p {
    margin-top: 30px;
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
}
    
.subtitle p {
    font-size: 1rem;
    margin-top: 10px;
    color: #555;
}
    
.divider {
    margin: 40px auto;
    width: 50%;
    border-top: 1px solid #ccc;
}

/* Mantener las columnas alineadas en una fila hasta 930px */
@media (max-width: 920px) {
    .contact-section img {
        object-fit: cover;
        border: none;
        bottom: 0;
        box-shadow: none;
        height: 100%;
        left: 0;
        margin: 0;
        max-width: none;
        object-fit: cover;
        outline: none;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        max-width: 1200px;
        position: relative;
        overflow: hidden; /* opcional: oculta si se sale algo */
        vertical-align: middle;
        overflow: clip;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }


}


.blog {
    display: flex;
    max-width: 1200px;
    margin-top: 20px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    margin-bottom: 20px;
}

.blog-section {
    width: 75%;
    padding: 2rem;
    text-align: left; 
}

.blog-section img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

.blog-section p {
    color: #3a3a3a;
    line-height: 1.85714285714286;
}

.blog-section h2 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500; /* Letra más delgada */
    font-size: 40px;
}

.blog-section hr {
    border: none;
    border-top: 1px solid #ddd; /* mismo color que el borde del sidebar */
    margin-bottom: 1rem;
}

.blog-section h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500; /* Letra más delgada */
    font-size: 30px;
}

.blog-section ul {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #3a3a3a;
    line-height: 1.85714285714286;
    font-size: 18px;
}

.blog-section-completa {
    display: none;
  }


  .sidebar {
    width: 25%;
    padding: 2rem;
    background-color: #ffffff;
    border-left: 1px solid #ddd;
    text-align: left;
  }

  .sidebar input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .sidebar h3 {
    margin-top: 2rem;
    font-size: 1.1rem;
  }

  .sidebar ul {
    list-style: none;
    padding: 0;
  }

  .sidebar ul li {
    margin-bottom: 0.5rem;
  }

  .sidebar ul li a {
    text-decoration: none;
    color: #333;
  }

  .sidebar ul li a:hover {
    text-decoration: underline;
  }

/* Estilo normal: se ve en negrita y sin subrayado */
#volverIndice {
    font-weight: bold;       /* Aplica el estilo similar a <strong> */
    text-decoration: none;   /* Quita el subrayado por defecto */
    color: black;
    font-size: 16px;
  }
  
  /* Al pasar el mouse: se agrega el subrayado para dar feedback de hipervínculo */
  #volverIndice:hover {
    text-decoration: underline;
  }


@media (max-width: 768px) {
    .blog {
    flex-direction: column;
    padding: 0;
    }

    .sidebar {
    width: 75%; 
    }

    .sidebar {
    border-left: none;
    border-top: 1px solid #ddd; 
    }
}



.home {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    gap: 20px; /* Espaciado entre la imagen y el texto */
    z-index: 2; /* Asegura que esté por encima de .fondito */
    padding: 20px;
    justify-content: center;
    text-align: center;
}

.home-section {
    text-align: left; 
}

.home-section img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

.home-section p {
    color: #3a3a3a;
    line-height: 1.85714285714286;
    font-size: 18px;
}

.home-section h2 {
    align-items: center;
    text-align: center;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 40px;
}

.home-section hr {
    border: none;
    border-top: 1px solid #ddd; /* mismo color que el borde del sidebar */
    margin-bottom: 1rem;
}

.home-section h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-weight: 500; /* Letra más delgada */
    font-size: 30px;
}

.home-section ul {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #3a3a3a;
    line-height: 1.85714285714286;
    font-size: 18px;
}

.home-section li {
    font-family: 'Barlow Semi Condensed', sans-serif;
    color: #3a3a3a;
    line-height: 1.85714285714286;
    font-size: 20px;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
  }
  
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  
  .whatsapp-float img {
    width: 32px;
    height: 32px;
    filter: invert(1); /* Si el ícono es SVG oscuro, lo hace blanco */
  }


/* TESTIMONIOS ------------------------------------------------------ */
.testimonios {
  background-color: #f0f4f8;
  padding: 20px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 12px;
  margin: 30px auto;
  max-width: 700px;
  min-height: 240px; /* ajustá según el contenido más largo */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonios:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


.testimonio-box  {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 🔽 centra verticalmente */
  align-items: center;       /* ↔️ centra horizontalmente */
  height: 100%;              /* si el padre tiene altura */  
}

.testimonio-box p {
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
  transition: opacity 0.4s ease;
}

.testimonio-box span {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}



/* Posición de botones a los costados */
.controles {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* evita que el contenedor bloquee clics */

}

.controles button {
  background-color: transparent;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
  pointer-events: all; /* reactiva clics en los botones */
  transition: transform 0.2s ease;
}

.controles button:hover {
  transform: scale(1.3);
}

