/* =========================================================
   TEKNOVA AUTOMATION
   STYLESHEET PRINCIPAL
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --azul-principal: #025B69;
    --azul-profundo: #013c46;
    --teal-corporativo: #068391;
    --turquesa-acento: #03A3A8;
    --gris-tecnologico: #7F868F;
    --fondo-claro: #f4f8f9;
    --fondo-suave: #eaf3f4;
    --blanco: #ffffff;
    --navbar-height: 80px;
    --transicion-suave: 0.35s ease;
}


/* =========================================================
   GENERAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 0;
    overflow-x: hidden;

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    background-color: var(--fondo-claro);
    color: #1f2d3d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

section {
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
}

.texto-justificado {
    text-align: justify;
}


/* =========================================================
   TÍTULOS
========================================================= */

.titulo-seccion {
    margin-bottom: 40px;
    font-weight: 700;
    color: white;
}

.titulo-seccion-areas {
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--azul-principal);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    min-height: var(--navbar-height);

    padding-top: 12px;
    padding-bottom: 12px;

    background: rgba(1, 60, 70, 0.22);

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

    box-shadow: none;

    transition:
        background 0.45s ease,
        box-shadow 0.45s ease,
        backdrop-filter 0.45s ease,
        padding 0.45s ease;
}

.navbar .container,
.navbar .container-fluid {
    min-height: 56px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;

    background: rgba(1, 60, 70, 0.92);

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

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   LOGO DEL NAVBAR
========================================================= */

.navbar-brand {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0;
    padding: 0;

    font-size: 1.05rem;
    line-height: 1;

    white-space: nowrap;
}

.navbar-brand img {
    width: auto;
    height: 65px;

    flex-shrink: 0;

    object-fit: contain;

    transition:
        transform var(--transicion-suave);
}

.navbar-brand:hover img {
    transform: scale(1.03);
}


/* =========================================================
   ENLACES NAVBAR
========================================================= */

.navbar .nav-link {
    position: relative;

    margin-left: 30px;

    padding: 8px 0;

    color: white !important;

    font-weight: 500;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.navbar .nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--turquesa-acento);

    transition:
        width 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--turquesa-acento) !important;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link.active {
    color: var(--turquesa-acento) !important;
}

.navbar .nav-link.active::after {
    width: 100%;
}


/* =========================================================
   HERO INDEX CON VIDEO
========================================================= */

.hero {
    position: relative;

    height: 82vh;
    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    text-align: center;
    color: white;

    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -3;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.48) 45%,
            rgba(1, 60, 70, 0.72) 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 150px;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(244, 248, 249, 0) 0%,
            rgba(244, 248, 249, 0.22) 40%,
            rgba(244, 248, 249, 0.68) 72%,
            var(--fondo-claro) 100%
        );
}

/* =========================================================
   HERO V2
========================================================= */

.hero-contenido {
    position: relative;
    z-index: 2;

    max-width: 980px;

    margin-left: auto;
    margin-right: auto;

    padding-top: 70px;

    text-align: center;
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 24px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;

    margin:
        0
        auto
        26px;

    color: white;

    font-size:
        clamp(
            2.8rem,
            6vw,
            5.2rem
        );

    font-weight: 800;
    line-height: 0.98;

    letter-spacing: -2px;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-descripcion {
    max-width: 720px;

    margin:
        0
        auto;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 1.08rem;
    line-height: 1.75;
}
/* =========================================================
   FRANJA DE CAPACIDADES
========================================================= */

.capabilities-strip {
    position: relative;
    z-index: 3;

    background:
        #07181c;

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

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

.capabilities-list {
    min-height: 86px;

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

    flex-wrap: wrap;

    gap:
        14px
        34px;

    padding:
        20px
        0;

    color:
        rgba(255, 255, 255, 0.66);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}

.capabilities-list span {
    position: relative;

    display: inline-flex;
    align-items: center;
}

.capabilities-list span:not(:last-child)::after {
    content: "";

    width: 4px;
    height: 4px;

    margin-left: 34px;

    background:
        var(--turquesa-acento);

    border-radius: 50%;

    opacity: 0.65;
}

/* =========================================================
   BOTONES HERO
========================================================= */

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}

.btn-primary-teknova,
.btn-secondary-teknova {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding:
        14px
        26px;

    border-radius: 8px;

    font-size: 0.94rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-primary-teknova {
    color: white;

    background:
        var(--turquesa-acento);

    box-shadow:
        0 12px 30px rgba(3, 163, 168, 0.28);
}

.btn-primary-teknova:hover {
    color: white;

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 38px rgba(3, 163, 168, 0.38);
}

.btn-secondary-teknova {
    color: white;

    background:
        rgba(255, 255, 255, 0.08);

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

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary-teknova:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.14);

    border-color:
        rgba(255, 255, 255, 0.38);

    transform:
        translateY(-3px);
}


/* =========================================================
   HERO DE SERVICIOS
========================================================= */

.hero-servicios {
    position: relative;

    height: 68vh;
    min-height: 480px;

    display: flex;
    align-items: center;

    overflow: hidden;

    text-align: center;
    color: white;

    background:
        url("img/hero.jpg")
        center center / cover
        no-repeat;

    isolation: isolate;
}

.hero-servicios::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.48) 0%,
            rgba(0, 0, 0, 0.50) 55%,
            rgba(1, 60, 70, 0.75) 100%
        );
}

.hero-servicios::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 150px;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(244, 248, 249, 0) 0%,
            rgba(244, 248, 249, 0.30) 38%,
            rgba(244, 248, 249, 0.72) 70%,
            var(--fondo-claro) 100%
        );
}

.hero-servicios .container,
.contenido-hero {
    position: relative;
    z-index: 2;
}

.hero-servicios h1 {
    margin-bottom: 20px;

    font-size: clamp(2.3rem, 5vw, 3.7rem);

    font-weight: 800;
    line-height: 1.1;

    text-shadow:
        0 4px 18px rgba(0, 0, 0, 0.55);

    animation:
        heroEntrada 0.9s ease forwards;
}

.hero-servicios p {
    max-width: 780px;

    margin-left: auto;
    margin-right: auto;

    font-size: 1.2rem;
    line-height: 1.7;

    text-shadow:
        0 3px 12px rgba(0, 0, 0, 0.55);

    animation:
        heroEntradaTexto 1.1s ease forwards;
}


