/* Estilos generales */
body {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #1d2740;
    overflow-x: hidden; /* Evita el desbordamiento horizontal */
}

h1, h2, h3 {
    font-family: 'Gloock', serif;
    color: #c19b45;
    transition: color 0.3s ease; /* Transición suave para el color */
    font-weight: 600;
}

.gloock-regular {
    font-family: "Gloock", serif;
    font-weight: 400;
    font-style: normal;
  }
  
/* ---------------------------- */
/* Header */
/* ---------------------------- */
header {
    background-color: #1d2740; /* Color de fondo del navbar */
    padding: 15px 0;
}

.bg-dark {
    background-color: #1d2740 !important; /* Sobrescribe el color de fondo predeterminado de Bootstrap */
  }
  

.navbar {
    padding: 0; /* Eliminar el padding del navbar para ajuste fino */
    background-color: #1d2740;
}

.navbar-brand .logo {
    width: 250px;
    height: auto;
    margin: 8px auto;
}

.navbar-toggler {
    border-color: #c19b45; /* Color del borde del botón de menú */
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PHBhdGggZD0iTTE4IDF2Ny42ODNoLTcuNjg3di03LjY4M0gxeiIvPjwvc3ZnPg=='); /* Icono de hamburguesa */
}

.navbar-nav .nav-item .nav-link {
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-right: 32px;
   
}

.navbar-nav .nav-item .nav-link:hover {
    color: #c19b45; /* Color al pasar el ratón */
}

.btn-primary {
    background-color: #c19b45;
    border-color: #c19b45;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0d1221;
    border-color: #0d1221;
}

.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
}




/* ===================== */
/* Hero Section */
/* ===================== */

.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.hero-content {
    display: flex;
    height: 100%;
    transition: transform 2.5s ease-in-out; /* Tiempo optimizado para la transición */
    animation: slideStay 10s infinite; /* Animación que controla el cambio de diapositivas */
}

.hero-slide {
    flex: 1 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 2s ease-in-out; /* Transición más larga para una mejor experiencia */
}

.hero-slide.active {
    opacity: 1;
    transition: opacity 2s ease-in-out; /* Transición suave al activar */
    animation: keepActive 7s ease-in-out;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    transition: transform 0.3s ease; /* Animación para el tamaño de fuente */
    text-shadow: 5px 2px 5px #090e1a;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    width: 80%;
}

.hero-content .cta-btn {
    background-color: #c19b45;
    padding: 15px 30px; /* Ajusta el padding para mayor consistencia y espacio */
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center; /* Centra el texto dentro del botón */
    display: inline-flex; /* Usa flexbox para centrar el texto */
    align-items: center; /* Alinea verticalmente el contenido */
    justify-content: center; /* Centra el contenido horizontalmente */
    transition: background-color 0.3s ease; /* Transición suave para el color de fondo */
    box-sizing: border-box; /* Asegura que el padding se incluya en el tamaño total */
    line-height: 1.5; /* Mejora la legibilidad del texto en varias líneas */
    max-width: 800px; /* Ajusta el ancho máximo del botón si es necesario */
    overflow-wrap: break-word; /* Evita que el texto se desborde del botón */
    white-space: nowrap; /* Evita el wrapping del texto */
}

.hero-content .cta-btn:hover {
    background-color: #1d2740;
}

.hero-nav {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.hero-dot {
    height: 20px;
    width: 20px;
    margin: 0 10px;
    background-color: #cbcdcc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Animaciones suaves */
}

.hero-dot.active {
    background-color: #c19b45;
    transform: scale(1.3); /* Efecto de escala para el punto activo */
}


/* ---------------------------- */
/* Clases para cada slide */
/* ---------------------------- */
.item-1 {
    background-image: url('img/slide1.jpg');
}

.item-2 {
    background-image: url('img/slide2.jpg');
}

.item-3 {
    background-image: url('img/slide3.jpg');
}



/* ---------------------------- */
/* Servicios */
/* ---------------------------- */

.services {
    background-color: #f9f9f9;
    padding: 50px 0;
    min-height: 400px;
}

.services-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.service-card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-card {
    height: 400px;
    width: 30%;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.05);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d; /* Asegura que el efecto 3D funcione */
}

