/*
Theme Name:   Aistech
Theme URI:    https://llyc.global/
Description:  Aistech Space
Author:       LLYC
Version:      1.0.26032401
Author URI:   https://llyc.global/
Template:     Divi
*/

/* Poppins Regular */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/aistech/fonts/Poppins-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Poppins Oblique (Regular Italic) */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/aistech/fonts/Poppins-Italic.ttf') format('ttf');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Poppins Bold */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/aistech/fonts/Poppins-Bold.ttf') format('ttf');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Poppins Bold Oblique */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/aistech/fonts/Poppins-BoldItalic.ttf') format('ttf');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* Poppins Black */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/aistech/fonts/Poppins-Black.ttf') format('ttf');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Poppins Black Oblique */
@font-face {
    font-family: 'Poppins';
    src: url('/wp-content/themes/aistech/fonts/Poppins-BlackItalic.ttf') format('ttf');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

body,
body .et_pb_module,
body .et_pb_section,
body #main-content {
    font-family: 'Poppins' !important;
    line-height: 1.2;
}

h1, h2, h3, h4, h5, h6{
    line-height: 1.2;
}
/* --- 1. Estilo Base de la imagen --- */
img {
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

/* --- 2. Estado HOVER (Cuando el ratón entra) --- */
img:hover {
    transform: scale(1.05);
}

#main-header {
    background-color: transparent !important;
    box-shadow: none !important;
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90% !important;
    max-width: 1400px;
}

#et-top-navigation {
    padding-left: 0 !important;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 0px;
}

/* --- 2. El Efecto "Liquid Glass" (La píldora principal) --- */
#top-menu {
    display: inline-flex;
    align-items: center;
    list-style: none;
    position: relative;
    border-radius: 60px;
    padding: 8px 15px;
    margin-right: 230px;
    background: rgba(30, 35, 45, 0.45);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.2);
    border-bottom: none;
    box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.05),
    0 8px 20px -5px rgba(0, 0, 0, 0.2);
}

/* --- 3. Estilos de los Enlaces dentro del Vidrio --- */
#top-menu li {
    padding: 0;
    margin: 0;
}

#top-menu li a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 18px !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 40px;
}

.et-fixed-header #top-menu a {
    color: #ffffff !important;
}

#top-menu li a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

#top-menu li.btn-live-demo {
    position: absolute;
    right: -230px;
    top: 50%;
    transform: translateY(-50%);
    width: 210px;
    text-align: right;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease-in-out !important;
}

#top-menu li.btn-live-demo a {
    color: white !important;
    border-radius: 60px;
    padding: 14px 32px !important;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    background: rgb(255 69 0 / 100%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top-color: rgba(255, 255, 255, 0.5);
    border-bottom: none;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 8px 20px -5px rgba(0, 0, 0, 0.2);
}

/* --- 5. Ajuste del Logo --- */
.et_header_style_left .logo_container {
    display: flex;
    align-items: end;
    z-index: 10;
    width: auto;
}
/* =======================
Responsive menu
=========================*/

@media (max-width: 980px) {
    #main-header {
        position: fixed !important;
        width: 100% !important;
        z-index: 99999 !important;
    }
    #page-container {
        padding-top: 80px !important;
    }
    #top-menu > li.menu-item:not(.btn-live-demo) {
        display: none !important;
    }
    nav#top-menu-nav {
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .et-fixed-header #top-menu li.btn-live-demo{
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(-20px) !important;
    }
    #et-top-navigation {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .et_pb_menu__menu,
    #top-menu-nav {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    #mobile_menu,
    .et_mobile_menu {
        border-radius: 22px !important;
        background: rgba(30, 35, 45, 0.45);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
        backdrop-filter: blur(16px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top-color: rgba(255, 255, 255, 0.2);
        border-bottom: none;
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 8px 20px -5px rgba(0, 0, 0, 0.2);
        padding: 20px !important;
        margin-top: 10px !important;
    }
    #mobile_menu a,
    .et_mobile_menu a {
        color: #ffffff !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    #logo {
        width: 108px;
        height: 27px !important;
        max-width: 108px !important;
    }
    .mobile_menu_bar {
        display: flex !important;
        width: 48px !important;
        height: 48px !important;
        padding: 18px 15px !important;
        justify-content: center !important;
        align-items: center !important;
        border-radius: 60px;
        background: rgba(30, 35, 45, 0.45);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
        backdrop-filter: blur(16px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top-color: rgba(255, 255, 255, 0.2);
        border-bottom: none;
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 8px 20px -5px rgba(0, 0, 0, 0.2);
    }
    .mobile_menu_bar:before {
        font-size: 20px !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    #top-menu li.btn-live-demo a {
        white-space: normal !important;
        max-width: 125px !important;
        text-align: center;
        padding: 10px 25px !important;
        border-radius: 60px;
        color: #FFF;
        font-size: 12px;
        font-weight: 600;
        background: rgb(255 69 0 / 100%);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
        backdrop-filter: blur(16px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-top-color: rgba(255, 255, 255, 0.5);
        border-bottom: none;
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 8px 20px -5px rgba(0, 0, 0, 0.2);
    }
    #top-menu li.btn-live-demo {
        position: relative;
        right: inherit !important;
        left: inherit;
        position: relative;
        right: inherit !important;
        left: inherit;
        bottom: 0;
        top: inherit;
        transform: translateY(0);
        width: 200px;
    }
    #et_mobile_nav_menu {
        margin-top: 14px;
    }
    #mobile_menu li.btn-live-demo,
    .et_mobile_menu li.btn-live-demo {
        display: none !important;
    }
    #top-menu {
        background: transparent;
        border: none;
        backdrop-filter: none;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: end;
        justify-content: flex-end;
        padding: 0;
        box-shadow: none;
    }
    span.et_pb_scroll_top.et-pb-icon.et-visible {
        bottom: 5px !important;
    }
}

@media (max-width: 400px) {
    #top-menu li.btn-live-demo{
        display: none;
    }
}
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #050910;
    background-image: url('../../uploads/2026/01/fondo_aisteh_web-scaled.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

/* =========================================
CSS FOOTER AISTECH - REPLICA EXACTA
========================================= */
#main-footer .container {
    border-top: 1px solid rgb(255 255 255 / 40%);
    width: 90% !important;
    max-width: 1400px;
}

#footer-bottom {
    display: none !important;
}

#footer-widgets {
    display: flex !important;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.footer-widget {
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-widget a,
.footer-widget p,
.footer-widget li {
    text-decoration: none !important;
    font-size: 15px;
    line-height: 2;
    list-style: none !important;
    padding-left:0 !important;
}
#footer-widgets .footer-widget li:before {
    border-radius: 0px;
    border-width: 0px;
}

.footer-widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* =========================================
COLUMNA 1: Logo + Menú 1 + Design by
========================================= */

#block-7 {
    margin-bottom: 19px;
}

.footer-widget:nth-child(1) #block-9 p {
    margin-top: auto !important;
    opacity: 0.7;
    font-size: 13px;
}

/* =========================================
COLUMNA 2: Menú 2 + Copyright
========================================= */

.footer-widget:nth-child(2) #nav_menu-3 {
    margin-top: 75px;
    margin-bottom: 98px;
}

.footer-widget:nth-child(2) #block-10 {
    margin-top: auto !important;
    opacity: 0.7;
    font-size: 13px;
}

/* =========================================
COLUMNA 3: Redes Sociales + Año
========================================= */

.footer-widget:nth-child(3) #block-8 {
    margin-top: auto !important;
}

.wp-social-link a {
    padding: 0 !important;
}

.wp-social-link svg {
    width: 36px !important;
    height: 36px !important;
}

.footer-widget:nth-child(3) #block-11 p {
    opacity: 0.7;
    font-size: 13px;
}
body .et_pb_button {
    font-weight: 500;
}

body #page-container .et_pb_section .et_pb_button {
    padding-top: 11px !important;
    padding-right: 16px !important;
    padding-bottom: 11px !important;
    padding-left: 16px !important;
}

.btn-size-home {
    width: 215px;
    height: 44px;
    text-align: center;
    line-height: 20px !important;
}
/*BOTONES*/
body #page-container .et_pb_section .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_more_button.et_pb_button {
    line-height: 18px !important;
}
.line-docho {
    line-height: 18px !important;
}
/* ========================================
RESPONSIVE Footer
======================================== */
@media screen and (max-width: 999px) and (min-width: 320px) {
    #footer-widgets {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0;
    }
    #footer-widgets .footer-widget:nth-child(3) {
        order: 3;
    }
    .footer-widget {
        width: 100% !important;
    }
    /* --- REORDENAR COLUMNAS --- */
    .footer-widget:nth-child(1) { order: 1; }
    .footer-widget:nth-child(3) { order: 2; }
    .footer-widget:nth-child(2) { order: 3; }
    /* =========================================
    COLUMNA 1: Logo + Menú principal
    ========================================= */
    .footer-widget:nth-child(1) #block-7 {
        margin-bottom: 12px;
    }
    .footer-widget:nth-child(1) #block-9 {
        display: none;
    }
    /* =========================================
    COLUMNA 3 (order 2): Redes sociales
    ========================================= */
    .footer-widget:nth-child(3) {
        align-items: flex-start !important;
        text-align: left !important;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .footer-widget:nth-child(3) #block-8 {
        margin-top: 0 !important;
    }
    .footer-widget:nth-child(3) .wp-block-social-links {
        justify-content: flex-start !important;
    }
    .footer-widget:nth-child(3) #block-11 {
        display: none;
    }
    /* =========================================
    COLUMNA 2 (order 3): Contact + Privacy + Bottom
    ========================================= */
    .footer-widget:nth-child(2) #nav_menu-3 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .footer-widget:nth-child(2) #block-10 {
        margin-top: 25px !important;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }
    .footer-widget:nth-child(2) #block-10 p {
        text-align: center;
        font-size: 13px;
        opacity: 0.7;
    }
    .footer-widget:nth-child(2) #block-10::before {
        content: '';
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 15px;
    }
    .footer-widget:nth-child(2) #nav_menu-3::after {
        content: none;
    }
    .footer-widget:nth-child(2)::after {
        content: '';
        display: block;
        width: 100%;
        order: 99;
    }
    .ia-footer-bottom-row {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        margin-top: 25px;
        order: 99;
    }
    .ia-footer-bottom-row #block-10 {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .ia-footer-bottom-row #block-10 p {
        font-size: 13px;
        opacity: 0.7;
        margin: 0;
    }
    #footer-widgets {
        padding-left: 20px !important;
    }
}
/* ========================================
RESPONSIVE Home
======================================== */
@media screen and (max-width:999px) and (min-width:320px) {
    .et_pb_slider.et_pb_module .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_content {
        display: block !important;
        visibility: visible !important;
        margin-left: -5px;
    }
    .ais-nav.prev { left: 3px; }
    .ais-nav.next { right: 1px; }
    .card-content p {
        font-size: 15px !important;
    }
    /* ============================================
    LOGOS PARTNERS - home
    ============================================ */
    .logos-partners.et_pb_row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 5px;
        padding-top: 15px !important;
        margin-top: -20px !important;
    }
    .logos-partners .et_pb_column {
        width: 45% !important;
        flex: 0 0 45% !important;
        margin: 0 !important;
        padding: 3px !important;
    }
    .logos-partners .et_pb_column .et_pb_image img {
        max-width: 85%;
        height: auto;
    }
}

/* =========================================
EFECTO DE TEXTO DEGRADADO "PROTECT OUR PLANET"
========================================= */
.title-degradado.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none;
}

.title-degradado .et_pb_slide_title {
    background-image: linear-gradient(
    to right,
    #ffffff 10%,
    rgba(255, 71, 38, 0.8) 35%,
    #FF4726 45%,
    #FF4726 55%,
    rgba(255, 71, 38, 0.8) 65%,
    #ffffff 95%
    );
    animation: paneo-zoom 8s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-size: 70px;
    letter-spacing: -2.4px;
}
.title-degradado h1.et_pb_slide_title {
    margin-bottom: 10px;
    font-size: 70px;
    font-weight: 700;
}

.title-degradado h1.et_pb_slide_title a:hover{
    opacity: 1;
    transition: none;
}
@keyframes paneo-zoom {
    0% {
        background-position: 0% 0%;
        background-size: 100% 100%;
    }
    25% {
        background-position: 100% 0%;
        background-size: 120% 120%;
    }
    50% {
        background-position: 100% 100%;
        background-size: 150% 150%;
    }
    75% {
        background-position: 0% 100%;
        background-size: 120% 120%;
    }
    100% {
        background-position: 0% 0%;
        background-size: 100% 100%;
    }
}

.title-degradado .et_pb_slide_content {
    margin-bottom: 30px;
}

/* carrusel */

.ais-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0px auto;
    overflow: hidden;
    padding: 40px 0;
}

