﻿.chevron:before,.chevron:after{background:#00C896}.specialise-box .inner-box:before{background:#0057D9}.service-block .inner-box .icon{color:#0057D9}.service-block .inner-box:before{background-color:#262626!important}.work-section .content .video-box .fa-play{background-color:#00C896}.gallery-block .inner-box:hover .image .overlay-box h2 a{color:#0057D9}.specialise-box .inner-box:hover .content h5 a{color:#fff}.specialise-box .inner-box:hover .content .icon{color:#fff}.main-header.fixed-header .main-menu .navigation>li.current>a,.main-header.fixed-header .main-menu .navigation>li:hover>a{color:#00C896}.btn-style-one{background-color:#0057D9}.icon-bar{position:fixed;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);z-index:1000}.icon-bar a{display:block;text-align:center;padding:16px;transition:all .3s ease;color:#fff;font-size:20px}.icon-bar a:hover{background-color:#000}.facebook{background:#3B5998;color:#fff}.whatsapp{background:#25D366;color:#fff}.google{background:#dd4b39;color:#fff}.content{margin-left:75px;font-size:30px;z-index:1000}#work{background-image:url('../images/background/1.jpg');margin-top:0}#intro{background:url('../images/background/people.jpg') center no-repeat;background-size:cover}.pf-blue{color:#0057D9}.wha-green{background:#25D366}

@media (min-width:1200px){
    /* spacing legacy — now managed by Design System v2 block below */
    .banner-section .slide{
        padding-top:151px !important;
        padding-bottom:21px !important;
        min-height: 580px !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .banner-section .content-boxed {
        top: 0 !important;
        transform: none !important;
        position: static !important;
    }
    .banner-section .content-boxed h1{font-size:68px !important}
}

.project-section{padding-bottom:0 !important;}

/* === Thermal panel: Try-Me hint === */
.thermo-hint{
    position:absolute;
    left:50%;
    top:33%;
    transform:translate(-50%,-50%);
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:14px;
    z-index:10;
    pointer-events:none;
    opacity:1;
    transition:opacity 700ms ease, transform 700ms ease;
}
.thermo-hint.is-gone{
    opacity:0;
    transform:translate(-50%,-50%) scale(0.9);
}
.thermo-hint__rings{
    position:relative;
    width:48px;
    height:48px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
}
.thermo-hint__rings::before,
.thermo-hint__rings::after{
    content:'';
    position:absolute;
    inset:0;
    border-radius:50%;
    background:rgba(255,110,0,0.5);
    animation:thHintPulse 2.4s ease-out infinite;
}
.thermo-hint__rings::after{
    animation-delay:1.2s;
}
.thermo-hint__cursor{
    position:relative;
    z-index:1;
    font-size:18px;
    color:#fff;
    text-shadow:0 0 12px rgba(255,130,0,1), 0 0 24px rgba(255,80,0,0.7);
}
.thermo-hint__label{
    background:rgba(0,0,0,0.42);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    color:#fff;
    font-size:10px;
    font-weight:600;
    letter-spacing:2.5px;
    text-transform:uppercase;
    padding:7px 18px;
    border-radius:30px;
    white-space:nowrap;
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 2px 12px rgba(0,0,0,0.25);
}
@keyframes thHintPulse{
    0%{transform:scale(0.65);opacity:0.75;}
    80%{transform:scale(2.6);opacity:0;}
    100%{transform:scale(2.6);opacity:0;}
}

/* ===== CALCULADORA DE PÉRDIDAS SOLARES ===== */
.calc-section{
    padding:80px 0 60px;
    background: var(--pf-dark);
    position:relative;
    overflow:hidden;
}
.calc-section::before{
    content:'';
    position:absolute;
    inset:0;
    background:radial-gradient(ellipse 70% 60% at 80% 50%, rgba(38,109,211,0.18) 0%, transparent 70%),
               radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255,120,0,0.10) 0%, transparent 65%);
    pointer-events:none;
}
.calc-section .sec-title h2,
.calc-section .sec-title .text{
    color:#fff !important;
}
.calc-section .sec-title .text{
    opacity:0.75;
}
.calc-card{
    display:flex;
    gap:48px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.10);
    border-radius:16px;
    padding:40px 44px;
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    position:relative;
    z-index:1;
}
.calc-inputs{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:28px;
}
.calc-field label{
    display:block;
    color:#ffffff;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.8px;
    text-transform:uppercase;
    margin-bottom:10px;
}
.calc-label-sub{
    font-size:11px;
    font-weight:400;
    opacity:0.6;
    text-transform:none;
    letter-spacing:0;
}
.calc-input-row{
    display:flex;
    align-items:center;
    gap:0;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.18);
    border-radius:8px;
    overflow:hidden;
}
.calc-input-row input{
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    padding:12px 14px;
    color:#fff;
    font-size:20px;
    font-family:inherit;
    font-weight:600;
    min-width:0;
}
.calc-input-row input::placeholder{color:rgba(255,255,255,0.3);}
.calc-prefix,.calc-suffix{
    padding:0 12px;
    color:rgba(255,255,255,0.5);
    font-size:16px;
    font-weight:500;
    white-space:nowrap;
}
.calc-unit-toggle{
    display:flex;
    border-left:1px solid rgba(255,255,255,0.15);
}
.calc-unit{
    background:transparent;
    border:none;
    outline:none;
    padding:10px 16px;
    color:rgba(255,255,255,0.5);
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:all 250ms ease;
    font-family:inherit;
}
.calc-unit.active{
    background:rgba(38,109,211,0.6);
    color:#fff;
}
.calc-hint{
    display:block;
    margin-top:6px;
    font-size:11px;
    color:rgba(255,255,255,0.55);
}
.calc-slider-wrap input[type=range]{
    width:100%;
    accent-color:#0057D9;
    cursor:pointer;
    height:6px;
}
.calc-slider-labels{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:8px;
    font-size:11px;
    color:rgba(255,255,255,0.4);
}
.calc-slider-labels output{
    color:#00C896;
    font-weight:700;
    font-size:15px;
}
.calc-results{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:16px;
    justify-content:center;
}
.calc-result-hero{
    display:flex;
    align-items:center;
    gap:18px;
    background:rgba(38,109,211,0.20);
    border:1px solid rgba(38,109,211,0.4);
    border-radius:12px;
    padding:20px 24px;
    transition:transform 300ms ease;
}
.calc-result-hero--money{
    background:rgba(255,120,0,0.15);
    border-color:rgba(255,120,0,0.4);
}
.calc-result-icon{
    font-size:26px;
    color:#00C896;
    width:44px;
    text-align:center;
    flex-shrink:0;
}
.calc-result-hero--money .calc-result-icon{
    color:#ffb366;
}
.calc-result-label{
    font-size:11px;
    color:rgba(255,255,255,0.6);
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:4px;
}
.calc-result-value{
    font-size:28px;
    font-weight:700;
    color:#ffffff;
    line-height:1.1;
}
.calc-breakdown{
    background:rgba(0,0,0,0.25);
    border-radius:10px;
    padding:16px 20px;
    display:flex;
    flex-direction:column;
    gap:10px;
}
.calc-breakdown-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:rgba(255,255,255,0.6);
    border-bottom:1px solid rgba(255,255,255,0.06);
    padding-bottom:8px;
}
.calc-breakdown-row:last-child{
    border-bottom:none;
    padding-bottom:0;
}
.calc-breakdown-row--total{
    color:#00C896;
    font-weight:600;
    font-size:13px;
}
.calc-disclaimer{
    font-size:10px;
    color:rgba(255,255,255,0.3);
    line-height:1.5;
    margin:0;
}
@media (max-width:991px){
    .calc-card{
        flex-direction:column;
        gap:32px;
        padding:28px 24px;
    }
}

/* ===== FIN CALCULADORA ===== */

/* ================================================================
   CAMIÓN CANASTA — Escena interactiva & Calculadora de alquiler
   ================================================================ */

/* ── Escena SVG ──────────────────────────────────────────────── */
.canasta-row { align-items: center; }

.canasta-scene {
    position: relative;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #0c1520;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}

.canasta-scene svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ── Hint overlay (same pattern as thermo-hint) ─────────────── */
.canasta-hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(10,22,40,0.62);
    border-radius: 18px;
    pointer-events: none;
    z-index: 4;
    transition: opacity 700ms ease;
}

.canasta-hint.is-gone {
    opacity: 0;
}

.canasta-hint__rings {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canasta-hint__rings::before,
.canasta-hint__rings::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0,200,150,0.55);
    animation: canastaRing 2s ease-out infinite;
}

.canasta-hint__rings::before { width: 52px; height: 52px; }
.canasta-hint__rings::after  { width: 34px; height: 34px; animation-delay: 0.4s; }

