/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/***********BODY ***********/

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

.top-bar {
    background-color: #0b0f3b;
    color: white;
    padding: 10px 0;
}
.cls_header_esloga{
    font-family: 'Great Vibes', cursive;
    font-size: clamp(0.8em, 1.8vw, 3.5em);
    color: #FFFFFF;
    font-weight: bold;
}

/* Estilos para los elementos del menú de navegación */
.navbar-nav .nav-link {
    font-size: 1.15rem; /* Aumenta el tamaño de la fuente, ajusta a tu gusto */
    padding-left: 1.2rem !important; /* Aumenta el espacio a la izquierda */
    padding-right: 1.2rem !important; /* Aumenta el espacio a la derecha */
    transition: color 0.3s ease; /* Suaviza la transición de color al pasar el ratón */
    /* Asegúrate de que el color por defecto no sea blanco si quieres un efecto distinto */
    color: white; /* Color por defecto del texto del menú */
}

/* Opcional: Estilo al pasar el ratón (hover) */
.navbar-nav .nav-link:hover {
    color: #a78a5a; /* Un color dorado/amarillo al pasar el ratón, similar al de warning */
}

/* Media query para pantallas más pequeñas si necesitas ajustar el espaciado en móviles */
@media (max-width: 991.98px) { /* Para pantallas más pequeñas que el tamaño lg de Bootstrap */
    .navbar-nav .nav-link {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        font-size: 1rem; /* Un poco más pequeño en móviles si es necesario */
    }
}

/* Estilo para la opción de menú dorada */
.navbar-nav .nav-link.text-gold-active {
    color: #a78a5a !important; /* El color dorado que usa Bootstrap para warning */
    /* Puedes usar un código de color dorado más específico si tienes uno, por ejemplo: */
    /* color: #FFD700 !important; */ /* Oro puro */
}

/* Opcional: Si la opción dorada no debe cambiar de color al pasar el ratón */
.navbar-nav .nav-link.text-gold-active:hover {
    color: #a78a5a !important; /* Mantiene el color dorado incluso al pasar el ratón */
}
.nav-link {
    color: white !important;
    font-weight: 500;
}

.cls_footer_fondo{
    background: url('../img/pagina/back_footer.png') center center / cover no-repeat;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 15px;
    padding-right: 15px;

}

/* Estilos para la barra dorada que podría estar arriba de la curva */
.footer-top-gold-bar {
    position: absolute;
    top: -2px; /* Alinea con el borde superior de la curva si no usas el borde en ::before */
    left: 0;
    right: 0;
    height: 4px; /* Altura de la barra dorada */
    background-color: #a78a5a; /* Color dorado */
    z-index: 2; /* Para asegurar que esté por encima de la curva */
}

/* Nuevos estilos para los bloques de contacto en el footer */
.footer-contact-block {
    background-color: rgba(87, 95, 183, 0.8); /* Fondo más oscuro y ligeramente transparente, ajusta la opacidad */
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Para que salga de la pantalla a la izquierda */
    margin-left: -15px; /* Igual al padding izquierdo del contenedor padre */
    margin-right: 100px;
}

.footer-contact-block i {
    color: #a78a5a; /* Color dorado para los íconos */
    font-size: 1.8rem; /* Tamaño de los íconos */
}

.footer-contact-block div {
    display: flex;
    flex-direction: column;
}

.footer-contact-block h6 {
    color: #a78a5a; /* Color dorado para los títulos */
    margin-bottom: 5px; /* Espacio debajo del título */
    font-size: 1.1rem; /* Ajusta el tamaño del título */
}

.footer-contact-block p {
    margin-bottom: 0; /* Elimina el margen inferior predeterminado de los párrafos */
    line-height: 1.4; /* Ajusta el interlineado */
}
@media (min-width: 768px) { /* Para pantallas medianas y grandes */
    .col-md-4:first-child { /* Selecciona la primera columna (donde están los contactos) */
        padding-left: 0; /* Elimina el padding izquierdo para que el bloque sobresalga */
    }
}

