        
        html{
            scroll-behavior: smooth;
        }
        /* Reset y estilos base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', system-ui;
        }

        .section{
            height: 100vh; 
            border-bottom: 1px solid #ccc; 
        }


        /* Header principal */
        .header {
            background: #2c3e50;
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }

        /* Logo corporativo */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-text {
            color: #ecf0f1;
            font-size: 1.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .logo-subtext {
            color: #bdc3c7;
            font-size: 0.9rem;
            font-style: italic;
        }

        .nav-logo {
            padding-top: 10px;
            max-height: 55px;
            width: auto;
            object-fit: contain;
            filter: brightness(0) invert(1);
        }

        /* Navegación principal */
        .nav-menu {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-link {
            color: #ecf0f1;
            text-decoration: none;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
            transition: color 0.3s;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #e67e22;
            transition: width 0.3s;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        .nav-link:hover {
            color: #e67e22;
        }

        /* Menú hamburguesa */
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0.5rem;
            z-index: 1001;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px 0;
            background: #ecf0f1;
            transition: all 0.3s;
            border-radius: 3px;
        }

         /* Estilos Hero Section */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(44, 62, 80, 0.9), 
                        rgba(44, 62, 80, 0.5)),
                        url(/img/imagen\ hero\ 1\ pareja\ de\ trabajadores.jpg) center/cover;
            display: flex;
            align-items: center;
            padding: 0 5%;
            margin-top: 70px; /* Compensa header fijo */
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            color: #ecf0f1;
            animation: fadeInUp 1s ease;
        }

        .hero-title {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero-description {
            font-size: 1.4rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            line-height: 1.6;
        }

        .cta-button {
            width: 500px;
            text-align: center;
            display: inline-block;
            padding: 1.2rem 1.5rem;
            background: #e67e22;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
        }

        .cta-button:hover {
            background: #d35400;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
        }

        /*Estilos Servicios*/

        .servicios {
            background: #f9f9f9;
            padding: 5rem 1rem;
        }

        .servicios-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            text-align: center;
            color: #7f8c8d;
            margin-bottom: 3rem;
            font-size: 1.1rem;
        }


         /* Estilos para la variante */
         .servicios-v2 {
             background: #f5f7fa;
             padding: 5rem 1rem;
         }
     
         .servicios-masonry {
             display: grid;
             grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
             grid-auto-rows: minmax(200px, auto);
             gap: 1.5rem;
             max-width: 1300px;
             margin: 2rem auto;
         }
     
         .servicio-card {
             background: white;
             border-radius: 12px;
             overflow: hidden;
             box-shadow: 0 5px 15px rgba(0,0,0,0.05);
             transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
             border: 1px solid rgba(0,0,0,0.03);
         }
     
         .servicio-card.featured {
             grid-column: span 2;
             background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
             color: white;
         }
     
         .servicio-card:hover {
             transform: translateY(-5px);
             box-shadow: 0 8px 25px rgba(0,0,0,0.12);
         }
     
         .card-content {
             padding: 2rem;
             height: 100%;
             display: flex;
             flex-direction: column;
         }
     
         .featured .card-content {
             justify-content: center;
         }
     
         .icon-box {
             width: 60px;
             height: 60px;
             background: rgba(230, 126, 34, 0.1);
             border-radius: 12px;
             display: flex;
             align-items: center;
             justify-content: center;
             margin-bottom: 1.5rem;
         }
     
         .featured .icon-box {
             background: rgba(255,255,255,0.15);
         }
     
         .icon-box i {
             color: #e67e22;
             font-size: 1.8rem;
         }
     
         .featured .icon-box i {
             color: white;
         }
     
         .servicio-card h3 {
             color: #2c3e50;
             margin-bottom: 1rem;
             font-size: 1.4rem;
         }
     
         .featured h3 {
             color: white;
             font-size: 1.8rem;
         }
     
         .servicio-card p {
             color: #7f8c8d;
             line-height: 1.6;
             margin-bottom: 1.5rem;
         }
     
         .featured p {
             color: rgba(255,255,255,0.9);
         }
     
         .servicio-features {
             list-style: none;
             margin-top: 1rem;
         }
     
         .servicio-features li {
             margin-bottom: 0.8rem;
             display: flex;
             align-items: center;
         }
     
         .servicio-features i {
             margin-right: 0.7rem;
             color: #e67e22;
         }
     
         .featured .servicio-features i {
             color: white;
         }
     
         .card-link {
             color: #e67e22;
             text-decoration: none;
             font-weight: 500;
             margin-top: auto;
             display: inline-flex;
             align-items: center;
             transition: all 0.3s;
         }
     
         .card-link:hover {
             color: #d35400;
         }
     
         .card-link i {
             margin-left: 0.5rem;
             transition: transform 0.3s;
         }
     
         .card-link:hover i {
             transform: translateX(3px);
         }
     


     /* Estilos Sección Nosotros */
     .section-nosotros {
        padding: 5rem 1rem;
        background: white;
    }

    .nosotros-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .nosotros-imagen img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nosotros-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nosotros-content .cta-button {
    align-self:center;
    width: 400px;
    text-align: center;
    }

    .nosotros-text{
        margin: 2rem;
        color: #7f8c8d;
        text-align: left;
    }

    /* Estilos Proyectos */
    .section-proyectos {
        background: #f9f9f9;
        padding: 5rem 1rem;
    }

    .proyectos-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .proyectos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 0 1rem;
    }

    .proyecto-card {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
    }

    .proyecto-card:hover {
        transform: translateY(-5px);
    }

    .proyecto-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .proyecto-info {
        padding: 1.5rem;
    }

    .proyecto-info h3 {
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    .proyecto-info ul {
        list-style: none;
        padding-left: 1.5rem;
    }

    .proyecto-info li {
        position: relative;
        margin-bottom: 0.5rem;
        color: #7f8c8d;
    }

    .proyecto-info li::before {
        content: '▸';
        color: #e67e22;
        position: absolute;
        left: -1.2rem;
    }

    /* Estilos Footer */
    .footer {
        background: #2c3e50;
        color: #ecf0f1;
        padding: 4rem 1rem 0;
        margin-top: 5rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-title {
        color: #e67e22;
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: #bdc3c7;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer a {
        text-decoration: none;
        font-weight: bold;
        color:#e67e22;
    }

    .footer-links a:hover {
        color: #e67e22;
    }

    .social-icons {
        display: flex;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .social-link {
        font-size: 1.5rem;
        color: #ecf0f1;
        transition: transform 0.3s;
    }

    .social-link:hover {
        color: #e67e22;
        transform: translateY(-3px);
    }


   .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 3rem;
        padding: 2rem 0;
    }

    .footer-legal {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
        color: #bdc3c7;
    }

    .legal-links {
        display: flex;
        gap: 2rem;
    }

    .legal-links a {
        color: #bdc3c7;
        text-decoration: none;
        transition: color 0.3s;
    }

    .legal-links a:hover {
        color: #e67e22;
    }

    /* --- Estilos Sección Certificaciones --- */
.section-certificaciones {
  padding: 5rem 1rem;
  background: #f5f7fa; 
}

.certificaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; 
  max-width: 1200px; 
  margin: 3rem auto 0; 
}

.certificacion-card {
  background: #ffffff; 
  border-radius: 8px; 
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07); 
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.certificacion-card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
}