@keyframes canastaRing {
    0%   { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.canasta-hint__cursor {
    font-size: 20px;
    color: #fff;
    position: relative;
    z-index: 1;
    animation: canastaWiggle 1.6s ease-in-out infinite;
}

@keyframes canastaWiggle {
    0%,100% { transform: translate(0,0); }
    25%      { transform: translate(8px,-4px); }
    75%      { transform: translate(-8px,4px); }
}

.canasta-hint__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

/* ── Select field ────────────────────────────────────────────── */
.crane-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color 200ms ease;
}

.crane-select:focus {
    outline: none;
    border-color: var(--pf-teal);
}

.crane-select option {
    background: #16213e;
    color: #fff;
}

/* ── Day / Night toggle buttons ──────────────────────────────── */
.crane-toggle-group {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.crane-toggle {
    flex: 1;
    padding: 9px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 250ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.crane-toggle i { font-size: 15px; }

.crane-toggle:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.crane-toggle.active {
    background: var(--pf-accent);
    border-color: var(--pf-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,87,217,0.38);
}

/* ── Details column (mirrors thermo-details) ─────────────────── */
.thermo-details h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--pf-text) !important;
    margin-bottom: 12px !important;
}

.thermo-details p {
    color: var(--pf-sub) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .canasta-scene { margin-bottom: 32px; }
}

/* ================================================================
   FIN CAMIÓN CANASTA
   ================================================================ */

/* ================================================================
   MODERN DESIGN SYSTEM v2 — PortalFrame
   Paleta unificada, tipografía limpia, inspiración Apple/tech
   ================================================================ */

/* --- 1. CSS Custom Properties / Tokens ----------------------------- */
:root {
    --pf-accent:       #0057D9;    /* Azul primario */
    --pf-accent-dark:  #003fa3;    /* Azul hover */
    --pf-teal:         #00C896;    /* Acento teal */
    --pf-dark:         #16213e;    /* Fondo oscuro secciones */
    --pf-jet:          #0a0a0a;    /* Casi negro footer */
    --pf-text:         #1d1d1f;    /* Texto cuerpo */
    --pf-sub:          #6e6e73;    /* Texto secundario */
    --pf-light:        #f5f5f7;    /* Fondo claro secciones */
    --pf-border:       #d2d2d7;    /* Bordes suaves */
    --pf-radius:       16px;
    --pf-shadow:       0 4px 24px rgba(0,0,0,0.07);
    --pf-shadow-hover: 0 16px 48px rgba(0,87,217,0.15);
    --pf-transition:   all 300ms cubic-bezier(0.4,0,0.2,1);
}

/* --- 2. Tipografía global ------------------------------------------ */
body {
    font-size: 16px !important;
    color: var(--pf-text) !important;
    line-height: 1.75 !important;
}

a { color: var(--pf-accent); }

h1,h2,h3,h4,h5,h6 {
    letter-spacing: -0.3px;
    color: var(--pf-text);
}

/* --- 3. Títulos de sección (sec-title) ----------------------------- */
.sec-title h2 {
    font-size: 40px !important;
    font-weight: 700 !important;
    color: var(--pf-text) !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
}

.sec-title .text {
    color: var(--pf-sub) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    margin-top: 12px !important;
}

/* --- 4. Botones (pill style) --------------------------------------- */
.theme-btn.btn-style-one,
.btn-style-one {
    background: var(--pf-accent) !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: none !important;
    box-shadow: 0 4px 16px rgba(0,87,217,0.28) !important;
    transition: var(--pf-transition) !important;
}

.theme-btn.btn-style-one:hover,
.btn-style-one:hover {
    box-shadow: 0 8px 24px rgba(0,87,217,0.42) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}

.theme-btn.btn-style-one::before,
.btn-style-one::before {
    border-radius: 50px !important;
    background: var(--pf-accent-dark) !important;
}

.wha-green.btn-style-one,
.wha-green.theme-btn.btn-style-one {
    background: #25D366 !important;
    box-shadow: 0 4px 16px rgba(37,211,102,0.25) !important;
}

.wha-green.btn-style-one::before {
    background: #1da851 !important;
}

/* CTA hero link-button (see-projects) */
.banner-section .content-boxed .btn-box .see-projects {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px !important;
    background: rgba(255,255,255,0.94) !important;
    color: var(--pf-text) !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18) !important;
    transition: var(--pf-transition) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.banner-section .content-boxed .btn-box .see-projects:hover {
    background: #fff !important;
    color: var(--pf-text) !important;
    border: none !important;
    transform: scale(1.03) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22) !important;
}

/* --- 5. Header ------------------------------------------------------ */

/* Contenedor flex: alinea logo y nav verticalmente al centro */
.main-header .header-upper .inner-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 72px !important;
    padding: 0 !important;
    position: relative !important;
}

/* Logo: quita float y padding heredado */
.main-header .header-upper .logo-box {
    float: none !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    z-index: 10 !important;
}

/* Limita altura del logo para caberle en el header de 72px */
.main-header .header-upper .logo-box .logo img {
    height: 36px !important;
    width: auto !important;
    display: block !important;
}

/* Nav outer: quita float y padding del template */
.main-header .nav-outer {
    float: none !important;
    padding-left: 0 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
}

/* La barra de menú — solo en escritorio */
@media (min-width: 992px) {
    .main-menu {
        float: none !important;
        display: flex !important;
        align-items: center !important;
    }
    .main-menu .navbar-collapse {
        display: flex !important;
        align-items: center !important;
    }
}

/* En móvil: restaurar comportamiento del template */
@media (max-width: 991px) {
    .main-menu {
        display: none !important;
    }
    .main-header .header-upper .inner-container {
        height: 62px !important;
    }
    .main-header .nav-outer .mobile-nav-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: #fff !important;
        cursor: pointer;
        padding: 0 4px !important;
        margin: 0 !important;
        line-height: 1;
    }
}

/* Estilo visual del header — siempre con fondo semitransparente */
.main-header .header-upper {
    background: rgba(4,8,20,0.52) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    transition: background 300ms ease, box-shadow 300ms ease !important;
}

/* Frosted glass reforzado cuando está sticky */
.main-header.fixed-header .header-upper {
    background: rgba(4,8,20,0.90) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 2px 32px rgba(0,0,0,0.32) !important;
}

/* Nav links — estilo pill moderno */
.main-menu .navigation > li > a {
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.15px !important;
    color: rgba(255,255,255,0.85) !important;
    padding: 7px 16px !important;
    line-height: 1.4 !important;
    border-radius: 50px !important;
    transition: var(--pf-transition) !important;
    background: transparent !important;
}

.main-menu .navigation > li.current > a,
.main-menu .navigation > li:hover > a,
.main-header.fixed-header .main-menu .navigation > li.current > a,
.main-header.fixed-header .main-menu .navigation > li:hover > a {
    color: var(--pf-teal) !important;
    background: rgba(0,200,150,0.1) !important;
}

/* Ocultar línea decorativa de fondo (reemplazada por pill hover) */
.main-menu .navigation > li:before {
    display: none !important;
}

/* --- 6. Chevrons (scroll down) ------------------------------------- */
.chevron:before,.chevron:after {
    background: var(--pf-teal) !important;
}

/* --- 7. Hero / Banner ---------------------------------------------- */
/* Fondo centrado y sin repetición en todos los slides */
.banner-section .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Gradient overlay sobre las imágenes de fondo */
.banner-section .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        140deg,
        rgba(0,20,70,0.35) 0%,
        rgba(4,6,16,0.43) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* El contenido debe quedar por encima del overlay */
.banner-section .slide .auto-container {
    position: relative;
    z-index: 2;
}

.banner-section .content-boxed h1 {
    font-size: 62px !important;
    font-weight: 700 !important;
    letter-spacing: -1.5px !important;
    line-height: 1.08 !important;
    margin-top: 0 !important;
    color: #fff !important;
}

.banner-section .content-boxed h5 {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: rgba(255,255,255,0.78) !important;
    margin-top: 18px !important;
}

.banner-section .social-box li a,
.banner-section .info,
.banner-section .info a {
    color: rgba(255,255,255,0.65) !important;
}

.banner-section .social-box li a:hover,
.banner-section .info a:hover {
    color: var(--pf-teal) !important;
}

/* --- 8. CTA section (homepage quick band) -------------------------- */
.cta-section {
    background: var(--pf-light) !important;
    padding: 72px 0 !important;
}

.cta-section .sec-title h2 {
    color: var(--pf-text) !important;
}

.cta-section .sec-title .text {
    color: var(--pf-sub) !important;
}

.cta-section .text-center {
    margin-top: 28px !important;
}

/* CTA sections dentro de páginas de servicio */
.cta-section.service-page-cta {
    background: var(--pf-dark) !important;
}

/* --- 9. Services section ------------------------------------------- */
/* ═══════════════════════════════════════════════════════════════════
   SERVICES — MAGAZINE ACCORDION  (animated dark showcase)
   ═══════════════════════════════════════════════════════════════════ */

/* Orb drift keyframes */
@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(90px,-70px) scale(1.12); }
  66%     { transform: translate(-50px,90px) scale(0.88); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-80px,60px) scale(0.92); }
  66%     { transform: translate(100px,-40px) scale(1.10); }
}
@keyframes orbDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px,60px) scale(1.20); }
}
@keyframes pipPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(0,200,150,0.22), 0 0 18px rgba(0,200,150,0.5); }
  50%     { box-shadow: 0 0 0 6px rgba(0,200,150,0.10), 0 0 32px rgba(0,200,150,0.7); }
}
@keyframes srvWordReveal {
  from { opacity: 0; transform: translateY(100%) skewY(5deg); }
  to   { opacity: 1; transform: translateY(0)   skewY(0deg); }
}
@keyframes srvFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes srvItemIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Full-section background pattern animations ── */
@keyframes patternSoftware {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 100px, 100px 0, 0 0, 0 0, 80px 80px; }
}

@keyframes patternElectric {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.1) rotate(2deg); }
}

@keyframes patternNetwork {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(10px); }
}

@keyframes patternDrone {
  0%   { background-position: 0 0, 0 0, 50% 30%, 0 0; }
  100% { background-position: 0 0, 0 0, 55% 35%, 80px 80px; }
}

@keyframes patternThermal {
  0%   { background-position: -40% -40%; }
  50%  { background-position: -30% -35%; }
  100% { background-position: -40% -40%; }
}

@keyframes patternRoad {
  0%   { background-position: 35% 0, 35% 0, 35% 0, 65% 0; }
  100% { background-position: 35% 0, 35% 0, 35% 400px, 65% 0; }
}

@keyframes patternHeight {
  0%   { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, 0 0, 0 0, 0 0, 100px 100px; }
}

/* ── Section shell ── */
.services-section {
  position: relative !important;
  background: #060a14 !important;
  padding-top: 90px !important;
  padding-bottom: 170px !important;
  overflow: hidden !important;
}