@media (max-width: 767.98px) { /* Para pantallas pequeñas */
    .footer-contact-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 10px 15px;
        margin-left: 0; /* No sobresale en pantallas pequeñas */
        margin-right: 0;
    }
    .footer-contact-block i {
        margin-bottom: 10px;
    }
}




.contact-bar {
    background-color: #c19a5b;
    color: white;
    padding: 12px 0;
    font-size: clamp(0.8em, 1.3vw, 3.5em);
}

.hero {
    background: url('/img/logo.png') center center / cover no-repeat;
    min-height: 500px;
    position: relative;
    color: white;
}
.hero-overlay {
    background: rgba(11, 15, 59, 0.9);
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}
.hero h2 {
    font-size: 2rem;
}
.btn-contacto {
    background-color: #c19a5b;
    color: white;
    border-radius: 20px;
    padding: 10px 30px;
    margin-top: 20px;
    font-size: 1.2rem;
}
.logo {
    max-height: 60px;
    margin-right: 10px;
}


/********************Experiencia legal************************/
.seccion-experiencia-legal {
    background-image: url('../img/fondos/fondo_nosotros_1.jpg'); /* Ruta de la imagen de fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cls_title_section {
    font-size: clamp(1.8em, 4vw, 3.5em); /* Ajusta el tamaño del título principal */
    font-weight: bold;
    color: #a78a5a !important; /* Asegura que el color dorado se aplique */
}

.cls_subtitle_section {
    font-size: clamp(1.5em, 3vw, 2.5em); /* Ajusta el tamaño del subtítulo */
    color: #0b0f3b; /* Color del texto para el subtítulo */
}


.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 15, 59, 0.8); /* Fondo azul oscuro semi-transparente */
    padding: 15px;
    color: white;
    text-align: center;
    border-bottom-left-radius: 8px; /* Para que coincida con el borde de la imagen */
    border-bottom-right-radius: 8px; /* Para que coincida con el borde de la imagen */
}

/* Para ajustar la imagen y su contenedor */
.position-relative img {
    width: 100%;
    height: auto;
    display: block;
}

/* Asegurar que la imagen tenga un borde redondeado */
.img-fluid.rounded {
    border-radius: 0.5rem !important; /* Ajusta el radio si lo necesitas más o menos redondeado */
}


/* Estilo para el botón de Más Información */
.btn-warning {
    background-color: #c19a5b !important; /* Dorado del botón */
    border-color: #c19a5b !important;
}

.btn-warning:hover {
    background-color: #a78a5a !important; /* Un tono un poco más oscuro o diferente al pasar el ratón */
    border-color: #a78a5a !important;
}


/***************** Estilo para la sección de Empresas ****************************************/
/* Sección Empresas */
.seccion-empresas {
    background: url('../img/pagina/fondo_nosotros_1.jpg') center center/cover no-repeat;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
}

.seccion-empresas .empresas-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #a78a5a;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.seccion-empresas .empresas-description {
    font-size: 1.2rem;
    color: #0b0f3b;
    text-align: center;
    margin-bottom: 40px;
}

.seccion-empresas .empresas-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.seccion-empresas .empresa-card {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(11,15,59,0.08);
    padding: 30px 24px;
    max-width: 340px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s;
}

.seccion-empresas .empresa-card:hover {
    box-shadow: 0 8px 24px rgba(11,15,59,0.18);
}

.seccion-empresas .empresa-icon {
    font-size: 2.5rem;
    color: #a78a5a;
    margin-bottom: 18px;
}

.seccion-empresas .empresa-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0b0f3b;
    margin-bottom: 10px;
    text-align: center;
}

.seccion-empresas .empresa-text {
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin-bottom: 12px;
}

.seccion-empresas .empresa-btn {
    background-color: #c19a5b;
    color: white;
    border-radius: 20px;
    padding: 8px 22px;
    font-size: 1rem;
    border: none;
    margin-top: 10px;
    transition: background 0.3s;
    cursor: pointer;
}

.seccion-empresas .empresa-btn:hover {
    background-color: #a78a5a;
}

