﻿/* =========================================
RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, Helvetica, sans-serif;
background: #05070a;
color: #ffffff;
}

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

:root {

--background: #05070a;
--surface: #0b1016;

--text: #ffffff;
--text-muted: #a7b0bb;

--accent: #00c8ff;

--container: 1200px;


}

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

.container {
width: min(90%, var(--container));
margin: auto;
}

/* =========================================
HEADER
========================================= */

.header {


position: fixed;

top: 0;
left: 0;

width: 100%;

z-index: 1000;

background: rgba(5, 7, 10, 0.75);

backdrop-filter: blur(12px);

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


}

.nav-container {


height: 80px;

display: flex;

align-items: center;

justify-content: space-between;


}

/* =========================================
LOGO
========================================= */

.logo {


color: white;

text-decoration: none;

font-size: 1.5rem;

font-weight: 700;

letter-spacing: -0.5px;


}

.logo span {


color: var(--accent);


}

/* =========================================
NAV
========================================= */

.nav {


display: flex;

gap: 35px;


}

.nav a {


color: var(--text-muted);

text-decoration: none;

font-size: 0.95rem;

transition: 0.3s;


}

.nav a:hover {


color: var(--accent);


}

/* =========================================
NAV BUTTON
========================================= */

.nav-button {


text-decoration: none;

color: white;

padding: 11px 22px;

border: 1px solid var(--accent);

border-radius: 6px;

transition: 0.3s;


}

.nav-button:hover {


background: var(--accent);

color: #000;


}

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

.hero {


min-height: 100vh;

position: relative;

display: flex;

align-items: center;

overflow: hidden;


}

.hero-background {

position: absolute;

inset: 0;

overflow: hidden;

z-index: 0;

background:
    radial-gradient(
        circle at 70% 45%,
        rgba(0, 200, 255, 0.16),
        transparent 30%
    ),
    radial-gradient(
        circle at 20% 80%,
        rgba(0, 200, 255, 0.06),
        transparent 30%
    ),
    #05070a;

}

/* Red tecnológica */

.hero-background::before {

content: "";

position: absolute;

inset: -50%;

background-image:

    linear-gradient(
        rgba(0, 200, 255, 0.08) 1px,
        transparent 1px
    ),

    linear-gradient(
        90deg,
        rgba(0, 200, 255, 0.08) 1px,
        transparent 1px
    );

background-size: 70px 70px;

transform: perspective(500px) rotateX(60deg);

transform-origin: center;

animation: techGrid 18s linear infinite;

}

/* Luz ambiental */

.hero-background::after {

content: "";

position: absolute;

width: 500px;

height: 500px;

border-radius: 50%;

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

filter: blur(100px);

right: 5%;

top: 25%;

animation: ambientLight 6s ease-in-out infinite alternate;

}

/* Movimiento de la red */

@keyframes techGrid {

from {

    transform:
        perspective(500px)
        rotateX(60deg)
        translateY(0);

}

to {

    transform:
        perspective(500px)
        rotateX(60deg)
        translateY(70px);

}

}

/* Movimiento de la luz */

@keyframes ambientLight {

from {

    transform: scale(0.9);

    opacity: 0.5;

}

to {

    transform: scale(1.15);

    opacity: 1;

}

}


.hero-content {


position: relative;

z-index: 2;

max-width: 850px;

padding-top: 80px;


}

/* =========================================
HERO TEXT
========================================= */

.hero-tag {


color: var(--accent);

font-size: 0.85rem;

letter-spacing: 4px;

margin-bottom: 25px;

font-weight: 600;


}

.hero h1 {


font-size: clamp(3rem, 7vw, 6rem);

line-height: 0.95;

letter-spacing: -4px;

margin-bottom: 30px;


}

.hero h1 span {


display: block;

color: transparent;

-webkit-text-stroke: 1px white;


}

.hero-description {


max-width: 650px;

color: var(--text-muted);

font-size: 1.15rem;

line-height: 1.7;

margin-bottom: 40px;


}

/* =========================================
BUTTONS
========================================= */

.hero-buttons {


display: flex;

gap: 15px;

flex-wrap: wrap;


}

.button {


display: inline-block;

padding: 15px 28px;

border-radius: 6px;

text-decoration: none;

font-weight: 600;

transition: 0.3s;


}

.button-primary {


background: var(--accent);

color: #000;


}

.button-primary:hover {


transform: translateY(-3px);


}

.button-secondary {


color: white;

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


}

.button-secondary:hover {


border-color: var(--accent);

color: var(--accent);


}

/* =========================================
SCROLL INDICATOR
========================================= */

.scroll-indicator {


position: absolute;

bottom: 35px;

left: 50%;

transform: translateX(-50%);

width: 34px;

height: 50px;

display: flex;

justify-content: center;

align-items: flex-start;

z-index: 5;


}

/* Flecha */

.scroll-indicator span {


position: relative;

width: 18px;

height: 18px;

border-right: 2px solid var(--accent);

border-bottom: 2px solid var(--accent);

transform: rotate(45deg);

animation:
    scrollArrow
    2s
    ease-in-out
    infinite;


}

/* Animación */

@keyframes scrollArrow {


0% {

    transform:
        rotate(45deg)
        translate(-2px, -2px);

    opacity: 0.3;

}

50% {

    transform:
        rotate(45deg)
        translate(5px, 5px);

    opacity: 1;

}

100% {

    transform:
        rotate(45deg)
        translate(-2px, -2px);

    opacity: 0.3;

}


}

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

@media (max-width: 800px) {


.nav {

    display: none;

}

.nav-button {

    display: none;

}

.hero h1 {

    letter-spacing: -2px;

}

.hero-description {

    font-size: 1rem;

}

.hero-buttons {

    flex-direction: column;

    align-items: stretch;

}

.button {

    text-align: center;

}


}
/* =========================================
PARTICULAS
========================================= */

.particles {


position: absolute;

inset: 0;

z-index: 1;

pointer-events: none;


}

.particle {


position: absolute;

width: 3px;

height: 3px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 8px var(--accent),
    0 0 15px var(--accent);

opacity: 0;

animation:
    particleFloat
    6s
    ease-in-out
    infinite;


}

@keyframes particleFloat {

0% {

    opacity: 0;

    transform: translateY(20px);

}

30% {

    opacity: 0.8;

}

70% {

    opacity: 0.5;

}

100% {

    opacity: 0;

    transform: translateY(-40px);

}

}
/* =========================================
SERVICES
========================================= */

.services {


padding: 140px 0;

background:
    radial-gradient(
        circle at 50% 0%,
        rgba(0, 200, 255, 0.05),
        transparent 35%
    ),
    var(--background);


}

.section-header {


max-width: 700px;

margin-bottom: 70px;


}

.section-tag {


color: var(--accent);

font-size: 0.75rem;

letter-spacing: 4px;

font-weight: 600;

margin-bottom: 20px;


}

.section-header h2 {


font-size: clamp(2.5rem, 5vw, 4.5rem);

line-height: 1;

letter-spacing: -3px;

margin-bottom: 25px;


}

