:root {
            --primary-red: #e62e2d;
            --dark-bg: #1a1a1a;
            --white: #ffffff;
            --gray-text: #cccccc;
            --black: #000000;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background-color: #f4f4f4;
        }

        /* --- HEADER CON DEGRADADO --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 7%;
    z-index: 1000;
    transition: all 0.4s ease;
    /* Degradado negro a transparente similar a la imagen */
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

header.scrolled {
    background: rgba(0,0,0,0.95);
    padding: 15px 7%;
}

.logo {
    color: var(--white);
    font-weight: bold;
    font-size: 1.8rem;
    text-decoration: none;
    line-height: 1;
    position: relative;
    top: -2vw;
    z-index: 1001; /* Asegura que el logo se vea sobre el fondo del menú móvil */
}

.logo span {
    display: block;
    color: var(--primary-red);
    font-size: 0.7rem;
    letter-spacing: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

nav ul li a.active, nav ul li a:hover {
    opacity: 1;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 5px;
}

.btn-escribenos {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Desktop only button */
.btn-escribenos.desktop-only {
    display: flex; /* Visible on desktop */
}

/* Mobile only button */
.btn-escribenos.mobile-only {
    display: none; /* Hidden on desktop */
}

/* Menu Toggle for mobile */
.menu-toggle {
    display: none; /* Hidden by default */
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Asegura que el icono sea visible y clickeable sobre el menú */
    /* z-index is handled by header's z-index, which is 1000 */
}



/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 45%, rgba(0,0,0,0) 60%), 
                url('./img/microcemento-premium-cocinas-banos-salas-concreto360-panama.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 20%  7% 10% 7%;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--primary-red);
}

.highlight{
    display: block;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.9;
}

/* --- ESTILOS NUEVOS ICONOS --- */
.hero-quick-features {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.q-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.f-icon-img {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Convierte iconos negros a blancos */
}

.q-feature p {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
}

/* BOTONES CON SUBTEXTO */
.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-main {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-whatsapp {
    background-color: var(--primary-red);
    color: white;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    color: white;
}

.btn-title {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-sub {
    display: block;
    font-size: 0.65rem;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 7% 60px 7%; /* Aumentamos padding inferior */
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-quick-features { flex-wrap: wrap; gap: 20px; }

    /* Header adjustments for mobile */
    header {
        padding: 15px 7%; /* Adjust header padding for mobile */
    }

    /* Show menu toggle on mobile */
    .menu-toggle {
        display: block;
    }

    /* Hide desktop button on mobile */
    .btn-escribenos.desktop-only {
        display: none;
    }

    /* Mobile navigation menu */
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%; /* Full width for mobile menu */
        height: 100vh;
        display: flex; /* Permite centrar el contenido verticalmente */
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999; /* Below header (z-index 1000) */
        transform: translateX(100%); /* Hidden by default, off-screen to the right */
        transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
        visibility: hidden; /* Prevent interaction when hidden */
        opacity: 0; /* Fade out when hidden */
        pointer-events: none; /* No clickable when hidden */
    }

    body.menu-open nav {
        transform: translateX(0); /* Slide into view */
        visibility: visible; /* Make visible */
        opacity: 1; /* Fade in */
        pointer-events: all; /* Clickable when visible */
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        padding: 0; /* Remove default ul padding */
    }

    nav ul li a {
        font-size: 1.8rem; /* Larger font for mobile menu items */
        padding: 15px 0;
        border-bottom: none; /* Remove active underline */
        opacity: 1; /* Ensure full opacity */
        color: var(--white);
    }

    nav ul li a:hover {
        border-bottom: none; /* No underline on hover for mobile */
        color: var(--primary-red); /* Highlight on hover */
    }

    /* Mobile only button inside the nav */
    .btn-escribenos.mobile-only {
        display: none; /* Hidden by default on mobile */
    }

    body.menu-open .btn-escribenos.mobile-only {
        display: flex; /* Visible when menu is open */
        margin-top: 40px;
        font-size: 1rem;
        padding: 12px 25px;
    }

    /* Bloquea el scroll del fondo cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }
}

/* --- BARRA DE ESTADÍSTICAS INFERIOR --- */
.hero-stats-bar {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(0, 0, 0, 0.9); /* Fondo negro semi-transparente */
    border-radius: 15px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.stat-item img {
    width: 35px;
    height: 35px;
    filter: invert(27%) sepia(91%) saturate(2352%) hue-rotate(346deg) brightness(94%) contrast(93%); 
    /* Este filtro convierte el icono a un tono rojo similar al de tu logo */
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.stat-text span {
    color: var(--gray-text);
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 20px;
}

/* Ajuste Responsivo */
@media (max-width: 1024px) {
    .hero-stats-bar {
        flex-wrap: wrap;
        padding: 20px;
    }
    .stat-divider { display: none; }
    .stat-item { min-width: 45%; margin-bottom: 10px; }
}

/* --- BARRA 1: QUICK FEATURES --- */
.hero-quick-features {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
}

.q-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.f-icon-img {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Iconos blancos */
}

.q-feature p {
    font-size: 0.7rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.2;
}

/* --- BOTONES --- */
.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 50px; /* Espacio antes de la barra negra */
}

/* --- BARRA 2: STATS BAR (NEGRA) --- */
.hero-stats-bar {
    background: #000000; /* Negro sólido como la imagen */
    border-radius: 15px 15px 0 0; /* Bordes redondeados arriba */
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 30px;
    filter: invert(27%) sepia(91%) saturate(2352%) hue-rotate(346deg) brightness(94%) contrast(93%); /* Color rojo */
}

.stat-text strong {
    display: block;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
}

.stat-text span {
    color: #999;
    font-size: 0.6rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .hero-stats-bar { /* Corrected selector */
        position: relative;
        bottom: -100px; /* Desplaza la barra hacia afuera de la sección 1 */
        left: 0;
        transform: none;
        width: 100%;
        margin-top: 40px;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        border-radius: 15px;
        z-index: 10;
    }
    .stat-divider { display: none; }
}


.product-section {
            padding: 80px 7%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 50px;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* --- Lado Izquierdo: Imagen --- */
        .product-image {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .product-image img {
            width: 135%!important;
            height: 100%;
            object-fit: cover; /* Asegura que la imagen cubra el área sin distorsionarse */
            filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
        }

        /* --- Centro: Descripción --- */
        .product-info {
            flex: 1.2;
        }

        .info-tag {
            color: var(--primary-red);
            font-weight: bold;
            font-size: 0.9rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 10px;
            display: block;
        }

        .product-info h2 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 25px;
            line-height: 1.1;
        }

        .product-info p {
            color: var(--text-gray);
            font-size: 1.05rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin-bottom: 40px;
        }

        .feature-list li {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 0.95rem;
        }

        .feature-list li::before {
            content: '✓';
            color: var(--primary-red);
            font-weight: 900;
        }

        .btn-ficha {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 15px 30px;
            border: 2px solid var(--text-dark);
            color: var(--text-dark);
            text-decoration: none;
            font-weight: bold;
            font-size: 0.9rem;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

        .btn-ficha:hover {
            background-color: var(--text-dark);
            color: var(--text-dark);
        }

        /* --- Lado Derecho: Cuadrícula de Beneficios --- */
        .benefits-grid {
            flex: 1.2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .benefit-card {
            background-color: var(--bg-light);
            padding: 30px;
            border-radius: 4px;
            transition: transform 0.3s ease;
        }

        .benefit-card:hover {
            transform: translateY(-5px);
        }

        .benefit-icon {
            width: 35px;
            height: 35px;
            margin-bottom: 20px;
            filter: invert(27%) sepia(91%) saturate(2352%) hue-rotate(346deg) brightness(94%) contrast(93%);
        }

        .benefit-card h3 {
            font-size: 1.1rem;
            color: var(--text-dark);
            margin-bottom: 10px;
        }

        .benefit-card p {
            font-size: 0.85rem;
            color: var(--text-gray);
            line-height: 1.5;
            margin: 0;
        }

        /* --- Responsive --- */
        @media (max-width: 1100px) {
            .product-section {
                flex-direction: column;
                text-align: center;
                padding-top: 140px; /* Espacio extra para compensar la barra que baja de la sección 1 */
            }
            .feature-list li {
                justify-content: center;
            }
            .benefits-grid {
                width: 100%;
            }
        }

        @media (max-width: 600px) {
            .benefits-grid {
                grid-template-columns: 1fr;
            }
        }



        /* Estilo para las tarjetas de beneficios de la derecha */
.benefit-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.benefit-icon {
    width: 35px;
    /* Filtro para lograr el color rojo corporativo en los iconos */
    filter: invert(27%) sepia(91%) saturate(2352%) hue-rotate(346deg) brightness(94%) contrast(93%);
}

/* Botón de ficha técnica con estilo industrial */
.btn-ficha {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    text-transform: uppercase;
    font-weight: bold;
}


  .professionals-section {
            padding: 80px 7%;
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
            background-color: #fcfcfc;
        }

        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 50px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-title span {
            color: var(--primary-red);
        }

        .professionals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 25px;
        }

        .pro-card {
            background-color: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-bottom: 30px;
            border: 1px solid #eee;
        }

        .pro-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        }

        .pro-img-container {
            width: 100%;
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .pro-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .pro-icon-circle {
            width: 65px;
            height: 65px;
            background-color: var(--text-dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: -32.5px;
            z-index: 2;
            border: 4px solid var(--white);
        }

        .pro-icon-circle i, .pro-icon-circle img {
            width: 30px;
            height: 30px;
            filter: invert(1);
        }

        .pro-card h3 {
            font-size: 1.25rem;
            font-weight: 800;
            color: var(--text-dark);
            margin: 25px 0 12px 0;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .pro-card p {
            font-size: 0.95rem;
            color: var(--text-gray);
            line-height: 1.6;
            padding: 0 30px;
            margin-bottom: 25px;
            min-height: 60px;
        }

        .pro-underline {
            width: 45px;
            height: 3px;
            background-color: var(--primary-red);
            border-radius: 2px;
        }

        @media (max-width: 768px) {
            .section-title {
                font-size: 1.8rem;
            }
            .pro-card {
                max-width: 400px;
                margin: 0 auto;
            }
        }


         .projects-cta-section {
            padding: 60px 7%;
            background-color: var(--black);
            color: var(--white);
            max-width: 1400px;
            margin: 0 auto;
        }

        /* --- Título de Proyectos --- */
        .section-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .section-header h2 {
            font-size: 1.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
        }

        /* --- Galería de Imágenes y Testimonio --- */
        .projects-content {
            display: flex;
            align-items: center;
            gap: 40px;
            margin-bottom: 50px;
        }

        .projects-gallery {
            flex: 2;
            display: flex;
            gap: 10px;
            overflow: hidden;
        }

        .project-thumb {
            flex: 1;
            height: 180px;
            border-radius: 8px;
            overflow: hidden;
            opacity: 0.6;
            transition: opacity 0.3s ease;
        }

        .project-thumb:hover {
            opacity: 1;
        }

        .project-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .testimonial-box {
            flex: 1;
            border-left: 2px solid #333;
            padding-left: 30px;
        }

        .stars {
            color: var(--primary-red);
            font-size: 1.2rem;
            margin-bottom: 15px;
        }

        .testimonial-text {
            font-style: italic;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 10px;
            color: #ddd;
        }

        .testimonial-author {
            font-weight: bold;
            font-size: 0.9rem;
            color: var(--white);
        }

        /* --- Banner Rojo CTA --- */
        .cta-banner {
            background-color: var(--primary-red);
            border-radius: 12px;
            padding: 35px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 30px;
        }

        .cta-text-content {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .cta-icon-container {
            font-size: 2.5rem;
        }

        .cta-info h3 {
            font-size: 1.5rem;
            font-weight: 800;
            margin: 0 0 5px 0;
            text-transform: uppercase;
        }

        .cta-info p {
            font-size: 0.95rem;
            margin: 0;
            opacity: 0.9;
        }

        .btn-cta-whatsapp {
            background-color: var(--white);
            color: var(--primary-red);
            padding: 18px 35px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 800;
            font-size: 0.9rem;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background-color 0.3s ease;
            white-space: nowrap;
        }

        .btn-cta-whatsapp:hover {
            background-color: #f0f0f0;
        }

        /* --- Responsive --- */
        @media (max-width: 1024px) {
            .projects-content {
                flex-direction: column;
            }
            .cta-banner {
                flex-direction: column;
                text-align: center;
                padding: 30px;
            }
            .cta-text-content {
                flex-direction: column;
                gap: 15px;
            }
        }

        @media (max-width: 600px) {
            .projects-gallery {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
            }
            .project-thumb:nth-child(n+4) {
                display: none;
            }
        }