        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f4f4f9;
            color: #333;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        /* Navegación */
        .barra-navegacion {
            text-shadow: #333 2px 2px 2px;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(237, 221, 83, 0) 100%);
            color: #fff;
            padding: 1rem 2rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
            will-change: transform;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .barra-navegacion img.logo {
            width: 118px;
            height: 125px;
            object-fit: cover;
            border-radius: 8px;
            margin-right: 2rem;
        }

        .barra-navegacion ul {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0;
            padding: 0;
            flex: 1;
        }

        .barra-navegacion ul li a {
            color: #fff;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .barra-navegacion ul li a:hover,
        .barra-navegacion ul li a.activo {
            color: #f4a261;
        }

        .enlaces-sociales {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .enlaces-sociales img {
            width: 32px;
            height: 32px;
            transition: all 0.3s ease;
        }

        .enlaces-sociales img:hover {
            transform: scale(1.1);
        }

        .hamburguesa {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
            position: relative;
            z-index: 1001;
        }

        .hamburguesa span {
            width: 25px;
            height: 3px;
            background-color: #fff;
            margin: 4px 0;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .hamburguesa.activo span:nth-child(1) {
            transform: rotate(45deg) translate(4px, 4px);
        }

        .hamburguesa.activo span:nth-child(2) {
            opacity: 0;
        }

        .hamburguesa.activo span:nth-child(3) {
            transform: rotate(-45deg) translate(4px, -4px);
        }

        body.navegacion-abierta {
            overflow: hidden;
            position: fixed;
            width: 100%;
        }

        /* Sección Hero */
        .hero-robotica {
            position: relative;
            height: 100vh;
            background: url(../img/arduino.png) no-repeat center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
        }

        .hero-robotica::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            animation: pulso-robotica 5s ease-in-out infinite;
        }

        @keyframes pulso-robotica {
            0%, 100% { opacity: 0.75; }
            50% { opacity: 0.85; }
        }

        .contenido-hero {
            position: relative;
            z-index: 2;
            max-width: 900px;
            padding: 2rem;
        }

        .contenido-hero h1 {
            font-size: 3.8rem;
            font-weight: 900;
            margin-bottom: 1.5rem;
            color: #fbf706;
            text-shadow: #000000 2px 2px 2px;
            letter-spacing: 2px;
        }

        .contenido-hero p {
            font-size: 1.4rem;
            color: #fff;
            margin-bottom: 2rem;
            text-shadow: #1c1b1b 2px 2px 2px;
            line-height: 1.6;
        }

        /* Bandera de Características */
        .bandera-caracteristicas {
            background: linear-gradient(to right, #1b5e20, #2e7d32, #388e3c);
            padding: 3rem 1.5rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
        }

        .contenedor-caracteristicas {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
            text-align: center;
        }

        .item-caracteristica {
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .item-caracteristica:hover {
            transform: translateY(-5px);
            border-color: #fbf706;
            background: rgba(255, 255, 255, 0.15);
        }

        .item-caracteristica .icono {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .item-caracteristica h3 {
            color: #fbf706;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }

        .item-caracteristica p {
            color: #e8f5e9;
            font-size: 0.95rem;
        }

        /* Sección Contenido Principal */
        .contenedor-contenido {
            max-width: 1400px;
            margin: 4rem auto;
            padding: 0 1.5rem;
        }

        .encabezado-seccion {
            text-align: center;
            margin-bottom: 3rem;
        }

        .encabezado-seccion h2 {
            font-size: 3rem;
            color: #1b5e20;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .encabezado-seccion h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80%;
            height: 4px;
            background: linear-gradient(90deg, transparent, #fbf706, transparent);
        }

        .encabezado-seccion p {
            font-size: 1.2rem;
            color: #555;
            margin-top: 1.5rem;
        }

        /* Cuadrícula de Tecnología */
        .cuadricula-tecnologia {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .tarjeta-tecnologia {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            border: 3px solid transparent;
        }

        .tarjeta-tecnologia:hover {
            transform: translateY(-10px);
            border-color: #2e7d32;
            box-shadow: 0 15px 40px rgba(46, 125, 50, 0.3);
        }

        .encabezado-tarjeta-tecnologia {
            background: linear-gradient(135deg, #2e7d32, #1b5e20);
            padding: 1.5rem;
            text-align: center;
        }

        .encabezado-tarjeta-tecnologia .icono-tecnologia {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .encabezado-tarjeta-tecnologia h3 {
            color: #fbf706;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .cuerpo-tarjeta-tecnologia {
            padding: 1.5rem;
        }

        .cuerpo-tarjeta-tecnologia ul {
            padding: 0;
        }

        .cuerpo-tarjeta-tecnologia ul li {
            padding: 0.8rem 0;
            padding-left: 2rem;
            position: relative;
            color: #555;
            line-height: 1.5;
            font-size: 0.95rem;
        }

        .cuerpo-tarjeta-tecnologia ul li::before {
            position: absolute;
            left: 0;
            font-size: 1.2rem;
        }

        /* Sección Proyectos */
                .seccion-proyectos {
                    background: linear-gradient(135deg, #1b5e20, #2e7d32);
                    padding: 4rem 1.5rem;
                }

                .seccion-proyectos .encabezado-seccion h2 {
                    color: #fbf706;
                }

                .seccion-proyectos .encabezado-seccion h2::after {
                    background: linear-gradient(90deg, transparent, #fff, transparent);
                }

                .seccion-proyectos .encabezado-seccion p {
                    color: #e8f5e9;
                }

                .cuadricula-proyectos {
                    max-width: 1200px;
                    margin: 0 auto;
                    display: grid;
                    gap: 1.5rem;
                }

                .tarjeta-proyecto {
                    background: rgba(255, 255, 255, 0.1);
                    backdrop-filter: blur(15px);
                    border-radius: 15px;
                    padding: 2rem;
                    border-left: 5px solid #fbf706;
                    transition: all 0.3s ease;
                }

                .tarjeta-proyecto:hover {
                    background: rgba(255, 255, 255, 0.15);
                    transform: translateX(10px);
                    box-shadow: 0 10px 30px rgba(251, 247, 6, 0.3);
                }

                .tarjeta-proyecto h4 {
                    color: #fbf706;
                    font-size: 1.6rem;
                    margin-bottom: 1rem;
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                }

                .tarjeta-proyecto h4 .icono-proyecto {
                    font-size: 1.8rem;
                }

                .tarjeta-proyecto p {
                    color: #e8f5e9;
                    font-size: 1rem;
                    line-height: 1.7;
                }

        /* Sección Habilidades */
        .seccion-habilidades {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 1.5rem;
        }

        .cuadricula-habilidades {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
        }

        .tarjeta-habilidad {
            background: linear-gradient(145deg, #2e7d32, #1b5e20);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            border: 3px solid rgba(251, 247, 6, 0.4);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .tarjeta-habilidad::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(251, 247, 6, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .tarjeta-habilidad:hover::before {
            left: 100%;
        }

        .tarjeta-habilidad:hover {
            transform: scale(1.05);
            border-color: #fbf706;
            box-shadow: 0 15px 40px rgba(251, 247, 6, 0.4);
        }

        .tarjeta-habilidad .icono-habilidad {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .tarjeta-habilidad h3 {
            color: #fbf706;
            font-size: 1.4rem;
            margin-bottom: 0.8rem;
        }

        .tarjeta-habilidad p {
            color: #e8f5e9;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* Sección Llamada a la Acción */
        .seccion-llamada-accion {
            text-align: center;
            padding: 4rem 1.5rem;
            background: linear-gradient(135deg, rgba(25, 88, 28, 0.1), rgba(6, 251, 26, 0.263));
        }

        .seccion-llamada-accion h2 {
            font-size: 2.5rem;
            color: #1b5e20;
            margin-bottom: 1.2rem;
            font-weight: 800;
        }

        .seccion-llamada-accion p {
            font-size: 1.2rem;
            color: #555;
            margin-bottom: 2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.7;
        }

        .boton-llamada-accion {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, #2e7d32, #1b5e20);
            color: #fbf706;
            font-size: 1.2rem;
            font-weight: 800;
            border-radius: 50px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
            border: 3px solid #fbf706;
            position: relative;
            overflow: hidden;
        }

        .boton-llamada-accion::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(251, 247, 6, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.5s ease, height 0.5s ease;
        }

        .boton-llamada-accion:hover::before {
            width: 300px;
            height: 300px;
        }

        .boton-llamada-accion:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(251, 247, 6, 0.6);
        }

        .boton-llamada-accion span {
            position: relative;
            z-index: 1;
        }

        /* Pie de Página */
         .footer {
      background: linear-gradient(135deg, #2e7d32, #1b5e20);
      color: #f1f1f1;
      font-family: 'Poppins', sans-serif;
      padding: 40px 20px;
      box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  }

  .footer-content {
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer h2 {
      font-size: 24px;
      margin-bottom: 20px;
      color: #c8e6c9;
      letter-spacing: 1px;
  }

  .contact-info {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      margin-bottom: 30px;
  }

  .contact-item {
      min-width: 200px;
  }

  .contact-item p {
      margin: 5px 0;
      font-size: 16px;
  }

  .contact-item strong {
      font-weight: 600;
      color: #a5d6a7;
  }

  .motto h2 {
      font-size: 20px;
      font-weight: 600;
      color: #ffffff;
      background-color: rgba(255, 255, 255, 0.1);
      padding: 10px 20px;
      border-radius: 8px;
      margin-bottom: 20px;
      letter-spacing: 2px;
  }

  .footer .copyright {
      font-size: 14px;
      color: #cfd8dc;
      margin-top: 10px;
  }.location-access {
      margin-top: 10px;
  }

  .location-button {
      display: inline-block;
      background-color: #66bb6a;
      color: #fff;
      padding: 10px 18px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .location-button:hover {
      background-color: #81c784;
      transform: scale(1.05);
  }

        /* Animación de Scroll */
        .revelar {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.3s ease;
        }

        .revelar.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsivo */
        /* Small Tablets (481px to 767px) */
@media (max-width: 767px) and (min-width: 481px) {
  body, html {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  .container,
  .info-section,
  .info-section2,
  .section-cards55,
  .servicios-container,
  .footer-content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .carousel,
  .carousel-slide,
  .carousel-slide img {
    height: 100vh;
  }
  
  .carousel-text {
    font-size: 1.8rem;
    bottom: 10%;
    left: 6%;
    right: 6%;
    text-align: center;
  }
  
  .carousel-btn {
    font-size: 2.2rem;
  }
  
  .carousel-btn.prev {
    left: 20px;
  }
  
  .carousel-btn.next {
    right: 20px;
  }
  
  .nav-bar {
    padding: 1rem 1.5rem !important;
  }
  
  .nav-bar a[href="index.html"] img {
    width: 55px !important;
    height: 60px !important;
  }
  
  .info-section, .info-section2 {
    height: auto;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .info-image img, .info-image2 img {
    max-width: 100%;
    height: 350px;
  }
  
  .card, .card2 {
    width: 100%;
    max-width: 300px;
  }
  
  .card img, .card2 img {
    height: 160px;
  }
  
  .lista {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .contenido {
    padding: 2rem;
  }
  
  .section-cards55 {
    padding: 25px 15px;
  }
  
  .card55 {
    width: 100%;
    max-width: 300px;
    height: 480px;
  }
  
  .titulo-unico {
    font-size: 1.8rem;
  }
  
  .servicios {
    padding: 60px 15px;
  }
  
  .servicios-container h2 {
    font-size: 28px;
  }
  
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .servicio-card {
    padding: 20px;
  }
  
  .footer {
    padding: 30px 15px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-item {
    min-width: auto;
  }
}
@media (max-width: 480px)  {
              
  .footer {
    padding: 25px 10px;
  }
  
  .footer h2 {
    font-size: 20px;
  }
  
  .contact-item p {
    font-size: 14px;
  }
  
  .motto h2 {
    font-size: 16px;
    padding: 8px 15px;
  }
  
  .location-button {
    padding: 8px 15px;
    font-size: 14px;
  }
}

        @media (max-width: 1366px) and (max-height: 1024px) {
            .barra-navegacion {
                justify-content: space-between !important;
                align-items: center !important;
                padding: 1rem 2rem !important;
                gap: 0 !important;
            }

            .hamburguesa {
                display: flex;
                order: 1;
            }

            .barra-navegacion ul {
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100vh;
                background-image: url(../img/liceof.png);
                background-color: rgba(0, 0, 0, 0.85);
                backdrop-filter: blur(15px);
                flex-direction: column !important;
                justify-content: center;
                align-items: center;
                background-size: cover;
                background-position: center;
                gap: 1rem !important;
                transition: left 0.3s ease;
                z-index: 1001;
                order: 1;
                flex: none !important;
                margin: 0;
                padding: 0;
            }

            .barra-navegacion ul.activo {
                left: 0;
            }

            .barra-navegacion ul li {
                width: 100%;
                text-align: center;
            }

            .barra-navegacion ul li a {
                font-size: 1.5rem;
                padding: 1rem;
                border-bottom: 2px solid transparent;
                transition: all 0.3s ease;
                display: block;
                width: 100%;
                color: white !important;
            }

            .barra-navegacion ul li a:hover,
            .barra-navegacion ul li a.activo {
                color: #f4a261 !important;
                border-bottom-color: #f4a261;
                background: rgba(244, 162, 97, 0.1);
            }

            .enlaces-sociales {
                display: none !important;
            }
        }

        @media (max-width: 991px) {
            .barra-navegacion img.logo {
                width: 60px !important;
                height: 65px !important;
                margin-right: 0 !important;
            }

            .bandera-caracteristicas {
                height: auto;
                padding: 2rem 1.5rem;
            }

            .encabezado-seccion h2 {
                font-size: 2.5rem;
            }

            .encabezado-seccion p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .hero-robotica {
                height: 100vh;
            }

            .contenido-hero h1 {
                font-size: 2.5rem;
            }

            .contenido-hero p {
                font-size: 1.1rem;
            }

            .contenedor-caracteristicas {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .item-caracteristica .icono {
                font-size: 2rem;
            }

            .item-caracteristica h3 {
                font-size: 1.2rem;
            }

            .item-caracteristica p {
                font-size: 0.9rem;
            }

            .cuadricula-tecnologia {
                grid-template-columns: 1fr;
            }

            .encabezado-tarjeta-tecnologia .icono-tecnologia {
                font-size: 2.5rem;
            }

            .encabezado-tarjeta-tecnologia h3 {
                font-size: 1.4rem;
            }

            .cuerpo-tarjeta-tecnologia ul li {
                font-size: 0.9rem;
            }

            .cuadricula-proyectos {
                grid-template-columns: 1fr;
            }

            .tarjeta-proyecto h4 {
                font-size: 1.4rem;
            }

            .tarjeta-proyecto h4 .icono-proyecto {
                font-size: 1.6rem;
            }

            .tarjeta-proyecto p {
                font-size: 0.95rem;
            }

            .cuadricula-habilidades {
                grid-template-columns: 1fr;
            }

            .tarjeta-habilidad .icono-habilidad {
                font-size: 2rem;
            }

            .tarjeta-habilidad h3 {
                font-size: 1.3rem;
            }

            .tarjeta-habilidad p {
                font-size: 0.9rem;
            }

            .seccion-llamada-accion h2 {
                font-size: 2rem;
            }

            .seccion-llamada-accion p {
                font-size: 1rem;
            }

            .boton-llamada-accion {
                padding: 0.8rem 2rem;
                font-size: 1rem;
            }

            .info-contacto {
                gap: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .barra-navegacion {
                padding: 0.8rem 1rem !important;
            }

            .barra-navegacion img.logo {
                width: 50px !important;
                height: 55px !important;
            }

            .hamburguesa span {
                width: 22px;
                height: 2px;
            }

            .barra-navegacion ul li a {
                font-size: 1.2rem;
            }

            .contenido-hero h1 {
                font-size: 2rem;
            }

            .contenido-hero p {
                font-size: 0.95rem;
            }

            .bandera-caracteristicas {
                padding: 2rem 1rem;
            }

            .encabezado-seccion h2 {
                font-size: 2rem;
            }

            .encabezado-seccion p {
                font-size: 1rem;
            }

            .tarjeta-tecnologia {
                padding: 1rem;
            }

            .seccion-proyectos {
                padding: 2rem 1rem;
            }

            .tarjeta-proyecto {
                padding: 1.5rem;
            }

            .seccion-habilidades {
                padding: 0 1rem;
            }

            .seccion-llamada-accion {
                padding: 2rem 1rem;
            }

            .pie-pagina {
                padding: 30px 15px;
            }

            .item-contacto {
                min-width: 160px;
            }

            .item-contacto p {
                font-size: 14px;
            }
        }

        @media (max-width: 319px) {
            .barra-navegacion {
                padding: 0.6rem 0.8rem !important;
            }

            .barra-navegacion img.logo {
                width: 45px !important;
                height: 50px !important;
            }

            .hamburguesa span {
                width: 20px;
            }

            .barra-navegacion ul li a {
                font-size: 1.1rem;
            }

            .contenido-hero h1 {
                font-size: 1.8rem;
            }

            .contenido-hero p {
                font-size: 0.85rem;
            }

            .encabezado-seccion h2 {
                font-size: 1.8rem;
            }

            .encabezado-seccion p {
                font-size: 0.9rem;
            }

            .pie-pagina h2 {
                font-size: 15px;
            }

            .item-contacto p {
                font-size: 12px;
            }

            .lema h2 {
                font-size: 15px;
            }

            .pie-pagina .derechos {
                font-size: 12px;
            }
        }