.section-header h2 span {


color: transparent;

-webkit-text-stroke: 1px white;


}

.section-description {


color: var(--text-muted);

font-size: 1.05rem;

line-height: 1.7;


}

/* =========================================
GRID
========================================= */

.services-grid {


display: grid;

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

gap: 20px;


}

/* =========================================
CARD
========================================= */

.service-card {


position: relative;

min-height: 360px;

padding: 45px;

background: #080d13;

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

border-radius: 12px;

overflow: hidden;

display: flex;

flex-direction: column;

justify-content: flex-end;

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


}

.service-card::before {


content: "";

position: absolute;

width: 250px;

height: 250px;

right: -100px;

top: -100px;

border-radius: 50%;

background: rgba(0, 200, 255, 0.06);

filter: blur(40px);

transition: 0.5s;


}

.service-card:hover {


transform: translateY(-8px);

border-color:
    rgba(0, 200, 255, 0.5);

background: #0a1118;


}

.service-card:hover::before {


transform: scale(1.5);

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


}

/* =========================================
NUMBER
========================================= */

.service-number {


position: absolute;

top: 25px;

right: 30px;

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

font-size: 0.8rem;

letter-spacing: 2px;


}


/* =========================================
TEXT
========================================= */

.service-card h3 {


position: relative;

font-size: 1.7rem;

margin-bottom: 15px;


}

.service-card p {


position: relative;

color: var(--text-muted);

line-height: 1.6;

max-width: 500px;

margin-bottom: 25px;


}

/* =========================================
LINK
========================================= */

.service-link {


position: relative;

width: fit-content;

color: white;

text-decoration: none;

font-size: 0.9rem;

font-weight: 600;


}

.service-link span {


display: inline-block;

margin-left: 8px;

color: var(--accent);

transition: 0.3s;


}

.service-link:hover span {


transform: translateX(6px);


}

/* =========================================
MOBILE
========================================= */

@media (max-width: 700px) {


.services {

    padding: 100px 0;

}


.services-grid {

    grid-template-columns: 1fr;

}


.service-card {

    min-height: 330px;

    padding: 30px;

}


}
/* =========================================
CCTV ANIMATION
========================================= */

.service-cctv {


isolation: isolate;


}

/* CONTENEDOR */

.cctv-animation {


position: absolute;

inset: 0;

overflow: hidden;

opacity: 0.75;

transition: 0.5s;


}

.service-cctv:hover .cctv-animation {


opacity: 1;


}

/* =========================================
GRID DE ESCANEO
========================================= */

.scan-grid {


position: absolute;

inset: 0;

background-image:

    linear-gradient(
        rgba(0, 200, 255, 0.04) 1px,
        transparent 1px
    ),

    linear-gradient(
        90deg,
        rgba(0, 200, 255, 0.04) 1px,
        transparent 1px
    );

background-size: 35px 35px;

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


}

/* =========================================
CÁMARA
========================================= */

.cctv-camera {


position: absolute;

top: 65px;

right: 65px;

width: 150px;

height: 100px;

transform:
    rotate(-8deg);

transition: 0.5s;


}

.service-cctv:hover .cctv-camera {


transform:
    rotate(-3deg)
    translateY(-5px);


}

/* CUERPO */

.camera-body {


position: absolute;

width: 120px;

height: 70px;

right: 0;

top: 0;

border:

    1px solid
    rgba(0, 200, 255, 0.45);

border-radius: 14px;

background:
    linear-gradient(
        145deg,
        #101820,
        #05080c
    );

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


}

/* =========================================
LENTE
========================================= */

.camera-lens {


position: absolute;

left: -28px;

top: 12px;

width: 55px;

height: 55px;

border-radius: 50%;

border:

    2px solid
    rgba(0, 200, 255, 0.55);

background:

    radial-gradient(
        circle,
        #0b2630 0%,
        #061015 45%,
        #020406 70%
    );

box-shadow:

    0 0 15px
    rgba(0, 200, 255, 0.15);


}

/* REFLEJO DEL LENTE */

.lens-glow {


position: absolute;

width: 10px;

height: 10px;

border-radius: 50%;

top: 10px;

left: 14px;

background: var(--accent);

box-shadow:
    0 0 12px
    var(--accent);

animation:

    lensPulse
    2s
    ease-in-out
    infinite;


}

/* =========================================
SOPORTE
========================================= */

.camera-arm {


position: absolute;

width: 25px;

height: 55px;

background: #080d12;

border-left:
    1px solid
    rgba(0, 200, 255, 0.25);

right: 55px;

top: 65px;

transform:
    rotate(-20deg);


}

/* =========================================
LÍNEA DE ESCANEO
========================================= */

.scan-line {


position: absolute;

left: 0;

width: 100%;

height: 1px;

background: var(--accent);

box-shadow:

    0 0 8px
    var(--accent),

    0 0 20px
    rgba(0, 200, 255, 0.6);

opacity: 0.6;

animation:

    cameraScan
    4s
    linear
    infinite;


}

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

@keyframes cameraScan {


0% {

    top: 20%;

    opacity: 0;

}

10% {

    opacity: 0.7;

}

50% {

    opacity: 0.7;

}

90% {

    opacity: 0.7;

}

100% {

    top: 85%;

    opacity: 0;

}


}

@keyframes lensPulse {


0%,
100% {

    opacity: 0.5;

    transform: scale(0.8);

}

50% {

    opacity: 1;

    transform: scale(1.2);

}


}
.service-content {


position: relative;

z-index: 5;

margin-top: auto;


}
/* =========================================
COMPUTER ANIMATION
========================================= */

.service-computacion {


isolation: isolate;


}

.computer-animation {


position: absolute;

inset: 0;

overflow: hidden;

opacity: 0.8;


}

/* =========================================
MONITOR
========================================= */

.monitor {


position: absolute;

top: 55px;

right: 60px;

width: 180px;

height: 150px;

transition: 0.5s;


}

.service-computacion:hover .monitor {


transform:
    translateY(-6px)
    scale(1.04);


}

/* PANTALLA */

.monitor-screen {


position: absolute;

width: 180px;

height: 105px;

border-radius: 8px;

border:
    1px solid
    rgba(0, 200, 255, 0.5);

background: #03070a;

box-shadow:
    0 0 30px
    rgba(0, 200, 255, 0.08);

overflow: hidden;


}

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

.screen-header {


height: 22px;

display: flex;

align-items: center;

gap: 5px;

padding-left: 10px;

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


}

.screen-header span {


width: 5px;

height: 5px;

border-radius: 50%;

background: var(--accent);

opacity: 0.7;


}

/* =========================================
CÓDIGO
========================================= */

.screen-content {


padding: 14px;


}

.code-line {


height: 4px;

margin-bottom: 9px;

border-radius: 4px;

background: var(--accent);

opacity: 0.35;

animation:
    codePulse
    2.5s
    ease-in-out
    infinite;


}

.line-1 {
width: 70%;
}

.line-2 {
width: 45%;
animation-delay: 0.2s;
}

.line-3 {
width: 85%;
animation-delay: 0.4s;
}

.line-4 {
width: 55%;
animation-delay: 0.6s;
}

