/* =========================================================
   MEDIA QUERIES RESPONSIVAS (MOBILE, IPAD, LAPTOP)
   ========================================================= */

@media (max-width: 1560px) {
    .navbar-nav {
        padding: 0 20px;

    }

    .navbar .navbar-nav .nav-link {
        padding: 15px 0;
    }

}

@media (max-width: 1440px) {
    .showcase__image_content {
        top: 15%;

    }
}

@media (max-width: 1399px) {
    .nav-cta {
        width: 44px;
        height: 44px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-cta__icon {
        position: relative;
        display: inline-block;
        z-index: 1;
        color: var(--bs-color-white);
    }

    .nav-cta:hover .nav-cta__icon {
        color: var(--bs-color-black);
    }

    .nav-cta__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/* ---------------------------------------------------------
   1. LAPTOPS Y PANTALLAS MEDIANAS (1025px - 1366px)
   --------------------------------------------------------- */
@media (max-width: 1366px) {


    .hero_content__subtitle p {

        max-width: 580px;
    }

    .marquee__track span {
        font-size: 6.5rem;
        line-height: 8rem;
    }

}

/* ---------------------------------------------------------
   2. TABLETS E IPADS EN ORIENTACIÓN HORIZONTAL / LAPTOPS PEQUEÑAS (992px - 1024px)
   --------------------------------------------------------- */
@media (max-width: 1024px) {

    /* Hero & Navbar */
    .hero_content__subtitle p {

        max-width: 100%;
    }

    /* Showcase & Marquee */
    .marquee__track span {
        font-size: 5rem;
        line-height: 6.5rem;
    }

    /* All In One - Ajuste de Cuadrícula para Tablets */
    .services-grid {
        gap: 12px;
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Clientes */
    .floating-column {
        gap: 200px;
    }
}

/* ---------------------------------------------------------
   3. TABLETS E IPADS EN ORIENTACIÓN VERTICAL (769px - 991px)
   --------------------------------------------------------- */
@media (max-width: 991px) {

    /* Menú desplegable responsivo */
    .navbar .navbar-collapse {
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 0 0 20px 20px;
        padding: 20px;
        margin-top: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .navbar .navbar-nav {
        background: transparent;
        backdrop-filter: none;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin: 5px 0;
        text-align: center;
    }


    .single-hci {
        padding: 30px;
    }

    /* Seccion Nosotros / Showcase */
    .square-logo {
        margin-top: 25px;
        display: flex;
        justify-content: center;
    }

    .ab_title-logo {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .ab_title-logo span {

        padding: 15px 25px;
        font-size: 1.6em;
    }

    /* Contacto */
    .contact-card-container {
        padding: 60px 40px 30px 40px;
    }
}

/* ---------------------------------------------------------
   4. DISPOSITIVOS MÓVILES (SMARTPHONES hasta 768px)
   --------------------------------------------------------- */
@media (max-width: 768px) {

    .video-background .navbar,
    .video-background .hero_content {
        position: relative;
        z-index: 2;
    }

    .video-background .hero_content {
        left: auto;
        margin: 0 auto;
    }


    /* Hero Adjustments */
    .hero_content__title {
        font-size: 0.85rem;
        letter-spacing: 0.25rem;
    }



    .hero_content__subtitle p {

        letter-spacing: 0.05rem;
    }

    .single-hci {
        padding: 20px;
    }

    .scroll-cue {
        bottom: 12px;
        font-size: 0.7rem;
    }

    /* Showcase / Nosotros */
    .showcase__image_content {
        top: 15%;
        padding-bottom: 0;
    }




    .service-card__overlay>span {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        padding-top: 10px;
        margin-top: 0;
    }

    /* Portafolio en Móviles */
    .portfolio__heading {
        font-size: 1.4rem;
        top: 20px;
        left: 20px;
    }

    .portfolio__counter {
        font-size: 1rem;
        top: 20px;
        right: 20px;
    }

    .portfolio-project__content {
        bottom: 25%;
    }

    .portfolio-project__content h2 {
        font-size: 2rem;
    }

    .portfolio-project__location,
    .portfolio-project__services {
        font-size: 0.75rem;
    }

    /* Formulario de Contacto y Footer */


    .contact-info-list {
        gap: 16px;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .info-text strong {
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 14px 24px;
        font-size: 0.85rem;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .navbar {
        padding: 5px;
    }

}

/* ---------------------------------------------------------
   5. MÓVILES PEQUEÑOS (hasta 480px)
   --------------------------------------------------------- */
@media (max-width: 500px) {

    
    .button--mimas {
        padding: 0.7rem 1.2rem;
        font-size: 0.75rem;
        line-height: .8rem;
    }

    .contact-card-container {
        padding: 40px 16px 20px 16px;
    }

    .floating-column {
        width: 48%;
    }
}