/*
Theme Name: MTK Astra Child
Theme URI: https://mtkinternational.com/
Template: astra
Author: MTK Supply International
Author URI: https://mtkinternational.com/
Description: Custom child theme for MTK Supply International Corp.
Version: 1.1.0
*/


/* =========================================================
   01. VARIABLES
   Colores, anchos y valores globales del rediseño.
========================================================= */

:root{
    --mtk-black: #050709;
    --mtk-black-soft: #0b0e12;
    --mtk-panel: #101419;
    --mtk-panel-2: #151a20;

    --mtk-white: #ffffff;
    --mtk-text: #d1d6dc;
    --mtk-muted: #8b949e;
    --mtk-line: rgba(255,255,255,.12);

    --mtk-gold: #e4ad32;
    --mtk-gold-hover: #f2bd46;

    --mtk-max: 1380px;
}


/* =========================================================
   02. RESET GENERAL
   Evita que Astra interfiera con el layout de esta plantilla.
========================================================= */

body.mtk-redesign-page{
    margin: 0 !important;
    padding: 0 !important;

    background: var(--mtk-black);
    color: var(--mtk-white);

    overflow-x: hidden;
}

body.mtk-redesign-page *{
    box-sizing: border-box;
}

body.mtk-redesign-page,
body.mtk-redesign-page button,
body.mtk-redesign-page input,
body.mtk-redesign-page textarea{
    font-family:
        Inter,
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}

body.mtk-redesign-page a{
    color: inherit;
    text-decoration: none;
}

body.mtk-redesign-page img{
    max-width: 100%;
    height: auto;
}

/* Contenedor principal reutilizable. */
.mtk-shell{
    width: min(calc(100% - 80px), var(--mtk-max));
    margin-inline: auto;
}


/* =========================================================
   03. HEADER
   Transparente sobre el HERO y compacto al hacer scroll.
========================================================= */

.mtk-header{
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 10000;

    background:
        linear-gradient(
            180deg,
            rgba(5,7,9,.72) 0%,
            rgba(5,7,9,.34) 58%,
            rgba(5,7,9,0) 100%
        );

    border-bottom:
        1px solid
        transparent;

    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);

    transition:
        background .35s ease,
        border-color .35s ease,
        backdrop-filter .35s ease,
        box-shadow .35s ease;
}


/* Estado compacto al hacer scroll. */
.mtk-header.is-scrolled{
    background:
        rgba(5,7,9,.94);

    border-bottom-color:
        rgba(255,255,255,.08);

    -webkit-backdrop-filter:
        blur(18px);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 14px 45px
        rgba(0,0,0,.16);
}


/* Compensa la barra de administración de WordPress. */
.admin-bar .mtk-header{
    top: 32px;
}


/* =========================================================
   CONTENEDOR DEL HEADER
========================================================= */

.mtk-header-inner{
    width:
        min(
            calc(100% - 80px),
            var(--mtk-max)
        );

    min-height: 96px;

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        250px
        1fr
        auto;

    align-items: center;

    gap: 30px;

    transition:
        min-height .35s ease;
}


.mtk-header.is-scrolled .mtk-header-inner{
    min-height: 72px;
}


/* -------------------------
   LOGO
------------------------- */

.mtk-logo{
    display: flex;
    align-items: center;
}


.mtk-logo .custom-logo-link{
    display: inline-flex;
}


.mtk-logo img{
    width: 205px;
    max-height: 58px;

    object-fit: contain;

    transition:
        width .35s ease,
        max-height .35s ease;
}


.mtk-header.is-scrolled .mtk-logo img{
    width: 174px;
    max-height: 48px;
}


/* -------------------------
   NAVEGACIÓN DESKTOP
------------------------- */

.mtk-nav{
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 38px;
}


.mtk-nav > a,
.mtk-nav-dropdown > a{
    position: relative;

    color:
        rgba(255,255,255,.82);

    font-size: 13px;
    font-weight: 650;

    letter-spacing: .01em;

    transition:
        color .25s ease,
        opacity .25s ease;
}


.mtk-nav > a:hover,
.mtk-nav-dropdown > a:hover{
    color: #fff;
}


/* Línea dorada al pasar el mouse. */
.mtk-nav > a::after{
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background:
        var(--mtk-gold);

    transition:
        width .25s ease;
}


.mtk-nav > a:hover::after{
    width: 100%;
}


/* -------------------------
   DROPDOWN DE PRODUCTOS
------------------------- */

.mtk-nav-dropdown{
    position: relative;
}


.mtk-nav-dropdown > a{
    display: flex;

    align-items: center;

    gap: 7px;
}


.mtk-dropdown-menu{
    position: absolute;

    top:
        calc(100% + 24px);

    left: 50%;

    width: 290px;

    padding: 16px;

    border:
        1px solid
        rgba(255,255,255,.1);

    border-radius: 14px;

    background:
        rgba(10,13,17,.97);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.45);

    -webkit-backdrop-filter:
        blur(18px);

    backdrop-filter:
        blur(18px);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(10px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}