.line-5 {
width: 35%;
animation-delay: 0.8s;
}

/* =========================================
SOPORTE DEL MONITOR
========================================= */

.monitor-stand {


position: absolute;

width: 12px;

height: 30px;

background: #080d12;

left: 84px;

top: 105px;


}

.monitor-base {


position: absolute;

width: 65px;

height: 6px;

border-radius: 5px;

background: #0a1117;

border:
    1px solid
    rgba(0,200,255,0.25);

left: 57px;

top: 133px;


}

/* =========================================
PULSOS DE DATOS
========================================= */

.data-pulse {


position: absolute;

width: 5px;

height: 5px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 10px
    var(--accent);

opacity: 0;


}

.pulse-1 {


top: 70px;

right: 280px;

animation:
    dataFlow
    3s
    linear
    infinite;


}

.pulse-2 {


top: 130px;

right: 250px;

animation:
    dataFlow
    3s
    linear
    infinite;

animation-delay: 1s;


}

.pulse-3 {


top: 190px;

right: 300px;

animation:
    dataFlow
    3s
    linear
    infinite;

animation-delay: 2s;


}

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

@keyframes codePulse {


0%,
100% {

    opacity: 0.2;

}

50% {

    opacity: 0.7;

}


}

@keyframes dataFlow {


0% {

    transform:
        translateX(0)
        scale(0.5);

    opacity: 0;

}

20% {

    opacity: 0.8;

}

80% {

    opacity: 0.8;

}

100% {

    transform:
        translateX(160px)
        scale(1);

    opacity: 0;

}


}
/* =========================================
ELECTRICITY ANIMATION
========================================= */

.service-electricidad {
isolation: isolate;
}

.electric-animation {


position: absolute;

inset: 0;

overflow: hidden;

opacity: 0.75;


}

/* =========================================
CIRCUITOS
========================================= */

.circuit {


position: absolute;

height: 1px;

background:
    rgba(0, 200, 255, 0.25);

transform-origin: left center;


}

.circuit-1 {


width: 240px;

top: 90px;

right: 40px;

transform: rotate(15deg);


}

.circuit-2 {


width: 180px;

top: 155px;

right: 80px;

transform: rotate(-20deg);


}

.circuit-3 {


width: 220px;

top: 215px;

right: 30px;

transform: rotate(10deg);


}

/* =========================================
NODOS
========================================= */

.circuit-node {


position: absolute;

width: 8px;

height: 8px;

border-radius: 50%;

background: #071117;

border:
    1px solid
    rgba(0, 200, 255, 0.7);

box-shadow:
    0 0 10px
    rgba(0, 200, 255, 0.35);


}

.node-1 {


top: 84px;

right: 275px;


}

.node-2 {


top: 148px;

right: 255px;


}

.node-3 {


top: 208px;

right: 245px;


}

/* =========================================
PULSOS DE ENERGÍA
========================================= */

.energy {


position: absolute;

width: 7px;

height: 7px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 8px var(--accent),
    0 0 18px var(--accent);


}

.energy-1 {


top: 87px;

right: 275px;

animation:
    energyMove1
    2.5s
    linear
    infinite;


}

.energy-2 {


top: 152px;

right: 255px;

animation:
    energyMove2
    2.5s
    linear
    infinite;

animation-delay: 0.8s;


}

.energy-3 {


top: 212px;

right: 245px;

animation:
    energyMove3
    2.5s
    linear
    infinite;

animation-delay: 1.6s;


}

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

@keyframes energyMove1 {


0% {

    transform:
        translateX(0)
        scale(0.5);

    opacity: 0;

}

15% {

    opacity: 1;

}

85% {

    opacity: 1;

}

100% {

    transform:
        translateX(-190px)
        scale(1);

    opacity: 0;

}


}

@keyframes energyMove2 {


0% {

    transform:
        translateX(0)
        scale(0.5);

    opacity: 0;

}

15% {

    opacity: 1;

}

85% {

    opacity: 1;

}

100% {

    transform:
        translateX(-150px)
        scale(1);

    opacity: 0;

}


}

@keyframes energyMove3 {


0% {

    transform:
        translateX(0)
        scale(0.5);

    opacity: 0;

}

15% {

    opacity: 1;

}

85% {

    opacity: 1;

}

100% {

    transform:
        translateX(-180px)
        scale(1);

    opacity: 0;

}


}

/* =========================================
HOVER
========================================= */

.service-electricidad:hover .electric-animation {


opacity: 1;


}

.service-electricidad:hover .circuit {


background:
    rgba(0, 200, 255, 0.45);


}
/* =========================================
AUTOMATION NETWORK
========================================= */

.service-automatizacion {


isolation: isolate;


}

.automation-animation {


position: absolute;

inset: 0;

overflow: hidden;

opacity: 0.8;

transition: 0.5s;


}

.service-automatizacion:hover
.automation-animation {


opacity: 1;


}

/* =========================================
LÍNEAS DE RED
========================================= */

.network-line {


position: absolute;

height: 1px;

background:
    rgba(0, 200, 255, 0.25);

transform-origin: left center;

transition: 0.5s;


}

.line-a {


width: 150px;

top: 145px;

right: 115px;

transform: rotate(-35deg);


}

.line-b {


width: 150px;

top: 145px;

right: 115px;

transform: rotate(35deg);


}

.line-c {


width: 135px;

top: 145px;

right: 115px;

transform: rotate(-155deg);


}

.line-d {


width: 135px;

top: 145px;

right: 115px;

transform: rotate(155deg);


}

.service-automatizacion:hover
.network-line {


background:
    rgba(0, 200, 255, 0.55);

box-shadow:
    0 0 8px
    rgba(0, 200, 255, 0.3);


}

/* =========================================
NODOS
========================================= */

.network-node {


position: absolute;

width: 28px;

height: 28px;

border-radius: 50%;

background: #050b10;

border:
    1px solid
    rgba(0, 200, 255, 0.55);

display: flex;

align-items: center;

justify-content: center;

box-shadow:
    0 0 15px
    rgba(0, 200, 255, 0.08);

transition: 0.4s;


}

.network-node span {


width: 6px;

height: 6px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 10px
    var(--accent);


}

/* =========================================
NODO CENTRAL
========================================= */

.central-node {


width: 55px;

height: 55px;

top: 118px;

right: 95px;

border:
    1px solid
    rgba(0, 200, 255, 0.8);

box-shadow:
    0 0 25px
    rgba(0, 200, 255, 0.15);

animation:
    centralPulse
    3s
    ease-in-out
    infinite;


}

/* =========================================
SENSORES
========================================= */

.sensor-1 {


top: 65px;

right: 45px;


}

.sensor-2 {


top: 205px;

right: 45px;


}

.sensor-3 {


top: 65px;

right: 270px;


}

.sensor-4 {


top: 205px;

right: 270px;


}

/* =========================================
PULSOS DE INFORMACIÓN
========================================= */

.network-pulse {


position: absolute;

width: 6px;

height: 6px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 10px
    var(--accent);


}

/* =========================================
ANIMACIÓN PULSOS
========================================= */

