/* Declaración de variables CSS */
:root {
    /* BODY*/
    --color-background-light: #ffffff;
    --color-background-dark: #f7f7f7;

    --color-text-light: #000000;
    --color-text-dark: rgb(38, 153, 159);

    /* Encabezado*/
    --color-backgroundBarra-light: linear-gradient(to right, #051854, #082fa8, #051854);
    --color-backgroundBarra-dark: #0d718f;

    --color-textBarra-light: silver;
    --color-textBarra-dark: white;

    /* MENU*/
    --color-textm_primario-light: silver;
    --color-textm_primario-dark: rgb(38, 153, 159);

    --color-backgroundm_primario-light: grey;
    --color-backgroundm_primario-dark: white;

    --color-font-weightm_primario_active-light: ;
    --color-font-weightm_primario_active-dark: 900;

    --color-backgroundm_primario_active-light: linear-gradient(silver, 50%, #454545);
    --color-backgroundm_primario_active-dark: white;

    --color-colorm_primario_hover-light: blue;
    --color-colorm_primario_hover-dark: #0d718f;

    --marca-light: 4vw;
    --marca-dark: 40vw;

    /* BUTTON*/
    --button-color-background-light: linear-gradient(to right, #051854, #082fa8, #051854);
    --button-color-background-dark: white;

    --button-color-backgroundHover-light: linear-gradient(to right, black, silver, black);
    --button-color-backgroundHover-dark: white;
}

/* Estilo por defecto */
body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
    background-color: var(--color-background-light);
    color: var(--color-text-light);
}

.barra {
    height: 2vw;
    width: 100%;
    top: 0vw;
    font-size: 1vw;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--color-backgroundBarra-light);
    color: var(--color-textBarra-light);
}

.m_primario {
    display: block;
    /* Muestra el menu principal*/
    /* arriba y abajo | izquierda y derecha */
    padding: 1vw 0vw;
    background: var(--color-backgroundm_primario-light);
    color: var(--color-textm_primario-light);
}

li {
    margin: 0 1.5vw;

}

li .active {
    padding: 10px 20px;
    background: var(--color-backgroundm_primario_active-light);
    color: var(--color-textm_primario-light);
    font-weight: var(--color-font-weightm_primario_active-light);
    border: none;
    border-radius: 1px;
    cursor: pointer;
}

body.dark-mode li .active {

    background: var(--color-backgroundm_primario_active-dark);
    color: var(--color-textm_primario-dark);
    font-weight: var(--color-font-weightm_primario_active-dark);

}

li a {
    text-decoration: none;
    color: var(--color-textm_primario-light);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    font-size: 1rem;
    text-transform: uppercase
}

body.dark-mode li a {
    color: var(--color-textm_primario-dark);
}

li a:hover {
    color: var(--color-colorm_primario_hover-light);
    font-size: 1rem;
    text-transform: uppercase
}

body.dark-mode li a:hover {
    color: var(--color-colorm_primario_hover-dark);
}

li a::after {

    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-colorm_primario_hover-light);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;

}

body.dark-mode li a::after {
    background-color: var(--color-colorm_primario_hover-dark);
}

li a:hover::after {
    transform: scaleX(1);

}

/* Estilo para el modo oscuro */
body.dark-mode {
    background-color: var(--color-background-dark);
    color: var(--color-text-dark);
}

/* Aplicar estilos oscuros a la barra cuando el body tiene dark-mode */
body.dark-mode .barra {
    background: var(--color-backgroundBarra-dark);
    color: var(--color-textBarra-dark);
}

header a {
    color: var(--color-textBarra-light);
}

body.dark-mode header a {
    color: var(--color-textBarra-dark);
}

body.dark-mode .m_primario {
    background: var(--color-backgroundm_primario-dark);
    color: var(--color-textm_primario-dark);
}

.cont_barra {
    padding: 3px;
}

button {
    background-color: rgba(255, 255, 255, 0);
    /* Fondo negro */
    color: var(--color-colorm_primario_hover-light);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 2px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 25px;
    background: var(--button-color-background-light);
    margin: 15px 0px;
}

body.dark-mode button {
    background: var(--button-color-background-dark);
    color: var(----color-colorm_primario_hover-dark);
}

button:hover {
    background: var(--button-color-backgroundHover-light);
    /* Fondo oscuro al pasar el cursor */
}