.service-card.active .service-card-inner {
    transform: rotateY(180deg); /* Gira la tarjeta al hacer clic */
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Oculta la cara posterior cuando la tarjeta gira */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.service-card-front {
    background-color: #ffffff;
    color: #1d2740;
}

.service-card-back {
    background-color: #c19b45;
    color: white;
    transform: rotateY(180deg); /* Coloca la parte trasera girada por defecto */
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}


.service-card-front h3 {
    font-size: 1.3rem;
    margin: 10px 0;
}

.service-card-back ul {
    list-style: none;
    padding: 0;
}

.service-card-back ul li {
    margin-bottom: 10px;
}

.service-card-row.hidden {
    display: none;
}

.detallesServicios{
    font-size: small;
    text-decoration: underline;
}

/* ---------------------------- */
/* Botón de Cargar más servicios */
/* ---------------------------- */
.load-more-btn {
    display: block;
    margin: 8px auto;
    padding: 10px 20px;
    background-color: #c19b45;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    font-weight: 500;
}

.load-more-btn:hover {
    background-color: #1d2740;
}



/*------------------------------------------------------*/
/* Estilos generales para la sección NOSOTROS */
/*------------------------------------------------------*/

.u-section-1 {
    padding: 50px 0;
    background-color: #fff; /* Color de fondo */
}

.u-sheet-1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.u-layout {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px; /* Espacio entre las dos filas */
}

.u-layout-row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.u-layout-cell {
    flex: 1;
    padding: 20px;
}

.u-left-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.u-image-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 5px solid #c19b45; /* Borde para la imagen */
}

.u-image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.u-text-1 {
    font-size: 42px;
    font-family: 'Gloock', serif;
    font-weight: 700;
    color: #c19b45;
    margin-top: 1px;
}

.tituloAbogacia{
    color: #1d2740;
}

.u-right-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.u-text-2 p{
    font-size: 18px;
    line-height: 1.5;
    color: #1d2740;
    text-align: justify;
    margin-bottom: 20px;
}

.cv-btn {
    background-color: #c19b45;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cv-btn:hover {
    background-color: #1d2740;
    color: white;
    text-decoration: none;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    flex: 1;
    margin: 10px;
    margin-bottom: 32px;
    padding: 20px;
    background-color: #fff; /* Ejemplo de color de fondo */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left; /* Alinear el texto a la izquierda */
}

.card-number {
    font-family:'Bavex', serif;
    font-size: 32px;
    color: #c19b45; /* Ejemplo de color */
}

.card-text {
    font-size: 21px;
    font-weight: 300;
    color: #1d2740;
    margin-top: 10px;
    line-height: 1.8rem;
}


/* Estilos para el modal */
/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro detrás del modal */
}

/* Estilos del modal (para dispositivos de escritorio) */
.modal-content {
    background-color: #1d2740;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    height: 90%;
    position: relative;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.close-btn {
    color: #c19b45;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
}

iframe {
    border: 5px solid #c19b45;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    background-color: #1d2740;
    width: 100%;
    height: 100%;
}

/* Oculta el modal en dispositivos con un ancho máximo de 768px */
@media (max-width: 768px) {
    .modal {
        display: none; /* Oculta el modal en pantallas de hasta 768px */
    }
}

/* Oculta el modal en dispositivos con un ancho máximo de 320px */
@media (max-width: 320px) {
    .modal {
        display: none; /* Oculta el modal en pantallas menores a 320px */
    }
}

/* BANNER MAPA*/
.map-banner {
    background-color: #fff; /* Fondo para que combine con la paleta de colores */
    padding: 20px 0;
    text-align: center;
}

.map-container {
    width: 75%;
    display: flex;
    margin: 0 auto;
    border: 1px solid #c19b45; /* Borde dorado alrededor del mapa */
    border-radius: 2px;
    overflow: hidden; /* Para mantener el mapa dentro del contenedor */
}

.map-container iframe {
    width: 50%;
    height: 250px;
    border: none;
}


/* Footer */
.footer {
    background-color: #1d2740;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    display: inline;
    margin: 0 10px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer a:hover {
    color: #c19b45;
}

.social i {
    font-size: 1.5rem;
    margin: 0 10px;
    margin-bottom: 16px;
}


/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Transiciones suaves para el botón */
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease; /* Animación suave para el icono */
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1); /* Efecto de escala al pasar el ratón */
}

/* Contact Section */
.contact-section {
    background: url('img/background_textura_SS_grueo.svg') no-repeat center right;
    padding: 60px 0px;
    background-color: #fff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 15px;
}

.contact-title {
    font-size: 2.5rem;
    color: #c19b45; 
    margin-bottom: 40px;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    
}

.contact-form {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    /*background-color: #ffff; /* Fondo blanco para el formulario */
    padding: 0 auto;
    border-radius: 15px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    color: #c19b45; 
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c19b45; /* Dorado */
    outline: none;
}

.submit-button {
    background-color: #c19b45; /* Dorado */
    color: #fff; /* Blanco */
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #1d2740; /* Azul oscuro */
    transform: scale(1.05);
    color: white;
}

.contact-wrap {
    background-color: transparent; /* Sin fondo para el formulario */
}