.pulse-a {


top: 110px;

right: 135px;

animation:
    pulseNetworkA
    2s
    linear
    infinite;


}

.pulse-b {


top: 165px;

right: 135px;

animation:
    pulseNetworkB
    2s
    linear
    infinite;

animation-delay: 0.5s;


}

.pulse-c {


top: 120px;

right: 145px;

animation:
    pulseNetworkC
    2s
    linear
    infinite;

animation-delay: 1s;


}

.pulse-d {


top: 160px;

right: 145px;

animation:
    pulseNetworkD
    2s
    linear
    infinite;

animation-delay: 1.5s;


}

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

@keyframes centralPulse {


0%,
100% {

    transform: scale(0.95);

    box-shadow:
        0 0 15px
        rgba(0, 200, 255, 0.1);

}

50% {

    transform: scale(1.05);

    box-shadow:
        0 0 30px
        rgba(0, 200, 255, 0.3);

}


}

@keyframes pulseNetworkA {


0% {

    transform:
        translate(0, 0);

    opacity: 0;

}

20% {

    opacity: 1;

}

100% {

    transform:
        translate(-65px, -35px);

    opacity: 0;

}


}

@keyframes pulseNetworkB {


0% {

    transform:
        translate(0, 0);

    opacity: 0;

}

20% {

    opacity: 1;

}

100% {

    transform:
        translate(-65px, 35px);

    opacity: 0;

}


}

@keyframes pulseNetworkC {


0% {

    transform:
        translate(0, 0);

    opacity: 0;

}

20% {

    opacity: 1;

}

100% {

    transform:
        translate(65px, -35px);

    opacity: 0;

}


}

@keyframes pulseNetworkD {


0% {

    transform:
        translate(0, 0);

    opacity: 0;

}

20% {

    opacity: 1;

}

100% {

    transform:
        translate(65px, 35px);

    opacity: 0;

}


}

/* =========================================
HOVER NODOS
========================================= */

.service-automatizacion:hover
.network-node {


border-color:
    rgba(0, 200, 255, 0.9);


}

.service-automatizacion:hover
.network-node span {


transform: scale(1.4);


}
/* =========================================
PROCESS
========================================= */

.process {


padding: 140px 0;

background: var(--surface);


}

.process-header {


max-width: 700px;


}

/* =========================================
GRID
========================================= */

.process-grid {


display: grid;

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

gap: 0;

position: relative;


}

/* Línea central */

.process-grid::before {


content: "";

position: absolute;

top: 28px;

left: 10%;

right: 10%;

height: 1px;

background:
    rgba(0, 200, 255, 0.2);


}

/* =========================================
STEP
========================================= */

.process-step {


position: relative;

padding: 0 25px;

transition: 0.4s;


}

/* =========================================
PARTE SUPERIOR
========================================= */

.process-top {


height: 60px;

position: relative;

display: flex;

align-items: center;

justify-content: space-between;

margin-bottom: 35px;


}

/* =========================================
NÚMERO
========================================= */

.process-number {


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

font-size: 0.75rem;

letter-spacing: 2px;


}

/* =========================================
ICONO
========================================= */

.process-icon {


width: 56px;

height: 56px;

border-radius: 50%;

display: flex;

align-items: center;

justify-content: center;

background: #080d13;

border:
    1px solid
    rgba(0, 200, 255, 0.4);

color: var(--accent);

font-size: 1.3rem;

position: relative;

z-index: 2;

transition: 0.4s;


}

/* =========================================
TEXTO
========================================= */

.process-step h3 {


font-size: 1.4rem;

margin-bottom: 15px;


}

.process-step p {


color: var(--text-muted);

line-height: 1.6;

font-size: 0.95rem;


}

/* =========================================
HOVER
========================================= */

.process-step:hover {


transform:
    translateY(-8px);


}

.process-step:hover
.process-icon {


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

border-color:
    var(--accent);

box-shadow:
    0 0 25px
    rgba(0, 200, 255, 0.18);

transform:
    scale(1.08);


}

.process-step:hover
.process-number {


color:
    var(--accent);


}

/* =========================================
MOBILE
========================================= */

@media (max-width: 800px) {


.process {

    padding: 100px 0;

}


.process-grid {

    grid-template-columns: 1fr;

    gap: 45px;

}


.process-grid::before {

    top: 28px;

    bottom: 28px;

    left: 28px;

    right: auto;

    width: 1px;

    height: auto;

}


.process-step {

    padding-left: 70px;

}


.process-top {

    position: absolute;

    left: 0;

    top: 0;

    width: 56px;

    height: 56px;

    margin: 0;

}


.process-number {

    display: none;

}


}
/* =========================================
ABOUT
========================================= */

.about {


padding: 150px 0;

background:
    radial-gradient(
        circle at 80% 50%,
        rgba(0, 200, 255, 0.06),
        transparent 35%
    ),
    var(--background);

overflow: hidden;


}

.about-grid {


display: grid;

grid-template-columns:
    1.05fr 0.95fr;

gap: 90px;

align-items: center;


}

/* =========================================
TEXT
========================================= */

.about-content h2 {


font-size:
    clamp(2.8rem, 5vw, 4.8rem);

line-height: 0.95;

letter-spacing: -3px;

margin-bottom: 30px;


}

.about-content h2 span {


display: block;

color: transparent;

-webkit-text-stroke:
    1px white;


}

.about-lead {


color: white;

font-size: 1.15rem;

line-height: 1.7;

max-width: 650px;

margin-bottom: 22px;


}

.about-text {


color: var(--text-muted);

line-height: 1.7;

max-width: 650px;

margin-bottom: 45px;


}

/* =========================================
VALUES
========================================= */

.about-values {


display: flex;

flex-direction: column;

gap: 25px;


}

.about-value {


display: grid;

grid-template-columns:
    45px 1fr;

gap: 20px;

align-items: start;

padding-top: 20px;

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


}

.about-value > span {


color: var(--accent);

font-size: 0.75rem;

letter-spacing: 2px;


}

.about-value h3 {


font-size: 1.05rem;

margin-bottom: 7px;


}

.about-value p {


color: var(--text-muted);

line-height: 1.6;

font-size: 0.9rem;


}

/* =========================================
VISUAL
========================================= */

.about-visual {


position: relative;

min-height: 520px;

display: flex;

align-items: center;

justify-content: center;


}

/* =========================================
TECH CORE
========================================= */

.tech-core {


position: relative;

width: 320px;

height: 320px;

display: flex;

align-items: center;

justify-content: center;


}

.core-ring {


position: absolute;

border-radius: 50%;

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


}

.ring-1 {


width: 150px;

height: 150px;

animation:
    rotateCore
    12s
    linear
    infinite;


}

.ring-2 {


width: 230px;

height: 230px;

border-style: dashed;

animation:
    rotateCoreReverse
    18s
    linear
    infinite;


}

.ring-3 {


width: 310px;

height: 310px;

opacity: 0.4;

animation:
    corePulseRing
    4s
    ease-in-out
    infinite;


}

/* =========================================
CENTER
========================================= */

.core-center {


width: 95px;

height: 95px;

border-radius: 50%;

display: flex;

align-items: center;

justify-content: center;

background:
    radial-gradient(
        circle,
        rgba(0, 200, 255, 0.14),
        #050b10 70%
    );

border:
    1px solid
    rgba(0, 200, 255, 0.65);

box-shadow:
    0 0 35px
    rgba(0, 200, 255, 0.15);

position: relative;

z-index: 3;


}

.core-center span {


color: var(--accent);

font-size: 1.2rem;

font-weight: 700;

letter-spacing: 3px;


}

/* =========================================
ORBIT NODES
========================================= */

.orbit-node {


position: absolute;

width: 10px;

height: 10px;

border-radius: 50%;

background: var(--accent);

box-shadow:
    0 0 10px var(--accent),
    0 0 20px
    rgba(0, 200, 255, 0.5);


}

.about-node-1 {


top: 20px;

left: 155px;


}

.about-node-2 {


right: 20px;

top: 155px;


}

.about-node-3 {


bottom: 20px;

left: 155px;


}

.about-node-4 {


left: 20px;

top: 155px;


}

/* =========================================
LABELS
========================================= */

.tech-label {


position: absolute;

padding: 9px 14px;

border:
    1px solid
    rgba(0, 200, 255, 0.2);

background:
    rgba(5, 10, 15, 0.85);

color: var(--text-muted);

font-size: 0.65rem;

letter-spacing: 2px;

border-radius: 5px;

backdrop-filter:
    blur(8px);


}

.label-computacion {


top: 45px;

left: 20px;


}

.label-cctv {


top: 100px;

right: 0;


}

.label-electricidad {


bottom: 100px;

left: 0;


}

.label-automatizacion {


bottom: 40px;

right: 20px;


}

/* =========================================
ANIMATIONS
========================================= */

@keyframes rotateCore {


from {
    transform: rotate(0);
}

to {
    transform: rotate(360deg);
}


}

@keyframes rotateCoreReverse {


from {
    transform: rotate(360deg);
}

to {
    transform: rotate(0);
}


}

@keyframes corePulseRing {


0%,
100% {

    transform: scale(0.95);

    opacity: 0.25;

}

50% {

    transform: scale(1.03);

    opacity: 0.55;

}


}

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

@media (max-width: 900px) {


.about {

    padding: 110px 0;

}


.about-grid {

    grid-template-columns: 1fr;

    gap: 70px;

}


.about-visual {

    min-height: 430px;

}


}

@media (max-width: 500px) {


.about-content h2 {

    letter-spacing: -2px;

}


.tech-core {

    transform: scale(0.78);

}


.about-visual {

    min-height: 360px;

}


.tech-label {

    font-size: 0.55rem;

    letter-spacing: 1px;

}


}
/* =========================================
   PROJECTS
========================================= */

.projects {

    padding: 150px 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 200, 255, 0.05),
            transparent 35%
        ),
        var(--surface);

}


.projects-header {

    max-width: 760px;

}


/* =========================================
   GRID
========================================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    grid-template-rows:
        330px 330px;

    gap: 18px;

}


/* CCTV grande */

.project-cctv {

    grid-row:
        1 / 3;

}


/* COMPUTACIÓN */

.project-computacion {

    grid-column: 2;

}


/* FILA INFERIOR */

.project-electricidad,
.project-automatizacion {

    min-height: 330px;

}


/* Segunda columna inferior */

.projects-grid {

    grid-template-areas:
        "cctv computer"
        "cctv lower";

}


.project-cctv {

    grid-area: cctv;

}


.project-computacion {

    grid-area: computer;

}


/* Contenedor para posicionar
   las dos inferiores */

.project-electricidad {

    grid-row: 2;

    grid-column: 2;

    width: calc(50% - 9px);

}


.project-automatizacion {

    grid-row: 2;

    grid-column: 2;

    width: calc(50% - 9px);

    justify-self: end;

}


/* =========================================
   CARD
========================================= */

.project-card {

    position: relative;

    overflow: hidden;

    border-radius: 12px;

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

    background: #070b10;

    min-height: 300px;

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

}


/* =========================================
   IMAGE
========================================= */

.project-card img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

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

}


/* =========================================
   OVERLAY
========================================= */

.project-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 7, 11, 0.98) 5%,
            rgba(3, 7, 11, 0.75) 45%,
            rgba(3, 7, 11, 0.1) 100%
        );

    z-index: 1;

    transition: 0.5s;

}


/* =========================================
   NUMBER
========================================= */

.project-number {

    position: absolute;

    top: 25px;

    left: 28px;

    color: var(--accent);

    font-size: 0.75rem;

    letter-spacing: 2px;

    z-index: 3;

}


/* =========================================
   CONTENT
========================================= */

.project-content {

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    padding: 35px;

    z-index: 3;

}


.project-category {

    color: var(--accent);

    font-size: 0.7rem;

    letter-spacing: 2px;

    margin-bottom: 12px;

}


.project-content h3 {

    font-size: 1.8rem;

    line-height: 1.1;

    margin-bottom: 13px;

}


.project-description {

    color: var(--text-muted);

    font-size: 0.9rem;

    line-height: 1.6;

    max-width: 440px;

    margin-bottom: 20px;

}


/* =========================================
   LINK
========================================= */

.project-link {

    color: white;

    font-size: 0.85rem;

    font-weight: 600;

    text-decoration: none;

}


.project-link span {

    display: inline-block;

    margin-left: 10px;

    color: var(--accent);

    transition: 0.3s;

}


/* =========================================
   HOVER
========================================= */

.project-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(0, 200, 255, 0.55);

    box-shadow:
        0 15px 40px
        rgba(0, 0, 0, 0.35);

}


.project-card:hover img {

    transform:
        scale(1.07);

}


.project-card:hover
.project-overlay {

    background:
        linear-gradient(
            to top,
            rgba(3, 7, 11, 0.98) 5%,
            rgba(3, 15, 22, 0.68) 50%,
            rgba(0, 200, 255, 0.04) 100%
        );

}


.project-card:hover
.project-link span {

    transform:
        translateX(6px);

}


/* =========================================
   CARDS PEQUEÑAS
========================================= */

.project-electricidad
.project-content,
.project-automatizacion
.project-content {

    padding: 28px;

}


.project-electricidad
.project-content h3,
.project-automatizacion
.project-content h3 {

    font-size: 1.4rem;

}


.project-electricidad
.project-description,
.project-automatizacion
.project-description {

    font-size: 0.82rem;

}


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

@media (max-width: 900px) {

    .projects {

        padding: 110px 0;

    }


    .projects-grid {

        display: grid;

        grid-template-columns:
            1fr;

        grid-template-rows:
            auto;

        grid-template-areas:
            none;

    }


    .project-card,
    .project-cctv,
    .project-computacion,
    .project-electricidad,
    .project-automatizacion {

        grid-column: auto;

        grid-row: auto;

        width: 100%;

        min-height: 420px;

    }

}