body.dark-mode button:hover {
    background: var(--button-color-backgroundHover-dark);
    /* Fondo oscuro al pasar el cursor */
}


/* color de botones de estilos*/
#button_0 {
    background: linear-gradient(to right, #051854, #082fa8, #051854);
    border-radius: 50%;
    padding: 1px 10px;
}

#button_1 {
    background: #0d718f;
    border-radius: 50%;
    padding: 1px 10px;
}

#button_1:hover {
    background: white;
    border: 1px solid black;
    color: black;
}

.titulo {
    font-family: "FreightBigProBook", sans-serif;
    font-weight: 300;
    font-size: 3.6532361537rem;
    line-height: 3.6532361537rem;
    color: #353535;
}

.titulo1 {
    font-family: "FreightBigProBook", sans-serif;
    font-weight: 300;
    font-size: 2.2806973457rem;
    color: var(--color-textm_primario-light);
}

body.dark-mode .titulo1 {
    color: var(--color-textm_primario-dark);
}

/* Dentro de tu archivo de estilos CSS */
.language-selector {
    position: fixed;
    top: 0vw;
    right: 9px;
    font-size: 1vw;
    z-index: 10;
}

#languageSelect {
    padding: 5px;
    font-size: 1vw;
    z-index: 11;
}

.datos_tabla {
    width: 95%;
    height: 470px;
    overflow: auto;
}

.datos_tabla_config {
    height: 370px;
    overflow: auto;
}

.catalogo {
    margin: 0;
    padding: 15px;
    width: 100%;
    float: none;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalogo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .catalogo {
    background: #2a2a2a;
    /* Darker card background */
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.05);
}

.catalogo img {
    width: 100%;
    object-fit: cover;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.registro {
    padding-left: 1rem;
}

.img-fluid {
    width: 100%;
}

#flex-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 90%;
    margin: 0 auto;
    padding: 5% 0;
    justify-content: center;
}

#flex-container-encabezado {
    display: -webkit-flex;
    -webkit-flex-direction: row;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

#flex-container>.formulario_registro {
    -webkit-flex: auto;
    flex: auto;
    max-width: 50%;
}

#flex-container>.datos_registrados {}

.icon {
    list-style-image: url('img/bulding.svg');
}

/* Agrega el siguiente estilo para los iconos de bandera */
[data-icon]:before {
    font-family: 'Flag-icon';
    content: attr(data-icon);
    /* Resto de estilos para los iconos (tamaño, colores, etc.) */
}


#image-container {
    width: 100%;
    height: 400px;
    display: none;

    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
    margin: auto;
}

#image-container.show {
    display: block;
    opacity: 1;
}

#image-container.hide {
    opacity: 0;
}

a {

    text-decoration: none;
}

a:link {}

a:visited {}

a:focus {}

a:hover {}

a:active {}

p {
    margin: 10px 0;
}

.marca {
    height: 5vw;
    align-items: left;
    padding-left: var(--marca-light);
    margin: 5px;
    transition: background-color 0.3s, color 0.3s;
}

body.dark-mode .marca {
    padding-left: var(--marca-dark);
}

.marca_footer {
    height: 3vw;
    align-items: right;
    padding-left: 80vw;

}