/* ── Animated canvas (orbs + grid) ── */
.srv-canvas {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
/* Diagonal grid lines */
.srv-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.013) 60px,
    rgba(255,255,255,0.013) 61px
  );
}
.srv-orb {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(100px) !important;
  will-change: transform !important;
}
.srv-orb--1 {
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(0,87,217,0.30) 0%, transparent 70%);
  top: -280px; left: -220px;
  animation: orbDrift1 22s ease-in-out infinite;
}
.srv-orb--2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0,200,150,0.25) 0%, transparent 70%);
  bottom: -220px; right: -160px;
  animation: orbDrift2 18s ease-in-out infinite;
  animation-delay: -7s;
}
.srv-orb--3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, transparent 70%);
  top: 35%; left: 52%;
  animation: orbDrift3 26s ease-in-out infinite;
  animation-delay: -12s;
}
.services-section .auto-container { position: relative !important; z-index: 1 !important; }

/* ── Header block ── */
/* ── Services header — horizontal two-column layout ── */
.srv-hd {
  display: flex !important;
  align-items: flex-end !important;
  gap: 80px !important;
  margin-bottom: 40px !important;
  padding-bottom: 36px !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
}
.srv-hd__left {
  flex: 0 0 auto !important;
  width: 42% !important;
}
.srv-hd__right {
  flex: 1 1 0 !important;
  padding-bottom: 4px !important;
}
.srv-hd__tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--pf-teal) !important;
  margin-bottom: 14px !important;
  opacity: 0;
  animation: srvFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
.srv-hd__pip {
  display: inline-block !important;
  width: 7px !important; height: 7px !important;
  border-radius: 50% !important;
  background: var(--pf-teal) !important;
  animation: pipPulse 2.4s ease-in-out infinite !important;
  flex-shrink: 0 !important;
}
.srv-hd__h {
  font-size: clamp(2.8rem, 4.5vw, 5rem) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em !important;
  color: #fff !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.srv-wd {
  display: block !important;
  overflow: hidden !important;
  animation: srvWordReveal 0.85s cubic-bezier(0.16,1,0.3,1) both !important;
}
.srv-wd:nth-child(1) { animation-delay: 0.15s !important; }
.srv-wd:nth-child(2) { animation-delay: 0.30s !important; }
.srv-wd--accent {
  color: transparent !important;
  -webkit-text-stroke: 2px rgba(255,255,255,0.35) !important;
}
.srv-hd__sub {
  font-size: 0.97rem !important;
  color: rgba(255,255,255,0.50) !important;
  line-height: 1.7 !important;
  margin-bottom: 28px !important;
  animation: srvFadeUp 0.7s ease 0.42s both !important;
}
/* Stats row */
.srv-stats {
  display: flex !important;
  align-items: center !important;
  gap: 32px !important;
  animation: srvFadeUp 0.7s ease 0.56s both !important;
}
.srv-stat {
  display: flex !important;
  align-items: baseline !important;
  gap: 2px !important;
  flex-wrap: wrap !important;
}
.srv-stat__n {
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: -0.04em !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
}
.srv-stat__u {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--pf-teal) !important;
  line-height: 1 !important;
}
.srv-stat__l {
  font-size: 9px !important;
  letter-spacing: 1.6px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.22) !important;
  width: 100% !important;
  margin-top: 3px !important;
}
.srv-stat__sep {
  width: 1px !important;
  height: 36px !important;
  background: rgba(255,255,255,0.10) !important;
  flex-shrink: 0 !important;
}

/* ── Service list ── */
.srv-list {
  border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.srv-item {
  position: relative !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  cursor: pointer !important;
  transition: background 400ms ease !important;
  animation: srvItemIn 0.6s cubic-bezier(0.16,1,0.3,1) both !important;
}
.srv-item:nth-child(1) { animation-delay: 0.25s !important; }
.srv-item:nth-child(2) { animation-delay: 0.38s !important; }
.srv-item:nth-child(3) { animation-delay: 0.51s !important; }
.srv-item:nth-child(4) { animation-delay: 0.64s !important; }
.srv-item:nth-child(5) { animation-delay: 0.77s !important; }
.srv-item:nth-child(6) { animation-delay: 0.90s !important; }
.srv-item:nth-child(7) { animation-delay: 1.03s !important; }

/* ── Full-section background patterns (triggered by hover) ── */
.services-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}

/* Software — Terminal code with syntax highlighting */
.services-section.srv-active-1::after {
  opacity: 0.20;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(59,130,246,0.4) 18px, rgba(59,130,246,0.4) 19px),
    repeating-linear-gradient(90deg, transparent 12px, rgba(59,130,246,0.15) 12px, rgba(59,130,246,0.15) 14px, transparent 14px, transparent 80px),
    radial-gradient(circle at 8% 15%, rgba(59,130,246,0.6) 2px, transparent 2px),
    radial-gradient(circle at 92% 82%, rgba(59,130,246,0.5) 3px, transparent 3px),
    linear-gradient(135deg, transparent 45%, rgba(59,130,246,0.08) 45%, rgba(59,130,246,0.08) 55%, transparent 55%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 80px 80px;
  animation: patternSoftware 20s linear infinite;
}

/* Electricidad — Circuit board traces */
.services-section.srv-active-2::after {
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(245,158,11,0.35) 60px, rgba(245,158,11,0.35) 62px, transparent 62px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(245,158,11,0.3) 80px, rgba(245,158,11,0.3) 82px, transparent 82px),
    radial-gradient(circle at 20% 30%, rgba(245,158,11,0.7) 4px, transparent 4px),
    radial-gradient(circle at 80% 70%, rgba(245,158,11,0.65) 5px, transparent 5px),
    radial-gradient(circle at 50% 50%, rgba(245,158,11,0.6) 3px, transparent 3px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: patternElectric 16s ease-in-out infinite;
}

/* Redes — Network topology with nodes */
.services-section.srv-active-3::after {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(139,92,246,0.5) 3px, transparent 3px),
    radial-gradient(circle at 85% 25%, rgba(139,92,246,0.45) 3px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(139,92,246,0.6) 4px, transparent 4px),
    radial-gradient(circle at 25% 75%, rgba(139,92,246,0.4) 3px, transparent 3px),
    radial-gradient(circle at 75% 80%, rgba(139,92,246,0.5) 3px, transparent 3px),
    linear-gradient(130deg, transparent 48%, rgba(139,92,246,0.25) 49%, rgba(139,92,246,0.25) 51%, transparent 52%),
    linear-gradient(50deg, transparent 48%, rgba(139,92,246,0.2) 49%, rgba(139,92,246,0.2) 51%, transparent 52%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: patternNetwork 14s ease-in-out infinite;
}

/* Drones — Aerial GPS grid */
.services-section.srv-active-4::after {
  opacity: 0.24;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(6,182,212,0.3) 100px, rgba(6,182,212,0.3) 101px),
    repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(6,182,212,0.3) 100px, rgba(6,182,212,0.3) 101px),
    radial-gradient(circle at 50% 30%, rgba(6,182,212,0.8) 6px, rgba(6,182,212,0.3) 6px, rgba(6,182,212,0.3) 16px, transparent 16px),
    repeating-linear-gradient(135deg, transparent, transparent 15px, rgba(6,182,212,0.15) 15px, rgba(6,182,212,0.15) 17px, transparent 17px, transparent 30px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 80px 80px;
  animation: patternDrone 18s linear infinite;
}

/* Termografía — Thermal heatmap */
.services-section.srv-active-5::after {
  opacity: 0.28;
  background:
    radial-gradient(ellipse at 25% 35%, rgba(244,63,94,0.6) 0%, transparent 35%),
    radial-gradient(ellipse at 75% 30%, rgba(249,115,22,0.5) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 70%, rgba(234,179,8,0.4) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 75%, rgba(244,63,94,0.45) 0%, transparent 38%);
  background-size: 180% 180%;
  background-position: -40% -40%;
  animation: patternThermal 12s ease-in-out infinite;
}

/* Transporte — Highway road from above */
.services-section.srv-active-6::after {
  opacity: 0.25;
  background-image:
    linear-gradient(0deg, rgba(249,115,22,0.5) 0%, rgba(249,115,22,0.5) 2px, transparent 2px, transparent 100%),
    linear-gradient(0deg, transparent 0%, transparent calc(50% - 1px), rgba(249,115,22,0.4) calc(50% - 1px), rgba(249,115,22,0.4) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(249,115,22,0.35) 40px, rgba(249,115,22,0.35) 60px, transparent 60px, transparent 100px),
    linear-gradient(0deg, rgba(249,115,22,0.5) 0%, rgba(249,115,22,0.5) 2px, transparent 2px, transparent 100%);
  background-size: 30% 100%, 30% 100%, 30% 400px, 30% 100%;
  background-position: 35% 0, 35% 0, 35% 0, 65% 0;
  background-repeat: no-repeat, no-repeat, repeat-y, no-repeat;
  animation: patternRoad 10s linear infinite;
}

/* Trabajos en Altura — Building scaffold structure */
.services-section.srv-active-7::after {
  opacity: 0.22;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(16,185,129,0.35) 50px, rgba(16,185,129,0.35) 51px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(16,185,129,0.3) 60px, rgba(16,185,129,0.3) 61px),
    linear-gradient(90deg, transparent 74%, rgba(16,185,129,0.4) 74%, rgba(16,185,129,0.4) 76%, transparent 76%),
    radial-gradient(circle at 75% 15%, rgba(16,185,129,0.6) 8px, transparent 8px),
    repeating-linear-gradient(135deg, transparent, transparent 20px, rgba(16,185,129,0.2) 20px, rgba(16,185,129,0.2) 22px, transparent 22px, transparent 60px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100px 100px;
  animation: patternHeight 15s linear infinite;
}

/* Full row clickable overlay */
.srv-item__overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