.mtk-nav-dropdown:hover .mtk-dropdown-menu,
.mtk-nav-dropdown:focus-within .mtk-dropdown-menu{
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.mtk-dropdown-menu a{
    display: block;

    padding: 12px 14px;

    border-radius: 8px;

    color:
        rgba(255,255,255,.72);

    font-size: 13px;

    transition:
        background .2s ease,
        color .2s ease;
}


.mtk-dropdown-menu a:hover,
.mtk-dropdown-menu a:focus-visible{
    background:
        rgba(255,255,255,.06);

    color: #fff;
}


/* -------------------------
   BOTÓN CONTACT US
------------------------- */

.mtk-header-cta{
    min-height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        0
        22px;

    border:
        1px solid
        rgba(255,255,255,.45);

    border-radius: 999px;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    transition:
        min-height .35s ease,
        padding .35s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.mtk-header.is-scrolled .mtk-header-cta{
    min-height: 40px;

    padding:
        0
        20px;
}


.mtk-header-cta:hover{
    background: #fff;
    color: var(--mtk-black);

    border-color: #fff;

    transform:
        translateY(-2px);
}


/* -------------------------
   BOTÓN HAMBURGUESA
------------------------- */

.mtk-mobile-toggle{
    position: relative;

    z-index: 10002;

    width: 48px;
    height: 48px;

    display: none;

    padding: 0;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 6px;

    background:
        rgba(255,255,255,.02);

    border:
        1px solid
        rgba(255,255,255,.22);

    border-radius: 50%;

    cursor: pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.mtk-mobile-toggle:hover{
    background:
        rgba(255,255,255,.07);

    border-color:
        rgba(255,255,255,.42);
}


.mtk-mobile-toggle span{
    width: 18px;
    height: 1px;

    display: block;

    background: #fff;

    transform-origin: center;

    transition:
        transform .3s ease,
        width .3s ease;
}


/* Convierte las dos líneas en una X. */
.mtk-mobile-toggle[aria-expanded="true"] span:first-child{
    transform:
        translateY(3.5px)
        rotate(45deg);
}


.mtk-mobile-toggle[aria-expanded="true"] span:last-child{
    transform:
        translateY(-3.5px)
        rotate(-45deg);
}


/* =========================================================
   MENÚ MÓVIL A PANTALLA COMPLETA
========================================================= */

.mtk-mobile-panel{
    position: fixed;

    inset: 0;

    z-index: 9998;

    display: none;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(228,173,50,.09),
            transparent 28%
        ),
        #050709;

    opacity: 0;
    visibility: hidden;

    transform:
        translateY(-16px);

    overflow-y: auto;

    transition:
        opacity .32s ease,
        visibility .32s ease,
        transform .32s ease;
}


.mtk-mobile-panel.is-open{
    opacity: 1;
    visibility: visible;

    transform:
        translateY(0);
}


/* Bloquea el scroll del sitio mientras el menú está abierto. */
body.mtk-menu-open{
    overflow: hidden !important;
}


.mtk-mobile-panel-inner{
    width:
        min(
            calc(100% - 36px),
            760px
        );

    min-height: 100%;

    margin-inline: auto;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    gap: 65px;

    padding:
        135px
        0
        45px;
}


.mtk-mobile-nav{
    display: flex;

    flex-direction: column;
}


.mtk-mobile-main-link{
    display: grid;

    grid-template-columns:
        46px
        1fr;

    align-items: center;

    padding:
        18px
        0;

    border-bottom:
        1px solid
        rgba(255,255,255,.09);

    color: #fff !important;

    font-size:
        clamp(37px,8vw,64px);

    font-weight: 620;

    line-height: 1;

    letter-spacing: -.05em;
}


.mtk-mobile-main-link > span{
    color:
        var(--mtk-gold);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: .12em;
}


.mtk-mobile-product-links{
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        11px
        24px;

    padding:
        20px
        0
        28px
        46px;

    border-bottom:
        1px solid
        rgba(255,255,255,.09);
}


.mtk-mobile-product-links a{
    color:
        #8f979f !important;

    font-size: 12px;

    line-height: 1.45;

    transition:
        color .2s ease,
        transform .2s ease;
}


.mtk-mobile-product-links a:hover{
    color: #fff !important;

    transform:
        translateX(3px);
}


.mtk-mobile-panel-footer{
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,.09);
}


.mtk-mobile-contact{
    display: inline-flex;

    align-items: center;

    gap: 18px;

    color: #fff !important;

    font-size: 17px;
    font-weight: 750;
}


.mtk-mobile-contact span{
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--mtk-gold);

    color:
        #08090b;
}


.mtk-mobile-meta{
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 5px;

    color:
        #5e666e;

    font-size: 10px;

    letter-spacing: .04em;
}


/* Ajuste para la barra de administración de WordPress. */
.admin-bar .mtk-mobile-panel{
    top: 32px;
}


/* =========================================================
   HEADER / MENÚ — TABLET Y CELULAR
========================================================= */

@media (max-width: 850px){

    .mtk-header-inner{
        min-height: 82px;
    }


    .mtk-header.is-scrolled .mtk-header-inner{
        min-height: 68px;
    }


    .mtk-header.is-scrolled .mtk-logo img{
        width: 158px;
    }


    .mtk-mobile-panel{
        display: block;
    }

}


@media (max-width: 782px){

    .admin-bar .mtk-mobile-panel{
        top: 46px;
    }

}


@media (max-width: 600px){

    .mtk-mobile-panel-inner{
        width:
            calc(100% - 28px);

        gap: 48px;

        padding:
            115px
            0
            30px;
    }


    .mtk-mobile-main-link{
        grid-template-columns:
            36px
            1fr;

        padding:
            15px
            0;

        font-size:
            clamp(35px,11vw,52px);
    }


    .mtk-mobile-product-links{
        grid-template-columns:
            1fr;

        padding-left:
            36px;
    }


    .mtk-mobile-panel-footer{
        flex-direction: column;

        align-items: flex-start;
    }


    .mtk-mobile-meta{
        align-items: flex-start;
    }

}


/* =========================================================
   04. HERO
   Fondo = imagen destacada + degradados.
========================================================= */

.mtk-main-hero{
    --hero-image: var(--mtk-hero-image, none);

    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: flex-end;

    overflow: visible;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(5,7,9,.98) 0%,
            rgba(5,7,9,.91) 38%,
            rgba(5,7,9,.60) 70%,
            rgba(5,7,9,.42) 100%
        ),
        var(--hero-image),
        radial-gradient(
            circle at 85% 30%,
            #252b31 0%,
            #0b0e12 48%,
            #050709 100%
        );

    background-size:
        cover,
        cover,
        cover;

    background-position: center;
}


/* Oscurece la parte inferior del HERO. */
.mtk-main-hero::before{
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,.03) 45%,
            rgba(0,0,0,.68) 100%
        );

    pointer-events: none;
}


/* Círculo técnico decorativo. */
.mtk-main-hero::after{
    content: "";

    position: absolute;

    right: -150px;
    bottom: -220px;

    width: 620px;
    height: 620px;

    border:
        1px solid
        rgba(255,255,255,.08);

    border-radius: 50%;

    pointer-events: none;
}


/* Líneas verticales sutiles. */
.mtk-hero-noise{
    position: absolute;
    inset: 0;

    opacity: .12;

    pointer-events: none;

    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 119px,
            rgba(255,255,255,.04) 120px
        );
}


/* Contenido del HERO. */
.mtk-main-hero .mtk-shell{
    position: relative;

    z-index: 5;

    min-height: 100svh;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    padding-top: 160px;
    padding-bottom: 90px;
}

.mtk-hero-copy{
    max-width: 1000px;
}


/* Texto pequeño amarillo. */
.mtk-kicker{
    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 26px;

    color: var(--mtk-gold);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .22em;
    text-transform: uppercase;
}

.mtk-kicker::before{
    content: "";

    width: 32px;
    height: 1px;

    display: block;

    background: var(--mtk-gold);
}


/* Título principal. */
.mtk-main-hero h1{
    max-width: 1040px;

    margin: 0;

    color: #fff;

    font-size:
        clamp(64px,7.2vw,122px);

    font-weight: 750;

    line-height: .88;

    letter-spacing: -.065em;
}