.certificacion-card a {
  text-decoration: none; 
  color: inherit; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; 
  height: 100%; 
}

.certificacion-card img {
  max-width: 100px; 
  max-height: 80px;  
  margin-bottom: 1.5rem; 
  object-fit: contain; 
}

.certificacion-card .certificacion-nombre {
  font-size: 1.1rem; 
  font-weight: 600; 
  color: #2c3e50; 
  margin-bottom: 0.5rem; 
}

.certificacion-card .certificacion-descripcion {
  font-size: 0.9rem; 
  color: #7f8c8d; 
  line-height: 1.5;
  flex-grow: 1; 
}
/* ===== Estilos Botón Flotante WhatsApp ===== */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1001;
  transition: transform 0.2s ease-in-out;
  text-decoration: none;
}
.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Responsive Styles: todas bajo max-width 768px */
@media (max-width: 768px) {

  /* — Navegación Hamburger — */
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: right 0.3s ease;
  }
  .nav-menu.active {
    right: 0;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* — Hero — */
  .hero {
    text-align: center;
    padding: 0 1rem;
  }
  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }
  .hero-title {
    font-size: 3rem;
    margin: 0 auto 1rem;
  }
  .hero-description {
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
  }
  .cta-button {
    display: block;
    margin-top: 1rem;
    margin-right: 0;
    padding: auto;
    font-size: 1rem;
    align-content: center;
    width: 100%;
  }

  /* — Ajuste de secciones — */
  .section,
  .servicios,
  .servicios-v2,
  .section-nosotros,
  .section-proyectos,
  .section-certificaciones,
  .section-contacto {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* — Títulos y subtítulos centrados — */
  .section-title,
  .section-subtitle {
    text-align: center;
    margin: 0 auto 1.5rem;
  }
  .section-title {
    font-size: 2rem;
  }

  /* — “Nosotros” — */
  .nosotros-content {
    padding: 1rem 0;
    text-align: center;
  }
  .nosotros-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nosotros-imagen img {
    height: 350px;
  }

  /* — Grids de tarjetas — */
  .servicios-masonry,
  .proyectos-grid,
  .certificaciones-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  .servicio-card.featured {
    grid-column: span 1;
  }
  .proyectos-grid {
    grid-template-columns: 1fr;
  }
  .servicio-card {
    padding: 1.5rem;
  }

  /* — Certificaciones — */
  .certificacion-card {
    padding: 1.5rem 1rem;
  }
  .certificacion-card img {
    max-width: 80px;
    max-height: 70px;
    margin-bottom: 1rem;
  }
  .certificacion-card .certificacion-nombre {
    font-size: 1rem;
  }
  .certificacion-card .certificacion-descripcion {
    font-size: 0.85rem;
  }

  /* — Sección Contacto — */
  .contacto-grid,
  .section-contacto .contacto-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .section-contacto .section-title,
  .section-contacto .section-subtitle {
    text-align: center;
  }
  .info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .mapa-container {
    height: 250px;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }

  /* — Footer — */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

}
