@charset "UTF-8";

/* ========================================== */
/* LAYOUT MAIN - Archivo CSS Combinado */
/* ========================================== */
html {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%
}

/* Activar scroll suave */
html {
    scroll-behavior: smooth;
}

body {
    cursor: url(../svg/cursor.svg) 2 2, auto !important;
}

a,
a:hover,
a:link,
a:visited {
    cursor: url(../svg/hand-link.svg) 2 2, pointer !important;
}

body {
    /*background-color:var(--white);*/
    width: 100%;
    min-width: 320px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    background-size: cover;
    font-family: var(--nx-f-family-InterVariable);
    font-weight: 400;
    font-size: 1rem;
    text-rendering: optimizeLegibility;
    color: var(--dark-asfalt) !important;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

/*****##### UNTITLED #####*****/
*,
::after,
::before {
    box-sizing: border-box
}

/*****##### INTITLED #####*****/
a {
    color: #2b2a28;
    font-weight: 400;
    text-decoration: none;
    background-color: transparent;
    /*transition: 0.2s;*/
}

a:hover {
    color: #000000;
    text-decoration: none;
}

#main-content {
    width: 100% !important;
    height: 100% !important;
}

/*====================================================*/
/*  NX Buttons Colorized Styles */
/*====================================================*/
.btn_grad_red {
    border: 1px solid #93021B;
    background: linear-gradient(-45deg, #8F1E30, #93021B);
}

.btn_grad_green {
    border: 1px solid #38943A;
    background: linear-gradient(-45deg, #38943A, #226d24);
}

.btn_grad_blue {
    border: 1px solid #4D90EF;
    background: linear-gradient(-45deg, #2170E1, #2170E1);
}

.btn_grad_yellow {
    border: 1px solid #F1D910;
    background: linear-gradient(-45deg, #F1D910, #e7b401);
}

.btn_grad_gray {
    border: 1px solid #D2D2D2;
    background: linear-gradient(-45deg, #D2D2D2, #BFC0C1);
}

.btn_color_silver {
    background-color: var(--silver) !important;
}

.btn_color_cyan-blue {
    background-color: var(--cyan-blue) !important;
}

.btn_color_golden-lock {
    background-color: var(--golden-lock) !important;
}

.btn_color_hard-coal {
    background-color: var(--hard-coal) !important;
}

.btn_color_krishna-blue {
    background-color: var(--krishna-blue) !important;
}

.btn_color_blue_lobster {
    background-color: var(--blue-lobster) !important;
}

.btn_color_success {
    background-color: var(--success) !important;
}

.btn_color_black {
    background-color: var(--pure-black) !important;
}

.btn_color_old-whine {
    background-color: var(--old-wine) !important;
}



a.footer-link:active,
a.footer-link:hover,
a.footer-link:visited:hover {
    color: #000 !important;
}

::-o-selection {
    background: #dd1868;
    color: #ffffff;
}

/*==================
* Button success
*==================*/
.ctr_btn_success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #16995c 0%, #0c7846 100%);
    padding: 10px 24px;
    border: none;
    outline: none;
    text-decoration: none;
    text-decoration: none !important;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}


/******** Scroll to Top************/
.go-top-btn {
    position: fixed;
    bottom: 4px;
    right: 20px;
    width: 54px;
    height: 54px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

/******** Scroll to Top************/

/*=================================*/
/*  SLIDER DE NOVEDADES — Cards primera página */
/*=================================*/

/* ── Sección wrapper ── */
.nx-news {
    width: 100%;
    background: transparent;
    padding: 16px 0 18px;
    transition: background 0.3s;
    margin-bottom: 130px;
}

.nx-news-inner {
    max-width: 1302px;
    margin: 0 auto;
    padding: 20px 18px;
    backdrop-filter: blur(5px);
    /*border: 1px solid rgb(211, 211, 211);*/
    background: rgba(50, 65, 85, 0.63);
    border-radius: 14px;
}

/* ── Header de sección ── */
.nx-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 2px;
}

/* ── Título — LIGHT ── */
.nx-news-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
}

/* ── Título — DARK ── */
body.dark-mode .nx-news-title {
    color: #ffffff;
}

.nx-news-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Flechas — LIGHT ── */
.nx-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d0d8e4;
    background: #f4f6f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s, border-color .18s, opacity .2s;
    flex-shrink: 0;
    padding: 0;
}

.nx-arrow:hover {
    background: #e8ecf2;
    border-color: #b0bdd0;
}

.nx-arrow:active {
    transform: scale(.93);
}

.nx-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #5a6a82;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Flechas — DARK ── */
body.dark-mode .nx-arrow {
    border-color: #1e2840;
    background: #181e2a;
}

body.dark-mode .nx-arrow:hover {
    background: #232c3d;
    border-color: #2e3f5c;
}

body.dark-mode .nx-arrow svg {
    stroke: #7a8fb0;
}

/* ── Dots — LIGHT ── */
.nx-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nx-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8d2de;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, width .25s cubic-bezier(.4, 0, .2, 1);
}

.nx-dot.active {
    width: 20px;
    border-radius: 3px;
    background: #ffbb00;
}

/* ── Dots — DARK ── */
body.dark-mode .nx-dot {
    background: #232c3d;
}

body.dark-mode .nx-dot.active {
    background: #ffbb00;
}

/* ── Viewport y track ── */
.nx-slider-viewport {
    overflow: hidden;
    padding: 10px 0;
}

.nx-slider-track {
    display: flex;
    gap: 16px;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    cursor: grab;
}

.nx-slider-track:active {
    cursor: grabbing;
}

/* ── Card — LIGHT (base) ── */
.nx-card {
    flex: 0 0 300px;
    background: #e4e1e8;
    border-radius: 12px;
    border: 1px solid #584d64;
    overflow: hidden;
    transition: border-color .2s, transform .2s, background .3s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}

.nx-card:hover {
    border-color: #323740;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* zoom IN */
.nx-card:hover .nx-card-img {
    transform: scale(1.14);
}

/* ── Card — DARK ── */
body.dark-mode .nx-card {
    background: #181e2a;
    border-color: #1e2840;
    box-shadow: none;
}

body.dark-mode .nx-card:hover {
    border-color: #2e3f5c;
    box-shadow: none;
}

/* ── Imagen placeholder — LIGHT ── */
.nx-card-img-link {
    display: block;
}

.nx-card-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    background: #eef1f5;
    transform: scale(1);
    /* transición suave real */
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nx-card-img-placeholder {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-card-img-placeholder svg {
    stroke: #c8d2de;
}

/* ── Imagen placeholder — DARK ── */
body.dark-mode .nx-card-img {
    background: #1e2840;
}

body.dark-mode .nx-card-img-placeholder {
    background: #1a2535;
}

body.dark-mode .nx-card-img-placeholder svg {
    stroke: #2a3a52;
}

/* ── Cuerpo de card ── */
.nx-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Tag — LIGHT ── */
.nx-card-tag {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1a6ab5;
    margin-bottom: 8px;
}

/* ── Tag — DARK ── */
body.dark-mode .nx-card-tag {
    color: #7b828a;
}

/* ── Título — LIGHT ── */
.nx-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #282d37;
    line-height: 1.4;
    margin-bottom: 8px;
}

.nx-card-title a {
    color: #3c424d;
    font-weight: 600;
    text-decoration: none;
}

.nx-card-title a:hover {
    color: #0e3276;
    font-weight: 600;
    text-decoration: none;
}

/* ── Título — DARK ── */
body.dark-mode .nx-card-title-empresa {
    color: #c8d0df;
    text-transform: uppercase;
}

body.dark-mode .nx-card-title {
    color: #c8d0df;
}

body.dark-mode .nx-card-title a:hover {
    color: #7aacdd;
}

/* ── Descripción — LIGHT ── */
.nx-card-desc {
    font-size: 12.5px;
    color: #282133;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* ── Descripción — DARK ── */
body.dark-mode .nx-card-desc {
    color: #9cafcc;
}

/* ── Enlace "Leer más" — LIGHT ── */
.nx-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1a6ab5;
    text-decoration: none;
    letter-spacing: .02em;
    align-self: flex-start;
    transition: color .15s;
}

.nx-card-link:hover {
    color: #0f4a80;
}

.nx-card-link svg {
    transition: transform .15s;
}

.nx-card:hover .nx-card-link svg {
    transform: translateX(3px);
}

/* ── Enlace "Leer más" — DARK ── */
body.dark-mode .nx-card-link {
    color: #3d6fa8;
}

body.dark-mode .nx-card-link:hover {
    color: #7aacdd;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .nx-news-inner {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .nx-news {
        padding: 24px 0 32px;
        margin-bottom: 60px;
    }

    .nx-dots {
        display: none;
    }
}

/*=================================*/
/*  SLIDER DE NOVEDADES — END */
/*=================================*/