.mtk-main-hero h1 span{
    display: block;

    color: rgba(255,255,255,.92);
}


/* Descripción del HERO. */
.mtk-main-hero p{
    max-width: 670px;

    margin: 34px 0 0;

    color: var(--mtk-text);

    font-size:
        clamp(17px,1.35vw,21px);

    line-height: 1.65;
}


/* Botones del HERO. */
.mtk-hero-buttons{
    display: flex;

    align-items: center;

    gap: 28px;

    margin-top: 42px;
}

.mtk-button{
    min-height: 54px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 27px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .02em;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.mtk-button-primary{
    background: var(--mtk-gold);

    color: #08090b !important;
}

.mtk-button-primary:hover{
    background: var(--mtk-gold-hover);

    transform: translateY(-3px);
}

.mtk-text-link{
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 7px;

    border-bottom:
        1px solid
        rgba(255,255,255,.3);

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    transition:
        border-color .2s ease,
        gap .2s ease;
}

.mtk-text-link:hover{
    gap: 20px;

    border-color: #fff;
}


/* Índice 01 de la esquina derecha. */
.mtk-hero-index{
    display: flex;

    flex-direction: column;
    align-items: flex-end;

    gap: 20px;

    margin-bottom: 5px;
}

.mtk-hero-index > span{
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

.mtk-hero-index > div{
    width: 1px;
    height: 100px;

    background:
        linear-gradient(
            180deg,
            #fff,
            rgba(255,255,255,.05)
        );
}

.mtk-hero-index small{
    color: rgba(255,255,255,.38);

    font-size: 9px;

    line-height: 1.7;

    letter-spacing: .22em;
    text-align: right;
}


/* -------------------------
   CABLE SOBREPUESTO
------------------------- */

.mtk-hero-cable-wrap{
    position: absolute;

    left: -14%;
    right: -2%;
    bottom: -200px;

    z-index: 3;

    pointer-events: none;
}

.mtk-hero-cable{
    width: 112%;
    max-width: none;
    height: auto;

    display: block;

    opacity: .90;

    transform:
        translateX(-3%)
        rotate(-2.6deg);

    filter:
        drop-shadow(
            0 18px 34px
            rgba(0,0,0,.34)
        )
        drop-shadow(
            0 8px 14px
            rgba(0,0,0,.16)
        );
}


/* =========================================================
   05. INTRO / SUPPLY
========================================================= */

.mtk-intro{
    position: relative;

    z-index: 1;

    padding:
        190px
        0
        150px;

    background: #f2f0eb;

    color: #111;
}

.mtk-intro-grid{
    display: grid;

    grid-template-columns:
        minmax(0,1.5fr)
        minmax(300px,.7fr);

    gap: 100px;

    align-items: end;
}


/* Número / etiqueta reutilizable. */
.mtk-section-number{
    display: block;

    margin-bottom: 28px;

    color: #727272;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .18em;
}

.mtk-intro h2{
    max-width: 950px;

    margin: 0;

    color: #0a0b0c;

    font-size:
        clamp(42px,5vw,76px);

    font-weight: 650;

    line-height: 1;

    letter-spacing: -.05em;
}

.mtk-intro-right p{
    margin:
        0
        0
        35px;

    color: #555;

    font-size: 16px;

    line-height: 1.75;
}

.mtk-intro-right a{
    display: inline-flex;

    padding-bottom: 6px;

    border-bottom:
        1px solid
        #111;

    color: #111;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   06. PRODUCTS
========================================================= */

.mtk-products{
    padding:
        150px
        0;

    background: var(--mtk-black-soft);
}


/* Encabezado compartido de la sección. */
.mtk-section-heading{
    display: grid;

    grid-template-columns:
        1.3fr
        .6fr;

    gap: 100px;

    align-items: end;

    margin-bottom: 70px;
}

.mtk-products .mtk-section-number,
.mtk-brands .mtk-section-number,
.mtk-services .mtk-section-number,
.mtk-why .mtk-section-number{
    color: var(--mtk-muted);
}

.mtk-section-heading h2{
    margin: 0;

    color: #fff;

    font-size:
        clamp(44px,5vw,76px);

    font-weight: 650;

    line-height: .98;

    letter-spacing: -.055em;
}

.mtk-section-heading > p{
    margin: 0;

    color: var(--mtk-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* -------------------------
   GRID DE PRODUCTOS
------------------------- */

.mtk-product-grid{
    display: grid;

    grid-template-columns:
        repeat(12,minmax(0,1fr));

    gap: 18px;
}

.mtk-product-card{
    position: relative;

    grid-column: span 4;

    min-height: 400px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    padding: 30px;

    border:
        1px solid
        rgba(255,255,255,.08);

    background-image:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 0%,
            rgba(0,0,0,.18) 30%,
            rgba(0,0,0,.82) 100%
        ),
        var(--card-image);

    background-size:
        cover,
        cover;

    background-position:
        center,
        center;

    background-repeat:
        no-repeat,
        no-repeat;

    transition:
        transform .35s cubic-bezier(.2,.7,.2,1),
        border-color .35s ease,
        background-position .5s ease;
}

.mtk-product-card-large{
    grid-column: span 8;

    min-height: 500px;
}


/* Círculo técnico decorativo. */
.mtk-product-card::before{
    content: "";

    position: absolute;

    top: -100px;
    right: -110px;

    width: 340px;
    height: 340px;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 50%;

    transition:
        transform .5s ease,
        border-color .5s ease;
}


/* Degradado que mejora la legibilidad del texto. */
.mtk-product-card::after{
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.02) 5%,
            rgba(0,0,0,.10) 28%,
            rgba(0,0,0,.76) 100%
        );

    pointer-events: none;
}

.mtk-product-card:hover{
    transform: translateY(-8px);

    border-color:
        rgba(228,173,50,.5);

    background-position:
        center,
        center 42%;
}

.mtk-product-card:hover::before{
    transform:
        scale(1.12)
        translate(-15px,15px);

    border-color:
        rgba(228,173,50,.35);
}


/* Número de cada tarjeta. */
.mtk-card-number{
    position: absolute;

    top: 28px;
    left: 30px;

    z-index: 3;

    color: rgba(255,255,255,.45);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .12em;
}


/* Contenido inferior. */
.mtk-card-content{
    position: relative;

    z-index: 3;

    width: 100%;
}

.mtk-card-content small{
    display: block;

    margin-bottom: 15px;

    color: var(--mtk-gold);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .16em;
}

.mtk-card-content h3{
    margin: 0;

    color: #fff;

    font-size:
        clamp(32px,3vw,54px);

    font-weight: 600;

    line-height: .96;

    letter-spacing: -.045em;
}

.mtk-card-arrow{
    position: absolute;

    right: 0;
    bottom: 4px;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 50%;

    color: #fff;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.mtk-product-card:hover .mtk-card-arrow{
    background: var(--mtk-gold);

    color: #111;

    border-color: var(--mtk-gold);

    transform: rotate(45deg);
}


/* =========================================================
   07. BRANDS
========================================================= */

.mtk-brands{
    padding:
        150px
        0
        120px;

    background: #e9e6df;

    color: #111;

    overflow: hidden;
}

.mtk-brands-layout{
    display: grid;

    grid-template-columns:
        1fr
        .7fr;

    gap: 120px;

    align-items: end;
}

.mtk-brands h2{
    margin: 0;

    color: #0b0d0e;

    font-size:
        clamp(52px,6vw,92px);

    font-weight: 650;

    line-height: .91;

    letter-spacing: -.06em;
}

.mtk-brands-layout p{
    max-width: 510px;

    margin: 0;

    color: #555;

    font-size: 16px;

    line-height: 1.75;
}


/* -------------------------
   MARQUEE DE LOGOS
------------------------- */

.mtk-brand-marquee{
    margin-top: 95px;

    display: flex;
    flex-direction: column;

    gap: 18px;
}

.mtk-brand-track{
    width: max-content;

    display: flex;

    align-items: center;

    gap: 18px;
}

.mtk-brand-track-left{
    animation:
        mtk-marquee-left
        34s
        linear
        infinite;
}

.mtk-brand-track-right{
    animation:
        mtk-marquee-right
        38s
        linear
        infinite;
}

.mtk-brand-marquee:hover .mtk-brand-track{
    animation-play-state: paused;
}

.mtk-brand-item{
    width: 220px;
    height: 110px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px 28px;

    background:
        rgba(255,255,255,.55);

    border:
        1px solid
        rgba(0,0,0,.08);

    transition:
        transform .28s ease,
        background .28s ease,
        border-color .28s ease;
}

.mtk-brand-item img{
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 58px;

    object-fit: contain;

    filter: grayscale(1);

    opacity: .58;

    transition:
        filter .28s ease,
        opacity .28s ease,
        transform .28s ease;
}

.mtk-brand-item:hover{
    background: #fff;

    border-color:
        rgba(0,0,0,.16);

    transform: translateY(-4px);
}

.mtk-brand-item:hover img{
    filter: grayscale(0);

    opacity: 1;

    transform: scale(1.04);
}

@keyframes mtk-marquee-left{
    from{
        transform: translateX(0);
    }

    to{
        transform:
            translateX(
                calc(-50% - 9px)
            );
    }
}

@keyframes mtk-marquee-right{
    from{
        transform:
            translateX(
                calc(-50% - 9px)
            );
    }

    to{
        transform: translateX(0);
    }
}


/* =========================================================
   08. SERVICES
   Diseño compacto: fotos más pequeñas y más aire.
========================================================= */

.mtk-services{
    position: relative;

    padding:
        150px
        0;

    background: #101418;

    color: #fff;

    overflow: hidden;

    scroll-margin-top: 110px;
}


/* -------------------------
   ENCABEZADO DE SERVICES
------------------------- */

.mtk-services-heading{
    display: grid;

    grid-template-columns:
        minmax(0,1.25fr)
        minmax(300px,.55fr);

    gap: 80px;

    align-items: end;

    margin-bottom: 70px;
}

.mtk-services-heading h2{
    margin: 0;

    color: #fff;

    font-size:
        clamp(50px,5.5vw,84px);

    font-weight: 650;

    line-height: .92;

    letter-spacing: -.055em;
}

.mtk-services-heading h2 span{
    display: block;

    margin-top: 12px;

    color: #69727b;
}

.mtk-services-heading-right{
    padding-bottom: 4px;
}

.mtk-services-heading-right p{
    max-width: 430px;

    margin:
        0
        0
        28px;

    color: #9ba2a9;

    font-size: 15px;

    line-height: 1.75;
}

.mtk-services-main-link{
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 13px;

    padding-bottom: 7px;

    border-bottom:
        1px solid
        rgba(255,255,255,.3);

    color: #fff;

    font-size: 13px;
    font-weight: 750;

    transition:
        gap .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.mtk-services-main-link:hover{
    gap: 19px;

    color: var(--mtk-gold);

    border-color: var(--mtk-gold);
}


/* -------------------------
   LISTA DE SERVICIOS
------------------------- */

.mtk-services-list{
    width: 100%;
}

.mtk-service-row{
    display: grid;

    grid-template-columns:
        minmax(300px,.82fr)
        minmax(0,1.18fr);

    gap: 72px;

    align-items: center;

    padding:
        40px
        0;

    border-top:
        1px solid
        rgba(255,255,255,.11);
}

.mtk-service-row:last-child{
    border-bottom:
        1px solid
        rgba(255,255,255,.11);
}


/* Invierte foto y texto en el servicio 02. */
.mtk-service-row-reverse{
    grid-template-columns:
        minmax(0,1.18fr)
        minmax(300px,.82fr);
}

.mtk-service-row-reverse .mtk-service-media{
    order: 2;
}

.mtk-service-row-reverse .mtk-service-copy{
    order: 1;
}


/* -------------------------
   FOTO DE CADA SERVICIO
   Este bloque controla el tamaño que pediste reducir.
------------------------- */

.mtk-service-media{
    position: relative;

    width: 100%;
    height:
        clamp(340px,30vw,420px);

    align-self: center;

    overflow: hidden;

    border-radius: 22px;

    background: #090c0f;

    box-shadow:
        0 24px 60px
        rgba(0,0,0,.18);
}

.mtk-service-media::after{
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.01) 10%,
            rgba(0,0,0,.23) 100%
        );

    pointer-events: none;
}

.mtk-service-media img{
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        saturate(.84)
        contrast(1.03);

    transform: scale(1.001);

    transition:
        transform .75s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.mtk-service-row:hover .mtk-service-media img{
    transform: scale(1.035);

    filter:
        saturate(1)
        contrast(1.05);
}


/* Número sobre la foto. */
.mtk-service-index{
    position: absolute;

    top: 22px;
    left: 22px;

    z-index: 3;

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.46);

    border-radius: 50%;

    background:
        rgba(5,7,9,.28);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);

    color: #fff;

    font-size: 10px;
    font-weight: 800;
}


