:root {
    /* Acento de los íconos propios (public/assets/icons/kalafate-icons.svg) */
    --ki-accent:       #19c39d;
    /* Paleta corporativa Kalafate — mantenida sincronizada con
       FuelPresentation, NEVA chat widget y el resto del producto.
       Unica fuente de verdad de los colores. */
    --primary-blue:    #4ea8e9;   /* azul principal (botones, gradients) */
    --primary-blue-2:  #2d7dd2;   /* azul oscuro (gradient end) */
    --primary-green:   #19c39d;   /* verde de acentos / estados ok */
    --dark-bg:         #0b0f1a;   /* fondo base */
    --dark-card:       #131a2a;   /* card oscura */
    --dark-card-2:     #1a2238;   /* card alternativa / header */
    --text-light:      #e6e8ee;
    --text-muted:      #7a8298;
    --text-soft:       #b3bccd;
    --accent-purple:   #8b5cf6;
    --accent-amber:    #f59e0b;
    --accent-red:      #ef4444;
    --border:          rgba(78, 168, 233, 0.18);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
}

/* Boton primary del navbar (Acceso Clientes) */
.btn-getstarted {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.btn-getstarted:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.28);
    color: white;
}

/* Boton secundario del navbar (Combustible / NEVA) — sutil, mismo
   estilo base que getstarted pero outline para no competir */
.btn-fuel-highlight {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-light);
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(78, 168, 233, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 0.75rem;
    white-space: nowrap;
}
.btn-fuel-highlight:hover {
    background: rgba(78, 168, 233, 0.15);
    border-color: rgba(78, 168, 233, 0.6);
    color: white;
}

/* CTA del hero */
.hero-cta-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Trust strip — logos de clientes (discreto, blanco-grayscale).
   Pensado para crecer agregando logos al HTML sin tocar CSS. */
.trust-strip {
    padding: 40px 0 48px;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 100%);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.trust-strip-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 26px;
}
.trust-strip-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 36px 56px;
}
.trust-strip-logos img {
    height: 42px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.7) contrast(0.85);
    transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
/* Logos cuadrados (ej. marine-farm 224x180) necesitan mas alto
   para no quedar diminutos al lado de los apaisados. */
.trust-strip-logos img.logo-square {
    height: 60px;
    max-width: 75px;
}
/* Logos con símbolo arriba y nombre debajo (Blumar, Australis): más altos para que se lean. */
.trust-strip-logos img.logo-seal {
    height: 56px;
    max-width: 120px;
}
/* Logos muy anchos (ej. salmones-aysen) necesitan max-width
   mayor para que el texto sea legible. */
.trust-strip-logos img.logo-wide {
    height: 48px;
    max-width: 200px;
}
.trust-strip-logos img:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1) contrast(1);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .trust-strip { padding: 32px 0 36px; }
    .trust-strip-logos { gap: 24px 32px; }
    .trust-strip-logos img { height: 32px; max-width: 120px; }
    .trust-strip-logos img.logo-square { height: 46px; max-width: 60px; }
    .trust-strip-logos img.logo-wide { height: 38px; max-width: 150px; }
    .trust-strip-logos img.logo-seal { height: 44px; max-width: 100px; }
}

/* Contacto: botones email + WhatsApp tipo FuelPresentation */
.contact-cta-row {
    display: flex; justify-content: center; gap: 14px;
    flex-wrap: wrap; margin-top: 20px;
}
.contact-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 10px;
    font-weight: 600; text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    font-size: 1rem;
}
.contact-cta-btn.primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}
.contact-cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35);
    color: white;
}
.contact-cta-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
.contact-address {
    text-align: center; color: var(--text-muted);
    margin-top: 28px; font-size: 0.95rem;
}
.contact-address .ki { color: var(--primary-blue); margin-right: 6px; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--dark-card);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-content {
    color: var(--text-muted);
    line-height: 1.8;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.about-content ul li .ki {
    color: var(--primary-green);
    margin-right: 1rem;
    font-size: 1.5rem;
    margin-top: 2px;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.service-item {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item .icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: var(--primary-blue);
}

.service-item h3,
.service-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-item h3 a,
.service-item h4 a {
    color: var(--text-light);
    text-decoration: none;
}

.service-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Featured Service Card */
.service-item.featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid var(--accent-amber);
}

.service-item.featured .icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(139, 92, 246, 0.3));
    color: var(--accent-amber);
}

.service-item.featured h3,
.service-item.featured h4 {
    color: var(--accent-amber);
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    background: white;
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background: var(--dark-card);
}

