/* ===== HERO SECTION HOME ===== */
.lp-home-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    min-height: 100vh !important;
}

.lp-home-background-parallax {
    transform: translateZ(0);
    will-change: transform;
}

.lp-home-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.lp-home-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.3) 100%);
}

.lp-home-hero:hover .lp-home-background-image {
    transform: scale(1.05);
}

.lp-home-badge .badge {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.lp-home-title {
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.lp-text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-home-subtitle {
    font-weight: 300;
    opacity: 0.9;
}

.lp-home-description {
    font-weight: 500;
    text-align: center;
}

.lp-home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    /* espacio entre párrafos */
    max-width: 720px;
    margin: 0 auto;
}

.lp-home-content p {
    text-align: center;
    width: 100%;
}

/* ===== ELEMENTOS FLOTANTES ===== */
.lp-home-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.lp-element {
    position: absolute;
}

.lp-element-1 {
    top: 20%;
    left: 10%;
    animation: floatElement 6s ease-in-out infinite;
}

.lp-element-2 {
    top: 50%;
    right: 15%;
    animation: floatElement 6s ease-in-out infinite 2s;
}

.lp-element-3 {
    bottom: 20%;
    left: 25%;
    animation: floatElement 6s ease-in-out infinite 4s;
}

.lp-element-card {
    width: 140px;
    height: 140px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.lp-element-card:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

@keyframes floatElement {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* ===== SECCIONES GENERALES ===== */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lp-section-header {
    margin-bottom: 5rem;
}

.lp-section-pre-title {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.lp-section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ===== MODO CLARO ===== */
.lp-light-mode {
    background: var(--dark-bg);
}

.lp-service-card-light {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--box-shadow-light);
}

.lp-service-card-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ===== SECCIÓN MISIÓN Y VISIÓN ===== */
.lp-mission-card {
    height: 100%;
}

.lp-mission-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.lp-mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lp-mission-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.lp-mission-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0;
}

.lp-mission-desc {
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.lp-mission-desc:last-child {
    margin-bottom: 0;
}

/* ===== SECCIÓN PROCESO ===== */
.lp-process-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
}

.lp-process-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.lp-process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(212, 175, 55, 0.2);
}

.lp-process-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gold);
}

.lp-process-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.lp-process-card:hover .lp-process-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    transform: scale(1.1);
}

.lp-process-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.lp-process-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.lp-process-desc {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.lp-process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* ===== SECCIÓN CERTIFICACIONES ===== */
.lp-certification-card {
    position: relative;
    height: 100%;
    text-align: center;
}

.lp-cert-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.lp-cert-category {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.lp-cert-logo-wrapper {
    margin-bottom: 1.5rem;
    position: relative;
}

.lp-cert-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
}

.lp-cert-content h4 {
    color: #2c2c2c;
    font-weight: 600;
}

.lp-cert-desc {
    color: #495057;
}

/* ===== ISO MAIN CERTIFICATION ===== */
.lp-iso-main-certification {
    text-align: center;
}

.lp-iso-badge {
    position: relative;
    display: inline-block;
}

.lp-iso-logo {
    max-height: 120px;
    width: auto;
}

.lp-iso-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.lp-iso-info h3 {
    color: #2c2c2c;
    font-weight: 600;
}

.lp-iso-info p {
    color: #495057;
}

/* ===== BANNER ESPECIAL ISO ===== */
.lp-iso-special-banner {
    padding: 2.5rem;
    text-align: left;
}

.lp-banner-content h3 {
    color: #2c2c2c;
    font-weight: 600;
}

.lp-banner-content p {
    color: #495057;
}

.lp-special-logo {
    max-height: 60px;
    width: auto;
}

/* ===== BOTONES ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--primary-dark);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ===== DEGRADADOS ANIMADOS ===== */
.lp-gradient-bg-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%) !important;
    position: relative;
    overflow: hidden;
}

.lp-gradient-bg-dark::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(212, 186, 60, 0.03) 50%,
            transparent 100%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Efectos de partículas */
.lp-dark-particles {
    position: relative;
    overflow: hidden;
}