@media (max-width: 500px) {

    .project-card,
    .project-cctv,
    .project-computacion,
    .project-electricidad,
    .project-automatizacion {

        min-height: 380px;

    }


    .project-content {

        padding: 25px;

    }


    .project-content h3 {

        font-size: 1.5rem;

    }


    .project-description {

        font-size: 0.85rem;

    }

}
/* =========================================
   PROJECT MODAL
========================================= */

.project-modal {

    position: fixed;

    inset: 0;

    z-index: 5000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

}


.project-modal.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* =========================================
   BACKDROP
========================================= */

.project-modal-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(2, 5, 8, 0.88);

    backdrop-filter:
        blur(10px);

}


/* =========================================
   DIALOG
========================================= */

.project-modal-dialog {

    position: relative;

    z-index: 2;

    width:
        min(1100px, 100%);

    max-height:
        calc(100vh - 60px);

    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    background:
        #070c11;

    border:
        1px solid
        rgba(0, 200, 255, 0.25);

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 30px 90px
        rgba(0,0,0,0.6);

    transform:
        translateY(25px)
        scale(0.97);

    transition:
        transform 0.4s ease;

}


.project-modal.active
.project-modal-dialog {

    transform:
        translateY(0)
        scale(1);

}


/* =========================================
   CLOSE
========================================= */

.project-modal-close {

    position: absolute;

    top: 18px;

    right: 18px;

    width: 42px;

    height: 42px;

    border-radius: 50%;

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

    background:
        rgba(5, 8, 12, 0.75);

    color: white;

    font-size: 1.6rem;

    cursor: pointer;

    z-index: 5;

    transition: 0.3s;

}


.project-modal-close:hover {

    border-color:
        var(--accent);

    color:
        var(--accent);

    transform:
        rotate(90deg);

}


/* =========================================
   IMAGE
========================================= */

.project-modal-image {

    min-height: 600px;

    position: relative;

    overflow: hidden;

}


.project-modal-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to right,
            transparent 55%,
            rgba(7,12,17,0.85) 100%
        );

}


.project-modal-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}


/* =========================================
   CONTENT
========================================= */

.project-modal-content {

    padding:
        70px 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.project-modal-category {

    color:
        var(--accent);

    font-size: 0.7rem;

    letter-spacing: 3px;

    margin-bottom: 18px;

}


.project-modal-content h3 {

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

    line-height: 1;

    margin-bottom: 25px;

}


.project-modal-description {

    color:
        var(--text-muted);

    line-height: 1.7;

    margin-bottom: 35px;

}


/* =========================================
   FEATURES
========================================= */

.project-modal-features {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 40px;

}


.project-modal-feature {

    display: flex;

    align-items: center;

    gap: 12px;

    color:
        #dbe3ea;

    font-size:
        0.92rem;

}


.project-modal-feature::before {

    content: "✓";

    color:
        var(--accent);

}


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

.project-modal-cta {

    width:
        fit-content;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding:
        14px 20px;

    border:
        1px solid
        var(--accent);

    border-radius:
        6px;

    color:
        white;

    text-decoration:
        none;

    font-weight:
        600;

    transition:
        0.3s;

}


.project-modal-cta span {

    color:
        var(--accent);

    transition:
        0.3s;

}


.project-modal-cta:hover {

    background:
        var(--accent);

    color:
        #000;

}


.project-modal-cta:hover span {

    color:
        #000;

    transform:
        translateX(5px);

}


/* =========================================
   BODY MODAL OPEN
========================================= */

body.modal-open {

    overflow: hidden;

}


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

@media (max-width: 850px) {

    .project-modal {

        padding: 15px;

        align-items:
            flex-start;

        overflow-y:
            auto;

    }


    .project-modal-dialog {

        grid-template-columns:
            1fr;

        max-height:
            none;

    }


    .project-modal-image {

        min-height:
            340px;

    }


    .project-modal-image::after {

        background:
            linear-gradient(
                to bottom,
                transparent 55%,
                rgba(7,12,17,0.9)
                100%
            );

    }


    .project-modal-content {

        padding:
            40px 30px;

    }

}


@media (max-width: 500px) {

    .project-modal-image {

        min-height:
            270px;

    }


    .project-modal-content {

        padding:
            35px 22px;

    }


    .project-modal-close {

        width:
            38px;

        height:
            38px;

    }

}
/* =========================================
   CONTACT
========================================= */

.contact {

    position: relative;

    padding: 150px 0;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(0, 200, 255, 0.09),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 30%,
            rgba(0, 200, 255, 0.035),
            transparent 25%
        ),
        var(--background);

}
.contact::before {

    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(84%, 1200px);
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 200, 255, 0.30),
        transparent
    );

}

.contact-grid {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 100px;

    align-items: start;

}


/* =========================================
   INFO
========================================= */

.contact-info {

    position: sticky;

    top: 140px;

}


.contact-info h2 {

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    line-height: 0.95;

    letter-spacing: -3px;

    margin-bottom: 30px;

}


.contact-info h2 span {

    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px var(--accent);

}


.contact-lead {

    max-width: 500px;

    color: var(--text-muted);

    line-height: 1.8;

    font-size: 1.05rem;

    margin-bottom: 45px;

}


.contact-services {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.contact-services span {

    padding: 9px 14px;

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

    border-radius: 50px;

    color: #bec7cf;

    font-size: 0.78rem;

}


/* =========================================
   FORM
========================================= */

.contact-form-wrapper {

    padding: 45px;

    background:
        rgba(10, 15, 21, 0.72);

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

    border-radius: 14px;

    backdrop-filter: blur(12px);

}


.contact-form {

    display: flex;

    flex-direction: column;

    gap: 28px;

}


.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

}


.form-group {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.form-group label {

    color: #dce4eb;

    font-size: 0.78rem;

    letter-spacing: 1px;

}


.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding:
        15px 2px;

    border: none;

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

    outline: none;

    background: transparent;

    color: white;

    font-family: inherit;

    font-size: 0.95rem;

    transition:
        border-color 0.3s ease;

}


.form-group select {

    background:
        #0b1016;

    padding-left: 10px;

}


.form-group textarea {

    resize: vertical;

    min-height: 130px;

}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color:
        var(--accent);

}


/* =========================================
   BUTTON
========================================= */

.contact-submit {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding:
        18px 22px;

    background: transparent;

    border:
        1px solid
        var(--accent);

    border-radius: 6px;

    color: white;

    cursor: pointer;

    font-family: inherit;

    font-size: 0.9rem;

    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease;

}


.contact-submit:hover {

    background:
        var(--accent);

    color: #02070a;

}


.submit-arrow {

    color:
        var(--accent);

    font-size: 1.3rem;

    transition:
        transform 0.3s ease,
        color 0.3s ease;

}


.contact-submit:hover
.submit-arrow {

    transform:
        translateX(5px);

    color:
        #02070a;

}


.contact-submit:disabled {

    opacity: 0.55;

    cursor: wait;

}


/* =========================================
   STATUS
========================================= */

.form-status {

    min-height: 24px;

    font-size: 0.85rem;

}


.form-status.success {

    color:
        #55e6a5;

}


.form-status.error {

    color:
        #ff7070;

}


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

