
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #333;
            background: #f8f8f8;
        }

        header {
            background: white;
            padding: 20px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 24px;
            font-weight: bold;
            color: #333;
            text-decoration: none;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: #666;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
        }


      
        nav {
            display: flex;
            gap: 30px;
        }

        nav a {
          
            color: #555;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
            padding-bottom: 5px;
        }

        nav a:hover, nav a.active {
            color: #000;
            border-bottom: 2px solid #000;
        }



      .hero-services {
  position: relative;
  height: 100vh; /* ocupa toda la pantalla */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-services-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* asegura que el video cubra todo */
  z-index: 0;
  filter: brightness(0.5); /* oscurece el video para que el texto resalte */
}

.hero-services-content {
  position: relative;
  z-index: 1;
  padding: 80px 50px;
  max-width: 900px;
  color: #fff; /* texto blanco para contraste */
}

.hero-services h1 {
  font-size: clamp(28px, 6vw, 48px); /* responsive */
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-services p {
  font-size: clamp(16px, 3vw, 20px);
  color: #eee;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
        .services-container {
            padding: 80px 50px;
            background: white;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .service-card {
            background: #fafafa;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid #ddd;
            transition: transform 0.3s;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-image {
            width: 100%;
            height: 250px;
            background-size: cover;
            background-position: center;
            border-bottom: 1px solid #ddd;
        }

        .service-content {
            padding: 30px;
        }

        .service-content h2 {
            font-size: 24px;
            margin-bottom: 15px;
            color: #222;
        }

        .service-content p {
            color: #666;
            line-height: 1.7;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .service-features {
            list-style: none;
            margin-bottom: 25px;
        }

        .service-features li {
            padding: 8px 0;
            color: #555;
            font-size: 15px;
            border-bottom: 1px solid #eee;
        }

        .service-features li:last-child {
            border-bottom: none;
        }

        .service-features li:before {
            content: "✓ ";
            color: #666;
            font-weight: bold;
            margin-right: 10px;
        }

        .service-btn {
            display: inline-block;
            background: #000;
            color: white;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 3px;
            font-weight: 600;
            transition: background 0.3s;
        }

        .service-btn:hover {
            background: #333;
        }

        footer {
            background: #222;
            color: white;
            padding: 50px 50px 30px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: start;
            max-width: 1200px;
            margin: 0 auto 30px;
        }

        .footer-logo {
            font-size: 24px;
            font-weight: bold;
        }

        .footer-info p {
            margin: 8px 0;
            font-size: 15px;
            color: #ccc;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #999;
            font-size: 14px;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            header {
                flex-direction: column;
                gap: 20px;
                padding: 20px;
            }

             nav {
        display: flex;          /* mantener flex */
        flex-direction: row;    /* en fila */
        flex-wrap: wrap;        /* si no caben, bajan */
        justify-content: center;/* centrados en pantalla */
        gap: 15px;
        width: 100%;
        margin: 2% auto;
        text-align: center;
    }

    nav a {
        display: inline-block;  /* que se mantengan en línea */
        padding: 10px;
    }



            .hero-services {
                padding: 60px 20px;
            }

            .hero-services h1 {
                font-size: 32px;
            }

            .hero-services p {
                font-size: 16px;
            }

            .services-container {
                padding: 50px 20px;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .footer-content {
                flex-direction: column;
                gap: 30px;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 18px;
            }

            .logo-icon {
                width: 40px;
                height: 40px;
                font-size: 22px;
            }

            .hero-services h1 {
                font-size: 26px;
            }

            .service-content {
                padding: 20px;
            }

            .service-content h2 {
                font-size: 20px;
            }

            .service-image {
                height: 200px;
            }
        }
