:root {
    --tg-theme-accent: #4a5568;
    --tg-color-yellow-light: #4a5568;
    --tg-color-yellow-light-2: #4a5568;
}

.title {
    font-weight: 400 !important;
}

.slider__bg-two::before {
    display: none;
    background-image: none !important;
}

.offCanvas-menu .menu-tigger span:nth-child(2) {
    background: var(--tg-theme-accent);
}

.slider__bg-three::before {
    display: none;
}

.slider__pagination span.swiper-pagination-bullet-active::before {
    background-color: var(--tg-theme-accent);
}

.slider__pagination span {
    border: 0px solid #ADAFBB;
}

.slider__pagination span::before {

    background: var(--tg-theme-accent);
}

.slider__content-two .title {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1.08;
}

.slider__bg-two {
    background-image: none !important;
    min-height: clamp(500px, 60vw, 740px);
    padding: clamp(95px, 8vw, 120px) 0 clamp(110px, 10vw, 130px);
}

.slider-active-two .swiper-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s ease;
}

.slider-active-two .swiper-slide.swiper-slide-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.border-serfimex {
    border-color: rgba(var(--tg-theme-accent), var(--bs-border-opacity)) !important;
    border-top: var(--bs-border-style) var(--tg-theme-accent) !important;
}

.slider__content-two p {
    margin-bottom: 22px;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.6;
    max-width: 35ch;
}

.about__list-box-item .icon {
    color: var(--tg-theme-accent);
}

.contactanos {
    color: var(--tg-theme-accent);
}

.link-btn svg {
    font-size: 15px;
    font-weight: 600;
    color: var(--tg-theme-accent);
}

.counter__item .count {
    color: var(--tg-theme-accent);
}

.counter__area {
    background: var(--tg-theme-secondary);
}

.counter__area .counter__wrap {
    background: transparent;
}

.counter__area .counter__wrap::before {
    display: none;
}

.counter__area .counter__item .count,
.counter__area .counter__item p {
    color: #ffffff;
}

.home-cta {
    padding-top: 35px;
}

.cta__content-three .title {
    text-transform: none;
}

.sectors__area {
    padding: 110px 0;
    background: #f4f7fa;
}

.sectors__title {
    max-width: 840px;
    margin: 0 auto 48px;
}

.sectors__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.sectors__item {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #0a3659;
}

.sectors__item::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(180deg, transparent, rgba(3, 28, 49, 0.88));
}

.sectors__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sectors__item h3 {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 1;
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.2;
    text-transform: uppercase;
}

.sectors__item:hover img {
    transform: scale(1.05);
}

.sectors__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 560px;
    margin: 42px auto 0;
    color: var(--tg-theme-primary);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.sectors__more::before,
.sectors__more::after {
    content: "";
    width: 70px;
    height: 3px;
    background: var(--tg-theme-primary);
}

@media (max-width: 991.98px) {
    .sectors__area {
        padding: 85px 0;
    }

    .sectors__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .sectors__area {
        padding: 65px 0;
    }

    .sectors__title {
        margin-bottom: 30px;
    }

    .sectors__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.home-faq {
    
}

.home-faq .faq__wrap-two {
    margin-left: 0;
}

.home-faq .section__title .sub-title {
    text-transform: none;
}

.home-faq .faq__content-two>h6 {
    margin-bottom: 0;
    font-weight: 400;
}

.home-faq .faq__wrap-two .accordion-button {
    font-size: 32px;
    font-size: clamp(19px, 2.2vw, 30px);
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-faq .faq-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--tg-color-gray-6);
    min-width: 28px;
}

.home-faq .faq__wrap-two .accordion-body {
    padding-top: 5px;
}

.home-faq .faq__wrap-two .accordion-body p {
    max-width: 920px;
}

@media (max-width: 767.98px) {
    .home-faq .faq__wrap-two .accordion-button {
        gap: 12px;
    }

    .home-faq .faq-number {
        min-width: 24px;
        font-size: 13px;
    }
}

.tgmenu__main-menu li.menu-item-has-children>a::after {
    color: var(--tg-theme-accent);
}

.tgmenu__navbar-wrap .mobile-account-item {
    display: none;
}

.tgmobile__menu .mobile-account-item {
    display: block;
}