/* Animated left color bar */
.srv-item__bar {
  position: absolute !important;
  left: 0 !important; top: 0 !important; bottom: 0 !important;
  width: 3px !important;
  background: var(--c, #0057D9) !important;
  transform: scaleY(0) !important;
  transform-origin: bottom !important;
  transition: transform 450ms cubic-bezier(0.4,0,0.2,1) !important;
}
.srv-item:hover .srv-item__bar,
.srv-item:focus-within .srv-item__bar {
  transform: scaleY(1) !important;
  transform-origin: top !important;
}
.srv-item:hover,
.srv-item:focus-within {
  background: rgba(255,255,255,0.025) !important;
}

/* Track row */
.srv-item__track {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  padding: 28px 16px !important;
  position: relative !important;
  z-index: 2 !important;
}
.srv-item__num {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  color: rgba(255,255,255,0.16) !important;
  min-width: 26px !important;
  flex-shrink: 0 !important;
  transition: color 350ms ease !important;
}
.srv-item:hover .srv-item__num,
.srv-item:focus-within .srv-item__num { color: var(--c, #0057D9) !important; }

.srv-item__icon {
  font-size: 1.8rem !important;
  color: rgba(255,255,255,0.25) !important;
  flex-shrink: 0 !important;
  transition: color 350ms ease, transform 420ms cubic-bezier(0.34,1.56,0.64,1) !important;
}
.srv-item:hover .srv-item__icon,
.srv-item:focus-within .srv-item__icon {
  color: var(--c, #0057D9) !important;
  transform: scale(1.22) rotate(-8deg) !important;
}

.srv-item__name {
  font-size: clamp(1.25rem, 2.2vw, 2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: rgba(255,255,255,0.50) !important;
  flex: 1 !important;
  line-height: 1 !important;
  margin: 0 !important;
  transition: color 350ms ease !important;
}
.srv-item:hover .srv-item__name,
.srv-item:focus-within .srv-item__name { color: #fff !important; }

.srv-item__arrow {
  font-size: 1rem !important;
  color: rgba(255,255,255,0.55) !important;
  flex-shrink: 0 !important;
  font-style: normal !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.04) !important;
  transition: transform 420ms cubic-bezier(0.34,1.56,0.64,1),
              color 300ms ease,
              background 300ms ease,
              border-color 300ms ease,
              box-shadow 300ms ease !important;
}
.srv-item:hover .srv-item__arrow,
.srv-item:focus-within .srv-item__arrow {
  transform: translateX(6px) !important;
  color: #fff !important;
  background: var(--c, #0057D9) !important;
  border-color: var(--c, #0057D9) !important;
  box-shadow: 0 0 14px 0 color-mix(in srgb, var(--c, #0057D9) 60%, transparent) !important;
}

/* Expanding detail panel */
.srv-item__panel {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 540ms cubic-bezier(0.4,0,0.2,1) !important;
  position: relative !important;
  z-index: 2 !important;
}
.srv-item:hover .srv-item__panel,
.srv-item:focus-within .srv-item__panel { max-height: 240px !important; }

.srv-item__inner {
  display: flex !important;
  align-items: flex-start !important;
  gap: 48px !important;
  padding: 0 16px 36px 86px !important;
}
.srv-item__inner ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 28px !important;
}
.srv-item__inner ul li {
  font-size: 13px !important;
  color: rgba(255,255,255,0.40) !important;
  padding-left: 16px !important;
  position: relative !important;
  line-height: 1.6 !important;
}
.srv-item__inner ul li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important; top: 8px !important;
  width: 5px !important; height: 5px !important;
  border-radius: 50% !important;
  background: var(--c, #0057D9) !important;
}
.srv-item__cta {
  flex-shrink: 0 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  white-space: nowrap !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 11px 28px !important;
  background: var(--c, #0057D9) !important;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c, #0057D9) 50%, transparent),
              inset 0 1px 0 rgba(255,255,255,0.18) !important;
  position: relative !important;
  z-index: 6 !important;
  overflow: hidden !important;
  transition: transform 260ms cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 300ms ease !important;
}
.srv-item__cta::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(105deg,
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0) 70%) !important;
  transform: translateX(-100%) !important;
  transition: transform 480ms ease !important;
  pointer-events: none !important;
}
.srv-item__cta:hover::before {
  transform: translateX(100%) !important;
}
.srv-item:hover .srv-item__cta:hover,
.srv-item__cta:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 24px -4px color-mix(in srgb, var(--c, #0057D9) 65%, transparent),
              inset 0 1px 0 rgba(255,255,255,0.22) !important;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .services-section { padding-top: 100px !important; padding-bottom: 100px !important; }
  .srv-hd { gap: 48px !important; margin-bottom: 36px !important; }
  .srv-hd__left { width: 48% !important; }
  .srv-hd__h { font-size: clamp(2.2rem, 4vw, 3.5rem) !important; }
  .srv-item__inner { padding-left: 16px !important; flex-direction: column !important; gap: 16px !important; }
  .srv-item:hover .srv-item__panel { max-height: 360px !important; }
}
@media (max-width: 767px) {
  .srv-hd { flex-direction: column !important; align-items: flex-start !important; gap: 20px !important; }
  .srv-hd__left { width: 100% !important; }
}
@media (max-width: 575px) {
  .srv-hd__h { font-size: 2.4rem !important; }
  .srv-stats { gap: 20px !important; }
  .srv-stat__n { font-size: 1.7rem !important; }
  .srv-item__track { gap: 16px !important; padding: 22px 12px !important; }
}

/* Organic category hover overrides – SVG technical patterns */
@keyframes srvSoftwareFloat {
    0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
    33%  { transform: translate3d(8px,-6px,0) scale(1.02) rotate(.4deg); }
    66%  { transform: translate3d(-4px,4px,0) scale(.99) rotate(-.3deg); }
    100% { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
}

@keyframes srvElectricSurge {
    0%   { transform: translate3d(0,0,0) scale(1); filter: brightness(1) contrast(1); }
    15%  { filter: brightness(1.25) contrast(1.1); }
    20%  { filter: brightness(1) contrast(1); }
    50%  { transform: translate3d(-6px,4px,0) scale(1.01); }
    70%  { filter: brightness(1.2) contrast(1.08); }
    75%  { filter: brightness(1) contrast(1); }
    100% { transform: translate3d(0,0,0) scale(1); filter: brightness(1) contrast(1); }
}

@keyframes srvNetworkPulse {
    0%   { transform: translate3d(0,0,0) scale(1); opacity: .78; }
    25%  { transform: translate3d(4px,-3px,0) scale(1.015); opacity: .88; }
    50%  { transform: translate3d(-2px,5px,0) scale(.99); opacity: .78; }
    75%  { transform: translate3d(3px,2px,0) scale(1.01); opacity: .86; }
    100% { transform: translate3d(0,0,0) scale(1); opacity: .78; }
}

@keyframes srvDroneSweep {
    0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
    25%  { transform: translate3d(10px,-8px,0) rotate(.6deg) scale(1.02); }
    50%  { transform: translate3d(14px,4px,0) rotate(0deg) scale(1); }
    75%  { transform: translate3d(-4px,6px,0) rotate(-.4deg) scale(.99); }
    100% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
}

@keyframes srvThermalShimmer {
    0%   { transform: translate3d(0,0,0) scale(1); filter: hue-rotate(0deg); }
    33%  { transform: translate3d(-5px,3px,0) scale(1.01); filter: hue-rotate(6deg); }
    66%  { transform: translate3d(4px,-4px,0) scale(.99); filter: hue-rotate(-4deg); }
    100% { transform: translate3d(0,0,0) scale(1); filter: hue-rotate(0deg); }
}

@keyframes srvLogisticsScroll {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(18px,0,0) scale(1.01); }
    100% { transform: translate3d(0,0,0) scale(1); }
}

@keyframes srvAltitudeRise {
    0%   { transform: translate3d(0,0,0) scale(1); }
    33%  { transform: translate3d(0,-10px,0) scale(1.015); }
    66%  { transform: translate3d(3px,-6px,0) scale(1.005); }
    100% { transform: translate3d(0,0,0) scale(1); }
}

.services-section {
    --srv-pointer-x: 50%;
    --srv-pointer-y: 42%;
}

.services-section::after {
    inset: 0 !important;
    z-index: 1 !important;
    opacity: 0 !important;
    clip-path: circle(0 at var(--srv-pointer-x) var(--srv-pointer-y)) !important;
    transform: translate3d(0, 30px, 0) scale(0.88) rotate(-3deg) !important;
    filter: blur(30px) saturate(0.72) !important;
    transition:
        opacity 180ms linear,
        clip-path 900ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 900ms cubic-bezier(0.16, 1, 0.3, 1) !important;
    mix-blend-mode: screen !important;
    will-change: clip-path, transform, filter, opacity !important;
}

.services-section[class*="srv-active-"]::after {
    opacity: 0.92 !important;
    clip-path: circle(130vmax at var(--srv-pointer-x) var(--srv-pointer-y)) !important;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    filter: blur(0) saturate(1.04) !important;
}

.srv-item {
    overflow: hidden !important;
    isolation: isolate !important;
    background: transparent !important;
}

.srv-item::before,
.srv-item::after {
    content: '' !important;
    position: absolute !important;
    pointer-events: none !important;
    opacity: 0 !important;
    z-index: 1 !important;
    will-change: clip-path, transform, filter, opacity !important;
}

.srv-item::before {
    inset: 10px 18px 8px 56px !important;
    border-radius: 28px !important;
    clip-path: circle(0 at var(--srv-item-pointer-x, 84%) var(--srv-item-pointer-y, 50%)) !important;
    transform: translate3d(-34px, 18px, 0) scale(0.92) rotate(-2deg) !important;
    filter: blur(24px) !important;
    transition:
        opacity 240ms ease,
        clip-path 820ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 820ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 820ms cubic-bezier(0.16, 1, 0.3, 1) !important;
    mix-blend-mode: screen !important;
}

.srv-item::after {
    inset: auto -10% -58% 40% !important;
    height: 165% !important;
    border-radius: 50% !important;
    transform: translate3d(0, 20px, 0) scale(0.72) !important;
    filter: blur(44px) !important;
    transition:
        opacity 260ms ease,
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 760ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.srv-item:hover::before,
.srv-item:focus-within::before,
.srv-item.is-active::before {
    opacity: 0.78 !important;
    clip-path: circle(140% at var(--srv-item-pointer-x, 84%) var(--srv-item-pointer-y, 50%)) !important;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg) !important;
    filter: blur(0) !important;
}

.srv-item:hover::after,
.srv-item:focus-within::after,
.srv-item.is-active::after {
    opacity: 0.74 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    filter: blur(34px) !important;
}

.srv-item:hover,
.srv-item:focus-within,
.srv-item.is-active {
    background: rgba(255,255,255,0.038) !important;
}

.srv-item__track,
.srv-item__panel {
    position: relative !important;
    z-index: 2 !important;
}

.srv-item__panel {
    opacity: 0 !important;
    transform: translateY(-12px) !important;
    transition:
        max-height 620ms cubic-bezier(0.16, 1, 0.3, 1),
        opacity 320ms ease,
        transform 620ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.srv-item:hover .srv-item__panel,
.srv-item:focus-within .srv-item__panel,
.srv-item.is-active .srv-item__panel {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.srv-item__inner ul li,
.srv-item__cta {
    opacity: 0 !important;
    transform: translateY(16px) scale(0.96) !important;
    filter: blur(6px) !important;
    transition:
        opacity 280ms ease,
        transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 620ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.srv-item__inner ul li:nth-child(1) { transition-delay: 30ms !important; }
.srv-item__inner ul li:nth-child(2) { transition-delay: 70ms !important; }
.srv-item__inner ul li:nth-child(3) { transition-delay: 110ms !important; }
.srv-item__inner ul li:nth-child(4) { transition-delay: 150ms !important; }
.srv-item__inner ul li:nth-child(5) { transition-delay: 190ms !important; }
.srv-item__cta { transition-delay: 230ms !important; }

.srv-item:hover .srv-item__inner ul li,
.srv-item:hover .srv-item__cta,
.srv-item:focus-within .srv-item__inner ul li,
.srv-item:focus-within .srv-item__cta,
.srv-item.is-active .srv-item__inner ul li,
.srv-item.is-active .srv-item__cta {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    filter: blur(0) !important;
}

/* 1 · Software – wireframes blueprint */
.services-section.srv-active-1::after,
.srv-item:nth-child(1)::before {
    background:
        url('../images/background/services/software.svg') center / cover no-repeat,
        linear-gradient(130deg, rgba(59,130,246,0.14), transparent 50%) !important;
    animation: srvSoftwareFloat 20s ease-in-out infinite !important;
}

.srv-item:nth-child(1)::after {
    background: radial-gradient(circle at center, rgba(59,130,246,0.24) 0%, rgba(14,165,233,0.12) 40%, transparent 72%) !important;
}

/* 2 · Electricidad Industrial – schematic IEC */
.services-section.srv-active-2::after,
.srv-item:nth-child(2)::before {
    background:
        url('../images/background/services/electricidad.svg') center / cover no-repeat,
        linear-gradient(135deg, rgba(245,158,11,0.12), transparent 50%) !important;
    animation: srvElectricSurge 10s ease-in-out infinite !important;
}

.srv-item:nth-child(2)::after {
    background: radial-gradient(circle at center, rgba(245,158,11,0.26) 0%, rgba(251,191,36,0.12) 40%, transparent 72%) !important;
}

/* 3 · Redes y Seguridad – topology + padlock */
.services-section.srv-active-3::after,
.srv-item:nth-child(3)::before {
    background:
        url('../images/background/services/redes.svg') center / cover no-repeat,
        linear-gradient(125deg, rgba(139,92,246,0.12), transparent 50%) !important;
    animation: srvNetworkPulse 16s ease-in-out infinite !important;
}

.srv-item:nth-child(3)::after {
    background: radial-gradient(circle at center, rgba(139,92,246,0.24) 0%, rgba(192,132,252,0.12) 40%, transparent 72%) !important;
}

/* 4 · Drones – blueprint top-view + GPS paths */
.services-section.srv-active-4::after,
.srv-item:nth-child(4)::before {
    background:
        url('../images/background/services/drones.svg') center / cover no-repeat,
        linear-gradient(120deg, rgba(6,182,212,0.10), transparent 50%) !important;
    animation: srvDroneSweep 18s ease-in-out infinite !important;
}

.srv-item:nth-child(4)::after {
    background: radial-gradient(circle at center, rgba(6,182,212,0.24) 0%, rgba(34,211,238,0.12) 40%, transparent 72%) !important;
}

/* 5 · Termografía – heat map industrial */
.services-section.srv-active-5::after,
.srv-item:nth-child(5)::before {
    background:
        url('../images/background/services/termografia.svg') center / cover no-repeat,
        linear-gradient(140deg, rgba(244,63,94,0.10), transparent 45%) !important;
    animation: srvThermalShimmer 12s ease-in-out infinite !important;
}

.srv-item:nth-child(5)::after {
    background: radial-gradient(circle at center, rgba(244,63,94,0.26) 0%, rgba(249,115,22,0.14) 38%, transparent 70%) !important;
}

/* 6 · Transporte de Cargas Pesadas – lowboy blueprint */
.services-section.srv-active-6::after,
.srv-item:nth-child(6)::before {
    background:
        url('../images/background/services/transporte.svg') center / cover no-repeat,
        linear-gradient(135deg, rgba(249,115,22,0.10), transparent 50%) !important;
    animation: srvLogisticsScroll 14s ease-in-out infinite !important;
}

.srv-item:nth-child(6)::after {
    background: radial-gradient(circle at center, rgba(249,115,22,0.24) 0%, rgba(251,146,60,0.12) 40%, transparent 72%) !important;
}

/* 7 · Trabajos en Altura – bucket truck + tower */
.services-section.srv-active-7::after,
.srv-item:nth-child(7)::before {
    background:
        url('../images/background/services/altura.svg') center / cover no-repeat,
        linear-gradient(135deg, rgba(16,185,129,0.10), transparent 50%) !important;
    animation: srvAltitudeRise 16s ease-in-out infinite !important;
}

.srv-item:nth-child(7)::after {
    background: radial-gradient(circle at center, rgba(16,185,129,0.22) 0%, rgba(52,211,153,0.12) 40%, transparent 72%) !important;
}

@media (max-width: 991px) {
    .services-section::after {
        clip-path: circle(0 at 50% 28%) !important;
    }

    .srv-item::before {
        inset: 8px 12px 8px 20px !important;
    }

    .srv-item__panel {
        transform: translateY(-8px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-section::after,
    .srv-item::before,
    .srv-item::after,
    .srv-item__panel,
    .srv-item__inner ul li,
    .srv-item__cta {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- 10. Work section (¿Por qué nosotros?) ------------------------- */
.work-section {
    position: relative;
    padding: 120px 0 !important;
}

.work-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        140deg,
        rgba(4,8,20,0.72) 0%,
        rgba(4,8,20,0.90) 100%
    );
    z-index: -1;
    pointer-events: none;
}

.work-section .content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.work-section .content .title {
    color: var(--pf-teal) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 3.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 18px !important;
}

.work-section h2 {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
}

.work-section p {
    color: rgba(255,255,255,0.68) !important;
    font-size: 17px !important;
    line-height: 1.78 !important;
    margin-top: 20px !important;
}

/* --- 11. Project section ------------------------------------------- */
.project-section {
    background: var(--pf-light) !important;
    padding-top: 80px !important;
    padding-bottom: 0 !important;
}

.project-section .sec-title h2 {
    color: var(--pf-text) !important;
}

/* Tabs */
.p-tab-btn {
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    padding: 7px 20px !important;
    text-transform: none !important;
    transition: var(--pf-transition) !important;
    border: 1px solid var(--pf-border) !important;
    background: #fff !important;
    color: var(--pf-sub) !important;
}

.p-tab-btn.active-btn,
.p-tab-btn:hover {
    background: var(--pf-accent) !important;
    color: #fff !important;
    border-color: var(--pf-accent) !important;
}

/* Gallery cards */
.gallery-block .inner-box {
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    transition: transform 300ms ease, box-shadow 300ms ease !important;
}

.gallery-block .inner-box:hover {
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18) !important;
}

/* Category badge */
.gallery-block .inner-box .image .overlay-box .category {
    display: inline-block !important;
    background: rgba(0,87,217,0.72) !important;
    backdrop-filter: blur(4px) !important;
    border-radius: 30px !important;
    padding: 3px 14px !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    color: #fff !important;
}

.gallery-block .inner-box:hover .image .overlay-box h2 .project-title {
    color: var(--pf-teal) !important;
}

/* --- 12. Experience / Who we are ---------------------------------- */
.experiance-section {
    background: #fff !important;
    padding-top: 96px !important;
    padding-bottom: 80px !important;
}

.experiance-section .sec-title h2 {
    color: var(--pf-text) !important;
}

.experiance-section .sec-title .text {
    color: var(--pf-sub) !important;
}

.experiance-section .title-column h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: var(--pf-text) !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

.experiance-section .title-column .text {
    color: var(--pf-sub) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
}

.experiance-section .content-column .title-box h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--pf-accent) !important;
    letter-spacing: -0.3px !important;
    text-transform: none !important;
}

.experiance-section .content-column .title-box p {
    color: var(--pf-sub) !important;
    font-size: 16px !important;
    line-height: 1.78 !important;
}

.experiance-section .content-column .specialization-box h2 {
    font-size: 22px !important;
    color: var(--pf-text) !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

/* Specialise boxes — fondo suave, animación de fondo mejorada */
.specialise-box .inner-box {
    background: var(--pf-light) !important;
    border-radius: 14px !important;
    border: 1px solid var(--pf-border) !important;
    transition: transform 300ms ease, box-shadow 300ms ease !important;
}

.specialise-box .inner-box::before {
    background: linear-gradient(135deg, var(--pf-accent), #003fa3) !important;
    border-radius: 14px !important;
}

.specialise-box .inner-box:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--pf-shadow-hover) !important;
}

.specialise-box .inner-box .content h5 .specialise-title {
    font-weight: 600 !important;
    color: var(--pf-text) !important;
    font-size: 16px !important;
}

.specialise-box .inner-box .content .icon {
    color: var(--pf-accent) !important;
    font-size: 34px !important;
}

.specialise-box .inner-box:hover .content h5 .specialise-title {
    color: #fff !important;
}

.specialise-box .inner-box:hover .content .icon {
    color: #fff !important;
}

.specialise-box .inner-box:hover .content p {
    color: rgba(255,255,255,0.82) !important;
}

/* --- 13. List style (páginas de servicio) -------------------------- */
.list-style-one li {
    color: var(--pf-sub) !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

.list-style-one li::before {
    background-color: var(--pf-accent) !important;
    width: 6px !important;
    height: 6px !important;
    top: 12px !important;
}

/* --- 14. Formulario de contacto ------------------------------------ */
.contact-section {
    background: var(--pf-light);
    padding: 96px 0 80px;
}

.form-boxed {
    background: #fff !important;
    border-radius: 24px !important;
    padding: 48px 40px !important;
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,0.07) !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06) !important;
}

.form-or-divider {
    color: var(--pf-sub) !important;
    font-size: 14px !important;
    margin: 18px 0 10px !important;
    letter-spacing: 0.5px;
}

.form-boxed .sec-title h2 {
    font-size: 30px !important;
}

.form-boxed .sec-title {
    margin-bottom: 16px !important;
}

.form-boxed .boxed-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#contact-form input,
#contact-form textarea {
    border-radius: 10px !important;
    border: 1.5px solid var(--pf-border) !important;
    background: var(--pf-light) !important;
    color: var(--pf-text) !important;
    font-size: 15px !important;
    padding: 13px 18px !important;
    width: 100% !important;
    transition: border-color 250ms ease, box-shadow 250ms ease !important;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: var(--pf-accent) !important;
    box-shadow: 0 0 0 3px rgba(0,87,217,0.10) !important;
    outline: none !important;
    background: #fff !important;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: var(--pf-sub) !important;
}

/* --- 15. Footer ---------------------------------------------------- */
.main-footer {
    background: var(--pf-jet) !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    color: rgba(255,255,255,0.55) !important;
}

.main-footer .contact-info {
    color: rgba(255,255,255,0.52) !important;
    font-size: 14px !important;
    line-height: 2 !important;
}

.main-footer .contact-info a {
    color: rgba(255,255,255,0.72) !important;
    transition: color 250ms ease !important;
}

.main-footer .contact-info a:hover {
    color: var(--pf-teal) !important;
}

.main-footer .copyright {
    color: rgba(255,255,255,0.55) !important;
    font-size: 12px !important;
    margin-top: 10px !important;
}

.main-footer .footer-social-icons {
    margin: 16px 0 8px !important;
}

.main-footer .footer-social-icons li {
    display: inline-block !important;
    margin-right: 18px !important;
}

.main-footer .footer-social-icons li a {
    color: rgba(255,255,255,0.45) !important;
    font-size: 22px !important;
    transition: color 250ms ease !important;
}

.main-footer .footer-social-icons li a:hover {
    color: var(--pf-teal) !important;
}

/* --- 16. Scroll to top --------------------------------------------- */
.scroll-to-top {
    background: var(--pf-accent) !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    line-height: 46px !important;
    font-size: 20px !important;
    box-shadow: 0 4px 16px rgba(0,87,217,0.38) !important;
    bottom: 24px !important;
    right: 24px !important;
}

.scroll-to-top:hover {
    background: var(--pf-accent-dark) !important;
    transform: translateY(-3px) !important;
}

/* --- 17. Product tab (portfolio) ----------------------------------- */
.product-tab-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* --- 18. Responsive ------------------------------------------------ */
@media (max-width: 1199px) {
    .banner-section .content-boxed h1 {
        font-size: 52px !important;
        letter-spacing: -1px !important;
    }
}

@media (max-width: 991px) {
    h2 { font-size: 30px; }
    .sec-title h2 { font-size: 30px !important; }
    .banner-section .content-boxed h1 {
        font-size: 44px !important;
        letter-spacing: -0.5px !important;
    }
    .work-section h2 { font-size: 36px !important; }
    .form-boxed { padding: 32px 20px !important; }
    .work-section { padding: 80px 0 !important; }
    .main-header .header-upper .inner-container {
        height: 62px !important;
    }
}

@media (max-width: 575px) {
    .banner-section .content-boxed h1 {
        font-size: 34px !important;
        letter-spacing: -0.3px !important;
    }
    .sec-title h2 { font-size: 26px !important; }
    .work-section h2 { font-size: 28px !important; }
}

/* ================================================================
   FIN MODERN DESIGN SYSTEM v2
   ================================================================ */

/* Service page banner: half height */
.banner-section.banner-sm .slide{
    padding-top:125px;
    padding-bottom:110px;
}
@media (min-width:1200px){
    .banner-section.banner-sm .slide{
        padding-top:80px !important;
        padding-bottom:15px !important;
        min-height:300px !important;
    }
}

html{scroll-behavior:smooth;}

/* project titles: keep animated styles without link */
.gallery-block .inner-box .image .overlay-box h2 .project-title{
    position:relative;
    color:#ffffff;
    transition: all 600ms ease;
    -webkit-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
}
.gallery-block .inner-box:hover .image .overlay-box h2 .project-title{
    color:#00C896;
}

/* Work section title styling */
.work-section h2{
    color:#ffffff !important;
    font-weight:700 !important;
    margin-top:15px !important;
}

/* specialise titles: keep styles without link */
.specialise-box .inner-box .content h5 .specialise-title{
    position:relative;
    color:#000000;
    transition:all 500ms ease;
    -moz-transition:all 500ms ease;
    -webkit-transition:all 500ms ease;
    -ms-transition:all 500ms ease;
    -o-transition:all 500ms ease;
}
.specialise-box .inner-box:hover .content h5 .specialise-title{
    color:#fff;
}

/* services cards: equal height per row */
.services-section .row{
    align-items:stretch !important;
}
.services-section .service-block{
    display:flex !important;
}
.services-section .service-block .inner-box{
    flex:1 1 auto !important;
    height:100% !important;
}

/* services list items hover contrast */
.service-block .inner-box ul li{
    transition: all 300ms ease;
}
.service-block .inner-box:hover ul li{
    color:rgba(255,255,255,0.82) !important;
}

/* keep service list above hover overlay */
.service-block .inner-box ul,
.service-block .inner-box ul li{
    position:relative;
    z-index:2;
}

/* full card link for software service */
.service-block.software-card,
.service-block.termografia-card,
.service-block.cargas-pesadas-card,
.service-block.altura-card{
    position:relative;
}
.service-block.software-card .service-link,
.service-block.termografia-card .service-link,
.service-block.cargas-pesadas-card .service-link,
.service-block.altura-card .service-link{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:3;
}

/* preserve hover effects when full-card link is present */
.service-block.software-card:hover .inner-box::before,
.service-block.termografia-card:hover .inner-box::before,
.service-block.cargas-pesadas-card:hover .inner-box::before,
.service-block.altura-card:hover .inner-box::before{
    transform:scale(1,1);
}
.service-block.software-card:hover h5 a,
.service-block.software-card:hover .more,
.service-block.software-card:hover .icon,
.service-block.software-card:hover p,
.service-block.software-card:hover ul li,
.service-block.termografia-card:hover h5 a,
.service-block.termografia-card:hover .more,
.service-block.termografia-card:hover .icon,
.service-block.termografia-card:hover p,
.service-block.termografia-card:hover ul li,
.service-block.cargas-pesadas-card:hover h5 a,
.service-block.cargas-pesadas-card:hover .more,
.service-block.cargas-pesadas-card:hover .icon,
.service-block.cargas-pesadas-card:hover p,
.service-block.cargas-pesadas-card:hover ul li,
.service-block.altura-card:hover h5 a,
.service-block.altura-card:hover .more,
.service-block.altura-card:hover .icon,
.service-block.altura-card:hover p,
.service-block.altura-card:hover ul li{
    color:#ffffff !important;
}

/* termografia interactive panel */
.thermo-row{
    margin-top:20px;
    align-items:center;
}
.thermo-panel{
    position:relative;
    width:100%;
    padding-top:0;
    aspect-ratio:3/2;
    min-height:352px;
    border-radius:1px;
    overflow:hidden;
    background:transparent;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}
.thermo-base,
.thermo-thermal{
    position:absolute;
    width:66.67%;
    height:150%;
    left:50%;
    top:50%;
}
.thermo-base{
    background-image:url('../images/termography/goodpanel.png');
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    transform:translate(-50%,-50%) rotate(90deg);
}
.thermo-thermal{
    opacity:0;
    transition:opacity 400ms ease;
    background-image:url('../images/termography/termalpanel.png');
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    transform:translate(-50%,-50%) rotate(90deg) scaleY(0.988);
    transform-origin:center center;
}
.thermo-reveal{
    position:absolute;
    width:55px;
    height:55px;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    border-radius:50%;
    border:2px solid rgba(255,255,255,0.6);
    box-shadow:0 0 0 3px rgba(255,255,255,0.15), 0 0 10px rgba(255,120,0,0.4);
    opacity:0;
    transition:opacity 400ms ease;
    pointer-events:none;
}
.thermo-panel:hover .thermo-thermal{
    opacity:1;
}
.thermo-panel:hover .thermo-reveal{
    opacity:1;
}
.thermo-caption{
    position:absolute;
    left:16px;
    bottom:14px;
    color:#ffffff;
    font-size:14px;
    background:rgba(0,0,0,0.35);
    padding:6px 10px;
    border-radius:6px;
}
.thermo-details h2{
    font-size:24px;
    margin-bottom:10px;
}
.thermo-details p{
    margin-bottom:14px;
    font-size:13px;
    line-height:1.6;
}

/* project overlay: better contrast and text clamping */
.gallery-block .inner-box .image .overlay-box{
    background:linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.0) 100%) !important;
}
.gallery-block .inner-box .image .overlay-box .category{
    color:#f3f3f3 !important;
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
}
.gallery-block .inner-box .image .overlay-box h2 .project-title{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    color:#ffffff !important;
    text-shadow:0 2px 6px rgba(0,0,0,0.75);
}

/* services title centering — preserved for compat */
.services-section .sec-title h2{
    margin:0 !important;
}

@media (min-width:1200px){
    /* spacing y tipografía — valores base, Design System v2 tiene mayor prioridad (está al final del archivo) */
    .sec-title{margin-bottom:36px !important;}
    .sec-title h2{font-size:40px !important;line-height:1.2 !important;letter-spacing:-.5px !important;text-transform:none !important;}
    .sec-title .text{font-size:17px !important;line-height:1.7 !important;margin-top:12px !important;}

    /* experiencia */
    .experiance-section .title-column h2{font-size:36px !important;line-height:1.2 !important;}
    .experiance-section .title-column .text{font-size:17px !important;margin-top:20px !important;}
    .experiance-section .content-column .title-box h2,
    .experiance-section .content-column .specialization-box h2{font-size:26px !important;}

    /* work */
    .work-section h1{font-size:56px !important;margin-top:20px !important;}
    .work-section p{font-size:17px !important;margin-top:18px !important;margin-bottom:24px !important;}

    /* servicios */
    .service-block .inner-box{min-height:305px !important;}
}

/* ===== LAYOUT DUO: detalle + calculadora lado a lado ===== */
@media (min-width: 1400px) {
    .sections-duo {
        display: flex;
        align-items: stretch;
    }
    .sections-duo .experiance-section,
    .sections-duo .calc-section {
        flex: 1 1 50%;
        min-width: 0;
        overflow: hidden;
    }
    /* Que el auto-container no corte el contenido en la mitad */
    .sections-duo .experiance-section .auto-container,
    .sections-duo .calc-section .auto-container {
        max-width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
    /* La calc-section ya tiene fondo oscuro, la sección anterior mantiene el suyo */
    .sections-duo .experiance-section {
        border-right: 1px solid rgba(255,255,255,0.07);
    }
    /* Centrar verticalmente el contenido de la calculadora */
    .sections-duo .calc-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ─────────────────────────────────────────────────
   SLIDER ANTES / DESPUÉS — software.html
   ───────────────────────────────────────────────── */
.sw-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 52 / 38;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 48px rgba(0,0,0,0.28);
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}
.sw-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.sw-panel svg {
    width: 100%;
    height: 100%;
    display: block;
}
.sw-before { z-index: 1; }
.sw-after  {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    will-change: clip-path;
}
.sw-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: col-resize;
    pointer-events: all;
}
.sw-handle__line {
    flex: 1;
    width: 2px;
    background: rgba(255,255,255,0.85);
    display: block;
    min-height: 16px;
}
.sw-handle__btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #1e293b;
    box-shadow: 0 2px 14px rgba(0,0,0,0.32);
    flex-shrink: 0;
    line-height: 1;
    font-weight: 700;
    transition: transform 150ms ease, box-shadow 150ms ease;
}
.sw-handle:hover .sw-handle__btn {
    transform: scale(1.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.sw-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 11px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}
.sw-label--b {
    left: 12px;
    background: rgba(255,255,255,0.82);
    color: #333;
}
.sw-label--a {
    right: 12px;
    background: rgba(30,80,200,0.82);
    color: #fff;
}

/* ─────────────────────────────────────────────────
   TRY ME – slider antes/después (software.html)
   ───────────────────────────────────────────────── */
.sw-try-me {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.sw-try-me--gone {
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0.7) !important;
}

/* Aro pulsante detrás de la burbuja */
.sw-try-me__pulse {
    position: absolute;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(30,130,255,0.18);
    animation: swPulse 1.6s ease-out infinite;
}
@keyframes swPulse {
    0%   { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Burbuja central */
.sw-try-me__bubble {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #1a6efc 0%, #0d3cba 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 50px;
    box-shadow: 0 0 0 3px rgba(30,130,255,0.3), 0 6px 24px rgba(0,0,0,0.35);
    animation: swBubbleFloat 2s ease-in-out infinite;
    letter-spacing: 0.3px;
}
@keyframes swBubbleFloat {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-6px); }
}
.sw-try-me__arrow {
    font-size: 18px;
    line-height: 1;
}
.sw-try-me__text {
    white-space: nowrap;
}

/* Chevrons animados que apuntan hacia el handle */
.sw-try-me__chevron {
    color: rgba(255,255,255,0.7);
    animation: swChevronPop 1.2s ease-in-out infinite;
}
@keyframes swChevronPop {
    0%, 100% { opacity: 0.5; transform: scaleY(0.9); }
    50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ─────────────────────────────────────────────────
   ERROR INLINE – calculadora software.html
   ───────────────────────────────────────────────── */
.calc-inline-error {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(220,40,40,0.12);
    border: 1px solid rgba(220,80,80,0.35);
    border-radius: 10px;
    padding: 11px 16px;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #ff7070;
    /* oculto por defecto: altura 0 sin quitar el display */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.calc-inline-error svg {
    flex-shrink: 0;
    color: #ff5c5c;
}
.calc-inline-error--visible {
    max-height: 80px;
    opacity: 1;
    padding: 11px 16px;
    margin-bottom: 14px;
}
@keyframes swCalcShake {
    0%, 100% { transform: translateX(0); }
    18%       { transform: translateX(-7px); }
    36%       { transform: translateX(7px); }
    54%       { transform: translateX(-4px); }
    72%       { transform: translateX(4px); }
    90%       { transform: translateX(-2px); }
}
.calc-inline-error--shake {
    animation: swCalcShake 0.45s cubic-bezier(.36,.07,.19,.97) both;
}

/* ─────────────────────────────────────────────────
   CALCULADORA DE FLETE – transporte-cargas-pesadas
   ───────────────────────────────────────────────── */
.calc-card {
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 36px 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Grid origen → destino */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    gap: 16px;
}

/* =========================================================
   DRONE PAGE — Mission Viewer + Calculator
   ========================================================= */

/* ---------- Service pills ---------- */
/* Force dark theme for the entire drone mission page */
.drone-mission-section.experiance-section {
    background: #fff !important;
}
.drone-mission-section .sec-title h2 {
    color: var(--pf-text) !important;
}
.drone-mission-section .sec-title .text {
    color: var(--pf-sub) !important;
}

.drone-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
}
.drone-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid rgba(6,182,212,0.4);
    border-radius: 50px;
    background: rgba(6,182,212,0.06);
    color: var(--pf-sub);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
}
.drone-pill i { font-size: 1.1rem; color: #06b6d4; }
.drone-pill:hover {
    background: rgba(6,182,212,0.12);
    color: var(--pf-text);
    border-color: #06b6d4;
}
.drone-pill.active {
    background: #06b6d4;
    color: #fff;
    border-color: #06b6d4;
    box-shadow: 0 4px 20px rgba(6,182,212,0.35);
}
.drone-pill.active i { color: #fff; }

/* ---------- Carousel ---------- */
.drone-carousel {
    position: relative;
    margin-bottom: 36px;
}
.drone-carousel__track {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #0a1628;
    border: 1px solid rgba(6,182,212,0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    min-height: 420px;
}
.drone-carousel__slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .42s ease, transform .42s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.drone-carousel__slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

/* Visual (SVG side) */
.drone-slide__visual {
    flex: 0 0 58%;
    max-width: 58%;
    background: #060f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-right: 1px solid rgba(6,182,212,0.1);
}
.drone-slide__visual svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Info side */
.drone-slide__info {
    flex: 0 0 42%;
    max-width: 42%;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.drone-slide__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(6,182,212,0.12);
    border: 1px solid rgba(6,182,212,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #06b6d4;
    margin-bottom: 4px;
}
.drone-slide__info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.drone-slide__info p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}
.drone-slide__info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drone-slide__info ul li {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}
.drone-slide__info ul li i {
    color: #06b6d4;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.drone-slide__cta {
    display: inline-block;
    margin-top: 6px;
    padding: 11px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 4px 18px rgba(6,182,212,0.3);
    align-self: flex-start;
}
.drone-slide__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(6,182,212,0.45);
    color: #fff;
    text-decoration: none;
}

/* Arrows */
.drone-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(6,182,212,0.35);
    background: rgba(10,22,40,0.85);
    color: #06b6d4;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
}
.drone-carousel__arrow:hover {
    background: #06b6d4;
    color: #fff;
    border-color: #06b6d4;
    box-shadow: 0 4px 18px rgba(6,182,212,0.4);
}
.drone-carousel__arrow--prev { left: -20px; }
.drone-carousel__arrow--next { right: -20px; }

/* Dots */
.drone-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}
.drone-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    padding: 0;
    transition: all .25s ease;
}
.drone-carousel__dot.active {
    background: #06b6d4;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(6,182,212,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .drone-carousel__slide { flex-direction: column; }
    .drone-slide__visual, .drone-slide__info { flex: 0 0 100%; max-width: 100%; }
    .drone-slide__info { padding: 28px 22px; }
    .drone-carousel__arrow--prev { left: 4px; }
    .drone-carousel__arrow--next { right: 4px; }
}
.drone-launch-btn i { margin-right: 6px; }

/* ---------- Info cards row ---------- */
.drone-info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.drone-info-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 24px 20px;
    opacity: 0.4;
    transform: scale(0.96);
    transition: all .4s ease;
}
.drone-info-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(6,182,212,0.3);
    background: rgba(6,182,212,0.05);
    box-shadow: 0 4px 20px rgba(6,182,212,0.1);
}
.drone-info-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(6,182,212,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #06b6d4;
    margin-bottom: 14px;
}
.drone-info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.drone-info-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin-bottom: 12px;
}
.drone-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.drone-info-card ul li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    padding: 3px 0 3px 16px;
    position: relative;
}
.drone-info-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-size: 0.75rem;
}

