@media only screen and (max-width:767px) {

    [class*="computer only"]:not(.mobile),
    [class*="mobile hidden"],
    [class*="or lower hidden"],
    [class*="tablet only"]:not(.mobile),
    [class*="widescreen only"]:not(.mobile) {
        display: none !important
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {

    [class*="computer only"]:not(.tablet),
    [class*="large screen only"]:not(.tablet),
    [class*="mobile only"]:not(.tablet),
    [class*="or lower hidden"]:not(.mobile),
    [class*="tablet hidden"],
    [class*="widescreen only"]:not(.tablet) {
        display: none !important
    }
}

@media only screen and (min-width:992px) and (max-width:1199px) {

    [class*="computer hidden"],
    [class*="large screen only"]:not(.computer),
    [class*="mobile only"]:not(.computer),
    [class*="or lower hidden"]:not(.tablet):not(.mobile),
    [class*="tablet only"]:not(.computer),
    [class*="widescreen only"]:not(.computer) {
        display: none !important
    }
}

@media only screen and (min-width:1200px) and (max-width:1919px) {

    [class*="computer only"]:not([class*="large screen"]),
    [class*="large screen hidden"],
    [class*="mobile only"]:not([class*="large screen"]),
    [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile),
    [class*="tablet only"]:not([class*="large screen"]),
    [class*="widescreen only"]:not([class*="large screen"]) {
        display: none !important
    }
}

@media only screen and (min-width:1920px) {

    [class*="computer only"]:not([class*=widescreen]),
    [class*="large screen only"]:not([class*=widescreen]),
    [class*="mobile only"]:not([class*=widescreen]),
    [class*="tablet only"]:not([class*=widescreen]),
    [class*="widescreen hidden"],
    [class*="widescreen or lower hidden"] {
        display: none !important
    }
}

.ui.button.primary {
    background: #2857a7
}

a,
body,
h1,
html {
    font-family: Poppins, sans-serif;

}


.toast-container {
    top: 8rem !important
}

main {
    position: relative;
    top: 110px
}

@media only screen and (max-width:767px) {
    main {
        top: 83px
    }
}

.ui.grid {
    margin-top: 0;
    margin-bottom: 0
}

.error {
    color: #c92923;
    font-variant: all-small-caps;
    font-weight: 700;
    font-size: 1.2em
}

.ui.fluid.container {
    margin-left: 0 !important;
    margin-right: 0 !important
}

.section-title {
    text-transform: uppercase;
    padding: 2.5em 0;
    font-size: 1.4em;
    font-weight: 700
}

.section-title.center {
    text-align: center
}

.section-title.center:after {
    content: "";
    background: #2857a7;
    width: 40px;
    height: 3px;
    position: relative;
    display: block;
    margin: 6px auto 0
}

.section-title.left {
    text-align: left
}

.section-title.left:after {
    content: "";
    background: #2857a7;
    width: 40px;
    height: 3px;
    position: relative;
    display: block;
    top: 6px
}

header#navbar {
    position: fixed;
    width: 100%;
    z-index: 100
}

header#navbar #top-black-menu {
    margin: 0
}

header#navbar #top-black-menu-mobile {
    margin: 0;
    background: #222;
}

header#navbar #top-black-menu-mobile .column {
    padding: 2px
}

header#navbar #top-black-menu-mobile .column img {
    height: auto;
    width: 100px
}

header#navbar #main-menu {
    margin: 0;
    background-color: #222;
    height: 70px;
    -webkit-transition: all .4s;
    transition: all .4s
}

header#navbar #main-menu .item {
    text-transform: uppercase;
    color: #fff;
    height: inherit
}

header#navbar #main-menu .item.image {
    -webkit-transition: padding .4s;
    transition: padding .4s
}

header#navbar #main-menu .item.image img {
    height: 100%;
    width: auto
}

header#navbar #main-menu .item.active {
    color: #487cd3 !important;
    font-weight: 700
}

header#navbar #main-menu .item.payment .menu {
    background: #222
}

header#navbar #main-menu .item.payment .menu .item {
    color: #fff !important;
    text-transform: uppercase !important
}

header#navbar #main-menu .item.payment .menu .item.active {
    color: #487cd3 !important;
    font-weight: 700
}

header#navbar #main-menu .item.payment .menu .divider {
    border: none;
    height: 1px;
    background: grey;
    margin: 0 16px
}

header#navbar #main-menu.scrolled {
    height: 59px
}

header#navbar #main-menu.scrolled .item.image {
    padding: 4px
}

header#navbar #main-menu-mobile {
    margin: 0
}