/* -------------------------
   TEXTO DE CADA SERVICIO
------------------------- */

.mtk-service-copy{
    min-width: 0;

    display: flex;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.mtk-service-label{
    display: block;

    margin-bottom: 18px;

    color: var(--mtk-gold);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .19em;
}

.mtk-service-copy h3{
    max-width: 650px;

    margin:
        0
        0
        24px;

    color: #fff;

    font-size:
        clamp(34px,3.1vw,52px);

    font-weight: 600;

    line-height: 1;

    letter-spacing: -.045em;
}

.mtk-service-copy p{
    max-width: 650px;

    margin:
        0
        0
        15px;

    color: #9ba2a9;

    font-size: 14px;

    line-height: 1.72;
}

.mtk-service-copy > a{
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 14px;

    padding-bottom: 7px;

    border-bottom:
        1px solid
        rgba(255,255,255,.28);

    color: #fff;

    font-size: 13px;
    font-weight: 750;

    transition:
        gap .25s ease,
        border-color .25s ease,
        color .25s ease;
}

.mtk-service-copy > a:hover{
    gap: 20px;

    color: var(--mtk-gold);

    border-color: var(--mtk-gold);
}


/* =========================================================
   09. WHY MTK
========================================================= */

.mtk-why{
    position: relative;

    padding:
        165px
        0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(228,173,50,.08),
            transparent 25%
        ),
        #06080a;

    color: #fff;
}