.ais-track {
    display: flex;
    width: max-content;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.ais-slide {
    width: 320px;
    transform: scale(0.85);
    opacity: 0.5;
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.ais-slide.active-center {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}
.ais-slide[data-clone] {
    pointer-events: none;
}
.ais-track {
    min-width: 100%;
}

/* --- TARJETA INTERNA --- */
.riesgo-card {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 230px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 10px;
    text-align: center;
    background-color: #f4f6f8;
    color: #133656;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content p {
    margin: 0;
    font-size: 16.6px;
    line-height: 19.9px;
    color: #000;
    letter-spacing: -0.28px;
}
.card-content strong,
.card-content b{
    color: #30CFBC;
}

/* --- FLECHAS --- */
.ais-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    backdrop-filter: blur(5px);
    border: none;
    color: #000;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ais-nav:hover {
    background: #FF4726;
    transform: translateY(-50%) scale(1.1);
}

.ais-nav.disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
    background: rgba(255,255,255,0.05);
}

.ais-nav.prev { left: 20px; }
.ais-nav.next { right: 20px; }

.ais-nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ais-nav svg {
    width: 18px;
    height: 18px;
}

.ais-nav:hover svg path {
    stroke: white !important;
}

/* === CARRUSEL MÓVIL === */
@media only screen and (max-width: 980px) {
    .ais-slider-container {
        padding: 20px 0;
    }
    .ais-slide {
        width: 240px;
        transform: scale(0.9);
        opacity: 1;
    }
    .ais-slide.active-center {
        transform: scale(1.05);
        opacity: 1;
    }
    .ais-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .ais-nav.prev {
        left: 5px;
    }
    .ais-nav.next {
        right: 5px;
    }
    .card-image {
        height: 180px;
    }
    .card-content {
        padding: 15px 10px;
    }
    .card-content p {
        font-size: 14px;
        line-height: 18px;
    }
    .ais-track {
        gap: 15px;
    }
}

/*********animacion columna*************************/

#heat-row .et_pb_column:nth-child(1) { --card-delay: 0s; }
#heat-row .et_pb_column:nth-child(2) { --card-delay: 0.8s; }
#heat-row .et_pb_column:nth-child(3) { --card-delay: 1.6s; }

#heat-row .et_pb_column {
    background-color: transparent !important;
    transition: background-color 0.4s ease;
    opacity: 0;
    clip-path: inset(100% 0 0 0);
}

#heat-row .et_pb_column:hover {
    background-color: #FF4500 !important;
    border-radius: 8px;
}

#heat-row .et_pb_column > div {
    opacity: 0;
}

#heat-row .et_pb_column.is-visible {
    animation: crecerDesdeAbajo 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--card-delay);
}

#heat-row .et_pb_column.is-visible > div {
    animation: aparecerContenido 0.5s ease-out forwards;
}

#heat-row .et_pb_column.is-visible > div:nth-child(1) {
    animation-delay: calc(var(--card-delay) + 0.4s);
}
#heat-row .et_pb_column.is-visible > div:nth-child(2) {
    animation-delay: calc(var(--card-delay) + 0.6s);
}
#heat-row .et_pb_column.is-visible > div:nth-child(3) {
    animation-delay: calc(var(--card-delay) + 0.8s);
}

@keyframes crecerDesdeAbajo {
    0% {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes aparecerContenido {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
Productos
-------------------- */

#cards-products .et_pb_column {
    background-color: transparent !important;
    transition: background-color 0.4s ease;
}

#cards-products .et_pb_column:hover {
    background-color: #FF4500 !important;
}

/* ============================================
CASOS DE USO - CARRUSEL HORIZONTAL
============================================ */

.use-cases-row {
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-behavior: smooth !important;
    scrollbar-width: thin;
    scrollbar-color: #4a90e2 #1a2332;
    padding-right: 20px !important;
    scroll-snap-type: none !important;
}

.use-cases-row::-webkit-scrollbar {
    height: 8px;
}

.use-cases-row::-webkit-scrollbar-track {
    background: #1a2332;
    border-radius: 10px;
    margin: 0 40px;
}

.use-cases-row::-webkit-scrollbar-thumb {
    background: #4a90e2;
    border-radius: 10px;
}

.use-cases-row::-webkit-scrollbar-thumb:hover {
    background: #357abd;
}

/* ========================================
ELEMENTOS INACTIVOS
======================================== */
.use-case-column {
    min-width: 80px !important;
    width: 80px !important;
    height: 530px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: min-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
ELEMENTO ACTIVO (Primera columna por defecto)
======================================== */
.use-case-column:first-child {
    min-width: 730px !important;
    width: 730px !important;
    height: 530px !important;
    z-index: 50 !important;
}

.use-cases-row:has(.use-case-column:not(:first-child):hover) .use-case-column:first-child {
    min-width: 80px !important;
    width: 80px !important;
    z-index: 1 !important;
}

.use-case-column:hover {
    min-width: 730px !important;
    width: 730px !important;
    z-index: 100 !important;
}

/* ========================================
Última columna - Espacio para expansión
======================================== */
.use-case-column:last-child {
    margin-right: 650px !important;
}

.use-case-column:last-child:hover {
    margin-right: 0 !important;
}

.use-cases-row:has(.use-case-column:not(:last-child):hover) .use-case-column:last-child {
    margin-right: 0 !important;
}

/* ========================================
OVERLAY GRADIENTE
======================================== */
.use-case-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.4) 100%);
    z-index: 1;
    transition: all 0.4s ease;
    pointer-events: none;
}

.use-case-column:hover::before {
    background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,0.5) 100%);
}

/* ========================================
TARJETA BLANCA - SOLUCIÓN TEXTO VERTICAL
======================================== */
.use-case-card {
    position: absolute !important;
    bottom: 150px !important;
    left: 30px !important;
    right: auto !important;
    width: 280px !important;
    min-width: 280px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    padding: 25px !important;
    border-radius: 12px !important;
    z-index: 10 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease 0.25s,
    visibility 0s ease 0.25s,
    transform 0.3s ease 0.25s !important;
}

.use-case-column:first-child .use-case-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition: opacity 0.3s ease,
    visibility 0s ease,
    transform 0.3s ease !important;
}

.use-case-column:hover .use-case-card {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.use-cases-row:has(.use-case-column:not(:first-child):hover) .use-case-column:first-child .use-case-card {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease,
    visibility 0s ease 0.2s,
    transform 0.2s ease !important;
}

.use-case-card .et_pb_blurb_content {
    position: relative;
    z-index: 2;
    white-space: normal !important;
    min-width: 230px !important;
}

.use-case-card .et_pb_main_blurb_image {
    margin-bottom: 12px !important;
}

.use-case-card .et-pb-icon {
    width: 45px !important;
    height: 45px !important;
    background: linear-gradient(135deg, #ff6b35 0%, #e85a28 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 12px 0 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
    transition: all 0.3s ease !important;
}

.use-case-column:hover .use-case-card .et-pb-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5) !important;
}

.use-case-card .et_pb_blurb_container h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ff6b35 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.2px !important;
    white-space: normal !important;
}

.use-case-card .et_pb_blurb_description p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin: 0 !important;
    font-weight: 400 !important;
    white-space: normal !important;
}

.use-cases-cta {
    text-align: center !important;
    margin-top: 50px !important;
    padding: 0 !important;
}

.use-cases-cta .et_pb_button {
    background: #ff6b35 !important;
    border: none !important;
    padding: 18px 45px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5) !important;
    color: #ffffff !important;
}

.use-cases-cta .et_pb_button:hover {
    background: #e85a28 !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.7) !important;
}

/* ========================================
RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
    .use-case-column:last-child {
        margin-right: 500px !important;
    }
    .use-case-column:last-child:hover {
        margin-right: 0 !important;
    }
}

@media (max-width: 980px) {
    .use-case-column {
        min-width: 60px !important;
        width: 60px !important;
        height: 380px !important;
    }
    .use-case-column:hover,
    .use-case-column:first-child {
        min-width: 400px !important;
        width: 400px !important;
        height: 380px !important;
    }
    .use-case-column:last-child {
        margin-right: 340px !important;
    }
    .use-case-column:last-child:hover {
        margin-right: 0 !important;
    }
    .use-case-card {
        padding: 20px !important;
        width: 250px !important;
        min-width: 250px !important;
        bottom: 100px !important;
    }
    .use-case-card .et_pb_blurb_content {
        min-width: 210px !important;
    }
    .use-case-card .et_pb_blurb_container h4 {
        font-size: 16px !important;
    }
    a.et_pb_button.et_pb_button_1.adjustButton.et_pb_bg_layout_dark {
        display: table;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .use-cases-row {
        flex-direction: column !important;
        align-items: center !important;
        overflow-x: visible !important;
        padding: 20px 0 !important;
    }
    .use-case-column {
        min-width: 100% !important;
        width: 100% !important;
        max-width: 400px !important;
        height: 400px !important;
        margin-bottom: 20px !important;
    }
    .use-case-column:last-child {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
    .use-case-column:hover,
    .use-case-column:first-child {
        min-width: 100% !important;
        width: 100% !important;
        height: 400px !important;
    }
    .use-case-card {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        width: auto !important;
        min-width: auto !important;
        max-width: 90% !important;
        bottom: 80px !important;
        pointer-events: auto !important;
        transition: none !important;
    }
    .use-case-card .et_pb_blurb_content {
        min-width: auto !important;
    }
}

/* ============================================
SECCIÓN DE COMPANY
============================================ */
#global-footprint .et_pb_column:nth-child(1) { --card-delay: 0s; }
#global-footprint .et_pb_column:nth-child(2) { --card-delay: 0.8s; }
#global-footprint .et_pb_column:nth-child(3) { --card-delay: 1.6s; }

#global-footprint .et_pb_column {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
}

#global-footprint .et_pb_column > div {
    opacity: 0;
}

#global-footprint .et_pb_column.is-visible {
    animation: crecerDesdeAbajo 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--card-delay);
}

#global-footprint .et_pb_column.is-visible > div {
    animation: aparecerContenido 0.5s ease-out forwards;
}

#global-footprint .et_pb_column.is-visible > div:nth-child(1) {
    animation-delay: calc(var(--card-delay) + 0.4s);
}
#global-footprint .et_pb_column.is-visible > div:nth-child(2) {
    animation-delay: calc(var(--card-delay) + 0.6s);
}
#global-footprint .et_pb_column.is-visible > div:nth-child(3) {
    animation-delay: calc(var(--card-delay) + 0.8s);
}

@keyframes crecerDesdeAbajo {
    0% {
        clip-path: inset(100% 0 0 0);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

@keyframes aparecerContenido {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TEXTO MAQUINA */
.texto-maquina .et_pb_text_inner {
    animation: parpadeoCursor 0.8s step-end infinite;
    white-space: pre-wrap;
}

@keyframes parpadeoCursor {
    from, to { border-color: transparent; }
    50% { border-color: #FF8C00; }
}

/* ============================================
SECCIÓN DE NEWS/NOTICIAS
============================================ */

.news-section {
    background: #0a1628 !important;
    padding: 0px 0 !important;
    position: relative;
    overflow: hidden;
}

.news-section .et_pb_row {
    width: 80% !important;
    margin: 0 auto !important;
}

.news-blog-module {
    width: 100% !important;
}

.news-blog-module .et_pb_posts {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 0 0 40px 0 !important;
    margin: 0 !important;
}

.news-blog-module article.et_pb_post {
    position: relative !important;
    height: 333px !important;
    border-radius: 20px !important;
    overflow: visible !important;
    cursor: pointer !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    margin: 0 0 60px 0 !important;
    background: #1a1a2e !important;
    isolation: isolate !important;
}

.news-blog-module article.et_pb_post:hover {
    transform: translateY(-15px) !important;
    box-shadow: none !important;
    z-index: 50 !important;
}

.news-blog-module .et_pb_image_container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.news-blog-module .et_pb_image_container a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.news-blog-module .et_pb_image_container img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
    border-radius: 20px !important;
}

.news-blog-module article.et_pb_post:hover .et_pb_image_container img {
    transform: scale(1.08) !important;
}

.news-blog-module article.et_pb_post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.2) 30%,
    rgba(0,0,0,0.7) 80%,
    rgba(0,0,0,0.9) 100%);
    z-index: 2 !important;
    transition: all 0.4s ease;
    pointer-events: none;
    border-radius: 20px !important;
}

.news-blog-module article.et_pb_post:hover::before {
    background: linear-gradient(180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.3) 30%,
    rgba(0,0,0,0.75) 80%,
    rgba(0,0,0,0.95) 100%);
}

.news-blog-module .et_pb_post_content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 25px !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 20px 20px 20px 20px !important;
    margin: 15px !important;
    min-height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1) !important;
}