.portfolio-filters {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio-filters li {
    padding: 0.7rem 1.5rem;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-weight: 500;
}

.portfolio-filters li:hover,
.portfolio-filters li.filter-active {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: white;
    border-color: transparent;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 32, 44, 0.95), transparent);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.portfolio-info .preview-link {
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.portfolio-info .preview-link:hover {
    color: var(--primary-green);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.faq-icon {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.faq-content {
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 1rem;
    padding-left: 2.5rem;
    display: none;
}

.faq-item.faq-active .faq-content {
    display: block;
}

.faq-toggle {
    float: right;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.faq-active .faq-toggle {
    transform: rotate(180deg);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--dark-card);
}

.info-item {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-right: 1.5rem;
}

.info-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.php-email-form {
    background: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.php-email-form input,
.php-email-form textarea {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
}

.php-email-form input:focus,
.php-email-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--dark-card);
    color: var(--text-light);
}

.php-email-form button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.php-email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
    display: none;
    margin-bottom: 1rem;
}

.php-email-form .sent-message {
    color: var(--primary-green);
}

.php-email-form .error-message {
    color: #dc3545;
}

/* Footer — mismo estilo simple que FuelPresentation */
footer.pres-footer {
    padding: 30px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
footer.pres-footer a { color: var(--primary-blue); text-decoration: none; }
footer.pres-footer a:hover { color: var(--primary-green); }

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .navbar-nav {
        background: var(--dark-card);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .btn-fuel-highlight {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn-getstarted,
    .btn-fuel-highlight {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================================
   Componentes compartidos: menú "Soluciones" y footer con enlaces
   ===================================================================== */
.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-bottom: 14px;
    font-size: 14px;
}
.site-footer-red { display: inline-flex; align-items: center; gap: 6px; }
.site-footer-red .ki { width: 18px; height: 18px; }
.site-footer-yt .ki { color: #ff4e45; }
.site-footer-ig .ki { color: #e1306c; --ki-accent: #f77737; }
.site-footer-in .ki { color: #0a66c2; --ki-accent: #0a66c2; }

/* =====================================================================
   Landings de soluciones (/telemetria-industrial, /sistemas-de-alarmas-industriales)
   ===================================================================== */
.lp-hero {
    padding: 130px 0 70px;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}
.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 40%, rgba(78, 168, 233, 0.12) 0%, transparent 55%);
    pointer-events: none;
}
.lp-hero .container { position: relative; z-index: 1; }

.lp-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.lp-breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.lp-breadcrumb a { color: var(--text-soft); text-decoration: none; }
.lp-breadcrumb a:hover { color: var(--primary-blue); }

.lp-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-green);
    background: rgba(25, 195, 157, 0.1);
    border: 1px solid rgba(25, 195, 157, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.lp-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.lp-lead {
    font-size: 1.2rem;
    color: var(--text-soft);
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 1.75rem;
}
.lp-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}
.lp-zones li {
    font-size: 13px;
    color: var(--text-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 4px 12px;
}
.lp-zones .ki { color: var(--primary-blue); margin-right: 4px; }

/* Diagrama de flujo de la telemetría (HTML puro, sin imágenes) */
.lp-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
}
.lp-flow-step .lp-flow-icon {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-blue);
    background: rgba(78, 168, 233, 0.14);
}
.lp-flow-step.ok .lp-flow-icon { color: var(--primary-green); background: rgba(25, 195, 157, 0.14); }
.lp-flow-step.warn .lp-flow-icon { color: var(--accent-amber); background: rgba(245, 158, 11, 0.14); }
.lp-flow-step strong { display: block; color: var(--text-light); font-size: 1rem; }
.lp-flow-step span { color: var(--text-muted); font-size: 0.9rem; }
.lp-flow-arrow {
    text-align: center;
    color: var(--primary-blue);
    opacity: 0.6;
    line-height: 1;
}

/* Maqueta de avisos de alarma (página de alarmas) */
.lp-alerts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 430px;
    margin-left: auto;
}
.lp-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(19, 26, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-red);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.lp-alert.amber { border-left-color: var(--accent-amber); }
.lp-alert.green { border-left-color: var(--primary-green); }
.lp-alert .ki { font-size: 1.3rem; color: var(--accent-red); margin-top: 2px; }
.lp-alert.amber .ki { color: var(--accent-amber); }
.lp-alert.green .ki { color: var(--primary-green); }
.lp-alert strong { display: block; color: var(--text-light); font-size: 0.98rem; }
.lp-alert span { display: block; color: var(--text-muted); font-size: 0.86rem; }
.lp-alert small { color: var(--text-soft); font-size: 0.78rem; }

/* Secciones de contenido */
.lp-section { padding: 5rem 0; background: var(--dark-bg); }
.lp-section.alt { background: var(--dark-card); }
.lp-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-align: center;
}
.lp-section .section-subtitle { margin-bottom: 2.5rem; }

.lp-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.75rem 1.6rem;
    height: 100%;
}
.lp-section.alt .lp-card { background: var(--dark-bg); }
.lp-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    background: rgba(78, 168, 233, 0.14);
    color: var(--primary-blue);
}
.lp-card.red .icon { background: rgba(239, 68, 68, 0.14); color: var(--accent-red); }
.lp-card.amber .icon { background: rgba(245, 158, 11, 0.14); color: var(--accent-amber); }
.lp-card.green .icon { background: rgba(25, 195, 157, 0.14); color: var(--primary-green); }
.lp-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}
.lp-card p { color: var(--text-muted); line-height: 1.65; margin-bottom: 0; font-size: 0.97rem; }

.lp-check { list-style: none; padding: 0; margin: 0; }
.lp-check li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-soft);
    line-height: 1.65;
    margin-bottom: 0.9rem;
}
.lp-check li .ki { color: var(--primary-green); font-size: 1.25rem; margin-top: 1px; }
.lp-check strong { color: var(--text-light); }