footer {
    padding: 3rem 0 0;
    background: url(/dist/site/images/footer_bg.jpg) 50%;
    background-size: cover;
    color: #c1c1c1
}

@media only screen and (max-width:767px) {
    footer {
        background-size: cover;
        background: url(/dist/site/images/footer-bg-mobile.jpg) fixed 50%
    }
}

footer .item {
    margin-bottom: 1.2rem;
    display: block;
    color: inherit
}

footer section.content .title {
    font-size: 1.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem
}

footer section.content .contact.item {
    display: -webkit-box;
    display: flex
}

footer section.content .contact.item a {
    color: inherit
}

footer section.content .contact.item span {
    margin-left: 10px
}

footer section.content .contact.item.phone {
    font-size: 1.2em
}

footer section.content .contact.item.phone a {
    color: #f9aa1a !important
}

footer section.subscribe {
    background: rgba(0, 0, 0, .7);
    padding: 2rem 0
}

@media only screen and (max-width:767px) {
    footer section.subscribe {
        text-align: center !important
    }
}

footer section.subscribe .inline.field label {
    color: #fff !important
}

@media only screen and (max-width:767px) {
    footer section.subscribe .inline.field label {
        margin-bottom: 1rem !important
    }
}

footer section.subscribe .inline.field input {
    border-radius: 1.5rem !important;
    background: #1c1c1c !important;
    color: #fff !important;
    width: 350px !important
}

@media only screen and (max-width:767px) {
    footer section.subscribe .inline.field input {
        width: 100% !important
    }
}

footer section.subscribe .inline.field button.send {
    position: relative;
    left: -36px;
    background: transparent;
    color: #fff;
    border: 0
}

@media only screen and (max-width:767px) {
    footer section.subscribe .inline.field button.send {
        display: none
    }
}

footer section.subscribe .inline.field .social-links {
    text-align: right
}

@media only screen and (max-width:767px) {

    footer section.bottom .four.wide,
    footer section.subscribe .inline.field .social-links {
        text-align: center
    }
}

footer section.bottom .paycards.column img {
    display: inline
}

@media only screen and (max-width:767px) {
    footer section.bottom .paycards.column img {
        display: block
    }

    footer section.bottom .paycards.column img.primary {
        max-height: 65px;
        margin: 0 auto
    }
}

footer section.bottom .image {
    align-self: center;
    max-height: 30px
}

footer .menu-accordion .grid {
    margin: 0 !important
}

footer .menu-accordion .grid .column {
    padding: 0 !important
}

section.banner .slide {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center
}

section.banner .slide .ui.image {
    width: 100%;
    position: relative
}

section.banner .slide .content {
    color: #fff;
    position: absolute
}

section.banner .slide .content .know-more {
    margin-top: 3rem
}

@media only screen and (max-width:767px) {
    section.banner .slide .content .know-more {
        margin-top: 1px
    }

    section.banner .slide .content .know-more .button {
        padding: 6px 10px;
        font-size: .8em
    }
}

section.banner .slide .content .text .title {
    font-size: 3.5em;
    margin: 0
}

@media only screen and (max-width:767px) {
    section.banner .slide .content .text .title {
        font-size: 1.4em;
        max-width: 200px
    }
}

section.banner .slide .content .text .subtitle {
    position: relative;
    left: 5rem;
    font-weight: 700
}

section.banner .slide .content .text .subtitle:before {
    content: "";
    width: 60px;
    height: 2px;
    background: #fff;
    position: absolute;
    left: -68px;
    top: 12px
}

@media only screen and (max-width:767px) {
    section.banner .slide .content .text .subtitle:before {
        width: 20px;
        left: -27px
    }
}

@media only screen and (max-width:767px) {
    section.banner .slide .content .text .subtitle {
        font-size: .7em;
        left: 2rem
    }
}

section.banner .slide .content .text .extra {
    margin-top: 1rem
}

@media only screen and (max-width:767px) {
    section.banner .slide .content .text .extra {
        margin-top: 0;
        font-size: .7em
    }
}

section.home.icons {
    padding: 2rem 0
}

section.home.icons .item {
    text-align: center;
    font-size: 18px;
    padding: 2rem 0
}

section.home.icons .item img {
    max-height: 90px;
    width: auto
}

section.home.icons .item .title {
    margin-top: 20px;
    font-weight: 700
}

section.home.icons .item .subtitle {
    margin-top: 10px;
    color: grey
}

@media only screen and (max-width:767px) {
    section.home.icons .item {
        padding: 1rem 0
    }
}

