@media only screen and (min-width:1200px) and (max-width:1399px) {
    .h1, h1 {
        font-size: 60px;
        line-height: 72px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px) {
    .h1, h1 {
        font-size: 52px;
        line-height: 64px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .h1, h1 {
        font-size: 50px;
        line-height: 52px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .h1, h1 {
        font-size: 38px;
        line-height: 50px
    }
}

@media (max-width:575px) {
    .h1, h1 {
        font-size: 32px;
        line-height: 44px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px) {
    .h2, h2 {
        font-size: 38px;
        line-height: 50px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .h2, h2 {
        font-size: 40px;
        line-height: 52px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .h2, h2 {
        font-size: 40px;
        line-height: 52px
    }
}

@media (max-width:575px) {
    .h2, h2 {
        font-size: 30px;
        line-height: 42px
    }
}

@media (max-width:450px) {
    .h2, h2 {
        font-size: 27px;
        line-height: 37px
    }
}

@media (max-width:575px) {
    .h3, h3 {
        font-size: 30px;
        line-height: 42px
    }
}

@media (max-width:450px) {
    .h3, h3 {
        font-size: 27px;
        line-height: 37px
    }
}

@media only screen and (max-width:992px) {
    #scroll-percentage {
        right: 30px
    }
}

@media only screen and (max-width:767px) {
    #scroll-percentage {
        bottom: 20px;
        right: 20px
    }
}

@media only screen and (max-width:992px) {
    #scroll-percentage.active {
        bottom: 30px
    }
}

@media only screen and (max-width:767px) {
    #scroll-percentage.active {
        bottom: 20px
    }
}

@media (min-width:992px) {
    .mt-cursor {
        display: block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        position: fixed;
        left: 10px;
        top: 10px;
        user-select: none;
        pointer-events: none;
        visibility: hidden;
        z-index: 10000;
        -webkit-transition: all .3s cubic-bezier(.165, .84, .44, 1);
        transition: all .3s cubic-bezier(.165, .84, .44, 1)
    }

    .mt-cursor:before {
        background: var(--rr-theme-primary);
        opacity: 1;
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 0;
        transition: all .3s ease
    }

    .mt-cursor.cursor-grow:before {
        opacity: .7;
        transform: scale(1.5);
        transition: all .3s ease
    }

    .mt-cursor.hide {
        opacity: 0;
        transition: opacity .3s ease;
        transition-delay: .4s
    }

    .mt-cursor.hide .inner {
        transform: scale(.1);
        transition: transform .3s ease
    }
}

@media (max-width:575px) {
    .o-xs {
        overflow-x: hidden
    }
}

@media only screen and (min-width:1400px) and (max-width:1600px) {
    .mfp-iframe-holder .mfp-content {
        max-width: 1000px
    }
}

@media only screen and (min-width:1200px) and (max-width:1399px) {
    .mfp-iframe-holder .mfp-content {
        max-width: 850px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px) {
    .mfp-iframe-holder .mfp-content {
        max-width: 820px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .mfp-iframe-holder .mfp-content {
        max-width: 750px
    }
}

@media (max-width:575px), only screen and (min-width:576px) and (max-width:768px), only screen and (min-width:768px) and (max-width:992px) {
    .mfp-close::after {
        right: 15px;
        margin-top: -30px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .border-gray {
        border: none;
        border-radius: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .mb-md-30 {
        margin-bottom: 30px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .mt-md-30 {
        margin-bottom: 30px
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .section-space-bottom-2 {
        padding-bottom: 50px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .pb-70-custom {
        padding-bottom: 35px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .right {
        margin-right: 0;
        margin-left: 0
    }
}

@media only screen and (min-width:1200px) and (max-width:1399px), only screen and (min-width:992px) and (max-width:1199px) {
    .pb-190 {
        padding-bottom: 100px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .pb-190 {
        padding-bottom: 70px
    }
}

@media (max-width:1820px) {
    .border {
        border-radius: 0
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .faq-padding {
        padding: 30px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px) {
    .margin-t80 {
        margin-top: 40px
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .margin-t80 {
        margin-top: 10px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .padding-t100 {
        padding-top: 80px
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .padding-t100 {
        padding-top: 70px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .section-space {
        padding-top: 80px;
        padding-bottom: 80px
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .section-space {
        padding-top: 70px;
        padding-bottom: 70px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .section-space-top {
        padding-top: 80px
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .section-space-top {
        padding-top: 70px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .section-space-bottom {
        padding-bottom: 80px
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .section-space-bottom {
        padding-bottom: 70px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .pb-306 {
        padding-bottom: 255px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .pb-337 {
        padding-bottom: 240px !important
    }
}

@media (max-width:575px) {
    .height-693 {
        height: 450px !important
    }
}

@media (max-width:575px) {
    .height-611 {
        height: 400px !important
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .padding-b {
        padding-bottom: 0
    }
}

@media only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .padding-t85 {
        padding-top: 40px
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px) {
    .padding-t85 {
        padding-top: 60px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:992px) and (max-width:1199px) {
    .rr-btn.btn-transparent.btn-border-gray {
        padding: 10px 15px
    }
}

@media (max-width:575px), only screen and (min-width:576px) and (max-width:768px) {
    .rr-btn.btn-transparent.btn-border-gray {
        padding: 6px 10px
    }
}

@media (max-width:575px), only screen and (min-width:576px) and (max-width:768px) {
    .rr-btn.btn-transparent.btn-border-gray i {
        width: 30px;
        height: 30px
    }
}

@media (max-width:575px) {
    .offcanvas__area {
        width: 400px
    }
}

@media (max-width:450px) {
    .offcanvas__area {
        width: 100%
    }
}

@media (max-width:575px) {
    .offcanvas__logo a img {
        width: 150px
    }
}

@media (max-width:575px) {
    .offcanvas__logo a img {
        width: 130px
    }
}

@media (max-width:575px) {
    .offcanvas__wrapper {
        padding: 25px 25px
    }
}

@media (max-width:575px) {
    .offcanvas__top {
        padding-bottom: 15px;
        margin-bottom: 30px
    }
}

@media (max-width:450px) {
    .offcanvas__title {
        font-size: 20px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .banner__subtitle {
        font-size: 20px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .banner__subtitle {
        font-size: 18px
    }
}

@media (max-width:575px) {
    .banner__subtitle {
        font-size: 16px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .banner__shape {
        display: none
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px) {
    .about__content {
        padding-left: 0
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .about__content {
        padding-left: 0
    }
}

@media (max-width:575px) {
    .about__content {
        padding-left: 0
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .about__shape {
        display: none
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px) {
    .feature__title {
        font-size: 30px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .feature__title {
        font-size: 26px
    }
}

@media (max-width:575px) {
    .feature__title {
        font-size: 22px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .feature__shape {
        display: none
    }
}

@media only screen and (min-width:992px) and (max-width:1199px), only screen and (min-width:768px) and (max-width:992px) {
    .section__title span {
        font-size: 20px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .section__title span {
        font-size: 18px
    }
}

@media (max-width:575px) {
    .section__title span {
        font-size: 14px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .choose__shape {
        display: none
    }
}

@media (max-width:376px) {
    .choose__shape-2 {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .choose__list-icon {
        width: 50px;
        height: 50px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .choose__list-icon {
        width: 40px;
        height: 40px
    }
}

@media (max-width:575px) {
    .choose__list-icon {
        width: 35px;
        height: 35px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .choose__shape-2 {
        display: none
    }
}

@media (max-width:575px) {
    .banner__title-font-size {
        font-size: 50px
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .service__item {
        padding: 30px 20px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .service__item {
        padding: 25px 20px
    }
}

@media (max-width:575px) {
    .service__item {
        padding: 20px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .service__shape {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .team__shape {
        display: none
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .team__shape {
        display: none
    }
}

@media (max-width:575px) {
    .team__shape {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .team__shape-2 {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .testimonial__shape {
        display: none
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .testimonial__shape {
        display: none
    }
}

@media (max-width:575px) {
    .testimonial__shape {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .testimonial__shape-2 {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .testimonial__author-content {
        padding: 25px 20px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .testimonial__author-content {
        padding: 20px
    }
}

@media (max-width:575px) {
    .testimonial__author-content {
        padding: 20px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .blog__shape {
        display: none
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {
    .blog__title {
        font-size: 22px
    }
}

@media only screen and (min-width:576px) and (max-width:768px) {
    .blog__title {
        font-size: 20px
    }
}

@media (max-width:575px) {
    .blog__title {
        font-size: 18px
    }
}

@media only screen and (min-width:768px) and (max-width:992px), only screen and (min-width:576px) and (max-width:768px), (max-width:575px) {
    .blog__shape-2 {
        display: none
    }
}

/* ============================================
       RESPONSIVE footer
       ============================================ */
@media (max-width: 1199px) {
    .footer-modern__title {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .footer-modern__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-modern__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-modern__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-modern__grid {
        padding: 10px 0 20px;
    }

    .footer-modern__title {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .footer-modern__title::after {
        width: 28px;
    }

    .footer-modern__social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .footer-modern__ta-badge-link {
        padding: 12px 14px;
    }

    .footer-modern__ta-icon-wrap {
        width: 38px;
        height: 38px;
    }

    .footer-modern__ta-badge-icon {
        width: 22px;
        height: 14px;
    }

    .footer-modern__legal {
        gap: 14px;
    }
}

@media (max-width: 575px) {
    .footer-modern__logo img {
        max-width: 140px;
        padding: 8px 14px;
    }
}

/* --- Responsive: tablet --- */
@media (max-width: 1399px) {
    .main-menu-modern .menu-link-modern {
        padding: 8px 12px !important;
        font-size: 13px !important;
        gap: 6px;
    }

    .main-menu-modern .menu-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .main-menu-modern .menu-item-modern:not(:last-child)::after {
        height: 14px;
    }
}

/* --- Responsive: mobile (el menú se convierte en offcanvas, los estilos base se mantienen) --- */
@media (max-width: 1199px) {
    .main-menu-modern .menu-item-modern:not(:last-child)::after {
        display: none;
    }
}

/* ============================================
		   RESPONSIVE
		   ============================================ */
@media (max-width: 1199px) {
    .counter__bg {
        padding: 100px 10px 100px 10px !important;
    }

    .counter__wrapper {
        flex-wrap: wrap !important;
        gap: 50px 2% !important;
    }

    .counter__box {
        flex: 0 0 48% !important;
        max-width: 48% !important;
    }

    .counter__icon {
        width: 70px !important;
        height: 70px !important;
        top: -35px !important;
    }

    .counter__icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    .counter__item {
        padding: 60px 16px 30px 16px !important;
    }

    .counter__item-title {
        font-size: 44px !important;
    }

    .counter__box:not(:last-child) .counter__item {
        border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
}

@media (max-width: 767px) {
    .counter__bg {
        padding: 80px 10px 80px 10px !important;
    }

    .counter__box {
        flex: 0 0 48% !important;
        max-width: 48% !important;
    }

    .counter__item-title {
        font-size: 36px !important;
    }

    .counter__item p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .counter__box {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* --- Responsive: tablet --- */
@media (max-width: 1399px) {
    .main-menu-modern .menu-link-modern {
        padding: 8px 12px !important;
        font-size: 13px !important;
        gap: 6px;
    }

    .main-menu-modern .menu-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .main-menu-modern .menu-item-modern:not(:last-child)::after {
        height: 14px;
    }
}

/* --- Responsive: mobile (el menú se convierte en offcanvas, los estilos base se mantienen) --- */
@media (max-width: 1199px) {
    .main-menu-modern .menu-item-modern:not(:last-child)::after {
        display: none;
    }
}

/* ============================================
		   RESPONSIVE
		   ============================================ */
@media (max-width: 1199px) {
    .counter__bg {
        padding: 100px 10px 100px 10px !important;
    }

    .counter__wrapper {
        flex-wrap: wrap !important;
        gap: 50px 2% !important;
    }

    .counter__box {
        flex: 0 0 48% !important;
        max-width: 48% !important;
    }

    .counter__icon {
        width: 70px !important;
        height: 70px !important;
        top: -35px !important;
    }

    .counter__icon img {
        width: 34px !important;
        height: 34px !important;
    }

    .counter__item {
        padding: 60px 16px 30px 16px !important;
    }

    .counter__item-title {
        font-size: 44px !important;
    }

    .counter__box:not(:last-child) .counter__item {
        border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
}

@media (max-width: 767px) {
    .counter__bg {
        padding: 80px 10px 80px 10px !important;
    }

    .counter__box {
        flex: 0 0 48% !important;
        max-width: 48% !important;
    }

    .counter__item-title {
        font-size: 36px !important;
    }

    .counter__item p {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .counter__box {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}