@font-face {
    font-family: "Inter";
    src: url("./fonts/Inter.ttf") format("opentype");
}

:root {
    --white: #fff;
    --black: #000;
    --black2: #282B2D;
    --blue: #00378A;
    --blue2: #3484C9;
    --darkblue: #01214A;
    --gray: #727A83;
    --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem) /*16 - 18px*/;
    --fs-md: 1.25rem;
    --fs-lg: clamp(1.5rem, 1.45rem + 0.2vw, 1.625rem) /*24 - 26px*/;
    --fs-xl: clamp(2.1875rem, 2.0625rem + 0.5vw, 2.5rem) /*35 - 40px*/;
    --fs-xxl: clamp(2.875rem, 2.025rem + 3.4000000000000004vw, 5rem) /*46px - 80px*/;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body {
    min-height: 100dvh;
    max-width: 100dvw;
    overflow-x: hidden;
    margin-inline: auto;
    font-family: "Inter";
    color: var(--gray);
    font-size: 1rem;
}

h1 {
    font-size: var(--fs-xxl);
    line-height: 1.1;
    font-weight: 500;

    & span {
        font-weight: 700;
    }
}

h2 {
    font-size: var(--fs-xl);
    font-weight: 500;
    line-height: 1.15;
    color: #00183C;

    & span {
        font-weight: 700;
    }
}

h3 {
    font-size: var(--fs-lg);
    color: var(--blue);
    font-weight: 500;
    line-height: 1;
}

h4 {
    font-size: var(--fs-md);
    font-weight: 500;
    line-height: 1.5;
    color: var(--blue);
}

p {
    margin: 0;
}

ul {
    text-decoration: none;
    padding: 0;
}

a {
    text-decoration: none;
}

.text-gray {
    color: #727A83 !important;
}


/*Negrita*/

.fw-300{
    font-weight: 300;
}

.fw-500{
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 700;
}

/*Tamaños*/
.ft-9 {
    font-size: 9px;
}

.ft-10 {
    font-size: 10px !important;
}

.ft-11 {
    font-size: 11px !important;
}

.ft-12 {
    font-size: 12px !important;
}

.ft-14 {
    font-size: 14px !important;
}

/*Distribuciones*/

.start-x, .start-y, .center-x, .center-y, 
.between-x, .between-y, .end-y, .end-x, .around-x {
    display: flex;
    flex-wrap: wrap;
}

.start-y, .center-y, .between-y, .end-y {
    flex-direction: column;
}

.start-x, .start-y {
    justify-content: start;
    align-items: start;
}

.center-x, .center-y {
    justify-content: center;
    align-items: center;
}

.between-x, .between-y {
    justify-content: space-between;
    align-items: center;
}

.around-x {
    justify-content: space-around;
    align-items: start;
}

.end-y, .end-x {
    justify-content: end;
}

/*Imagen de fondo*/

.imagen-fondo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
}

/*Estilos*/
button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
}

.btn-base {
    display: inline-flex;
    padding-inline: 1.125rem;
    height: 59px;
    min-width: 140px;
    flex-shrink: 0;
    border-radius: 55px;
    border: 1px solid var(--blue);
    color: var(--blue) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.5s ease;

    &:hover {
        transform: scale(0.99);
        background-color: #00378A;
        color: var(--white) !important;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    }

    &.white {
        color: var(--blue);
        border-radius: 55px;
        background: #FFF;
        box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 0.25);

        &:hover {
            background-color: transparent;
            color: var(--white) !important;
            border-color: var(--white);
        }
    }

    &.blue {
        color: var(--white) !important;
        border-radius: 55px;
        background: var(--blue);
        box-shadow: 0px 0px 15px 0px rgba(0, 55, 138, 0.40);


        &:hover {
            background-color: transparent;
            color: var(--blue) !important;
            border-color: var(--blue);
        }
    }

    &.transparent {
        border: 1px solid var(--white);
        color: var(--white) !important;
        display: flex;
        align-items: center;

        & i {
            margin-top: 1px;
            font-size: 24px;
        }

        &:hover {
            transform: scale(0.99);
            background-color: var(--white);
            color: var(--blue) !important;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        }
    }
}