/* =========================================================
   ANIMACIONES DEL HERO
========================================================= */

@keyframes heroEntrada {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroEntradaTexto {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   EMPRESA
========================================================= */

.empresa-destacada {
    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            var(--fondo-claro) 0%,
            #ffffff 45%,
            #f2f7f8 100%
        );
}

.empresa-card {
    padding: 60px;

    background: white;

    border-radius: 25px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

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

    box-shadow:
        0 35px 70px rgba(0, 0, 0, 0.12);
}

.empresa-texto span {
    font-size: 18px;
    color: #666;
}

.empresa-texto h3 {
    margin-bottom: 25px;

    color: var(--azul-principal);

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

    line-height: 1.2;
}

.empresa-texto p {
    color: #555;

    font-size: 17px;
    line-height: 1.9;

    text-align: justify;
}


/* =========================================================
   QUIÉNES SOMOS
========================================================= */

.empresa-nueva {
    position: relative;

    padding: 105px 0;

    background:
        linear-gradient(
            180deg,
            var(--fondo-claro) 0%,
            #ffffff 42%,
            #f3f8f9 100%
        );
}

.badge-empresa {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--turquesa-acento);

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

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.titulo-empresa {
    margin-bottom: 30px;

    color: var(--azul-principal);

    font-size:
        clamp(
            2rem,
            4vw,
            2.7rem
        );

    font-weight: 800;
    line-height: 1.2;
}

.empresa-nueva p {
    color: #555;

    font-size: 17px;
    line-height: 1.9;

    text-align: justify;
}

.empresa-img-box {
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.empresa-img-box:hover {
    transform:
        translateY(-6px);
}

.empresa-img-box img {
    max-height: 330px;
    object-fit: contain;
}


/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.mision-vision-bg {
    position: relative;

    overflow: hidden;

    padding: 110px 0;

    background:
        linear-gradient(
            145deg,
            var(--azul-profundo) 0%,
            var(--azul-principal) 48%,
            var(--teal-corporativo) 100%
        );
}

.mision-vision-bg::before {
    content: "";

    position: absolute;

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

    height: 90px;

    opacity: 0.32;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            #f3f8f9 0%,
            rgba(243, 248, 249, 0) 100%
        );
}

.mision-vision-card {
    position: relative;

    padding: 55px;

    color: white;

    background:
        rgba(255, 255, 255, 0.10);

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

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

    border-radius: 24px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12);
}

.mision-vision-card h2 {
    font-weight: 700;
}

.mision-vision-card p {
    color:
        rgba(255, 255, 255, 0.90);

    line-height: 1.8;

    text-align: justify;
}

/* =========================================================
   MANTENIMIENTO — DIAGNÓSTICO INDUSTRIAL
========================================================= */

.maintenance-visual {
    position: relative;

    min-height: 520px;

    overflow: hidden;

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

    padding: 70px 38px 55px;

    color: white;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(3,163,168,0.12),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #07181c,
            #09262c
        );

    border-radius: 4px;
}


/* GRID */

.maintenance-grid {
    position: absolute;
    inset: 0;

    opacity: 0.10;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.12) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}


/* RESPLANDOR */

.maintenance-glow {
    position: absolute;

    width: 420px;
    height: 420px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(3,163,168,0.14),
            transparent 70%
        );

    filter:
        blur(28px);
}


/* =========================================================
   BARRA SUPERIOR
========================================================= */

.maintenance-topbar {
    position: absolute;

    top: 26px;
    left: 32px;
    right: 32px;

    z-index: 4;

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

    padding-bottom: 15px;

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

    color:
        rgba(255,255,255,0.40);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.maintenance-topbar > div {
    display: flex;
    align-items: center;

    gap: 8px;
}

.maintenance-status-dot {
    width: 6px;
    height: 6px;

    background:
        var(--turquesa-acento);

    border-radius: 50%;

    box-shadow:
        0 0 10px
        rgba(3,163,168,0.85);

    animation:
        maintenancePulse
        1.8s ease-in-out
        infinite;
}


/* =========================================================
   DASHBOARD
========================================================= */

.maintenance-dashboard {
    position: relative;

    z-index: 3;

    width: 100%;

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    grid-template-areas:
        "health metrics"
        "chart chart";

    gap: 24px;
}


/* =========================================================
   HEALTH
========================================================= */

.maintenance-health {
    grid-area: health;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 210px;

    padding: 28px;

    background:
        rgba(255,255,255,0.035);

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

    border-radius: 4px;
}

.maintenance-label {
    color:
        rgba(255,255,255,0.38);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.maintenance-health-value {
    margin-top: 18px;

    color:
        var(--turquesa-acento);

    font-size: 4.2rem;
    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -3px;
}

.maintenance-health-value span {
    margin-left: 4px;

    font-size: 1.4rem;
}

.maintenance-health strong {
    margin-top: 18px;

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.maintenance-health small {
    margin-top: 6px;

    color:
        rgba(255,255,255,0.42);

    font-size: 0.65rem;
}


/* =========================================================
   MÉTRICAS
========================================================= */

.maintenance-metrics {
    grid-area: metrics;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 20px;

    padding: 28px;

    background:
        rgba(255,255,255,0.025);

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

    border-radius: 4px;
}

.maintenance-metric-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 0.68rem;
}

.maintenance-metric-header span {
    color:
        rgba(255,255,255,0.55);
}

.maintenance-metric-header strong {
    color:
        rgba(255,255,255,0.88);

    font-weight: 700;
}

.maintenance-bar {
    position: relative;

    width: 100%;
    height: 4px;

    overflow: hidden;

    background:
        rgba(255,255,255,0.08);

    border-radius: 10px;
}

.maintenance-bar span {
    display: block;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--teal-corporativo),
            var(--turquesa-acento)
        );

    box-shadow:
        0 0 12px
        rgba(3,163,168,0.30);

    border-radius: inherit;

    transform-origin: left;

    animation:
        maintenanceLoad
        1.5s ease both;
}


/* =========================================================
   GRÁFICA
========================================================= */

.maintenance-chart {
    grid-area: chart;

    padding: 22px 24px 18px;

    background:
        rgba(0,0,0,0.12);

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

    border-radius: 4px;
}