/* Texto MTK gigante del fondo. */
.mtk-why::after{
    content: "MTK";

    position: absolute;

    right: -4vw;
    bottom: -11vw;

    color:
        rgba(255,255,255,.018);

    font-size: 31vw;
    font-weight: 900;

    letter-spacing: -.09em;

    pointer-events: none;
}


/* Encabezado. */
.mtk-why-header{
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0,1.4fr)
        minmax(300px,.6fr);

    gap: 100px;

    align-items: end;

    margin-bottom: 65px;
}

.mtk-why-header h2{
    max-width: 900px;

    margin: 0;

    color: #fff;

    font-size:
        clamp(48px,5.4vw,82px);

    font-weight: 620;

    line-height: .94;

    letter-spacing: -.055em;
}

.mtk-why-header h2 span{
    display: block;

    color: #747c84;
}

.mtk-why-intro{
    padding-bottom: 5px;
}

.mtk-why-intro p{
    margin:
        0
        0
        30px;

    color: var(--mtk-muted);

    font-size: 16px;

    line-height: 1.7;
}


/* Grid de cuatro beneficios. */
.mtk-why-grid{
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    border-top:
        1px solid
        rgba(255,255,255,.12);

    border-left:
        1px solid
        rgba(255,255,255,.12);
}

.mtk-why-card{
    position: relative;

    min-height: 350px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding: 30px;

    overflow: hidden;

    border-right:
        1px solid
        rgba(255,255,255,.12);

    border-bottom:
        1px solid
        rgba(255,255,255,.12);

    background:
        rgba(255,255,255,.015);

    transition:
        background .3s ease,
        transform .3s ease;
}

.mtk-why-card::before{
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--mtk-gold);

    transform: scaleX(0);
    transform-origin: left;

    transition:
        transform .35s ease;
}

.mtk-why-card:hover{
    background:
        rgba(255,255,255,.045);

    transform: translateY(-7px);
}

.mtk-why-card:hover::before{
    transform: scaleX(1);
}

.mtk-why-card-top{
    display: flex;

    align-items: flex-start;
    justify-content: space-between;
}

.mtk-why-number{
    color:
        rgba(255,255,255,.35);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .16em;
}

