/* =========================================================
   GALVIGO - FOOTER
   ========================================================= */
.site-below-footer-wrap{
    font-size: 15px;
    color:#fff
}
/* =========================================================
   GALVIGO - FOOTER
   Distribución y textos en una sola línea
   ========================================================= */

@media (min-width: 922px) {

    .site-below-footer-wrap
    .site-below-footer-inner-wrap {
        grid-template-columns: 40fr 20fr 40fr;
    }

    .site-below-footer-wrap #block-8,
    .site-below-footer-wrap #block-10 {
        white-space: nowrap;
    }

}

/* Enlaces legales y autoría */
.site-below-footer-wrap a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Resaltado al pasar el ratón o navegar con teclado */
.site-below-footer-wrap a:hover,
.site-below-footer-wrap a:focus-visible {
    color: #FFB627;
}

/* Separadores */
.site-below-footer-wrap #block-8 .galvigo-separador {
    margin: 0 6px;
    opacity: 0.6;
}


/* =========================================================
   GALVIGO - KIT DIGITAL
   Texto y logotipos institucionales
   ========================================================= */

.galvigo-kit-digital {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
}

/* Texto institucional */
.galvigo-kit-texto {
    margin: 0 0 30px;
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

/* Contenedor de logotipos */
.galvigo-kit-logos {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 25px 35px;
}

/* Imágenes */
.galvigo-kit-logos img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 75px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 1024px) {
    .galvigo-kit-logos {
        justify-content: center;
        gap: 25px 35px;
    }

    .galvigo-kit-logos img {
        max-height: 60px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .galvigo-kit-digital {
        padding: 25px 10px;
    }

    .galvigo-kit-texto {
        font-size: 11px;
        margin-bottom: 25px;
    }

    .galvigo-kit-logos {
        gap: 25px;
    }

    .galvigo-kit-logos img {
        max-height: 50px;
    }
}



/* --------------------- HOME --------------------- */


/* =========================================================
   ESTILOS HERO SECTION
   ========================================================= */

.galvigo-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 72% 44%,
            rgba(20, 165, 235, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 84% 20%,
            rgba(65, 205, 255, 0.06),
            transparent 22%
        ),
        linear-gradient(
            115deg,
            #020b13 0%,
            #041624 55%,
            #020b13 100%
        );
}


/* =========================================================
   CAPA VISUAL / WIDGET HTML DE ELEMENTOR
   ========================================================= */

.galvigo-heartbeat-widget {
    position: absolute !important;
    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none;

    z-index: 0;
}

.galvigo-heartbeat-widget > .elementor-widget-container {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}


/* =========================================================
   PARTÍCULAS
   ========================================================= */