section.home.icons .spacer.column {
    display: -webkit-box !important;
    display: flex !important;
    -webkit-box-pack: center !important;
    justify-content: center !important;
    -webkit-box-align: center !important;
    align-items: center !important
}

section.home.icons .spacer.column .separator {
    height: 100px;
    width: 2px;
    background: #d3d3d3
}

@media only screen and (max-width:767px) {
    section.home.icons .spacer.column .separator {
        height: 2px;
        width: 60px
    }
}

@media only screen and (max-width:767px) {
    section.video .ui.embed>.icon:before {
        font-size: 2rem
    }
}

section.payment {
    background: url(/dist/site/images/home_parallax.jpg) no-repeat fixed;
    height: 300px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    background-size: contain;
    background-position: center !important;
    padding: 4rem 0
}

section.payment .slogan {
    color: #fff;
    font-size: 3em;
    line-height: normal
}

@media only screen and (max-width:767px) {
    section.payment .slogan {
        font-size: 2em
    }
}

section.payment .action {
    color: #ffd61e;
    margin-top: 4rem
}

section.payment .action .dropdown .text {
    font-size: 1.2em;
    text-transform: uppercase;
    text-decoration: underline
}

@media only screen and (max-width:767px) {
    section.payment .action .dropdown .text {
        font-size: 1em
    }
}

section.payment .action .dropdown .item {
    text-transform: uppercase
}

@media only screen and (max-width:767px) {
    section.payment .action {
        margin-top: 1rem
    }
}

@media only screen and (max-width:767px) {
    section.payment {
        padding: 1rem 0
    }
}

section.payment-advertising {
    padding: 3rem 0;
    background: #b5b5b5
}

section.payment-advertising .content {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center
}

section.payment-advertising .content img {
    max-height: 70px
}

section.payment-advertising .content .text {
    margin-left: 1rem;
    font-size: 1.1em
}

section.payment-advertising .content .text .title {
    color: #3f3f3f;
    margin-bottom: 4px;
    text-transform: uppercase
}

section.payment-advertising .content .text .description {
    color: #515151
}

section.donwload-catalog {
    background: #2857a7;
    padding: 1rem 0
}

section.donwload-catalog .text {
    font-size: 1.1em;
    color: #fff
}

section.donwload-catalog .ui.button {
    background: #fff;
    text-transform: uppercase;
    color: #000;
    border-radius: 0;
    padding: 1rem 2rem
}

@media only screen and (max-width:767px) {
    section.donwload-catalog .column {
        display: -webkit-box !important;
        display: flex !important;
        -webkit-box-pack: center !important;
        justify-content: center !important;
        -webkit-box-align: center !important;
        align-items: center !important;
        text-align: center
    }
}

.products.grid .column {
    padding: 1px !important
}

.product.item {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center
}

.product.item img {
    width: 100%;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-filter: brightness(.5);
    filter: brightness(.5)
}

.product.item .title {
    color: #fff;
    text-align: center;
    font-size: 20px
}

.product.item .button,
.product.item .title {
    -webkit-transition: all .5s;
    transition: all .5s;
    position: absolute
}

.product.item .button {
    bottom: 0;
    opacity: 0
}

.product.item:hover img {
    -webkit-filter: brightness(1);
    filter: brightness(1)
}

.product.item:hover .title {
    opacity: 0
}

.product.item:hover .button {
    opacity: 1;
    bottom: 50px
}

#product-modal .header {
    text-align: center
}

section.products .section-header {
    background: url(/dist/site/images/products_header.jpg) no-repeat fixed 50%;
    background-size: cover;
    padding: 10rem 0;
    text-align: center;
    color: #fff;
    font-size: 1.8em
}

section.products .section-header div :first-child {
    margin-bottom: 1rem
}

.gallery.grid {
    margin: 0
}

.gallery.grid .column {
    padding: 0 !important
}

.gallery.grid .column .item {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin: 0
}

.gallery.grid .column .item img {
    width: 100%;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-filter: brightness(.5);
    filter: brightness(.5)
}

.gallery.grid .column .item:hover img {
    -webkit-filter: brightness(1);
    filter: brightness(1)
}

.gallery-modal .content .title {
    text-align: center;
    color: #3d3d3d;
    font-weight: 700;
    margin-top: 1rem
}

section.contact .items {
    margin: 3rem 0
}

section.contact .items .item {
    display: -webkit-box;
    display: flex;
    margin-bottom: 1rem
}

section.contact .items .item a {
    color: inherit
}

section.contact .items .item span {
    margin-left: 10px
}

section.blog.list {
    padding-bottom: 4em
}