.mtk-why-icon{
    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(255,255,255,.16);

    border-radius: 50%;

    color: var(--mtk-gold);

    font-size: 18px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.mtk-why-card:hover .mtk-why-icon{
    background: var(--mtk-gold);

    color: #090b0d;

    transform: rotate(45deg);
}

.mtk-why-card-content{
    max-width: 270px;
}

.mtk-why-card h3{
    margin:
        0
        0
        17px;

    color: #fff;

    font-size: 27px;
    font-weight: 550;

    letter-spacing: -.035em;
}

.mtk-why-card p{
    margin: 0;

    color: var(--mtk-muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   10. FINAL CTA
   Cierre comercial de la Home.
========================================================= */

.mtk-final-cta{
    position: relative;

    padding:
        165px
        0
        155px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #11161b 0%,
            #07090b 72%
        );

    color: #fff;

    border-top:
        1px solid
        rgba(255,255,255,.09);
}


/* -------------------------
   TEXTO MTK DE FONDO
   Elemento decorativo grande y muy sutil.
------------------------- */

.mtk-final-cta-bg{
    position: absolute;

    right: -4vw;
    bottom: -9vw;

    color:
        rgba(255,255,255,.018);

    font-size: 31vw;
    font-weight: 900;

    line-height: .7;
    letter-spacing: -.09em;

    pointer-events: none;
    user-select: none;
}


/* -------------------------
   NÚMERO / ETIQUETA
------------------------- */

.mtk-final-eyebrow{
    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 55px;

    color: var(--mtk-gold);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .2em;
}


/* -------------------------
   LAYOUT PRINCIPAL
------------------------- */

.mtk-final-layout{
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    gap: 90px;

    align-items: end;
}


/* -------------------------
   TEXTO PRINCIPAL
------------------------- */

.mtk-final-label{
    display: block;

    margin-bottom: 24px;

    color: #858e97;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .2em;
}

.mtk-final-copy h2{
    max-width: 970px;

    margin: 0;

    color: #fff;

    font-size:
        clamp(62px,7.2vw,116px);

    font-weight: 650;

    line-height: .87;

    letter-spacing: -.065em;
}


/* -------------------------
   BOTÓN CIRCULAR
------------------------- */

.mtk-final-circle{
    width: 190px;
    height: 190px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 31px;

    border-radius: 50%;

    background:
        var(--mtk-gold);

    color:
        #080a0c !important;

    transition:
        transform .35s cubic-bezier(.2,.7,.2,1),
        background .3s ease;
}

.mtk-final-circle span{
    font-size: 14px;
    font-weight: 800;

    letter-spacing: -.02em;
}

.mtk-final-circle strong{
    align-self: flex-end;

    font-size: 32px;
    font-weight: 400;

    transition:
        transform .3s ease;
}

.mtk-final-circle:hover{
    background:
        var(--mtk-gold-hover);

    transform:
        scale(1.055)
        rotate(-3deg);
}

.mtk-final-circle:hover strong{
    transform:
        translate(5px,-5px);
}


/* =========================================================
   11. FOOTER
   Navegación, productos y datos corporativos.
========================================================= */

.mtk-new-footer{
    position: relative;

    padding:
        95px
        0
        30px;

    background:
        #050709;

    color:
        #fff;

    border-top:
        1px solid
        rgba(255,255,255,.08);
}


/* -------------------------
   GRID PRINCIPAL DEL FOOTER
------------------------- */

.mtk-footer-grid{
    display: grid;

    grid-template-columns:
        minmax(250px,1.5fr)
        .65fr
        1fr
        1fr;

    gap:
        70px;
}


/* -------------------------
   MARCA
------------------------- */

.mtk-footer-brand{
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.mtk-footer-brand .custom-logo-link{
    display: inline-flex;
}

.mtk-footer-brand img{
    width: 210px;

    max-height: 62px;

    object-fit: contain;
}

.mtk-footer-brand p{
    margin:
        27px
        0
        8px;

    color:
        #a1a7ad;

    font-size:
        13px;
}

.mtk-footer-location{
    color:
        #585f66;

    font-size:
        12px;

    letter-spacing:
        .03em;
}


/* -------------------------
   COLUMNAS
------------------------- */

.mtk-footer-column{
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}

.mtk-footer-title{
    display: block;

    margin-bottom: 11px;

    color: #fff;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: .18em;

    text-transform: uppercase;
}


/* Enlaces del footer. */

.mtk-footer-column a{
    position: relative;

    color:
        #838b93;

    font-size: 13px;

    line-height: 1.55;

    transition:
        color .22s ease,
        transform .22s ease;
}

.mtk-footer-column a:hover{
    color: #fff;

    transform:
        translateX(4px);
}


/* -------------------------
   CONTACTO
------------------------- */

.mtk-footer-contact a:first-of-type{
    overflow-wrap: anywhere;
}

.mtk-footer-contact p{
    margin:
        8px
        0
        0;

    color:
        #646c74;

    font-size:
        12px;

    line-height:
        1.7;
}


/* -------------------------
   PARTE INFERIOR
------------------------- */

.mtk-footer-bottom{
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-top:
        85px;

    padding-top:
        25px;

    border-top:
        1px solid
        rgba(255,255,255,.09);

    color:
        #4f565d;

    font-size:
        10px;

    letter-spacing:
        .035em;
}


/* =========================================================
   12. RESPONSIVE — TABLET / LAPTOP PEQUEÑA
========================================================= */

@media (max-width: 1100px){

    /* Contenedores */
    .mtk-shell{
        width:
            min(
                calc(100% - 48px),
                var(--mtk-max)
            );
    }

    /* Header */
    .mtk-header-inner{
        width:
            calc(100% - 48px);

        grid-template-columns:
            220px
            1fr
            auto;
    }

    .mtk-nav{
        gap: 22px;
    }

    /* Hero */
    .mtk-main-hero h1{
        font-size:
            clamp(58px,8vw,95px);
    }

    /* Cable */
    .mtk-hero-cable-wrap{
        left: -18%;
        right: -6%;
        bottom: -75px;
    }

    .mtk-hero-cable{
        width: 122%;

        transform:
            translateX(-4%)
            rotate(-2deg);
    }

    .mtk-intro{
        padding-top: 165px;
    }

    /* Layouts generales */
    .mtk-intro-grid,
    .mtk-section-heading,
    .mtk-brands-layout{
        gap: 55px;
    }

    /* Productos */
    .mtk-product-card{
        grid-column: span 6;
    }

    .mtk-product-card-large{
        grid-column: span 12;
    }

    /* Services */
    .mtk-services-heading{
        gap: 55px;
    }

    .mtk-service-row{
        grid-template-columns:
            minmax(280px,.8fr)
            minmax(0,1.2fr);

        gap: 48px;
    }

    .mtk-service-row-reverse{
        grid-template-columns:
            minmax(0,1.2fr)
            minmax(280px,.8fr);
    }

    .mtk-service-media{
        height:
            clamp(320px,34vw,390px);
    }

    /* Why */
    .mtk-why-header{
        gap: 55px;
    }

    .mtk-why-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    /* CTA final */
    .mtk-final-layout{
        gap: 55px;
    }

    .mtk-final-circle{
        width: 165px;
        height: 165px;
    }

    /* Footer */
    .mtk-footer-grid{
        grid-template-columns:
            1.2fr
            .7fr
            1fr
            1fr;

        gap: 45px;
    }

}


/* =========================================================
   13. RESPONSIVE — TABLET VERTICAL / MOBILE
========================================================= */

@media (max-width: 850px){

    /* WordPress admin bar */
    .admin-bar .mtk-header{
        top: 46px;
    }

    /* Contenedores */
    .mtk-shell{
        width:
            calc(100% - 36px);
    }

    /* Header */
    .mtk-header-inner{
        width:
            calc(100% - 36px);

        min-height: 78px;

        display: flex;

        justify-content: space-between;
    }

    .mtk-logo img{
        width: 180px;
    }

    .mtk-nav,
    .mtk-header-cta{
        display: none;
    }

    .mtk-mobile-toggle{
        display: flex;
    }

    /* Hero */
    .mtk-main-hero{
        min-height: 900px;

        background-position:
            65%
            center;
    }

    .mtk-main-hero .mtk-shell{
        min-height: 900px;

        padding:
            150px
            0
            70px;

        align-items: flex-end;
    }

    .mtk-main-hero h1{
        font-size:
            clamp(54px,14vw,84px);
    }

    .mtk-hero-index{
        display: none;
    }

    /* Cable */
    .mtk-hero-cable-wrap{
        left: -24%;
        right: -10%;
        bottom: -45px;
    }

    .mtk-hero-cable{
        width: 138%;

        opacity: .94;

        transform:
            translateX(-4%)
            rotate(-1.5deg);
    }

    /* Secciones generales */
    .mtk-intro{
        padding:
            130px
            0
            100px;
    }

    .mtk-products,
    .mtk-brands,
    .mtk-services,
    .mtk-why{
        padding:
            100px
            0;
    }

    .mtk-intro-grid,
    .mtk-section-heading,
    .mtk-brands-layout{
        grid-template-columns: 1fr;
    }

    .mtk-intro-grid,
    .mtk-section-heading,
    .mtk-brands-layout{
        gap: 45px;
    }

    /* Productos */
    .mtk-product-card,
    .mtk-product-card-large{
        grid-column: span 12;

        min-height: 390px;
    }

    /* Marcas */
    .mtk-brand-marquee{
        margin-top: 65px;

        gap: 14px;
    }

    .mtk-brand-item{
        width: 175px;
        height: 92px;

        padding: 20px 22px;
    }

    .mtk-brand-item img{
        max-height: 46px;
    }

    .mtk-brand-track-left{
        animation-duration: 28s;
    }

    .mtk-brand-track-right{
        animation-duration: 31s;
    }

    /* Services */
    .mtk-services-heading{
        grid-template-columns: 1fr;

        gap: 40px;

        margin-bottom: 55px;
    }

    .mtk-service-row,
    .mtk-service-row-reverse{
        grid-template-columns: 1fr;

        gap: 32px;

        padding:
            32px
            0
            56px;
    }

    .mtk-service-row-reverse .mtk-service-media,
    .mtk-service-row-reverse .mtk-service-copy{
        order: initial;
    }

    .mtk-service-media{
        height: 340px;

        border-radius: 18px;
    }

    .mtk-service-copy{
        padding:
            0
            10px;
    }

    /* Why */
    .mtk-why-header{
        grid-template-columns: 1fr;

        gap: 40px;

        margin-bottom: 60px;
    }

    .mtk-why-grid{
        grid-template-columns: 1fr;
    }

    .mtk-why-card{
        min-height: 300px;
    }

    /* CTA final */
    .mtk-final-cta{
        padding:
            110px
            0;
    }

    .mtk-final-layout{
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .mtk-final-action{
        display: flex;

        justify-content: flex-end;
    }

    .mtk-final-circle{
        width: 155px;
        height: 155px;
    }

    /* Footer */
    .mtk-footer-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:
            60px
            45px;
    }

}


/* =========================================================
   14. RESPONSIVE — CELULAR PEQUEÑO
========================================================= */

@media (max-width: 600px){

    /* Contenedores */
    .mtk-shell{
        width:
            calc(100% - 28px);
    }

    .mtk-header-inner{
        width:
            calc(100% - 28px);
    }

    /* Hero */
    .mtk-main-hero{
        min-height: 820px;
    }

    .mtk-main-hero .mtk-shell{
        min-height: 820px;
    }

    .mtk-main-hero h1{
        font-size:
            clamp(48px,15vw,67px);
    }

    .mtk-main-hero p{
        font-size: 16px;
    }

    .mtk-hero-buttons{
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;
    }

    /* Cable */
    .mtk-hero-cable-wrap{
        left: -30%;
        right: -14%;
        bottom: -20px;
    }

    .mtk-hero-cable{
        width: 155%;

        transform:
            translateX(-5%)
            rotate(-1deg);
    }

    .mtk-intro{
        padding-top: 110px;
    }

    /* Títulos */
    .mtk-intro h2,
    .mtk-section-heading h2{
        font-size: 42px;
    }

    .mtk-brands h2{
        font-size: 54px;
    }

    /* Productos */
    .mtk-product-card{
        min-height: 360px;

        padding: 24px;
    }

    .mtk-card-content h3{
        font-size: 38px;
    }

    /* Marcas */
    .mtk-brand-item{
        width: 150px;
        height: 80px;

        padding: 16px 18px;
    }

    .mtk-brand-item img{
        max-height: 38px;
    }

    /* Services */
    .mtk-services-heading h2{
        font-size: 50px;
    }

    .mtk-service-media{
        height: 285px;

        border-radius: 16px;
    }

    .mtk-service-copy{
        padding: 0;
    }

    .mtk-service-copy h3{
        font-size: 36px;
    }

    /* Why */
    .mtk-why-header h2{
        font-size: 50px;
    }

    .mtk-why-card{
        min-height: 275px;

        padding: 25px;
    }

    /* CTA final */
    .mtk-final-cta{
        padding:
            95px
            0;
    }

    .mtk-final-eyebrow{
        margin-bottom: 40px;
    }

    .mtk-final-copy h2{
        font-size: 56px;

        line-height: .9;
    }

    .mtk-final-action{
        justify-content: flex-start;
    }

    .mtk-final-circle{
        width: 145px;
        height: 145px;

        padding: 25px;
    }

    /* Footer */
    .mtk-new-footer{
        padding-top: 75px;
    }

    .mtk-footer-grid{
        grid-template-columns: 1fr;

        gap: 48px;
    }

    .mtk-footer-bottom{
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;

        margin-top: 65px;
    }

}

/* =========================================================
   15. OCULTAR MENÚ / HEADER MÓVIL ANTIGUO
   Solo afecta la Home personalizada de MTK.
   Oculta Astra y plugins comunes de menú móvil.
========================================================= */

/* ---------------------------------------------------------
   ASTRA
--------------------------------------------------------- */
body.mtk-redesign-page #masthead,
body.mtk-redesign-page .site-header,
body.mtk-redesign-page .ast-mobile-header-wrap,
body.mtk-redesign-page #ast-mobile-header,
body.mtk-redesign-page .ast-mobile-popup-drawer,
body.mtk-redesign-page .ast-desktop-header-content,
body.mtk-redesign-page .main-header-bar-wrap{
    display: none !important;
}


/* ---------------------------------------------------------
   WP RESPONSIVE MENU
--------------------------------------------------------- */
body.mtk-redesign-page #wprmenu_bar,
body.mtk-redesign-page #wprmenu_menu,
body.mtk-redesign-page .wprmenu_bar,
body.mtk-redesign-page .wprmenu_menu,
body.mtk-redesign-page #mg-wprm-wrap{
    display: none !important;
}


/* ---------------------------------------------------------
   WP MOBILE MENU
--------------------------------------------------------- */
body.mtk-redesign-page .mob-menu-header-holder,
body.mtk-redesign-page .mobmenu-content,
body.mtk-redesign-page .mobmenu-left-panel,
body.mtk-redesign-page .mobmenu-right-panel,
body.mtk-redesign-page #mobmenuleft,
body.mtk-redesign-page #mobmenuright{
    display: none !important;
}


/* ---------------------------------------------------------
   RESPONSIVE MENU PLUGIN
--------------------------------------------------------- */
body.mtk-redesign-page .rmp_menu_trigger,
body.mtk-redesign-page .rmp-container,
body.mtk-redesign-page #responsive-menu-button,
body.mtk-redesign-page #responsive-menu-container,
body.mtk-redesign-page .responsive-menu-button,
body.mtk-redesign-page .responsive-menu-container{
    display: none !important;
}


/* ---------------------------------------------------------
   MANTENER SIEMPRE NUESTRO HEADER PERSONALIZADO
--------------------------------------------------------- */
body.mtk-redesign-page .mtk-header{
    display: block !important;
}


/* Nuestro panel móvil solo aparece en tablet/celular */
@media (max-width: 850px){

    body.mtk-redesign-page .mtk-mobile-panel{
        display: block !important;
    }

}

/* =========================================================
   HOME QA PASS — 2026-09
   - New hero title composition
   - Product visual index
   - Product cards image polish
   - Footer industries strip
========================================================= */

/* Hero title tuned for the new copy. */
.mtk-main-hero h1{
    max-width: 1180px;
    text-wrap: balance;
}

.mtk-main-hero h1 span{
    margin-top: 8px;
    color: rgba(255,255,255,.72);
    font-weight: 560;
}

/* ---------------------------------------------------------
   PRODUCT VISUAL INDEX
--------------------------------------------------------- */
.mtk-product-visual-index{
    position: relative;
    z-index: 3;
    padding: 0;
    overflow: hidden;
    background: #090c0f;
    border-top: 1px solid rgba(255,255,255,.07);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.mtk-product-visual-track{
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
}

.mtk-product-visual-item{
    position: relative;
    min-height: 255px;
    overflow: hidden;
    isolation: isolate;
    border-right: 1px solid rgba(255,255,255,.07);
    background: #0b0e12;
}

.mtk-product-visual-item:last-child{
    border-right: 0;
}

.mtk-product-visual-item img{
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.78) contrast(1.04);
    transform: scale(1.025);
    transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .45s ease;
}

.mtk-product-visual-overlay{
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.80)),
        linear-gradient(135deg,rgba(228,173,50,.08),transparent 42%);
    transition: background .35s ease;
}