@media (max-width: 900px) {

    .contact {

        padding:
            110px 0;

    }


    .contact-grid {

        grid-template-columns:
            1fr;

        gap: 60px;

    }


    .contact-info {

        position: static;

    }

}


@media (max-width: 600px) {

    .contact-form-wrapper {

        padding:
            30px 22px;

    }


    .form-row {

        grid-template-columns:
            1fr;

    }


    .contact-info h2 {

        letter-spacing:
            -2px;

    }

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

.footer {

    padding:
        90px 0 30px;

    background:
        #030609;

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

}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.7fr 1fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 70px;

}


.footer-logo {

    display: inline-block;

    color: white;

    font-size: 1.6rem;

    font-weight: 700;

    text-decoration: none;

    margin-bottom: 20px;

}


.footer-logo span {

    color:
        var(--accent);

}


.footer-brand p {

    max-width: 370px;

    color:
        var(--text-muted);

    line-height: 1.7;

    font-size: 0.9rem;

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

}


.footer-column h4 {

    margin-bottom: 8px;

    color: white;

    font-size: 0.85rem;

    letter-spacing: 1px;

}


.footer-column a {

    color:
        var(--text-muted);

    text-decoration: none;

    font-size: 0.86rem;

    transition:
        color 0.3s ease,
        transform 0.3s ease;

}


.footer-column a:hover {

    color:
        var(--accent);

    transform:
        translateX(4px);

}


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

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

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

}


.footer-bottom p {

    color:
        #6f7882;

    font-size: 0.78rem;

}


.footer-top {

    color:
        var(--accent);

    text-decoration: none;

    font-size: 0.8rem;

    transition:
        transform 0.3s ease;

}


.footer-top:hover {

    transform:
        translateY(-3px);

}


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

@media (max-width: 900px) {

    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap:
            45px 30px;

    }

}


@media (max-width: 600px) {

    .footer {

        padding:
            70px 0 25px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

    }

}
/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
    display: none;
    position: relative;
    width: 45px;
    height: 45px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    cursor: pointer;
    z-index: 3002;
}

.menu-toggle span {
    position: absolute;
    left: 12px;
    width: 19px;
    height: 1px;
    background: white;
    transition: transform 0.35s ease,
                top 0.35s ease;
}

.menu-toggle span:first-child {
    top: 17px;
}

.menu-toggle span:last-child {
    top: 25px;
}

/* Convertir hamburguesa en X */

.menu-toggle.active span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.menu-toggle.active span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 3000;

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

    padding: 20px 8% 150px;

    overflow-y: auto;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0,200,255,0.08),
            transparent 30%
        ),
        #03070b;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-15px);

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

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 18px 0;

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

    color: white;
    text-decoration: none;

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

    font-weight: 600;
    line-height: 1;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.mobile-nav a span {
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 2px;
}

.mobile-nav a:hover {
    color: var(--accent);
    padding-left: 10px;
}


/* =========================================
   MOBILE MENU FOOTER
========================================= */

.mobile-menu-footer {
    margin-top: 45px;
}

.mobile-menu-footer p {
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 6px;
}

.mobile-menu-footer span {
    color: var(--text-muted);
    font-size: 0.75rem;
}


/* =========================================
   MENU OPEN
========================================= */

body.menu-open {
    overflow: hidden;
}


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

@media (max-width: 850px) {

    /* Si tu navegación de escritorio
       tiene otra clase, cambia .nav por ella */

    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

}

@media (min-width: 851px) {

    .mobile-menu {
        display: none;
    }

}
/* =========================================
   SCROLL REVEAL
========================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes */

.reveal-left {
    opacity: 0;
    transform: translateX(-45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal-left.show,
.reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* Retrasos */

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

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

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

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


/* Accesibilidad */

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

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* =====================================
   EXPERIENCIA EN CAMPO
===================================== */

.experience-section {
    padding: 130px 8% 100px;
    background:
        linear-gradient(
            to bottom,
            #020406 0%,
            #05080c 120px
        );
}

.experience-section .section-header {
    max-width: 800px;
    margin-bottom: 50px;
}

.experience-section .section-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #00c8ff;
}

.experience-section h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    margin-bottom: 18px;
}

.experience-section .section-header p {
    max-width: 700px;
    line-height: 1.7;
    color: #a9b3bd;
}


/* GALERÍA */

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.experience-card {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(0, 200, 255, 0.14);
    background: #0a0e13;
}

.experience-card-wide {
    grid-column: 1 / -1;
    min-height: 480px;
}


/* IMAGEN */

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;

    filter:
        brightness(0.68)
        contrast(1.08)
        saturate(0.82);

    transform: scale(1.02);

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


/* DEGRADADO */

.experience-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(2, 6, 10, 0.95) 0%,
            rgba(2, 6, 10, 0.55) 38%,
            rgba(2, 6, 10, 0.08) 72%
        );

    z-index: 1;
}


/* INFORMACIÓN */

.experience-info {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;

    transform: translateY(8px);

    transition: transform 0.5s ease;
}

.experience-info h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.experience-info p {
    max-width: 540px;
    line-height: 1.6;
    color: #b8c2cc;
}


/* HOVER */

.experience-card:hover img {
    transform: scale(1.08);

    filter:
        brightness(0.88)
        contrast(1.06)
        saturate(1);
}

.experience-card:hover .experience-info {
    transform: translateY(0);
}

.experience-card:hover {
    border-color: rgba(0, 200, 255, 0.45);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .experience-section {
        padding: 100px 6% 80px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-card,
    .experience-card-wide {
        grid-column: auto;
        min-height: 420px;
    }
}

@media (max-width: 600px) {

    .experience-section {
        padding: 90px 20px 70px;
    }

    .experience-card,
    .experience-card-wide {
        min-height: 360px;
    }

    .experience-info {
        left: 20px;
        right: 20px;
        bottom: 22px;
    }

    .experience-info h3 {
        font-size: 1.25rem;
    }
}
.experience-img-electricidad {
    object-position: center top !important;
}
/* =====================================
   LIGHTBOX - EXPERIENCIA
===================================== */

.experience-card {
    cursor: pointer;
}

.experience-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 30px;

    opacity: 0;
    visibility: hidden;

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

.experience-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* FONDO */

.experience-lightbox-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}


/* CONTENEDOR */

