        :root {
            --primary: #7CB325; /* Verde Oficial Signans */
            --primary-dark: #638F1D;
            --primary-light: #F1F8E9;
            --brand-green-bg: #1B3B0A; /* Fondo Verde Oscuro Corporativo */
            --brand-green-medium: #2C5E14; /* Fondo Verde Intermedio */
            --dark: #1E293B; 
            --dark-deep: #0F172A;
            --text: #475569;
            --text-light: #94A3B8;
            --light: #F8FAFC;
            --white: #FFFFFF;
            --whatsapp-color: #25D366;
            --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.4;
}

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* --- EFECTOS DE ANIMACIÓN --- */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(0.5deg); }
            100% { transform: translateY(0px) rotate(0deg); }
        }

        @keyframes pulseGlow {
            0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
            70% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
        }

        @keyframes pulseWsp {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }

        .animate-fade-in {
            animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        
        .animate-fade-right {
            animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        /* --- NAVBAR --- */
        header {
            background-color: rgba(27, 59, 10, 0.95);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 90px;
        }

        .logo {
    font-weight: 900;
    font-size: 0px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -1px;
    transition: var(--transition);
        }

        .logo span {
            color: var(--primary);
        }

        .logo:hover {
            transform: scale(1.03);
        }

        /* Contenedor de acciones navegación derecha (Escritorio) */
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 40px;
        }

        nav a {
            text-decoration: none;
            color: rgba(255, 255, 255, 0.8);
            font-weight: 500;
            font-size: 14px;
            letter-spacing: 0.5px;
            position: relative;
            padding: 8px 0;
            transition: var(--transition);
        }

        nav a:hover {
            color: var(--white);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--primary);
            transition: var(--transition);
            border-radius: 2px;
        }

        nav a:hover::after {
            width: 100%;
        }

        /* Botón hamburguesa menú responsive */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1010;
        }

        .menu-toggle .bar {
            width: 100%;
            height: 3px;
            background-color: var(--white);
            border-radius: 2px;
            transition: var(--transition);
        }

        /* --- BOTONES --- */
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: var(--white);
            padding: 16px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            transition: var(--transition);
            text-align: center;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(124, 179, 37, 0.3);
        }

        .btn:hover {
            background-color: var(--white);
            color: var(--brand-green-bg);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
            box-shadow: none;
        }

        .btn-secondary:hover {
            background-color: var(--white);
            color: var(--brand-green-bg);
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
        }

        .btn-pulse {
            animation: pulseGlow 2.5s infinite;
        }

        /* --- HERO SECTION --- */

		.hero-carousel {
            position: relative;
            width: 100%;
            height: 85vh;
            min-height: 600px;
            overflow: hidden;
            background-color: #000;
        }

        .carousel-inner {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.8s ease-in-out, visibility 0.8s;
            z-index: 1;
        }

        .carousel-item.active {
            opacity: 1;
            visibility: visible;
            z-index: 2;
        }

        /* Fondo multimedia (Imagen o Video) */
        .carousel-media {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
        }

        /* Capa oscura para asegurar el contraste del texto */
        .carousel-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
            z-index: 2;
        }

        /* Contenedor del contenido */
        .carousel-caption {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 3;
            display: flex;
            align-items: center;
        }

        .carousel-caption .container {
            max-width: 800px;
            padding: 0 20px;
        }

        .carousel-caption h1 {
            font-size: clamp(32px, 5vw, 56px);
            color: #ffffff;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .carousel-caption h1 span {
            color: #00ff88; /* Color de acento heredado de tu marca o personalizable */
        }

        .carousel-caption p {
            font-size: clamp(16px, 2vw, 18px);
            color: #e0e0e0;
            line-height: 1.6;
            margin-bottom: 35px;
            max-width: 700px;
        }

        .carousel-cta {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        /* Controles de navegación (Flechas) */
        .carousel-control {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 4;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .carousel-control:hover {
            background: rgba(255, 255, 255, 0.3);
            scale: 1.05;
        }

        .carousel-control.prev { left: 20px; }
        .carousel-control.next { right: 20px; }

        .carousel-control svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

        /* Indicadores (Puntitos inferiores) */
        .carousel-indicators {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 4;
            display: flex;
            gap: 12px;
        }

        .indicator-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 0;
        }

        .indicator-dot.active {
            background: #fff;
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            .carousel-control { display: none; } /* Ocultar flechas en móvil para mejor usabilidad */
            .carousel-caption h1 { text-align: center; }
            .carousel-caption p { text-align: center; }
            .carousel-cta { justify-content: center; }
        }






        /* --- TRUST BADGES --- */
        .badges-section {
            background-color: var(--light);
            padding: 50px 0;
            border-bottom: 1px solid #E2E8F0;
        }

        .badges-title {
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            color: #94A3B8;
            margin-bottom: 28px;
            font-weight: 700;
            text-align: center;
        }

        .badges-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 32px;
            flex-wrap: wrap;
        }

        .badge-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
            font-size: 13px;
            color: var(--dark-deep);
            border: 1px solid #E2E8F0;
            padding: 14px 24px;
            border-radius: 12px;
            background-color: var(--white);
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        }

        .badge-item:hover {
            border-color: var(--primary);
            background-color: var(--primary-light);
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 12px 20px rgba(124, 179, 37, 0.1);
        }

        .badge-icon {
            width: 22px;
            height: 22px;
            fill: var(--primary);
        }

        /* --- CONFIGURACIÓN SECCIONES --- */
        section {
    padding: 0px 0;
        }

        .section-bg {
            background-color: var(--light);
        }

        .section-green-bg {
            background: linear-gradient(135deg, var(--brand-green-medium) 0%, var(--brand-green-bg) 100%);
            color: var(--white);
        }

        .section-title {
            text-align: center;
            margin-bottom: 70px;
        }

        .section-title h2 {
            font-size: 32px;
            color: var(--dark-deep);
            margin-bottom: 20px;
            font-weight: 800;
            letter-spacing: -1px;
        }

        .section-green-bg .section-title h2 {
            color: var(--white);
        }

        .section-title p {
            font-size: 18px;
            max-width: 700px;
            margin: 0 auto;
            color: var(--text);
            font-weight: 400;
        }

        .section-green-bg .section-title p {
            color: rgba(255, 255, 255, 0.8);
        }

        /* --- SERVICIOS --- */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 32px;
        }

        .card {
            background-color: var(--white);
            border-radius: 20px;
            border: 1px solid #E2E8F0;
            overflow: hidden;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
        }

        .card-img-wrapper {
            position: relative;
            width: 100%;
            height: 230px;
            overflow: hidden;
        }

        .card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

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

        .card-body {
            padding: 40px;
            flex-grow: 1;
        }

        .card:hover {
            transform: translateY(-12px);
            box-shadow: 0 30px 50px rgba(27, 59, 10, 0.1);
            border-color: var(--primary);
        }

        .card h3 {
            font-size: 22px;
            color: var(--dark-deep);
            margin-bottom: 18px;
            font-weight: 700;
        }

        .card p {
            font-size: 15px;
            color: var(--text);
            font-weight: 400;
        }

        /* --- PASOS DE TRABAJO --- */
        .steps-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 28px;
            margin-top: 20px;
        }

        .step-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(8px);
            padding: 40px 32px;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-top: 5px solid var(--primary);
            transition: var(--transition);
        }

        .step-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-top-color: var(--white);
        }

        .step-num {
            font-size: 46px;
            font-weight: 900;
            color: var(--primary);
            margin-bottom: 20px;
            line-height: 1;
        }

        .step-card h4 {
            font-size: 18px;
            color: var(--white);
            margin-bottom: 14px;
            font-weight: 700;
        }

        .step-card p {
            font-size: 14.5px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 300;
        }

        /* --- SECCIÓN SPLIT (PÁGINAS WEB) --- */
        .split-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .split-image {
            width: 100%;
            border-radius: 24px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.08);
            border: 1px solid #E2E8F0;
            animation: float 6s ease-in-out infinite;
        }

        .features-list {
            list-style: none;
            margin-top: 36px;
        }

        .feature-item {
            display: flex;
            gap: 20px;
            margin-bottom: 28px;
        }

        .feature-icon-box {
            background-color: var(--primary);
            color: var(--white);
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(124, 179, 37, 0.3);
        }

        .feature-text h4 {
            font-size: 18px;
            color: var(--dark-deep);
            margin-bottom: 6px;
            font-weight: 700;
        }

        .feature-text p {
            font-size: 15px;
            color: var(--text);
        }

        /* --- PORTAFOLIO AVANZADO (FICHAS PREMIUM DE INDEX3) --- */
        .portfolio-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
            gap: 32px; 
        }

        .portfolio-item { 
            background-color: var(--white); 
            border: 1px solid #E2E8F0; 
            border-radius: 20px; 
            overflow: hidden; 
            transition: var(--transition); 
            display: flex; 
            flex-direction: column; 
            text-align: left; /* Restablece alineación original de la ficha */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
            min-height: auto; /* Anula el min-height del formato anterior */
        }

        .portfolio-item:hover { 
            transform: translateY(-8px); 
            box-shadow: 0 30px 50px rgba(27, 59, 10, 0.08); 
            border-color: var(--primary); 
        }

        .portfolio-img-box { 
            width: 100%; 
            height: 240px; 
            overflow: hidden; 
            background-color: #eaeaea; 
        }

        .portfolio-img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            transition: var(--transition); 
        }

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

        .portfolio-desc { 
            padding: 36px; 
            flex-grow: 1; 
            display: flex; 
            flex-direction: column; 
        }

        .client-tag { 
            font-size: 11px; 
            font-weight: 800; 
            color: var(--primary-dark); 
            text-transform: uppercase; 
            letter-spacing: 1.5px; 
            margin-bottom: 14px; 
            align-self: flex-start; 
            background-color: var(--primary-light); 
            padding: 6px 14px; 
            border-radius: 6px; 
        }

        .portfolio-desc h3 { 
            font-size: 24px; 
            color: var(--dark-deep); 
            margin-bottom: 14px; 
            font-weight: 700; 
            letter-spacing: -0.5px;
        }

        .portfolio-desc p { 
            font-size: 15px; 
            color: var(--text); 
            margin-bottom: 24px; 
            flex-grow: 1; 
            text-transform: none; /* Anula transformaciones de texto previas */
            letter-spacing: normal;
        }

        .btn-view { 
            display: inline-block; 
            padding: 14px 24px; 
            background-color: var(--brand-green-bg); 
            color: var(--white); 
            text-decoration: none; 
            border-radius: 50px; 
            font-weight: 700; 
            font-size: 13px; 
            text-align: center; 
            transition: var(--transition); 
            margin-top: auto; 
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(27, 59, 10, 0.15);
        }

        .btn-view:hover { 
            background-color: var(--primary); 
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(124, 179, 37, 0.3);
            color: var(--white);
        }

        /* --- WHATSAPP FLOTANTE --- */
        .wsp-floating {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: var(--whatsapp-color);
            border-radius: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 999;
            box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
            transition: all 0.3s ease;
            animation: pulseWsp 2s infinite;
        }

        .wsp-floating:hover {
            transform: scale(1.1) translateY(-5px);
            background-color: #20ba5a;
        }

        .wsp-floating svg {
            width: 32px;
            height: 32px;
            fill: var(--white);
        }

        /* --- SECCIÓN CONTACTO --- */
        .contacto-section {
            background: linear-gradient(135deg, var(--brand-green-bg) 0%, #081403 100%);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .contacto-grid {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 80px;
            align-items: center;
        }

        .contacto-text h2 {
            font-size: 36px;
            color: var(--white);
            margin-bottom: 24px;
            font-weight: 800;
            letter-spacing: -1px;
        }

        .contacto-text p {
            font-size: 18px;
            color: var(--text-light);
            margin-bottom: 36px;
            font-weight: 300;
        }

        .cta-box-premium {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-left: 5px solid var(--primary);
            padding: 28px;
            border-radius: 12px;
            margin-bottom: 32px;
        }

        .cta-box-premium p {
            color: #E2E8F0;
            margin-bottom: 0;
            font-size: 15px;
            font-style: italic;
            font-weight: 400;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 44px;
            border-radius: 24px;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(16px);
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .contact-form label {
            display: block;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 700;
            margin-bottom: 5px;
            color: var(--primary);
        }

        .contact-form input, .contact-form textarea {
            width: 100%;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 12px 20px;
            border-radius: 10px;
            color: var(--white);
            font-family: 'Montserrat', sans-serif;
            font-size: 14.5px;
            transition: var(--transition);
        }

        .contact-form input:focus, .contact-form textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(0, 0, 0, 0.3);
            box-shadow: 0 0 15px rgba(124, 179, 37, 0.2);
        }

        .contact-form textarea {
            resize: none;
        }

        /* --- FOOTER --- */
        footer {
    background-color: #060e02;
    color: #64748B;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 30px;
    padding-right: 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1.8fr 0.5fr 0.5fr;
            gap: 60px;
            padding: 80px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .footer-brand h3 {
            color: var(--white);
            font-size: 28px;
            margin-bottom: 20px;
            font-weight: 900;
        }

        .footer-brand h3 span {
            color: var(--primary);
        }

        .footer-brand p {
            max-width: 600px;
            font-size: 15px;
            font-weight: 300;
        }

        .footer-contact h4 {
            color: var(--white);
            margin-bottom: 22px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 700;
        }

        .footer-contact p {
            margin-bottom: 12px;
            font-size: 15px;
        }

        .footer-contact a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .footer-contact a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            padding: 40px 0;
            text-align: center;
            font-size: 13px;
        }

        /* --- MEDIA QUERIES --- */
        @media (max-width: 992px) {
            .hero-grid, .split-container, .contacto-grid, .footer-content {
                grid-template-columns: 1fr;
                gap: 50px;
            }

            .hero {
                padding: 100px 0 80px 0;
                text-align: center;
            }

            .hero h1 {
                font-size: 42px;
            }

            .hero p {
                margin: 0 auto 36px auto;
            }

            .hero-cta {
                justify-content: center;
            }

            .hero-badge-overlay {
                left: 20px;
                bottom: -10px;
            }

            .nav-actions {
                display: none; /* Oculta navegación de escritorio */
            }

            .menu-toggle {
                display: flex; /* Muestra botón hamburguesa */
            }

            /* Estilos de Menú Móvil Desplegable Activo */
            .nav-actions.active {
                display: flex;
                flex-direction: column;
                position: absolute;
                top: 90px;
                left: 0;
                width: 100%;
                background-color: #112606;
                padding: 40px 24px;
                border-bottom: 2px solid var(--primary);
                gap: 30px;
                box-shadow: 0 20px 30px rgba(0,0,0,0.3);
                animation: fadeInUp 0.4s ease forwards;
            }

            .nav-actions.active nav ul {
                flex-direction: column;
                align-items: center;
                gap: 24px;
            }

            .nav-actions.active .btn {
                width: 100%;
                max-width: 300px;
            }

            /* Animación icono hamburguesa */
            .menu-toggle.active .bar:nth-child(1) {
                transform: translateY(9px) rotate(45deg);
            }
            .menu-toggle.active .bar:nth-child(2) {
                opacity: 0;
            }
            .menu-toggle.active .bar:nth-child(3) {
                transform: translateY(-9px) rotate(-45deg);
            }
        }

        @media (max-width: 576px) {
            .hero h1 { font-size: 34px; }
            .hero-cta { flex-direction: column; gap: 14px; }
            .form-row { grid-template-columns: 1fr; gap: 0; }
            section {
    padding: 0px 0;
}
            .contact-form { padding: 28px; }
        }

        .detail-hero {
    padding: 20px 0;
    background-color: var(--light);
    text-align: center;
}
        .detail-hero h1 { font-size: 42px; color: var(--dark-deep); margin-bottom: 0px; }
        .content-section { padding: 60px 0; }
        .content-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; }
        .main-img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .meta-box { background-color: var(--light); padding: 30px; border-radius: 12px; border-left: 4px solid var(--primary); }
        .meta-box h3 {
    margin-bottom: 15px;
    color: var(--dark-deep);
    line-height: normal;
}
        .meta-box ul { list-style: none; }
        .meta-box li { margin-bottom: 10px; font-weight: 600; }

        /* Ajustes de Responsividad para Dispositivos Móviles */
        @media (max-width: 768px) {
            .detail-hero { padding: 50px 0; }
            .detail-hero h1 { font-size: 32px; }
            .content-grid { 
                grid-template-columns: 1fr; /* Cambia a una sola columna vertical */
                gap: 30px; /* Reduce el espacio entre bloques */
            }
            .meta-box { margin-top: 10px; }
        }
		
        .footer-social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        .footer-social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        .footer-social-icon:hover {
            background-color: var(--primary, #1b3b0a); /* Usa el color primario de tu marca, o verde oscuro por defecto */
            transform: translateY(-3px);
        }
        .footer-social-icon svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }



 /* === ESTRUCTURA PREMIUM CON SOPORTE CLIP-PATH Y PARALLAX === */
        .hero-carousel {
            overflow: hidden;
            position: relative;
            width: 100%;
            height: 80vh; 
            min-height: 500px;
            background-color: #000;
        }

        .carousel-inner {
            position: relative;
            width: 100%;
            height: 100%;
            display: block; 
        }

        .carousel-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            z-index: 1;
            /* Sincronización exacta para la máscara de recorte */
            transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
            will-change: clip-path, opacity;
            clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
        }

        /* Diapositiva Activa */
        .carousel-item.active {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 2;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

        /* Diapositiva previa (debajo de la nueva capa que se revela) */
        .carousel-item.last-active {
            opacity: 1 !important;
            visibility: visible !important;
            z-index: 1;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

        /* === EFECTO PARALLAX INTERNO EN LA IMAGEN === */
        .carousel-media {
            width: 120%; /* Sobredimensionada lateralmente para dar margen al movimiento sin dejar huecos */
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: -10%; /* Centrada por defecto */
            transform: translateX(0%);
            /* Duración idéntica a la máscara para que viajen juntas en armonía */
            transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
            will-change: transform;
        }

        /* === PARALLAX ADICIONAL EN CONTENIDOS (TEXTOS) === */
        .carousel-caption {
            z-index: 3;
        }
        .carousel-caption h1,
        .carousel-caption p,
        .carousel-caption .carousel-cta {
            transform: translateX(0px);
            opacity: 1;
            transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.2s ease;
            will-change: transform, opacity;
        }
        
        /* Desfase de tiempos opcional para el texto de las slides inactivas */
        .carousel-item:not(.active) .carousel-caption h1 { transform: translateX(60px); opacity: 0; }
        .carousel-item:not(.active) .carousel-caption p { transform: translateX(40px); opacity: 0; }
        .carousel-item:not(.active) .carousel-caption .carousel-cta { transform: translateX(20px); opacity: 0; }

        /* === ESTILOS REDES SOCIALES FOOTER === */
        .footer-social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        .footer-social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        .footer-social-icon:hover {
            background-color: var(--primary, #1b3b0a); /* Usa el color primario de tu marca, o verde oscuro por defecto */
            transform: translateY(-3px);
        }
        .footer-social-icon svg {
            width: 28px;
            height: 28px;
            fill: currentColor;
        }
        /* Nuevo estilo para la acción del portafolio */
        .btn-portfolio {
            display: inline-block;
            width: 50%;
            box-sizing: border-box;
            text-align: center;
			background:#D98000

        }

        /* Ajuste responsive para celulares */
        @media (max-width: 768px) {
            .btn-portfolio {
                width: 100% !important;
                display: block;
            }
        }