header {

    /*  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)),url("img/marca sin color.png");
    background-size: 5%;
    color: #fff;
    padding: 10px;*/

    display: flex;
    justify-content: left;
    background-color: rgb(255 255 255 / 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.encabezado0 {
    position: sticky;
    top: 3.5vw;
    z-index: 10;
    background-color: white;
    /*  acomoda en una misma fila todo*/

}

.encabezado1 {
    text-align: center;
    padding-top: 5.6102329749rem;
}

.portada img {
    height: auto;
    width: 100%;
}

/*estilos de carrusel de catalogo*/
/* Estilo del contenedor de las imágenes */
.swiper-slide {
    display: flex;
    flex-direction: column;
    /* Coloca el texto debajo de la imagen */
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 10%;
    /* Altura total de cada slide */
    overflow: hidden;
    /* Esconde el zoom fuera del contenedor */
    padding: 5px 0;
}

/* Ajusta las imágenes para que se adapten al contenedor */
.swiper-slide img {
    width: 80%;
    height: 300px;
    /* Usa el 70% de la altura para la imagen */
    object-fit: contain;
    /* Recorta la imagen si es necesario sin deformarla */
    background-color: white;
    transition: transform 0.5s ease;
    /* Suaviza la transición del zoom */
}

/* Efecto zoom cuando el mouse está sobre la imagen */
.swiper-slide:hover img {
    transform: scale(1.1);
    /* Aumenta el tamaño de la imagen al 110% */
}

/* Estilo del contenedor del texto */
.product-info {
    text-align: center;
    height: 5%;
    /* Usa el 30% de la altura para el texto */
    padding-top: 5px;
    color: var(--color-textm_primario-light);
}

.product-info h3 {
    font-size: 18px;
    margin: 5px 0;
    color: var(--color-textm_primario-light);
}

.product-info p {
    margin: 2px 0;
    font-size: 14px;
    color: var(--color-textm_primario-light);

}

body.dark-mode .product-info {
    color: var(--color-textm_primario-dark);
}

body.dark-mode .product-info h3 {
    color: var(--color-textm_primario-dark);
}

body.dark-mode .product-info p {
    color: var(--color-textm_primario-dark);

}

.product-info .price {
    font-size: 16px;
    font-weight: bold;

}

.arrow {
    display: flex;
    max-width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    margin-bottom: 130px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #656565;
    cursor: pointer;
    box-sizing: border-box;
}

header h1 {
    font-size: 1vw;
    margin: 0;
}


/*menu principal*/
nav {}



ul-m {
    list-style: none;
    display: flex;
    justify-content: left;
    /* arriba y abajo | izquierda y derecha */
    justify-content: center;
    align-items: center;
    text-align: center;
}



.m_segundario {
    display: none;
    /* oculta el menu segundario*/
}

.vertical-text {
    writing-mode: vertical-rl;
    -moz-transform: scale(-1, -1);
    -webkit-transform: scale(-1, -1);
    -o-transform: scale(-1, -1);
    -ms-transform: scale(-1, -1);
    transform: scale(-1, -1);
    text-orientation: mixed;
}

.video {
    background-color: black;
    background-attachment: scroll;
    background-size: cover;
    color: #fff;
    /* arriba | izquierda y derecha | abajo */
    padding: 0.5vw 1vw 0.5vw;
    justify-content: center;
    align-items: center;
    text-align: justify;
}


.enunciado {
    /* background-image: url('img/torno.png');  
    background-attachment: scroll;
    background-size: cover;
background-repeat: no-repeat;*/


    /* arriba | izquierda y derecha | abajo */
    padding: 1vw 1vw 1vw;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.enunciado p,
h1,
h2,
ul {
    font-size: 2vw;
}

.enunciado2 {
    /* background-image: linear-gradient(0.50turn, rgba(0,0,0,0), #fff, #fff , #fff , #fff , #fff, #fff , #fff , #fff  , rgba(0,0,0,0)),
                  url("img/marca sin color.png");
                  background-size: 5%;*/

    /* arriba | izquierda y derecha | abajo */
    padding: 2vw 12vw 1vw;
    justify-content: center;
    align-items: center;
    text-align: justify;
    background-color: white;
}

/* ============================================================ */
/* Mejoras visuales del sitio público                            */
/* ============================================================ */
body {
    background: linear-gradient(180deg, #f3f6fb 0%, #edf5ff 100%);
    color: #162338;
}

* {
    box-sizing: border-box;
}

a,
button,
input,
select {
    transition: all 0.25s ease;
}

.barra {
    height: auto;
    min-height: 42px;
    font-size: 0.92rem;
    background: linear-gradient(90deg, #061b43 0%, #0d2b6d 40%, #0a2d73 100%);
    box-shadow: 0 6px 16px rgba(7, 23, 54, 0.18);
}

.cont_barra {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0.7rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cont_barra a {
    color: #edf5ff;
    opacity: 0.95;
    font-weight: 500;
}

.cont_barra a:hover {
    opacity: 1;
    color: #ffffff;
}

header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(9, 30, 61, 0.08);
}

#flex-container-encabezado {
    max-width: 1460px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.marca {
    width: 260px;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    
}

.buscador {
    border-collapse: separate;
    border-spacing: 0;
}

.buscador input {
    border: 1px solid rgba(56, 84, 121, 0.18);
    border-left: none;
    border-radius: 0 16px 16px 0;
    background: #f7f8fb;
    color: #1a2b3d;
    height: 46px;
    width: min(320px, 40vw);
    padding: 0 1rem;
    outline: none;
    font-size: 0.96rem;
}

.buscador input:focus {
    border-color: rgba(9, 72, 162, 0.4);
    box-shadow: 0 0 0 4px rgba(9, 72, 162, 0.08);
    background: #ffffff;
}

.boton_busca {
    border: 1px solid rgba(9, 72, 162, 0.2);
    background: linear-gradient(135deg, #0f204e 0%, #1448a4 100%);
    border-radius: 16px 0 0 16px;
    color: #fff;
    height: 46px;
    width: 52px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 12px 24px rgba(17, 47, 99, 0.16);
}

.boton_busca:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(17, 47, 99, 0.2);
}

.m_primario {
    background: #ffffff;
    border-bottom: 1px solid rgba(19, 35, 71, 0.08);
    padding: 0.35rem 0 0.8rem;
}

.m_primario nav {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

ul-m {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

li {
    margin: 0;
}

li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a2b3d;
    background: transparent;
    text-transform: uppercase;
    font-size: 0.75rem;
}

li a::after {
    display: none;
}

li a.active,
li a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #0b1c45 0%, #143d91 100%);
    box-shadow: 0 12px 26px rgba(17, 47, 99, 0.14);
}

.portada {
    position: relative;
    max-width: 1460px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

.portada img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(16, 34, 61, 0.18);
    filter: saturate(1.08) contrast(1.08);
}

.hero-overlay {
    position: absolute;
    left: 3rem;
    bottom: 2.5rem;
    z-index: 2;
    max-width: 540px;
    padding: 1.5rem 1.7rem;
    border-radius: 24px;
    background: rgba(5, 15, 35, 0.46);
    backdrop-filter: blur(4px);
    color: #fff;
    box-shadow: 0 18px 40px rgba(16, 28, 50, 0.24);
}

.eyebrow,
.eyebrow-section {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    font-weight: 700;
    color: #dfeaff;
    margin-bottom: 0.7rem;
}

.eyebrow-section {
    color: #0d3a8d;
    margin-bottom: 0.35rem;
}

.hero-overlay h1 {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3.4rem);
    line-height: 1.06;
    color: #ffffff;
    font-weight: 800;
}

.hero-overlay p {
    margin: 0.9rem 0 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(90deg, #0f204e, #1f54c3);
    color: #fff;
    box-shadow: 0 14px 30px rgba(26, 79, 175, 0.25);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(26, 79, 175, 0.35);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.encabezado1 {
    max-width: 1460px;
    margin: 2.2rem auto 0;
    padding: 0 1rem;
    text-align: center;
}

.titulo {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 4rem);
    line-height: 1.1;
    color: #0d1f42;
    margin-top: 0.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

#presentación,
#Productos_general {
    max-width: 1460px;
    margin: 2.4rem auto 0;
    padding: 0 1rem;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 1.75rem;
}

.swiper-slide {
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(145, 165, 190, 0.22);
    border-radius: 24px;
    overflow: hidden;
    padding: 0.8rem;
    box-shadow: 0 16px 30px rgba(18, 32, 56, 0.06);
}

.swiper-slide img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f8ff, #edf3fb);
}

.product-info {
    text-align: left;
    padding: 0.9rem 0.2rem 0;
    color: #253956;
}

.product-info h3 {
    font-size: 1.08rem;
    margin: 0 0 0.4rem;
    color: #13284f;
}

.product-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
    color: #4a5d75;
}

.product-info .price {
    margin-top: 0.5rem;
    font-size: 1.06rem;
    font-weight: 800;
    color: #123b8d;
}

#flex-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.4rem;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

.catalogo {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(119, 138, 165, 0.14);
    border-radius: 22px;
    padding: 1rem;
    box-shadow: 0 12px 26px rgba(18, 31, 52, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
}

.catalogo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 0.8rem;
}

.catalogo a.titulo1 {
    color: #122c56;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.catalogo:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(18, 31, 52, 0.12);
}

footer {
    background: linear-gradient(90deg, #061a3c 0%, #0d2d6e 100%);
    color: #edf5ff;
    padding: 2rem 1rem 3rem;
    margin-top: 3rem;
    text-align: center;
}

footer p,
footer a,
footer a:link,
footer a:visited,
footer a:active {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

footer a:hover {
    color: #eaf3ff !important;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cont_barra {
        font-size: 0.8rem;
        padding: 0.7rem 0.8rem;
    }

    #flex-container-encabezado {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 1rem;
    }

    .marca {
        width: 200px;
    }

    .buscador input {
        width: min(220px, 52vw);
    }

    .portada img {
        height: 420px;
    }

    .hero-overlay {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.2rem;
        max-width: calc(100% - 2.4rem);
        padding: 1.2rem 1rem;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    li a {
        padding: 0.7rem 0.9rem;
        font-size: 0.68rem;
    }
}

@media (max-width: 520px) {
    .cont_barra a {
        font-size: 0.7rem;
    }

    .buscador input {
        width: 180px;
    }

    .portada img {
        height: 340px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }
}

.enunciado3 {
    padding: 4vw 1vw;
    justify-content: center;
    align-items: center;
    text-align: justify;
    background-color: white;
}

.enunciado2 p,
h1,
h2 {
    font-size: 2vw;
}

.ubicacion {
    background-color: white;

    padding: 1vw 10vw 1vw;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.ubicacion h1,
h2 {}





.buscador {
    margin: 0px 0px;

}

.buscador input[type="text"] {
    width: 100%;
    /* top | right | bottom | left 
        padding: 10px 0 10px 5px;*/
}

.buscador input[type="submit"] {
    /* border-top-left-radius: radius */
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.buscador button {
    background-color: #151515;
    color: #fff;
    padding: 2px 20px;
    border: none;
    border-radius: 1vw;
    border-top-right-radius: 1vw;
    border-bottom-right-radius: 1vw;
    cursor: pointer;
    margin: 15px 0px;
    border-top-left-radius: radius;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    cursor: pointer;

}

.buscador button:hover {
    background-color: #333;
}

/* Estilos para los comentarios */
#comentarios {
    text-align: center;
    padding: 2vw;
    background-color: white;
    color: white;
    font-size: 2.5vw;
}

#comentarios .item {
    background-color: #151515;
    border: none;
    padding: 2vw;
    margin: 1vw;
    border-radius: 2vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
}

#comentarios .author {
    margin-top: 1vw;
    font-weight: bold;
}

.imagen_autor {
    border-radius: 50% 20% / 10% 40%;
    max-width: 50%;

}

.centro {
    justify-content: center;
    display: flex;
}

.izquierda {
    justify-content: left;
    display: flex;
}

.derecha {
    justify-content: right;
    display: flex;
}

.centra_img {
    justify-content: center;
    display: flex;
}

/* Estilos para el carrusel imagenes */

.slick-carousel {
    background-color: rgba(255, 255, 255, 0);
    margin: 10px 0;
    padding: 1vw;
}

.slick-carousel .item img {
    display: flex;
    margin: 2vh;
    padding: 3vh;
    height: 25vw;
}

.slick-carousel .slick-dots {
    text-align: center;
}

.slick-carousel .slick-dots li {
    display: inline-block;
    margin: 0 5px;
    padding: 10px;
}

.slick-carousel .slick-dots li button {
    font-size: 2.5vw;
    line-height: 1vw;
    width: 1vw;
    height: 1vw;
    border: none;
    color: #bbb;
    padding: 1vw;
    cursor: pointer;
    opacity: 0.5;

}


.slick-carousel .slick-dots li.slick-active button {
    background-color: #333;
    opacity: 1;
    color: #bbb;
    margin: 0 auto;
    padding: 1vw;
    text-align: center;

}

/* Estilos para el formulario */
.contacto {
    background-color: rgba(0, 0, 0, .02);
    /* Arriba | Derecha | Abajo | Izquierda */
    padding: 1vw 10vw 1vw 10vw;

    /* Vertical | Horizontal */
    margin: 0.5vw 0vw;
    color: #626262;
}

form {
    max-width: 90%;

}

label {

    display: block;
    margin-bottom: 10px;
}

input[type="text"],
textarea {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #151515;
    color: #fff;
    padding: 1vw 2vw;
    border: none;
    border-radius: 1vw;
    cursor: pointer;
    margin: 15px 0px;
}

input[type="submit"]:hover {
    background-color: #333;
}

/* Pie de página */
footer {
    background-color: white;

    padding: 0.5vw 1vw;
    text-align: center;
    position: relative;
    line-height: 1.3;

}

footer a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    font-size: clamp(11px, 1.1vw, 15px);
}

body.dark-mode footer a {
    color: var(--color-text-dark);
}

footer p {

    font-size: clamp(11px, 1.1vw, 15px);
    margin: 0.25vw 0;

}

footer a:hover {
    color: var(--color-colorm_primario_hover-light);
}

body.dark-mode footer a:hover {
    color: var(--color-colorm_primario_hover-dark);
}

footer a::after {

    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-colorm_primario_hover-light);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

body.dark-mode footer a::after {
    background-color: var(--color-colorm_primario_hover-dark);
}

footer a:hover::after {
    transform: scaleX(1);
}

#contenedor-anima {
    overflow: hidden;
    height: clamp(14px, 1.4vw, 18px);
    font-size: clamp(10px, 0.95vw, 13px);
}

#anima {
    animation-duration: 60s;
    animation-name: slidein;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

}