.news-blog-module h2.entry-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    bottom: 20px;
    transition: all 0.3s ease !important;
    z-index: 11 !important;
    position: absolute !important;
    width: 100%;
    left: 0;
    padding: 0px 20px;
}
.news-blog-module h2.entry-title:hover {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.news-blog-module h2.entry-title a {
    color: #1a1a2e !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: block !important;
    position: relative !important;
    z-index: 11 !important;
}

.news-blog-module .more-link {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2d3e6e !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 11 !important;
}

.news-blog-module article.et_pb_post:hover .more-link {
    color: #4a5f9e !important;
}

.news-blog-module .post-content,
.news-blog-module .post-content p,
.news-blog-module .excerpt,
.news-blog-module .post-meta,
.news-blog-module .post-meta-wrapper {
    display: none !important;
}

.news-blog-module article.et_pb_post::after {
    display: none !important;
}

.news-see-more-btn {
    position: absolute !important;
    bottom: -60px !important;
    left: 15px !important;
    background: transparent !important;
    border: 1px solid #FFF !important;
    color: #ffffff !important;
    padding: 12px 32px !important;
    border-radius: 21.71px !important;
    font-size: 17.76px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 15 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    line-height: 17.76px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.news-see-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.news-see-more-btn svg {
    flex-shrink: 0;
}

.news-blog-module article.et_pb_post:hover .news-see-more-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.news-see-more-btn:hover {
    border-color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

@media (max-width: 980px) {
    .news-see-more-btn {
        left: 12px !important;
        padding: 10px 26px !important;
        font-size: 13px !important;
    }
    .single-post .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
    .single-news .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
    .aistech-single-template .aistech-related-module article.et_pb_post:hover .news-see-more-btn {
        display: none !important;
    }
    .news-blog-module article.et_pb_post h2.entry-title a{
        font-size: 16px;
        font-weight: 600 !important;
    }
}

@media (max-width: 767px) {
    .news-see-more-btn {
        left: 10px !important;
        padding: 10px 24px !important;
        font-size: 12px !important;
    }
    .single-post .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
    .single-news .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
    .aistech-single-template .aistech-related-module article.et_pb_post:hover .news-see-more-btn {
        display: none !important;
    }
}

.news-blog-module article.et_pb_post:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.news-blog-module article.et_pb_post::after:hover {
    border-color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.news-blog-module article.et_pb_post > a:first-child {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 5 !important;
}

.news-blog-module h2.entry-title a {
    position: relative !important;
    z-index: 11 !important;
}

@media (max-width: 1200px) {
    .news-section .et_pb_row {
        width: 80% !important;
    }
    .news-blog-module .et_pb_posts {
        gap: 18px !important;
    }
}

@media screen and (max-width: 999px) and (min-width: 320px) {
    .news-blog-module .et_pb_posts {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 !important;
    }
    .news-blog-module article.et_pb_post {
        height: 180px !important;
        margin: 0 0 15px 0 !important;
        overflow: visible !important;
    }
    .news-blog-module article.et_pb_post .et_pb_post_content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        min-height: auto !important;
        max-height: none !important;
        height: auto !important;
        margin: 0 !important;
        border-radius: 0 0 20px 20px !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(5px) !important;
        box-shadow: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .news-blog-module article.et_pb_post h2.entry-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    .news-blog-module article.et_pb_post h2.entry-title a {
        color: #ffffff !important;
        font-size: 16px;;
    }
    .news-see-more-btn,
    .news-blog-module article.et_pb_post::after {
        display: none !important;
    }
}

/* ============================================
SECCIÓN DE IMGS LOGOS
============================================ */

.imgs-section .et_pb_row {
    width: 90% !important;
    max-width: 1400px;
}

/* ============================================
ANIMACIÓN SCROLL UNIVERSAL - txt
============================================ */

[class*="scroll-reveal-"] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[class*="scroll-reveal-"].is-visible {
    opacity: 1;
}

[class*="scroll-reveal-"]:nth-child(1) {
    transition-delay: 0s;
}

[class*="scroll-reveal-"]:nth-child(2) {
    transition-delay: 0.2s;
}

[class*="scroll-reveal-"]:nth-child(3) {
    transition-delay: 0.4s;
}

[class*="scroll-reveal-"]:nth-child(4) {
    transition-delay: 0.6s;
}

[class*="scroll-reveal-"]:nth-child(5) {
    transition-delay: 0.8s;
}

[class*="scroll-reveal-"]:nth-child(6) {
    transition-delay: 1s;
}

.scroll-reveal-text,
.scroll-reveal-bottom {
    transform: translateY(30px);
}

.scroll-reveal-text.is-visible,
.scroll-reveal-bottom.is-visible {
    transform: translateY(0);
}

.scroll-reveal-image,
.scroll-reveal-left {
    transform: translateX(-30px);
}

.scroll-reveal-image.is-visible,
.scroll-reveal-left.is-visible {
    transform: translateX(0);
}

.scroll-reveal-right {
    transform: translateX(30px);
}

.scroll-reveal-right.is-visible {
    transform: translateX(0);
}

.scroll-reveal-top {
    transform: translateY(-30px);
}

.scroll-reveal-top.is-visible {
    transform: translateY(0);
}

.scroll-reveal-zoom {
    transform: scale(0.9);
}

.scroll-reveal-zoom.is-visible {
    transform: scale(1);
}

.scroll-reveal-fade {
    transform: none;
}

.thermal-imagery-section,
.thermal-imagery-section-2 {
    overflow: hidden;
}

/* ========================================
MAPA INTERACTIVO - AISTECH Use Cases
======================================== */
.aistech-map-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 80px 0;
    overflow: visible !important;
    z-index: 100 !important;
}

.aistech-map-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible !important;
    z-index: 100 !important;
}

.aistech-map-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

.map-points-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible !important;
    z-index: 200 !important;
}

/* ===================================
PUNTO DEL MAPA
=================================== */
.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 300 !important;
}

.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--point-color, #ff5722);
    border-radius: 50%;
    animation: pulse 2s infinite;
    transition: width 0.2s ease, height 0.2s ease;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--point-color, rgba(255, 87, 34, 0.7)); }
    70% { box-shadow: 0 0 0 15px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.map-point:hover::before {
    width: 16px;
    height: 16px;
    animation: none;
}

/* ===================================
CARD BASE (Estilos comunes)
=================================== */
.map-point-card {
    position: absolute;
    width: 320px;
    background: #000;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999 !important;
    pointer-events: none;
    padding: 15px;
}

/* ===================================
CONTENIDO DE LA CARD
=================================== */
.map-card-image {
    width: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.map-card-content {
    padding: 5px 5px 25px 5px;
}

.map-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.map-card-description {
    font-size: 13px;
    line-height: 1.6;
    color: #FFF;
    margin: 0;
    font-weight: 400;
    line-height: 15.6px;
    letter-spacing: 0.39px;
}

.map-card-description p {
    margin: 0 0 10px 0;
}

.map-card-description p:last-child {
    margin-bottom: 0;
}

/* ===================================
BOTÓN CERRAR
=================================== */
.map-card-close {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: #FFF;
    border-radius: 50%;
    cursor: pointer;
    z-index: 101;
    transition: background 0.3s ease;
}
.map-card-close::before,
.map-card-close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: white;
    top: 50%;
    left: 50%;
}

.map-card-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.map-card-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.map-card-close:hover {
    background: rgba(255, 87, 34, 0.8);
}

.map-card-close::before,
.map-card-close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: black;
    top: 50%;
    left: 50%;
}

.map-card-close:hover::before,
.map-card-close:hover::after {
    background: white;
}

/* ===================================
DIRECCIÓN: AUTO Y TOP (Default)
Card aparece ARRIBA del punto
=================================== */
.map-point[data-card-direction="auto"] .map-point-card,
.map-point[data-card-direction="top"] .map-point-card,
.map-point:not([data-card-direction]) .map-point-card {
    bottom: 30px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
}

.map-point[data-card-direction="auto"]:hover .map-point-card,
.map-point[data-card-direction="top"]:hover .map-point-card,
.map-point:not([data-card-direction]):hover .map-point-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.map-point[data-card-direction="auto"] .map-point-card::after,
.map-point[data-card-direction="top"] .map-point-card::after,
.map-point:not([data-card-direction]) .map-point-card::after {
    content: '';
    position: absolute;
    top: auto;
    bottom: -15px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid rgba(15, 23, 42, 0.95);
    border-bottom: 0;
}

/* ===================================
DIRECCIÓN: BOTTOM
Card aparece ABAJO del punto
=================================== */
.map-point[data-card-direction="bottom"] .map-point-card {
    top: 30px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
}

.map-point[data-card-direction="bottom"]:hover .map-point-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.map-point[data-card-direction="bottom"] .map-point-card::after {
    content: '';
    position: absolute;
    top: -15px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid rgba(15, 23, 42, 0.95);
    border-top: 0;
}

/* ===================================
DIRECCIÓN: LEFT
Card aparece a la IZQUIERDA del punto
=================================== */

.map-point[data-card-direction="left"] .map-point-card {
    top: 50%;
    bottom: auto;
    left: auto;
    right: 30px;
    transform: translateY(-50%) translateX(10px);
}

.map-point[data-card-direction="left"]:hover .map-point-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.map-point[data-card-direction="left"] .map-point-card::after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: auto;
    left: auto;
    right: -15px;
    transform: translateY(-50%);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid rgba(15, 23, 42, 0.95);
    border-right: 0;
}

/* ===================================
DIRECCIÓN: RIGHT
Card aparece a la DERECHA del punto
=================================== */
.map-point[data-card-direction="right"] .map-point-card {
    top: 50%;
    bottom: auto;
    left: 30px;
    right: auto;
    transform: translateY(-50%) translateX(-10px);
}

.map-point[data-card-direction="right"]:hover .map-point-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.map-point[data-card-direction="right"] .map-point-card::after {
    content: '';
    position: absolute;
    top: 50%;
    bottom: auto;
    left: -15px;
    right: auto;
    transform: translateY(-50%);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(15, 23, 42, 0.95);
    border-left: 0;
}

.aistech-map-mobile-buttons {
    display: none !important;
}
.map-card-close-text {
    display: none;
}

/* ===================================
MODAL PARA LA IMAGEN
=================================== */
.image-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-modal-wrapper {
    position: relative;
    display: flex;
    max-width: 85%;
}

