  /* ====== ESTILOS GENERALES ====== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    background: #f4f6f9;
    color: #333;
  }

  /* ====== HEADER ====== */
  header {
    background: #0f112b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    position: relative;
    z-index: 1000;
  }

  .logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-header img {
    height: 55px;
  }

  .logo-header h1 {
    font-size: 1.5rem;
    color: #00c4ff;
  }

  /* NAV */
  nav {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1100;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
  }

  nav ul li {
    position: relative;
  }

  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color .3s;
  }

  nav ul li a:hover {
    color: #00c3ff;
  }

  /* SUBMENÚ */
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #001a33;
    min-width: 180px;
    display: none;
    flex-direction: column;
    border-radius: 6px;
    padding: 10px 0;
    z-index: 1200;
  }

  .submenu li a {
    padding: 10px 16px;
  }

  nav ul li:hover > .submenu {
    display: flex;
  }

  /* BOTONES */
  .nav-buttons {
    display: flex;
    gap: 12px;
  }

  .btn {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
  }

  .btn-login {
    background: #0095c8;
    color: white;
  }

  .btn-login:hover {
    background: #007ba3;
  }

  .btn-register {
    background: #d4a100;
    color: black;
  }

  .btn-register:hover {
    background: #b78900;
  }

  .toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
  }

  /* ====== HERO ====== */
  .hero {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    gap: 20px;
    position: relative;
    z-index: 1;
  }

  .hero-center {
    position: relative;
    background: #1a1a2e;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    color: white;
    overflow: hidden;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: 2.5rem;
    color: #00c4ff;
  }

  .slogan {
    font-size: 1.2rem;
    color: #ddd;
  }

  .center-image {
    width: 100%;
    max-width: 400px;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
  }

  .bouncing-logo {
    position: relative;
    z-index: 1;
  }

  .bouncing-logo img {
    width: 120px;
    animation: bounce 3s infinite alternate;
  }

  @keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-60px); }
  }

  /* ====== GALERÍA DE PROYECTOS ====== */
  .galeria-proyectos {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .project-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }

  .project-card img,
  .project-card video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
  }

  .project-card h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0f112b;
  }

  .project-card p {
    font-size: 0.95rem;
    color: #555;
  }

  /* ====== FOOTER ====== */
  .footer {
    background:#0a1128;
    color:#fff;
    padding:50px 20px 25px;
    margin-top:40px;
  }

  .footer-container {
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:40px;
    align-items:flex-start;
  }

  .footer-logo {
    display:flex;
    flex-direction:column;
    gap:12px;
  }

  .footer-logo img {
    width:60px;
    filter:brightness(0) invert(1);
  }

  .footer-logo h3 {
    margin:0;
    font-size:1.3rem;
    color:#fff;
  }

  .footer-logo p {
    margin:0;
    font-size:0.95rem;
    opacity:0.8;
  }

  .footer-contact h4,
  .footer-admin h4 {
    margin-bottom:12px;
    font-size:1.1rem;
    color:#00c3ff;
  }

  .footer-contact p {
    margin:6px 0;
    font-size:0.95rem;
  }

  .footer-contact a {
    color:#000000;
    text-decoration:none;
    font-weight:500;
  }

  .footer-contact a:hover {
    text-decoration:underline;
  }

  .btn-whatsapp {
    display:inline-block;
    margin-top:10px;
    background:#25d366;
    color:#fff;
    padding:8px 14px;
    border-radius:8px;
    font-weight:700;
    text-decoration:none;
  }

  .footer-admin ul {
    list-style:none;
    padding:0;
    margin:0 0 12px 0;
  }

  .footer-admin li {
    margin-bottom:6px;
    font-size:0.95rem;
  }

  .phone-box {
    display:inline-block;
    background:#00b4d8;
    color:#fff;
    padding:6px 12px;
    border-radius:8px;
    font-weight:700;
    font-size:0.95rem;
  }

  .footer hr {
    border:0.5px solid rgba(255,255,255,0.15);
    margin:25px 0;
    width:100%;
  }

  .footer-bottom {
    text-align:center;
    font-size:0.9rem;
    opacity:0.8;
  }

  .footer-bottom .highlight {
    color:#f4a300;
    font-weight:700;
  }

  /* ====== RESPONSIVE ====== */
  @media (max-width: 900px) {
    nav ul {
      display: none;
      flex-direction: column;
      background: #1a1a2e;
      position: absolute;
      top: 70px;
      right: 20px;
      padding: 20px;
      border-radius: 8px;
      z-index: 1200;
    }

    nav ul.show {
      display: flex;
    }

    .toggle {
      display: block;
    }

    .hero {
      grid-template-columns: 1fr;
    }

    .footer-container {
      grid-template-columns: 1fr;
      text-align:center;
    }

    .footer-logo {
      align-items:center;
    }

    .footer-admin {
      margin-top:20px;
    }
  }