.lp-dark-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(212, 186, 60, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(212, 186, 60, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 40% 40%, rgba(212, 186, 60, 0.05) 0%, transparent 30%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    33% {
        transform: translateY(-10px) rotate(120deg) scale(1.05);
    }

    66% {
        transform: translateY(5px) rotate(240deg) scale(0.95);
    }
}

/* ===== TARJETAS CON DEGRADADO ANIMADO ===== */
.lp-gradient-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%) !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.lp-gradient-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent,
            rgba(212, 186, 60, 0.1),
            rgba(212, 186, 60, 0.05),
            transparent,
            transparent,
            rgba(212, 186, 60, 0.02),
            transparent);
    animation: rotateGradient 8s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.lp-gradient-card>* {
    position: relative;
    z-index: 2;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== BADGE TRANSPARENTE ===== */
.bg-gold-transparent {
    background: rgba(212, 175, 55, 0.1) !important;
    backdrop-filter: blur(10px);
}

/* ===== ANIMACIONES ===== */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .lp-home-title {
        margin-top: 40px;
        font-size: 2.8rem;
    }

    .lp-home-badge .badge {
        margin-top: 40px;
    }
}

@media (max-width: 992px) {
    .lp-home-title {
        margin-top: 40px;
        font-size: 2.5rem;
    }

    .lp-home-badge .badge {
        margin-top: 40px;
    }

    .lp-element-card {
        width: 120px;
        height: 120px;
    }

    .lp-element-card i {
        font-size: 2.5rem !important;
    }

    .lp-mission-header {
        flex-direction: column;
        text-align: center;
    }

    .lp-mission-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .lp-home-title {
        margin-top: 40px;
        font-size: 2rem;
    }

    .lp-home-badge .badge {
        margin-top: 40px;
    }

    .lp-section-title {
        font-size: 2.5rem;
    }

    .py-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .lp-element-card {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

    .lp-element-card i {
        font-size: 2rem !important;
    }

    .lp-element-card h5 {
        font-size: 0.9rem;
    }

    .lp-home-buttons {
        flex-direction: column;
        gap: 1rem !important;
    }

    .lp-home-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .lp-home-title {
        margin-top: 40px;
        font-size: 1.8rem;
    }

    .lp-home-badge .badge {
        margin-top: 40px;
    }

    .lp-section-title {
        font-size: 2rem;
    }

    .lp-service-card-light {
        padding: 2rem 1.5rem;
    }

    .lp-process-card {
        padding: 2rem 1.5rem;
    }

    .lp-certification-card {
        padding: 1.5rem;
    }

    .lp-iso-special-banner {
        padding: 1.5rem;
    }
}

/* ===== MEJORAS DE RENDIMIENTO ===== */
@media (prefers-reduced-motion: reduce) {

    .lp-gradient-bg-dark::after,
    .lp-dark-particles::before,
    .lp-gradient-card::before,
    .lp-element-card,
    .lp-service-card-light,
    .lp-process-card {
        animation: none !important;
        transition: none !important;
    }
}

.lp-section-titlev23 {
    color: white !important;
}

/* ===== NUEVO EFECTO CIRCUITO LEGAL ENERGÉTICO ===== */
.lp-circuit-bg {
    background: linear-gradient(135deg, #0a0a0a 0%, #2c250c 50%, #0a0a0a 100%) !important;
    position: relative;
    overflow: hidden;
}

.lp-circuit-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.lp-circuit-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lp-circuit-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lp-circuit-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--gold) 0%, rgba(212, 175, 55, 0.8) 100%);
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.8),
        0 0 60px rgba(212, 175, 55, 0.4);
    animation: circuitNodePulse 3s ease-in-out infinite;
    z-index: 2;
}

.lp-circuit-node::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    animation: circuitNodeOrbit 4s linear infinite;
}

.lp-circuit-node::after {
    content: attr(data-step);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.8rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Posicionamiento de nodos del circuito */
.node-1 {
    top: 30%;
    left: 15%;
    animation-delay: 0s;
}

.node-2 {
    top: 30%;
    right: 15%;
    animation-delay: 0.5s;
}

.node-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.node-4 {
    bottom: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.lp-circuit-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lp-circuit-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.6) 50%,
            transparent 100%);
    animation: circuitFlow 4s linear infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.line-1 {
    top: 30%;
    left: 20%;
    width: 60%;
    animation-delay: 0s;
}

.line-2 {
    top: 70%;
    left: 20%;
    width: 60%;
    animation-delay: 1s;
}

.line-3 {
    top: 50%;
    left: 15%;
    height: 40%;
    width: 2px;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(212, 175, 55, 0.6) 50%,
            transparent 100%);
    animation-delay: 2s;
}

/* Tarjetas de circuito mejoradas */
.lp-circuit-card {
    background: rgba(8, 8, 8, 0.9) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.lp-circuit-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(212, 175, 55, 0.1) 50%,
            transparent 100%);
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.lp-circuit-card:hover::before {
    opacity: 1;
    animation: circuitCardGlow 2s ease-in-out infinite;
}

.lp-circuit-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.lp-process-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.lp-circuit-card:hover .lp-process-glow {
    opacity: 1;
}