.maintenance-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;

    color:
        rgba(255,255,255,0.38);

    font-size: 0.56rem;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.maintenance-chart-header strong {
    color:
        var(--turquesa-acento);

    font-size: 0.55rem;
}

.maintenance-chart-area {
    position: relative;

    height: 90px;

    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.05) 1px,
            transparent 1px
        );

    background-size:
        100% 22px;
}

.maintenance-chart-line {
    position: absolute;

    inset: 0;

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

.maintenance-chart-line span {
    position: relative;

    width: 7px;
    height: 7px;

    margin-top:
        var(--y);

    background:
        var(--turquesa-acento);

    border-radius: 50%;

    box-shadow:
        0 0 9px
        rgba(3,163,168,0.75);
}

.maintenance-chart-line span::after {
    content: "";

    position: absolute;

    width: 80px;
    height: 1px;

    top: 50%;
    left: 3px;

    transform:
        rotate(-7deg);

    transform-origin:
        left center;

    background:
        rgba(3,163,168,0.55);
}

.maintenance-chart-line span:last-child::after {
    display: none;
}


/* =========================================================
   PIE
========================================================= */

.maintenance-footer {
    position: absolute;

    left: 32px;
    right: 32px;
    bottom: 22px;

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

    color:
        rgba(255,255,255,0.32);

    font-size: 0.55rem;
    font-weight: 800;

    letter-spacing: 1.4px;
}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes maintenancePulse {

    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }

}

@keyframes maintenanceLoad {

    from {
        transform:
            scaleX(0);
    }

    to {
        transform:
            scaleX(1);
    }

}

/* =========================================================
   SHOWCASE TECNOLÓGICO TEKNOVA
========================================================= */

.teknova-showcase {
    position: relative;
    overflow: hidden;

    padding: 140px 0 100px;

    color: white;

    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(3, 163, 168, 0.15),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #06171b 0%,
            #031014 100%
        );
}


/* =========================================================
   ENCABEZADO
========================================================= */

.showcase-header {
    position: relative;
    z-index: 5;

    max-width: 900px;

    margin: 0 auto 90px;

    text-align: center;
}

.showcase-eyebrow {
    display: inline-block;

    margin-bottom: 24px;

    color: var(--turquesa-acento);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 2.4px;

    text-transform: uppercase;
}

.showcase-header h2 {
    max-width: 850px;

    margin: 0 auto;

    color: white;

    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -2.5px;
}

.showcase-header p {
    max-width: 680px;

    margin: 30px auto 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   ESCENARIO
========================================================= */

.showcase-stage {
    position: relative;

    width: 100%;
    height: 760px;

    margin-top: 30px;
}


/* RESPLANDOR CENTRAL */

.showcase-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 720px;
    height: 720px;

    transform: translate(-50%, -50%);

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(3, 163, 168, 0.24),
            rgba(3, 163, 168, 0.08) 38%,
            transparent 70%
        );

    filter: blur(24px);
}


/* =========================================================
   TARJETAS TÉCNICAS
========================================================= */

.showcase-card {
    position: absolute;

    overflow: hidden;

    background: #0a2025;

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

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.45);

    transition:
        transform 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;

    will-change: transform;
}

.showcase-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        brightness(0.78)
        saturate(0.85);

    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}

.showcase-card:hover {
    z-index: 10;

    border-color:
        rgba(3, 163, 168, 0.55);

    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.60);
}

.showcase-card:hover img {
    transform: scale(1.025);

    filter:
        brightness(0.95)
        saturate(1);
}


/* =========================================================
   IMAGEN PRINCIPAL
========================================================= */

.showcase-card-main {
    z-index: 3;

    top: 90px;
    left: 50%;

    width: min(720px, 64%);
    height: 500px;

   transform:
        translateX(-50%)
        translateY(var(--showcase-shift, 0px));

    border-radius: 6px;
}


/* =========================================================
   IMAGEN IZQUIERDA
========================================================= */

.showcase-card-left {
    z-index: 2;

    top: 235px;
    left: -15px;

    width: 360px;
    height: 250px;

    transform:
        translateY(var(--showcase-shift, 0px))
        rotate(-6deg);

    border-radius: 5px;
}


/* =========================================================
   IMAGEN DERECHA
========================================================= */

.showcase-card-right {
    z-index: 4;

    top: 250px;
    right: -10px;

    width: 360px;
    height: 250px;

    transform:
        translateY(var(--showcase-shift, 0px))
        rotate(6deg);

    border-radius: 5px;
}


/* =========================================================
   ETIQUETAS LATERALES
========================================================= */

.showcase-card-left > span,
.showcase-card-right > span {
    position: absolute;

    left: 18px;
    bottom: 16px;

    z-index: 5;

    padding: 7px 10px;

    color: white;

    background:
        rgba(3, 16, 20, 0.82);

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

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================================
   INFORMACIÓN IMAGEN PRINCIPAL
========================================================= */

.showcase-card-info {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 5;

    display: flex;
    flex-direction: column;

    gap: 7px;

    padding: 60px 28px 25px;

    background:
        linear-gradient(
            to top,
            rgba(3, 16, 20, 0.96),
            rgba(3, 16, 20, 0)
        );
}

.showcase-card-info span {
    color: var(--turquesa-acento);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.showcase-card-info strong {
    color: white;

    font-size: 1.1rem;
    font-weight: 700;
}


/* =========================================================
   PIE DEL SHOWCASE
========================================================= */

.showcase-footer {
    display: grid;

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

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

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

.showcase-footer span {
    padding: 24px 15px;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-align: center;
}

.showcase-footer span:not(:last-child) {
    border-right:
        1px solid rgba(255, 255, 255, 0.10);
}



/* =========================================================
   CAPACIDADES INDUSTRIALES V2
========================================================= */

.capacidades-v2 {
    position: relative;
    overflow: hidden;

    padding: 130px 0;

    background: #f5f7f7;
}

/* =========================================================
   AUTOMATIZACIÓN — CONTROL ARCHITECTURE
========================================================= */

.automation-visual {
    position: relative;

    min-height: 520px;

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

    overflow: hidden;

    color: white;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(3, 163, 168, 0.15),
            transparent 38%
        ),
        #06191e;

    border-radius: 4px;
}


/* GRID */

.automation-grid {
    position: absolute;
    inset: 0;

    opacity: 0.13;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.14) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.14) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 80%
        );

    -webkit-mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 80%
        );
}


/* RESPLANDOR */

.automation-glow {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 350px;
    height: 350px;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(3, 163, 168, 0.16),
            transparent 68%
        );

    filter: blur(20px);
}


/* ETIQUETA */

.automation-label {
    position: absolute;

    top: 30px;
    left: 32px;

    color:
        rgba(255,255,255,0.42);

    font-size: 0.65rem;
    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   SISTEMA
========================================================= */

.automation-system {
    position: relative;
    z-index: 3;

    width: 88%;

    display: grid;

    grid-template-columns:
        1fr 90px 1fr 90px 1fr;

    align-items: center;
}


/* NODOS */

.automation-node {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.automation-node > span {
    margin-bottom: 18px;

    color:
        rgba(255,255,255,0.40);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.automation-node strong {
    margin-top: 18px;

    color: white;

    font-size: 0.82rem;
    font-weight: 800;

    letter-spacing: 1px;
}

.automation-node small {
    margin-top: 5px;

    color:
        rgba(255,255,255,0.42);

    font-size: 0.65rem;
}


/* DISPOSITIVOS */

.automation-device {
    position: relative;

    width: 95px;
    height: 95px;

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

    color: rgba(255,255,255,0.78);

    background:
        rgba(255,255,255,0.035);

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

    border-radius: 4px;

    box-shadow:
        0 20px 45px rgba(0,0,0,0.22);

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

.automation-device i {
    font-size: 2.2rem;
}

.automation-device-main {
    width: 120px;
    height: 120px;

    color: var(--turquesa-acento);

    background:
        rgba(3,163,168,0.08);

    border:
        1px solid rgba(3,163,168,0.42);

    box-shadow:
        0 0 45px rgba(3,163,168,0.10);
}

.automation-device-main i {
    font-size: 3rem;
}


/* HOVER */

.automation-node:hover
.automation-device {
    transform: translateY(-5px);

    border-color:
        rgba(3,163,168,0.55);

    background:
        rgba(3,163,168,0.08);
}


/* =========================================================
   CONEXIONES
========================================================= */

.automation-line {
    position: relative;

    width: 100%;
    height: 1px;

    overflow: hidden;

    background:
        rgba(255,255,255,0.15);
}

.automation-line::before,
.automation-line::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 5px;
    height: 5px;

    transform:
        translateY(-50%);

    background:
        var(--turquesa-acento);

    border-radius: 50%;
}

.automation-line::before {
    left: 0;
}

.automation-line::after {
    right: 0;
}


/* SEÑAL ANIMADA */

.automation-signal {
    position: absolute;

    top: 50%;
    left: -20px;

    width: 22px;
    height: 2px;

    transform:
        translateY(-50%);

    background:
        var(--turquesa-acento);

    box-shadow:
        0 0 12px
        rgba(3,163,168,0.8);

    animation:
        automationSignal
        2.2s linear
        infinite;
}

.automation-line-2
.automation-signal {
    animation-delay: 1.1s;
}

@keyframes automationSignal {

    from {
        left: -22px;
    }

    to {
        left: 100%;
    }

}


/* =========================================================
   ESTADO DEL SISTEMA
========================================================= */

.automation-status {
    position: absolute;

    left: 32px;
    right: 32px;
    bottom: 26px;

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

    padding-top: 18px;

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

    color:
        rgba(255,255,255,0.38);

    font-size: 0.58rem;
    font-weight: 700;

    letter-spacing: 1.3px;
}

.automation-status > div {
    display: flex;
    align-items: center;

    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;

    background:
        var(--turquesa-acento);

    border-radius: 50%;

    box-shadow:
        0 0 9px
        rgba(3,163,168,0.8);

    animation:
        statusPulse
        1.8s ease-in-out
        infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }

}

/* =========================================================
   ENCABEZADO
========================================================= */

.capacidades-header {
    max-width: 850px;

    margin-bottom: 110px;
}

.section-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--turquesa-acento);

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.capacidades-header h2 {
    max-width: 800px;

    margin: 0;

    color: #07181c;

    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 800;

    line-height: 1.03;

    letter-spacing: -2px;
}

.capacidades-header p {
    max-width: 650px;

    margin-top: 28px;
    margin-bottom: 0;

    color: #667277;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================================================
   BLOQUES
========================================================= */

.capacidad-bloque {
    padding: 100px 0;

    border-top:
        1px solid rgba(7, 24, 28, 0.12);
}

.capacidad-bloque:last-of-type {
    border-bottom:
        1px solid rgba(7, 24, 28, 0.12);
}

.capacidad-numero {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--turquesa-acento);

    font-size: 0.73rem;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.capacidad-bloque h3 {
    max-width: 480px;

    margin-bottom: 25px;

    color: #07181c;

    font-size: clamp(2rem, 3.3vw, 3.3rem);
    font-weight: 800;

    line-height: 1.05;

    letter-spacing: -1.4px;
}

.capacidad-bloque p {
    max-width: 500px;

    margin-bottom: 28px;

    color: #667277;

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   LISTA DE CAPACIDADES
========================================================= */

.capacidad-lista {
    margin: 0 0 32px;
    padding: 0;

    list-style: none;
}

.capacidad-lista li {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 9px 0;

    color: #26383d;

    font-size: 0.92rem;
    font-weight: 600;
}

.capacidad-lista i {
    color: var(--turquesa-acento);

    font-size: 1.1rem;
}


/* =========================================================
   ENLACE
========================================================= */

.capacidad-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding-bottom: 5px;

    color: #07181c;

    font-size: 0.9rem;
    font-weight: 800;

    text-decoration: none;
}

.capacidad-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: var(--turquesa-acento);

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

    transition: transform 0.3s ease;
}

.capacidad-link:hover {
    color: var(--turquesa-acento);
}

.capacidad-link:hover::after {
    transform: scaleX(1);
}

.capacidad-link i {
    transition: transform 0.3s ease;
}

.capacidad-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   VISUALES
========================================================= */

.capacidad-visual {
    position: relative;

    min-height: 520px;

    overflow: hidden;

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

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(3, 163, 168, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #07181c,
            #0d3037
        );

    border-radius: 4px;
}

.capacidad-visual-alt {
    background:
        radial-gradient(
            circle at 25% 70%,
            rgba(3, 163, 168, 0.24),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #09262c,
            #07181c
        );
}

.capacidad-visual-dark {
    background:
        radial-gradient(
            circle at 75% 70%,
            rgba(3, 163, 168, 0.20),
            transparent 35%
        ),
        #07181c;
}


/* GRID TÉCNICO */

.capacidad-visual-grid {
    position: absolute;

    inset: 0;

    opacity: 0.15;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.15) 1px,
            transparent 1px
        );

    background-size:
        48px 48px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}


/* CONTENIDO CENTRAL */

.capacidad-visual-content {
    position: relative;
    z-index: 2;

    width: 100%;

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

    color: white;

    text-align: center;
}

.capacidad-visual-content > span {
    margin-bottom: 32px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 4px;
}

.capacidad-visual-content > i {
    color: white;

    font-size: 8rem;

    line-height: 1;

    filter:
        drop-shadow(
            0 20px 30px rgba(0, 0, 0, 0.25)
        );

    transition:
        transform 0.5s ease,
        color 0.5s ease;
}

.capacidad-visual:hover
.capacidad-visual-content > i {
    color: var(--turquesa-acento);

    transform:
        scale(1.07);
}

.capacidad-visual-content small {
    margin-top: 34px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 1px;
}


/* DECORACIÓN */

.capacidad-visual::before {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

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

    border-radius: 50%;
}

.capacidad-visual::after {
    content: "";

    position: absolute;

    width: 370px;
    height: 370px;

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

    border-radius: 50%;
}


/* =========================================================
   CTA CAPACIDADES
========================================================= */

.capacidades-cta {
    min-height: 170px;

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

    gap: 30px;

    margin-top: 70px;
    padding: 45px 50px;

    background: #07181c;

    border-radius: 4px;
}

.capacidades-cta > span {
    max-width: 550px;

    color: white;

    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 700;

    line-height: 1.15;

    letter-spacing: -0.8px;
}



/* =========================================================
   ÁREAS ESPECIALIZADAS
========================================================= */

.areas {
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            #dcecee 0%,
            var(--fondo-suave) 20%,
            #f4f8f9 100%
        );
}

.area-box {
    position: relative;

    overflow: hidden;

    height: 100%;

    padding: 40px 25px;

    background:
        rgba(255, 255, 255, 0.96);

    border:
        1px solid rgba(3, 163, 168, 0.08);

    border-radius: 18px;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.area-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--azul-principal),
            var(--turquesa-acento)
        );

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        transform 0.35s ease;
}

.area-box:hover {
    transform:
        translateY(-9px);

    border-color:
        rgba(3, 163, 168, 0.30);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.11);
}

.area-box:hover::before {
    transform:
        scaleX(1);
}

.area-box h5 {
    color: var(--azul-principal);
    font-weight: 700;
}


/* =========================================================
   BOTÓN VER SERVICIOS
========================================================= */

.btn-servicios {
    display: inline-block;

    padding: 14px 35px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--turquesa-acento),
            var(--teal-corporativo)
        );

    border-radius: 50px;

    box-shadow:
        0 8px 22px rgba(3, 163, 168, 0.28);

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.btn-servicios:hover {
    color: white;

    filter:
        brightness(1.05);

    transform:
        translateY(-3px);

    box-shadow:
        0 14px 30px rgba(3, 163, 168, 0.35);
}


/* =========================================================
   CONTACTO
========================================================= */

.seccion-gris {
    position: relative;

    padding: 110px 0;

    color: white;

    background:
        linear-gradient(
            145deg,
            var(--azul-principal),
            var(--azul-profundo)
        );
}

.contacto-box {
    padding: 35px;

    background:
        rgba(6, 131, 145, 0.82);

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

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

    border-radius: 18px;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.contacto-box:hover {
    background:
        rgba(3, 163, 168, 0.92);

    transform:
        translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}

.contacto-box h5 {
    font-weight: 700;
}


/* =========================================================
   PÁGINA DE SERVICIOS
========================================================= */

.servicios-grid {
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            var(--fondo-claro) 0%,
            var(--fondo-suave) 25%,
            #f4f8f9 100%
        );
}


/* =========================================================
   TARJETAS DE SERVICIOS
========================================================= */

.tarjeta-servicio {
    position: relative;

    overflow: hidden;

    height: 100%;
    min-height: 390px;

    padding:
        42px
        28px
        32px;

    text-align: left;

    cursor: pointer;

    color: #1f2d3d;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(247, 251, 252, 1) 100%
        );

    border:
        1px solid rgba(3, 163, 168, 0.12);

    border-radius: 22px;

    box-shadow:
        0 12px 30px rgba(0, 40, 50, 0.07);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        color 0.4s ease;
}

.tarjeta-servicio::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    opacity: 0;

    background:
        linear-gradient(
            145deg,
            var(--azul-profundo) 0%,
            var(--azul-principal) 55%,
            var(--teal-corporativo) 100%
        );

    transition:
        opacity 0.4s ease;
}

.tarjeta-servicio::after {
    content: "";

    position: absolute;

    top: -90px;
    right: -90px;

    width: 180px;
    height: 180px;

    z-index: 0;

    opacity: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(3, 163, 168, 0.35),
            transparent 70%
        );

    transition:
        opacity 0.4s ease,
        transform 0.5s ease;
}

.tarjeta-servicio > * {
    position: relative;
    z-index: 2;
}

.numero-servicio {
    position: absolute;

    top: 22px;
    right: 24px;

    color:
        rgba(2, 91, 105, 0.28);

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

    letter-spacing: 2px;

    transition:
        color 0.35s ease,
        transform 0.35s ease;
}

.icono-servicio {
    width: 72px;
    height: 72px;

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

    margin-bottom: 30px;

    color:
        var(--turquesa-acento);

    font-size: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(3, 163, 168, 0.12),
            rgba(2, 91, 105, 0.06)
        );

    border:
        1px solid rgba(3, 163, 168, 0.15);

    border-radius: 18px;

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

.tarjeta-servicio h4 {
    margin-bottom: 0;

    color:
        var(--azul-principal);

    font-size: 1.12rem;
    font-weight: 800;

    letter-spacing: 0.8px;

    transition:
        color 0.35s ease;
}

.tarjeta-servicio .linea {
    width: 45px;
    height: 3px;

    margin:
        18px
        0
        22px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--turquesa-acento),
            var(--teal-corporativo)
        );

    transition:
        width 0.4s ease,
        background 0.4s ease;
}

.tarjeta-servicio p {
    margin-bottom: 30px;

    color: #5b6770;

    font-size: 0.98rem;
    line-height: 1.65;

    transition:
        color 0.35s ease;
}

.enlace-servicio {
    position: absolute;

    left: 28px;
    bottom: 28px;

    display: flex;
    align-items: center;

    gap: 8px;

    color:
        var(--teal-corporativo);

    font-size: 0.90rem;
    font-weight: 700;

    letter-spacing: 0.3px;

    transition:
        color 0.35s ease,
        gap 0.35s ease;
}

.enlace-servicio i {
    transition:
        transform 0.35s ease;
}

.tarjeta-servicio:hover {
    color: white;

    border-color:
        rgba(3, 163, 168, 0.55);

    transform:
        translateY(-10px);

    box-shadow:
        0 25px 55px rgba(1, 60, 70, 0.22);
}

.tarjeta-servicio:hover::before {
    opacity: 1;
}

.tarjeta-servicio:hover::after {
    opacity: 1;

    transform:
        scale(1.25);
}

.tarjeta-servicio:hover .numero-servicio {
    color:
        rgba(255, 255, 255, 0.35);

    transform:
        translateY(-2px);
}

.tarjeta-servicio:hover .icono-servicio {
    color: white;

    background:
        rgba(255, 255, 255, 0.12);

    border-color:
        rgba(255, 255, 255, 0.18);

    transform:
        translateY(-4px)
        scale(1.05);
}

.tarjeta-servicio:hover h4 {
    color: white;
}

.tarjeta-servicio:hover p {
    color:
        rgba(255, 255, 255, 0.82);
}

.tarjeta-servicio:hover .linea {
    width: 75px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            var(--turquesa-acento)
        );
}

.tarjeta-servicio:hover .enlace-servicio {
    gap: 13px;
    color: white;
}

.tarjeta-servicio:hover .enlace-servicio i {
    transform:
        translateX(3px);
}


/* =========================================================
   NAVBAR DE SERVICIOS
========================================================= */

.nav-servicios {
    display: flex;
    align-items: center;
}

.btn-home-img {
    width: 44px;
    height: 44px;

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

    padding: 8px;

    border-radius: 50%;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.btn-home-img img {
    width: 25px;
    height: 25px;

    object-fit: contain;

    transition:
        transform 0.3s ease;
}

.btn-home-img:hover {
    background:
        rgba(255, 255, 255, 0.12);

    transform:
        translateY(-1px);
}

.btn-home-img:hover img {
    transform:
        scale(1.1);
}


/* =========================================================
   MODALES
========================================================= */

.modal-content {
    overflow: hidden;

    border: none;

    border-radius: 20px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.24);
}

.modal-header {
    padding:
        22px
        28px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--azul-profundo),
            var(--azul-principal)
        );

    border-bottom: none;
}

.modal-body {
    padding: 30px;
}

.modal-body ul {
    padding-left: 20px;
}


/* =========================================================
   GALERÍA / LOGOS INDUSTRIALES
========================================================= */