/* ---------- Calculator: service grid ---------- */
.dcalc-step {
    margin-bottom: 24px;
}
.dcalc-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}
.dcalc-service-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    text-align: left;
    transition: all .3s ease;
    font-family: 'Poppins', sans-serif;
}
.dcalc-service-btn i { font-size: 1.4rem; color: #06b6d4; }
.dcalc-service-btn strong { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.dcalc-service-btn span { font-size: 0.75rem; opacity: 0.6; }
.dcalc-service-btn:hover {
    border-color: rgba(6,182,212,0.4);
    background: rgba(6,182,212,0.06);
}
.dcalc-service-btn.active {
    border-color: #06b6d4;
    background: rgba(6,182,212,0.1);
    box-shadow: 0 0 16px rgba(6,182,212,0.15);
}
.dcalc-service-btn.active strong { color: #fff; }

/* ---------- Calculator: dynamic fields ---------- */
.dcalc-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.dcalc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dcalc-field label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
}
.dcalc-field .calc-select,
.dcalc-field input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color .3s ease;
}
.dcalc-field .calc-select:focus,
.dcalc-field input:focus {
    border-color: #06b6d4;
}

/* checkboxes */
.dcalc-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dcalc-cb-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all .2s ease;
}
.dcalc-cb-label:hover {
    background: rgba(6,182,212,0.06);
    border-color: rgba(6,182,212,0.2);
}
.dcalc-cb-label input[type="checkbox"] {
    accent-color: #06b6d4;
    width: 16px;
    height: 16px;
}