.lp-steps { counter-reset: lpstep; list-style: none; padding: 0; margin: 0; }
.lp-steps li {
    counter-increment: lpstep;
    position: relative;
    padding: 0 0 1.6rem 3.4rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.lp-steps li::before {
    content: counter(lpstep);
    position: absolute;
    left: 0;
    top: -2px;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}
.lp-steps strong { display: block; color: var(--text-light); font-size: 1.05rem; margin-bottom: 2px; }

/* Preguntas frecuentes con <details> nativo (sin JavaScript) */
.lp-faq { max-width: 860px; margin: 0 auto; }
.lp-faq details {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.15rem 1.4rem;
    margin-bottom: 1rem;
}
.lp-section.alt .lp-faq details { background: var(--dark-bg); }
.lp-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}
.lp-faq summary::after {
    content: '+';
    color: var(--primary-blue);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { color: var(--text-muted); line-height: 1.7; margin: 0.9rem 0 0; }

/* Enlaces a las otras soluciones */
.lp-related a {
    display: block;
    text-decoration: none;
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.lp-related a:hover { transform: translateY(-4px); }
.lp-related a:hover .lp-card { border-color: rgba(78, 168, 233, 0.45); }
.lp-related .lp-more { color: var(--primary-blue); font-weight: 600; font-size: 0.92rem; margin-top: 0.8rem; display: inline-block; }

@media (max-width: 992px) {
    .lp-hero h1 { font-size: 2.4rem; }
    .lp-alerts { margin: 2.5rem auto 0; }
}
@media (max-width: 768px) {
    .lp-hero { padding: 110px 0 50px; }
    .lp-hero h1 { font-size: 1.95rem; }
    .lp-lead { font-size: 1.05rem; }
    .lp-section { padding: 3.5rem 0; }
    .lp-section h2 { font-size: 1.7rem; }
}

/* =====================================================================
   Íconos propios Kalafate (sprite SVG). Se dimensionan con font-size como
   una fuente de íconos; el color base es currentColor y el detalle usa --ki-accent.
   ===================================================================== */

.service-item .icon .ki,
.lp-card .icon .ki { font-size: 1.15em; }
.lp-card.red .icon,
.lp-alert:not(.amber):not(.green) { --ki-accent: #fca5a5; }
.lp-card.amber .icon,
.lp-alert.amber { --ki-accent: #fde68a; }
.service-item.featured .icon { --ki-accent: #fde68a; }
.contact-cta-btn .ki { font-size: 1.25rem; }
.contact-cta-btn.primary { --ki-accent: #ffffff; }

.lp-check li .ki,
.about-content ul li .ki { flex: 0 0 auto; }
.scroll-top .ki { font-size: 1.4rem; --ki-accent: #ffffff; }
.portfolio-info .preview-link .ki { --ki-accent: var(--primary-green); }
.lp-flow-arrow { font-size: 1.2rem; }

/* Video «Kalafate en 1 minuto» (home) */
.video-section { padding: 5rem 0 4rem; background: var(--dark-bg); }
.video-frame { max-width: 1040px; margin: 0 auto; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); background: #000; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.video-yt { text-align: center; margin: 1.1rem 0 0; }
.video-yt a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem;
    color: var(--text-light); text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); transition: border-color .2s, background .2s; }
.video-yt a:hover { border-color: #ff4e45; background: rgba(255, 0, 0, .08); }
.video-yt .ki { color: #ff4e45; width: 20px; height: 20px; }
@media (max-width: 768px) { .video-section { padding: 3.5rem 0 3rem; } .video-frame { border-radius: 12px; } }

/* Galería de videos del inicio: reproductor grande + lista de videos */
.vg { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; max-width: 1200px; margin: 0 auto; align-items: start; }
.vg .video-frame { max-width: none; }
.vg-info { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.vg-info h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin: 0 0 2px; }
.vg-info p { color: var(--text-muted); margin: 0; font-size: .95rem; }
.vg-links { display: flex; gap: 10px; flex-wrap: wrap; }
.vg-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 600;
    font-size: .92rem; text-decoration: none; transition: border-color .2s, background .2s; }
.vg-pagina { color: #fff; background: linear-gradient(135deg, var(--primary-blue), var(--primary-green)); }
.vg-pagina:hover { color: #fff; filter: brightness(1.08); }
.vg-yt { color: var(--text-light); border: 1px solid rgba(255, 255, 255, .18); }
.vg-yt:hover { color: var(--text-light); border-color: #ff4e45; background: rgba(255, 0, 0, .08); }
.vg-yt .ki { color: #ff4e45; width: 18px; height: 18px; }
.vg-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vg-item { display: flex; gap: 12px; align-items: center; width: 100%; padding: 8px; text-align: left; cursor: pointer;
    background: rgba(19, 26, 42, .72); border: 1px solid var(--border); border-radius: 14px; color: inherit;
    transition: border-color .2s, background .2s, transform .2s; }
.vg-item:hover { border-color: rgba(78, 168, 233, .45); transform: translateY(-1px); }
.vg-item.activo { border-color: var(--primary-green); background: rgba(25, 195, 157, .08); }
.vg-item:focus-visible { outline: 2px solid var(--primary-blue); outline-offset: 2px; }
.vg-mini { position: relative; flex: 0 0 132px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #000; }
.vg-mini img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vg-dura { position: absolute; right: 5px; bottom: 5px; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, .78);
    color: #fff; font-size: .72rem; font-weight: 700; }
.vg-play { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
    background: rgba(0, 0, 0, .55); border: 1.5px solid rgba(255, 255, 255, .85); }
.vg-play::after { content: ''; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff; }
.vg-item.activo .vg-play { background: var(--primary-green); border-color: var(--primary-green); }
.vg-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vg-txt strong { color: #fff; font-size: .95rem; line-height: 1.25; }
.vg-txt small { color: var(--text-muted); font-size: .8rem; line-height: 1.35; }
@media (max-width: 991.98px) {
    .vg { grid-template-columns: 1fr; }
    .vg-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .vg-item { flex-direction: column; align-items: stretch; gap: 8px; height: 100%; }
    .vg-mini { flex: none; width: 100%; }
}
@media (max-width: 420px) { .vg-txt small { display: none; } }

/* Al saltar a una sección (#video, #contacto…) que el título no quede bajo el menú fijo */
section[id] { scroll-margin-top: 84px; }

/* =====================================================================
   Telemetría en línea: diagrama del flujo del dato, comparación local / en línea
   ===================================================================== */
.lp-topo { margin: 0; background: rgba(19, 26, 42, 0.72); border: 1px solid rgba(78, 168, 233, 0.18);
    border-radius: 22px; padding: 18px 18px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.lp-topo svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-topo figcaption { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; text-align: center; margin-top: 8px; }
.topo-nodo rect { fill: #0f1524; stroke: rgba(78, 168, 233, 0.45); stroke-width: 1.5; }
.topo-nodo svg { color: var(--primary-blue); --ki-accent: var(--primary-green); }
.topo-nodo text, .topo-nube text { fill: #b3bccd; font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.topo-nodo text.fuerte, .topo-nube text.fuerte { fill: #fff; font-size: 13px; }
.topo-nodo.tablero rect { fill: #141c30; stroke: var(--primary-blue); stroke-width: 2; }
.topo-nodo.rojo svg { color: var(--accent-red); --ki-accent: #fca5a5; }
.topo-nodo.rojo rect { stroke: rgba(239, 68, 68, 0.5); }
.topo-nodo.verde svg { color: var(--primary-green); }
.topo-nodo.verde rect { stroke: rgba(25, 195, 157, 0.5); }
.topo-nodo.ambar svg { color: var(--accent-amber); --ki-accent: #fcd34d; }
.topo-nodo.ambar rect { stroke: rgba(245, 158, 11, 0.5); }
.topo-nube path { fill: rgba(78, 168, 233, 0.12); stroke: url(#topoNube); stroke-width: 2; }
.topo-nube { animation: topoLatido 3.2s ease-in-out infinite; transform-origin: 397px 100px; }
.topo-cable path { fill: none; stroke: rgba(78, 168, 233, 0.55); stroke-width: 2; stroke-dasharray: 2 7;
    stroke-linecap: round; animation: topoFlujo 1.2s linear infinite; }
.topo-datos path { fill: none; stroke: var(--primary-green); stroke-width: 2.2; stroke-dasharray: 3 9;
    stroke-linecap: round; animation: topoFlujo 0.9s linear infinite; }
@keyframes topoFlujo { to { stroke-dashoffset: -18; } }
@keyframes topoLatido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
    .topo-cable path, .topo-datos path, .topo-nube { animation: none; }
}

.lp-cta-center { text-align: center; margin-top: 2.2rem; }

/* =====================================================================
   Monitoreo de combustible: curva de nivel animada, captura del panel, NEVA
   ===================================================================== */
.nivel-grid line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.nivel-area { fill: url(#nivelArea); opacity: 0; animation: nivelAparece 0.8s ease-out 1.6s forwards; }
.nivel-linea { fill: none; stroke: var(--primary-blue); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1; animation: nivelTrazo 2.4s ease-out 0.3s forwards; }
.nivel-evento { opacity: 0; animation: nivelAparece 0.5s ease-out forwards; }
.nivel-evento.recarga { animation-delay: 1.1s; }
.nivel-evento.extraccion { animation-delay: 1.9s; }
.nivel-evento line { stroke-width: 1.6; stroke-dasharray: 4 5; }
.nivel-evento text { fill: #fff; font-size: 12px; font-weight: 700; text-anchor: middle; }
.nivel-evento.recarga line { stroke: var(--primary-green); }
.nivel-evento.recarga rect { fill: rgba(25, 195, 157, 0.2); stroke: var(--primary-green); }
.nivel-evento.extraccion line { stroke: var(--accent-red); }
.nivel-evento.extraccion rect { fill: rgba(239, 68, 68, 0.2); stroke: var(--accent-red); }
.nivel-eje text { fill: #8a94a8; font-size: 11px; text-anchor: middle; }
@keyframes nivelTrazo { to { stroke-dashoffset: 0; } }
@keyframes nivelAparece { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .nivel-linea { animation: none; stroke-dashoffset: 0; }
    .nivel-area, .nivel-evento { animation: none; opacity: 1; }
}

.lp-shot { margin: 0 auto 2.2rem; max-width: 1100px; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(78, 168, 233, 0.2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-check-cols { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
@media (max-width: 768px) { .lp-check-cols { grid-template-columns: 1fr; } }

.lp-neva-avatar { width: 220px; max-width: 70%; height: auto; border-radius: 50%;
    border: 3px solid rgba(78, 168, 233, 0.45); box-shadow: 0 0 60px rgba(78, 168, 233, 0.25); }
.lp-chat { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.lp-chat li { background: rgba(78, 168, 233, 0.12); border: 1px solid rgba(78, 168, 233, 0.3); color: var(--text-light);
    padding: 10px 18px; border-radius: 18px 18px 18px 4px; font-size: 1rem; }
@media (max-width: 991px) {
    .lp-neva h2, .lp-neva .section-subtitle { text-align: center !important; }
    .lp-chat { align-items: center; }
}


@media (max-width: 768px) {
    .lp-topo { padding: 12px 10px 10px; }
}

/* =====================================================================
   Integración PLC y HMI: pantallas HMI dibujadas, pestañas, código del PLC y tablero
   ===================================================================== */
.hmi-hero { margin: 0; }
.hmi-hero svg, .hmi-equipo svg, .tablero-dibujo svg { display: block; width: 100%; height: auto; overflow: visible; }
.hmi-hero figcaption { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; text-align: center; margin-top: 10px; }

/* Bisel y pantalla */
.h-bisel { fill: #1b2028; stroke: #3a4250; stroke-width: 1.5; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .5)); }
.h-marco { fill: #0c1016; }
.h-scr { fill: #071321; }
.h-sep { stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.h-tab { fill: #8aa1ba; font-size: 13px; font-weight: 600; text-anchor: middle; }
.h-tab.on { fill: #fff; }
.h-tab.s { font-size: 10.5px; }
.h-sub { stroke: var(--primary-blue); stroke-width: 2; }
.h-txt { fill: #9fb6cc; font-size: 11px; }
.h-txt.s { font-size: 9.5px; }
.h-txt.c { text-anchor: middle; }
.h-txt.b { fill: #fff; font-weight: 700; }
.h-reloj { fill: #0f2236; stroke: rgba(78, 168, 233, .35); }
.h-luz { fill: #2c3442; stroke: #56627a; stroke-width: 1; }
.h-luz.on { fill: var(--accent-red); stroke: #fca5a5; animation: hParpadeo 1s steps(2, jump-none) infinite; }
.h-titulo { fill: #dce8f5; font-size: 17px; letter-spacing: 1.5px; text-anchor: middle; }
.h-h2 { fill: #fff; font-size: 17px; font-weight: 700; }

/* Planos */
.h-casco { fill: rgba(78, 168, 233, .06); stroke: #5fa8e0; stroke-width: 1.5; }
.h-linea { fill: none; stroke: #5fa8e0; stroke-width: 1.3; opacity: .85; }
.h-linea.d { stroke-dasharray: 3 3; opacity: .6; }
.h-linea.fina { stroke-width: 1; opacity: .5; }
.h-casa { fill: url(#hRibs); stroke: #5fa8e0; stroke-width: 1.4; }
.h-ventana { fill: #0b1a2b; stroke: #5fa8e0; stroke-width: 1.2; }
.h-nombre { fill: #fff; font-size: 15px; font-weight: 700; text-anchor: end; }
.h-tk { fill: #0d2238; stroke: rgba(95, 168, 224, .5); stroke-width: 1; }
.h-mini { fill: #8fb3d6; font-size: 8px; text-anchor: middle; }
.h-zona { fill: #9fc3e6; font-size: 8.5px; text-anchor: middle; }
.h-zona.alerta { fill: #fecaca; font-weight: 700; }
.h-zona.g { fill: #cfe0f0; font-size: 12px; }
.h-zona-alerta { fill: var(--accent-red); animation: hZona 1.6s ease-in-out infinite; }
.h-onda { fill: none; stroke: var(--accent-red); stroke-width: 2; transform-box: fill-box; transform-origin: center;
    animation: hOnda 1.6s ease-out infinite; }
.h-ico { color: #4f8fc4; --ki-accent: #7cc0f0; }
.h-ico.ok { color: #5fb4ea; --ki-accent: var(--primary-green); }
.h-ico.alerta { color: var(--accent-red); --ki-accent: #fecaca; animation: hParpadeo 1s steps(2, jump-none) infinite; }
/* Sentina: color agua (celeste) en vez de rojo */
.h-zona-alerta.agua { fill: #38bdf8; }
.h-onda.agua { stroke: #38bdf8; }
.h-ico.alerta.agua { color: #38bdf8; --ki-accent: #bae6fd; }
.h-zona.agua { fill: #bae6fd; font-weight: 700; }
.h-planta { fill: rgba(78, 168, 233, .04); stroke: #9cc7ea; stroke-width: 2.5; }
.h-muro { fill: none; stroke: #9cc7ea; stroke-width: 2; }
.h-puerta { fill: none; stroke: #9cc7ea; stroke-width: 1; opacity: .6; }

/* Niveles */
.h-lbl { fill: #dce8f5; font-size: 12.5px; font-weight: 700; }
.h-lbl.s { font-size: 9.5px; }
.h-lbl.c { text-anchor: middle; font-weight: 600; }
.h-val { fill: #fff; font-size: 12.5px; font-weight: 700; text-anchor: end; }
.h-val.s { font-size: 9.5px; }
.h-val.c { text-anchor: middle; font-size: 14px; }
.h-escala { fill: #6f86a0; font-size: 9px; }
.h-escala.s { font-size: 7.5px; }
.h-escala.c { text-anchor: middle; }
.h-escala.e { text-anchor: end; }
.h-barra-fondo { fill: #12233a; }
.h-barra { transform-box: fill-box; transform-origin: left center; animation: hLlena 1.4s cubic-bezier(.2, .7, .2, 1) .2s both; }
.h-barra.comb { fill: #6b7fd6; }
.h-barra.agua { fill: #67c4f0; }
.h-barra.ensilaje { fill: #eab308; }

/* Botones */
.h-btn rect { fill: #173252; stroke: rgba(78, 168, 233, .6); stroke-width: 1.2; }
.h-btn text { fill: #dce8f5; font-size: 10.5px; text-anchor: middle; }
.h-btn .h-ico { color: #dce8f5; --ki-accent: var(--primary-blue); }
.h-btn.alerta rect { fill: #7f1d1d; stroke: var(--accent-red); animation: hBoton 1s steps(2, jump-none) infinite; }
.h-btn.alerta .h-ico { color: #fff; --ki-accent: #fecaca; }
.h-btn.alerta.agua rect { fill: #0c4a6e; stroke: #38bdf8; }
.h-btn.alerta.agua .h-ico { color: #fff; --ki-accent: #bae6fd; }
.h-reset { fill: #dc2626; stroke: #f87171; stroke-width: 3; filter: drop-shadow(0 4px 10px rgba(220, 38, 38, .45)); }
.h-reset-t { fill: #fff; font-size: 11px; font-weight: 700; text-anchor: middle; }
.h-reset-t.g { font-size: 13px; }

/* Historial */
.h-chip { fill: transparent; stroke: rgba(78, 168, 233, .35); }
.h-chip.on { fill: rgba(78, 168, 233, .22); stroke: var(--primary-blue); }
.h-thead { fill: #0f2236; }
.h-th { fill: #8fb3d6; font-size: 11.5px; font-weight: 700; letter-spacing: .3px; }
.h-fila rect:first-child { fill: transparent; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.h-fila.activa rect:first-child { fill: rgba(239, 68, 68, .1); }
.h-td { fill: #cfe0f0; font-size: 12.5px; }
.h-td.m { fill: #9fb6cc; font-variant-numeric: tabular-nums; }
.h-td.b { fill: #fff; font-weight: 700; }
.h-pill.activa { fill: rgba(239, 68, 68, .2); stroke: var(--accent-red); animation: hBoton 1s steps(2, jump-none) infinite; }
.h-pill.ok { fill: rgba(25, 195, 157, .14); stroke: rgba(25, 195, 157, .6); }
.h-pill.rec { fill: rgba(245, 158, 11, .14); stroke: rgba(245, 158, 11, .6); }
.h-pill-t { font-size: 11px; font-weight: 700; text-anchor: middle; }
.h-pill-t.activa { fill: #fecaca; }
.h-pill-t.ok { fill: #6ee7c8; }
.h-pill-t.rec { fill: #fcd34d; }
.h-boton.azul { fill: #1d4f80; stroke: var(--primary-blue); }
.h-boton.rojo { fill: #991b1b; stroke: var(--accent-red); }
.h-boton-t { fill: #fff; font-size: 13px; font-weight: 700; text-anchor: middle; }

/* Aviso al celular (hero) */
.hmi-aviso { opacity: 0; animation: hAviso .6s cubic-bezier(.2, .7, .2, 1) 1.4s forwards; }
.hmi-aviso rect { fill: #111a2b; stroke: rgba(239, 68, 68, .55); stroke-width: 1.5; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
.hmi-aviso circle { fill: rgba(239, 68, 68, .2); }
.hmi-aviso svg { color: var(--accent-red); --ki-accent: #fecaca; }
.hmi-aviso .t1 { fill: #fff; font-size: 12.5px; font-weight: 700; }
.hmi-aviso .t2 { fill: #9aa6bb; font-size: 10.5px; }

/* Pestañas de las pantallas */
.hmi-tabs { max-width: 1000px; margin: 0 auto 2.2rem; }
.hmi-tabs-lista { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hmi-tabs-lista button { background: transparent; border: 1px solid var(--border); color: var(--text-soft); border-radius: 999px;
    padding: 8px 18px; font-size: .92rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.hmi-tabs-lista button:hover { color: #fff; border-color: rgba(78, 168, 233, .5); }
.hmi-tabs-lista button[aria-selected="true"] { background: rgba(78, 168, 233, .18); border-color: var(--primary-blue); color: #fff; }
.hmi-equipo { background: #1b2028; border: 1px solid #3a4250; border-radius: 20px; padding: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 0 0 6px #0c1016; }
.hmi-equipo [role="tabpanel"] { border-radius: 6px; overflow: hidden; animation: hAparece .35s ease-out; }

/* Diagrama escalera (ladder) animado. Ciclo de 8 s: humo (p1) → retardo → sirena y baliza (p2); nivel bajo (p3) */
.lad { margin: 0; background: #0d1320; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.lad svg { display: block; width: 100%; height: auto; padding: 8px 10px 0; }
.lad figcaption { color: var(--text-muted); font-size: .88rem; text-align: center; padding: 4px 16px 16px; }
.lad-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 6px; }
.lad-head b { color: var(--text-light); font-size: 1.05rem; font-weight: 700; }
.lad-vivo { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px;
    background: rgba(25, 195, 157, .12); border: 1px solid rgba(25, 195, 157, .4); color: #6ee7c8; font-size: .78rem; font-weight: 700; }
.lad-vivo::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-green);
    box-shadow: 0 0 0 0 rgba(25, 195, 157, .7); animation: ladVivo 1.6s ease-out infinite; }
@keyframes ladVivo { to { box-shadow: 0 0 0 8px rgba(25, 195, 157, 0); } }
@media (prefers-reduced-motion: reduce) { .lad-vivo::before { animation: none; } }
.lad-riel { stroke: #5fa8e0; stroke-width: 4; stroke-linecap: round; }
.lad-w { fill: none; stroke: #33506f; stroke-width: 3; stroke-linejoin: round; }
.lad-c { fill: none; stroke: #7f9ab8; stroke-width: 3.5; stroke-linecap: round; }
.lad-w.lad-p1, .lad-w.lad-p2, .lad-w.lad-p3, .lad-c.lad-p1, .lad-c.lad-p3 { stroke: var(--primary-green);
    filter: drop-shadow(0 0 4px rgba(25, 195, 157, .7)); }
.lad-cierre { fill: var(--primary-green); }
.lad-caja { fill: #111d30; stroke: #7f9ab8; stroke-width: 2; }
.lad-caja.lad-p2 { fill: none; stroke: var(--primary-green); }
.lad-t { fill: #cfe0f0; font-size: 15px; font-weight: 600; text-anchor: middle; }
.lad-t.b { fill: #fff; font-size: 14px; }
.lad-reloj { fill: #1f3048; }
.lad-reloj-lleno { fill: var(--accent-amber); transform-box: fill-box; transform-origin: left center;
    animation: ladReloj 8s linear infinite; }
.lad-luz { fill: var(--accent-red); filter: drop-shadow(0 0 10px rgba(239, 68, 68, .9)); }
.lad-luz.agua { fill: #38bdf8; filter: drop-shadow(0 0 10px rgba(56, 189, 248, .9)); }
.lad-sin { fill: #111d30; stroke: rgba(239, 68, 68, .6); stroke-width: 1.5; }
.lad-sin-t { fill: #fca5a5; font-size: 13px; font-weight: 700; text-anchor: middle; }
/* Ciclo de 20 s (humo al instante; sentina con retardo de 10 s): 0–7,7 s diagrama escalera (lad-v1); 8–13,6 s pantalla con la alarma (lad-v2); 14–19,6 s configuración de tiempos (lad-v3) */
.lad-p1 { animation: ladP1 20s linear infinite; }
.lad-p2 { animation: ladP2 20s linear infinite; }
.lad-p3 { animation: ladP3 20s linear infinite; }
.lad-luz.lad-p1 { animation: ladP1 20s linear infinite, ladLuz .5s steps(2, jump-none) infinite; }
.lad-luz.lad-p2 { animation: ladP2 20s linear infinite, ladLuz .5s steps(2, jump-none) infinite; }
.lad-reloj-lleno { animation-duration: 20s; }
@keyframes ladP1 { 0%, 4% { opacity: 0; } 4.2%, 36% { opacity: 1; } 36.8%, 100% { opacity: 0; } }
@keyframes ladP2 { 0%, 26.8% { opacity: 0; } 27%, 36% { opacity: 1; } 36.8%, 100% { opacity: 0; } }
@keyframes ladP3 { 0%, 11.2% { opacity: 0; } 11.6%, 36% { opacity: 1; } 36.8%, 100% { opacity: 0; } }
@keyframes ladReloj { 0%, 11.6% { transform: scaleX(0); } 26.6%, 36% { transform: scaleX(1); } 36.8%, 100% { transform: scaleX(0); } }

/* Las tres vistas se apilan en la misma celda y se alternan con un fundido */
.lad-apila { display: grid; }
.lad-apila > * { grid-area: 1 / 1; }
.lad-v1 { animation: ladVistaA 20s ease-in-out infinite; }
.lad-v2 { opacity: 0; animation: ladVistaB 20s ease-in-out infinite; }
.lad-v3 { opacity: 0; animation: ladVistaC 20s ease-in-out infinite; }
@keyframes ladVistaA { 0%, 38.5% { opacity: 1; } 40.5%, 98% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ladVistaB { 0%, 38.5% { opacity: 0; } 40.5%, 68% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes ladVistaC { 0%, 68% { opacity: 0; } 70%, 98% { opacity: 1; } 100% { opacity: 0; } }

/* Vista de configuración */
.cf-th { fill: #8fb3d6; font-size: 13px; font-weight: 700; letter-spacing: .4px; }
.cf-th.c { text-anchor: middle; }
.cf-sep { stroke: rgba(255, 255, 255, .07); }
.cf-td { fill: #cfe0f0; font-size: 15px; }
.cf-td .b { fill: #fff; font-weight: 700; }
.cf-switch { fill: var(--primary-green); }
.cf-perilla { fill: #fff; }
.cf-btn { fill: #1a2a42; stroke: rgba(78, 168, 233, .45); }
.cf-btn-t { fill: #dce8f5; font-size: 20px; font-weight: 700; text-anchor: middle; }
.cf-valor { fill: #0b1626; stroke: rgba(78, 168, 233, .3); }
.cf-val { fill: #fff; font-size: 16px; font-weight: 700; text-anchor: middle; }
.cf-val.v3 { animation: cfV3 20s step-end infinite; }
.cf-val.v4 { opacity: 0; animation: cfV4 20s step-end infinite; }
.cf-val.v5 { opacity: 0; fill: var(--primary-green); animation: cfV5 20s step-end infinite; }
@keyframes cfV3 { 0% { opacity: 1; } 77.6% { opacity: 0; } 100% { opacity: 1; } }
@keyframes cfV4 { 0% { opacity: 0; } 77.6% { opacity: 1; } 81.1% { opacity: 0; } }
@keyframes cfV5 { 0% { opacity: 0; } 81.1% { opacity: 1; } 99.3% { opacity: 0; } }
.cf-marca { fill: rgba(78, 168, 233, .1); stroke: rgba(78, 168, 233, .45); opacity: 0; animation: cfMarca 20s ease infinite; }
@keyframes cfMarca { 0%, 74.1% { opacity: 0; } 75.5%, 96.5% { opacity: 1; } 97.9%, 100% { opacity: 0; } }
.cf-toque { fill: var(--primary-blue); opacity: 0; animation: cfToque 20s linear infinite; }
@keyframes cfToque { 0%, 77.2% { opacity: 0; } 77.6% { opacity: .8; } 78.6%, 80.7% { opacity: 0; } 81.1% { opacity: .8; } 82.2%, 100% { opacity: 0; } }
.cf-cursor { fill: #fff; stroke: #0b0f1a; stroke-width: 1.5; stroke-linejoin: round;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); animation: cfCursor 20s ease-in-out infinite; }
@keyframes cfCursor {
    0%, 71.3% { opacity: 0; transform: translate(560px, 330px); }
    72.7% { opacity: 1; transform: translate(560px, 330px); }
    76.2% { transform: translate(578px, 156px); }
    77.3% { transform: translate(578px, 156px) scale(.85); }
    78.3% { transform: translate(578px, 156px) scale(1); }
    80.8% { transform: translate(578px, 156px) scale(.85); }
    81.8% { transform: translate(578px, 156px) scale(1); }
    84.6% { opacity: 1; transform: translate(578px, 156px); }
    88.8%, 100% { opacity: 0; transform: translate(600px, 180px); }
}
.cf-guardado { opacity: 0; animation: cfGuardado 20s ease infinite; }
.cf-guardado rect { fill: rgba(25, 195, 157, .15); stroke: rgba(25, 195, 157, .55); }
.cf-guardado svg { color: var(--primary-green); }
.cf-guardado text { fill: #6ee7c8; font-size: 14px; font-weight: 700; text-anchor: middle; }
@keyframes cfGuardado { 0%, 83.2% { opacity: 0; } 85.3%, 96.5% { opacity: 1; } 97.9%, 100% { opacity: 0; } }
@keyframes ladLuz { 50% { fill-opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
    .lad-p1, .lad-p2, .lad-p3, .lad-luz.lad-p1, .lad-luz.lad-p2, .lad-reloj-lleno, .lad-v1 { animation: none; opacity: 1; }
    .lad-v2, .lad-v3 { display: none; }
}

/* Tablero */
.tablero-dibujo { margin: 0 auto; max-width: 400px; }
.tb-gabinete { fill: #b9bec6; stroke: #8b929c; stroke-width: 2; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }
.tb-placa { fill: #d4612d; }
.tb-canal { fill: #9ca3ad; }
.tb-ranura { fill: #7b828c; }
.tb-plc { fill: #23272e; stroke: #111; }
.tb-etiqueta { fill: #4ea8e9; }
.tb-bornes { fill: #3b4049; }
.tb-rj { fill: #0b0d10; stroke: #555c66; stroke-width: .8; }
.tb-cable { fill: none; stroke: #5fb0ea; stroke-width: 1.6; }
.tb-cable.rojo { stroke: #e5484d; }
.tb-auto { fill: #f1f3f5; stroke: #aab1ba; }
.tb-palanca { fill: #2f6fd0; }
.tb-rele { fill: #d6d9de; stroke: #9aa1aa; }
.tb-agente { fill: #16181c; stroke: #000; }
.tb-aleta { fill: #262a31; }
.tb-marca { fill: #cfd5dd; font-size: 9px; font-weight: 800; letter-spacing: 2px; text-anchor: middle; }
.tb-antena { stroke: #2b2f36; stroke-width: 4; stroke-linecap: round; }
.tb-switch { fill: #d7dbe0; stroke: #9aa1aa; }
.tb-fuente { fill: #c3c8cf; stroke: #959ca6; }
.tb-linea { stroke: #9aa1aa; stroke-width: 1.5; }
.tb-riel { fill: #8d939c; }
.tb-borne { fill: #9aa1aa; }
.tb-borne.n { fill: #e08a3c; }
.tb-led { fill: #3a3f47; }
.tb-led.run { fill: #22c55e; animation: hParpadeo 2s steps(2, jump-none) infinite; }
.tb-led.com { fill: #f59e0b; animation: hParpadeo .5s steps(2, jump-none) infinite; }
.tb-num circle { fill: url(#tbNum); stroke: #0b0f1a; stroke-width: 3; }
.tb-num text { fill: #fff; font-size: 13px; font-weight: 800; text-anchor: middle; }

@keyframes hParpadeo { 50% { opacity: .25; } }
@keyframes hBoton { 50% { opacity: .55; } }
@keyframes hZona { 0%, 100% { opacity: .08; } 50% { opacity: .28; } }
@keyframes hOnda { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
@keyframes hLlena { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hAviso { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hAparece { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .h-luz.on, .h-ico.alerta, .h-zona-alerta, .h-onda, .h-barra, .h-btn.alerta rect, .h-pill.activa,
    .hmi-aviso, .tb-led.run, .tb-led.com, .hmi-equipo [role="tabpanel"] { animation: none; }
    .hmi-aviso { opacity: 1; }
    .h-zona-alerta { opacity: .18; }
    .h-onda { display: none; }
}
@media (max-width: 768px) {
    .hmi-equipo { padding: 8px; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4), inset 0 0 0 3px #0c1016; }
}

/* =====================================================================
   Home: panel de Kalafate en vivo y aviso al celular (reemplaza la captura hero-img.png)
   Línea de tiempo: entra el panel (0,3–1 s), se dibujan la potencia y el combustible,
   a los 3,2 s se activa la sentina del Estanco 03 y a los 3,5 s llega el aviso al celular.
   ===================================================================== */
.hv { margin: 0; }
.hv svg:not(svg svg) { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.hv-win { fill: #131a2a; stroke: rgba(78, 168, 233, .25); stroke-width: 1.2; }
.hv-bar { fill: #1a2238; }
.hv-dot { fill: rgba(230, 232, 238, .35); }
.hv-url { fill: rgba(230, 232, 238, .07); }
.hv-url-t { fill: #7a8298; font-size: 10px; text-anchor: middle; }
.hv-vivo { fill: var(--primary-green); animation: hvLatido 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.hv-vivo-t { fill: #6ee7c8; font-size: 11px; font-weight: 700; }
.hv-side { fill: rgba(26, 34, 56, .6); }
.hv-side-on { fill: rgba(78, 168, 233, .16); }
.hv-ico { color: #7a8298; --ki-accent: #7a8298; }
.hv-ico.on { color: var(--primary-blue); --ki-accent: var(--primary-green); }
.hv-tile { fill: #1a2238; stroke: rgba(255, 255, 255, .05); }
.hv-lbl { fill: #7a8298; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.hv-lbl.c { text-anchor: middle; font-size: 10.5px; letter-spacing: 0; fill: #b3bccd; font-weight: 600; }
.hv-num { font-size: 24px; font-weight: 800; }
.hv-num.azul { fill: var(--primary-blue); } .hv-num.verde { fill: var(--primary-green); }
.hv-num.gris { fill: #b3bccd; } .hv-num.rojo { fill: var(--accent-red); }
.hv-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.hv-area { fill: url(#hvArea); opacity: 0; animation: hvAparece .8s ease-out 2s forwards; }
.hv-linea { fill: none; stroke: var(--primary-blue); stroke-width: 2.6; stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1; animation: hvTrazo 1.8s ease-out .9s forwards; }
.hv-punto { fill: var(--primary-blue); opacity: 0; animation: hvAparece .3s 2.6s forwards, hvLatido 1.6s ease-out 2.9s infinite;
    transform-box: fill-box; transform-origin: center; }
.hv-val { fill: #fff; font-size: 11px; font-weight: 800; text-anchor: end; opacity: 0; animation: hvAparece .4s 2.7s forwards; }
.hv-anillo-fondo { fill: none; stroke: rgba(230, 232, 238, .08); stroke-width: 9; }
.hv-anillo { fill: none; stroke: var(--primary-green); stroke-width: 9; stroke-linecap: round;
    stroke-dasharray: 100; stroke-dashoffset: 100; animation: hvAnillo 1.4s ease-out 1.1s forwards; }
.hv-anillo-t { fill: #e6e8ee; font-size: 17px; font-weight: 800; text-anchor: middle; }
.hv-chip { fill: rgba(25, 195, 157, .14); stroke: rgba(25, 195, 157, .45); }
.hv-chip.hv-alerta { animation: hvSentina .2s linear 3.2s forwards, hvParpadeo 1s steps(2, jump-none) 3.4s infinite; }
.hv-chip-n { fill: #6ee7c8; font-size: 10px; font-weight: 700; text-anchor: middle; }
.hv-chip-t { fill: #fff; font-size: 10px; font-weight: 800; text-anchor: middle; opacity: 0; animation: hvAparece .2s 3.2s forwards; }
.hv-antes { animation: hvDesaparece .2s 3.2s forwards; }
.hv-despues { opacity: 0; animation: hvAparece .2s 3.2s forwards; }
.hv-in { opacity: 0; animation: hvEntra .6s cubic-bezier(.2, .8, .2, 1) forwards; }
.hv-cel { opacity: 0; animation: hvEntra .7s cubic-bezier(.2, .8, .2, 1) .5s forwards; }
.hv-cel-marco { fill: #1a2238; stroke: #2a3555; stroke-width: 7; }
.hv-cel-notch { fill: #0b0f1a; }
.hv-cel-hora { fill: #e6e8ee; font-size: 30px; font-weight: 300; text-anchor: middle; }
.hv-cel-fecha { fill: #7a8298; font-size: 9px; text-anchor: middle; }
.hv-cel-tile { fill: rgba(230, 232, 238, .06); }
.hv-cel-v { fill: #e6e8ee; font-size: 14px; font-weight: 800; }
.hv-noti { opacity: 0; transform: translateY(-14px); animation: hvNoti .5s cubic-bezier(.2, .8, .2, 1) 3.5s forwards; }
.hv-noti rect { fill: rgba(230, 232, 238, .13); stroke: rgba(56, 189, 248, .6); stroke-width: 1.2; }
.hv-noti-ico { color: #38bdf8; --ki-accent: #bae6fd; }
.hv-noti-app { fill: #b3bccd; font-size: 8.5px; font-weight: 700; letter-spacing: .5px; }
.hv-noti-t { fill: #fff; font-size: 12.5px; font-weight: 800; }
.hv-noti-s { fill: #b3bccd; font-size: 10px; }
@keyframes hvEntra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hvAparece { to { opacity: 1; } }
@keyframes hvDesaparece { to { opacity: 0; } }
@keyframes hvTrazo { to { stroke-dashoffset: 0; } }
@keyframes hvAnillo { to { stroke-dashoffset: 31; } }
@keyframes hvLatido { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(1.6); opacity: .5; } 100% { transform: scale(1); opacity: 1; } }
@keyframes hvSentina { to { fill: #0c4a6e; stroke: #38bdf8; } }
@keyframes hvParpadeo { 50% { opacity: .45; } }
@keyframes hvNoti { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .hv *, .hv-in, .hv-cel, .hv-noti { animation: none !important; opacity: 1; transform: none; }
    .hv-linea { stroke-dashoffset: 0; } .hv-anillo { stroke-dashoffset: 31; }
    .hv-antes { opacity: 0; } .hv-chip.hv-alerta { fill: #0c4a6e; stroke: #38bdf8; }
}
@media (max-width: 991px) { .hv { max-width: 560px; margin: 0 auto 1rem; } }

/* =====================================================================
   Gestión energética: flujo combustible → generadores → tablero → sectores, y panel por sector
   ===================================================================== */
.en-flujo svg text { font-family: inherit; }
.en-tk { fill: #0f1524; stroke: rgba(245, 158, 11, .5); stroke-width: 1.5; }
.en-tk-nivel { fill: rgba(245, 158, 11, .28); }
.en-ico { color: var(--primary-blue); --ki-accent: var(--primary-green); }
.en-ico.ambar { color: var(--accent-amber); --ki-accent: #fcd34d; }
.en-t { fill: #b3bccd; font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.en-t.b { fill: #fff; font-size: 13px; font-weight: 700; }
.en-t.big { font-size: 15px; font-weight: 800; }
.en-t.m { fill: #7a8298; font-size: 10.5px; font-weight: 600; }
.en-t.on { fill: var(--primary-green); font-size: 11px; font-weight: 700; }
.en-t.off { fill: #64748b; font-size: 11px; font-weight: 700; }
.en-t.kw { font-size: 15px; font-weight: 800; }
.en-t.s { text-anchor: start; }
.en-t.e { text-anchor: end; }
.en-gen rect { fill: #0f1524; stroke: rgba(78, 168, 233, .25); stroke-width: 1.5; }
.en-gen .en-ico { color: #64748b; --ki-accent: #64748b; }
.en-gen.on rect { stroke: rgba(25, 195, 157, .7); }
.en-gen.on .en-ico { color: var(--primary-green); --ki-accent: #6ee7c8; }
.en-tab rect { fill: #141c30; stroke: var(--primary-blue); stroke-width: 2; }
.en-sec rect:first-child { fill: #0f1524; stroke-width: 1.5; }
.en-barra-fondo { fill: rgba(230, 232, 238, .08); }
.en-barra { transform-box: fill-box; transform-origin: left center; animation: hLlena 1.2s cubic-bezier(.2, .7, .2, 1) .6s both; }
.en-cable { fill: none; stroke: rgba(122, 130, 152, .3); stroke-width: 2; stroke-dasharray: 2 6; }
.en-flujo-on { fill: none; stroke: var(--primary-blue); stroke-width: 2.4; stroke-dasharray: 4 9; stroke-linecap: round;
    animation: enFlujo 1.1s linear infinite; }
.en-flujo-on.verde { stroke: var(--primary-green); }
@keyframes enFlujo { to { stroke-dashoffset: -26; } }

.en-panel { margin: 0 auto 2.2rem; max-width: 1100px; }
.en-panel svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .4)); }
.en-p-win { fill: #131a2a; stroke: rgba(78, 168, 233, .2); }
.en-p-h { fill: #fff; font-size: 17px; font-weight: 800; }
.en-p-s { fill: #7a8298; font-size: 12.5px; }
.en-p-chip { fill: transparent; stroke: rgba(230, 232, 238, .15); }
.en-p-chip.on { fill: rgba(78, 168, 233, .2); stroke: var(--primary-blue); }
.en-p-chip-t { fill: #b3bccd; font-size: 12px; font-weight: 600; text-anchor: middle; }
.en-p-chip-t.on { fill: #fff; font-weight: 700; }
.en-p-xl { fill: #15803d; }
.en-p-xl-t { fill: #fff; font-size: 12px; font-weight: 700; text-anchor: middle; }
.en-p-tile { fill: #1a2238; stroke: rgba(255, 255, 255, .05); }
.en-p-lbl { fill: #7a8298; font-size: 11px; font-weight: 700; letter-spacing: .9px; }
.en-p-num { font-size: 25px; font-weight: 800; }
.en-p-ley { fill: #b3bccd; font-size: 11.5px; }
.en-p-ley.v { fill: #fff; font-weight: 700; text-anchor: end; }
.en-p-grid { stroke: rgba(255, 255, 255, .06); }
.en-p-ax { fill: #7a8298; font-size: 10.5px; text-anchor: end; }
.en-p-ax.c { text-anchor: middle; }
.en-p-col { transform-box: fill-box; transform-origin: bottom; animation: enCrece .8s cubic-bezier(.2, .7, .2, 1) both; }
.en-p-dona-fondo { fill: none; stroke: rgba(230, 232, 238, .06); stroke-width: 26; }
.en-p-dona { fill: none; stroke-width: 26; opacity: 0; animation: hvAparece .5s ease-out both; }
.en-p-dona-v { fill: #fff; font-size: 22px; font-weight: 800; text-anchor: middle; }
.en-p-dona-u { fill: #7a8298; font-size: 11px; text-anchor: middle; }
.en-p-in { opacity: 0; animation: hvEntra .6s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes enCrece { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
    .en-flujo-on, .en-barra, .en-p-col, .en-p-dona, .en-p-in { animation: none; opacity: 1; }
}

/* Control de combustible: «la mejor integración es la que no se nota» y oportunidades de mejora */
.lp-auto-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-green);
    margin: -1rem 0 1.8rem;
}
.lp-opp { display: flex; flex-direction: column; position: relative; }
.lp-opp .lp-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}
