```css
/* =========================================================
   MTC PARTS - RESPONSIVE
   Adaptación para Tablet / Celular
   Compatible con index.html + style.css
   ========================================================= */


/* =========================================================
   AJUSTES GENERALES
   ========================================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
iframe,
video {
    max-width: 100%;
}


/* =========================================================
   TABLET
   992px - 769px
   ========================================================= */

@media (max-width: 991px) {

    /* ---------- CONTENEDOR ---------- */

    .container {
        width: 92%;
        max-width: 100%;
    }


    /* ---------- HEADER ---------- */

    .header {
        height: 80px;
    }

    .navbar {
        padding: 0;
    }

    .logo {
        width: 150px;
    }

    .logo img {
        width: 115px;
    }

    .nav-menu {
        gap: 22px;
    }

    .nav-menu a {
        font-size: .9rem;
    }

    .header > .container > .navbar > .btn-primary {
        padding: 10px 16px;
        font-size: .85rem;
    }

    .language-btn {
        padding: 0 12px;
    }


    /* ---------- HERO ---------- */

    #hero {
        min-height: 800px;
    }

    .hero-content {
        width: 60%;
        min-height: 800px;
    }

    .hero-text h1 {
        font-size: 4rem;
        letter-spacing: -2px;
    }

    .hero-text p {
        font-size: 1.05rem;
        max-width: 550px;
    }


    /* ---------- ABOUT ---------- */

    .about-section {
        padding: 90px 0;
    }

    .about-grid {
        gap: 50px;
    }

    .about-main {
        height: 520px;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .about-stats {
        gap: 35px;
    }


    /* ---------- STATS ---------- */

    .stats {
        padding: 90px 0;
    }

    .stats-grid {
        gap: 20px;
    }

    .stat-item {
        padding: 40px 25px;
    }

    .stat-item h2 {
        font-size: 3.5rem;
    }


    /* ---------- SERVICES ---------- */

    .services {
        padding: 100px 0;
    }

    .services-title {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-card {
        padding: 35px;
    }


    /* ---------- EQUIPMENT ---------- */

    .equipment {
        padding: 100px 0;
    }

    .equipment-title {
        font-size: 2.7rem;
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .equipment-card,
    .equipment-card:nth-child(4),
    .equipment-card:nth-child(5) {
        grid-column: auto;
    }

    .equipment-card {
        height: 300px;
    }


    /* ---------- CONTACTO ---------- */

    .contact-section {
        padding: 100px 0;
    }

    .contact-grid {
        gap: 35px;
    }

    .contact-form {
        padding: 35px;
    }

    .location-card iframe {
        height: 300px;
    }

}


/* =========================================================
   CELULAR
   768px O MENOS
   ========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       GENERAL
       ===================================================== */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        position: relative;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }


    /* =====================================================
       HEADER
       ===================================================== */

    .header {
        height: 72px;
    }

    .navbar {
        position: relative;
        width: 100%;
        height: 72px;
        padding: 0;
        display: flex;
        align-items: center;
    }


    /* ---------- LOGO ---------- */

    .logo {
        width: auto;
        flex-shrink: 0;
    }

    .logo img {
        width: 105px;
        height: auto;
    }


    /* =====================================================
       OCULTAR ELEMENTOS DE ESCRITORIO
       ===================================================== */

    .navbar > .btn-primary {
        display: none;
    }

    .nav-menu {
        display: none !important;
    }


    /* =====================================================
       MENÚ HAMBURGUESA
       ===================================================== */

    .menu-toggle {
        display: flex !important;

        width: 44px;
        height: 44px;

        margin-left: auto;

        align-items: center;
        justify-content: center;

        border: none;
        border-radius: 10px;

        background: #D72626;
        color: #ffffff;

        font-size: 23px;
        line-height: 1;

        cursor: pointer;

        z-index: 10001;
    }


    /* =====================================================
       MENÚ ABIERTO
       ===================================================== */

    .nav-menu.active {
        display: flex !important;

        position: absolute;

        top: 68px;
        left: 0;
        right: 0;

        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;
        padding: 8px 0;

        background: #111827;

        border-radius: 0 0 14px 14px;

        box-shadow: 0 15px 35px rgba(0, 0, 0, .25);

        z-index: 10000;
    }

    .nav-menu.active li {
        width: 100%;
        display: block;
    }

    .nav-menu.active a {
        display: block;
        width: 100%;

        padding: 15px 20px;

        text-align: center;

        color: #ffffff;

        font-size: 16px;
    }

    .nav-menu.active a:hover {
        background: rgba(255, 255, 255, .08);
        color: #D72626;
    }

    .nav-menu a.active::after {
        display: none;
    }


    /* =====================================================
       SELECTOR DE IDIOMA
       ===================================================== */

    .language-selector {
        margin-left: 10px;
        flex-shrink: 0;
    }

    .language-btn {
        height: 42px;
        padding: 0 10px;

        gap: 6px;

        border-radius: 9px;

        font-size: .75rem;
    }

    #currentFlag {
        width: 22px;
        height: 15px;
    }

    #currentLanguage {
        font-size: .72rem;
    }

    .language-menu {
        top: calc(100% + 8px);
        right: 0;
        width: 175px;
    }


    /* =====================================================
       HERO
       ===================================================== */

    #hero {
        min-height: 100svh;
        min-height: 700px;

        background-position: 65% center;

        padding-top: 72px;
    }

    .hero-content {
        width: 100%;
        min-height: calc(100svh - 72px);
        min-height: 628px;

        display: flex;
        align-items: center;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
    }

    .hero-tag {
        font-size: .9rem;
    }

    .hero-tag::after {
        width: 55px;
        height: 3px;
        margin-top: 12px;
    }

    .hero-text h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: 1;
        letter-spacing: -1.5px;
        margin: 22px 0;
        max-width: 100%;
    }

    .hero-text p {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 30px;
    }

    .hero-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        min-height: 52px;
        padding: 14px 20px;
        text-align: center;
    }


    /* =====================================================
       SECCIONES GENERALES
       ===================================================== */

    section {
        width: 100%;
    }


    /* =====================================================
       ABOUT / POR QUÉ MTC
       ===================================================== */

    .about-section {
        padding: 75px 0;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 45px;
    }

    .about-images {
        width: 100%;
        position: relative;
    }

    .about-main {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 500px;
        object-fit: cover;
        border-radius: 18px;
    }

    .about-images::before {
        width: 100px;
        height: 100px;
        top: -20px;
        left: -15px;
        border-radius: 18px;
    }

    .about-small {
        display: none;
    }

    .about-content {
        width: 100%;
    }

    .about-content h2 {
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.15;
        margin: 18px 0 22px;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .about-items {
        gap: 22px;
    }

    .about-item {
        gap: 13px;
    }

    .about-item i {
        font-size: 1.35rem;
        flex-shrink: 0;
    }

    .about-item h4 {
        font-size: 1.1rem;
    }

    .about-item span {
        display: block;
        font-size: .95rem;
        line-height: 1.55;
    }

    .about-stats {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin: 35px 0;
    }

    .about-stats h3 {
        font-size: 2.2rem;
    }

    .about-stats span {
        display: block;
        font-size: .85rem;
        line-height: 1.4;
    }

    .about-content > .btn-primary {
        width: 100%;
    }


    /* =====================================================
       EXPERIENCIA / STATS
       ===================================================== */

    .stats {
        padding: 75px 0;
    }

    .stats-title {
        margin-bottom: 40px;
    }

    .stats-title span {
        display: block;
        font-size: .75rem;
        line-height: 1.5;
        letter-spacing: 2px;
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .stat-item,
    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        width: 100%;
        padding: 30px 25px;
        transform: none;
    }

    .stat-item h2 {
        font-size: 3rem;
    }

    .stat-item p {
        font-size: .95rem;
    }

    .stats-banner {
        margin-top: 50px;
        border-radius: 18px;
    }

    .stats-banner img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .brands-title {
        margin: 50px 0 30px;
    }

    .brands-title h3 {
        font-size: 1rem;
        line-height: 1.5;
        letter-spacing: 2px;
    }

    .brands-slider {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .brands-track {
        gap: 45px;
    }

    .brands-track img {
        height: 38px;
        max-width: 120px;
        object-fit: contain;
    }


    /* =====================================================
       SERVICIOS
       ===================================================== */

    .services {
        padding: 75px 0;
    }

    .services .section-tag {
        font-size: .8rem;
        letter-spacing: 2px;
    }

    .services-title {
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.2;
    }

    .services-title br {
        display: none;
    }

    .services-description {
        width: 100%;
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .service-card {
        width: 100%;
        padding: 30px 25px;
        border-radius: 18px;
    }

    .service-card i {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: .95rem;
        line-height: 1.65;
    }


    /* =====================================================
       EQUIPOS
       ===================================================== */

    .equipment {
        padding: 75px 0;
    }

    .equipment .section-tag {
        font-size: .8rem;
        letter-spacing: 2px;
        line-height: 1.5;
    }

    .equipment-title {
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.15;
    }

    .equipment-description {
        width: 100%;
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    .equipment-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
        margin-top: 35px;
    }

    .equipment-card,
    .equipment-card:nth-child(4),
    .equipment-card:nth-child(5) {
        width: 100%;
        grid-column: auto !important;
        height: 260px;
        border-radius: 18px;
    }

    .equipment-overlay {
        padding: 25px;
    }

    .equipment-overlay h3 {
        font-size: 1.45rem;
    }

    /*
       En celular no dependemos de hover.
       El texto queda visible.
    */

    .equipment-action {
        opacity: 1;
        transform: none;
        font-size: 13px;
    }


    /* =====================================================
       CONTACTO
       ===================================================== */

    .contact-section {
        padding: 75px 0;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-header h2 {
        font-size: clamp(2rem, 8vw, 2.7rem);
        line-height: 1.15;
        margin: 18px 0;
    }

    .contact-header p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }


    /* ---------- MAPAS ---------- */

    .contact-map {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .location-card {
        width: 100%;
        border-radius: 16px;
    }

    .location-card iframe {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: 280px !important;
        border: 0;
    }

    .location-card .address {
        padding: 16px;
        gap: 12px;
        font-size: .9rem;
        line-height: 1.5;
    }

    .location-card .address i {
        flex-shrink: 0;
        font-size: 17px;
    }


    /* ---------- FORMULARIO ---------- */

    .contact-form {
        width: 100%;
        padding: 25px 20px;
        border-radius: 18px;
    }

    .contact-form form {
        width: 100%;
        gap: 14px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 15px;
        font-size: 16px;
    }

    .contact-form textarea {
        min-height: 180px;
    }

    .contact-form button {
        width: 100%;
        min-height: 52px;
    }


    /* =====================================================
       REDES SOCIALES
       ===================================================== */

    .social-contact {
        width: 100%;
        margin-top: 0;
        padding: 5px 0 15px;

        display: flex;
        justify-content: center;
        align-items: center;

        flex-wrap: wrap;
        gap: 12px;
    }

    .social-contact a {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        font-size: 1rem;
    }


    /* =====================================================
       CONTACTO FLOTANTE
       ===================================================== */

    .floating-contact {
        right: 12px;
        bottom: 15px;

        gap: 9px;

        z-index: 99999;
    }

    .floating-contact a {
        width: 50px;
        height: 50px;

        font-size: 1.15rem;
    }


    /* =====================================================
       POPUP PROMOCIÓN
       ===================================================== */

    .promo-box {
        width: min(360px, calc(100vw - 35px));
        max-width: calc(100vw - 35px);
    }

    .promo-close {
        top: -10px;
        right: -8px;

        width: 40px;
        height: 40px;

        font-size: 19px;
    }

    .promo-quote-btn {
        width: calc(100% - 35px);
        margin-bottom: 20px;
        padding: 14px 18px;
        font-size: .9rem;
    }

}


/* =========================================================
   CELULAR PEQUEÑO
   480px O MENOS
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 26px);
    }


    /* ---------- HEADER ---------- */

    .header,
    .navbar {
        height: 68px;
    }

    .logo img {
        width: 92px;
    }

    .language-selector {
        margin-left: 7px;
    }

    .language-btn {
        height: 39px;
        padding: 0 8px;
        gap: 5px;
    }

    #currentFlag {
        width: 20px;
        height: 14px;
    }

    #currentLanguage {
        font-size: .68rem;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }


    /* ---------- HERO ---------- */

    #hero {
        min-height: 100svh;
        min-height: 650px;
        padding-top: 68px;

        background-position: 67% center;
    }

    .hero-content {
        min-height: 582px;
    }

    .hero-text h1 {
        font-size: clamp(2.3rem, 11vw, 3.2rem);
        letter-spacing: -1px;
        margin: 18px 0;
    }

    .hero-text p {
        font-size: .95rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        font-size: .9rem;
        min-height: 50px;
    }


    /* ---------- ABOUT ---------- */

    .about-section,
    .stats,
    .services,
    .equipment,
    .contact-section {
        padding: 65px 0;
    }

    .about-main {
        max-height: 400px;
    }

    .about-content h2,
    .services-title,
    .equipment-title,
    .contact-header h2 {
        font-size: 2rem;
    }

    .about-item h4 {
        font-size: 1rem;
    }

    .about-item span {
        font-size: .88rem;
    }

    .about-stats {
        gap: 12px;
    }

    .about-stats h3 {
        font-size: 2rem;
    }


    /* ---------- STATS ---------- */

    .stat-item {
        padding: 25px 20px;
    }

    .stat-item h2 {
        font-size: 2.7rem;
    }

    .stats-banner {
        border-radius: 14px;
    }


    /* ---------- SERVICES ---------- */

    .service-card {
        padding: 25px 20px;
    }


    /* ---------- EQUIPOS ---------- */

    .equipment-card,
    .equipment-card:nth-child(4),
    .equipment-card:nth-child(5) {
        height: 230px;
    }

    .equipment-overlay {
        padding: 20px;
    }

    .equipment-overlay h3 {
        font-size: 1.3rem;
    }


    /* ---------- MAPAS ---------- */

    .location-card iframe {
        height: 240px !important;
    }


    /* ---------- FORMULARIO ---------- */

    .contact-form {
        padding: 22px 16px;
    }


    /* ---------- REDES ---------- */

    .social-contact {
        gap: 9px;
    }

    .social-contact a {
        width: 44px;
        height: 44px;
    }


    /* ---------- BOTONES FLOTANTES ---------- */

    .floating-contact {
        right: 10px;
        bottom: 12px;
        gap: 7px;
    }

    .floating-contact a {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

}


/* =========================================================
   CELULARES MUY PEQUEÑOS
   360px O MENOS
   ========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 20px);
    }

    .logo img {
        width: 82px;
    }

    .language-btn {
        padding: 0 6px;
    }

    #currentLanguage {
        display: none;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .hero-text h1 {
        font-size: 2.15rem;
    }

    .hero-text p {
        font-size: .9rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .equipment-card,
    .equipment-card:nth-child(4),
    .equipment-card:nth-child(5) {
        height: 215px;
    }

    .floating-contact a {
        width: 43px;
        height: 43px;
    }

}