/* location row */
.dcalc-location-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

/* error inline */
.dcalc-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 8px;
    color: #f87171;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    transition: all .35s ease;
    margin-top: 8px;
}
.dcalc-error.visible {
    max-height: 60px;
    padding: 12px 16px;
}

/* results animation */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shakeX {
    0%,100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(2px); }
}
.dcalc-results { display: none; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .drone-info-row { grid-template-columns: repeat(2, 1fr); }
    .dcalc-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .drone-info-row { grid-template-columns: 1fr; }
    .drone-pills { gap: 6px; }
    .drone-pill { padding: 8px 14px; font-size: 0.78rem; }
    .dcalc-service-grid { grid-template-columns: 1fr; }
    .dcalc-location-row { grid-template-columns: 1fr; }
    .dcalc-fields { grid-template-columns: 1fr; }
}

.calc-field-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.calc-label {
    display: block;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.7;
}
.calc-label i {
    margin-right: 5px;
    color: var(--color-accent, #e8a020);
}

.calc-select {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    padding: 11px 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-opacity='.45' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 220ms ease, background-color 220ms ease;
}
.calc-select:focus {
    outline: none;
    border-color: var(--color-accent, #e8a020);
    background-color: rgba(255,255,255,0.10);
}
.calc-select:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.calc-select option {
    background: #1a2535;
    color: #fff;
}
.calc-select.mt-2 { margin-top: 10px; }

/* Flecha central */
.calc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    padding-top: 28px; /* align with selects */
}
.calc-arrow svg {
    width: 32px;
    height: 32px;
}

/* Peso */
.calc-weight-row {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.calc-weight-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.calc-input-num {
    width: 110px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 14px;
    text-align: center;
    transition: border-color 220ms ease;
}
.calc-input-num:focus {
    outline: none;
    border-color: var(--color-accent, #e8a020);
}
.calc-input-num::placeholder { color: rgba(255,255,255,0.25); }

.calc-unit {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 600;
}
.calc-unit-note {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}

/* Tier badges */
.calc-tiers {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.calc-tier {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
}

/* Resultado */
.calc-result {
    margin-top: 28px;
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.12);
}
.calc-result--error {
    background: rgba(220,60,40,0.12);
    border-color: rgba(220,60,40,0.3);
}
.calc-result--ok {
    background: rgba(30,100,200,0.10);
    border-color: rgba(30,150,255,0.25);
}
.calc-err-msg {
    color: #ff7a65;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
.calc-err-msg i { margin-right: 6px; }

.calc-summary {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
}

.calc-kpi {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    gap: 4px;
}
.calc-kpi:last-child { border-right: none; }
.calc-kpi--main {
    background: rgba(38,120,220,0.18);
    flex: 1.4;
}

.calc-kpi__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}
.calc-kpi__val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.calc-kpi__val small {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.6;
    margin-left: 2px;
}
.calc-kpi--main .calc-kpi__val {
    font-size: 26px;
    color: #6fc3ff;
}

.calc-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin: 0 0 4px;
    text-align: center;
}
.calc-disclaimer strong { color: rgba(255,255,255,0.7); }

/* Responsivo */
@media (max-width: 640px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calc-arrow {
        padding-top: 0;
        transform: rotate(90deg);
        margin: 4px auto;
    }
    .calc-card {
        padding: 24px 18px;
    }
    .calc-summary {
        flex-direction: column;
    }
    .calc-kpi {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 12px;
    }
    .calc-kpi:last-child { border-bottom: none; }
}

/* ─────────────────────────────────────────────────
   DRONES: Carrusel adaptado dentro de sections-duo
   ─────────────────────────────────────────────────
   Al estar lado a lado (≥1400px) cada sección ocupa
   ~700px. Cambiamos el slide a layout columnar para
   que el SVG y el panel de info se apilen en lugar
   de competir en un espacio demasiado angosto.
   ───────────────────────────────────────────────── */
@media (min-width: 1400px) {
    /* Reposicionar flechas para que no sean cortadas
       por overflow:hidden de la sección paddd */
    .sections-duo .drone-carousel__arrow--prev { left: 10px; }
    .sections-duo .drone-carousel__arrow--next { right: 10px; }

    /* Layout columnar del slide */
    .sections-duo .drone-carousel__slide,
    .sections-duo .drone-carousel__slide.active {
        flex-direction: column;
    }

    /* Panel visual: altura fija, recorte superior del SVG */
    .sections-duo .drone-slide__visual {
        flex: 0 0 240px;
        height: 240px;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(6,182,212,0.1);
        overflow: hidden;
        align-items: flex-start;
    }
    .sections-duo .drone-slide__visual svg {
        width: 100%;
        height: auto;
        margin-top: -20px;
    }

    /* Panel info: ocupa el resto */
    .sections-duo .drone-slide__info {
        flex: 1 1 auto;
        max-width: 100%;
        padding: 24px 28px;
        gap: 10px;
    }

    /* Ajustar altura mínima del track */
    .sections-duo .drone-carousel__track {
        min-height: 460px;
    }

    /* Pills más compactos */
    .sections-duo .drone-pills {
        gap: 6px;
        margin-bottom: 18px;
    }
    .sections-duo .drone-pill {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

/* ================================================================
   ANIMATION SYSTEM v1 — PortalFrame
   Scroll-reveal + micro-interactions + counters
   ================================================================ */

/* ── Base reveal state ─────────────────────────────────────────── */
.pf-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
.pf-reveal--left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.pf-reveal--right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.pf-reveal--scale {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
                transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.pf-reveal.is-visible,
.pf-reveal--left.is-visible,
.pf-reveal--right.is-visible,
.pf-reveal--scale.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Stagger delays ────────────────────────────────────────────── */
.pf-d1 { transition-delay: 0.08s !important; }
.pf-d2 { transition-delay: 0.18s !important; }
.pf-d3 { transition-delay: 0.28s !important; }
.pf-d4 { transition-delay: 0.38s !important; }
.pf-d5 { transition-delay: 0.48s !important; }
.pf-d6 { transition-delay: 0.58s !important; }

/* ── Scroll progress bar ───────────────────────────────────────── */
#pf-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--pf-accent), var(--pf-teal));
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ── Hero: floating particles ──────────────────────────────────── */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    animation: pfParticleFloat linear infinite;
}
@keyframes pfParticleFloat {
    0%   { transform: translateY(0) scale(1);   opacity: 0.6; }
    50%  { opacity: 0.2; }
    100% { transform: translateY(-120vh) scale(0.6); opacity: 0; }
}

/* ── Shimmer on cards ──────────────────────────────────────────── */
.gallery-block .inner-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        transparent 40%,
        rgba(255,255,255,0.08) 50%,
        transparent 60%);
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.6s ease;
    pointer-events: none;
    z-index: 2;
}
.gallery-block .inner-box:hover::after {
    background-position: 200% 0;
}

/* ── CTA section: pulse ring on WhatsApp btn — via box-shadow ── */
.wha-green {
    animation: pfPulseGreen 2.2s ease-out infinite !important;
}
.wha-green::before {
    display: none !important;
}
@keyframes pfPulseGreen {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
    60%  { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Hover lift: igual en ambos botones ────────────────────────── */
.theme-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    vertical-align: middle !important;
    display: inline-block !important;
}
.theme-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
    animation: none !important;
}

/* ── CTA button row: flex alignment ───────────────────────────── */
.cta-section .text-center,
.contact-section .text-center,
.btn-box {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
}

/* ── Section title underline draw ─────────────────────────────── */
.sec-title h2 {
    position: relative;
    display: inline-block;
}
.sec-title h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--pf-accent), var(--pf-teal));
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.sec-title.is-visible h2::after {
    width: 60px;
}
.sec-title.centered h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ── Counter element ───────────────────────────────────────────── */
.srv-stat__n {
    display: inline-block;
    transition: color 0.3s;
}

/* ── Floating icon in hero ─────────────────────────────────────── */
@keyframes pfFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.pf-float {
    animation: pfFloat 4s ease-in-out infinite;
}

/* ── Hover lift on project cards ───────────────────────────────── */
.gallery-block .inner-box {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.35s ease !important;
    position: relative;
}
.gallery-block .inner-box:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22) !important;
}

/* ── Reduce motion preference ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pf-reveal, .pf-reveal--left, .pf-reveal--right, .pf-reveal--scale,
    .hero-particle, .wha-green::before, .pf-float {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