/* Números de proceso mejorados */
.lp-process-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.2) 0%,
            rgba(212, 175, 55, 0.1) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    z-index: 3;
}

.lp-circuit-card:hover .lp-process-number {
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.4) 0%,
            rgba(212, 175, 55, 0.2) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.lp-number-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: numberPulse 2s ease-in-out infinite;
    opacity: 0;
}

.lp-circuit-card:hover .lp-number-pulse {
    opacity: 1;
    animation: numberPulseActive 1.5s ease-in-out infinite;
}

/* Iconos de proceso mejorados */
.lp-process-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.15) 0%,
            rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

.lp-circuit-card:hover .lp-process-icon {
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.3) 0%,
            rgba(212, 175, 55, 0.15) 100%);
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 10px 30px rgba(212, 175, 55, 0.3),
        inset 0 2px 10px rgba(212, 175, 55, 0.1);
}

.lp-process-icon i {
    font-size: 2.5rem;
    color: var(--gold);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.lp-circuit-card:hover .lp-process-icon i {
    transform: scale(1.1);
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.lp-icon-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.2) 0%,
            transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lp-circuit-card:hover .lp-icon-orb {
    opacity: 1;
    animation: iconOrbit 3s linear infinite;
}

/* Conectores de circuito */
.lp-circuit-connector {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--gold) 50%,
            transparent 100%);
    transition: width 0.4s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.lp-circuit-card:hover .lp-circuit-connector {
    width: 80%;
    animation: connectorFlow 1.5s ease-in-out infinite;
}

/* Títulos y texto mejorados */
.lp-process-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.lp-process-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: width 0.4s ease;
}

.lp-circuit-card:hover .lp-process-title::after {
    width: 100px;
}

.lp-process-desc {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

/* Tags mejorados */
.lp-process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.lp-process-tags .badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.lp-circuit-card:hover .lp-process-tags .badge {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* ===== ANIMACIONES DEL CIRCUITO ===== */
@keyframes circuitNodePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 30px rgba(212, 175, 55, 0.8),
            0 0 60px rgba(212, 175, 55, 0.4);
    }

    50% {
        transform: scale(1.2);
        box-shadow:
            0 0 40px rgba(212, 175, 55, 1),
            0 0 80px rgba(212, 175, 55, 0.6);
    }
}

@keyframes circuitNodeOrbit {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes circuitFlow {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes circuitCardGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes numberPulseActive {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
}

@keyframes numberPulse {

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

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes iconOrbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@keyframes connectorFlow {

    0%,
    100% {
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.9);
    }
}

/* ===== RESPONSIVE PARA EL CIRCUITO ===== */
@media (max-width: 1200px) {
    .lp-circuit-node {
        width: 16px;
        height: 16px;
    }

    .node-1 {
        top: 25%;
        left: 10%;
    }

    .node-2 {
        top: 25%;
        right: 10%;
    }

    .node-3 {
        bottom: 25%;
        left: 10%;
    }

    .node-4 {
        bottom: 25%;
        right: 10%;
    }

    .line-1,
    .line-2 {
        width: 80%;
        left: 10%;
    }
}

@media (max-width: 768px) {
    .lp-circuit-node {
        width: 12px;
        height: 12px;
    }

    .lp-circuit-node::after {
        font-size: 0.7rem;
        top: -25px;
    }

    .lp-process-icon {
        width: 80px;
        height: 80px;
    }

    .lp-process-icon i {
        font-size: 2rem;
    }

    .lp-circuit-card {
        padding: 2rem 1.5rem;
    }

    .lp-process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .lp-circuit-system {
        display: none;
        /* Ocultar circuito en móviles muy pequeños */
    }

    .lp-circuit-card:hover {
        transform: translateY(-5px);
    }
}

/* ===== CORRECCIÓN DE DESBORDAMIENTO EN MÓVILES ===== */
@media (max-width: 768px) {

    /* Prevenir desbordamiento horizontal */
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Asegurar que los contenedores no excedan el viewport */
    .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Corregir posibles elementos que causen desbordamiento */
    .lp-home-hero,
    .lp-mission-vision,
    .lp-process-section,
    .lp-certifications-iso {
        overflow-x: hidden;
    }

    /* Asegurar que las imágenes no causen desbordamiento */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Corregir el circuito en móviles */
    .lp-circuit-system {
        display: none;
        /* Ocultar circuito complejo en móviles */
    }
}

/* ===== BLOQUEO DE SCROLL LATERAL GLOBAL ===== */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Asegurar que todos los elementos respeten el ancho */
* {
    box-sizing: border-box;
}