@media (max-width: 991.98px) {
    .seccion-empresas .empresas-cards {
        gap: 18px;
    }
    .seccion-empresas .empresa-card {
        max-width: 100%;
        min-width: 180px;
        padding: 20px 10px;
    }
}

@media (max-width: 767.98px) {
    .seccion-empresas {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .seccion-empresas .empresas-title {
        font-size: 2em;
    }
    .seccion-empresas .empresas-cards {
        flex-direction: column;
        align-items: center;
    }
}


/* * Estilo para la sección de Contacto */
/* Estilos para la sección de agenda */

.agenda-section {
    background: url('../img/pagina/contacto.jpeg') center center/cover no-repeat;
    padding-top: 60px;
    padding-bottom: 60px;
}

.agenda-form-wrapper {
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(11,15,59,0.10);
    max-width: 600px;
    margin: 0 auto;
}

.agenda-form-wrapper h2 {
    color: #23295a;
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

.agenda-form-wrapper .form-control {
    border-radius: 12px;
    border: 1px solid #c19a5b;
    font-size: 1.1rem;
    padding: 12px 16px;
    background: #f8f7f4;
    color: #23295a;
    transition: border-color 0.2s;
}

.agenda-form-wrapper .form-control:focus {
    border-color: #a78a5a;
    box-shadow: 0 0 0 2px rgba(199,154,91,0.15);
    background: #fff;
    color: #23295a;
}

.agenda-form-wrapper select.form-control {
    cursor: pointer;
}

.agenda-form-wrapper .btn-primary {
    background: #23295a !important;
    border: none !important;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 0;
    transition: background 0.2s;
}

.agenda-form-wrapper .btn-primary:hover {
    background: #a78a5a !important;
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .agenda-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .agenda-form-wrapper {
        padding: 20px 10px;
    }
    .agenda-form-wrapper h2 {
        font-size: 2rem;
    }
}

/* Sección Constantes en nuestros ideales */
.constantes-ideales {
    background: url('../img/pagina/constantes.jpg') center center/cover no-repeat;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    /* Overlay para opacar la imagen de fondo */
}
.constantes-ideales::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55); /* Azul oscuro semi-transparente */
    z-index: 1;
    border-radius: inherit;
}
.constantes-ideales > * {
    position: relative;
    z-index: 2;
}

.constantes-ideales h2,
.constantes-ideales h5,
.constantes-ideales p {
    color: #000000;
}

.constantes-ideales .badge.bg-warning {
    background-color: #c19a5b !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(11,15,59,0.10);
}

.constantes-ideales .fw-bold {
    color: #000000 !important;
}

.constantes-ideales .btn-warning {
    background-color: #c19a5b !important;
    color: #fff !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 2px 12px rgba(11,15,59,0.08);
    transition: background 0.3s;
}

.constantes-ideales .btn-warning:hover {
    background-color: #a78a5a !important;
}