section.blog.list .card:nth-child(2n) {
    top: 2em
}

@media only screen and (max-width:767px) {
    section.blog.list .card .content .header {
        font-size: 1em !important
    }
}

section.blog.list .card .meta {
    font-size: 12px;
    margin-bottom: 7px
}

@media only screen and (max-width:767px) {
    section.blog.list .card .extra {
        font-size: .9em !important
    }
}

section.posts .section-header {
    background: url(/dist/site/images/blog_header.jpg) no-repeat fixed 50%;
    background-size: cover;
    padding: 10rem 0;
    text-align: center;
    color: #fff;
    font-size: 1.8em
}

section.posts .section-header div :first-child {
    margin-bottom: 1rem
}

section.posts .item {
    padding: 2rem 0
}

section.posts .item .main.image {
    width: 100%
}

section.posts .item .title {
    font-size: 1.5em;
    text-align: center;
    margin: 3rem 0 1rem
}

section.posts .item .date {
    text-align: center;
    color: grey
}

section.posts .item .content {
    margin-top: 2rem
}

section.posts .item .back {
    margin-top: 2rem;
    text-align: center
}

section.posts .item #disqus_thread {
    margin-top: 2rem
}

section.user .explanation {
    margin-bottom: 1rem
}

section.somos .section-header {
    background: url('https://recalfreno.com/_zxyabc/media/384/img/NShZn1wku7XNwUiTLVIPHwPSoS0HcRPgQuNGqMFp.webp');
    background-size: cover;
    background-position:end;
    padding: 10rem 0;
    text-align: center;
    color: #fff;
    font-size: 1.8em;
    background-repeat: no-repeat;
    width: 100vw;
    max-width:100vw;
    height: 40vh;
    position: relative;
    transition: all 0.2s ease;
}

section.somos .section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    transition: all 0.2s ease;
}

section.somos .section-header > * {
    position: relative;
    z-index: 2;
}

section.somos .section-header:hover {
    color: rgba(255,255,255,0);
}

section.somos .section-header:hover::before {
    background-color: rgba(0, 0, 0, 0);  
}

@media (max-width: 768px) {
    
    
section.somos .section-header {
        background-image: url('https://recalfreno.com/_zxyabc/media/385/img/K4T2FGhAOEfPykJkPIgtP1oP0AYyieoPZ1kzQ9b0.webp') !important;
        background-position: center;
        
    }

section.somos .section-header div :first-child {
    margin-bottom: 1rem
}

section.somos .body p {
    text-align: justify
}

section.somos .body .history {
    border-left: 5px solid #f9aa1a;
    padding-left: 1rem;
    margin-bottom: 2rem
}

section.somos .body .history .title {
    text-transform: uppercase;
    font-size: 1.2em
}

section.somos .body .vision-mision {
    padding: 4rem 0;
    margin: 2rem 0;
    background: #ebebeb
}

section.somos .body .vision-mision .item .title {
    margin: 1rem 0;
    text-transform: uppercase
}

.spacer {
    padding: 2rem 0
}



   .mi-nueva-seccion {
        margin: 40px 0;
        text-align: center;
        overflow: hidden;
    }
    .t h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    .t p {
        color: #555;
        margin-bottom: 2rem;
    }

    /* Wrapper con botones */
    .carousel-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        max-width: 90vw;
        margin: 0 auto;
        position: relative;
    }

    /* Contenedor que oculta el desborde */
    .carousel-container {
        flex: 1;
        overflow: hidden;
        border-radius: 12px;
        height: 20vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Pista que se moverá con transform */
    .carousel-track {
        display: flex;
        gap: 30px;
        transition: transform 0.3s ease-out;
        will-change: transform;
    }

    /* Botones laterales */
    .carousel-btn {
        background: linear-gradient(2deg,rgba(30, 62, 122, 1) 0%, rgba(16, 73, 179, 1) 100%);
        border: none;
        color: white;
        font-size: 2rem;
        font-weight: bold;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        text-align: center;
        text-justify: center;
        justify-content: center;
        transition: all 0.2s ease;
        flex-shrink: 0;
        z-index: 2;
    }
    .carousel-btn:hover {
        background: #4172cc;
        background: linear-gradient(2deg,rgba(65, 114, 204, 1) 0%, rgba(12, 92, 240, 1) 100%);
    }
    .carousel-btn:active {
        transform: scale(0.95);
    }

    /* Cada logo */
    .marca {
        flex-shrink: 0;
        width: 120px;
        height: 80px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s;
    }
    .marca:hover {
        transform: scale(1.05);
    }
    .marca img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }