/*--------------------------------------------------------------------- 
   RESPONSIVE CSS - INNOVATETECH
   Sistema responsive completo para móviles, tablets y desktop
---------------------------------------------------------------------*/

/* ========================================
   DESKTOP LARGE (1200px y superior)
======================================== */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .text-bg h1 {
        font-size: 48px;
        line-height: 58px;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 40px 30px;
    }
    
    .footer-brand p {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* ========================================
   DESKTOP MEDIUM (992px - 1199px)
======================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .navigation.navbar-dark .navbar-nav .nav-link {
        margin: 0 5px;
        font-size: 14px;
    }
    
    .text-bg h1 {
        font-size: 42px;
        line-height: 52px;
    }
    
    .titlepage h2 {
        font-size: 32px;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 30px 20px;
    }
    
    .testimonial_Carousel .test_box span {
        font-size: 18px;
    }
    
    ul.location_icon li {
        padding-right: 15px;
        font-size: 14px;
    }
    
    ul.link_icon li a {
        font-size: 15px;
    }
    
    .footer-brand p {
        font-size: 15px;
    }
}

/* ========================================
   TABLET LANDSCAPE (768px - 991px)
======================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 20px 8px;
        margin: 0 2px;
        font-size: 13px;
    }
    
    .sign_btn {
        max-width: 120px;
        font-size: 13px !important;
        padding: 8px 15px;
    }
    
    .text-bg {
        padding-top: 40px;
    }
    
    .text-bg h1 {
        font-size: 36px;
        line-height: 46px;
    }
    
    .text-bg span {
        font-size: 18px;
    }
    
    .text-bg p {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .about_box {
        max-width: inherit;
        margin-bottom: 30px;
        padding: 30px 20px;
    }
    
    .titlepage h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    .service .service_box h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .service .service_box p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .business .business_box h3 {
        font-size: 32px;
    }
    
    .business .business_box p {
        font-size: 14px;
    }
    
    .team_img {
        margin-bottom: 20px;
    }
    
    .ho_socal {
        width: 180px;
        height: 177px;
    }
    
    .testimonial_Carousel .test_box span {
        font-size: 16px;
        margin-left: 5px;
    }
    
    .testimonial_Carousel .test_box p {
        font-size: 14px;
    }
    
    ul.location_icon li {
        font-size: 13px;
        padding-right: 12px;
    }
    
    .footer-brand p {
        font-size: 14px;
    }
    
    .footer-contact h3,
    .footer-links h3,
    .footer-newsletter h3 {
        font-size: 18px;
    }
    
    .contact_form .contact_control,
    .contact_form .textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* ========================================
   TABLET PORTRAIT (576px - 767px)
======================================== */
@media (min-width: 576px) and (max-width: 767px) {
    .text-bg {
        padding-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .text-bg h1 {
        font-size: 32px;
        line-height: 42px;
    }
    
    .text-bg span {
        font-size: 16px;
    }
    
    .text-bg p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .about_box {
        margin-bottom: 30px;
        padding: 25px 15px;
        text-align: center;
    }
    
    .titlepage h2 {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 20px 15px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .service .service_box h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .service .service_box p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .business .business_box h3 {
        font-size: 28px;
    }
    
    .business .business_box p {
        font-size: 13px;
    }
    
    .ho_socal {
        width: 200px;
        height: 197px;
    }
    
    .d_none1 {
        display: none;
    }
    
    ul.conta_icon li a {
        font-size: 12px;
    }
    
    /* Navegación móvil mejorada */
    .navigation.navbar {
        float: left;
        display: inherit !important;
        padding: 0;
        width: 100%;
        padding-top: 12px;
    }
    
    .navigation .navbar-collapse {
        background: var(--dark-blue);
        padding: 20px;
        margin-top: 58px;
        position: absolute;
        width: 100%;
        margin-right: 20px;
        z-index: 999;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 12px 15px;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .navigation.navbar-dark .navbar-nav .nav-link:hover {
        background-color: var(--bright-blue);
        color: var(--white);
    }
    
    .navigation.navbar-dark .navbar-toggler {
        border: inherit;
        float: left;
        padding: 0;
        margin-top: 15px;
    }
    
    .navigation.navbar-dark .navbar-toggler-icon {
        background: url(../images/menu_icon.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    .margin_bottom1 {
        margin-bottom: 30px !important;
    }
    
    /* Footer responsive */
    .footer-brand,
    .footer-contact,
    .footer-links,
    .footer-newsletter {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .location_icon li {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .location_icon li a {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .social_icon {
        justify-content: center;
    }
    
    .copyright .row {
        text-align: center;
    }
    
    .copyright .text-right {
        text-align: center !important;
        margin-top: 10px;
    }
    
    /* Formulario de contacto */
    .contact_form .contact_control,
    .contact_form .textarea {
        padding: 12px 15px;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .contact_form .send_btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

/* ========================================
   MÓVIL (hasta 575px)
======================================== */
@media (max-width: 575px) {
    .logo {
        text-align: center !important;
        padding-bottom: 6px;
    }
    
    .d_none {
        display: none;
    }
    
    .text-bg {
        margin-bottom: 30px;
        padding-top: 0;
        text-align: center;
    }
    
    .text-bg h1 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .text-bg span {
        font-size: 14px;
    }
    
    .text-bg p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .titlepage h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .about_box {
        margin-bottom: 30px;
        padding: 20px 15px;
        text-align: center;
    }
    
    .about_box h3 {
        font-size: 18px;
    }
    
    .about_box p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 20px 15px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .service .service_box h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .service .service_box p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .business .business_box h3 {
        font-size: 24px;
    }
    
    .business .business_box p {
        font-size: 12px;
    }
    
    .service .read_more {
        margin: inherit;
    }
    
    .d_none1 {
        display: none;
    }
    
    .ho_socal {
        width: 180px;
        height: 177px;
    }
    
    .testimonial_Carousel .carousel-indicators {
        bottom: -4px;
    }
    
    /* Navegación móvil */
    .navigation.navbar {
        float: right;
        display: inherit !important;
        padding: 0;
        width: 100%;
        margin-top: 20px;
    }
    
    .navigation .navbar-collapse {
        background: var(--dark-blue);
        padding: 20px;
        margin-top: 50px;
        position: absolute;
        width: 100%;
        margin-right: 20px;
        z-index: 999;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .navigation.navbar-dark .navbar-nav .nav-link {
        padding: 12px 15px;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .navigation.navbar-dark .navbar-nav .nav-link:hover {
        background-color: var(--bright-blue);
        color: var(--white);
    }
    
    .navigation.navbar-dark .navbar-toggler {
        float: right;
        margin-right: 2px;
        border: inherit;
    }
    
    .navigation.navbar-dark .navbar-toggler-icon {
        background: url(../images/menu_icon.png);
        background-repeat: no-repeat;
        background-size: contain;
    }
    
    .testimonial_box {
        padding: 0px 15px 30px 15px;
    }
    
    .testimonial_Carousel .test_box span {
        font-size: 14px;
    }
    
    .testimonial_Carousel .test_box p {
        font-size: 12px;
    }
    
    /* Footer móvil */
    .footer-brand,
    .footer-contact,
    .footer-links,
    .footer-newsletter {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-brand p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .footer-contact h3,
    .footer-links h3,
    .footer-newsletter h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .location_icon li {
        flex-direction: column;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .location_icon li a {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .contact-info {
        font-size: 12px;
    }
    
    .social_icon {
        justify-content: center;
    }
    
    .social_icon li a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .copyright .row {
        text-align: center;
    }
    
    .copyright .text-right {
        text-align: center !important;
        margin-top: 10px;
    }
    
    .copyright p {
        font-size: 12px;
    }
    
    /* Formulario de contacto móvil */
    .contact_form .contact_control,
    .contact_form .textarea {
        padding: 10px 12px;
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .contact_form .send_btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    /* Loader móvil */
    .loader img {
        width: 60px;
        height: 60px;
    }
    
    .loader::after {
        font-size: 12px;
        margin-top: 10px;
    }
    
    .loader::before {
        width: 100px;
        height: 100px;
    }
}

/* ========================================
   MÓVIL PEQUEÑO (hasta 375px)
======================================== */
@media (max-width: 375px) {
    .text-bg h1 {
        font-size: 20px;
        line-height: 28px;
    }
    
    .text-bg span {
        font-size: 12px;
    }
    
    .text-bg p {
        font-size: 13px;
    }
    
    .titlepage h2 {
        font-size: 20px;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 15px 10px;
    }
    
    .service .service_box h3 {
        font-size: 14px;
    }
    
    .service .service_box p {
        font-size: 11px;
    }
    
    .business .business_box h3 {
        font-size: 20px;
    }
    
    .footer-brand p {
        font-size: 12px;
    }
    
    .footer-contact h3,
    .footer-links h3,
    .footer-newsletter h3 {
        font-size: 15px;
    }
    
    .contact-info {
        font-size: 11px;
    }
    
    .copyright p {
        font-size: 11px;
    }
}

/* ========================================
   ORIENTACIÓN LANDSCAPE EN MÓVILES
======================================== */
@media (max-width: 767px) and (orientation: landscape) {
    .text-bg {
        padding-top: 20px;
    }
    
    .text-bg h1 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .about_box {
        padding: 20px 15px;
    }
    
    .service .service_box,
    .business .business_box {
        padding: 15px 10px;
    }
    
    .navigation .navbar-collapse {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* ========================================
   ACCESIBILIDAD Y MEJORAS UX
======================================== */
@media (prefers-reduced-motion: reduce) {
    .service .service_box,
    .business .business_box,
    .team_img,
    .loader img,
    .loader::before,
    .loader::after {
        animation: none;
        transition: none;
    }
}

/* ========================================
   IMPRESIÓN
======================================== */
@media print {
    .header,
    .footer,
    .loader_bg,
    .navigation,
    .sign_btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .text-bg h1,
    .titlepage h2,
    .service .service_box h3,
    .business .business_box h3 {
        color: black !important;
    }
    
    .service .service_box,
    .business .business_box {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        background: white !important;
    }
}