.btn-base2 {
    display: inline-flex;
    align-items: end;
    color: #00183C;
    border-radius: 50px;
    font-size: 18px;
    transition: all 0.5s ease;
    font-weight: 500;
    line-height: 1.3;
    height: 54px;

    & .arrow {
        margin-left: 1rem;
        transform: rotate(-45deg);
        transition: all 0.5s ease;
        font-weight: 400;
        font-size: 20px;
        color: var(--blue);
    }

    &:hover {
        color: var(--blue);

        & .arrow {
            transform: rotate(0deg);
        }
    }
}

.btn-base3 {
    max-width: 143px;
    width: 90%;
    height: 39px;
    flex-shrink: 0;
    border-radius: 8px;
    justify-content: center;
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    transition: all 0.5s ease;
    display: inline-flex;
    align-items: center;
    color: #000;
    text-transform: uppercase;
    border: 1px solid #050505;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

    &:hover {
        color: var(--white);
        background-color: var(--darkblue);
    }
}

.btn-arrow {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);

    & i {
        transform: rotate(-45deg);
        color: var(--blue);
        font-size: 1.5rem;
        font-weight: 400;
        transition: all 0.5s ease;
    }
}

.idioma {
    display: flex;
    position: relative;

    & i {
        color: black !important;
    }

    & .bandera {
        width: 38px;
    }

    & .mega-menu {
        top: 10px !important;
        margin-top: 22px;
        background-color: transparent;
        position: absolute;
        border: none;
        width: 0px;

        & .menu {
            list-style: none;
            padding: 20px 0px 5px 0px;
            border-color: rgba(#002C15, 0.5);
            border-radius: 1rem;
            background-color: var(--white);
            margin-left: 0px;

            & li {
                margin-bottom: 1rem !important;
                color: var(--dark-green);
                transition: all 0.5s ease;
                cursor: pointer;
                display: flex;
                align-items: center;

                & .bandera {
                    width: 32px;
                }

                &:hover {
                    color: var(--light-brown);
                }
            }
        }
    }
}

.img-dark {
    filter: brightness(0.7);
}

/*Header*/
/* Nav */
nav {
    position: fixed;
    width: 100%;
    transition: all 0.5s ease-in;
    z-index: 100;
    background: var(--white);
    top: -120px;
}

.navbar {
    font-size: 1.125rem;
    font-weight: 500;
    height: 112px;
    padding: 0;
    border-bottom: 1px solid var(--blue);

    & .nav-acciones {
        display: flex;
        align-items: center;

        & ul li {
            padding-inline: 20px;
            color: var(--black);

            & img {
                transition: all 0.5s ease;
            }
        }
    }
}

.categorias li:not(.close):not(.mega-dropdown) {
    padding-inline: 1rem;
    transition: 0.2s all ease;
    margin-bottom: 0;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.categorias li a {
    color: var(--black);
    position: relative;
}

.categorias li:not(.nothover) a::after {
    position: absolute;
    content: "";
    display: block;
    left: 55%;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 5px;
    background: #3484C9;
    -webkit-transform: translate(-55%, 0);
    transform: translate(-55%, 0);
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.categorias li a:hover::after, .categorias li a:focus::after,
.categorias li.active a::after {
    width: 110%;
}

/* Estado inicial del menú */
.offcanvas-top {
    top: 74px !important;
    height: 0;
    background-color: var(--white);
    z-index: -1;
}

/* Animación para expandir el menú */
@keyframes expandMenu {
    from {
        height: 0;
    }
    to {
        height: 100dvh;
    }
}

/* Animación para colapsar el menú */
@keyframes collapseMenu {
    from {
        height: 100dvh;
    }
    to {
        height: 0;
    }
}

/* Cuando el menú esté visible */
.offcanvas-top.show {
    animation: expandMenu 0.5s ease-in-out forwards;
}

/* Cuando el menú se oculta */
.offcanvas-top:not(.show) {
    animation: collapseMenu 0.5s ease-in-out forwards;
}

.offcanvas-backdrop.show {
    display: none;
}

.navbar-nav::-webkit-scrollbar{
    width: 0px;
}


/* From Uiverse.io by talhabangyal */ 
.hamburger {
    cursor: pointer;
    border: none;
    &:focus {
        box-shadow: none;
    }
}

.hamburger input {
    display: none;
}

.hamburger svg {
    /* The size of the SVG defines the overall size */
    height: 2.5rem;
    /* Define the transition for transforming the SVG */
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: var(--black2);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
    /* Define the transition for transforming the Stroke */
    transition:
        stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

.offcanvas-top.show + .hamburger  svg {
    transform: rotate(-45deg);
}

.offcanvas-top.show + .hamburger svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

.logo {
    width: 194px;
    height: 68px;
    flex-shrink: 0;
    aspect-ratio: 43/15;
}

.navbar-expand-xl .navbar-nav .dropdown-menu {
    left: 0;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/*Footer*/
footer {
    background-color: #01214A;
    color: var(--white);
}

.footer-middle {
    display: block;
    font-size: 16px;
    background-size: cover;

    & .entradas li {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    & .elipse {
        margin-top: 2rem;
        & img {
            left: -15px;
            top: -15px;
        }
    }

    & .btn-base {
        max-width: 199px;
    }

    & a {
        color: var(--white);
        font-weight: 400;
        transition: all 0.5s ease;

        &:hover {
            color: var(--blue2);
        }

    }
    
    & h4 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--white);
        text-align: start;
        text-transform: initial;
    }

    & li {
        margin-bottom: 0.9rem;
    }

    & .around-x {
        width: 100%;
        max-width: 90%;
    }

    & p {
        max-width: 400px;
        font-size: 1rem;
        line-height: 1.5;
    }
}

.footer-bottom .container{
    margin-top: 4rem;
    line-height: normal;
    font-weight: 400;
    padding-top: 1rem;
    padding-bottom: 1rem;

    & p {
        margin: 0;
        font-size: 1rem;
    }

    ul {
        margin-bottom: 0;

        & li:not(:last-child) {
            margin-right: 1rem;
        }
    }

    & a {
        color: var(--white);
        transition: all 0.5s ease;

        &:hover {
            color: var(--blue2);
        }
    }
}
/*Utilies*/

input[type="text"], input[type="tel"], input[type="email"], #mensaje {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid var(--white);
    color: rgba(255, 255, 255, 0.8);

    &::placeholder {
        color: rgba(255, 255, 255, 0.8);
    }
}

input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus {
    box-shadow: none;
}

#mensaje {
    height: 150px;
    resize: none;
    box-shadow: none;
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

section {
    margin: 6rem 0;
}

/*Carruseles*/

.slick-arrow {
    cursor: pointer !important;
    position: absolute;
    top: 70%;
    z-index: 10;
}


.slick-dots {
    position: absolute;
    bottom: 30px;
    height: 35px !important;
}

.slick-dots li button{
    font-size: 22px !important;
}

.slick-dots li button:before {
    font-size: 14px;
    color: white;
    opacity: 0.7;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: white;
    font-size: 18px;
}

.slick-arrow {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    bottom:0;
    border-radius: 50%;
    transition: all 0.3s ease;
    top: 10%;
}

.prev {
    left: 0px;
}

.next {
    right: 0px;
}

.next:hover, .prev:hover {
    transform: scale(1.1);
}

/*Main*/

.section-portada {
    margin-top: 0;
    padding-top: 180px;
    padding-bottom: 160px;
    color: var(--white);
    position: relative;

    & p {
        max-width: 373px;
        font-size: 1.125rem;
        margin: 2rem 0;
    }

    & h1 {
        padding-bottom: 2rem;
        position: relative;

        &::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 70%;
            height: 1px;
            background: rgba(255, 255, 255, 0.30);;
        }
    }

    h4 {
        color: white;
    }

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgb(0, 55, 138);
        filter: brightness(0.7);
        opacity: 0.6;
        z-index: -1;
    }

}

.portada3-section {
    margin-top: 0;
    padding-top: 140px;
    & .banner {
        height: 200px;
        color: var(--white);
        padding-top: 25px;

        & .btn-arrow {
            & i {
                transform: rotate(0);
            }
        }

        & h2 {
            font-size: 30px;
            color: var(--white);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 1.5rem;
            background-color: var(--darkblue);
            border-radius: 50px;
            margin-top: 50px;
            margin-left: 100px;
        }
    }
}

.nosotros-section .container {
    border-radius: 10px;
    background: rgba(0, 55, 138, 0.70);
    box-shadow: 0px 0px 15px 0px rgba(0, 55, 138, 0.30);
    backdrop-filter: blur(25px);
    padding: 50px;
    color: var(--white);
    margin-top: -175px;

    & h2 {
        color: var(--white);
    }

    & .btn-base {
        margin-top: 50px;
        width: 143.55px;
        height: 59px;
        flex-shrink: 0;
    }
}

.infraestructura-section {

    & .tarjeta {
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.10);
        box-shadow: 0px 0px 15px 0px rgba(0, 55, 138, 0.10);
        padding: 1.875rem;
        height: 100%;
        
        & h3 {
            margin: 1.875rem 0 1.5rem 0;
        }
    }
}


.carrusel-especialidades {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(131, 139, 147, 0.30);

    & p {
        text-align: center;
        font-size: 1.125rem;
        color: #00183C;
        cursor: pointer;
        padding-bottom: 1.5rem;

        &.active  {
            position: relative;
            &::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: -1px;
                width: 100%;
                height: 3px;
                background-color: var(--darkblue);
                z-index: 100;
            }
        }
    }

    & .active  p{
        position: relative;
        
        &::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 100%;
            height: 3px;
            background-color: red;
            z-index: 100;
        }
    }
}

.especialidad {
    & h3 {
        margin-bottom: 1rem;
    }

    & p {
        max-width: 95%;
    }

    & .col-6:first-of-type {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
    }

    & .ct-imagen {
        width: 363px;
        height: 232px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;

        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transition: all 0.5s ease;
        }
    }
}

.normativa-section {
    position: relative;
    background-image: url('../img/banners/01.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    height: 547px;
    color: var(--white);
    padding-top: 100px;

    & h2 {
        color: var(--white);
        max-width: 830px;
        margin-bottom: 2rem;
    }

    & ul {
        list-style: none;
    }

    & ul li {
        position: relative;
        padding-left: 30px;
        font-size: 1.125rem;
        padding-bottom: 1.25rem
    }

    & ul li::before {
    content: "";
        position: absolute;
        left: 0;
        top: 0.3em;
        width: 20px;
        height: 20px;
        background-image: url('../img/iconos/check.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }

    & p {
        max-width: 435px;
    }
}


.socios-section .socio {
    overflow: hidden;
}

.socios-section .socio img{
    transition: all 0.5s ease;
    max-width: 80%;
    display: block;
    margin: 0 auto;
}

.socios-section .col-lg-3 .socio:hover .img-fluid {
    transform: scale(1.1);
}

.proposito-section {
    background-color: #EAEEF3;
    padding: 130px 0;

    & p {
        max-width: 447px;
    }

    & .certificacion {
        margin-top: 5rem;
        background-color: var(--white);

        & .col-lg-6:first-of-type {
            padding: 2rem;
        }
    }
}

.lista-check {
    list-style: none;
    & li {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;

        & img {
            margin-right: 0.5rem;
        }
    }
}

.novedades-section {
    & .novedad {
        margin-bottom: 3rem;

        & .add-data {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1.25rem;
            border-bottom: 1px solid #9CA4AD;
            padding-bottom: 1.25rem;

            & span {
                font-size: 1.125rem;
                color: #00183C;
            }

            & .autor {
                color: var(--blue);
                margin-left: 2rem;
            }
        }

        & .tags {
            & .tag {
                display: inline-flex;
                padding: 0.5rem 1.5rem;
                border-radius: 55px;
                border: 1px solid #00378A;
                color: var(--blue);
                margin-bottom: 1.25rem;
            }

        }

        & h3 {
            max-width: 480px;
            line-height: 1.1;
            font-size: 1.75rem;
            font-size: clamp(1.75rem, 1.7rem + 0.2vw, 1.875rem); /*28px - 30px*/
        }

        & p {
            max-width: 480px;
            line-height: 1.5;
        }
    }
}

.text-end {
    text-align: end !important;
}

.portada2-section {
    padding-top: 50px;
    font-size: 1.125rem;
}

.ct-proposito {
    text-align: center;
    margin-top: 5rem;

    & img {
        border-radius: 20px;
    }
}

.barra {
    width: 4.626px;
    height: 40px;
    transform: rotate(25.686deg);
    flex-shrink: 0;
    border-radius: 10px;
    background: #00378A;
    display: inline-flex;
    margin-inline: 1rem;
    position: relative;
}

.nosotros-interna-section {
    background: #EAEEF3;
    margin-top: -300px;
    padding-top: 300px;
    padding-bottom: 150px;

    h2 {
        font-size: var(--fs-lg);
        color: var(--gray);
        margin-bottom: 0;
        cursor: pointer;
    }

    .active h2 {
        color: var(--blue);
    }

    & p {
        max-width: 421px;
    }

    & .start-x {
        flex-wrap: nowrap;
    }

    & .cita {
        max-width: 1100px;
        margin-inline: auto;
        text-align: center;
        margin-top: 100px;

        & h4 {
            margin-bottom: 1.5rem;
        }

        p {
            font-size: 1.5625rem;
            font-size: clamp(1.5625rem, 1.1875rem + 1.5vw, 2.5rem); /*25-40*/
            max-width: 100%;
            line-height: 1.1;
            color: #00183C;
            text-align: center;
            font-weight: 500;
        }

        & .ceo {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 4rem;

            & .ct-imagen {
                width: 80px;
                height: 80px;
                flex-shrink: 0;
                border-radius: 50%;
                overflow: hidden;
                
                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                    object-position: center;
                    transition: all 0.5s ease;
                }
            }

            p {
                margin: 1rem 0;
                color: var(--blue);
                font-size: var(--fs-md)
            }

            span {
                color: #727A83;
            }
        }
    }
}

.equipo-section {
    & .funcionario {
        text-align: center;

        & .img-fluid {
            height: 311px;
        }

        & h3 {
            font-size: 1.375rem;
            margin-top: 1.25rem;
            margin-bottom: 0.75rem;
        }
    }
}

.pais-section {
    background-color: #EAEEF3;
    padding: 130px 0;

    & .container {
        background-color: var(--white);
        padding: 1.25rem;
        max-width: 1170px;
        margin-inline: auto;
    }
}

.contacto-section {
    background-color: var(--darkblue);
    color: var(--white);

    & h2, & h4 {
        color: var(--white);
    }

    & h4 {
        padding-top: 100px;
        margin-bottom: 1.5rem;
    }

    & h2 {
        margin-bottom: 3rem;
    }

    & .form-cita {
        padding-bottom: 100px;
    }

    & .tel {
        color: var(--white);
        margin-left: 1rem;
        line-height: 24px; /* 150% */
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        text-underline-position: from-font;
    }
}

.areas-section {
    & .area {
        position: relative;
        height: 400px;
        border-radius: 8px;
        background: rgba(0, 55, 138, 0.40);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        transition: all 0.5s ease;

        & .imagen-fondo {
            transition: all 0.5s ease;
        }

        & h3 {
            color: var(--white);
            font-weight: 400;
            text-align: center;
        }

        & .btn-arrow {
            position: absolute;
            top: 65%;
            transform: scale(0);
            transition: all 0.5s ease;
        }

        &:hover {
            background: rgba(0, 55, 138, 0.60); 

            & .imagen-fondo {
                transform: scale(1.1);
            }
        
            & .btn-arrow {
            transform: scale(1);

                & i {
                    transform: rotate(0);
                }   
            }
        }
    }
}

.trayectoria-section {
    & .container .row{
        padding: 1.25rem 1.25rem 1.25rem 3rem;
        border-radius: 10px;
        box-shadow: 0px 0px 16px 0px rgba(0, 55, 138, 0.10);
        min-height: 463px;
    }

    .imagen-fondo {
        object-position: top;
    }

    .info {
        height: 100%;
        padding: 30px 20px;
        color: var(--white);
        min-height: 380px;

        & .cifra {
            margin-bottom: 1.25rem;
            text-align: start;
            & .numero {
                font-size: 2.5rem;
                font-weight: 500;
            }
        }
    }

    & .ft {
        display: inline-flex;
        height: 108px;
        width: 100%;
        padding: 32px 30px;
        align-items: center;
        flex-shrink: 0;
        border-radius: 0px 0px 4px 4px;
        background: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(2.5px);
        position: absolute;
        left: 0;
        bottom: 0;
        color: var(--white);
    }

    & a {
        color: #393939;
    }
}

.productos-section {
    padding: 40px 0 70px;
    & h3 {
        color: #00183C !important;
    }
}

.producto {
    text-align: center;
    padding: 2rem 1rem 3rem 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    height: 100%;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;

    & .ct-imagen {
        width: 332px;
        height: 332px;
        flex-shrink: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;

        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            transition: all 0.5s ease;
        }
    }

    & h4 {
        color: var(--black);
        font-size: 1rem;
        max-width: 280px;
        display: flex;
        align-items: start;
        height: 100%;
        transition: all 0.5s ease;
    }

    & img {
        margin-bottom: 12px;
    }

    & .btn-base3 {
        margin-top: 1rem;
    }

    &:hover {
        & h4 {
            color: var(--blue);
        }
    }
}

.buscador-section {
    padding-top: 100px;
}


.medicamento-section h5 {
    color: #626262;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
}

.carrusel-relacionados {
    padding-inline: 40px;
}

.carrusel-medicamento .slick-dots {
    position: absolute;
    bottom: -40px;
    height: 35px !important;
}

.carrusel-medicamento .slick-dots li button{
    font-size: 22px !important;
}

.carrusel-medicamento .slick-dots li button:before {
    font-size: 14px;
    color: var(--blue);
    opacity: 0.7;
}

.carrusel-medicamento .slick-dots li.slick-active button:before {
    opacity: 1;
    border-radius: 50%;
    font-size: 18px;
}

.carrusel-medicamento .producto .ct-imagen{
    max-width: 100%;
    aspect-ratio: 1/1;
    width: 464px;
    height: 464px;
}

.tag_area {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-size: 22px;
    color: var(--blue);
    font-weight: 500;
    height: 41px;
    border-radius: 1.5rem;
    border: 1px solid var(--blue);
    margin-bottom: 2rem;
    text-transform: capitalize;
}

.sustancia {
    color: #626262;
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
}

.sustancia p {
    font-size: 14px;
    margin-bottom: 0;
}

.ram-section {
    position: relative;
    background-image: url('../img/banners/01.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    height: 547px;
    color: var(--white);
    padding-top: 100px;

    & h2 {
        color: var(--white);
        max-width: 830px;
        margin-bottom: 2rem;
    }

    & ul {
        list-style: none;
    }

    & ul li {
        position: relative;
        padding-left: 30px; /* Espacio para la imagen */
        font-size: 1.125rem;
        padding-bottom: 1.25rem
    }

    & p {
        max-width: 435px;
    }
}

.section-ubicacion {
    color: var(--Black-2, #3F3F3F);
    font-size: 15px;
    font-weight: 400;
    line-height: 180%;
}

.section-ubicacion .titulo {
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
}

.tarjeta {
    margin: 50px 0;
}

.tarjeta .info {
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
}

.tarjeta p, .tarjeta a, .tarjeta span{
    color: #646464;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px;
    margin-bottom: 12px;
}

.menu-info {
    display: flex;
    padding-left: 0;
}

.menu-info li {
    color: #646464;
    font-size: 13px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    max-width: 250px;
    width: 100%;
    padding: 10px 20px;
    border-radius: 15px 15px 0 0;
    border: 1px solid #646464;
    background-color: #F1F1F1;
    margin-left: 10px;
    position: relative;
    box-sizing: content-box;
    cursor: pointer;
}

.menu-info li:first-child:after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: -11px;
    width: 11px;
    height: 1px;
    background-color: #646464;
}

.info-seleccionada {
    background:#F5F6F6;
}

.menu-info li:not(.seleccionado)::after {
    bottom: -1px;
}

.menu-info li.seleccionado {
    background-color: var(--white);
    border-bottom: none;
}

.novedad-secion {
    & .container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 500px;
        color: var(--white);

        & h1, & h4 {
            color: var(--white);
            text-align: center;
        }

        & h1 {
            font-weight: 500;
            line-height: 1.1;
            letter-spacing: -2px;
        }

        p {
            max-width: 597px;
            text-align: center;
            margin-top: 1rem;
            font-size: 1.125rem;
        }

        &::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 55, 138, 1) 100%);
            filter: brightness(0.7);
            opacity: 0.6;
            z-index: -1;
        }
    }
}

.noticias-section {
    & .noticia {
        display: flex;
        flex-direction: column;
        height: 100%;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.00);
        box-shadow: 0px 5px 10px 0px rgba(0, 55, 138, 0.10);

        & .ct-portada {
            width: 100%;
            height: 320px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
        }

        & .info {
            padding: 20px 30px;
            height: 100%;

            & h3 {
                color: #00183C;
                font-weight: 500;
                line-height: 1.2;
                margin: 0.5rem 0 0.75rem 0;
            }

            & p {
                text-wrap: balance;
            }

            & .btn-base2 {
                height: 42px;
            }
        }
    }
}

.mfp-close {
    background-color: transparent !important;
    margin-top: 30px !important;
    margin-left: 10px !important;
}

.interna-noticia-section {
    padding-top: 50px;
    color: var(--gray);

    & .portada {
        max-width: 100%;
        margin-bottom: 50px;
        border-radius: clamp(1.5rem, 0.9rem + 2.4vw, 3rem);
    }

    & h2 {
        font-size: 2.5rem;
        font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem);
        line-height: 1.1;
        font-weight: 500;
        margin: 2rem 0;
        color: var(--darkblue);
        text-align: center;
    }

    & .contenido {
        & h2 {
            font-size: 1.75rem;
            font-size: clamp(1.75rem, 1.7rem + 0.2vw, 1.875rem); /*30px - 28px*/
            line-height: 1.1;
            text-align: start;
            margin: 1rem 0 1.5rem 0;
        }

        & h3 {
            font-size: 1.5rem;
            font-size: clamp(1.5rem, 1.45rem + 0.2vw, 1.625rem) /*26px - 24px*/;
            line-height: 1.1;
            margin: 0.7rem 0;
            color: var(--darkblue);
        }

        & h4 {
            font-size: 1.125rem;
            font-size: clamp(1.125rem, 1.075rem + 0.2vw, 1.25rem) /*20px - 18px*/;
            line-height: 1.1;
            font-weight: 600;
            margin: 0.5rem 0;
            text-transform: uppercase;
            color: var(--darkblue);
        }

        & p {
            margin-bottom: 0.5rem;
        }

        & img {
            max-width: 100%;
        }

        & ul {
            margin-left: 1rem;
        }
    }
}

.tag_fecha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-size: 1.125rem;
    color: var(--blue);
    font-weight: 400;
    height: 41px;
    border-radius: 1.5rem;
    border: 1px solid var(--blue);
}

.mensaje-exito {
    max-width: 400px;
    width: 90%;
    min-height: 150px;
    padding: 20px;
    flex-direction: column;
    background-color: rgba(#01214A, 0.9);
    justify-content: center;
    align-items: stretch !important;
    box-sizing: border-box;
    position: fixed;
    z-index: 9999;
    border-radius: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contenedor-mensaje {
    background-color: var(--white);
    height: 260px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
}

.contenedor-mensaje .titulo {
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--darkblue);
    text-align: center;
}

.contenedor-mensaje .btn-base3 {
    border-radius: 30px;
    margin-top: 1rem;
    zoom: 0.9;
}

.logo-back {
    height: 130px;
}

.bg {
    & input, & textarea, & select {
        border-color: var(--blue);
        background-color: rgba(255, 255, 255, 0.9);
        color: var(--black);
    }

    & textarea {
        height: 100px;
    }

    & input[type="text"]:focus,
    & input[type="password"]:focus,
    & textarea:focus,
    & input[type="file"]:focus,
    & select:focus {
        border: 1px solid var(--blue) !important;
        box-shadow: 0 0 6px var(--blue) !important;
        background-color: var(--white);
        color: var(--black) !important;
    }

    label {
        color: var(--black);
        font-weight: 500;
    }
}

#login, .back {

    & input, & textarea {
        border-color: var(--blue);
        background-color: rgba(255, 255, 255, 0.9);
        color: var(--black);

        &::placeholder {
            color: var(--gray);
        }
    }

    & input[type="text"]:focus,
    & input[type="password"]:focus,
    & textarea:focus {
        border: 1px solid var(--blue) !important;
        box-shadow: 0 0 6px var(--blue) !important;
        background-color: var(--white);
        color: var(--black) !important;
    }
}

#login {
    label {
        color: var(--black);
        font-weight: 700;
    }
}

.logout {
    position: absolute;
    top: -10px;
    right: 0;
    width: 160px;
    font-size: 13px;
    padding: 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
}

.logout2 {
    height: 35px;
    width: 150px;
    font-size: 13px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
}

.admin {
    padding-bottom: 20px;
}

.bg .btn-base3 {
    background-color: var(--white);
    &:hover {
        background-color: var(--darkblue);
    }
}

.admin h2,.admin label, .admin td,
.admin form td  {
    color: var(--black) !important;
}

.admin th {
    color: var(--white) !important;
}

.table {
    background-color: transparent;
    border-radius: 8px;

    .nombrep {
        width: 80%;
    }
}

.table th,
.table td {
    background-color: transparent;
}

.table thead th {
    background-color: var(--blue);
    color: #333;
}

.table-striped tbody tr {
    background-color: var(--white);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(#c4dcf1, 1);
}

.acciones-panel {
    display: flex;
    justify-content: center;
    min-width: 140px;
}

.accion {
    border-radius: 8px;
    display: flex;
    padding: 6px;
    align-items: flex-start;
    border: none;
    transition: all 0.5s ease;
    min-width: 30px;
    margin-inline: 0.5rem;

    &.editar {
        background: #367e10;
    }

    &.eliminar {
        background: #d70d0d;
    }

    &:hover {
        filter: brightness(1.3);
    }

}

#copete {
    height: 175px;
}