@media (max-width: 991.98px) {
    .tgmenu__nav .logo {
        display: block;
        flex: 0 0 auto;
    }

    .tgmenu__nav .logo a,
    .tgmenu__nav .logo img {
        display: block;
    }

    .tgmenu__nav .logo img {
        width: 190px;
        max-width: 100%;
        max-height: 48px;
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .tgmenu__nav .logo img {
        width: 200px;
    }
}

@media (max-width: 1293.98px) {
    .tgmenu__action {
        display: none;
    }
}

@media (min-width: 992px) {
    .tgmenu__nav {
        display: grid;
        grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
        gap: 12px;
        align-items: center;
        position: relative;
        white-space: nowrap;
    }

    .tgmenu__nav .logo {
        justify-self: start;
        flex-shrink: 0;
    }

    .tgmenu__nav .logo img {
        width: 200px;
        max-height: 48px;
        height: auto;
        display: block;
    }

    .tgmenu__navbar-wrap {
        justify-self: center;
        width: max-content;
        min-width: 0;
    }

    .tgmenu__navbar-wrap ul {
        margin: 0;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .tgmenu__navbar-wrap ul li a {
        padding: 26px 7px;
        font-size: 13px;
        white-space: nowrap;
    }

    .tgmenu__action {
        justify-self: end;
        margin-left: 0;
        flex-shrink: 0;
    }

    .tgmenu__action > ul {
        display: flex;
        align-items: center;
        gap: 14px;
        white-space: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .tg-header__area,
    .tg-header__area.sticky-menu {
        padding: 8px 0;
    }

    .tgmenu__navbar-wrap.tgmenu__main-menu {
        display: flex !important;
        position: absolute;
        left: 50%;
        width: max-content;
        transform: translateX(-50%);
        z-index: 2;
    }

    .tg-header__area .mobile-nav-toggler {
        display: none;
    }

    .tgmenu__navbar-wrap ul {
        gap: 8px;
    }

    .tgmenu__navbar-wrap ul li a {
        padding: 16px 0;
        font-size: 12.5px;
    }
}

@media (min-width: 1200px) {
    .tgmenu__nav {
        grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
        gap: 18px;
    }

    .tgmenu__nav .logo img {
        width: 220px;
    }

    .tgmenu__navbar-wrap ul li a {
        padding: 28px 9px;
        font-size: 14px;
    }
}

@media (min-width: 1294px) {
    .tgmenu__nav {
        grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
        gap: 20px;
    }

    .tgmenu__nav .logo img {
        width: 270px;
    }

    .tgmenu__navbar-wrap ul li a {
        padding: 30px 12px;
        font-size: 14px;
    }
}

.tgmenu__navbar-wrap ul li .sub-menu li a:hover {

    color: var(--tg-theme-accent);
}

.tg-btn svg {
    
}

.offCanvas__side-info .contact-list a,
.offCanvas__side-info .contact-list p {
    line-height: 18px;
    font-size: 14px;
}

.offCanvas__side-info .contact-list i {
    font-size: 18px;

}

.offCanvas__side-info .contact-list {
    margin-bottom: 10px;
}

.tg-header__top {
    padding: 3px 0;
}

.tg-header__top-info .list-wrap li {
    font-size: 12.5px;
}

.tg-header__top-right>.list-wrap>li {
    font-size: 12.5px;
}

.tg-header__top-social .list-wrap li a svg {
    width: 14px;
    height: 14px;
}

.tg-header__top-right>.list-wrap>li.top-account-link {
    display: none;
}

@media (min-width: 992px) and (max-width: 1293.98px) {
    .tg-header__top-right>.list-wrap>li.top-account-link {
        display: flex;
    }

    .tg-header__top-right>.list-wrap>li.top-account-link a {
        color: #ffffff;
        font-weight: 600;
        white-space: nowrap;
    }
}

.tgmobile__menu .social-links ul li a img,
.tgmobile__menu .social-links ul li a svg {
    width: 16px;
    height: 16px;
}

.title-home-products {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    height: auto;
}

@media (min-width: 768px) {
    .title-home-products {
        line-clamp: 2;
        -webkit-line-clamp: 2;
        height: calc(1.5em * 2);
    }
}

@media (min-width: 992px) {
    .title-home-products {
        line-clamp: 2;
        -webkit-line-clamp: 2;
        height: calc(1.5em * 2);
    }
}

@media (min-width: 1200px) {
    .title-home-products {
        line-clamp: 3;
        -webkit-line-clamp: 3;
        height: calc(1.5em * 3);
    }
}

.services__content .title {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer__widget-link-two li {
    line-height: 19px;
    font-size: 12px;
}

.footer__top-two .row *:nth-child(2) .footer__widget {
    margin-left: 0;
}

.footer__top-two .row *:nth-child(4) .footer__widget {
    margin-left: 0;
}

.footer__widget {
    margin-bottom: 20px;
}

.home-press-section {
    margin-bottom: 90px;
}

.home-press-section .row.gutter-y-30 > [class*="col-"] {
    display: flex;
}

.home-press-section .blog__post-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.home-press-section .blog__post-content {
    flex: 1;
}

.home-press-section .blog__post-thumb > a {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-press-section .blog__post-thumb > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767.98px) {
    .home-press-section {
        margin-bottom: 60px;
    }
}

.slider__bg-three::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    clip-path: polygon(25% 0, 30% 0, 5% 100%, 0 100%);
    background: #002e5b;
}

.tg-hover-btn::before {
    background: var(--tg-theme-secondary);
}

.tg-btn-light {
background: var(--tg-color-gray-1) none repeat scroll 0 0 ;
color: var(--tg-heading-color);
}
.slider__bg-two .shape img {
    position: absolute;
    left: 92px;
    bottom: 22px;
    width: 80px;
}

.brand__title {
    margin: 0 0 30px;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

/* 1. Definir una altura fija para las diapositivas */
.brand-active .swiper-slide {
    height: 100px;
    /* Cambia este valor según lo que necesites */
    display: flex;
    align-items: center;
    /* Centra el logo verticalmente */
    justify-content: center;
    /* Centra el logo horizontalmente */
}

/* 2. Ajustar la imagen para que respete el contenedor */
.brand-active .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Evita que la imagen se deforme o se estire */
}

.section__title .title {
    text-transform: initial;
}

.slider__content-two .title {
    text-transform: initial;
}

.slider__content-two p,
.tg-btn.tg-btn-seven {
    text-transform: initial;
}

.services-active {
    margin-right: 0;
}

/* Ajustes visuales para la sección de productos del home */
.services__area.services__bg {
    background: transparent !important;
    background-color: transparent !important;
}

.services__area .services__shape-wrap {
    display: none;
}

.services__area .services__item {
    border: 1px solid #d8dee8;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.services__area .services__item:hover,
.services__area .services__item:focus-within {
    transform: translateY(-6px);
    border-color: #c8d2e1;
    box-shadow: 0 20px 42px -28px rgba(4, 77, 124, 0.45);
}

.services__area .services__item-shape {
    display: none;
}

.services__area .services__thumb {
    overflow: hidden;
}

.services__area .services__thumb img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transform: scale(1);
}

.services__area .services__item:hover .services__thumb img {
    transform: scale(1.05);
}

.services__area .services__content {
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.services__area .services__content .link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    --arrow-hover-move-x: 110%;
    color: var(--tg-body-color);
    transition: color 0.32s ease;
}

.services__area .services__content .link-btn svg path {
    transition: transform 0.38s cubic-bezier(0.37, 0.08, 0.02, 0.93), opacity 0.18s ease-out;
}

.services__area .services__content .link-btn svg path:nth-of-type(1) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.15s, 0.15s;
}

.services__area .services__content .link-btn svg path:nth-of-type(2) {
    transform: translateX(var(--arrow-hover-move-x));
    opacity: 0.5;
    transition-delay: 0s, 0s;
}

.services__area .services__item:hover .services__content .link-btn,
.services__area .services__item:focus-within .services__content .link-btn {
    color: var(--tg-theme-primary);
}

.services__area .services__item:hover .services__content .link-btn svg path:nth-of-type(1),
.services__area .services__item:focus-within .services__content .link-btn svg path:nth-of-type(1) {
    transform: translateX(calc(-1 * var(--arrow-hover-move-x)));
    opacity: 0;
    transition-delay: 0s, 0s;
}

.services__area .services__item:hover .services__content .link-btn svg path:nth-of-type(2),
.services__area .services__item:focus-within .services__content .link-btn svg path:nth-of-type(2) {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.15s, 0.15s;
}

@media (max-width: 991.98px) {
    .slider__content-two p {
        margin-left: auto;
        margin-right: auto;
        max-width: 42ch;
    }

    .slider__content-two .border-serfimex {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .services__area .services__content {
        min-height: 225px;
    }
}

@media (max-width: 767.98px) {
    .slider__bg-two {
        min-height: 520px;
        padding: 105px 0 120px;
    }

    .slider__content-two {
        margin-top: 0;
    }

    .slider__pagination {
        bottom: 34px !important;
    }

    .services__area .services__content {
        min-height: 205px;
        padding: 22px 20px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slider-active-two .swiper-slide,
    .services__area .services__item,
    .services__area .services__thumb img,
    .services__area .services__content .link-btn,
    .services__area .services__content .link-btn svg path {
        transition: none !important;
    }
}

.blog__post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__social .list-wrap li a img {
    width: 20px;
    height: 20px;
}

.footer__top-two {
    padding: 55px 0 0px;
}

.producto-banner-footer {
    margin-bottom: 70px;
}

@media (max-width: 767.98px) {
    .producto-banner-footer {
        margin-bottom: 45px;
    }
}

.site-footer.footer__area-five {
    margin-top: 0;
    padding-top: 0;
}

.site-footer .footer__top-two {
    padding: 52px 0 36px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(230px, 0.85fr) minmax(160px, 0.55fr) minmax(430px, 1.4fr);
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.site-footer .footer__widget {
    margin: 0;
}

.site-footer .footer__logo-two {
    margin-bottom: 22px;
}

.site-footer .footer__logo-two img {
    width: min(100%, 270px);
    height: auto;
}

.site-footer .footer__widget-title-two {
    margin-bottom: 14px;
    font-size: 17px;
}

.site-footer .footer__widget-link-two li {
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.45;
}

.site-footer__address {
    max-width: 520px;
}

.site-footer__phones {
    display: flex;
    gap: 22px;
}

.site-footer__phones a {
    white-space: nowrap;
}

.site-footer__badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.site-footer__badges a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer__badges img {
    width: auto;
    max-width: 120px;
    height: 62px;
    object-fit: contain;
}

.site-footer .footer__bottom-two {
    padding: 20px 0;
}

.site-footer .copyright__content-two p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .site-footer__grid {
        grid-template-columns: minmax(220px, 0.8fr) minmax(380px, 1.2fr);
        gap: 40px 60px;
    }

    .site-footer__legal {
        grid-row: 2;
    }

    .site-footer__contact {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 767.98px) {
    .site-footer .footer__top-two {
        padding: 32px 0 24px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__legal,
    .site-footer__contact {
        grid-column: auto;
        grid-row: auto;
    }

    .site-footer__phones {
        flex-direction: column;
        gap: 5px;
    }

    .site-footer__badges {
        flex-wrap: wrap;
        gap: 18px;
    }

    .site-footer__badges img {
        height: 54px;
    }

    .site-footer .footer__bottom-two {
        padding: 16px 0;
    }
}

.about__img-wrap-two::before {
background: var(--tg-color-gray-1);
}

.about__area-two::before {
display: none;
}

.benefit__area-two {
background: none;
}

.call__back-form-two .form-grp textarea, .call__back-form-two .form-grp input {
background: var(--tg-theme-secondary);
color: var(--tg-color-white-default);
font-size: 14px;
border: none;
}

.features__item-two {
background: var(--tg-theme-primary);
}

.section__title .sub-title {
font-size: 24px;
}

.section-py-130 {
padding: 90px 0;
}
.section-pb-130 {
padding-bottom: 90px;
}
.cta__contact .content a {
display: block;
color: var(--tg-color-white-default);
font-size: 20px;
font-weight: 600;
line-height: 1.4;
}

/* Hero Banner Container */
.hero-video-banner {
    min-height: 480px;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
    isolation: isolate;
}

/* Card del Video (Se muestra completo sin recortes) */
.hero-video-card {
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background-color: #000;
}

.hero-video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Ajustes de tipografía y espaciado del Hero */
.hero-content-wrap {
    padding: 2.5rem 1.5rem;
}

@media (min-width: 992px) {
    .hero-content-wrap {
        padding: 3rem 2rem 3rem 1rem;
    }
}

.features__icon-two {
    background: linear-gradient(#fff, rgba(255, 255, 255, .9));
}
    .features__icon-two {

background: linear-gradient(#fff, rgba(255, 255, 255, .9));
}

.tgmenu__navbar-wrap ul li.active {
text-decoration: underline;
}
.about__area-three::before {
background: #ffffff;
}