.info-wrap {
    background-color: #1d2740; /* Fondo blanco para la sección de información */
    border-radius: 3px; /* Bordes redondeados si deseas */
    padding: 20px; /* Añadir padding si se desea separación interna */
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px; /* Espacio entre el ícono y el texto */
    padding: 15px;
    border-radius: 10px;
    text-align: center; /* Alineación del texto a la izquierda */
   
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-icon img {
    width: 40px;
    height: 40px;
}

.info-details {
    flex: 1; /* Ocupa el espacio restante */
}

.info-details h5 {
    font-size: 16px;
    color: white; 
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.info-details p {
    font-size: 12px;
    color: inherit;
    margin: 0;
    text-align: left;
    font-kerning:normal;
    text-decoration: none;
}

.text-center {
    text-align: center; /* Centrar texto en el título de información de contacto */
}


/* PANTALLA SPASH*/

/* Splash Screen */
/* Estilo general para la pantalla de bienvenida */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1d2740; /* Fondo del splash screen */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.splash-content {
    text-align: center;
    animation: fadeIn 1s ease-in-out, fadeOut 1.5s ease-in-out 2.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.splash-logo {
    width: 100%; /* Ajusta el tamaño del logo según tus necesidades */
    height: auto;
    margin-bottom: 20px;
    animation: logoBounce 1.5s ease-in-out infinite;
}

.splash-title {
    color: #ffffff; /* Color del texto */
    font-size: 64px;
    font-weight: 200;
    margin: 0;
    opacity: 0;
    animation: textFadeIn 1.5s ease-in-out 0.5s forwards;
}

/* Mostrar solo el logo de escritorio en pantallas grandes */
.splash-logo-desktop {
    display: block;
}

.splash-logo-mobile {
    display: none;
}
/* Mostrar solo el logo móvil en pantallas pequeñas */
@media (max-width: 767px) {
    .splash-logo-desktop {
        display: none;
    }

    .splash-logo-mobile {
        display: block;
        
    }
}


/* Animaciones */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes textFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* NUESTROS SERVICIOS */

/* Para dispositivos móviles */
@media (min-width: 420px) and (max-width: 767px) {

    /* Ajustes generales de la sección de Servicios */
    .services {
        padding: 30px 0;
    }

    /* Ajustes del contenido HERO */
    .hero-content h1 {
        font-size: 2.3em;
    }

    .hero-content p {
        font-size: 1.6em;
    } 

    .hero-content .cta-btn {
        font-size: 28px;
        font-weight: 250px;
    }

    /* Ajuste del layout de las cards para pantallas pequeñas */
    .service-card-row {
        flex-direction: column; /* Cambia la dirección a vertical */
    }

    /* Ajustes específicos para las tarjetas de servicios */
    .service-card {
        width: 100%; /* Asegura que las tarjetas ocupen el 100% del ancho */
        margin-bottom: 20px; /* Espacio entre tarjetas */
        font-size: 1.5rem; /* Tamaño de texto ajustado para móviles */
        overflow: hidden;
    }

    /* Ajuste del tamaño de los títulos dentro de las cards */
    h3 {
        font-size: 1.8rem;
        margin-bottom: 31px;
    }

    /* Ajuste del tamaño de los íconos dentro de las cards */
    .service-icon {
        width: 70px;
        height: auto;
    }

    /* Ajustes de la sección de contacto */
    .contact-section .form-control {
        justify-content: center;
        font-size: 1.6rem;
    }

    .contact-section {
        background: url('img/background_textura_SS_grueo.svg') no-repeat top right;
        background-size: 75%;
        padding-right: -15px;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-title {
        text-align: center;
        font-size: 3.5rem;
     }

    .info-wrap p {
        font-size: 1.5rem;
    }

    .info-wrap h5 {
        font-size: 1.5rem;
    }

    .info-icon img {
        width: 70px;
        height: auto;
    }

    /* Botón de contacto */
    .form-group .btn {
        font-size: 1.6rem;
    }

    /* Ajustes para la disposición de contacto */
    .contact-info, .contact-form {
        width: 100%; /* Asegura que los elementos ocupen todo el ancho */
    } 

    /* Ajustes de imagen */
    .u-image-1 {
        width: 200px;
        height: 200px;
        left: 20px;
    }

    /* Ajustes del grupo que acompaña a la imagen */
    .u-group-1 {
        padding-left: 240px;
    }

    /* Ajustes de diseño en cards */
    .cards-container {
        display: block;
    }

    /* Ajustes adicionales para el layout */
    .tituloAbogacia {
        font-size: 24px; /* Ajusta el tamaño del texto del título */
    }

    .u-text-2 {
        font-size: 26px; /* Reduce ligeramente el tamaño del texto descriptivo */
        text-align: justify; /* Centra el texto en móviles para mejor legibilidad */
        line-height: 2rem;
        margin: 0px 16px 16px 8px;
    }

    .u-layout-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .u-left-part, .u-right-part {
        width: 100%;
    }

    .u-image-1 {
        margin-bottom: 20px; /* Espacio entre la imagen y el texto */
    }

    .u-text-1, .u-text-2, .cv-btn {
        text-align: center;
    }
    .cv-btn{
        font-size: 28px;
        margin-top: 16px;
    }

    /* Cambios en el layout row */
    .u-layout-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cv-btn {
        font-size: 28px;
        margin-top: 16px;
    }

    /* Ajustes para el botón "Cargar más" */
    .load-more-btn {
        font-size: 28px;
    }

    /* Ajustes del modal */
    .modal-content {
        margin: 10% auto;
    }

    .splash-content {
        width: 70%;
        height: 100hv;
        }
    
    .splash-logo {
        width: 350px; /* Ajusta el tamaño del logo según tus necesidades */
        height: auto;
        margin-bottom: 20px;
        animation: logoBounce 1.5s ease-in-out infinite;
    }
    
    .splash-title {
        color: #ffffff; /* Color del texto */
        font-size: 42px;
    }

    .splash-logo-desktop {
        display: none;
    }
    .splash-logo-mobile {
        display: block;
    }
}



/* ---------------------------- */
/* Para dispositivos móviles pequeños */
/* ---------------------------- */
@media (max-width: 419px) {
    
    /* Ajustes generales de la sección de Servicios */
    .services {
        padding: 20px 0;
    }

    /* Ajustes del contenido HERO */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .hero-content .cta-btn {
        font-size: 21px;
        font-weight: 200;
        width: 300px;
        white-space: wrap; /* Evita el wrapping del texto */
    }

    /* Ajuste del layout de las cards para pantallas muy pequeñas */
    .service-card-row {
        flex-direction: column; /* Vertical para pantallas pequeñas */
        padding: 0 10px;
    }

    /* Ajustes específicos para las tarjetas de servicios */
    .service-card {
        width: 100%; /* Ocupan todo el ancho */
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

    /* Ajuste del tamaño de los títulos dentro de las cards */
    h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    /* Ajuste del tamaño de los íconos dentro de las cards */
    .service-icon {
        width: 50px;
        height: auto;
    }

    /* Ajustes de la sección de contacto */
    .contact-section .form-control {
        justify-content: center;
        font-size: 1.2rem;
    }

    .contact-section {
        background-size: 70%;
        background: url('img/background_textura_SS_grueo.svg') no-repeat top right;
        padding-right: 10px;

    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .info-wrap p {
        font-size: 1.3rem;
    }

    .info-wrap h5 {
        font-size: 1.3rem;
    }

    .info-icon img {
        width: 50px;
    }

    /* Botón de contacto */
    .form-group .btn {
        font-size: 1.4rem;
    }

    /* Ajustes para la disposición de contacto */
    .contact-info, .contact-form {
        width: 100%; /* Elementos ocupan todo el ancho */
    }

    /* Ajustes de imagen */
    .u-image-1 {
        width: 120px;
        height: 120px;
        left: 10px;
    }

    /* Ajustes del grupo que acompaña a la imagen */
    .u-group-1 {
        padding-left: 130px;
    }

    /* Ajustes de diseño en cards */
    .cards-container {
        display: block;
    }

    /* Ajustes adicionales para el layout */
    .tituloAbogacia {
        font-size: 42px;
    }

    .u-text-2 {
        font-size: 20px;
        line-height: 1.5rem;
        margin: 0px 8px 8px 4px;
    }

    .u-layout-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .u-left-part, .u-right-part {
        width: 100%;
    }

    .u-image-1 {
        margin-bottom: 15px;
    }

    .u-text-1, .u-text-2, .cv-btn {
        text-align: center;
    }
    
    .cv-btn {
        font-size: 20px;
        margin-top: 10px;
    }

    /* Ajustes para el botón "Cargar más" */
    .load-more-btn {
        font-size: 20px;
    }

    /* Ajustes del modal */
    .modal-content {
        margin: 10% auto;
    }

    .splash-content {
        width: 90%;
    }

    .splash-logo {
        width: 200px;
        margin-bottom: 15px;
    }

    .splash-title {
        font-size: 28px;
    }

}



/* ---------------------------- */
/* Ajustes específicos para el toggle button */
/* ---------------------------- */
@media (max-width: 992px) {
    .navbar-nav {
        margin-top: 10px;
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .navbar-nav .nav-item .nav-link {
        font-size: 18px;
    }

    .btn.btn-primary.ml-3 {
        margin-right: 48px;
        margin-bottom: 16px;
        text-align: center;
    }

    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }

    .navbar-brand .logo {
        width: auto;
        height: 64px;
        margin: 8px auto;
        margin-left: 16px;
    }

    .navbar-toggler{
        margin-right: 16px;
    }
}