.image-modal-content {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.image-modal-close {
    position: absolute;
    top: -30px;
    right: 0;
    color: #ffffff;
    font-size: 30px;
    line-height: 0.8;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.image-modal-close:hover {
    color: #ccc;
}

.image-modal-caption {
    margin-top: 20px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===================================
RESPONSIVE
=================================== */

/* === MÓVIL: Cards con tap === */
@media (max-width: 980px) {
    .map-point:hover .map-point-card {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    .map-point .map-point-card.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
    .map-card-close {
    }
    .map-card-close-text {
        display: none;
        padding: 15px 0px;
        color: #FFF;
        font-size: 23px;
        font-weight: 600;
        line-height: 100%;
        letter-spacing: 0.69px;
        text-decoration: underline;
        cursor: pointer;
        z-index: 200;
        position: relative;
    }
    .aistech-map-section {
        overflow: visible !important;
    }
    .aistech-map-container {
        padding: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    .et_pb_section:has(.aistech-map-section),
    .et_pb_section:has(.aistech-map-section) .et_pb_row,
    .et_pb_section:has(.aistech-map-section) .et_pb_column,
    .et_pb_section:has(.aistech-map-section) .et_pb_code,
    .et_pb_section:has(.aistech-map-section) .et_pb_code_inner {
        overflow: visible !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .aistech-map-image {
        width: 100vw !important;
        max-width: none !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: none;
    }
    .aistech-map-container .map-points-container .map-point::before {
        display: none;
    }
    .map-points-container {
        width: 100vw !important;
    }
    .map-point[data-card-direction="left"] .map-point-card,
    .map-point[data-card-direction="right"] .map-point-card,
    .map-point[data-card-direction="bottom"] .map-point-card,
    .map-point[data-card-direction="top"] .map-point-card,
    .map-point[data-card-direction="auto"] .map-point-card,
    .map-point:not([data-card-direction]) .map-point-card {
        position: fixed !important;
        top: 55% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 280px !important;
        max-height: 75vh;
        overflow-y: auto;
    }
    .map-point .map-point-card::after {
        display: none !important;
    }
    .map-point .map-point-card.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translate(-50%, -50%) !important;
        margin-top: 45px;;
        padding-bottom: calc(15px + 35px);
        z-index: 99999 !important;
        overflow-y: hidden;
        display: flex !important;
        flex-direction: column !important;
    }
    .map-point .map-point-card.mobile-open .map-card-contenido {
        overflow-y: auto !important;
        flex: 1 !important;
    }
    .map-card-close {
        bottom: 10px;;
    }
    .aistech-map-mobile-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 11px 16px !important;
        width: 100% !important;
        position: relative !important;
        z-index: 1 !important;
    }
    .aistech-map-mobile-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 320px !important;
        padding: 14px 24px !important;
        border-radius: 22px !important;
        border-width: 2px !important;
        border-style: solid !important;
        background: transparent !important;
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        letter-spacing: 0.3px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        -webkit-tap-highlight-color: transparent !important;
        outline: none !important;
    }
    .aistech-map-mobile-btn:active {
        transform: scale(0.97) !important;
        opacity: 0.8 !important;
    }
    .map-points-container:has(.map-point-card.mobile-open) .map-point::before {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    .map-points-container:has(.map-point-card.mobile-open) .map-point {
        z-index: 1 !important;
    }
    .map-point-card.mobile-open {
        z-index: 100000 !important;
    }
}

@media (max-width: 768px) {
    .aistech-map-section {
        min-height: 400px;
        padding: 40px 0;
    }
    .map-point-card {
        width: 260px;
    }
    .map-card-image {
        height: 159px;
    }
    .map-card-content {
        padding: 0;
    }
    .map-card-title {
        font-size: 23px;
    }
    .map-card-description {
        color: #FFF;
        margin: 0;
        font-style: normal;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.48px;
    }
}

@media (max-width: 480px) {
    .map-point-card {
        width: 220px;
    }
    .map-card-image {
        height: 159px;
    }
}

/* ===================================
FORZAR Z-INDEX EN DIVI
=================================== */
.et_pb_section {
    z-index: 1 !important;
}
.et_pb_section:has(.aistech-map-section) {
    z-index: 100 !important;
    overflow: visible !important;
}
.et_pb_row,
.et_pb_column,
.et_pb_module {
    overflow: visible !important;
}
.aistech-map-section .et_pb_row,
.aistech-map-section .et_pb_column {
    overflow: visible !important;
    z-index: 100 !important;
}
/* ===================================
ESTILOS DINÁMICOS PARA COLORES
=================================== */
.map-point::before {
    background: var(--point-color, #ff5722) !important;
    box-shadow: 0 0 0 0 var(--point-color, rgba(255, 87, 34, 0.7)) !important;
}
/* ===================================
FIX: Ocultar otros puntos cuando una card está abierta
=================================== */
.map-point:hover {
    z-index: 10000 !important;
}
.map-point:hover .map-point-card {
    z-index: 10001 !important;
}
.map-points-container:has(.map-point:hover) .map-point:not(:hover) {
    z-index: 1 !important;
}
.map-points-container:has(.map-point:hover) .map-point:not(:hover)::before {
    z-index: 1 !important;
}

/* ========================================
/* === Scroll para Logo Aistech ===
/* ========================================
/* 1. ESTADO INICIAL (Arriba del todo) */
#logo {
    opacity: 1 !important;
    visibility: visible !important;
    margin-right: 30px !important;
    transform: translateX(0) !important;
    transition: all 0.4s ease-in-out !important;
}
.et-fixed-header #logo {
    opacity: 0 !important;
    max-width: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: hidden !important;
    transform: translateX(-20px) !important;
}
/* --- Degradado de sección video con sigueinte sección --- */
.seccion-video-fusion {
    position: relative !important;
    overflow: hidden;
}
.seccion-video-fusion::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, rgba(8, 24, 31, 0) 0%, #0e1a28 100%);
    z-index: 1;
    pointer-events: none;
}
@media (max-width: 767px) {
    .seccion-video-fusion::after {
        height: 80px;
    }
}
/* ===================================
Products - cards
=================================== */

.txt-orange .et_pb_heading_6 .et_pb_heading_container h2 span {
    color: #FF4500 !important;
}
.txt-orange .et_pb_heading_10 .et_pb_heading_container h2 span {
    color: #FF4500 !important;
}
.txt-orange .et_pb_heading_container h2 span {
    color: #FF4500 !important;
}
.et_pb_module.et_pb_text.et_pb_text_2.txt-orange.et_pb_text_align_left.et_pb_bg_layout_light span {
    color: #FF4726 !important;
}

a.et_pb_button.et_pb_button_0.btn-cien.et_pb_bg_layout_dark {
    width: 340px;
    height: 75px;
}

@media (max-width: 980px) {
    .products-bloques-top {
        margin-top: 33px;
    }
    a.et_pb_button.et_pb_button_0.btn-cien.et_pb_bg_layout_dark {
        height: auto;
    }
    .cards-row-one > .et_pb_row{
        padding: 0;
    }
    a.et_pb_button.et_pb_button_0.btn-cien.et_pb_bg_layout_dark {
        width: 100%;
        height: auto;
    }
}

/* ============================================
EXPANDABLE CARDS - Products
============================================ */
.scroll-reveal-pricing.et_pb_row {
    display: flex !important;
    align-items: stretch !important;
}
.scroll-reveal-pricing .et_pb_column {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px !important;
    height: fit-content;
}

.scroll-reveal-pricing .et_pb_column.show-description{
    height: auto;
}
.scroll-reveal-pricing .et_pb_column.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-pricing .et_pb_column:nth-child(1) {
    transition-delay: 0s;
}
.scroll-reveal-pricing .et_pb_column:nth-child(2) {
    transition-delay: 0.2s;
}
.scroll-reveal-pricing .et_pb_column:nth-child(3) {
    transition-delay: 0.4s;
}

/* ============================================
BOTÓN TOGGLE +/-
============================================ */
.pricing-toggle-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, color 0.3s ease;
    z-index: 10;
    padding: 0;
}
.pricing-toggle-btn:hover {
    border-color: #fff;
    color: #fff;
}
/* ============================================
DESCRIPCIÓN (TEXTO) - OCULTO POR DEFECTO
============================================ */
.scroll-reveal-pricing .et_pb_column .et_pb_module.et_pb_text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}
.scroll-reveal-pricing .et_pb_column.show-description .et_pb_module.et_pb_text {
    max-height: 500px;
    opacity: 1;
}
.only-mobile {
    display: none !important;
}

/* ============================================
RESPONSIVE
============================================ */