@media (max-width: 767.98px) {
    .constantes-ideales {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .constantes-ideales h2 {
        font-size: 1.3rem !important;
    }
    .constantes-ideales .btn-warning {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Sección Servicios Principales, Líderes y Opiniones */
.servicios-principales {
    background: linear-gradient(135deg, #f8f7f4 60%, #e9e5db 100%);
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.servicios-principales::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #c19a5b33 60%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.servicios-principales h2 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: bold;
    color: #23295a;
    margin-bottom: 32px;
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #c19a5b22;
    animation: fadeInDown 1s;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
}

.servicios-principales .card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(11,15,59,0.10);
    transition: box-shadow 0.3s, transform 0.3s;
    border: none;
    background: linear-gradient(120deg, #fff 80%, #f8f7f4 100%);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s;
}

.servicios-principales .card:hover {
    box-shadow: 0 12px 32px rgba(199,154,91,0.18);
    transform: translateY(-8px) scale(1.03);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

.servicios-principales .card-img-top {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: filter 0.4s;
    filter: grayscale(30%) brightness(0.95);
}

.servicios-principales .card:hover .card-img-top {
    filter: none;
}

.servicios-principales .card-body {
    padding: 22px 18px;
    position: relative;
}

.servicios-principales .card-title {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c19a5b;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.servicios-principales .card-title::after {
    content: "";
    display: block;
    margin: 8px auto 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #c19a5b 60%, #a78a5a 100%);
    border-radius: 2px;
    opacity: 0.7;
}

.servicios-principales .bg-dark {
    background-color: #23295a !important;
}

.servicios-principales .text-white {
    color: #fff !important;
}

.servicios-principales .rounded-bottom {
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.servicios-principales .text-warning {
    color: #c19a5b !important;
    font-size: 1.2rem;
}

.servicios-principales .card-text {
    font-size: 1.05rem;
    color: #23295a;
    margin-top: 8px;
    text-align: center;
    line-height: 1.5;
    opacity: 0.95;
}

.servicios-principales .fa-quote-left,
.servicios-principales .fa-quote-right {
    color: #a78a5a;
    font-size: 1.2em;
    margin: 0 2px;
    opacity: 0.8;
    animation: quotePulse 2s infinite alternate;
}

@keyframes quotePulse {
    from { transform: scale(1);}
    to { transform: scale(1.15);}
}

.servicios-principales .card-footer {
    background: none;
    border-top: none;
    text-align: center;
    padding: 12px 0 0 0;
}

.servicios-principales .btn-info {
    background: linear-gradient(90deg, #c19a5b 60%, #a78a5a 100%);
    color: #fff;
    border-radius: 18px;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 24px;
    border: none;
    box-shadow: 0 2px 8px #c19a5a22;
    transition: background 0.3s, transform 0.2s;
}

.servicios-principales .btn-info:hover {
    background: linear-gradient(90deg, #a78a5a 60%, #c19a5b 100%);
    transform: scale(1.07);
}

@media (max-width: 991.98px) {
    .servicios-principales .card-img-top {
        height: 140px;
    }
    .servicios-principales {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .servicios-principales .card-body {
        padding: 16px 8px;
    }
}

@media (max-width: 767.98px) {
    .servicios-principales h2 {
        font-size: 1.2rem !important;
    }
    .servicios-principales .card-img-top {
        height: 100px;
    }
    .servicios-principales .card-title {
        font-size: 1rem;
    }
    .servicios-principales .card-body {
        padding: 12px 6px;
    }
    .servicios-principales .card {
        border-radius: 12px;
    }
}

.nav-rama{
    background-color: #bbbbbb !important;
    color: #0b0f3b !important;
    border-top-right-radius: 15px !important;
    border-top-left-radius: 15px !important;
}
.nav-rama.active{
    background-color: #0b0f3b !important;
    color: #ffffff !important;
}
.tab-rama{
    background-color: #0b0f3b !important;
    color: #ffffff !important;
 }

.no-link-style {
    color: inherit; /* Esto hará que el color sea el mismo que el del elemento padre */
    text-decoration: none; /* Elimina cualquier subrayado */
    cursor: default; /* Cambia el cursor para que no sea una mano (indicador de enlace) */
}


a {
    color: inherit; /* Hereda el color del texto del elemento padre */
    text-decoration: none; /* Elimina el subrayado */
}

/* Opcional: Para enlaces visitados, activos y al pasar el ratón */
a:visited {
    color: inherit;
}

a:hover {
    color: inherit;
    text-decoration: none; /* Asegura que no aparezca al pasar el ratón */
}

a:active {
    color: inherit;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px; /* Tamaño del icono */
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    text-decoration: none; /* Asegura que el enlace no se subraye */
}

.whatsapp-float i {
    font-size: 35px; /* Ajusta el tamaño del icono de Font Awesome */
    line-height: 60px; /* Para centrar verticalmente si no usas flexbox */
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Opcional: Estilos para una burbuja de chat */
/* .whatsapp-bubble {
    position: fixed;
    bottom: 110px;
    right: 40px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 200px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
    display: none; // Inicialmente oculto
}

.whatsapp-bubble p {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #333;
}

.whatsapp-bubble a {
    display: block;
    background-color: #25d366;
    color: #FFF;
    padding: 8px 10px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85em;
    transition: background-color 0.2s;
}

.whatsapp-bubble a:hover {
    background-color: #1da851;
} */