.logo-industrial {
    width: 100%;
    height: 170px;

    padding: 18px;

    object-fit: contain;

    background: #f4f6f8;

    border:
        1px solid rgba(2, 91, 105, 0.06);

    border-radius: 16px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

.logo-industrial:hover {
    transform:
        translateY(-4px)
        scale(1.025);

    background: white;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   GALERÍA DCS - ROBÓTICA
========================================================= */

.robotica-galeria {
    padding-top: 10px;
}

.robotica-galeria h4 {
    color: var(--azul-principal);

    font-weight: 800;
}

.robotica-galeria p {
    color: #56616a;

    line-height: 1.7;
}


/* IMAGEN PRINCIPAL */

.dcs-principal {
    width: 100%;

    overflow: hidden;

    background: #eef3f4;

    border:
        1px solid rgba(2, 91, 105, 0.10);

    border-radius: 18px;

    box-shadow:
        0 12px 32px rgba(0, 40, 50, 0.10);
}

.dcs-principal img {
    display: block;

    width: 100%;
    height: 520px;

    object-fit: contain;

    background: #e5e7e8;

    transition:
        opacity 0.2s ease,
        transform 0.35s ease;
}

.dcs-principal:hover img {
    transform:
        scale(1.015);
}


/* MINIATURAS */

.dcs-miniaturas {
    display: grid;

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

    gap: 14px;

    margin-top: 18px;
}

.dcs-miniatura {
    padding: 4px;

    overflow: hidden;

    cursor: pointer;

    background: white;

    border:
        2px solid transparent;

    border-radius: 12px;

    box-shadow:
        0 6px 18px rgba(0, 40, 50, 0.08);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.dcs-miniatura img {
    display: block;

    width: 100%;
    height: 95px;

    object-fit: cover;

    border-radius: 8px;
}

.dcs-miniatura:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(3, 163, 168, 0.45);

    box-shadow:
        0 10px 24px rgba(0, 40, 50, 0.14);
}

.dcs-miniatura.active {
    border-color:
        var(--turquesa-acento);

    box-shadow:
        0 8px 22px rgba(3, 163, 168, 0.22);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    padding:
        28px
        20px;

    color:
        #cfd8dc;

    background:
        linear-gradient(
            180deg,
            var(--azul-profundo),
            #002e35
        );

    font-size: 14px;

    text-align: center;
}


/* =========================================================
   BOTONES FLOTANTES
========================================================= */

.botones-contacto {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 999;

    display: flex;
    flex-direction: column;

    gap: 15px;
}

.btn-whatsapp,
.btn-correo {
    width: 55px;
    height: 55px;

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

    color: white;

    border-radius: 50%;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.25);

    font-size: 22px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.btn-whatsapp {
    background:
        #25D366;
}

.btn-correo {
    background:
        var(--azul-principal);
}

.btn-whatsapp:hover,
.btn-correo:hover {
    color: white;

    filter:
        brightness(1.05);

    transform:
        translateY(-3px)
        scale(1.07);

    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   ANIMACIONES DE SCROLL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform:
        translateY(0);
}

.reveal-left {
    opacity: 0;

    transform:
        translateX(-50px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.reveal-left.active {
    opacity: 1;

    transform:
        translateX(0);
}

.reveal-right {
    opacity: 0;

    transform:
        translateX(50px);

    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
}

.reveal-right.active {
    opacity: 1;

    transform:
        translateX(0);
}

.reveal-scale {
    opacity: 0;

    transform:
        scale(0.94);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-scale.active {
    opacity: 1;

    transform:
        scale(1);
}


/* =========================================================
   RETRASOS DE ANIMACIONES
========================================================= */

.delay-1 {
    transition-delay:
        0.10s;
}

.delay-2 {
    transition-delay:
        0.20s;
}

.delay-3 {
    transition-delay:
        0.30s;
}

.delay-4 {
    transition-delay:
        0.40s;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    /* Navbar transparente al inicio */
    .navbar {
        background: rgba(1, 60, 70, 0.22);

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

        box-shadow: none;
    }

    /* Navbar oscuro después de hacer scroll */
    .navbar.scrolled {
        background: rgba(1, 60, 70, 0.92);

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

        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    }

    /* Menú desplegable */
    .navbar-collapse {
        margin-top: 8px;
        padding: 12px 18px 16px;

        border-radius: 14px;

        transition:
            background 0.3s ease,
            box-shadow 0.3s ease;
    }

    /* Cuando el menú hamburguesa está abierto */
    .navbar-collapse.show {
        background: rgba(1, 60, 70, 0.96);

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

        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
    }

    /* Enlaces del menú */
    .navbar .nav-link {
        margin-left: 0;
        padding: 10px 0;

        color: white !important;
    }
}


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

@media (max-width: 768px) {

    :root {
        --navbar-height: 72px;
    }

    /* NAVBAR */

    .navbar {
        width: 100%;
        max-width: 100%;

        min-height: var(--navbar-height);

        padding:
            8px
            12px;
    }

    .navbar .container-fluid {
        width: 100%;
        max-width: 100%;

        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 58px);

        gap: 8px;

        font-size: 0.82rem;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .navbar-brand img {
        width: 85px;
        height: 55px;

        object-fit: contain;
        object-position: left center;

        flex-shrink: 0;

        transition: transform var(--transicion-suave);
    }

    .navbar-toggler {
        flex-shrink: 0;

        margin-left: auto;
    }

    /* HERO */

    .hero,
    .hero-servicios {
        width: 100%;
        max-width: 100%;

        height: 100svh;
        min-height: 600px;

        padding:
            0
            20px;

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

        overflow: hidden;
    }

    .hero-contenido,
    .hero .container,
    .hero-servicios .container,
    .contenido-hero {
        width: 100%;
        max-width: 100%;

        margin:
            0
            auto;

        padding-left: 10px;
        padding-right: 10px;

        text-align: center;
    }

    .hero h1,
    .hero-servicios h1 {
        width: 100%;
        max-width: 100%;

        margin-left: auto;
        margin-right: auto;

        font-size:
            clamp(
                1.85rem,
                8vw,
                2.35rem
            );

        line-height: 1.12;

        overflow-wrap: anywhere;

        word-break: normal;

        text-align: center;
    }

    .hero p,
    .hero-servicios p {
        width: 100%;
        max-width: 330px;

        margin-left: auto;
        margin-right: auto;

        padding: 0;

        font-size: 0.95rem;
        line-height: 1.55;

        text-align: center;
    }

    .hero-video {
        width: 100%;
        height: 100%;

        object-fit: cover;

        object-position:
            center
            center;
    }

    /* SECCIONES */

    .empresa-destacada,
    .empresa-nueva,
    .mision-vision-bg,
    .areas,
    .servicios-grid,
    .seccion-gris {
        padding:
            70px
            18px;
    }

    /* QUIÉNES SOMOS */

    .titulo-empresa {
        font-size: 2rem;
    }

    .empresa-nueva .row {
        margin-left: 0;
        margin-right: 0;
    }

    .empresa-nueva p {
        width: 100%;

        overflow-wrap:
            break-word;
    }

    .empresa-img-box {
        margin-top: 20px;
    }

    .empresa-img-box img {
        width:
            min(
                260px,
                80%
            );

        height: auto;
    }

    /* TEXTO MÓVIL */

    .texto-justificado,
    .empresa-nueva p,
    .mision-vision-card p {
        text-align: left;
    }

    /* MISIÓN Y VISIÓN */

    .mision-vision-card {
        padding:
            30px
            22px;
    }

    /* TARJETAS SERVICIOS */

    .tarjeta-servicio {
        min-height: 360px;

        padding:
            35px
            24px
            30px;
    }

    .enlace-servicio {
        left: 24px;
        bottom: 25px;
    }

    /* MODALES */

    .modal-dialog {
        margin: 12px;
    }

    .modal-content {
        border-radius: 16px;
    }

    .modal-header {
        padding:
            18px
            20px;
    }

    .modal-header .modal-title {
        font-size: 1.05rem;
    }

    .modal-body {
        padding:
            22px
            18px;
    }

    .modal-body p,
    .modal-body li {
        font-size: 0.93rem;

        line-height: 1.55;
    }

    .logo-industrial {
        height: 125px;

        padding: 12px;

        border-radius: 12px;
    }

    /* ANIMACIONES MÓVIL */

    .reveal-left {
        transform:
            translateX(-20px);
    }

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

    .reveal-left.active,
    .reveal-right.active {
        transform:
            translateX(0);
    }

    /* BOTONES FLOTANTES */

    .botones-contacto {
        right: 15px;
        bottom: 15px;
    }

    .btn-whatsapp,
    .btn-correo {
        width: 50px;
        height: 50px;
    }

    /* GALERÍA DCS MÓVIL */

    .dcs-principal img {
        height: 300px;
    }

    .dcs-miniaturas {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .dcs-miniatura img {
        height: 90px;
    }
    .capabilities-list {
    justify-content: flex-start;

    gap:
        12px
        22px;

    padding:
        20px
        6px;

    font-size: 0.68rem;

    letter-spacing: 0.8px;
    }

    .capabilities-list span:not(:last-child)::after {
        width: 3px;
        height: 3px;

        margin-left: 22px;
    }
    /* =========================================================
    CAPACIDADES V2 - MÓVIL
    ========================================================= */

    .capacidades-v2 {
        padding: 80px 0;
    }

    .capacidades-header {
        margin-bottom: 65px;
    }

    .section-eyebrow {
        margin-bottom: 15px;

        font-size: 0.68rem;
    }

    .capacidades-header h2 {
        font-size: 2.35rem;

        line-height: 1.05;

        letter-spacing: -1px;
    }

    .capacidades-header p {
        margin-top: 22px;

        font-size: 0.94rem;
        line-height: 1.65;
    }

    .capacidad-bloque {
        padding: 70px 0;
    }

    .capacidad-numero {
        margin-bottom: 18px;

        font-size: 0.68rem;
    }

    .capacidad-bloque h3 {
        font-size: 2rem;

        line-height: 1.08;

        letter-spacing: -0.7px;
    }

    .capacidad-bloque p {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .capacidad-visual {
        min-height: 340px;

        margin-top: 15px;
    }

    .capacidad-visual-content > i {
        font-size: 6rem;
    }

    .capacidad-visual::before {
        width: 180px;
        height: 180px;
    }

    .capacidad-visual::after {
        width: 270px;
        height: 270px;
    }

    .capacidad-visual-content > span {
        margin-bottom: 25px;

        font-size: 0.65rem;
    }

    .capacidad-visual-content small {
        margin-top: 27px;

        font-size: 0.65rem;
    }

    .capacidades-cta {
        min-height: auto;

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

        margin-top: 55px;

        padding: 35px 28px;
    }

    .capacidades-cta .btn-primary-teknova {
        width: 100%;
    }

        /* SHOWCASE TEKNOVA */

    .teknova-showcase {
        padding: 90px 0 70px;
    }

    .showcase-header {
        margin-bottom: 55px;

        text-align: left;
    }

    .showcase-header h2 {
        font-size: 2.6rem;

        line-height: 1;

        letter-spacing: -1.5px;
    }

    .showcase-header p {
        margin-top: 22px;

        font-size: 0.92rem;
    }

    .showcase-stage {
        height: 580px;
    }

    .showcase-card-main {
        top: 50px;

        width: 88%;
        height: 360px;
    }

    .showcase-card-left {
        top: 330px;
        left: 1%;

        width: 52%;
        height: 180px;

        transform: rotate(-4deg);
    }

    .showcase-card-right {
        top: 355px;
        right: 1%;

        width: 52%;
        height: 180px;

        transform: rotate(4deg);
    }

    .showcase-card-info {
        padding:
            50px
            18px
            18px;
    }

    .showcase-card-info strong {
        font-size: 0.88rem;
    }

    .showcase-footer {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .showcase-footer span {
        padding: 18px 8px;

        font-size: 0.6rem;
    }

    .showcase-footer span:nth-child(2) {
        border-right: none;
    }

    .showcase-footer span:nth-child(-n+2) {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.10);
    }

   /* =========================================================
   AUTOMATIZACIÓN - MÓVIL
========================================================= */

    .automation-visual {
        min-height: 520px;
    }

    .automation-label {
        top: 24px;
        left: 22px;
    }

    .automation-system {
        width: 82%;

        grid-template-columns: 1fr;

        gap: 16px;
    }

    .automation-line {
        width: 1px;
        height: 35px;

        margin: 0 auto;
    }

    .automation-line::before,
    .automation-line::after {
        left: 50%;

        transform:
            translate(-50%, 0);
    }

    .automation-line::before {
        top: 0;
    }

    .automation-line::after {
        top: auto;
        bottom: 0;
    }

    .automation-signal {
        display: none;
    }

    .automation-device {
        width: 68px;
        height: 68px;
    }

    .automation-device-main {
        width: 78px;
        height: 78px;
    }

    .automation-device i {
        font-size: 1.6rem;
    }

    .automation-device-main i {
        font-size: 2rem;
    }

    .automation-node > span {
        display: none;
    }

    .automation-node strong {
        margin-top: 8px;
    }

    .automation-node small {
        display: none;
    }

    .automation-status {
        left: 22px;
        right: 22px;
        bottom: 20px;
    }

        /* =========================================================
    MANTENIMIENTO - MÓVIL
    ========================================================= */

    .maintenance-visual {
        min-height: 590px;

        padding:
            70px
            22px
            60px;
    }

    .maintenance-topbar {
        left: 22px;
        right: 22px;
    }

    .maintenance-dashboard {
        grid-template-columns: 1fr;

        grid-template-areas:
            "health"
            "metrics"
            "chart";

        gap: 14px;
    }

    .maintenance-health {
        min-height: 150px;

        padding: 20px;
    }

    .maintenance-health-value {
        font-size: 3rem;
    }

    .maintenance-metrics {
        padding: 20px;

        gap: 14px;
    }

    .maintenance-chart {
        padding:
            18px
            18px
            14px;
    }

    .maintenance-chart-area {
        height: 70px;
    }

    .maintenance-footer {
        left: 22px;
        right: 22px;

        font-size: 0.48rem;
    }
}


/* =========================================================
   RESPONSIVE - CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 480px) {

    .navbar-brand {
        font-size: 0.78rem;
    }

    .navbar-brand img {
        width: 72px;
        height: 48px;

        object-fit: contain;
        object-position: left center;
    }

    .hero,
    .hero-servicios {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1,
    .hero-servicios h1 {
        font-size:
            clamp(
                1.7rem,
                8vw,
                2rem
            );

        line-height: 1.12;
    }

    .hero p,
    .hero-servicios p {
        max-width: 300px;

        font-size: 0.9rem;
    }

    .badge-empresa {
        font-size: 14px;
    }

    .titulo-empresa {
        font-size: 1.8rem;
    }

    .tarjeta-servicio {
        min-height: 350px;
    }

    .icono-servicio {
        width: 64px;
        height: 64px;

        font-size: 30px;
    }

    .modal-dialog {
        margin: 8px;
    }

    .modal-body {
        padding:
            18px
            14px;
    }

    .logo-industrial {
        height: 105px;

        padding: 10px;
    }

    footer {
        font-size: 12px;
    }
    .dcs-principal img {
    height: 230px;
    }

    .dcs-miniatura img {
        height: 75px;
    }
}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}