@media (max-width: 999px){
    .scroll-reveal-pricing.et_pb_row {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .scroll-reveal-pricing .et_pb_column .et_pb_module.et_pb_text {
        max-height: 500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    .scroll-reveal-pricing .pricing-toggle-btn {
        display: none !important;
    }
    .only-desktop {
        display: none !important;
    }
    .only-mobile {
        display: block !important;
    }
}

/* ============================================
Opacidad de todos los botones
============================================ */
.et_pb_button:hover,
.et_pb_button:focus,
.et_pb_button:active,
a:hover,
a:focus {
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

/* ============================================
SATELITES - Technology
============================================ */
.aistech-specs-section {
    position: relative;
    min-height: 1100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 80px;
    overflow: visible;
}

.aistech-specs-section > .et_pb_row {
    position: static;
}
.aistech-row-v1-1,
.aistech-row-v1-2,
.aistech-row-v1-3,
.aistech-satellite-1,
.aistech-satellite-2,
.aistech-satellite-3 {
    position: absolute !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
POSICIONES DE CADA CARD
Usando px para más estabilidad con zoom
============================================ */
.aistech-row-v1-1 {
    bottom: 1310px;
    left: 9%;
    z-index: 10;
}
.aistech-row-v1-2 {
    top: -410px;
    left: 38%;
    z-index: 10;
}
.aistech-row-v1-3 {
    top: -52px;
    right: 5%;
    left: auto !important;
    z-index: 10;
}

/* ============================================
POSICIONES DE LOS SATÉLITES
============================================ */
.aistech-satellite-1 {
    top: -180px;
    left: 10%;
    z-index: 5;
}
.aistech-satellite-1 img {
    max-width: 270px;
}
.aistech-satellite-2 {
    top: 65px;
    left: 35%;
    z-index: 5;
}
.aistech-satellite-2 img {
    max-width: 300px;
}
.aistech-satellite-3 {
    top: 390px;
    right: 10%;
    left: auto !important;
    z-index: 5;
}
.aistech-satellite-3 img {
    max-width: 295px;
}

/* ============================================
ESTILO DE LAS CARDS (BLURB)
============================================ */
.aistech-card-border {
    border: 1px solid #FF4726;
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 337px;
    height: 405px;
}

.aistech-specs-section.listado .aistech-card-border{
    max-width: 100%;
    height: auto;
    min-height: 350px;
    margin-top: -15%;
}

.aistech-card-border .et_pb_main_blurb_image {
    margin-bottom: 10px;
}

.aistech-card-border .et_pb_module_header {
    margin-bottom: 12px;
    padding-bottom: 0;
}

.aistech-card-border .et_pb_blurb_description p {
    margin-bottom: 8px;
}

.aistech-card-border .et_pb_blurb_description p:last-child {
    margin-bottom: 0;
}

/* === LÍNEAS VERTICALES (conectan cards con puntos) === */
.aistech-card-border {
    overflow: visible !important;
    position: relative;
}

.aistech-card-border::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    width: 2px;
    background-color: #ffffff;
    z-index: 100;
}

/* ============================================
RESPONSIVE - MÓVIL SATELITES
============================================ */

@media screen and (max-width: 999px) and (min-width: 320px) {
    div.et_pb_section.et_pb_section_2.aistech-specs-section {
        background-image: none !important;
    }
    .title-degradado.technology.et_pb_slider .et_pb_slide .et_pb_slide_description h1.et_pb_slide_title {
        font-size: 60px !important;
    }
    .aistech-specs-section {
        min-height: auto !important;
        height: auto !important;
        padding: 40px 15px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .aistech-row-v1-1,
    .aistech-row-v1-2,
    .aistech-row-v1-3,
    .aistech-satellite-1,
    .aistech-satellite-2,
    .aistech-satellite-3 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        display: flex !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    /* === ORDEN VISUAL === */
    .aistech-satellite-1 { order: 1; }
    .aistech-row-v1-1    { order: 2; }
    .aistech-satellite-2 { order: 3; }
    .aistech-row-v1-2    { order: 4; }
    .aistech-satellite-3 { order: 5; }
    .aistech-row-v1-3    { order: 6; }
    /* === CARDS alineadas alternadamente === */
    .aistech-row-v1-1 {
        justify-content: flex-start !important;
    }
    .aistech-row-v1-2 {
        justify-content: flex-end !important;
        padding-right: 0px !important;
    }
    .aistech-row-v1-3 {
        justify-content: flex-start !important;
        padding-left: 10px !important;
    }
    .aistech-card-border {
        border: 1px solid #FFF;
        max-width: 95% !important;
        width: 95% !important;
        height: auto !important;
        padding: 70px 15px 20px 15px !important;
        position: relative;
    }
    /* === SATÉLITES alternados === */
    .aistech-satellite-1 {
        justify-content: flex-end !important;
        padding-right: 20px !important;
        margin-bottom: 10px !important;
    }
    .aistech-satellite-2 {
        justify-content: flex-start !important;
        padding-left: 20px !important;
        margin-bottom: 10px !important;
    }
    .aistech-satellite-3 {
        justify-content: flex-end !important;
        padding-right: 20px !important;
        margin-bottom: 10px !important;
    }
    .aistech-satellite-1 img,
    .aistech-satellite-2 img,
    .aistech-satellite-3 img {
        max-width: 235px !important;
        transform: none !important;
    }
    /* === LÍNEA VERTICAL + PUNTO después de cada card === */
    .aistech-card-border::after {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        width: 2px !important;
        height: calc(100% + 30px) !important;
        background-color: #ffffff !important;
        top: 0 !important;
        right: -25px !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
    .aistech-card-border::before {
        content: '' !important;
        display: block !important;
        position: absolute !important;
        width: 10px !important;
        height: 10px !important;
        background-color: #ffffff !important;
        border-radius: 50% !important;
        top: calc(100% + 30px) !important;
        right: -33px !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
    }
    /* === LÍNEA VERTICAL + PUNTO después de cada card === */
    .aistech-specs-section.listado .aistech-card-border::after {
        content: none !important;
    }
    .aistech-specs-section.listado .aistech-card-border::before {
        content: none !important;
    }
    .aistech-row-v1-2 .aistech-card-border::after {
        left: 0 !important;
    }
    .aistech-row-v1-3 .aistech-card-border::after,
    .aistech-row-v1-3 .aistech-card-border::before {
        display: none !important;
    }
    .aistech-row-v1-2 .aistech-card-border::after {
        left: -25px!important;
        top: 0 !important;
        bottom: -5% !important;
        height: calc(100% + 30px) !important;
    }
    .aistech-row-v1-2 .aistech-card-border::before {
        left: -25px !important;
        bottom: 30px !important;
    }
    .aistech-satellite-1 {
        margin-bottom: -40px !important;
        margin-left: -90px !important;
        z-index: 15 !important;
    }
    .aistech-satellite-2 {
        margin-bottom: -60px !important;
        margin-left: 40px !important;
        z-index: 15 !important;
    }
    .aistech-satellite-3 {
        margin-bottom: -62px !important;
        margin-left: -80px !important;
        z-index: 15 !important;
    }
}

@media screen and (max-width: 620px) {
    .title-degradado.technology.et_pb_slider .et_pb_slide .et_pb_slide_description h1.et_pb_slide_title {
        font-size: 40px !important;
    }
}

/* ============================================
COMPANY
============================================ */
p.txt-tit-min {
    color: rgba(255, 255, 255, 0.80);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.07px;
}
.logos-partners {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.logos-partners .et_pb_column{
    width: auto;
    padding: 0;
    margin: 0;
}
.logos-partners .et_pb_image{
    width: auto;
    display: flex;
    justify-content: center;
}
.logos-partners:after{
    content:none;
}

.txt-orange-2 span {
    color: #FF4726 !important;
}
.company-grad-1 h2.et_pb_module_heading {
    background: linear-gradient(90deg, #FF6900 0%, #F0B100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.company-grad-2 h2.et_pb_module_heading {
    background: linear-gradient(90deg, #F0B100 0%, #00B8DB 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-grad-3 h2.et_pb_module_heading {
    background: linear-gradient(90deg, #00B8DB 0%, #2B7FFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.quote-box {
    position: relative;
}

.quote-box::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 85%;
    background: linear-gradient(180deg, #FF6900 0%, #F0B100 50%, #00B8DB 100%);
}
.careers-lista {
    list-style: disc;
    padding-left: 20px;
}

.careers-lista li {
    margin-bottom: 15px;
    color: #fff;
}

.careers-lista li strong {
    display: block;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.careers-lista li span {
    margin-top: -20px !important;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.careers-lista li::marker {
    color: #FF4726 !important;
}

@media screen and (max-width: 999px) and (min-width: 320px) {
    .careers-lista li::marker {
        color: #ffffff !important;
    }
    .quote-box::before {
        width: 100% !important;
        height: 4px !important;
        background: linear-gradient(90deg, #FF6900 0%, #F0B100 50%, #00B8DB 100%) !important;
        top: 29px !important;
        left: 0% !important;
        bottom: auto !important;
    }
    p.txt-tit-min {
        color: rgba(255, 255, 255, 0.80);
        text-align: center;
        font-size: 14px;
        font-weight: 300;
    }
    .et_pb_slide_0 p.txt-tit-min {
        line-height: 16px !important;
    }
    .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description .et_pb_slide_title {
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
    .logos-partners.company-logos {
        align-items: center;
        display: flex;
        justify-content: center;
        gap: 3px !important;
        margin-top: 1px !important;
        padding-left: 0px !important;
        margin-left: -5px !important;
    }
    .fila-invertir {
        display: flex !important;
        flex-direction: column !important;
    }
    .fila-invertir .et_pb_column:first-child {
        order: 2 !important;
    }
    .fila-invertir .et_pb_column:last-child {
        order: 1 !important;
    }
    p.sub-company {
        color: #FFF;
        text-align: center;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 25px !important;
        letter-spacing: 2px;
    }
    .careers-lista {
        list-style: none;
        padding-left: 25px;
        position: relative;
    }
    .careers-lista::before {
        content: '';
        position: absolute;
        left: 0.8px;
        top: 15px;
        bottom: 88px;
        width: 3px;
        background: rgba(255, 255, 255, 0.35);
    }
    .careers-lista li {
        position: relative;
        padding-left: 15px;
        padding-bottom: 25px;
    }
    .careers-lista li:last-child {
        padding-bottom: 0;
    }
    .careers-lista li strong {
        display: block;
        margin-bottom: 0;
        line-height: 1.3;
    }
    .careers-lista li span {
        display: block;
        margin-top: -20px !important;
        line-height: 1.3;
    }
    .careers-lista li p {
        margin: 0 !important;
        padding: 0 !important;
    }
    .btn-company-one {
        width: 182px;
        height: 45px;
    }
    .et_pb_module.et_pb_text.et_pb_text_0.line-normal.et_pb_text_align_left.et_pb_bg_layout_light {
        line-height: normal;
    }
    .et_pb_module.et_pb_text.et_pb_text_1.line-normal.et_pb_text_align_left.et_pb_bg_layout_light {
        line-height: normal;
    }
    .et_pb_module.et_pb_text.et_pb_text_9.scroll-reveal-text.line-normal.et_pb_text_align_center.et_pb_bg_layout_light.is-visible {
        line-height: normal;
    }
}
/* ============================================
CONTACT US
============================================ */

/* Video */
.seccion-video-fusion.contact {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0;
}

.seccion-video-fusion.contact  .mejs-video#mep_0,
.seccion-video-fusion.contact .et_pb_slides,
.seccion-video-fusion.contact .et_pb_slide,
.seccion-video-fusion.contact .et_pb_module  {
    height: 100% !important;
}

#contact-sales-section {
    padding-top: 160px !important;
}

.title-degradado-contact h1,
.title-degradado-contact span {
    font-weight: 500;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(
    to right,
    #ffffff 10%,
    rgba(255, 71, 38, 0.8) 35%,
    #FF4726 45%,
    #FF4726 55%,
    rgba(255, 71, 38, 0.8) 65%,
    #ffffff 95%
    );
    animation: paneo-zoom 8s linear infinite;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}
.contact-info-item .contact-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-info-item a,
.contact-info-item span {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px;
    line-height: 23px;
    text-decoration: none;
}
.contact-info-item a:hover {
    color: #ff6b4a !important;
}
/* ============================================
CAJA DEL FORMULARIO
============================================ */

.contact-form-box {
    border-radius: 15px;
    border: 0.985px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(135deg, rgba(22, 36, 86, 0.30) 0%, #000 100%);
    width: 100%;
    max-width: 715px;
    min-height: 606px;
    padding: 45px 40px;
    box-sizing: border-box;
}

.contact-form-box .wpcf7-not-valid-tip {
    font-size: 14px;
    opacity: 0.7;
}

/* ============================================
TEXTOS E INPUTS DEL FORMULARIO
============================================
*/

.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box textarea {
    width: 100% !important;
    background: transparent !important;
    color: #ffffff;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 !important;
    padding: 15px 0 !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
    letter-spacing: -0.449px !important;
}
.contact-form-box select {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.80) !important;
    width: 100% !important;
    background: transparent;
    padding: 15px 0;
    border-top: unset;
    border: unset;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.60) !important;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-bottom-color: #FF4726 !important;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
    color: rgba(255, 255, 255, 0.50) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.50) !important;
}

.contact-form-box textarea {
    min-height: 60px !important;
    resize: vertical !important;
}

/* ============================================
CHECKBOX PRIVACIDAD
============================================ */

.contact-form-box .wpcf7-acceptance span,
.contact-form-box .wpcf7-list-item-label {
    color: rgba(255, 255, 255, 0.80) !important;
    font-size: 15px !important;
    line-height: 28px !important;
    letter-spacing: -0.44px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 20px;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* ============================================
BOTÓN SEND
============================================ */

.contact-form-box.newsletter-form input[type="submit"],
.contact-form-box.newsletter-form .wpcf7-submit {
    display: flex !important;
    width: 315px !important;
    height: 44px !important;
    padding: 11px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 22px !important;
    background: #FF4726 !important;
    border: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 10px auto 0 auto;
    line-height: 18px;
}
.contact-form-box.contact-us-box input[type="submit"],
.contact-form-box.contact-us-box .wpcf7-submit {
    display: flex !important;
    width: 271px !important;
    height: 44px !important;
    padding: 11px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 22px !important;
    background: #FF4726 !important;
    border: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 auto;
    line-height: 18px;
}

.contact-form-box.contac-sales-box input[type="submit"],
.contact-form-box.contac-sales-box .wpcf7-submit {
    display: flex !important;
    width: 271px !important;
    height: 44px !important;
    padding: 11px 16px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 22px !important;
    background: #FF4726 !important;
    border: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 auto;
    line-height: 18px;
}

.wpcf7-spinner {
    display: none !important;
}

.contact-form-box input[type="submit"]:hover,
.contact-form-box .wpcf7-submit:hover {
    background: #e03e20 !important;
}
/*** Responsive Contact Us***/
@media screen and (max-width: 999px) and (min-width: 320px) {
    #contact-us-section,
    #contact-us-section.et_pb_section,
    #contact-us-section .et_pb_row,
    #contact-us-section .et_pb_column,
    #contact-us-section .et_pb_module,
    #contact-us-section .et_pb_code_inner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .columnas_contacus-section {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .columnas_contacus-section .et_pb_column:first-child {
        margin-top: 60px;;
    }
    #contact-us-section .et_pb_column {
        float: none !important;
    }
    #contact-us-section .contact-form-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
        border-radius: 20 !important;
    }
    .contact-form-box.newsletter-form input[type="submit"],
    .contact-form-box.newsletter-form .wpcf7-submit {
        width: 100% !important;
        height: 45px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: center;
        font-style: normal;
        margin-top: 45px;
    }
    .contact-form-box.contact-us-box input[type="submit"],
    .contact-form-box.contact-us-box .wpcf7-submit {
        width: 274px !important;
        height: 48px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 11px 16px !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        text-align: center;
        font-style: normal;
        line-height: 16px;
        margin-top: 45px;
    }
    .contact-form-box.contac-sales-box input[type="submit"],
    .contact-form-box.contac-sales-box .wpcf7-submit {
        display: flex !important;
        width: 274px !important;
        height: 48px !important;
        padding: 11px 16px !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        border-radius: 22px !important;
        background: #FF4726 !important;
        border: none !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        margin-top: 45px;
    }
    .contact-info-item {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.40);
    }
    .contact-info-item:last-child {
        border-bottom: none;
    }
    .contact-info-item .contact-icon {
        flex-shrink: 0 !important;
        margin-right: 10px !important;
    }
    .contact-info-item a,
    .contact-info-item span {
        text-align: right !important;
        flex: 1 !important;
    }
    #contact-us-section .et_pb_code_inner > div:first-child,
    .contact-info-item {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.contact-form-box select option:checked,
.contact-form-box select option:focus,
.contact-form-box select option:focus:checked,
.contact-form-box select option:active,
.contact-form-box select:focus option:checked   {
    appearance: none;
    box-shadow: 0 0 10px 100px #FF4726 inset;
    background: #FF4726 !important;
    background-color: #FF4726 !important;
}

.contact-form-box select option:hover {
    background-color:  #30cfbc !important;
}

.contact-form-box select:focus,
.contact-form-box .wpcf7-select:focus {
    border-bottom-color: #FF4726 !important;
}

.contact-form-box select option {
    background: #0e1a28 !important;
    color: #ffffff !important;
    padding: 10px !important;
}

/*** Responsive contact sales ***/
@media screen and (max-width: 999px) and (min-width: 320px) {
    #contact-sales-section,
    #contact-sales-section.et_pb_section,
    #contact-sales-section .et_pb_row,
    #contact-sales-section .et_pb_column,
    #contact-sales-section .et_pb_module,
    #contact-sales-section .et_pb_code_inner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    #contact-sales-section .et_pb_column {
        float: none !important;
    }
    #contact-sales-section .contact-form-box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
        border-radius: 20 !important;
    }
    .contact-form-box.newsletter-form {
        border-radius: 20px;
        padding: 10px 20px;
        padding: 28px 20px !important;
    }
    .contact-form-box.newsletter-form .wpcf7-form {
        display: flex !important;
        flex-direction: column !important;
    }
    .contact-form-box.newsletter-form .hidden-fields-container {
        order: -1 !important;
    }
    .contact-form-box.newsletter-form .cf7-field {
        order: 1 !important;
    }
    .contact-form-box.newsletter-form .wpcf7-form > p:has(.wpcf7-submit) {
        order: 2 !important;
    }
    .contact-form-box.newsletter-form .cf7-checkbox {
        order: 3 !important;
        margin-top: 30px !important;
    }
    .contact-form-box.newsletter-form .wpcf7-response-output {
        order: 4 !important;
    }
    .contact-form-box.newsletter-form .cf7-field {
        position: relative !important;
    }
    .contact-form-box.newsletter-form input[type="email"] {
        color: #FFF !important;
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: normal !important;
        letter-spacing: normal !important;
        height: auto !important;
    }
    .contact-form-box.newsletter-form input[type="email"]::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: normal !important;
        letter-spacing: normal !important;
    }
    .contact-form-box.newsletter-form .wpcf7-form > p:has(.wpcf7-submit) {
        text-align: center !important;
    }
    .page-id-776 #main-content::after,
    .page-id-776 #main-footer::before {
        display: none;
    }
    .page-id-855 #main-footer::before,
    .page-id-855 #main-content::after
    {
        display: none;
    }
}
.contact-form-box.newsletter-form {
    border-radius: 15px;
    border: 0.985px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(135deg, rgba(22, 36, 86, 0.30) 0%, #000 100%);
    width: 100%;
    max-width: 890px !important;
    min-height: 254px !important;
    padding: 45px 40px;
    box-sizing: border-box;
    margin: 0 auto;
}

/* =========================================
VARIABLES CSS
========================================= */
:root {
    --aistech-orange: #FF4726;
    --aistech-orange-light: #F26522;
    --aistech-dark-blue: #0D1B2A;
    --aistech-navy: #1B263B;
    --aistech-purple: #3D1E5F;
    --aistech-purple-light: #5C2D6D;
    --aistech-text-light: #FFFFFF;
    --aistech-text-muted: #B8B8B8;
    --aistech-border-orange: #E85D24;
}

/* =========================================
FONDO GENERAL DEL SINGLE POST Y NEWS (IMAGEN)
=========================================*/

.single-post #page-container,
.single-news #page-container,
.aistech-single-template #page-container {
    background: transparent !important;
}

.single-post #main-content,
.single-news #main-content,
.aistech-single-template #main-content {
    background: transparent !important;
}

.single-post .container,
.single-news .container,
.aistech-single-template .container {
    background: transparent !important;
}

.single-post #content-area,
.single-news #content-area,
.aistech-single-template #content-area {
    background: transparent !important;
}

.single-post article.post,
.single-news article.post,
.single-news article.news,
.aistech-single-template article {
    background: transparent !important;
}

.single-post .et_pb_post,
.single-news .et_pb_post,
.aistech-single-template .et_pb_post {
    background: transparent !important;
}

/* =========================================
OCULTAR FECHA DE ARRIBA (META DEL POST)
========================================= */
.single-post .et_pb_post_meta,
.single-post .post-meta,
.single-post .entry-meta,
.single-post .et_post_meta_wrapper .post-meta,
.single-post article.post .post-meta,
.single-post .et_pb_title_meta_container,
.single-post p.post-meta,
.single-news .et_pb_post_meta,
.single-news .post-meta,
.single-news .entry-meta,
.single-news .et_post_meta_wrapper .post-meta,
.single-news article .post-meta,
.single-news .et_pb_title_meta_container,
.single-news p.post-meta,
.aistech-single-template .et_pb_post_meta,
.aistech-single-template .post-meta,
.aistech-single-template .entry-meta,
.aistech-single-template p.post-meta {
    display: none !important;
}

/* =========================================
HEADER DEL POST - TÍTULO SOBRE VIDEO
========================================= */

.single-post .et_pb_title_container > *,
.single-post .entry-header > *,
.single-post article.post header > *,
.single-news .et_pb_title_container > *,
.single-news .entry-header > *,
.single-news article header > *,
.aistech-single-template .et_pb_title_container > *,
.aistech-single-template .entry-header > * {
    position: relative;
    z-index: 10;
}

/* =========================================
TÍTULO PRINCIPAL - GRADIENTE
========================================= */

.single-post .et_pb_slider .et_pb_slide_0_tb_body.et_pb_slide .et_pb_slide_description .et_pb_slide_title{
    font-size: 45px;
    letter-spacing: 0.35px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 50px !important;
    padding: 10%;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.single-post .et_pb_slider .et_pb_slide_0_tb_body.et_pb_slide .et_pb_slide_description {
    padding: 0;
}

/* =========================================
IMAGEN DESTACADA - ESTILOS ESPECÍFICOS
========================================= */
.single-post .featured-image-post,
.single-post .et_pb_title_featured_container,
.single-post .post-thumbnail,
.single-post .entry-featured-image-url,
.single-news .et_pb_title_featured_container,
.single-news .post-thumbnail,
.single-news .entry-featured-image-url,
.aistech-single-template .et_pb_title_featured_container,
.aistech-single-template .post-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.single-post .featured-image-post img,
.single-post .et_pb_title_featured_container img,
.single-post .post-thumbnail img,
.single-post .entry-featured-image-url img,
.single-post article.post .post-content img.wp-post-image,
.single-post .et_post_meta_wrapper img,
.single-news .et_pb_title_featured_container img,
.single-news .post-thumbnail img,
.single-news .entry-featured-image-url img,
.single-news article .post-content img.wp-post-image,
.single-news .et_post_meta_wrapper img,
.aistech-single-template .et_pb_title_featured_container img,
.aistech-single-template .post-thumbnail img {
    max-width: 100% !important;
    aspect-ratio: 3;
    object-fit: cover !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) !important;
    display: block !important;
    margin: 0 auto !important;
}

/* =========================================
CONTENIDO DEL POST - TEXTO
========================================= */
.single-post .entry-content,
.single-post .et_pb_post_content,
.single-post article.post .entry-content,
.single-news .entry-content,
.single-news .et_pb_post_content,
.single-news article .entry-content,
.aistech-single-template .entry-content,
.aistech-single-template .et_pb_post_content {
    max-width: 900px;
    margin: 0 auto;
}

.single-post .entry-content p,
.single-post .et_pb_post_content p,
.single-post article.post .entry-content p,
.single-news .entry-content p,
.single-news .et_pb_post_content p,
.single-news article .entry-content p,
.aistech-single-template .entry-content p,
.aistech-single-template .et_pb_post_content p {
    color: rgba(255, 255, 255, 0.80) !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: 0.07px !important;
    text-align: justify;
}

.single-post .entry-content h2,
.single-post .et_pb_post_content h2,
.single-news .entry-content h2,
.single-news .et_pb_post_content h2,
.aistech-single-template .entry-content h2,
.aistech-single-template .et_pb_post_content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--aistech-orange);
}

.single-post .entry-content h3,
.single-post .et_pb_post_content h3,
.single-news .entry-content h3,
.single-news .et_pb_post_content h3,
.aistech-single-template .entry-content h3,
.aistech-single-template .et_pb_post_content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--aistech-orange-light);
    margin: 1.5em 0 0.75em;
}