@keyframes slidein {
    from {
        margin-left: 100%;
        width: 100vw;
    }

    to {
        margin-left: -160%;
        width: 100vw;
    }
}

.footer {
    background-color: white;
    border-top: 1px solid #dee2e6;
    color: white;
    text-align: center;
    font-size: 1vw;
}

.footer table {
    font-size: 1.5vw;
}

.footer table td {}


/* imagenes con texto de fondo*/
.caption-style-4 {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.caption-style-4 li {
    float: left;
    padding: 0px;
    position: relative;
    overflow: hidden;

}

.caption-style-4 li:hover .caption {
    opacity: 1;
}

.caption-style-4 li:hover img {
    opacity: 1;
    transform: scale(1.15, 1.15);
    -webkit-transform: scale(1.15, 1.15);
    -moz-transform: scale(1.15, 1.15);
    -ms-transform: scale(1.15, 1.15);
    -o-transform: scale(1.15, 1.15);
}


.caption-style-4 img {
    margin: 0px;
    padding: 0px;
    float: left;
    z-index: 0;
    cursor: pointer;
    height: 10vw;
}

.container-a4 {
    justify-content: center;
    display: flex;
}

.caption-style-4 .caption {
    cursor: pointer;
    position: relative;
    opacity: 0;
    -webkit-transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -o-transition: all 0.45s ease-in-out;
    -ms-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
}

.caption-style-4 img {
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

.caption-style-4 .blur {
    background-color:
        /*rgba(0,0,0,0.65)*/
        rgb(255 255 255 / 90%);
    height: 15vw;
    width: 15vw;
    z-index: 5;
    position: relative;
}

.caption-style-4 .caption-text h1 {
    text-transform: uppercase;
    font-size: 1.5vw;

}

.caption-style-4 .caption-text p {
    font-size: 1vw;

}

.caption-style-4 .caption-text {
    z-index: 10;
    color: black;
    position: absolute;
    width: 15vw;
    height: 0;
    text-align: justify;
    top: 0vw;
}

.container-img {
    position: relative;
    height: auto;
    padding: 1vw 1vw 1vw;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tabla_capacitaciones {
    width: 70%;
}

.tabla_index_contacto {
    width: 100%;
}

.imagen_capacitaciones {
    width: 50%;
}

/* tablas de servicios*/
.normal {}

.small {
    display: none;
    /* oculta tabla pequeña*/

}

/* Media Query para cambiar el menú en pantallas pequeñas .............................................. */
@media (max-width: 768px) {

    .enunciado p,
    h1,
    h2 {
        font-size: 5vw;
    }

    .enunciado2 p,
    h1,
    h2 {
        font-size: 5vw;
    }

    .marca {
        height: 20vw;
        padding-left: var(--marca-light);

    }

    body.dark-mode .marca {
        padding-left: var(--marca-light);
    }

    .encabezado0 {
        top: 5vw;
    }

    .barra {
        height: 3vw;
        /* arriba | derecha | abajo | izquierda */
        /*padding: 0vw 4em 0 4em;*/
        top: 0vw;
        font-size: 2vw;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .cont_barra {
        padding: 0px;
    }

    button {

        padding: 2px 20px;
        font-size: 10px;
        margin: 2px 0px;
    }

    #button_0 {
        padding: 1px 7px;
    }

    #button_1 {
        padding: 1px 7px;
    }

    .buscador {
        margin: 0px 60px;
        display: none;
    }

    .buscador input[type="text"] {

        padding: 30px 20px;
        display: none;
    }

    .buscador input[type="submit"] {
        /* border-top-left-radius: radius */
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        display: none;
    }

    input[type="submit"] {
        padding: 30px 20px;
        border-radius: 20px;
        margin: 15px 0px;
    }

    .buscador button {
        display: none;
    }

    input[type="submit"] {
        padding: 2.5vw 3vw;
        border-radius: 2vw;
        margin: 15px 0px;
    }

    .datos_tabla_config {
        height: 345px;
    }

    /* Dentro de tu archivo de estilos CSS */
    .language-selector {
        position: fixed;
        top: 90px;
        right: 15px;
        font-size: 2vw;
        z-index: 10;
    }

    #languageSelect {
        padding: 5px;
        font-size: 2vw;
    }

    .m_primario {
        display: none;
        /* Oculta el menu principal*/
    }

    .m_segundario {
        /* muestra el menu segundario*/

        padding-left: 1.5vw;
        position: relative;
        top: 0vw;
        display: inline-block;
    }

    /* Estilos para el botón con fondo negro y texto blanco */
    .m_segundario button {
        background-color: #000;
        /* Fondo negro */
        color: #fff;
        /* Texto blanco */
        border: none;
        /* arriba y abajo | izquierda y derecha */
        /*padding: 1vw 3vw;*/
        border-radius: 3vw;
        cursor: pointer;
        font-size: 3.5vw;
        margin: 0 0 5px 0;
        /* box-shadow: 0px 5px 10px silver;*/
    }

    .m_segundario button:hover {
        background-color: #333;
        /* Fondo oscuro al pasar el cursor */
    }

    .m_segundario-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 250px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .m_segundario:hover .m_segundario-content {
        display: block;
    }

    .m_segundario-content a {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .m_segundario-content a:hover {
        background-color: #f1f1f1;
    }

    .enunciado2 {

        /* arriba | izquierda y derecha | abajo */
        padding: 2vw 10vw 2vw;

    }

    /*estilos de servicios*/
    .caption-style-4 img {

        height: 30vw;
    }

    .caption-style-4 .blur {

        height: 30vw;
        width: 100%;

    }

    .caption-style-4 .caption-text h1 {

        font-size: 2vw;
    }

    .caption-style-4 .caption-text p {
        font-size: 2vw;
    }

    .caption-style-4 .caption-text {

        width: 100%;

    }

    #contenedor-anima {
        height: 15px;
    }

    table {
        font-size: 10px;
    }

    footer a {

        font-size: 10px;

    }

    footer p {

        font-size: 10px;

    }

    footer a:hover {
        font-size: 10px;
    }

    input[type="text"],
    textarea {
        width: 90%;
    }

    .tabla_capacitaciones {
        width: 80%;
    }

    .tabla_index_contacto {
        width: 90%;
    }

    /* tablas de servicios*/
    .normal {
        display: none;
        /* oculta el menu segundario*/
    }

    .small {
        display: block;
        justify-content: center;
        display: flex;
    }
}

/* Mejoras visuales (bajo impacto) - aplicadas */
* { box-sizing: border-box; }
.catalogo { flex: 1 1 200px; max-width: 260px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.catalogo:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.catalogo img { object-fit: cover; border-radius: 6px; }
#flex-container-encabezado { flex-wrap: wrap; gap: 8px; }
.barra { height: auto; font-size: 12px; padding: 6px 8px; line-height: 1.4; }
.marca { height: auto; }
.enunciado, .enunciado2, .enunciado3 { padding: 16px; }
.buscador { width: 100%; max-width: 300px; }
.buscador input[type="text"] { width: 100%; box-sizing: border-box; }
input[type="text"], textarea { border-radius: 6px; padding: 10px 12px; }
input[type="text"]:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(8,47,168,0.15); outline: none; }

@media (max-width: 480px) {
    .marca { height: 32px; }
    .enunciado, .enunciado2, .enunciado3 { padding: 10px; }
    .catalogo { flex: 1 1 45%; max-width: 48%; }
}
@media (min-width: 1024px) {
    .catalogo { flex: 1 1 220px; max-width: 260px; }
}