.galvigo-ambient {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   HEARTBEAT
   ========================================================= */

.galvigo-heartbeat {
    position: absolute;

    width: clamp(470px, 78vw, 1450px);
    height: auto;

    max-width: none;

    top: 54%;
    left: 66%;

    transform: translate(-50%, -50%);

    overflow: visible;
    pointer-events: none;

    z-index: 1;
}


/* Línea base */

.galvigo-heartbeat-base {
    fill: none;

    stroke: transparent;
    stroke-width: 1.4;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Capas animadas */

.galvigo-heartbeat-active {
    fill: none;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Glow */

.galvigo-heartbeat-glow-mid {
    stroke: rgba(70, 221, 255, 0.52);
    stroke-width: 8;

    filter: url(#galvigo-glow-mid);
}


/* Núcleo luminoso */

.galvigo-heartbeat-core {
    stroke: rgba(215, 250, 255, 0.95);
    stroke-width: 2.4;
}


/* =========================================================
   RESPONSIVE - PANTALLAS BAJAS
   ========================================================= */

@media (min-width: 768px) and (max-height: 800px) {

    .galvigo-heartbeat {
        width: clamp(700px, 72vw, 1200px);

        top: 58%;
        left: 68%;
    }

}

@media (max-height: 500px) and (orientation: landscape) {

    .galvigo-heartbeat {
        width: min(65vw, 800px);
        top: 62%;
        left: 72%;
    }

}


/* =========================================================
   RESPONSIVE - MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .galvigo-heartbeat {
        width: 470px;

        top: 31%;
        left: 12%;
    }

}


/* =========================================================
   CIRCUITO SUPERIOR DERECHO
   ========================================================= */

.galvigo-circuit {
    position: absolute;

    pointer-events: none;

    z-index: 2;
}

.galvigo-circuit-top-right {
    top: 0;
    right: 0;

    width: 285px;
    height: auto;
}


/* SVG */

.galvigo-circuit-svg {
    display: block;

    width: 100%;
    height: auto;

    overflow: visible;

    color: #58b8d8;
    opacity: 0.7;
}


/* Pistas */

.galvigo-circuit-traces {
    fill: none;

    stroke: currentColor;
    stroke-width: 0.3;
    stroke-miterlimit: 10;
}


/* Barras y acentos */

.galvigo-circuit-bars,
.galvigo-circuit-accent {
    fill: currentColor;
}


/* Nodos */

.galvigo-circuit-node {
    fill: currentColor;
}

/* =========================================================
   CIRCUITO - EFECTOS
   ========================================================= */

.galvigo-circuit-node {
    opacity: 0.65;
}

.galvigo-circuit-node-fill {
    fill: currentColor;
    opacity: 0;

    filter:
        drop-shadow(
            0 0 0 rgba(45, 202, 255, 0)
        );

    will-change: opacity, filter;
}


/* =========================================================
   RODAMIENTO
   ========================================================= */

.galvigo-bearing-mask {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;
    z-index: 1;
}

.galvigo-bearing {
    position: absolute;

    left: -165px;
    bottom: -180px;

    width: 420px;
}

.galvigo-bearing-svg {
    display: block;

    width: 100%;
    height: auto;

    color: #58b8d8;
    opacity: 0.28;
}

.galvigo-bearing-detail,
.galvigo-bearing-outline {
    fill: none;

    stroke: currentColor;
    stroke-width: 1;
    stroke-miterlimit: 10;
}

.galvigo-bearing-outline,
.galvigo-bearing-detail {
    will-change: transform;
}




/* =========================================================
   CONTENIDO DE ELEMENTOR
   ========================================================= */

.galvigo-hero-content {
    position: relative;

    z-index: 10;
}



.elementor-widget-text-editor p {
    margin-bottom: 0;
}


/* =========================================================
   RESPONSIVE - MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .galvigo-heartbeat {
        width: 470px;
        height: 520px;

        left: 12%;
        top: 30%;
    }

    .galvigo-circuit-top-right {
        width: 260px;

        top: 0;
        right: 0px;
    }

    .galvigo-bearing {
        width: 250px;

        left: -100px;
        bottom: -100px;
    }
}



/* =========================================================
   GALVIGO - ESTILOS HOME
   ========================================================= */


/* ---------------------------------------------------------
   1. FONDO HERO / TRANSICIÓN (SEGUNDA SECCIÓN)
   --------------------------------------------------------- */
.blue-bkg,
.galvigo-hero-followup {
    background: linear-gradient(
        180deg,
        #020b13 0%,
        #041624 100%
    );
}


/* ---------------------------------------------------------
   2. COBERTURA TÉCNICA - AJUSTE DE IMÁGENES
   --------------------------------------------------------- */

.galvigo-card-img img {
    width: 100%;
    height: 160px !important;
    object-fit: cover;
    display: block;
}


/* ---------------------------------------------------------
   3. COBERTURA TÉCNICA - DISTRIBUCIÓN DE TARJETAS
   --------------------------------------------------------- */

/* Escritorio grande: 7 columnas (>1440px) */

.galvigo-card {
    flex: 0 0 calc((100% - 120px) / 7) !important;
    width: calc((100% - 120px) / 7) !important;
    min-width: 0;
}
   
/* RESPONSIVE */

/* Portátil y tablet: 4 columnas (768px - 1440px) */

@media (min-width: 768px) and (max-width: 1440px) {

    .galvigo-card {
        flex: 0 0 calc((100% - 60px) / 4) !important;
        width: calc((100% - 60px) / 4) !important;
    }

}

/* Móvil: 2 columnas (hasta 767px) */

@media (max-width: 767px) {

    .galvigo-card {
        flex: 0 0 calc((100% - 20px) / 2) !important;
        width: calc((100% - 20px) / 2) !important;
    }

}
.text-blue{
    color: #2166ac
}


/* Ocultar rodamiento en pantallas menores de 1600px */
@media (max-width: 1700px) {
    .galvigo-rodamiento {
        display: none !important;
    }
}


/* =========================================================
   GALVIGO - REFERENCIAS CRÍTICAS Y COBERTURA GEOGRÁFICA
   ========================================================= */


/* ---------------------------------------------------------
   1. REFERENCIAS CRÍTICAS - DIVISIÓN DIAGONAL
   --------------------------------------------------------- */

.galvigo-almacen {
    clip-path: polygon(
        0 0,
        100% 0,
        88% 100%,
        0 100%
    );
}


/* ---------------------------------------------------------
   2. COBERTURA GEOGRÁFICA - MAPA
   --------------------------------------------------------- */

.galvigo-mapa {
    width: clamp(220px, 22vw, 400px) !important;
    flex: 0 0 auto !important;
}

.galvigo-mapa img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}


/* ---------------------------------------------------------
   3. COBERTURA GEOGRÁFICA - LISTA DE SECTORES
   --------------------------------------------------------- */

/* Escritorio grande: lista vertical centrada */
.galvigo-lista-sectores .elementor-icon-list-items {
    display: grid !important;
    grid-template-columns: max-content;
    justify-content: start;
    gap: 12px;
}

/* Elementos alineados a la izquierda */
.galvigo-lista-sectores .elementor-icon-list-item {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */


/* ---------------------------------------------------------
   4. HASTA 1700PX - COBERTURA EN DOS FILAS
   --------------------------------------------------------- */

@media (max-width: 1700px) {

    /* Zona oscura y sectores apilados */
    .galvigo-cobertura {
        flex-direction: column !important;
    }

    .galvigo-cobertura-zona,
    .galvigo-sectores {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    /* Centrar los contenedores de texto y mapa */
    .galvigo-cobertura-zona {
        justify-content: center !important;
        align-items: center !important;
    }

    /* Centrar el título y el conjunto de sectores */
    .galvigo-sectores {
        align-items: center !important;
        text-align: center;
    }

    .galvigo-lista-sectores {
        width: 100%;
    }

    /* Seis sectores en una fila */
    .galvigo-lista-sectores .elementor-icon-list-items {
        grid-template-columns: repeat(6, max-content);
        justify-content: center;
        gap: 16px 24px;
    }
}


/* ---------------------------------------------------------
   5. HASTA 1400PX - SECTORES EN DOS FILAS (3 + 3)
   --------------------------------------------------------- */

@media (max-width: 1400px) {

    .galvigo-lista-sectores .elementor-icon-list-items {
        grid-template-columns: repeat(3, max-content);
    }
}


/* ---------------------------------------------------------
   6. TABLET Y MÓVIL - SIN CORTE DIAGONAL
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .galvigo-almacen {
        clip-path: none;
    }
}


/* ---------------------------------------------------------
   7. MÓVIL - SECTORES EN UNA COLUMNA
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .galvigo-lista-sectores .elementor-icon-list-items {
        grid-template-columns: max-content;
        justify-content: center;
        gap: 16px;
    }
}



/* =========================================================
   GALVIGO - TARJETAS DE VENTAJAS
   ========================================================= */


/* ---------------------------------------------------------
   1. VARIABLES
   --------------------------------------------------------- */

.galvigo-ventajas-grid {
    --card-bg: #f0f5fb;
    --card-border: #2A66B4;

    --card-radius: 6px;
    --cut-size: 20px;
    --border-size: 1px;
}


/* ---------------------------------------------------------
   2. CONTENEDOR DE LA TARJETA
   --------------------------------------------------------- */

.galvigo-ventaja-card {
    position: relative;
    isolation: isolate;

    /* Mantenemos los ajustes de Elementor */
    background: #2A66B4 !important;
    border: 0 !important;
    box-shadow: none !important;

    /* Sin hover ni animaciones */
    transform: none !important;
    transition: none !important;

    clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--cut-size)),
    calc(100% - var(--cut-size)) 100%,
    0 100%
    );
}




/* ---------------------------------------------------------
   3. CAPA INTERIOR - FONDO CLARO
   --------------------------------------------------------- */

.galvigo-ventaja-card::after {
    content: "";
    position: absolute;
    inset: var(--border-size);

    background: var(--card-bg);

    border-radius: calc(
        var(--card-radius) - var(--border-size)
    );

    /* Compensación del corte diagonal */
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(
            100% - var(--cut-size) + 
            var(--border-size) * 0.4142
        ),
        calc(
            100% - var(--cut-size) + 
            var(--border-size) * 0.4142
        ) 100%,
        0 100%
    );

    z-index: 1;
    pointer-events: none;
}


/* ---------------------------------------------------------
   4. WIDGET DE ELEMENTOR - CONTENIDO
   --------------------------------------------------------- */

/* El widget completo queda encima de ambas capas */
.galvigo-ventaja-card > .elementor-widget {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   5. RESPONSIVE
   --------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {

    .galvigo-ventajas-grid {
        --cut-size: 18px;
    }

}

/* Móvil */
@media (max-width: 767px) {

    .galvigo-ventajas-grid {
        --cut-size: 14px;
    }

}


/* =========================================================
   GALVIGO - PRUEBA TRIÁNGULO DECORATIVO
   ========================================================= */

.galvigo-ventaja-wrapper {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

/* Triángulo separado del corte de la tarjeta */
.galvigo-ventaja-wrapper::after {
    content: "";
    position: absolute;

    right: -1px;
    bottom: -1px;

    width: 17px;
    height: 17px;

    background: #2A66B4;

    clip-path: polygon(
        100% 0,
        100% 100%,
        0 100%
    );

    pointer-events: none;
    z-index: 2;
}
/* =========================================================
   GALVIGO - AJUSTE TRIÁNGULO EN MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .galvigo-ventaja-wrapper::after {
        width: 12px;
        height: 12px;
        right: 0;
        bottom: 0;
    }

}

/* ________________________________________
------PÁGINA 2. SUMINISTRO INDUSTRIAL------
_________________________________________ */


/* =========================================
   SUMINISTRO INDUSTRIAL - IMÁGENES DE SUMINISTRO
   ========================================= */

/* Escritorio y portátil */
.galvigo-suministro-imagen img {
    width: 100%;
    aspect-ratio: 2.2 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Tablet */
@media (max-width: 1024px) {
    .galvigo-suministro-imagen img {
        aspect-ratio: 2 / 1;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .galvigo-suministro-imagen img {
        aspect-ratio: 2.2 / 1;
    }
}


/* =========================================
   SUMINISTRO INDUSTRIAL - FLECHAS DEL PROCESO
   ========================================= */

/* 1. Referencia para posicionamiento */
.galvigo-proceso-pasos > .elementor-widget-icon-box {
    position: relative;
}

/* 2. Flechas horizontales */
@media (min-width: 1025px) {

    .galvigo-proceso-pasos > .elementor-widget-icon-box {
        flex: 1 1 0;
        min-width: 0;
        position: relative;
    }

    /* 2. Flechas entre pasos */
    .galvigo-proceso-pasos > .elementor-widget-icon-box:not(:last-child)::after {
        content: "›";
        position: absolute;
        top: 20px;
        right: -10px;
        transform: translateX(50%);
        font-size: 40px;
        line-height: 1;
        color: #6D829B;
        pointer-events: none;
    }
}

/* 3. Tablet y móvil: sin flechas de momento */
@media (max-width: 1024px) {
    .galvigo-proceso-pasos > .elementor-widget-icon-box:not(:last-child)::after {
        content: "›";
        position: absolute;
        top: auto;
        bottom: -35px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) rotate(90deg);
        font-size: 30px;
        line-height: 1;
        color: #6D829B;
        pointer-events: none;
    }
}


/* =========================================================
   GALVIGO - SUMINISTRO INDUSTRIAL Y SOLUCIONES
   Corrección de columnas en tablet
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    /* Suministro industrial */
    .elementor-831 .elementor-element.elementor-element-61806ea > .e-con,

    /* Soluciones */
    .elementor-1102 .elementor-element.galvigo-soluciones-grid > .e-con {
        --width: 48%;
    }

}

/* Tarjetas Casos de suministro */
@media (max-width: 768px){
    .cards-casos{
    max-width: 450px;
}
}



/* =========================================================
   GALVIGO - TARJETA DE CONTACTO
   Contorno técnico interior
   ========================================================= */

.galvigo-contacto-tarjeta {
    position: relative;
}

.galvigo-contacto-tarjeta::after {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: 2;
    pointer-events: none;

    background: rgba(190, 215, 245, 0.40);

    clip-path: polygon(evenodd,
        14px 0,
        100% 0,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        0 100%,
        0 14px,
        14px 0,

        14px 1px,
        1px 14px,
        1px calc(100% - 1px),
        calc(100% - 20px) calc(100% - 1px),
        calc(100% - 1px) calc(100% - 20px),
        calc(100% - 1px) 1px,
        14px 1px
    );
}

.galvigo-contacto-tarjeta2 {
    max-width: 460px;
    --cut-top: 18px;
    --cut-bottom: 24px;

    clip-path: polygon(
        var(--cut-top) 0,
        100% 0,
        100% calc(100% - var(--cut-bottom)),
        calc(100% - var(--cut-bottom)) 100%,
        0 100%,
        0 var(--cut-top)
    );
}

.galvigo-contacto-tarjeta a{
    text-decoration: none !important;
    color: #fafafa;
}
.galvigo-contacto-tarjeta a:hover{
    color:#F8B737
}

/* Texto legal formulario */
.ff_t_c{
    font-size: 13px !important;
}


.galvigo-legal {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(40px, 5vw, 80px) 20px;
}

.galvigo-legal h1 {
    margin-bottom: 40px;
}

.galvigo-legal h2 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.galvigo-legal h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.galvigo-legal p,
.galvigo-legal li {
    line-height: 1.8;
}