.ck-editor {
    width: 100% !important;
    margin-left: 4px !important;
}

.ck-editor__editable_inline {
    width: 100%;
    height: 450px;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: var(--black);
    border-color: var(--blue) !important;

    &:focus {
        border: 1px solid var(--blue) !important;
        background-color: transparent;
        color: var(--black) !important;
    }
}

#filtro-productos, #filtro-areas, #filtro-laboratorios, #filtro-blogs {
        border-color: var(--blue);
        background-color: rgba(255, 255, 255, 0.9);
        color: var(--black);

        &::placeholder {
            color: var(--gray);
        }
}

.bg {
    position: relative;

    &::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-size: 1000px;
        background-repeat: repeat;
        background-image: url("../img/others/trama.png");
        opacity: 0.3;
        z-index: -1;
    }
}

.form-productos {
    & input {
        border: 1px solid #050505;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

        &:focus {
            border: 1px solid var(--blue) !important;
            box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        }
    }

    & .btn-base3 {
        max-width: 50px;
    }
}

.form-label {
    padding: 0;
}

.bg .menu li.active {
    font-weight: 800;
    background-color: var(--blue);
    color: var(--white);
    font-weight: 700;
}

.bg .menu {
    display: flex;
    width: 100% !important;
    padding: 0;
}

.bg .menu li {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-size: clamp(0.875rem, 0.775rem + 0.4vw, 1.125rem);
    font-weight: 600;
    height: 50px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    cursor: pointer;
    border: 1px solid var(--blue);
    background-color: var(--white);
}

.table-responsive {
    margin-top: 1rem;
    height: 600px;
    overflow-y: auto;
}

.table-responsive::-webkit-scrollbar{
    width: 0;
    background-color: transparent;
}

html {
    width: 100dvw !important;
    overflow-x: hidden !important;
}