.single-post .entry-content a,
.single-post .et_pb_post_content a,
.single-news .entry-content a,
.single-news .et_pb_post_content a,
.aistech-single-template .entry-content a,
.aistech-single-template .et_pb_post_content a {
    color: var(--aistech-orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.single-post .entry-content a:hover,
.single-post .et_pb_post_content a:hover,
.single-news .entry-content a:hover,
.single-news .et_pb_post_content a:hover,
.aistech-single-template .entry-content a:hover,
.aistech-single-template .et_pb_post_content a:hover {
    color: var(--aistech-orange-light);
}

.single-post .entry-content img:not(.wp-post-image),
.single-post .et_pb_post_content img:not(.wp-post-image),
.single-news .entry-content img:not(.wp-post-image),
.single-news .et_pb_post_content img:not(.wp-post-image),
.aistech-single-template .entry-content img:not(.wp-post-image),
.aistech-single-template .et_pb_post_content img:not(.wp-post-image) {
    border-radius: 12px;
    margin: 2em auto;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    display: block;
}

/* =========================================
FECHA CON AUTOR (ANTES DE POSTS RELACIONADOS)
========================================= */
.single-post .aistech-post-date,
.single-news .aistech-post-date,
.aistech-single-template .aistech-post-date {
    font-size: 0.875rem;
    color: var(--aistech-text-muted);
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 900px;
    margin: 40px auto 0;
}

/* =========================================
SECCIÓN DE POSTS RELACIONADOS
========================================= */
.single-post .aistech-related-section,
.single-news .aistech-related-section,
.aistech-single-template .aistech-related-section {
    max-width: 1200px;
    margin: 40px auto 0;
}

.single-post .aistech-related-module,
.single-news .aistech-related-module,
.aistech-single-template .aistech-related-module {
    width: 100% !important;
}

.single-post .aistech-related-module .et_pb_posts,
.single-news .aistech-related-module .et_pb_posts,
.aistech-single-template .aistech-related-module .et_pb_posts {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 0 0 40px 0 !important;
    margin: 0 !important;
}

/* === RELATED POSTS MÓVIL - FINAL === */
@media (max-width: 999px)  {
    body.single-post .aistech-related-module .et_pb_posts,
    body.single-news .aistech-related-module .et_pb_posts,
    body .aistech-related-module .et_pb_posts {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    body.single-post .aistech-related-module article.et_pb_post,
    body.single-news .aistech-related-module article.et_pb_post,
    body .aistech-related-module article.et_pb_post {
        aspect-ratio: auto !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        margin: 0 0 15px 0 !important;
    }
    body.single-post .aistech-related-module .et_pb_post_content,
    body.single-news .aistech-related-module .et_pb_post_content,
    body .aistech-related-module .et_pb_post_content {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        padding: 12px 15px !important;
        margin: 0 !important;
        min-height: auto !important;
        height: auto !important;
        border-radius: 0 0 20px 20px !important;
        background: rgba(0, 0, 0, 0.75) !important;
        backdrop-filter: blur(5px) !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        z-index: 20 !important;
    }
    body.single-post .aistech-related-module h2.entry-title,
    body.single-news .aistech-related-module h2.entry-title,
    body .aistech-related-module h2.entry-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
        text-shadow: none !important;
        min-height: auto !important;
        height: auto !important;
        display: block !important;
    }
    body.single-post .aistech-related-module h2.entry-title a,
    body.single-news .aistech-related-module h2.entry-title a,
    body .aistech-related-module h2.entry-title a {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    body .aistech-related-module .news-see-more-btn {
        display: none !important;
    }
    body.single-post .aistech-related-module article.et_pb_post,
    body.single-news .aistech-related-module article.et_pb_post,
    body .aistech-related-module article.et_pb_post {
        background: transparent !important;
    }
    body.single-post .aistech-related-module .et_pb_post_content,
    body.single-news .aistech-related-module .et_pb_post_content,
    body .aistech-related-module .et_pb_post_content {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: transparent !important;
    }
    .single-post .et_pb_slider .et_pb_slide_0_tb_body.et_pb_slide .et_pb_slide_description .et_pb_slide_title{
        font-size: 24px;
        padding-bottom: 100px;
    }
    .content-post-aistech .image-row{
        padding: 0;
    }
    .content-post-aistech .featured-image-post{
        margin-top: -100px !important;
    }
}

/* =========================================
CADA CARD DE POST RELACIONADO - CUADRADAS
========================================= */
.single-post .aistech-related-module article.et_pb_post,
.single-news .aistech-related-module article.et_pb_post,
.aistech-single-template .aistech-related-module article.et_pb_post {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 280px !important;
    max-height: 320px !important;
    border-radius: 20px !important;
    overflow: visible !important;
    cursor: pointer !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
    margin: 0 0 60px 0 !important;
    background: #1a1a2e !important;
    isolation: isolate !important;
}

.single-post .aistech-related-module article.et_pb_post:hover,
.single-news .aistech-related-module article.et_pb_post:hover,
.aistech-single-template .aistech-related-module article.et_pb_post:hover {
    transform: translateY(-15px) !important;
    box-shadow: none !important;
    z-index: 50 !important;
}

.single-post .aistech-related-module .et_pb_image_container,
.single-news .aistech-related-module .et_pb_image_container,
.aistech-single-template .aistech-related-module .et_pb_image_container {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.single-post .aistech-related-module .et_pb_image_container a,
.single-news .aistech-related-module .et_pb_image_container a,
.aistech-single-template .aistech-related-module .et_pb_image_container a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.single-post .aistech-related-module .et_pb_image_container img,
.single-news .aistech-related-module .et_pb_image_container img,
.aistech-single-template .aistech-related-module .et_pb_image_container img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

.single-post .aistech-related-module article.et_pb_post:hover .et_pb_image_container img,
.single-news .aistech-related-module article.et_pb_post:hover .et_pb_image_container img,
.aistech-single-template .aistech-related-module article.et_pb_post:hover .et_pb_image_container img {
    transform: scale(1.08) !important;
}

.single-post .aistech-related-module article.et_pb_post::before,
.single-news .aistech-related-module article.et_pb_post::before,
.aistech-single-template .aistech-related-module article.et_pb_post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.2) 40%,
    rgba(0,0,0,0.7) 80%,
    rgba(0,0,0,0.95) 100%);
    z-index: 2 !important;
    transition: all 0.4s ease;
    pointer-events: none;
    border-radius: 20px !important;
}

.single-post .aistech-related-module article.et_pb_post:hover::before,
.single-news .aistech-related-module article.et_pb_post:hover::before,
.aistech-single-template .aistech-related-module article.et_pb_post:hover::before {
    background: linear-gradient(180deg,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,0.75) 80%,
    rgba(0,0,0,0.95) 100%);
}

/* =========================================
TÍTULO DENTRO DE LA CARD (SOBRE LA IMAGEN)
========================================= */
.single-post .aistech-related-module .et_pb_post_content,
.single-news .aistech-related-module .et_pb_post_content,
.aistech-single-template .aistech-related-module .et_pb_post_content {
    position: absolute !important;
    bottom: 15px !important;
    left: 15px !important;
    right: 15px !important;
    top: auto !important;
    padding: 0 !important;
    z-index: 10 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    display: block !important;
    box-shadow: none !important;
}

.single-post .aistech-related-module h2.entry-title,
.single-news .aistech-related-module h2.entry-title,
.aistech-single-template .aistech-related-module h2.entry-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    top: 0px;
    position: relative !important;
    z-index: 11 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    font-style: normal !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.single-post .aistech-related-module h2.entry-title a,
