/* --- VARIABLES Y RESET --- */
        :root {
            --primary-color: #ff6600; /* Naranja industrial (Espuma/Construcción) */
            --secondary-color: #0f172a; /* Azul oscuro técnico/formal */
            --light-gray: #f4f4f4;
            --text-color: #333;
            --white: #ffffff;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }

        /* --- ESTILOS GENERALES (ESCRITORIO) --- */
        .top-bar {
            background-color: var(--secondary-color);
            color: var(--white);
            padding: 10px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
        }

        .contact-info {
            display: flex;
            gap: 15px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icons a i {
            font-size: 1rem; /* Tamaño base en escritorio */
            transition: var(--transition);
        }

        /* --- AJUSTES PARA MÓVILES (RESOLUCIÓN MENOR A 768px) --- */
        @media (max-width: 768px) {
            .top-bar {
                flex-direction: column; /* Alinea info de contacto y redes en vertical */
                gap: 15px;
                padding: 15px 5%;
            }

            .contact-info {
                flex-direction: column; /* EL CORREO BAJA AL SIGUIENTE RENGLÓN */
                align-items: center;
                gap: 8px; /* Espacio entre el teléfono y el correo */
            }

            .social-icons a i {
                font-size: 1.25rem; /* ICONOS 25% MÁS GRANDES (de 1rem a 1.25rem) */
            }
            
            .contact-info span {
                margin-right: 0; /* Limpiamos márgenes de la versión anterior */
            }
        }

        /* --- 2. MENÚ DE NAVEGACIÓN --- */
        nav {
            background: var(--white);
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        /* Contenedor principal del logo y texto */
        .logo a {
            display: flex;         /* Activa el alineamiento en línea */
            align-items: center;    /* Centra verticalmente imagen y texto */
            gap: 12px;             /* Espacio horizontal entre imagen y texto */
            text-decoration: none;
        }

        .logo img {
            height: 50px;          /* Mantén la altura que prefieras */
            width: auto;
            display: block;
        }

        .logo-text {
            font-size: 1.4rem;     /* Tamaño de la letra */
            font-weight: 700;
            color: var(--secondary-color);
            line-height: 1;        /* Evita espacios extra arriba/abajo */
            white-space: nowrap;   /* Evita que el texto se salte de línea */
            text-transform: uppercase;
        }

        .logo-text span {
            color: var(--primary-color);
        }

        /* Ajuste para móviles */
        @media (max-width: 768px) {
            .logo-text {
                font-size: 1.1rem; /* Texto un poco más pequeño en celulares */
            }
            .logo img {
                height: 40px;      /* Imagen un poco más pequeña en celulares */
            }
        }

        .nav-links { display: flex; gap: 20px; }
        .nav-links a {
            font-weight: 600;
            color: var(--secondary-color);
            transition: var(--transition);
            text-transform: uppercase;
            font-size: 0.9rem;
        }
        .nav-links a:hover { color: var(--primary-color); }

        .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

        /* --- 3. CARRUSEL (HERO SECTION) --- */
        .hero {
            position: relative;
            height: 80vh; /* Altura de pantalla */
            overflow: hidden;
        }

        .slide {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .slide.active { opacity: 1; }

        /* Capa oscura sobre la imagen para leer texto */
        .overlay {
            background: rgba(15, 23, 42, 0.6);
            width: 100%; height: 100%;
            position: absolute;
            top: 0; left: 0;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: var(--white);
            max-width: 800px;
            padding: 20px;
        }

        .hero-content h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 700; text-transform: uppercase; }
        .hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary-color);
            color: var(--white);
            border-radius: 5px;
            font-weight: 600;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
        }
        .btn:hover { background: transparent; color: var(--primary-color); }

        /* --- 4. BIENVENIDA --- */
        .welcome {
            padding: 80px 5%;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
            align-items: center;
        }
        .welcome-text h2 { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 20px; }
        .welcome-text p { margin-bottom: 15px; text-align: justify; }
        .welcome-img img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

        /* --- 5. SERVICIOS (4 BLOQUES) --- */
        .services {
            padding: 80px 5%;
            background-color: var(--light-gray);
            text-align: center;
        }
        .section-title {
            font-size: 2.5rem;
            color: var(--secondary-color);
            margin-bottom: 50px;
            position: relative;
            display: inline-block;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 50%;
            height: 3px;
            background: var(--primary-color);
            margin: 10px auto 0;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }



        /* --- CSS ACTUALIZADO PARA SERVICIOS --- */
        .services {
            padding: 80px 5%;
            background-color: var(--light-gray);
            text-align: center;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Tarjetas un poco más anchas */
            gap: 40px;
        }

        .service-card {
            background: var(--white);
            border-radius: 12px; /* Bordes más redondeados */
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            transition: var(--transition);
            overflow: hidden; /* Para que la imagen no se salga del borde redondeado */
            display: flex;
            flex-direction: column;
            text-align: left; /* Texto alineado a la izquierda para mejor lectura */
            border-bottom: 4px solid transparent;
        }

        .service-card:hover {
            transform: translateY(-10px);
            border-bottom: 4px solid var(--primary-color);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        /* Contenedor de la imagen */
        .card-image {
            width: 100%;
            height: 220px; /* Altura fija para uniformidad */
            overflow: hidden;
            position: relative;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* Efecto Zoom al pasar el mouse */
        .service-card:hover .card-image img {
            transform: scale(1.1);
        }

        .card-content {
            padding: 30px;
        }

        .card-content h3 {
            font-size: 1.4rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .card-content h3 i {
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .card-content p {
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 20px;
            text-align: justify; /* Justificado para formalidad */
            line-height: 1.7;
        }
        
        .service-link {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-block;
        }
        
        .service-link:hover {
            text-decoration: underline;
        }

        /* --- 6. CINTILLO PUBLICITARIO 1 --- */
        .cta-banner {
            background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://source.unsplash.com/1600x400/?construction') no-repeat center center/cover;
            background-attachment: fixed; /* Efecto Parallax */
            color: var(--white);
            text-align: center;
            padding: 60px 5%;
        }
        .cta-banner h2 { margin-bottom: 20px; }
        .cta-banner .btn-outline {
            background: transparent;
            border: 2px solid var(--white);
            color: var(--white);
        }
        .cta-banner .btn-outline:hover { background: var(--white); color: var(--secondary-color); }

        /* --- 7. GALERÍA / PROYECTOS --- */
        .gallery { padding: 80px 5%; text-align: center; }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 15px;
            margin-top: 40px;
        }
        .gallery-item {
            position: relative;
            overflow: hidden;
            height: 250px;
        }
        .gallery-item img {
            width: 100%; height: 100%; object-fit: cover;
            transition: var(--transition);
        }
        .gallery-item:hover img { transform: scale(1.1); }
        
        /* --- 8. NOSOTROS --- */
        .about {
            padding: 80px 5%;
            background-color: var(--white);
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        /* --- 9. CINTILLO 2 --- */
        .cta-secondary {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 40px 5%;
            text-align: center;
            font-weight: 700;
            font-size: 1.5rem;
        }

        /* --- 10. FORMULARIO --- */
        .contact-section {
            padding: 80px 5%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            background-color: var(--light-gray);
        }
        .form-container form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .form-container input, .form-container textarea {
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: inherit;
        }
        .form-container button {
            cursor: pointer;
            border: none;
            font-size: 1rem;
        }

        /* --- 11. FOOTER --- */
        footer {
            background-color: var(--secondary-color);
            color: var(--white);
            padding: 50px 5% 20px;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        .footer-col h4 { color: var(--primary-color); margin-bottom: 20px; }
        .footer-col ul li { margin-bottom: 10px; }
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.8rem;
        }

        /* --- RESPONSIVE / MÓVIL --- */
        @media (max-width: 768px) {
            .top-bar { flex-direction: column; gap: 10px; text-align: center; }
            .menu-toggle { display: block; color: var(--secondary-color); }
            
            .nav-links {
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: var(--white);
                flex-direction: column;
                align-items: center;
                padding: 20px 0;
                clip-path: circle(0px at 90% -10%);
                transition: all 0.5s ease-in-out;
            }
            .nav-links.active { clip-path: circle(1000px at 90% -10%); }
            
            .welcome, .contact-section { grid-template-columns: 1fr; }
            .hero-content h1 { font-size: 2rem; }
            .hero { height: 60vh; }
        }

        /* whatsapp */  
        .floatwhats{
            position:fixed;
            width:60px;
            height:60px;
            bottom:40px;
            right:40px;
            background-color:#25d366;
            color:#FFF;
            border-radius:50px;
            text-align:center;
            font-size:30px;
            box-shadow: 2px 2px 3px #999;
            z-index:2000;
        }

        .my-float{
            margin-top:16px;
        }