:root{
            --verde:#00a000;
            --verde2:#008000;
            --verde3:#006b00;
            --verde-dark:#063b14;
            --verde-soft:#e9f9e9;
            --text:#172217;
            --muted:#667466;
            --white:#ffffff;
            --shadow:0 18px 45px rgba(0,0,0,.10);
            --radius:22px;
        }

        *{
            margin:0;
            padding:0;
            box-sizing:border-box;
            font-family:'Segoe UI', Arial, sans-serif;
        }

        html{scroll-behavior:smooth}

        body{
            background:#fff;
            color:var(--text);
            overflow-x:hidden;
        }

        .container{
            width:min(1180px, 90%);
            margin:auto;
        }

        header{
            background:rgba(255,255,255,.94);
            backdrop-filter:blur(14px);
            position:sticky;
            top:0;
            z-index:50;
            box-shadow:0 4px 25px rgba(0,0,0,.06);
        }

        .navbar{
            min-height:88px;
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:30px;
        }

        .brand{
            display:flex;
            align-items:center;
            gap:14px;
            text-decoration:none;
            color:var(--text);
        }

        .brand-logo{
            width:62px;
            height:62px;
            border:5px solid var(--verde);
            border-radius:50%;
            display:grid;
            place-items:center;
            font-weight:900;
            color:var(--verde2);
            font-size:28px;
            animation:pulseLogo 2.8s infinite;
        }

        .brand h2{
            color:var(--verde3);
            font-size:28px;
            line-height:.9;
        }

        .brand span{
            color:var(--verde2);
            font-weight:700;
            font-size:16px;
        }

        nav ul{
            display:flex;
            list-style:none;
            gap:34px;
            align-items:center;
        }

        nav a{
            color:#222;
            text-decoration:none;
            font-weight:700;
            position:relative;
            font-size:15px;
        }

        nav a::after{
            content:"";
            position:absolute;
            left:0;
            bottom:-8px;
            width:0;
            height:3px;
            background:var(--verde);
            border-radius:20px;
            transition:.3s;
        }

        nav a:hover::after,
        nav a.active::after{width:100%}

        .btn-contact{
            background:linear-gradient(135deg,var(--verde),var(--verde3));
            color:#fff;
            padding:15px 24px;
            border-radius:12px;
            text-decoration:none;
            font-weight:800;
            box-shadow:0 10px 25px rgba(0,160,0,.23);
            transition:.25s;
        }

        .btn-contact:hover{transform:translateY(-3px)}

        .hero{
            min-height:760px;
            display:flex;
            align-items:center;
            position:relative;
            overflow:hidden;
            background:
                linear-gradient(90deg, rgba(0,45,10,.95) 0%, rgba(0,96,0,.82) 46%, rgba(0,0,0,.28) 100%),
                url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1920&auto=format&fit=crop');
            background-size:cover;
            background-position:center;
        }

        .hero::before{
            content:"";
            position:absolute;
            inset:0;
            background:
                radial-gradient(circle at 25% 60%, rgba(0,255,0,.18), transparent 28%),
                radial-gradient(circle at 70% 25%, rgba(0,255,0,.12), transparent 28%);
            animation:glowMove 8s infinite alternate;
        }

        .hero::after{
            content:"";
            position:absolute;
            inset:0;
            background-image:
                linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
            background-size:55px 55px;
            opacity:.25;
        }

        .hero-inner{
            position:relative;
            z-index:2;
            display:grid;
            grid-template-columns:1fr .95fr;
            align-items:center;
            gap:60px;
        }

        .hero-content{
            color:#fff;
            max-width:650px;
            animation:fadeUp .9s ease both;
        }

        .hero-showcase{
            min-height:330px;
            border:4px solid rgba(255,255,255,.65);
            border-radius:30px;
            background:
                linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)),
                url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1200&auto=format&fit=crop');
            background-size:cover;
            background-position:center;
            box-shadow:0 25px 60px rgba(0,0,0,.35);
            display:flex;
            align-items:center;
            justify-content:center;
            gap:26px;
            color:#001800;
            font-size:38px;
            font-weight:900;
            text-align:left;
            animation:fadeRight 1s ease both;
        }

        .hero-showcase i{
            font-size:92px;
            color:#21759b;
            background:#fff;
            border-radius:50%;
            box-shadow:0 12px 35px rgba(0,0,0,.22);
        }

        .eyebrow{
            display:inline-flex;
            gap:9px;
            align-items:center;
            color:#caffca;
            font-weight:900;
            letter-spacing:.8px;
            margin-bottom:20px;
            text-transform:uppercase;
        }

        .hero h1{
            font-size:72px;
            line-height:1.05;
            margin-bottom:22px;
            letter-spacing:-2px;
        }

        .hero h1 span{
            color:#fff;
        }

        .hero p{
            font-size:20px;
            line-height:1.7;
            max-width:620px;
            margin-bottom:34px;
        }

        .hero-actions{
            display:flex;
            gap:18px;
            flex-wrap:wrap;
            margin-bottom:44px;
        }

        .btn{
            display:inline-flex;
            align-items:center;
            gap:10px;
            padding:16px 28px;
            border-radius:12px;
            text-decoration:none;
            font-weight:900;
            transition:.25s;
        }

        .btn-primary{
            background:var(--verde);
            color:#fff;
            box-shadow:0 14px 35px rgba(0,160,0,.35);
        }

        .btn-outline{
            color:#fff;
            border:2px solid rgba(255,255,255,.75);
        }

        .btn:hover{transform:translateY(-4px)}

        .hero-badges{
            display:flex;
            gap:26px;
            flex-wrap:wrap;
            color:#dbffdb;
            font-weight:700;
            font-size:14px;
        }

        .hero-badges i{color:#64ff55}

        section{
            padding:78px 0;
        }

        .section-title{
            text-align:center;
            font-size:32px;
            color:var(--text);
            margin-bottom:12px;
            text-transform:uppercase;
        }

        .section-title span{color:var(--verde)}

        .line{
            width:70px;
            height:4px;
            background:var(--verde);
            border-radius:20px;
            margin:0 auto 32px;
        }

        .spaced{
            padding-top:95px;
            padding-bottom:95px;
        }

        .slider-area{
            position:relative;
        }

        .slider-mask{
            overflow:hidden;
            padding:10px 0 22px;
            -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
        }

        .track{
            display:flex;
            gap:24px;
            width:max-content;
            animation:slideLeft 24s linear infinite;
        }

        .track:hover{animation-play-state:paused}

        .card-service{
            width:270px;
            min-height:150px;
            background:#fff;
            border:1px solid #e8efe8;
            border-radius:18px;
            padding:26px;
            display:flex;
            align-items:center;
            gap:20px;
            box-shadow:0 12px 35px rgba(0,0,0,.08);
            transition:.25s;
        }

        .card-service:hover{
            transform:translateY(-7px);
            border-color:var(--verde);
        }

        .iconbox{
            width:65px;
            height:65px;
            border-radius:16px;
            background:linear-gradient(135deg,var(--verde-soft),#d8ffd8);
            color:var(--verde2);
            display:grid;
            place-items:center;
            font-size:30px;
            flex:0 0 auto;
        }

        .card-service h3{
            font-size:18px;
            margin-bottom:8px;
        }

        .card-service p{
            color:var(--muted);
            font-size:13px;
            line-height:1.5;
        }

        .tech-card{
            width:270px;
            min-height:92px;
            background:#fff;
            border-radius:16px;
            border:1px solid #e8efe8;
            display:flex;
            align-items:center;
            justify-content:center;
            gap:16px;
            box-shadow:0 12px 35px rgba(0,0,0,.07);
            font-weight:900;
            font-size:18px;
        }

        .tech-card i{
            font-size:38px;
        }

        .hint{
            text-align:center;
            color:var(--muted);
            margin-top:2px;
            font-size:14px;
        }

        .hint i{color:var(--verde);margin:0 12px}

        .wordpress{
            padding-top:20px;
        }

        .wp-banner{
            min-height:265px;
            border-radius:24px;
            overflow:hidden;
            background:
                linear-gradient(90deg, rgba(0,82,0,.96) 0%, rgba(0,135,0,.86) 46%, rgba(0,70,0,.45) 100%),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1600&auto=format&fit=crop');
            background-size:cover;
            background-position:center;
            color:#fff;
            display:grid;
            grid-template-columns:1.1fr .9fr;
            align-items:center;
            padding:46px 58px;
            box-shadow:var(--shadow);
            position:relative;
        }

        .wp-banner::after{
            content:"";
            position:absolute;
            inset:0;
            background:radial-gradient(circle at 80% 30%, rgba(0,255,0,.22), transparent 32%);
        }

        .wp-content{
            position:relative;
            z-index:2;
            display:flex;
            align-items:center;
            gap:32px;
        }

        .wp-logo{
            width:120px;
            height:120px;
            border:6px solid #fff;
            border-radius:50%;
            display:grid;
            place-items:center;
            font-size:76px;
            color:#fff;
            background:rgba(255,255,255,.08);
            box-shadow:0 15px 35px rgba(0,0,0,.20);
        }

        .wp-content h2{
            font-size:38px;
            line-height:1.15;
            margin-bottom:14px;
        }

        .wp-content h2 span{color:#6dff5a}

        .wp-content p{
            max-width:520px;
            line-height:1.7;
            margin-bottom:20px;
        }

        .wp-device{
            position:relative;
            z-index:2;
            justify-self:end;
            width:420px;
            height:210px;
            border-radius:24px;
            background:
                linear-gradient(rgba(255,255,255,.45), rgba(255,255,255,.45)),
                url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1100&auto=format&fit=crop');
            background-size:cover;
            background-position:center;
            border:10px solid #111;
            box-shadow:0 20px 50px rgba(0,0,0,.35);
            display:flex;
            align-items:center;
            justify-content:center;
            color:#001b00;
            text-align:center;
            font-weight:900;
            font-size:30px;
        }

        .grid{
            display:grid;
            grid-template-columns:repeat(3,1fr);
            gap:28px;
        }

        .project-card,
        .blog-card,
        .testimonial-card{
            background:#fff;
            border-radius:18px;
            overflow:hidden;
            box-shadow:0 12px 35px rgba(0,0,0,.08);
            border:1px solid #e8efe8;
            transition:.25s;
        }

        .project-card:hover,
        .blog-card:hover{
            transform:translateY(-7px);
        }

        .project-img{
            height:210px;
            background-size:cover;
            background-position:center;
        }

        .project-body,
        .blog-body{
            padding:22px;
        }

        .tags{
            display:flex;
            gap:8px;
            flex-wrap:wrap;
            margin:12px 0;
        }

        .tag{
            background:var(--verde-soft);
            color:var(--verde3);
            padding:6px 10px;
            border-radius:20px;
            font-size:12px;
            font-weight:800;
        }

        .link{
            color:var(--verde2);
            text-decoration:none;
            font-weight:900;
        }

        .blog-grid{
            grid-template-columns:repeat(4,1fr);
        }

        .blog-img{
            height:155px;
            background-size:cover;
            background-position:center;
        }

        .blog-body small{
            color:var(--verde2);
            font-weight:900;
        }

        .blog-body h3{
            margin:8px 0;
            font-size:18px;
        }

        .blog-body p{
            color:var(--muted);
            font-size:14px;
            line-height:1.55;
            margin-bottom:14px;
        }

        .testimonials{
            background:#fbfdfb;
        }

        .testimonial-card{
            padding:28px;
        }

        .quote{
            color:var(--verde);
            font-size:34px;
            margin-bottom:12px;
        }

        .stars{
            color:#f7bd00;
            margin:12px 0;
        }

        footer{
            background:
                linear-gradient(135deg, #003b00, #007200),
                radial-gradient(circle at 90% 80%, rgba(0,255,0,.18), transparent 30%);
            color:#fff;
            padding:55px 0 22px;
        }

        .footer-grid{
            display:grid;
            grid-template-columns:1.4fr 1fr 1fr 1.2fr;
            gap:36px;
        }

        footer h3{
            margin-bottom:18px;
        }

        footer p, footer a{
            color:#eaffea;
            text-decoration:none;
            line-height:1.8;
            font-size:14px;
        }

        .socials{
            display:flex;
            gap:12px;
            margin-top:18px;
        }

        .socials a{
            width:38px;
            height:38px;
            border-radius:50%;
            display:grid;
            place-items:center;
            background:rgba(255,255,255,.12);
        }

        .newsletter input{
            width:100%;
            padding:14px;
            border-radius:10px;
            border:none;
            margin:10px 0;
            color:#222;
        }

        .newsletter button{
            width:100%;
            padding:14px;
            border:none;
            border-radius:10px;
            background:#6dff5a;
            color:#073b07;
            font-weight:900;
            cursor:pointer;
        }

        .copy{
            text-align:center;
            border-top:1px solid rgba(255,255,255,.18);
            margin-top:36px;
            padding-top:20px;
            font-size:13px;
        }

        .whatsapp{
            position:fixed;
            right:28px;
            bottom:28px;
            width:62px;
            height:62px;
            border-radius:50%;
            background:#25d366;
            color:#fff;
            display:grid;
            place-items:center;
            font-size:32px;
            text-decoration:none;
            z-index:60;
            box-shadow:0 15px 35px rgba(0,0,0,.22);
            animation:bounce 2s infinite;
        }

        @keyframes slideLeft{
            from{transform:translateX(0)}
            to{transform:translateX(-50%)}
        }

        @keyframes fadeUp{
            from{opacity:0;transform:translateY(30px)}
            to{opacity:1;transform:translateY(0)}
        }

        @keyframes fadeRight{
            from{opacity:0;transform:translateX(45px)}
            to{opacity:1;transform:translateX(0)}
        }

        .reveal{
            opacity:0;
            transform:translateY(45px);
            transition:opacity .8s ease, transform .8s ease;
        }

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

        @keyframes pulseLogo{
            0%,100%{box-shadow:0 0 0 rgba(0,160,0,.35)}
            50%{box-shadow:0 0 0 12px rgba(0,160,0,.08)}
        }

        @keyframes glowMove{
            from{transform:translateX(-20px)}
            to{transform:translateX(20px)}
        }

        @keyframes bounce{
            0%,100%{transform:translateY(0)}
            50%{transform:translateY(-8px)}
        }

        .menu-toggle{
            display:none;
            width:46px;
            height:46px;
            border:none;
            border-radius:12px;
            background:var(--verde-soft);
            color:var(--verde3);
            font-size:22px;
            cursor:pointer;
        }

        @media(max-width:1100px){
            .container{width:min(94%, 1180px)}
            nav ul{gap:20px}
            .hero h1{font-size:58px}
            .blog-grid{grid-template-columns:repeat(2,1fr)}
        }

        @media(max-width:980px){
            .navbar{
                min-height:82px;
                position:relative;
            }

    
        .typewriter-cursor{
            display:inline-block;
            width:5px;
            height:.95em;
            background:#5dff4b;
            margin-left:6px;
            transform:translateY(7px);
            animation:blinkCursor .75s infinite;
        }

        @keyframes blinkCursor{
            0%,100%{opacity:1}
            50%{opacity:0}
        }

        .menu-toggle{
                display:grid;
                place-items:center;
            }

            nav{
                position:absolute;
                top:82px;
                left:0;
                right:0;
                background:#fff;
                box-shadow:0 20px 35px rgba(0,0,0,.08);
                border-radius:0 0 18px 18px;
                overflow:hidden;
                max-height:0;
                transition:.35s ease;
            }

            header:hover nav,
            header:focus-within nav{
                max-height:360px;
            }

            nav ul{
                flex-direction:column;
                gap:0;
                padding:14px 0;
            }

            nav li{
                width:100%;
                text-align:center;
            }

            nav a{
                display:block;
                padding:14px 20px;
            }

            nav a::after{display:none}

            .hero{
                min-height:680px;
                background-position:65% center;
            }

            .hero-inner{
                grid-template-columns:1fr;
                gap:34px;
            }

            .hero-showcase{
                min-height:250px;
                font-size:30px;
            }

            .hero-showcase i{
                font-size:72px;
            }

            .hero h1{font-size:46px}
            .hero p{font-size:17px}
            .hero-badges{gap:14px}

            .wp-banner{
                grid-template-columns:1fr;
                padding:34px;
            }

            .wp-device{
                display:none;
            }

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

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

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

            .card-service,.tech-card{
                width:250px;
            }
        }

        @media(max-width:680px){
            .blog-grid,
            .footer-grid{
                grid-template-columns:1fr;
            }

            .project-img{
                height:190px;
            }

            .blog-img{
                height:180px;
            }

            .wp-content{
                flex-direction:column;
                align-items:flex-start;
            }

            .wp-logo{
                width:95px;
                height:95px;
                font-size:54px;
            }

            .wp-content h2{
                font-size:30px;
            }

            .hero-actions{
                flex-direction:column;
                align-items:stretch;
            }

            .btn{
                justify-content:center;
            }
        }

        @media(max-width:560px){
            .navbar{
                min-height:76px;
            }

            nav{
                top:76px;
            }

            .brand h2{
                font-size:21px;
            }

            .brand span{
                font-size:13px;
            }

            .brand-logo{
                width:50px;
                height:50px;
                font-size:18px;
                border-width:4px;
            }

            .btn-contact{
                display:none;
            }

            .hero{
                min-height:650px;
                background-position:72% center;
            }

            .hero-showcase{
                display:none;
            }

            .hero h1{
                font-size:38px;
                letter-spacing:-1px;
            }

            .hero p{
                font-size:16px;
            }

            .section-title{
                font-size:25px;
            }

            section{
                padding:58px 0;
            }

            .spaced{
                padding-top:68px;
                padding-bottom:68px;
            }

            .card-service{
                width:260px;
                padding:22px;
            }

            .tech-card{
                width:230px;
            }

            .track{
                gap:16px;
            }

            .wp-banner{
                padding:28px 22px;
            }

            .whatsapp{
                right:18px;
                bottom:18px;
                width:55px;
                height:55px;
                font-size:28px;
            }
        }


/* PAGINAS PUBLICAS */

.page-hero{
    padding:120px 0 85px;
    background:
        linear-gradient(135deg, rgba(0,60,0,.92), rgba(0,160,0,.65)),
        url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1600&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    color:#fff;
}

.page-eyebrow{
    display:inline-block;
    background:rgba(255,255,255,.14);
    padding:9px 15px;
    border-radius:999px;
    font-weight:900;
    margin-bottom:18px;
    text-transform:uppercase;
}

.page-hero h1{
    font-size:54px;
    max-width:850px;
    line-height:1.08;
    margin-bottom:18px;
}

.page-hero p{
    max-width:760px;
    font-size:19px;
    line-height:1.7;
    color:#eaffea;
}

.about-grid,
.contact-page-grid{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:30px;
    align-items:start;
}

.about-card,
.about-highlight,
.contact-card,
.contact-info-card,
.service-detail-card,
.value-card{
    background:#fff;
    border:1px solid #e8efe8;
    border-radius:24px;
    padding:30px;
    box-shadow:var(--shadow);
}

.about-card h2,
.contact-card h2,
.contact-info-card h2{
    color:var(--verde3);
    margin-bottom:15px;
}

.about-card p,
.about-highlight li,
.value-card p,
.contact-info-card p{
    line-height:1.7;
    color:var(--muted);
    margin-bottom:12px;
}

.about-highlight ul{
    list-style:none;
}

.about-highlight i{
    color:var(--verde);
    margin-right:8px;
}

.page-soft{
    background:#fbfdfb;
}

.values-grid,
.services-detail-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:28px;
}

.value-card i{
    font-size:38px;
    color:var(--verde);
    margin-bottom:15px;
}

.value-card h3,
.service-detail-card h3{
    color:var(--verde3);
    margin-bottom:12px;
}

.service-detail-card p{
    color:var(--muted);
    line-height:1.7;
    margin:14px 0;
}

.tech-public-grid .tech-card{
    width:auto;
}

.public-pagination{
    margin-top:28px;
}

.empty-public{
    grid-column:1/-1;
    background:#f3fbf3;
    color:var(--verde3);
    text-align:center;
    padding:35px;
    border-radius:20px;
}

.contact-form{
    display:grid;
    gap:12px;
}

.contact-form label{
    font-weight:900;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:14px;
    border:1px solid #dfe8df;
    border-radius:13px;
    outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:var(--verde);
    box-shadow:0 0 0 4px rgba(0,160,0,.10);
}

.map-box{
    margin-top:22px;
    min-height:230px;
    border-radius:22px;
    background:
        linear-gradient(135deg, rgba(0,120,0,.88), rgba(0,160,0,.55)),
        url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=1200&auto=format&fit=crop');
    background-size:cover;
    display:grid;
    place-items:center;
    color:#fff;
    font-weight:900;
    text-align:center;
}

.map-box i{
    font-size:48px;
    display:block;
    margin-bottom:8px;
}


@media(max-width:980px){
    .page-hero h1{
        font-size:40px;
    }

    .about-grid,
    .contact-page-grid,
    .values-grid,
    .services-detail-grid{
        grid-template-columns:1fr;
    }
}



/* CONFIGURACION PUBLICA */

.brand-logo-img{
    width:62px;
    height:62px;
    border-radius:50%;
    object-fit:contain;
    background:#fff;
    border:3px solid var(--verde);
    padding:5px;
}

.footer-logo-img{
    border-color:#fff;
}

@media(max-width:560px){
    .brand-logo-img{
        width:50px;
        height:50px;
    }
}


/* =========================================================
   BLOG PUBLICO Y DETALLE - CORRECCION FINAL
   Mantiene:
   - Blog principal con categorías a la derecha.
   - Detalle del blog con categorías a la derecha.
   - No afecta home, servicios, proyectos ni otras páginas.
========================================================= */

/* BLOG PRINCIPAL */
.blog-layout-public{
    width:min(1180px, 90%) !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 320px !important;
    gap:34px !important;
    align-items:start !important;
}

.blog-layout-public main{
    min-width:0 !important;
}

.blog-layout-public .blog-public-grid,
.blog-layout-public .blog-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:28px !important;
}

.blog-layout-public .blog-card{
    width:100% !important;
    max-width:100% !important;
}

/* DETALLE BLOG */
.blog-detail-layout{
    width:min(1180px, 90%) !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 320px !important;
    gap:34px !important;
    align-items:start !important;
}

.blog-detail-layout .blog-detail-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    background:#fff !important;
    border:1px solid #e8efe8 !important;
    border-radius:24px !important;
    padding:28px !important;
    box-shadow:0 18px 45px rgba(0,0,0,.08) !important;
    overflow:hidden !important;
}

.blog-detail-img{
    width:100% !important;
    max-height:430px !important;
    object-fit:cover !important;
    display:block !important;
    border-radius:20px !important;
    margin-bottom:18px !important;
}

.blog-meta{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    color:#667466 !important;
    font-weight:700 !important;
    margin-bottom:14px !important;
}

.blog-meta i{
    color:#008000 !important;
}

.blog-rich-content,
.rich-content{
    color:#172217 !important;
    line-height:1.75 !important;
    font-size:16px !important;
}

.blog-rich-content p,
.rich-content p{
    margin-bottom:14px !important;
}

.blog-rich-content ul,
.rich-content ul{
    margin:12px 0 16px 22px !important;
}

.blog-rich-content img,
.rich-content img{
    max-width:100% !important;
    height:auto !important;
    display:block !important;
    border-radius:16px !important;
    margin:18px 0 !important;
}

/* SIDEBAR DEL BLOG Y DETALLE */
.blog-layout-public .blog-sidebar-public,
.blog-detail-layout .blog-sidebar-public{
    width:100% !important;
    max-width:320px !important;
    position:sticky !important;
    top:110px !important;
    align-self:start !important;
    margin:0 !important;
    background:#fff !important;
    border:1px solid #e7efe7 !important;
    border-radius:24px !important;
    padding:24px !important;
    box-shadow:0 18px 45px rgba(0,0,0,.10) !important;
    z-index:2 !important;
}

.blog-sidebar-public h3{
    color:#006b00 !important;
    margin-bottom:16px !important;
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    font-size:22px !important;
}

.blog-sidebar-public > a{
    display:block !important;
    text-decoration:none !important;
    color:#006b00 !important;
    background:#f1fbf1 !important;
    border:1px solid #ddf3dd !important;
    padding:11px 14px !important;
    border-radius:14px !important;
    font-weight:900 !important;
    margin-bottom:10px !important;
    transition:.25s !important;
}

.blog-sidebar-public > a:hover,
.blog-sidebar-public > a.active{
    background:linear-gradient(135deg,#00a000,#006b00) !important;
    color:#fff !important;
    transform:translateX(4px) !important;
}

.blog-sidebar-cta{
    margin-top:22px !important;
    padding:20px !important;
    border-radius:20px !important;
    background:linear-gradient(135deg,#f1fff1,#e1ffe1) !important;
    border:1px solid #d7f2d7 !important;
}

.blog-sidebar-cta h4{
    color:#006b00 !important;
    font-size:18px !important;
    margin-bottom:8px !important;
}

.blog-sidebar-cta p{
    color:#667466 !important;
    line-height:1.6 !important;
    margin-bottom:14px !important;
}

.blog-sidebar-cta a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-decoration:none !important;
    background:linear-gradient(135deg,#00a000,#006b00) !important;
    color:#fff !important;
    padding:11px 16px !important;
    border-radius:13px !important;
    font-weight:900 !important;
    box-shadow:0 12px 28px rgba(0,160,0,.18) !important;
}

.related-box{
    margin-top:24px !important;
    padding-top:18px !important;
    border-top:1px solid #e8efe8 !important;
}

.related-box p{
    color:#667466 !important;
    line-height:1.6 !important;
}

/* Responsive */
@media(max-width:1100px){
    .blog-layout-public .blog-public-grid,
    .blog-layout-public .blog-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}

@media(max-width:900px){
    .blog-layout-public,
    .blog-detail-layout{
        grid-template-columns:1fr !important;
    }

    .blog-layout-public .blog-sidebar-public,
    .blog-detail-layout .blog-sidebar-public{
        max-width:100% !important;
        position:relative !important;
        top:auto !important;
        margin-top:24px !important;
    }

    .blog-layout-public .blog-public-grid,
    .blog-layout-public .blog-grid{
        grid-template-columns:1fr !important;
    }
}


/* FIX FINAL - QUITAR VERDES RESTANTES */

:root{
    --verde:#003770 !important;
    --verde2:#2971B9 !important;
    --verde3:#003770 !important;
    --verde-dark:#002A55 !important;
    --verde-soft:#EEF5FC !important;
    --text:#0B2341 !important;
    --muted:#4B5563 !important;
    --white:#ffffff !important;
    --accent:#FFB81C !important;
    --soft:#E5E5E5 !important;
}

/* Botones que aún quedaban verdes */
.btn-contact,
.btn-primary,
.blog-sidebar-public > a.active,
.blog-sidebar-public > a:hover,
.blog-sidebar-cta a,
.newsletter button{
    background:linear-gradient(135deg,#003770,#002A55) !important;
    color:#ffffff !important;
    box-shadow:0 12px 28px rgba(0,55,112,.22) !important;
}

/* Menú activo y líneas */
nav a::after,
.line{
    background:#FFB81C !important;
}

/* Textos destacados */
.section-title span,
.page-hero h1 span,
.hero h1 span,
.wp-content h2 span,
.blog-sidebar-cta h4,
.blog-body small,
.link{
    color:#FFB81C !important;
}

/* Logo y marca */
.brand-logo,
.brand-logo-img{
    border-color:#003770 !important;
    color:#003770 !important;
}

.brand h2,
.brand span,
nav a,
.blog-sidebar-public h3,
.blog-sidebar-public > a,
.card-service h3,
.value-card h3,
.service-detail-card h3,
.about-card h2,
.contact-card h2,
.contact-info-card h2{
    color:#003770 !important;
}

/* Tarjetas laterales del blog */
.blog-sidebar-public > a{
    background:#EEF5FC !important;
    border-color:#D5E6F7 !important;
}

.blog-sidebar-public > a.active,
.blog-sidebar-public > a:hover{
    background:linear-gradient(135deg,#003770,#002A55) !important;
    color:#ffffff !important;
}

/* CTA del blog */
.blog-sidebar-cta{
    background:linear-gradient(135deg,#F5FAFF,#EEF5FC) !important;
    border-color:#D5E6F7 !important;
}

.blog-sidebar-cta a{
    background:linear-gradient(135deg,#003770,#002A55) !important;
    color:#ffffff !important;
}

/* Iconos */
.iconbox,
.menu-toggle{
    background:linear-gradient(135deg,#EEF5FC,#E5F0FA) !important;
    color:#003770 !important;
}

.quote,
.value-card i,
.about-highlight i,
.hint i,
.blog-meta i,
.blog-sidebar-public h3 i,
.blog-sidebar-cta i{
    color:#FFB81C !important;
}

/* Badges y etiquetas */
.tag,
.empty-public{
    background:#EEF5FC !important;
    color:#003770 !important;
    border-color:#D5E6F7 !important;
}

/* Bordes */
.card-service,
.tech-card,
.project-card,
.blog-card,
.testimonial-card,
.about-card,
.about-highlight,
.contact-card,
.contact-info-card,
.service-detail-card,
.value-card,
.blog-detail-card,
.blog-sidebar-public{
    border-color:#D8E5F2 !important;
}

/* Formularios */
.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#2971B9 !important;
    box-shadow:0 0 0 4px rgba(41,113,185,.14) !important;
}

/* Hero / banners */
.hero{
    background:
        linear-gradient(90deg, rgba(0,55,112,.96) 0%, rgba(41,113,185,.82) 46%, rgba(0,0,0,.28) 100%),
        url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1920&auto=format&fit=crop') !important;
    background-size:cover !important;
    background-position:center !important;
}

.page-hero{
    background:
        linear-gradient(135deg, rgba(0,55,112,.94), rgba(41,113,185,.68)),
        url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1600&auto=format&fit=crop') !important;
    background-size:cover !important;
    background-position:center !important;
}

/* Footer */
footer{
    background:linear-gradient(135deg,#002A55,#003770) !important;
}

footer p,
footer a{
    color:#EAF3FC !important;
}

footer h3{
    color:#ffffff !important;
}

footer .brand span{
    color:#EAF3FC !important;
}

/* Mantener WhatsApp oficial */
.whatsapp{
    background:#25D366 !important;
}

/* FIX DEFINITIVO - PALETA AZUL INSTITUCIONAL + AMARILLO */

:root{
    --verde:#003770 !important;
    --verde2:#2971B9 !important;
    --verde3:#003770 !important;
    --verde-dark:#002A55 !important;
    --verde-soft:#EEF5FC !important;
    --text:#0B2341 !important;
    --muted:#4B5563 !important;
    --white:#ffffff !important;
    --accent:#FFB81C !important;
    --soft:#E5E5E5 !important;
}

.brand-logo,
.brand-logo-img{
    border-color:#003770 !important;
    color:#003770 !important;
}

.brand h2,
.brand span,
nav a,
.card-service h3,
.value-card h3,
.service-detail-card h3,
.about-card h2,
.contact-card h2,
.contact-info-card h2,
.blog-sidebar-public h3,
.blog-sidebar-public > a{
    color:#003770 !important;
}

nav a::after,
.line,
.typewriter-cursor{
    background:#FFB81C !important;
}

.btn-contact,
.btn-primary,
.blog-sidebar-public > a.active,
.blog-sidebar-public > a:hover,
.blog-sidebar-cta a{
    background:linear-gradient(135deg,#003770,#002A55) !important;
    color:#ffffff !important;
    box-shadow:0 12px 28px rgba(0,55,112,.22) !important;
}

.btn-outline{
    border-color:rgba(255,255,255,.78) !important;
    color:#ffffff !important;
}

.hero{
    background:
        linear-gradient(90deg, rgba(0,55,112,.96) 0%, rgba(41,113,185,.82) 46%, rgba(0,0,0,.28) 100%),
        url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1920&auto=format&fit=crop') !important;
    background-size:cover !important;
    background-position:center !important;
}

.hero::before{
    background:
        radial-gradient(circle at 25% 60%, rgba(41,113,185,.18), transparent 28%),
        radial-gradient(circle at 70% 25%, rgba(255,184,28,.13), transparent 28%) !important;
}

.eyebrow,
.hero-badges{
    color:#EAF3FC !important;
}

.hero-badges i{
    color:#FFB81C !important;
}

.hero h1 span,
.section-title span,
.page-hero h1 span,
.wp-content h2 span,
.blog-body small,
.link,
.blog-sidebar-cta h4{
    color:#FFB81C !important;
}

.card-service,
.tech-card,
.project-card,
.blog-card,
.testimonial-card,
.about-card,
.about-highlight,
.contact-card,
.contact-info-card,
.service-detail-card,
.value-card,
.blog-detail-card,
.blog-sidebar-public{
    border-color:#D8E5F2 !important;
}

.card-service:hover{
    border-color:#FFB81C !important;
}

.iconbox,
.menu-toggle{
    background:linear-gradient(135deg,#EEF5FC,#E5F0FA) !important;
    color:#003770 !important;
}

.hint i,
.value-card i,
.about-highlight i,
.blog-meta i,
.quote,
.blog-sidebar-public h3 i,
.blog-sidebar-cta i,
.stars{
    color:#FFB81C !important;
}

.tag,
.empty-public,
.blog-sidebar-public > a{
    background:#EEF5FC !important;
    color:#003770 !important;
    border-color:#D5E6F7 !important;
}

.wp-banner{
    background:
        linear-gradient(90deg, rgba(0,55,112,.96) 0%, rgba(41,113,185,.86) 46%, rgba(0,42,85,.45) 100%),
        url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=1600&auto=format&fit=crop') !important;
    background-size:cover !important;
    background-position:center !important;
}

.wp-banner::after{
    background:radial-gradient(circle at 80% 30%, rgba(255,184,28,.20), transparent 32%) !important;
}

.wp-logo{
    border-color:#ffffff !important;
    color:#ffffff !important;
}

.testimonials,
.page-soft{
    background:#F5FAFF !important;
}

.testimonial-card [class*="avatar"],
.testimonial-card [class*="initial"],
.testimonial-card .avatar,
.testimonial-card .initial,
.testimonial-card .testimonial-avatar,
.testimonial-card .testimonial-initial{
    background:#EEF5FC !important;
    color:#003770 !important;
}

.testimonial-card div[style*="background"],
.testimonial-card span[style*="background"]{
    background:#EEF5FC !important;
    color:#003770 !important;
}

.page-hero{
    background:
        linear-gradient(135deg, rgba(0,55,112,.94), rgba(41,113,185,.68)),
        url('https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1600&auto=format&fit=crop') !important;
    background-size:cover !important;
    background-position:center !important;
}

.page-hero p,
footer p,
footer a{
    color:#EAF3FC !important;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#2971B9 !important;
    box-shadow:0 0 0 4px rgba(41,113,185,.14) !important;
}

.map-box{
    background:
        linear-gradient(135deg, rgba(0,55,112,.88), rgba(41,113,185,.55)),
        url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=1200&auto=format&fit=crop') !important;
    background-size:cover !important;
}

.blog-meta{
    color:#4B5563 !important;
}

.blog-rich-content,
.rich-content{
    color:#0B2341 !important;
}

.blog-sidebar-public > a.active,
.blog-sidebar-public > a:hover{
    background:linear-gradient(135deg,#003770,#002A55) !important;
    color:#ffffff !important;
}

.blog-sidebar-cta{
    background:linear-gradient(135deg,#F5FAFF,#EEF5FC) !important;
    border-color:#D5E6F7 !important;
}

footer{
    background:
        linear-gradient(135deg,#002A55,#003770),
        radial-gradient(circle at 90% 80%, rgba(255,184,28,.18), transparent 30%) !important;
}

footer h3{
    color:#ffffff !important;
}

footer .brand span{
    color:#EAF3FC !important;
}

.newsletter button{
    background:#FFB81C !important;
    color:#003770 !important;
}

.whatsapp{
    background:#25D366 !important;
}