.single-news .aistech-related-module h2.entry-title a,
.aistech-single-template .aistech-related-module h2.entry-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
    -webkit-text-fill-color: #ffffff !important;
}

.single-post .aistech-related-module .post-content,
.single-post .aistech-related-module .post-content p,
.single-post .aistech-related-module .excerpt,
.single-post .aistech-related-module .post-meta,
.single-post .aistech-related-module .post-meta-wrapper,
.single-post .aistech-related-module .more-link,
.single-news .aistech-related-module .post-content,
.single-news .aistech-related-module .post-content p,
.single-news .aistech-related-module .excerpt,
.single-news .aistech-related-module .post-meta,
.single-news .aistech-related-module .post-meta-wrapper,
.single-news .aistech-related-module .more-link,
.aistech-single-template .aistech-related-module .post-content,
.aistech-single-template .aistech-related-module .post-content p,
.aistech-single-template .aistech-related-module .excerpt,
.aistech-single-template .aistech-related-module .post-meta,
.aistech-single-template .aistech-related-module .post-meta-wrapper,
.aistech-single-template .aistech-related-module .more-link {
    display: none !important;
}

/* =========================================
BOTÓN "SEE MORE" EN CADA CARD
========================================= */
.single-post .aistech-related-module .news-see-more-btn,
.single-news .aistech-related-module .news-see-more-btn,
.aistech-single-template .aistech-related-module .news-see-more-btn {
    position: absolute !important;
    bottom: -60px !important;
    left: 15px !important;
    background: transparent !important;
    border: 1px solid #FFF !important;
    color: #ffffff !important;
    padding: 12px 32px !important;
    border-radius: 50px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 100 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    line-height: 17.76px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.single-post .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
.single-news .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
.aistech-single-template .aistech-related-module article.et_pb_post:hover .news-see-more-btn {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.single-post .aistech-related-module .news-see-more-btn:hover,
.single-news .aistech-related-module .news-see-more-btn:hover,
.aistech-single-template .aistech-related-module .news-see-more-btn:hover {
    border-color: rgba(255, 255, 255, 1) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.single-post .aistech-see-more-wrapper,
.single-news .aistech-see-more-wrapper,
.aistech-single-template .aistech-see-more-wrapper {
    display: none !important;
}
/*** Responsive Post ***/
@media screen and (max-width: 999px) and (min-width: 320px) {
    .single-post .et_post_meta_wrapper img {
        height: 200px !important;
    }
    .aistech-single-template h1.entry-title,
    .aistech-single-template .et_pb_title_container h1 {
        font-size: 30px !important;
        letter-spacing: -2.4px;
        line-height: 30px !important;
        text-align: center;
        font-weight: 400 !important;
    }
    .single-post .entry-content p,
    .single-post .et_pb_post_content p,
    .single-post article.post .entry-content p,
    .single-news .entry-content p,
    .single-news .et_pb_post_content p,
    .single-news article .entry-content p,
    .aistech-single-template .entry-content p,
    .aistech-single-template .et_pb_post_content p {
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: normal !important;
        margin-bottom: 1em !important;
    }
    p.aistech-newsletter-description.txt-desc-news {
        text-align: center !important;
        padding-bottom: 55px;
    }
    .single-post .aistech-post-date, .single-news .aistech-post-date, .aistech-single-template .aistech-post-date {
        font-size: 16px;
        padding: 18px 0px;
    }
    .single-post h1.entry-title,
    .single-post .et_pb_title_container h1,
    .single-post .entry-header h1,
    .single-post article.post h1,
    .single-news h1.entry-title,
    .single-news .et_pb_title_container h1,
    .single-news .entry-header h1,
    .single-news article h1,
    .aistech-single-template h1.entry-title,
    .aistech-single-template .et_pb_title_container h1 {
        font-size: 20px !important;
        line-height: 24px !important;
        text-align: center;
        font-weight: 400;
    }
}

/* =========================================
SECCIÓN NEWSLETTER - COMO EN RESOURCES
========================================= */

.aistech-newsletter-section {
    background: transparent !important;
    margin-top: 40px !important;
    width: 100% !important;
    position: relative !important;
}

.aistech-newsletter-container {
    max-width: 900px;
    margin: 0 auto;
}

.aistech-newsletter-title {
    font-style: normal !important;
    font-size: 50px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    letter-spacing: 3px !important;
    line-height: 50px !important;
    margin-bottom: 0 !important;
    padding-bottom: 30px !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-align: center !important;
    position: relative !important;
}

.aistech-newsletter-title span {
    color: #FF4500 !important;
    -webkit-text-fill-color: #FF4500 !important;
}

.aistech-newsletter-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    bottom: -7px;
    background: rgba(255, 255, 255, 0.3);
}

.aistech-newsletter-description {
    font-weight: 400 !important;
    font-size: 18px !important;
    color: #FFFFFF !important;
    letter-spacing: 3px !important;
    line-height: 1.7em !important;
    text-align: left !important;
    max-width: 100% !important;
    margin: 30px 0 40px !important;
}

.aistech-newsletter-form-wrapper {
    border-radius: 15px;
    border: 0.985px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(135deg, rgba(22, 36, 86, 0.30) 0%, #000 100%);
    width: 100%;
    max-width: 890px !important;
    min-height: 275px !important;
    padding: 45px 40px;
    box-sizing: border-box;
}

/* =========================================
ESTILOS PARA CONTACT FORM 7
========================================= */
.aistech-newsletter-form-wrapper .wpcf7 {
    width: 100%;
}

.aistech-newsletter-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
}

.aistech-newsletter-form-wrapper .wpcf7-form input[type="email"],
.aistech-newsletter-form-wrapper .wpcf7-form input[type="text"] {
    width: 100% !important;
    padding: 16px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #FFFFFF !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.aistech-newsletter-form-wrapper .wpcf7-form input[type="email"]:focus,
.aistech-newsletter-form-wrapper .wpcf7-form input[type="text"]:focus {
    outline: none !important;
    border-bottom-color: var(--aistech-orange) !important;
}

.aistech-newsletter-form-wrapper .wpcf7-form input[type="email"]::placeholder,
.aistech-newsletter-form-wrapper .wpcf7-form input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-acceptance,
.aistech-newsletter-form-wrapper .wpcf7-form p:has(.wpcf7-acceptance) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
    margin-top: 2px !important;
}

.aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-acceptance input[type="checkbox"],
.aistech-newsletter-form-wrapper .wpcf7-form input[type="checkbox"] {
    width: 12px !important;
    height: 12px !important;
    margin-top: 2px !important;
    accent-color: var(--aistech-orange) !important;
    flex-shrink: 0 !important;
}

.aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label,
.aistech-newsletter-form-wrapper .wpcf7-form label {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 28px !important;
    letter-spacing: -0.44px;
    font-weight: 400;
    font-style: normal;
}

.aistech-newsletter-form-wrapper .wpcf7-form input[type="submit"],
.aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-submit {
    background: var(--aistech-orange) !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 11px 16px !important;
    border-radius: 22px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 315px;
    height: 44px;
}

.aistech-newsletter-form-wrapper .wpcf7-form input[type="submit"]:hover,
.aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-submit:hover {
    background: #e03e20 !important;
}

.aistech-newsletter-form-wrapper .wpcf7-response-output {
    border-radius: 8px !important;
    padding: 15px !important;
    margin-top: 15px !important;
    font-size: 0.875rem !important;
}

.aistech-newsletter-form-wrapper .wpcf7-mail-sent-ok {
    border-color: #46b450 !important;
    color: #46b450 !important;
}

.aistech-newsletter-form-wrapper .wpcf7-validation-errors,
.aistech-newsletter-form-wrapper .wpcf7-spam-blocked {
    border-color: #dc3232 !important;
    color: #dc3232 !important;
}

.aistech-newsletter-form-wrapper .wpcf7-spinner {
    margin: 10px auto 0;
    display: block;
}

.aistech-newsletter-form-wrapper .wpcf7-not-valid-tip {
    color: #fff !important;
    font-size: 0.8rem !important;
    margin-top: 5px !important;
}

.wpcf7-not-valid-tip {
    color: #ffffff;
    font-size: 1em;
    font-weight: normal;
    display: block;
}

/* =========================================
RESPONSIVE
=========================================*/
@media (max-width: 980px) {
    .fila_titulo {
        padding-bottom: 0 !important;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form input[type="submit"],
    .aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-submit {
        text-align: center;
        font-size: 14px !important;
        font-style: normal;
        font-weight: 600 !important;
        line-height: 14px;
        width: 100% !important;
        height: 45px;
        justify-content: center;
        align-items: center;
    }
    .single-post h1.entry-title,
    .single-post .et_pb_title_container h1,
    .single-news h1.entry-title,
    .single-news .et_pb_title_container h1,
    .aistech-single-template h1.entry-title,
    .aistech-single-template .et_pb_title_container h1 {
        font-size: 2.5rem !important;
    }
    .single-post .aistech-related-module .et_pb_posts,
    .single-news .aistech-related-module .et_pb_posts,
    .aistech-single-template .aistech-related-module .et_pb_posts {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .single-post .aistech-related-module article.et_pb_post,
    .single-news .aistech-related-module article.et_pb_post,
    .aistech-single-template .aistech-related-module article.et_pb_post {
        min-height: 240px !important;
        max-height: 280px !important;
    }
    .single-post .et_pb_title_featured_container img,
    .single-post .post-thumbnail img,
    .single-post .entry-featured-image-url img,
    .single-news .et_pb_title_featured_container img,
    .single-news .post-thumbnail img,
    .single-news .entry-featured-image-url img,
    .aistech-single-template .et_pb_title_featured_container img,
    .aistech-single-template .post-thumbnail img {
        width: 100% !important;
        height: auto !important;
        max-height: 321px !important;
    }
    .single-post .entry-content p,
    .single-post .et_pb_post_content p,
    .single-news .entry-content p,
    .single-news .et_pb_post_content p,
    .aistech-single-template .entry-content p,
    .aistech-single-template .et_pb_post_content p {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    .aistech-newsletter-title {
        font-size: 20px !important;
        line-height: 23px !important;
        letter-spacing: 1px !important;
        padding-bottom: 0px !important;
    }
    .aistech-newsletter-description {
        font-size: 16px !important;
        letter-spacing: 2px !important;
        line-height: normal !important;
    }
    .aistech-newsletter-form-wrapper {
        padding: 30px 35px;
        max-width: 100%;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label,
    .aistech-newsletter-form-wrapper .wpcf7-form label {
        font-size: 16px !important;
        line-height: 24px !important;
    }
    .wpcf7-list-item{
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .single-post h1.entry-title,
    .single-post .et_pb_title_container h1,
    .single-news h1.entry-title,
    .single-news .et_pb_title_container h1,
    .aistech-single-template h1.entry-title,
    .aistech-single-template .et_pb_title_container h1 {
        font-size: 2rem !important;
    }
    .single-post .entry-content p,
    .single-post .et_pb_post_content p,
    .single-news .entry-content p,
    .single-news .et_pb_post_content p,
    .aistech-single-template .entry-content p,
    .aistech-single-template .et_pb_post_content p {
        font-size: 18px !important;
        line-height: 26px !important;
        text-align: left;
    }
    .single-post .aistech-related-module .et_pb_posts,
    .single-news .aistech-related-module .et_pb_posts,
    .aistech-single-template .aistech-related-module .et_pb_posts {
        grid-template-columns: 1fr !important;
    }
    .single-post .aistech-related-module article.et_pb_post,
    .single-news .aistech-related-module article.et_pb_post,
    .aistech-single-template .aistech-related-module article.et_pb_post {
        min-height: 280px !important;
        max-height: 320px !important;
    }
    .single-post .et_pb_title_container,
    .single-post .entry-header,
    .single-news .et_pb_title_container,
    .single-news .entry-header,
    .aistech-single-template .et_pb_title_container,
    .aistech-single-template .entry-header {
        padding: 60px 20px 40px;
    }
    .aistech-newsletter-section {
        padding: 0px 0 0px !important;
        margin-top: 5px !important;
    }
    .aistech-newsletter-title {
        font-size: 20px !important;
        line-height: 23px !important;
        letter-spacing: 1px !important;
        padding-bottom: 0px !important;
    }
    .aistech-newsletter-description {
        font-size: 15px !important;
        letter-spacing: 1.5px !important;
    }
    .aistech-newsletter-form-wrapper {
        padding: 25px 20px;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form {
        display: flex !important;
        flex-direction: column !important;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form .cf7-field {
        order: 1 !important;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form > p:has(.wpcf7-submit) {
        order: 2 !important;
        margin-top: 10px !important;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form .cf7-checkbox {
        order: 3 !important;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form .wpcf7-acceptance,
    .aistech-newsletter-form-wrapper .wpcf7-form p:has(.wpcf7-acceptance) {
        margin-top: 0px !important;
    }
    /********************************** Post newsletter movil *********************************************/
    .aistech-newsletter-form-wrapper input[type="submit"] {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .aistech-newsletter-form-wrapper .wpcf7-form > p:has(.wpcf7-submit) {
        text-align: center !important;
    }
    .aistech-newsletter-form-wrapper .cf7-field {
        position: relative !important;
    }
    .aistech-newsletter-form-wrapper .cf7-field::before {
        content: 'Email' !important;
        display: block !important;
        color: #FFF !important;
        font-size: 40px !important;
        font-weight: 500 !important;
        line-height: 130% !important;
        letter-spacing: 0.8px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    .aistech-newsletter-form-wrapper input[type="email"] {
        color: #FFF !important;
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: normal !important;
        letter-spacing: normal !important;
        height: auto !important;
        padding: 15px !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
    .aistech-newsletter-form-wrapper input[type="email"]::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: normal !important;
        letter-spacing: normal !important;
    }
    .aistech-newsletter-form-wrapper .cf7-checkbox {
        margin-top: 15px !important;
        text-align: justify !important;
    }
}

/* =========================================
ESTILOS ESPECÍFICOS PARA CPT NEWS
========================================= */
.single-news article.type-news,
body.single-news article {
    background: transparent !important;
}

.single-news .et_builder_inner_content,
.single-news .et_pb_section {
    background: transparent !important;
}

/* ============================================
EXPANDABLE IMAGE ACCORDION - DESKTOP
============================================ */
.image-accordion.et_pb_row {
    display: flex !important;
    gap: 8px;
    padding: 0 !important;
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

.image-accordion .et_pb_column {
    position: relative;
    flex: 0.5 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    min-height: 450px;
    overflow: hidden !important;
    border-radius: 8px;
    cursor: pointer;
    transition: flex 0.5s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
}

.image-accordion .et_pb_column.active {
    flex: 4 1 0 !important;
}

.image-accordion .et_pb_column .et_pb_blurb {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.1s, visibility 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 10;
    max-width: 350px;
}

.image-accordion .et_pb_column.active .et_pb_blurb {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.image-accordion .et_pb_column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
    transition: background 0.4s ease;
    pointer-events: none;
    border-radius: 8px;
}

.image-accordion .et_pb_column.active::before {
    background: rgba(0, 0, 0, 0);
}

/* ============================================
MOBILE ACCORDION - TABS CON ÍCONOS
============================================ */

.ia-mobile-wrapper {
    display: none;
}

@media screen and (max-width: 999px) and (min-width: 320px) {
    .image-accordion.et_pb_row {
        display: none !important;
    }
    .ia-mobile-wrapper {
        display: block;
        width: 100%;
        padding: 45px 40px;
        box-sizing: border-box;
    }
    /* --- Navegación de íconos circulares --- */
    .ia-mobile-nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .ia-mobile-btn {
        width: 52px;
        height: 52px;
        opacity: 0.84;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px;
        transition: all 0.3s ease;
        outline: none;
        border-radius: 60px;
        background: rgba(30, 35, 45, 0.45);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
        backdrop-filter: blur(16px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top-color: rgba(255, 255, 255, 0.2);
        border-bottom: none;
        box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 8px 20px -5px rgba(0, 0, 0, 0.2);
    }
    .ia-mobile-btn img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: brightness(0.7);
        transition: filter 0.3s ease;
    }
    .ia-mobile-btn.active {
    }
    .ia-mobile-btn.active img {
        filter: brightness(1);
    }
    .ia-mobile-btn:hover {
        opacity: 1;
    }
    /* --- Cards --- */
    .ia-mobile-cards {
        position: relative;
        width: 100%;
    }
    .ia-mobile-card {
        display: none;
        animation: iaFadeIn 0.4s ease;
    }
    .ia-mobile-card.active {
        display: block;
    }
    @keyframes iaFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .ia-mobile-card-bg {
        width: 100%;
        min-height: 350px;
        background-size: cover;
        background-position: center;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }
    .ia-mobile-card-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 50%
        );
        border-radius: 12px;
        pointer-events: none;
    }
    /* --- Tarjeta blanca de info --- */
    .ia-mobile-card-info {
        position: absolute;
        z-index: 2;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        padding: 20px 22px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 75%;
        max-width: 280px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    .ia-mobile-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    .ia-mobile-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .ia-mobile-card-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .color-agriculture .ia-mobile-card-title{
        color:#ff7440;
    }
    .color-energy .ia-mobile-card-title{
        color:#64dbcd;
    }
    .color-environment .ia-mobile-card-title{
        color:#97e7dd;
    }
    .color-security .ia-mobile-card-title{
        color:#c1916a;
    }
    .color-maritime .ia-mobile-card-title{
        color:#1b776c;
    }

    .ia-mobile-card-desc {
        font-size: 14px;
        color: #333;
        line-height: 1.5;
    }
    .ia-mobile-card-desc p {
        margin: 0;
    }
}

/* --- Ajustes para móviles pequeños --- */
@media screen and (max-width: 480px) {
    .ia-mobile-btn {
        width: 46px;
        height: 46px;
        padding: 10px;
    }
    .ia-mobile-card-bg {
        min-height: 300px;
    }
    .ia-mobile-card-info {
        width: 80%;
        padding: 16px 18px;
    }
    .ia-mobile-card-title {
        font-size: 18px;
    }
    .ia-mobile-card-desc {
        font-size: 13px;
    }
}

/* ============================================
PAGINACIÓN NUMÉRICA - RESOURCES
============================================ */
.aistech-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 30px 0 10px !important;
    width: 100% !important;
}

.aistech-page-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.aistech-page-item:hover {
    border-color: #FF4726 !important;
    background: rgba(255, 71, 38, 0.15) !important;
    color: #FF4726 !important;
}

.aistech-page-item.active {
    background: #FF4726 !important;
    border-color: #FF4726 !important;
    color: #ffffff !important;
    cursor: default !important;
    pointer-events: none !important;
}

.aistech-page-arrow {
    font-size: 18px !important;
}

.aistech-page-item.disabled {
    opacity: 0.3 !important;
    cursor: default !important;
    pointer-events: none !important;
}

.aistech-page-dots {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 16px !important;
    letter-spacing: 2px !important;
    padding: 0 5px !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    background-color: #FF4500 !important;
}

/****** Degradado contact us & contact sales *******/
#form-gradient {
    display: none !important;
}
.page-id-776 #main-footer {
    position: relative;
    padding-top: 50px;
    background-color: #0c1c2f;
}

.page-id-776 #main-footer::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 56px;
    background: linear-gradient(180deg,rgba(11, 24, 38, 1) 0%, rgba(12, 28, 47, 1) 100%);
    pointer-events: none;
    z-index: 10;
}

.page-id-776 #main-content {
    position: relative;
}

.page-id-776 #main-content::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(360deg,rgba(11, 24, 38, 1) 0%, rgba(10, 18, 28, 1) 50%);
    pointer-events: none;
    z-index: 10;
}

/***** contact salea *****/
.page-id-855 #main-footer {
    position: relative;
    padding-top: 50px;
    background-color: #0c1c2f;
}

.page-id-855 #main-footer::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg,rgba(11, 24, 38, 1) 0%, rgba(12, 28, 47, 1) 100%);
    pointer-events: none;
    z-index: 10;
}

.page-id-855 #main-content {
    position: relative;
}

.page-id-855 #main-content::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 75px;
    background: linear-gradient(360deg,rgba(11, 24, 38, 1) 0%, rgba(10, 18, 28, 1) 50%);
    pointer-events: none;
    z-index: 10;
}

/*=============================
====== Ajustes Tablet =========
===============================*/

@media (max-width: 980px){
    .turning-insight-section .et_pb_heading.txt-turning-heat {
        height: auto;
    }
}

@media screen and (min-width:1027px ) and (max-width: 1310px) {
    .image-accordion.et_pb_row {
        width: 80% !important;
    }
    .adjustButton{
        font-size: 1.0em!important;
        width: 100%;
        right: 0;
        margin-top: 15px;
        text-align: center;
    }
    .et_pb_module.et_pb_code.et_pb_code_0 {
        margin-left: -35px !important;
    }
}

@media screen and (min-width:981px ) and (max-width: 1250px) {
    #top-menu li a {
        padding: 10px 10px !important;
        font-size: 12px;
    }
    #top-menu {
        margin-right: 195px !important;
    }
    .aistech-nav-pill {
        padding: 4px 0px !important;
    }
    .aistech-nav-pill a {
        padding: 4px 20px !important;
        font-size: 11px !important;
    }
}
@media screen and (min-width:1000px ) and (max-width: 1305px) {
    .aistech-card-border {
        max-width: 270px;
        height: 415px;
    }
    .aistech-row-v1-3 {
        top: -60px;
        right: -2%;
        left: auto !important;
        z-index: 10;
    }
    .aistech-satellite-3 {
        top: 420px;
        right: 0%;
    }
}

@media screen and (min-width: 720px) and (max-width:820px ){
    #top-menu {
        background: transparent;
        border: none;
        backdrop-filter: none;
    }
    .inova-row .et_pb_column_27,
    .inova-row .et_pb_column_28{
        padding-left: 1px;
    }
}
@media screen and (min-width:820px ) and (max-width: 1200px) {
    .headingColumn {
        margin-top:20px;
    }
    .headingColumn .et_pb_heading_container h2{
        font-size: 3.6em !important;
    }
    .image-accordion.et_pb_row{
        width: 80% !important;
    }
    .adjustButton{
        font-size: 1.0em!important;
        width: 100%;
        right: 0;
        margin-top: 15px;
        text-align: center;
    }
    .company-grad-1 h2.et_pb_module_heading,
    .company-grad-2 h2.et_pb_module_heading,
    .company-grad-3 h2.et_pb_module_heading{
        font-size: 4.1em !important;
    }
    .page-id-776 .et-last-child .et_pb_code_0 {
        margin-left: -95px !important;
    }
    .page-id-776 #main-footer{
        padding-top: 15vh;
    }
    .page-id-867 .et_pb_code_0,
    .page-id-855 .et_pb_code_0{
        margin-left: 0px !important;
    }
    .inova-row .et_pb_column_27,
    .inova-row .et_pb_column_28{
        padding-left: 0px;
    }
    .et_pb_module.et_pb_text.et_pb_text_6.txt-center-home.et_pb_text_align_left.et_pb_bg_layout_dark {
        font-size: 20px;
        padding-left: 30px;
    }
}
@media screen and (min-width:768px ) and (max-width:1024px) {
    .et_pb_module.et_pb_text.et_pb_text_6.txt-center-home.et_pb_text_align_left.et_pb_bg_layout_dark {
        line-height: 38px;
        font-size: 24px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .logos-partners.company-logos {
        align-items: center;
        gap: 20px !important;
        padding-left: 0px !important;
        margin-left: 0px !important;
    }
    .et_pb_slide_0 p.txt-tit-min {
        padding-bottom: 40px !important;
    }
    .adjustButton {
        font-size: 1.0em!important;
        width: 100%;
        right: 0;
        margin-top: 15px;
        text-align: center;
    }
    .btn-company-one {
        width: 100%;
        height: 100%;
    }
    .et_pb_button_module_wrapper.btn-down-company {
        text-align: center;
        padding-bottom: 40px;
    }
    .careers-lista::before {
        bottom: 66px;
    }
    .single-post h1.entry-title,
    .single-post .et_pb_title_container h1,
    .single-post .entry-header h1,
    .single-post article.post h1,
    .single-news h1.entry-title,
    .single-news .et_pb_title_container h1,
    .single-news .entry-header h1,
    .single-news article h1,
    .aistech-single-template h1.entry-title,
    .aistech-single-template .et_pb_title_container h1 {
        min-height: 200px !important;
        height: 200px !important;
    }
    .single-post .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
    .single-news .aistech-related-module article.et_pb_post:hover .news-see-more-btn,
    .aistech-single-template .aistech-related-module article.et_pb_post:hover .news-see-more-btn {
        display: none !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .logos-partners {
        gap: 15px;
        width: 100%;
        padding-left: 0px;
    }
    .aistech-nav-pill a {
        font-size: 11px !important;
        margin-left: 10px;
    }
    .et_pb_section.et_pb_section_2.cards-row-one.et_pb_with_background.et_section_regular
    .et_pb_module.et_pb_text {
        font-size: 13px;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_5.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_6.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_7.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1214px) and (orientation: landscape) {
    .company-grad-1 h2.et_pb_module_heading,
    .company-grad-2 h2.et_pb_module_heading,
    .company-grad-3 h2.et_pb_module_heading{
        font-size: 3.1em !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1244px) and (orientation: landscape) {
    .et_pb_module.et_pb_heading.et_pb_heading_5.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_6.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_7.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1244px)  and (orientation: portrait)  {
    .et_pb_module.et_pb_heading.et_pb_heading_5.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_6.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
    .et_pb_module.et_pb_heading.et_pb_heading_7.txt-turning-heat.et_pb_bg_layout_ h3.et_pb_module_heading {
        font-size: 21px !important;
    }
}
