/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

/* ------------------------------------ HEADER ------------------------------------ */

/* =========================================================
   CONTENEDOR PRINCIPAL DEL HEADER (GLASSMORPHISM)
   ========================================================= */
#header.main-header,
#tht-corp-head {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999 !important;
    background-color: rgba(5, 11, 20, 0.75) !important;
    /* Fondo oscuro semi-transparente */
    backdrop-filter: blur(12px);
    /* Efecto de desenfoque */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

/* Alineación de las columnas del header */
#tht-corp-head .lqd-head-sec {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-inline: 24px !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-top: 15px !important;
    padding-bottom: 10px !important;
}

#tht-corp-head .lqd-head-col {
    display: flex;
    align-items: center;
    flex: 0 0 auto !important;
    max-width: none !important;
    padding: 0 !important;
}

/* Logo */
#tht-corp-logo .logo-default {
    height: 40px !important;
    /* Tailwind h-10 */
    width: auto !important;
    object-fit: contain;
}

/* =========================================================
   MENÚ DE NAVEGACIÓN (Desktop)
   ========================================================= */
#tht-corp-head #primary-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 32px !important;
    /* Equivalente al gap-8 de Tailwind */
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#tht-corp-head #primary-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

#tht-corp-head #primary-nav li a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    /* Equivalente al text-sm */
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 0 !important;
    transition: color 0.3s ease !important;
    background: transparent !important;
}

#tht-corp-head #primary-nav li a:hover {
    color: #3b82f6 !important;
    /* Azul hover */
}

/* =========================================================
   BOTÓN "CONTÁCTANOS" (Estilizado mediante su clase nativa)
   ========================================================= */
#btn-head-container .btn-head {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #3b82f6 !important;
    /* bg-blue-500 */
    color: #ffffff !important;
    padding: 10px 24px !important;
    /* py-2.5 px-6 */
    border-radius: 16px !important;
    /* rounded-2xl */
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    margin-left: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15) !important;
    border: none !important;
}

#btn-head-container .btn-head:hover {
    background-color: #2563eb !important;
    /* hover:bg-blue-600 */
    transform: scale(1.05) !important;
    /* hover:scale-105 */
    color: #ffffff !important;
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

/* VISTA MOBILE (Ocultar menú desktop y mostrar el botón hamburguesa propio de tu tema) */
@media only screen and (max-width: 1000px) {

    /* Ocultamos los módulos de navegación de desktop en pantallas pequeñas */
    #tht-corp-head .module-primary-nav,
    #btn-head-container {
        display: none !important;
    }

    /* .lqd-mobile-sec-inner {
        background-color: rgba(5, 11, 20, 0.9) !important;
        backdrop-filter: blur(12px);
        padding: 16px 24px !important;
    }

    .lqd-mobile-sec-nav {
        background-color: #050b14 !important;
    } */

    .lqd-mobile-sec-nav #mobile-primary-nav li a {
        color: #ffffff !important;
        font-family: 'Inter', sans-serif;
    }
}

/* ------------------------------------ BANNER ------------------------------------ */

.banner-tht-corp a:hover {
    color: white;
}

.hero-section-banner-tht {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 24px 60px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Manejo del fondo de Vimeo */
.video-container-banner-tht {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-color: #050b14;
}

.vimeo-bg-banner-tht {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* Mantiene la proporción 16:9 */
    min-height: 100vh;
    min-width: 177.77vh;
    pointer-events: none;
    /* EL TRUCO: Le agregamos scale(1.05) para empujar los bordes negros afuera */
    transform: translate(-50%, -50%) scale(1.10);
}

/* Capas de oscurecimiento (Overlays) */
.overlay-solid-banner-tht {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.overlay-gradient-banner-tht {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 50%, #050b14 100%);
    z-index: 2;
}

/* Envoltorio del contenido */
.content-wrapper-banner-tht {
    position: relative;
    z-index: 10;
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
}

.logo-banner-tht {
    height: 64px;
    width: auto;
    margin: 0 auto 24px;
    display: block;
}

.badge-banner-tht {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.title-banner-tht {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 24px 0;
}

.text-white-banner-tht {
    color: #ffffff;
}

.text-blue-banner-tht {
    color: #3b82f6;
}

.break-mobile-banner-tht {
    display: none;
}

.description-banner-tht {
    color: #ffffff;
    max-width: 680px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 1.6;
}

/* Botones */
.buttons-container-banner-tht {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary-banner-tht {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.btn-primary-banner-tht:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

.icon-arrow-banner-tht {
    width: 20px;
    height: 20px;
}

.btn-secondary-banner-tht {
    border: 1px solid #3b82f6;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-secondary-banner-tht:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

.icon-play-banner-tht {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Tarjetas */
.metrics-container-banner-tht {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
    width: 100%;
    margin: 48px auto 0;
}

.metric-card-banner-tht {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.metric-card-banner-tht:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.metric-value-banner-tht {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.plus-banner-tht {
    font-size: 36px;
    font-weight: 700;
}

.metric-label-banner-tht {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-top: 10px;
    text-align: center;
}

/* =========================================================
   MEDIA QUERIES SOLICITADAS
   ========================================================= */

/* VISTA MOBILE */
@media only screen and (max-width: 700px) {
    .hero-section-banner-tht {
        padding-top: 100px;
    }

    .title-banner-tht {
        font-size: 42px;
    }

    .break-mobile-banner-tht {
        display: block;
    }

    .buttons-container-banner-tht {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-banner-tht,
    .btn-secondary-banner-tht {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .metrics-container-banner-tht {
        grid-template-columns: 1fr;
        margin-top: 32px;
        gap: 12px;
    }

    .metric-card-banner-tht {
        padding: 20px 16px;
    }

    .vimeo-bg-banner-tht {
        transform: translate(-50%, -50%) scale(2.0);
    }
}

/* VISTA TABLET */
@media (min-width: 715px) and (max-width: 1000px) {

    .vimeo-bg-banner-tht {
        transform: translate(-50%, -50%) scale(1.3);
    }

    .title-banner-tht {
        font-size: 54px;
    }

    .metrics-container-banner-tht {
        gap: 12px;
    }

    .buttons-container-banner-tht {
        flex-direction: row;
    }
}

/* VISTA TABLET HORIZONTAL */
@media (min-width: 1180px) and (max-width: 1290px) and (orientation: landscape) {
    .hero-section-banner-tht {
        min-height: auto;
        padding: 140px 24px 100px;
    }
}