.mtk-product-visual-copy{
    position: absolute;
    inset: auto 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mtk-product-visual-copy small{
    margin-bottom: 10px;
    color: var(--mtk-gold);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .16em;
}

.mtk-product-visual-copy strong{
    color: #fff;
    font-size: clamp(19px,1.45vw,28px);
    font-weight: 590;
    line-height: .98;
    letter-spacing: -.035em;
}

.mtk-product-visual-copy > span{
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: rgba(255,255,255,.72);
    font-size: 9px;
    font-weight: 750;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height .3s ease, margin-top .3s ease, opacity .3s ease, transform .3s ease;
}

@media (hover:hover) and (pointer:fine){
    .mtk-product-visual-item:hover img{
        transform: scale(1.09);
        filter: saturate(1) contrast(1.05);
    }

    .mtk-product-visual-item:hover .mtk-product-visual-overlay{
        background:
            linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.74)),
            linear-gradient(135deg,rgba(228,173,50,.17),transparent 46%);
    }

    .mtk-product-visual-item:hover .mtk-product-visual-copy > span{
        max-height: 30px;
        margin-top: 11px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------
   PRODUCT CARDS — stronger image presence without changing
   the verified image source.
--------------------------------------------------------- */
.mtk-product-card{
    background-position: center, center;
}

.mtk-product-card::after{
    background:
        linear-gradient(180deg,rgba(0,0,0,.00) 0%,rgba(0,0,0,.06) 34%,rgba(0,0,0,.82) 100%),
        linear-gradient(135deg,rgba(228,173,50,.05),transparent 44%);
}

.mtk-product-card:hover{
    box-shadow: 0 28px 80px rgba(0,0,0,.28);
}

/* ---------------------------------------------------------
   FOOTER — compact industry context strip.
--------------------------------------------------------- */
.mtk-footer-industries{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 76px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #727a82;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
}

.mtk-footer-industries i{
    width: 4px;
    height: 4px;
    display: block;
    border-radius: 50%;
    background: var(--mtk-gold);
}

.mtk-footer-bottom{
    margin-top: 28px;
    padding-top: 0;
    border-top: 0;
}

@media (max-width: 1100px){
    .mtk-product-visual-track{
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .mtk-product-visual-item:nth-child(3){
        border-right: 0;
    }

    .mtk-product-visual-item:nth-child(-n+3){
        border-bottom: 1px solid rgba(255,255,255,.07);
    }
}

@media (max-width: 850px){
    .mtk-product-visual-index{
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mtk-product-visual-index::-webkit-scrollbar{
        display: none;
    }

    .mtk-product-visual-track{
        width: max-content;
        display: flex;
    }

    .mtk-product-visual-item{
        width: min(72vw,320px);
        min-height: 290px;
        flex: 0 0 auto;
        border-right: 1px solid rgba(255,255,255,.07) !important;
        border-bottom: 0 !important;
    }
}

@media (max-width: 600px){
    .mtk-main-hero h1 span{
        margin-top: 5px;
    }

    .mtk-product-visual-item{
        width: 78vw;
        min-height: 265px;
    }

    .mtk-footer-industries{
        margin-top: 52px;
        gap: 11px;
        font-size: 8px;
    }
}
/* Ocultar campo Quote List de WPForms */
#wpforms-1933-field_12-container{
    display: none !important;
}

/* ==========================================
   MTK - HERO CLS OPTIMIZATION
   Reserva espacio para el cable antes
   de que termine de cargar la imagen.
========================================== */

/* Desktop */
.mtk-hero-cable-wrap {
    aspect-ratio: 1672 / 1053.92;
}

.mtk-hero-cable {
    aspect-ratio: 1672 / 941;
}

/* Laptop y tablet horizontal */
@media (max-width: 1100px) {
    .mtk-hero-cable-wrap {
        aspect-ratio: 1672 / 1148.02;
    }
}

/* Tablet y móvil */
@media (max-width: 850px) {
    .mtk-hero-cable-wrap {
        aspect-ratio: 1672 / 1298.58;
    }
}

/* Celulares pequeños */
@media (max-width: 600px) {
    .mtk-hero-cable-wrap {
        aspect-ratio: 1672 / 1458.55;
    }
}
/* ============================================================
   MTK · Carga progresiva de tarjetas de productos (Home)
   PEGAR AL FINAL DEL style.css ACTUAL.
   No reemplazar el style.css completo: conserva el ajuste CLS.
   ============================================================ */

/* Retira la imagen de fondo: ahora la renderiza el elemento img. */
.mtk-product-card {
    background-image: none;
    background-color: #090c0f;
}

/* Mismo encuadre cover, pero con carga diferida de HTML. */
.mtk-product-card > .mtk-product-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    transition: object-position .5s ease;
}

/* Mantiene la jerarquía visual de círculos, degradados y texto. */
.mtk-product-card::before {
    z-index: 1;
}

.mtk-product-card::after {
    z-index: 2;
    background:
        linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.06) 34%,rgba(0,0,0,.82) 100%),
        linear-gradient(135deg,rgba(228,173,50,.05),transparent 44%),
        linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.18) 30%,rgba(0,0,0,.82) 100%);
}

/* Conserva el desplazamiento sutil del encuadre al pasar el mouse. */
.mtk-product-card:hover > .mtk-product-card-image {
    object-position: center 42%;
}