.experience-lightbox-content {
    position: relative;
    z-index: 2;

    max-width: 1100px;
    max-height: 90vh;

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


/* IMAGEN GRANDE */

.experience-lightbox-content img {
    display: block;

    max-width: 100%;
    max-height: 85vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border: 1px solid rgba(0, 200, 255, 0.35);

    box-shadow:
        0 0 40px rgba(0, 200, 255, 0.12);

    transform: scale(0.96);

    transition: transform 0.35s ease;
}

.experience-lightbox.active
.experience-lightbox-content img {
    transform: scale(1);
}


/* BOTÓN CERRAR */

.experience-lightbox-close {
    position: absolute;

    top: -18px;
    right: -18px;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(0, 200, 255, 0.45);
    border-radius: 50%;

    background: #05080c;
    color: #ffffff;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    z-index: 3;

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

.experience-lightbox-close:hover {
    color: #00c8ff;
    border-color: #00c8ff;
    transform: rotate(90deg);
}


/* CELULAR */

@media (max-width: 600px) {

    .experience-lightbox {
        padding: 18px;
    }

    .experience-lightbox-content img {
        max-height: 80vh;
    }

    .experience-lightbox-close {
        top: -15px;
        right: -5px;
    }
}
/* =====================================
   FLECHAS LIGHTBOX
===================================== */

.experience-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 52px;
    height: 52px;

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

    border: 1px solid rgba(0, 200, 255, 0.35);
    border-radius: 50%;

    background: rgba(5, 8, 12, 0.85);
    color: #ffffff;

    font-size: 38px;
    line-height: 1;

    cursor: pointer;
    z-index: 4;

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

.experience-lightbox-prev {
    left: -75px;
}

.experience-lightbox-next {
    right: -75px;
}

.experience-lightbox-nav:hover {
    color: #00c8ff;
    border-color: #00c8ff;
    background: #05080c;
}


/* CELULAR */

@media (max-width: 700px) {

    .experience-lightbox-prev {
        left: 10px;
    }

    .experience-lightbox-next {
        right: 10px;
    }

    .experience-lightbox-nav {
        width: 44px;
        height: 44px;

        font-size: 32px;

        background: rgba(5, 8, 12, 0.75);
    }
}
/* =====================================
   CONTADOR LIGHTBOX
===================================== */

.experience-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -35px;

    transform: translateX(-50%);

    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;

    color: #a9b3bd;

    z-index: 4;
}

.experience-lightbox-counter::first-letter {
    color: #00c8ff;
}
/* =====================================
   WHATSAPP FLOTANTE
===================================== */

.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 58px;
    height: 58px;

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

    border: 1px solid rgba(0, 200, 255, 0.45);
    border-radius: 50%;

    background: rgba(5, 8, 12, 0.92);
    color: #00c8ff;

    font-size: 30px;
    text-decoration: none;

    z-index: 9000;

    box-shadow:
        0 0 18px rgba(0, 200, 255, 0.15);

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

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #00c8ff;
    color: #ffffff;

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

/* Pulso sutil */
.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -6px;

    border: 1px solid rgba(0, 200, 255, 0.25);
    border-radius: 50%;

    animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
}
/* =====================================
   REDES SOCIALES - FOOTER
===================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(0, 200, 255, 0.30);
    border-radius: 50%;

    background: rgba(0, 200, 255, 0.03);
    color: #a9b3bd;

    font-size: 18px;
    text-decoration: none;

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

.footer-social a:hover {
    color: #00c8ff;
    border-color: #00c8ff;
    background: rgba(0, 200, 255, 0.08);

    transform: translateY(-4px);

    box-shadow:
        0 0 15px rgba(0, 200, 255, 0.20);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}
/* =========================================
   RECURSOS
========================================= */

.resources {

    padding:
        150px 0;

    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(0, 200, 255, 0.07),
            transparent 32%
        ),
        #05090d;

}


.resources-header {

    max-width:
        760px;

    margin-bottom:
        60px;

}


.resources-header h2 {

    margin-top:
        12px;

    font-size:
        clamp(2.4rem, 5vw, 4.3rem);

    line-height:
        1.05;

    letter-spacing:
        -3px;

}


.resources-header h2 span {

    color:
        var(--accent);

}


.resources-description {

    max-width:
        650px;

    margin-top:
        22px;

    color:
        var(--text-muted);

    line-height:
        1.7;

}


/* GRID */

.resources-grid {

    display:
        grid;

    grid-template-columns:
        1.3fr 0.7fr;

    gap:
        20px;

}


/* CARD */

.resource-card {

    position:
        relative;

    overflow:
        hidden;

    min-height:
        430px;

    padding:
        42px;

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

    border-radius:
        14px;

    background:
        linear-gradient(
            145deg,
            rgba(0,200,255,0.06),
            transparent 42%
        ),
        #080e14;

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

}


.resource-card::before {

    content:
        "";

    position:
        absolute;

    width:
        320px;

    height:
        320px;

    right:
        -160px;

    top:
        -160px;

    border-radius:
        50%;

    background:
        rgba(0,200,255,0.07);

    filter:
        blur(30px);

}


.resource-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(0,200,255,0.45);

    box-shadow:
        0 22px 55px rgba(0,0,0,0.28);

}


/* PARTE SUPERIOR */

.resource-top {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    margin-bottom:
        45px;

}


.resource-number {

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

    font-size:
        0.8rem;

    letter-spacing:
        2px;

}


.resource-status {

    padding:
        6px 10px;

    border:
        1px solid rgba(0,200,255,0.35);

    border-radius:
        50px;

    color:
        var(--accent);

    font-size:
        0.65rem;

    font-weight:
        700;

    letter-spacing:
        1.5px;

}


.resource-status.coming {

    color:
        var(--text-muted);

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

}


/* ICONO */

.resource-icon {

    position:
        relative;

    z-index:
        2;

    width:
        60px;

    height:
        60px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        30px;

    border:
        1px solid rgba(0,200,255,0.35);

    border-radius:
        50%;

    color:
        var(--accent);

    font-size:
        1.25rem;

}


/* TEXTO */

.resource-category {

    position:
        relative;

    z-index:
        2;

    margin-bottom:
        10px;

    color:
        var(--accent);

    font-size:
        0.7rem;

    font-weight:
        700;

    letter-spacing:
        2px;

}


.resource-card h3 {

    position:
        relative;

    z-index:
        2;

    margin-bottom:
        15px;

    font-size:
        2rem;

}


.resource-text {

    position:
        relative;

    z-index:
        2;

    max-width:
        600px;

    color:
        var(--text-muted);

    line-height:
        1.7;

}


/* CARACTERÍSTICAS */

.resource-features {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        8px;

    margin:
        26px 0;

}


.resource-features span {

    padding:
        7px 10px;

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

    border-radius:
        6px;

    color:
        #bac4cc;

    font-size:
        0.72rem;

}


/* BOTÓN */

.resource-button {

    position:
        relative;

    z-index:
        2;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        10px;

    padding:
        13px 20px;

    border-radius:
        6px;

    background:
        var(--accent);

    color:
        #02070a;

    text-decoration:
        none;

    font-size:
        0.86rem;

    font-weight:
        700;

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

}


.resource-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0,200,255,0.18);

}


.resource-button span {

    transition:
        transform 0.3s ease;

}


.resource-button:hover span {

    transform:
        translateX(5px);

}


/* PRÓXIMAMENTE */

.resource-coming {

    opacity:
        0.68;

}


/* RESPONSIVE */

@media (max-width: 850px) {

    .resources {

        padding:
            100px 0;

    }


    .resources-grid {

        grid-template-columns:
            1fr;

    }


    .resource-card {

        min-height:
            auto;

        padding:
            34px 28px;

    }

}


@media (max-width: 500px) {

    .resources-header h2 {

        letter-spacing:
            -2px;

    }


    .resource-card h3 {

        font-size:
            1.6rem;

    }

}
