    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: #f4f6fa;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    /* ── Navbar ── */
    .navbar {
      background: #fff;
      border-bottom: 3px solid #2B5EA7;
      padding: .6rem 2rem;
      display: flex;
      align-items: center;
      gap: .75rem;
      flex-shrink: 0;
    }
    .ecci-cuadros {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3px;
      width: 28px;
      height: 28px;
    }
    .ecci-cuadros span { border-radius: 2px; display: block; }
    .c-r { background: #C0392B; }
    .c-a { background: #2B5EA7; }
    .c-y { background: #E8B84B; }
    .c-g { background: #27AE60; }
    .navbar-titulo {
      font-family: 'DM Mono', monospace;
      font-size: 1rem;
      font-weight: 500;
      color: #2B5EA7;
    }
    .navbar-titulo span { color: #C0392B; }

    /* ── Hero ── */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      flex: 1;
      height: calc(100vh - 53px);
    }

    /* Izquierda */
    .izquierda {
      position: relative;
      overflow: hidden;
    }
    .izquierda img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.45);
    }
    .overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 2.5rem;
      background: linear-gradient(to top, rgba(43,94,167,0.92) 0%, rgba(43,94,167,0.1) 55%);
    }
    .tag {
      display: inline-block;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: .12em;
      color: #E8B84B;
      background: rgba(232,184,75,.15);
      border: 1px solid rgba(232,184,75,.4);
      padding: .2rem .65rem;
      border-radius: 20px;
      margin-bottom: 1rem;
      width: fit-content;
    }
    .overlay h1 {
      font-size: 2.8rem;
      font-weight: 600;
      color: #fff;
      line-height: 1.1;
      margin-bottom: .6rem;
    }
    .overlay h1 span { color: #E8B84B; }
    .overlay p {
      font-size: .9rem;
      color: rgba(255,255,255,0.7);
      max-width: 340px;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }
    .semaforo {
      display: flex;
      gap: .9rem;
    }
    .dot-item {
      display: flex;
      align-items: center;
      gap: .35rem;
      font-size: .72rem;
      color: rgba(255,255,255,0.6);
    }
    .dot { width: 8px; height: 8px; border-radius: 50%; }
    .dot-v { background: #27AE60; box-shadow: 0 0 5px #27AE60; }
    .dot-am { background: #E8B84B; box-shadow: 0 0 5px #E8B84B; }
    .dot-n { background: #E67E22; box-shadow: 0 0 5px #E67E22; }

    /* Derecha */
    .derecha {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 2.5rem;
      background: #fff;
      border-left: 1px solid #dde3ef;
      overflow-y: auto;
    }
    .login-card {
      width: 100%;
      max-width: 360px;
    }
    .login-card .brand {
      font-family: 'DM Mono', monospace;
      font-size: .72rem;
      color: #2B5EA7;
      letter-spacing: .1em;
      margin-bottom: 1.5rem;
    }
    .login-card h2 {
      font-size: 1.5rem;
      font-weight: 600;
      color: #1a2a4a;
      margin-bottom: .3rem;
    }
    .login-card .sub {
      font-size: .85rem;
      color: #8492a6;
      margin-bottom: 1.8rem;
      line-height: 1.5;
    }

    /* Inputs */
    .form-group {
      margin-bottom: .9rem;
    }
    .form-group label {
      display: block;
      font-size: .78rem;
      color: #6b7a99;
      margin-bottom: .35rem;
      font-weight: 500;
    }
    .form-group input {
      width: 100%;
      padding: .65rem 1rem;
      border: 1.5px solid #dde3ef;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: .9rem;
      color: #1a2a4a;
      background: #f8faff;
      transition: border-color .2s, background .2s;
      outline: none;
    }
    .form-group input:focus {
      border-color: #2B5EA7;
      background: #fff;
    }
    .form-group input::placeholder { color: #b0bac8; }

    /* Botón */
    .btn-login {
      width: 100%;
      padding: .8rem;
      background: #2B5EA7;
      color: #fff;
      border: none;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: .95rem;
      font-weight: 500;
      cursor: pointer;
      margin-top: .4rem;
      transition: background .15s, transform .1s;
    }
    .btn-login:hover { background: #1e4a8a; transform: translateY(-1px); }
    .btn-login:active { transform: translateY(0); }

    /* Barra colores */
    .ecci-bar {
      display: flex;
      height: 3px;
      border-radius: 2px;
      overflow: hidden;
      margin-top: .75rem;
      gap: 3px;
    }
    .ecci-bar span { flex: 1; border-radius: 2px; }

    .footer-txt {
      font-size: .7rem;
      color: #b0bac8;
      text-align: center;
      margin-top: 1.2rem;
    }

    @media (max-width: 680px) {
      body { overflow: auto; }
      .hero { grid-template-columns: 1fr; height: auto; }
      .izquierda { height: 240px; }
      .derecha { padding: 2rem 1.5rem; }
    }